bp-aicc-editor 1.2.521 → 1.2.522

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 (111) hide show
  1. package/lib/{ScreenPreview-CV95NWOd.js → ScreenPreview-yUHo60be.js} +51 -105
  2. package/lib/atlas-BMjKIOwk.js +3891 -0
  3. package/lib/{button-base-DHNVBrQ9.js → button-base-CXl1z-_m.js} +1 -1
  4. package/lib/{cache-lsjsKZHu.js → cache-DbHSDjJy.js} +1 -1
  5. package/lib/config-provider-Bui8m4GV.js +62 -0
  6. package/lib/{container-group-DqAcKEBy.js → container-group-D6Extorz.js} +1 -1
  7. package/lib/{copy-C5Pi6nJh.js → copy-CsCmPy4J.js} +1 -1
  8. package/lib/{datav-BER95ty-.js → datav-BTD-HJhV.js} +27 -27
  9. package/lib/{delete-C2EW4JCs.js → delete-COj0ilHh.js} +1 -1
  10. package/lib/{divider-BazBGRgV.js → divider-B3K_URZc.js} +1 -1
  11. package/lib/dropdown-CWvnuJsO.js +105 -0
  12. package/lib/{edit-B2pfd2q1.js → edit-vdJaEine.js} +1 -1
  13. package/lib/{el-form-item-BDdxk5F5.js → el-form-item-BbaNohQv.js} +51 -51
  14. package/lib/{el-link-D2ol9BHQ.js → el-link-Dq721Q7-.js} +12 -12
  15. package/lib/{el-loading-Cgwgez55.js → el-loading-DOxnN3bm.js} +17 -17
  16. package/lib/{fullscreen-OChDsSnk.js → fullscreen-DXSogbcG.js} +1 -1
  17. package/lib/{image-C5ZAY3yt.js → image-Cu7JTK9-.js} +1 -1
  18. package/lib/{index-Ci8AbyIq.js → index-68soBnbK.js} +8 -8
  19. package/lib/{index-BatyRVpL.js → index-B-d8WIg1.js} +7 -7
  20. package/lib/{index-BfIEunKC.js → index-B4zV3cxV.js} +18 -17
  21. package/lib/{index-CZJriuFt.js → index-B8QqTLfg.js} +4974 -4898
  22. package/lib/index-BBMItxtW.js +619 -0
  23. package/lib/{index-CGrR_i0u.js → index-BMm0MRz5.js} +14 -15
  24. package/lib/index-BMn8EzMD.js +1027 -0
  25. package/lib/index-BNTW8F-9.js +322 -0
  26. package/lib/index-BTI518b1.js +69 -0
  27. package/lib/{index-BWPVi43E.js → index-BZxUAT4z.js} +4 -4
  28. package/lib/{index-Ck7uFsPE.js → index-BdYTc41r.js} +24 -24
  29. package/lib/index-BfI55Ioc.js +404 -0
  30. package/lib/{index-BhP9eBCp.js → index-BmAcetSf.js} +19 -20
  31. package/lib/index-C35Yp3i8.js +545 -0
  32. package/lib/{index-B19lEYui.js → index-C6GUNRx9.js} +2 -2
  33. package/lib/index-CC28_8Jl.js +567 -0
  34. package/lib/index-CDhmvVt8.js +338 -0
  35. package/lib/index-CDx0y0fp.js +144 -0
  36. package/lib/{el-button-DvLKp6Ga.js → index-CJjljoJG.js} +106 -106
  37. package/lib/index-CNCgXPiO.js +235 -0
  38. package/lib/{index-CWbZmzNT.js → index-CPa_MnOD.js} +30 -29
  39. package/lib/index-CW6ljdNf.js +1582 -0
  40. package/lib/index-C_WopEui.js +513 -0
  41. package/lib/{index-CX_Ghcb6.js → index-CejowjGd.js} +56 -53
  42. package/lib/{index-BwCQWH-N.js → index-CfZXOvi-.js} +42 -40
  43. package/lib/{index-CVsy2qTh.js → index-CgzRTmPh.js} +16 -15
  44. package/lib/index-CmzuNM9v.js +32 -0
  45. package/lib/index-CrxcAFt8.js +5343 -0
  46. package/lib/{index-C7k49L2T.js → index-CuHA7QXu.js} +10 -10
  47. package/lib/{index-qVyixI57.js → index-CyBGAB7D.js} +21 -20
  48. package/lib/index-D6J7coU0.js +129 -0
  49. package/lib/index-DDHxrdAo.js +1773 -0
  50. package/lib/index-DDL-yqq0.js +1401 -0
  51. package/lib/{index-BPcvYtHf.js → index-DOxy-bey.js} +6 -6
  52. package/lib/{index-CVE37oE7.js → index-DOyr0BHr.js} +7 -7
  53. package/lib/index-DPOanmXI.js +887 -0
  54. package/lib/{index-3pzVrvby.js → index-DR_husZg.js} +46 -46
  55. package/lib/{el-tab-pane-DD2eM9rB.js → index-DUzOCQrW.js} +125 -124
  56. package/lib/{index-CGFEhUh9.js → index-DVYI-g8Q.js} +53 -52
  57. package/lib/index-DVyjilLy.js +51 -0
  58. package/lib/{index-CJyYGViv.js → index-DWAJ9GyC.js} +9 -9
  59. package/lib/index-Dj2qCwPD.js +178 -0
  60. package/lib/{index-D4X0_jbv.js → index-Dx2Gld1J.js} +32 -32
  61. package/lib/{index-C2XeCqtq.js → index-E9T-y2Yz.js} +3 -3
  62. package/lib/{index-Buoc0ISP.js → index-FlmXAW0Z.js} +60 -58
  63. package/lib/index-NqqOvc6V.js +169 -0
  64. package/lib/{index-BkdiXCRY.js → index-ObKRNOmJ.js} +6 -7
  65. package/lib/index-bOWjoplU.js +448 -0
  66. package/lib/{index-CXQ258ID.js → index-buU8mDzi.js} +15 -16
  67. package/lib/{index-tbhuYbb0.js → index-mGKAWDJZ.js} +11 -12
  68. package/lib/index.es.js +4 -4
  69. package/lib/index.umd.js +46 -40
  70. package/lib/{layer-setting-panel-VvDSQ-cn.js → layer-setting-panel-BGPj32nP.js} +2 -2
  71. package/lib/{line-show-Bp4G-LqO.js → line-show-DUn1bu_P.js} +1 -1
  72. package/lib/{multi-layout-config-drSy7ezf.js → multi-layout-config-BTWxJeuc.js} +7 -8
  73. package/lib/{multiline-text-D89kYrA2.js → multiline-text-CPJdCWJ7.js} +1 -1
  74. package/lib/{navigation-YAGxZ0OT.js → navigation-ZLJaBOUj.js} +1 -1
  75. package/lib/page-config-CHP07Ndf.js +253 -0
  76. package/lib/{page-tabs-wFeNBY4c.js → page-tabs-CKLhgrip.js} +45 -41
  77. package/lib/{plus-3mdO6yXY.js → plus-xgpQU22I.js} +1 -1
  78. package/lib/raf-CJog_tcv.js +6 -0
  79. package/lib/refs-DZMysoBI.js +8 -0
  80. package/lib/{requestOld-DRcjsmRQ.js → requestOld-CaGzCXrV.js} +97 -96
  81. package/lib/{schema-BsnIOGBI.js → schema-BaFWGeFt.js} +1 -1
  82. package/lib/{schema-_APJMUW3.js → schema-CUR-UK2S.js} +44 -41
  83. package/lib/{schema-BavJE-SK.js → schema-WUk7XVq7.js} +58 -54
  84. package/lib/{schema-qKI1F8Bt.js → schema-geZfujv8.js} +1 -1
  85. package/lib/{schema-BflqDw-a.js → schema-iosjRxCC.js} +1 -1
  86. package/lib/{schema-Bo30dbBx.js → schema-tuPllxn6.js} +1 -1
  87. package/lib/scroll-CWfl60Tu.js +58 -0
  88. package/lib/{setting-panel-BgzN3BUP.js → setting-panel-0qLcwYyT.js} +154 -151
  89. package/lib/{show-C4AeWlKj.js → show-BCwE3hGY.js} +1 -1
  90. package/lib/{stepper-D5EFeJWG.js → stepper-Bud1Jppr.js} +1 -1
  91. package/lib/strings-BvUQWzDM.js +6 -0
  92. package/lib/{switch-B0dR4LM_.js → switch-VlaUmSpJ.js} +1 -1
  93. package/lib/{unlock-Cq9PLhBA.js → unlock-B2FVPQlm.js} +1 -1
  94. package/lib/{use-env-url-BM9dgwx_.js → use-env-url-D1p8ib2L.js} +1 -1
  95. package/lib/use-global-config-D_yoqf3Q.js +90 -0
  96. package/lib/validator-BOXH2OMA.js +5 -0
  97. package/lib/{vnode-B_Dj8zxu.js → vnode-Bxs1g06p.js} +1 -1
  98. package/package.json +1 -1
  99. package/lib/atlas-DsmLq2V0.js +0 -38
  100. package/lib/el-overlay-BK0_UIU6.js +0 -704
  101. package/lib/index-B1yAU2Cb.js +0 -390
  102. package/lib/index-BCFXuK7k.js +0 -68
  103. package/lib/index-BD4Jwo8Z.js +0 -449
  104. package/lib/index-BMWqf88L.js +0 -356
  105. package/lib/index-Belsn8kt.js +0 -107
  106. package/lib/index-CIADz1i0.js +0 -8494
  107. package/lib/index-DKTrbqcA.js +0 -56
  108. package/lib/index-Ge_d2xqD.js +0 -127
  109. package/lib/page-config-Cmsi8Vpr.js +0 -582
  110. package/lib/strings-_mHAdgA4.js +0 -6
  111. package/lib/use-global-config-CflpFoxU.js +0 -115
@@ -1,8 +1,11 @@
1
- import { defineComponent as S, computed as J, ref as v, onMounted as L, resolveComponent as M, createElementBlock as g, openBlock as m, createBlock as V, createCommentVNode as x, withCtx as d, createVNode as l, unref as t, Fragment as w, renderList as h, createElementVNode as k, createTextVNode as b } from "vue";
2
- import { ElSelect as y, ElOption as r, ElTable as O, ElTableColumn as C, ElButton as z, ElInput as f, ElCheckbox as q, ElMessage as D } from "element-plus";
3
- import { storeToRefs as F } from "pinia";
4
- import { v as I, c as _ } from "./atlas-DsmLq2V0.js";
5
- import { u as G, _ as K } from "./index-CZJriuFt.js";
1
+ import { defineComponent as S, computed as J, ref as v, onMounted as L, resolveComponent as M, createElementBlock as g, openBlock as m, createBlock as V, createCommentVNode as x, withCtx as s, createVNode as l, unref as t, Fragment as w, renderList as I, createElementVNode as E, createTextVNode as b } from "vue";
2
+ import { storeToRefs as O } from "pinia";
3
+ import { v as k, E as q, a as y, c as D } from "./atlas-BMjKIOwk.js";
4
+ import { u as F, d as f, _ } from "./index-B8QqTLfg.js";
5
+ import { E as C, a as r } from "./index-CW6ljdNf.js";
6
+ import { E as h } from "./index-CJjljoJG.js";
7
+ import { E as G } from "./index-C35Yp3i8.js";
8
+ import { E as K } from "./index-bOWjoplU.js";
6
9
  const Q = { class: "instruction-config" }, W = { style: { display: "flex", "align-items": "center", width: "100%" } }, X = { style: { "margin-top": "10px", "text-align": "right" } }, Y = /* @__PURE__ */ S({
7
10
  __name: "index",
8
11
  props: {
@@ -10,7 +13,7 @@ const Q = { class: "instruction-config" }, W = { style: { display: "flex", "alig
10
13
  showJumpPage: { type: Boolean, default: !0 }
11
14
  },
12
15
  setup(c) {
13
- const s = c, T = G(), { pageConfig: E } = F(T), U = J(() => E.value.allPages), p = v([]), P = v(""), n = v({
16
+ const d = c, z = F(), { pageConfig: T } = O(z), U = J(() => T.value.allPages), p = v([]), P = v(""), n = v({
14
17
  descr: "",
15
18
  protocol: "",
16
19
  target: "",
@@ -21,20 +24,20 @@ const Q = { class: "instruction-config" }, W = { style: { display: "flex", "alig
21
24
  commandType: "str"
22
25
  }), i = v("issueCommand");
23
26
  function $(a) {
24
- a === "issueCommand" ? s.com.config.jumpPageId = "" : a === "redirectPage" && s.com.config.instructions && (s.com.config.instructions.commands = []);
27
+ a === "issueCommand" ? d.com.config.jumpPageId = "" : a === "redirectPage" && d.com.config.instructions && (d.com.config.instructions.commands = []);
25
28
  }
26
29
  function A() {
27
- const a = s.com.config.instructions?.commands?.length > 0, e = !!s.com.config.jumpPageId;
30
+ const a = d.com.config.instructions?.commands?.length > 0, e = !!d.com.config.jumpPageId;
28
31
  a && e ? i.value = "issueCommandAndRedirect" : e ? i.value = "redirectPage" : i.value = "issueCommand";
29
32
  }
30
33
  async function H() {
31
34
  try {
32
- const a = await _({
35
+ const a = await D({
33
36
  keyword: "",
34
37
  page: 1,
35
38
  pageSize: 9999999
36
39
  });
37
- a && a.code === 0 ? p.value = a.data?.list || [] : (p.value = [], D.error(a?.Message || "Request Error"));
40
+ a && a.code === 0 ? p.value = a.data?.list || [] : (p.value = [], K.error(a?.Message || "Request Error"));
38
41
  } catch (a) {
39
42
  console.error(a);
40
43
  }
@@ -44,13 +47,13 @@ const Q = { class: "instruction-config" }, W = { style: { display: "flex", "alig
44
47
  e && (n.value.descr = e.descr, n.value.protocol = e.method);
45
48
  }
46
49
  function B() {
47
- s.com.config.instructions || (s.com.config.instructions = { id: `batch-${I()}`, commands: [] });
50
+ d.com.config.instructions || (d.com.config.instructions = { id: `batch-${k()}`, commands: [] });
48
51
  const a = {
49
52
  ...n.value,
50
53
  target: `${n.value.target}:${n.value.remotePort}`,
51
- id: `cmd-${I()}`
54
+ id: `cmd-${k()}`
52
55
  };
53
- delete a.remotePort, s.com.config.instructions.commands.push(a), n.value = {
56
+ delete a.remotePort, d.com.config.instructions.commands.push(a), n.value = {
54
57
  descr: "",
55
58
  protocol: "",
56
59
  target: "",
@@ -62,13 +65,13 @@ const Q = { class: "instruction-config" }, W = { style: { display: "flex", "alig
62
65
  }, P.value = "";
63
66
  }
64
67
  function j(a) {
65
- s.com.config.instructions.commands.splice(a, 1);
68
+ d.com.config.instructions.commands.splice(a, 1);
66
69
  }
67
70
  function N(a) {
68
71
  n.value.commandType = a ? "hex" : "str";
69
72
  }
70
73
  return L(() => {
71
- H(), s.com.config.instructions || (s.com.config.instructions = { id: `batch-${I()}`, commands: [] }), A();
74
+ H(), d.com.config.instructions || (d.com.config.instructions = { id: `batch-${k()}`, commands: [] }), A();
72
75
  }), (a, e) => {
73
76
  const u = M("g-field");
74
77
  return m(), g("div", Q, [
@@ -76,8 +79,8 @@ const Q = { class: "instruction-config" }, W = { style: { display: "flex", "alig
76
79
  key: 0,
77
80
  label: "选择动作"
78
81
  }, {
79
- default: d(() => [
80
- l(t(y), {
82
+ default: s(() => [
83
+ l(t(C), {
81
84
  modelValue: i.value,
82
85
  "onUpdate:modelValue": e[0] || (e[0] = (o) => i.value = o),
83
86
  placeholder: "请选择",
@@ -86,7 +89,7 @@ const Q = { class: "instruction-config" }, W = { style: { display: "flex", "alig
86
89
  teleported: !1,
87
90
  onChange: $
88
91
  }, {
89
- default: d(() => [
92
+ default: s(() => [
90
93
  l(t(r), {
91
94
  label: "下发指令",
92
95
  value: "issueCommand"
@@ -109,8 +112,8 @@ const Q = { class: "instruction-config" }, W = { style: { display: "flex", "alig
109
112
  key: 1,
110
113
  label: "跳转页面"
111
114
  }, {
112
- default: d(() => [
113
- l(t(y), {
115
+ default: s(() => [
116
+ l(t(C), {
114
117
  modelValue: c.com.config.jumpPageId,
115
118
  "onUpdate:modelValue": e[1] || (e[1] = (o) => c.com.config.jumpPageId = o),
116
119
  placeholder: "请选择",
@@ -119,8 +122,8 @@ const Q = { class: "instruction-config" }, W = { style: { display: "flex", "alig
119
122
  style: { width: "100%", "pointer-events": "auto" },
120
123
  teleported: !1
121
124
  }, {
122
- default: d(() => [
123
- (m(!0), g(w, null, h(U.value, (o) => (m(), V(t(r), {
125
+ default: s(() => [
126
+ (m(!0), g(w, null, I(U.value, (o) => (m(), V(t(r), {
124
127
  key: o.id,
125
128
  label: o.name,
126
129
  value: o.id
@@ -132,43 +135,43 @@ const Q = { class: "instruction-config" }, W = { style: { display: "flex", "alig
132
135
  _: 1
133
136
  })) : x("", !0),
134
137
  i.value === "issueCommand" || i.value === "issueCommandAndRedirect" ? (m(), g(w, { key: 2 }, [
135
- e[14] || (e[14] = k("div", { class: "sub-title" }, " 指令 ", -1)),
136
- l(t(O), {
138
+ e[14] || (e[14] = E("div", { class: "sub-title" }, " 指令 ", -1)),
139
+ l(t(q), {
137
140
  data: c.com.config.instructions.commands,
138
141
  style: { width: "100%", "margin-bottom": "10px" },
139
142
  size: "small",
140
143
  border: ""
141
144
  }, {
142
- default: d(() => [
143
- l(t(C), {
145
+ default: s(() => [
146
+ l(t(y), {
144
147
  prop: "descr",
145
148
  label: "指令描述",
146
149
  "show-overflow-tooltip": ""
147
150
  }),
148
- l(t(C), {
151
+ l(t(y), {
149
152
  prop: "target",
150
153
  label: "远程IP",
151
154
  width: "100",
152
155
  "show-overflow-tooltip": ""
153
156
  }),
154
- l(t(C), {
157
+ l(t(y), {
155
158
  prop: "protocol",
156
159
  label: "通信方式",
157
160
  width: "80"
158
161
  }),
159
- l(t(C), {
162
+ l(t(y), {
160
163
  label: "操作",
161
164
  width: "50",
162
165
  align: "center"
163
166
  }, {
164
- default: d((o) => [
165
- l(t(z), {
167
+ default: s((o) => [
168
+ l(t(h), {
166
169
  link: "",
167
170
  type: "danger",
168
171
  size: "small",
169
172
  onClick: (Z) => j(o.$index)
170
173
  }, {
171
- default: d(() => [...e[10] || (e[10] = [
174
+ default: s(() => [...e[10] || (e[10] = [
172
175
  b(" 删除 ", -1)
173
176
  ])]),
174
177
  _: 1
@@ -180,8 +183,8 @@ const Q = { class: "instruction-config" }, W = { style: { display: "flex", "alig
180
183
  _: 1
181
184
  }, 8, ["data"]),
182
185
  l(u, { label: "指令调用" }, {
183
- default: d(() => [
184
- l(t(y), {
186
+ default: s(() => [
187
+ l(t(C), {
185
188
  modelValue: P.value,
186
189
  "onUpdate:modelValue": e[2] || (e[2] = (o) => P.value = o),
187
190
  size: "small",
@@ -189,8 +192,8 @@ const Q = { class: "instruction-config" }, W = { style: { display: "flex", "alig
189
192
  teleported: !1,
190
193
  onChange: R
191
194
  }, {
192
- default: d(() => [
193
- (m(!0), g(w, null, h(p.value, (o) => (m(), V(t(r), {
195
+ default: s(() => [
196
+ (m(!0), g(w, null, I(p.value, (o) => (m(), V(t(r), {
194
197
  key: o.id,
195
198
  label: o.descr,
196
199
  value: o.id
@@ -202,7 +205,7 @@ const Q = { class: "instruction-config" }, W = { style: { display: "flex", "alig
202
205
  _: 1
203
206
  }),
204
207
  l(u, { label: "指令描述" }, {
205
- default: d(() => [
208
+ default: s(() => [
206
209
  l(t(f), {
207
210
  modelValue: n.value.descr,
208
211
  "onUpdate:modelValue": e[3] || (e[3] = (o) => n.value.descr = o),
@@ -212,15 +215,15 @@ const Q = { class: "instruction-config" }, W = { style: { display: "flex", "alig
212
215
  _: 1
213
216
  }),
214
217
  l(u, { label: "通信方式" }, {
215
- default: d(() => [
216
- l(t(y), {
218
+ default: s(() => [
219
+ l(t(C), {
217
220
  modelValue: n.value.protocol,
218
221
  "onUpdate:modelValue": e[4] || (e[4] = (o) => n.value.protocol = o),
219
222
  size: "small",
220
223
  style: { width: "100%", "pointer-events": "auto" },
221
224
  teleported: !1
222
225
  }, {
223
- default: d(() => [
226
+ default: s(() => [
224
227
  l(t(r), {
225
228
  label: "UDP",
226
229
  value: "udp"
@@ -240,7 +243,7 @@ const Q = { class: "instruction-config" }, W = { style: { display: "flex", "alig
240
243
  _: 1
241
244
  }),
242
245
  l(u, { label: "远程IP" }, {
243
- default: d(() => [
246
+ default: s(() => [
244
247
  l(t(f), {
245
248
  modelValue: n.value.target,
246
249
  "onUpdate:modelValue": e[5] || (e[5] = (o) => n.value.target = o),
@@ -250,7 +253,7 @@ const Q = { class: "instruction-config" }, W = { style: { display: "flex", "alig
250
253
  _: 1
251
254
  }),
252
255
  l(u, { label: "远程端口" }, {
253
- default: d(() => [
256
+ default: s(() => [
254
257
  l(t(f), {
255
258
  modelValue: n.value.remotePort,
256
259
  "onUpdate:modelValue": e[6] || (e[6] = (o) => n.value.remotePort = o),
@@ -260,13 +263,13 @@ const Q = { class: "instruction-config" }, W = { style: { display: "flex", "alig
260
263
  _: 1
261
264
  }),
262
265
  l(u, { label: "延时执行" }, {
263
- default: d(() => [
266
+ default: s(() => [
264
267
  l(t(f), {
265
268
  modelValue: n.value.delay,
266
269
  "onUpdate:modelValue": e[7] || (e[7] = (o) => n.value.delay = o),
267
270
  size: "small"
268
271
  }, {
269
- append: d(() => [...e[11] || (e[11] = [
272
+ append: s(() => [...e[11] || (e[11] = [
270
273
  b(" ms ", -1)
271
274
  ])]),
272
275
  _: 1
@@ -275,8 +278,8 @@ const Q = { class: "instruction-config" }, W = { style: { display: "flex", "alig
275
278
  _: 1
276
279
  }),
277
280
  l(u, { label: "指令值" }, {
278
- default: d(() => [
279
- k("div", W, [
281
+ default: s(() => [
282
+ E("div", W, [
280
283
  l(t(f), {
281
284
  modelValue: n.value.command,
282
285
  "onUpdate:modelValue": e[8] || (e[8] = (o) => n.value.command = o),
@@ -284,13 +287,13 @@ const Q = { class: "instruction-config" }, W = { style: { display: "flex", "alig
284
287
  size: "small",
285
288
  style: { flex: "1" }
286
289
  }, null, 8, ["modelValue"]),
287
- l(t(q), {
290
+ l(t(G), {
288
291
  modelValue: n.value.isHex,
289
292
  "onUpdate:modelValue": e[9] || (e[9] = (o) => n.value.isHex = o),
290
293
  style: { "margin-left": "10px" },
291
294
  onChange: N
292
295
  }, {
293
- default: d(() => [...e[12] || (e[12] = [
296
+ default: s(() => [...e[12] || (e[12] = [
294
297
  b(" hex ", -1)
295
298
  ])]),
296
299
  _: 1
@@ -299,13 +302,13 @@ const Q = { class: "instruction-config" }, W = { style: { display: "flex", "alig
299
302
  ]),
300
303
  _: 1
301
304
  }),
302
- k("div", X, [
303
- l(t(z), {
305
+ E("div", X, [
306
+ l(t(h), {
304
307
  type: "primary",
305
308
  size: "small",
306
309
  onClick: B
307
310
  }, {
308
- default: d(() => [...e[13] || (e[13] = [
311
+ default: s(() => [...e[13] || (e[13] = [
309
312
  b(" 添加 ", -1)
310
313
  ])]),
311
314
  _: 1
@@ -315,7 +318,7 @@ const Q = { class: "instruction-config" }, W = { style: { display: "flex", "alig
315
318
  ]);
316
319
  };
317
320
  }
318
- }), ne = /* @__PURE__ */ K(Y, [["__scopeId", "data-v-82964438"]]);
321
+ }), ue = /* @__PURE__ */ _(Y, [["__scopeId", "data-v-82964438"]]);
319
322
  export {
320
- ne as I
323
+ ue as I
321
324
  };
@@ -1,15 +1,17 @@
1
- import { _ as p, u as Y, a as h, b4 as C, E as o3, v as e3 } from "./index-CZJriuFt.js";
2
- import { E as n3 } from "./el-button-DvLKp6Ga.js";
3
- import { E as t3, a as l3 } from "./el-form-item-BDdxk5F5.js";
4
- import { E as s3 } from "./el-overlay-BK0_UIU6.js";
5
- import { createElementBlock as u, openBlock as a, createElementVNode as t, defineComponent as i3, computed as m3, ref as c, onBeforeMount as d3, onUnmounted as u3, resolveComponent as G, Fragment as x, createVNode as e, normalizeStyle as a3, unref as n, createTextVNode as m, withCtx as s, normalizeClass as N } from "vue";
6
- import { ElMessage as T } from "element-plus";
7
- import { I as r3 } from "./copy-C5Pi6nJh.js";
8
- import { I as c3 } from "./delete-C2EW4JCs.js";
9
- import { I as p3 } from "./edit-B2pfd2q1.js";
10
- import { I as f3, a as v3, b as x3 } from "./unlock-Cq9PLhBA.js";
11
- import { I as g3, a as w3 } from "./show-C4AeWlKj.js";
12
- import { u as C3, o as M3, a as k3 } from "./index-CWbZmzNT.js";
1
+ import { _ as p, u as Y, a as h, b9 as C, E as o3, d as e3 } from "./index-B8QqTLfg.js";
2
+ /* empty css */
3
+ import { E as n3, a as t3 } from "./el-form-item-BbaNohQv.js";
4
+ /* empty css */
5
+ import { createElementBlock as a, openBlock as u, createElementVNode as t, defineComponent as l3, computed as s3, ref as c, onBeforeMount as i3, onUnmounted as m3, resolveComponent as G, Fragment as x, createVNode as e, normalizeStyle as d3, unref as n, createTextVNode as m, withCtx as s, normalizeClass as N } from "vue";
6
+ import { I as a3 } from "./copy-CsCmPy4J.js";
7
+ import { I as u3 } from "./delete-COj0ilHh.js";
8
+ import { I as r3 } from "./edit-vdJaEine.js";
9
+ import { I as c3, a as p3, b as f3 } from "./unlock-B2FVPQlm.js";
10
+ import { I as v3, a as x3 } from "./show-BCwE3hGY.js";
11
+ import { u as g3, o as w3, a as C3 } from "./index-CPa_MnOD.js";
12
+ import { E as M3 } from "./index-C_WopEui.js";
13
+ import { E as k3 } from "./index-CJjljoJG.js";
14
+ import { E as T } from "./index-bOWjoplU.js";
13
15
  const z3 = {}, _3 = {
14
16
  t: "1639131250073",
15
17
  class: "icon",
@@ -21,7 +23,7 @@ const z3 = {}, _3 = {
21
23
  height: "64"
22
24
  };
23
25
  function I3(f, i) {
24
- return a(), u("svg", _3, [...i[0] || (i[0] = [
26
+ return u(), a("svg", _3, [...i[0] || (i[0] = [
25
27
  t("path", {
26
28
  d: "M209.77314453 868.46064453c0-20.61123047 16.70888672-37.32099609 37.32099609-37.32099609L783.19970703 831.13964844c20.61035156 0 37.32099609 16.70888672 37.3209961 37.32099609 0 20.61123047-16.70888672 37.32099609-37.3209961 37.3209961l-536.1055664 0c-20.61210937 0-37.32099609-16.70800781-37.3209961-37.3209961zM512.15292969 729.66113281c20.61123047 0 37.32099609-16.70800781 37.32099609-37.32099608l-1e-8-536.10468751c0-20.61123047-16.70800781-37.32099609-37.32099608-37.3209961-20.61123047 0-37.32099609 16.70800781-37.3209961 37.32099609l1e-8 536.10644532c0 20.61035156 16.70976562 37.31923828 37.32099609 37.31923828z m-26.48583986 27.534375c14.57402345 14.57402345 37.36845703 15.4107422 50.91240236 1.86679688l274.90429687-274.90429688c13.54394531-13.5421875 12.70810546-36.33662109-1.86679687-50.91152343-14.57402345-14.57402345-37.36845703-15.4107422-50.91152344-1.86679688l-274.9060547 274.90429688c-13.54306642 13.5421875-12.70722656 36.33662109 1.86767578 50.91152343z m52.96640626 0c14.57490234-14.57490234 15.41162109-37.36933594 1.86767579-50.91152343L265.59599609 431.37792969c-13.54394531-13.54394531-36.3375-12.70722656-50.91152343 1.86679687-14.57490234 14.57490234-15.41162109 37.36933594-1.86767579 50.91152345l274.90429688 274.90605468c13.54394531 13.54394531 36.33750001 12.70634766 50.91240235-1.86767578z",
27
29
  "p-id": "4138"
@@ -39,7 +41,7 @@ const $3 = /* @__PURE__ */ p(z3, [["render", I3]]), y3 = {}, V3 = {
39
41
  height: "64"
40
42
  };
41
43
  function E3(f, i) {
42
- return a(), u("svg", V3, [...i[0] || (i[0] = [
44
+ return u(), a("svg", V3, [...i[0] || (i[0] = [
43
45
  t("path", {
44
46
  d: "M544.95898438 854.7734375l-65.91796876 0 0-672.36328125L544.95898438 182.41015625z",
45
47
  "p-id": "3989"
@@ -61,7 +63,7 @@ const F3 = /* @__PURE__ */ p(y3, [["render", E3]]), L3 = {}, b3 = {
61
63
  height: "64"
62
64
  };
63
65
  function B3(f, i) {
64
- return a(), u("svg", b3, [...i[0] || (i[0] = [
66
+ return u(), a("svg", b3, [...i[0] || (i[0] = [
65
67
  t("path", {
66
68
  d: "M814.22685547 155.53935547c0 20.61123047-16.70888672 37.32099609-37.32099609 37.32099609H240.80029297c-20.61035156 0-37.32099609-16.70888672-37.3209961-37.32099609 0-20.61123047 16.70888672-37.32099609 37.3209961-37.32099609h536.1055664c20.61210937 0 37.32099609 16.70800781 37.3209961 37.32099609zM511.84707031 294.33886719c-20.61123047 0-37.32099609 16.70800781-37.32099609 37.32099608v536.10468751c0 20.61123047 16.70800781 37.32099609 37.32099609 37.3209961 20.61123047 0 37.32099609-16.70800781 37.3209961-37.3209961v-536.10644531c0-20.61035156-16.70976562-37.31923828-37.3209961-37.31923828z m26.48583986-27.534375c-14.57402345-14.57402345-37.36845703-15.41074219-50.91240236-1.86679688l-274.90429687 274.90429688c-13.54394531 13.5421875-12.70810547 36.33662109 1.86679687 50.91152343 14.57402345 14.57402345 37.36845703 15.41074219 50.91152344 1.86679688l274.90605469-274.90429688c13.54306641-13.5421875 12.70722656-36.33662109-1.86767577-50.91152343z m-52.96640626 0c-14.57490234 14.57490234-15.41162109 37.36933594-1.86767579 50.91152343L758.40400391 592.62207031c13.54394531 13.54394531 36.3375 12.70722656 50.91152343-1.86679687 14.57490234-14.57490234 15.41162109-37.36933594 1.86767579-50.91152345l-274.90429688-274.90605468c-13.54394531-13.54394531-36.3375-12.70634766-50.91240234 1.86767578z",
67
69
  "p-id": "3989"
@@ -79,7 +81,7 @@ const H3 = /* @__PURE__ */ p(L3, [["render", B3]]), U3 = {}, S3 = {
79
81
  height: "64"
80
82
  };
81
83
  function D3(f, i) {
82
- return a(), u("svg", S3, [...i[0] || (i[0] = [
84
+ return u(), a("svg", S3, [...i[0] || (i[0] = [
83
85
  t("path", {
84
86
  d: "M479.04101562 169.2265625h65.91796876v672.36328125H479.04101562z",
85
87
  "p-id": "3988"
@@ -101,7 +103,7 @@ const G3 = /* @__PURE__ */ p(U3, [["render", D3]]), N3 = {}, T3 = {
101
103
  height: "200"
102
104
  };
103
105
  function q3(f, i) {
104
- return a(), u("svg", T3, [...i[0] || (i[0] = [
106
+ return u(), a("svg", T3, [...i[0] || (i[0] = [
105
107
  t("path", {
106
108
  d: "M42.666667 341.333333V138.666667a53.393333 53.393333 0 0 1 53.333333-53.333334h296.08a52.986667 52.986667 0 0 1 37.713333 15.62l109.253334 109.253334a10.573333 10.573333 0 0 0 7.54 3.126666H970.666667a53.393333 53.393333 0 0 1 53.333333 53.333334v74.666666z m0 42.666667v458.666667a53.393333 53.393333 0 0 0 53.333333 53.333333h874.666667a53.393333 53.393333 0 0 0 53.333333-53.333333V384z",
107
109
  "p-id": "11068"
@@ -122,7 +124,7 @@ function q3(f, i) {
122
124
  }, null, -1)
123
125
  ])]);
124
126
  }
125
- const R3 = /* @__PURE__ */ p(N3, [["render", q3]]), j3 = /* @__PURE__ */ i3({
127
+ const R3 = /* @__PURE__ */ p(N3, [["render", q3]]), j3 = /* @__PURE__ */ l3({
126
128
  __name: "index",
127
129
  setup(f) {
128
130
  const i = Y(), {
@@ -141,7 +143,7 @@ const R3 = /* @__PURE__ */ p(N3, [["render", q3]]), j3 = /* @__PURE__ */ i3({
141
143
  // handCopyComToPage,
142
144
  composeComs: E,
143
145
  decomposeComs: F
144
- } = C3(), A = m3(() => ({
146
+ } = g3(), A = s3(() => ({
145
147
  display: i.contextMenu.show ? "block" : "none",
146
148
  left: `${M.x + 10}px`,
147
149
  top: `${M.y + 10}px`,
@@ -168,16 +170,16 @@ const R3 = /* @__PURE__ */ p(N3, [["render", q3]]), j3 = /* @__PURE__ */ i3({
168
170
  }
169
171
  });
170
172
  }
171
- return d3(() => {
172
- M3(document, "contextmenu", L);
173
- }), u3(() => {
174
- k3(document, "contextmenu", L);
173
+ return i3(() => {
174
+ w3(document, "contextmenu", L);
175
+ }), m3(() => {
176
+ C3(document, "contextmenu", L);
175
177
  }), (w, o) => {
176
- const d = o3, P = G("g-monaco-editor"), U = s3, Q = e3, S = l3, W = G("g-upload-image"), X = t3, D = n3;
177
- return a(), u(x, null, [
178
+ const d = o3, P = G("g-monaco-editor"), U = M3, Q = e3, S = t3, W = G("g-upload-image"), X = n3, D = k3;
179
+ return u(), a(x, null, [
178
180
  t("div", {
179
181
  class: "context-menu-wrap",
180
- style: a3(A.value)
182
+ style: d3(A.value)
181
183
  }, [
182
184
  t("div", {
183
185
  class: "context-menu-item",
@@ -235,7 +237,7 @@ const R3 = /* @__PURE__ */ p(N3, [["render", q3]]), j3 = /* @__PURE__ */ i3({
235
237
  }, [
236
238
  e(d, { class: "menu-icon" }, {
237
239
  default: s(() => [
238
- e(f3)
240
+ e(c3)
239
241
  ]),
240
242
  _: 1
241
243
  }),
@@ -260,18 +262,18 @@ const R3 = /* @__PURE__ */ p(N3, [["render", q3]]), j3 = /* @__PURE__ */ i3({
260
262
  onClick: o[6] || (o[6] = //@ts-ignore
261
263
  (...l) => n(_) && n(_)(...l))
262
264
  }, [
263
- n(q) ? (a(), u(x, { key: 0 }, [
265
+ n(q) ? (u(), a(x, { key: 0 }, [
264
266
  e(d, { class: "menu-icon" }, {
265
267
  default: s(() => [
266
- e(v3)
268
+ e(p3)
267
269
  ]),
268
270
  _: 1
269
271
  }),
270
272
  o[21] || (o[21] = m(" 解锁 ", -1))
271
- ], 64)) : (a(), u(x, { key: 1 }, [
273
+ ], 64)) : (u(), a(x, { key: 1 }, [
272
274
  e(d, { class: "menu-icon" }, {
273
275
  default: s(() => [
274
- e(x3)
276
+ e(f3)
275
277
  ]),
276
278
  _: 1
277
279
  }),
@@ -283,18 +285,18 @@ const R3 = /* @__PURE__ */ p(N3, [["render", q3]]), j3 = /* @__PURE__ */ i3({
283
285
  onClick: o[7] || (o[7] = //@ts-ignore
284
286
  (...l) => n(I) && n(I)(...l))
285
287
  }, [
286
- n(R) ? (a(), u(x, { key: 0 }, [
288
+ n(R) ? (u(), a(x, { key: 0 }, [
287
289
  e(d, { class: "menu-icon" }, {
288
290
  default: s(() => [
289
- e(g3)
291
+ e(v3)
290
292
  ]),
291
293
  _: 1
292
294
  }),
293
295
  o[23] || (o[23] = m(" 显示 ", -1))
294
- ], 64)) : (a(), u(x, { key: 1 }, [
296
+ ], 64)) : (u(), a(x, { key: 1 }, [
295
297
  e(d, { class: "menu-icon" }, {
296
298
  default: s(() => [
297
- e(w3)
299
+ e(x3)
298
300
  ]),
299
301
  _: 1
300
302
  }),
@@ -309,7 +311,7 @@ const R3 = /* @__PURE__ */ p(N3, [["render", q3]]), j3 = /* @__PURE__ */ i3({
309
311
  }, [
310
312
  e(d, { class: "menu-icon" }, {
311
313
  default: s(() => [
312
- e(p3)
314
+ e(r3)
313
315
  ]),
314
316
  _: 1
315
317
  }),
@@ -322,7 +324,7 @@ const R3 = /* @__PURE__ */ p(N3, [["render", q3]]), j3 = /* @__PURE__ */ i3({
322
324
  }, [
323
325
  e(d, { class: "menu-icon" }, {
324
326
  default: s(() => [
325
- e(r3)
327
+ e(a3)
326
328
  ]),
327
329
  _: 1
328
330
  }),
@@ -335,7 +337,7 @@ const R3 = /* @__PURE__ */ p(N3, [["render", q3]]), j3 = /* @__PURE__ */ i3({
335
337
  }, [
336
338
  e(d, { class: "menu-icon" }, {
337
339
  default: s(() => [
338
- e(c3)
340
+ e(u3)
339
341
  ]),
340
342
  _: 1
341
343
  }),
@@ -433,7 +435,7 @@ const R3 = /* @__PURE__ */ p(N3, [["render", q3]]), j3 = /* @__PURE__ */ i3({
433
435
  ], 64);
434
436
  };
435
437
  }
436
- }), e1 = /* @__PURE__ */ p(j3, [["__scopeId", "data-v-a257d111"]]);
438
+ }), t1 = /* @__PURE__ */ p(j3, [["__scopeId", "data-v-a257d111"]]);
437
439
  export {
438
- e1 as default
440
+ t1 as default
439
441
  };
@@ -1,7 +1,8 @@
1
1
  import { onMounted as kn, nextTick as Rr, watch as Me, getCurrentInstance as _n, shallowRef as at, shallowReadonly as Di, toValue as me, getCurrentScope as Ni, onScopeDispose as Fi, readonly as vr, toRef as zi, ref as W, customRef as Wi, computed as U, unref as ge, toRaw as Ui, defineComponent as he, reactive as Pe, createVNode as se, inject as Mo, provide as Ki, useSlots as Gi, resolveComponent as Y, createElementBlock as L, openBlock as _, Fragment as Ke, createBlock as F, createCommentVNode as D, normalizeStyle as ne, withCtx as Ue, resolveDynamicComponent as va, mergeProps as ha, renderSlot as fn, createElementVNode as A, normalizeClass as oe, Teleport as qi, withDirectives as qt, vShow as hr, renderList as bt, vModelText as Yi, createTextVNode as Ft, toDisplayString as Yt, pushScopeId as $t, popScopeId as Tt, mergeModels as ga, useModel as Xi } from "vue";
2
- import { ElRadioGroup as Ji, ElRadioButton as Fr, ElInput as zr, ElIcon as Zi, ElButton as Qi } from "element-plus";
3
- import { m as $r, U as el, _ as tl } from "./index-CZJriuFt.js";
4
- import { I as ya } from "./plus-3mdO6yXY.js";
2
+ import { n as $r, d as Fr, E as Ji, U as Zi, _ as Qi } from "./index-B8QqTLfg.js";
3
+ import { I as ya } from "./plus-xgpQU22I.js";
4
+ import { E as el, a as zr } from "./index-CDhmvVt8.js";
5
+ import { E as tl } from "./index-CJjljoJG.js";
5
6
  function rl(e, t) {
6
7
  return Ni() ? (Fi(e, t), !0) : !1;
7
8
  }
@@ -5659,7 +5660,7 @@ const cn = /* @__PURE__ */ Ee(kp, [["render", Op], ["__scopeId", "data-v-354ca83
5659
5660
  },
5660
5661
  modelModifiers: {}
5661
5662
  }),
5662
- emits: /* @__PURE__ */ ga([el], ["update:modelValue"]),
5663
+ emits: /* @__PURE__ */ ga([Zi], ["update:modelValue"]),
5663
5664
  setup(e) {
5664
5665
  const t = {
5665
5666
  单色: "color",
@@ -5723,7 +5724,7 @@ const cn = /* @__PURE__ */ Ee(kp, [["render", Op], ["__scopeId", "data-v-354ca83
5723
5724
  ]]),
5724
5725
  style: { "pointer-events": "auto" }
5725
5726
  }, [
5726
- (e.allowImg || e.allowInherit) && !n.value ? (_(), F(ge(Ji), {
5727
+ (e.allowImg || e.allowInherit) && !n.value ? (_(), F(ge(el), {
5727
5728
  key: 0,
5728
5729
  modelValue: u.value,
5729
5730
  "onUpdate:modelValue": d[0] || (d[0] = (y) => u.value = y),
@@ -5731,7 +5732,7 @@ const cn = /* @__PURE__ */ Ee(kp, [["render", Op], ["__scopeId", "data-v-354ca83
5731
5732
  onChange: v
5732
5733
  }, {
5733
5734
  default: Ue(() => [
5734
- se(ge(Fr), {
5735
+ se(ge(zr), {
5735
5736
  value: t.单色
5736
5737
  }, {
5737
5738
  default: Ue(() => [...d[7] || (d[7] = [
@@ -5739,7 +5740,7 @@ const cn = /* @__PURE__ */ Ee(kp, [["render", Op], ["__scopeId", "data-v-354ca83
5739
5740
  ])]),
5740
5741
  _: 1
5741
5742
  }, 8, ["value"]),
5742
- e.allowImg ? (_(), F(ge(Fr), {
5743
+ e.allowImg ? (_(), F(ge(zr), {
5743
5744
  key: 0,
5744
5745
  value: t.图片
5745
5746
  }, {
@@ -5748,7 +5749,7 @@ const cn = /* @__PURE__ */ Ee(kp, [["render", Op], ["__scopeId", "data-v-354ca83
5748
5749
  ])]),
5749
5750
  _: 1
5750
5751
  }, 8, ["value"])) : D("", !0),
5751
- e.allowInherit ? (_(), F(ge(Fr), {
5752
+ e.allowInherit ? (_(), F(ge(zr), {
5752
5753
  key: 1,
5753
5754
  value: t.继承
5754
5755
  }, {
@@ -5777,7 +5778,7 @@ const cn = /* @__PURE__ */ Ee(kp, [["render", Op], ["__scopeId", "data-v-354ca83
5777
5778
  onActiveKeyChange: p
5778
5779
  }, null, 8, ["pure-color", "gradient-color", "use-type", "active-key", "size", "z-index"])
5779
5780
  ]),
5780
- e.showInput ? (_(), F(ge(zr), {
5781
+ e.showInput ? (_(), F(ge(Fr), {
5781
5782
  key: 0,
5782
5783
  modelValue: r.value,
5783
5784
  "onUpdate:modelValue": d[1] || (d[1] = (y) => r.value = y),
@@ -5805,7 +5806,7 @@ const cn = /* @__PURE__ */ Ee(kp, [["render", Op], ["__scopeId", "data-v-354ca83
5805
5806
  "onUpdate:gradientColor": (w) => c(w, b),
5806
5807
  onActiveKeyChange: p
5807
5808
  }, null, 8, ["pure-color", "gradient-color", "use-type", "active-key", "size", "z-index", "onUpdate:pureColor", "onUpdate:gradientColor"]),
5808
- qt(se(ge(Zi), {
5809
+ qt(se(ge(Ji), {
5809
5810
  size: "14",
5810
5811
  class: "delete",
5811
5812
  onClick: (w) => s(b)
@@ -5818,7 +5819,7 @@ const cn = /* @__PURE__ */ Ee(kp, [["render", Op], ["__scopeId", "data-v-354ca83
5818
5819
  [hr, r.value.length > 1]
5819
5820
  ])
5820
5821
  ]))), 128)),
5821
- se(ge(Qi), {
5822
+ se(ge(tl), {
5822
5823
  text: "",
5823
5824
  size: "small",
5824
5825
  style: { "margin-top": "2px" },
@@ -5856,13 +5857,13 @@ const cn = /* @__PURE__ */ Ee(kp, [["render", Op], ["__scopeId", "data-v-354ca83
5856
5857
  onActiveKeyChange: p
5857
5858
  }, null, 8, ["pure-color", "gradient-color", "use-type", "active-key", "size", "z-index"])
5858
5859
  ]),
5859
- f.value === "pure" ? (_(), F(ge(zr), {
5860
+ f.value === "pure" ? (_(), F(ge(Fr), {
5860
5861
  key: 0,
5861
5862
  modelValue: r.value.value,
5862
5863
  "onUpdate:modelValue": d[4] || (d[4] = (y) => r.value.value = y),
5863
5864
  size: "small",
5864
5865
  style: { flex: "1" }
5865
- }, null, 8, ["modelValue"])) : (_(), F(ge(zr), {
5866
+ }, null, 8, ["modelValue"])) : (_(), F(ge(Fr), {
5866
5867
  key: 1,
5867
5868
  modelValue: r.value.liner,
5868
5869
  "onUpdate:modelValue": d[5] || (d[5] = (y) => r.value.liner = y),
@@ -5879,7 +5880,7 @@ const cn = /* @__PURE__ */ Ee(kp, [["render", Op], ["__scopeId", "data-v-354ca83
5879
5880
  ], 2);
5880
5881
  };
5881
5882
  }
5882
- }), Dp = /* @__PURE__ */ tl(jp, [["__scopeId", "data-v-0ccd5eab"]]);
5883
+ }), Np = /* @__PURE__ */ Qi(jp, [["__scopeId", "data-v-0ccd5eab"]]);
5883
5884
  export {
5884
- Dp as default
5885
+ Np as default
5885
5886
  };