@vtj/designer 0.8.97 → 0.8.98
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.
- package/dist/index.mjs +924 -914
- package/package.json +6 -6
- package/types/components/hooks/useAssets.d.ts +3 -3
- package/types/components/hooks/useBinder.d.ts +1 -1
- package/types/components/hooks/useRegion.d.ts +1 -1
- package/types/components/regions/actions.d.ts +1 -1
- package/types/components/regions/apps.d.ts +1 -1
- package/types/components/regions/brand.d.ts +1 -1
- package/types/components/regions/index.d.ts +10 -10
- package/types/components/regions/preview.d.ts +2 -2
- package/types/components/regions/settings.d.ts +1 -1
- package/types/components/regions/status.d.ts +1 -1
- package/types/components/regions/toolbar.d.ts +1 -1
- package/types/components/regions/workspace.d.ts +2 -2
- package/types/components/skeleton.d.ts +13 -13
- package/types/components/widgets/index.d.ts +1 -1
- package/types/components/widgets/toolbar/index.d.ts +1 -1
- package/types/utils.d.ts +1 -0
- package/types/version.d.ts +2 -2
- package/types/wrappers/region.d.ts +1 -1
- package/types/wrappers/skeleton.d.ts +41 -3
- package/types/wrappers/widget.d.ts +1 -1
- package/types/components/widgets/market/index.d.ts +0 -5
package/dist/index.mjs
CHANGED
|
@@ -11,10 +11,10 @@ import As from "mockjs";
|
|
|
11
11
|
* Copyright (c) 2024, VTJ.PRO All rights reserved.
|
|
12
12
|
* @name @vtj/designer
|
|
13
13
|
* @author CHC chenhuachun1549@dingtalk.com
|
|
14
|
-
* @version 0.8.
|
|
14
|
+
* @version 0.8.98
|
|
15
15
|
* @license <a href="https://vtj.pro/license.html">MIT License</a>
|
|
16
16
|
*/
|
|
17
|
-
const js = "0.8.
|
|
17
|
+
const js = "0.8.98", Ut = {
|
|
18
18
|
width: 390,
|
|
19
19
|
height: 844
|
|
20
20
|
}, qt = {
|
|
@@ -44,43 +44,43 @@ const js = "0.8.97", Ut = {
|
|
|
44
44
|
"once",
|
|
45
45
|
"passive"
|
|
46
46
|
];
|
|
47
|
-
var fe = /* @__PURE__ */ ((
|
|
47
|
+
var fe = /* @__PURE__ */ ((i) => (i.Block = "block", i.Node = "node", i))(fe || {}), Bs = /* @__PURE__ */ ((i) => (i.Brand = "Brand", i.Toolbar = "Toolbar", i.Actions = "Actions", i.Apps = "Apps", i.Workspace = "Workspace", i.Settings = "Settings", i.Status = "Status", i.Preview = "Preview", i))(Bs || {});
|
|
48
48
|
function Dn() {
|
|
49
|
-
const
|
|
49
|
+
const i = ce(), e = S(() => i.project.value?.dependencies ?? []), t = S(() => i.project.value?.apis ?? []), l = S(() => i.project.value?.meta ?? []);
|
|
50
50
|
return {
|
|
51
|
-
engine:
|
|
51
|
+
engine: i,
|
|
52
52
|
dependencies: e,
|
|
53
53
|
apis: t,
|
|
54
54
|
meta: l
|
|
55
55
|
};
|
|
56
56
|
}
|
|
57
|
-
function Pe(
|
|
58
|
-
const t = S(() => Nn.getWidgets(n(
|
|
57
|
+
function Pe(i, e) {
|
|
58
|
+
const t = S(() => Nn.getWidgets(n(i), n(e)).filter((a) => !a.invisible)), l = k();
|
|
59
59
|
return {
|
|
60
60
|
widgets: t,
|
|
61
61
|
widgetsRef: l
|
|
62
62
|
};
|
|
63
63
|
}
|
|
64
64
|
function In() {
|
|
65
|
-
const
|
|
65
|
+
const i = ce();
|
|
66
66
|
return {
|
|
67
67
|
span: S(() => {
|
|
68
|
-
const a =
|
|
68
|
+
const a = i.skeleton?.skeletonRef.leftWidth || 400, o = Math.min(Math.floor((a - 50) / 120), 24);
|
|
69
69
|
return Math.floor(24 / o);
|
|
70
70
|
}),
|
|
71
|
-
engine:
|
|
71
|
+
engine: i
|
|
72
72
|
};
|
|
73
73
|
}
|
|
74
74
|
function Rs() {
|
|
75
|
-
const
|
|
75
|
+
const i = ce(), e = S(() => i.project.value?.blocks ?? []);
|
|
76
76
|
return {
|
|
77
|
-
engine:
|
|
77
|
+
engine: i,
|
|
78
78
|
blocks: e
|
|
79
79
|
};
|
|
80
80
|
}
|
|
81
|
-
const $s = (
|
|
81
|
+
const $s = (i = []) => i.map((e) => e.name);
|
|
82
82
|
function Ts() {
|
|
83
|
-
const
|
|
83
|
+
const i = ce(), { components: e, groups: t, componentMap: l } = i.assets, a = qe({}), o = S(() => {
|
|
84
84
|
const m = {};
|
|
85
85
|
return t.value && t.value.forEach((f) => {
|
|
86
86
|
m[f.name] = f;
|
|
@@ -89,7 +89,7 @@ function Ts() {
|
|
|
89
89
|
label: `${m.label} (${m.count})`,
|
|
90
90
|
name: m.name,
|
|
91
91
|
disabled: !m.children?.length
|
|
92
|
-
})) : []), r = k(s.value[0]?.name),
|
|
92
|
+
})) : []), r = k(s.value[0]?.name), u = k(""), g = S(() => o.value[r.value]);
|
|
93
93
|
Jn(() => {
|
|
94
94
|
const m = s.value.reduce(
|
|
95
95
|
(f, b) => (f[b.name] = $s(
|
|
@@ -106,7 +106,7 @@ function Ts() {
|
|
|
106
106
|
{ immediate: !0 }
|
|
107
107
|
);
|
|
108
108
|
const p = S(() => {
|
|
109
|
-
const m =
|
|
109
|
+
const m = u.value.toLowerCase();
|
|
110
110
|
return !m || !e ? [] : e.filter((f) => f.name.toLowerCase().includes(m) || f.label?.toLowerCase().includes(m));
|
|
111
111
|
});
|
|
112
112
|
return {
|
|
@@ -118,25 +118,25 @@ function Ts() {
|
|
|
118
118
|
model: a,
|
|
119
119
|
currentTab: r,
|
|
120
120
|
currentGroup: g,
|
|
121
|
-
searchKey:
|
|
121
|
+
searchKey: u,
|
|
122
122
|
searchResult: p
|
|
123
123
|
};
|
|
124
124
|
}
|
|
125
125
|
function ie() {
|
|
126
|
-
const
|
|
126
|
+
const i = ce(), e = S(() => i.current.value), t = S(() => i.simulator.renderer?.context ?? null), l = S(() => i.isEmptyCurrent.value);
|
|
127
127
|
return {
|
|
128
|
-
engine:
|
|
128
|
+
engine: i,
|
|
129
129
|
current: e,
|
|
130
130
|
isEmpty: l,
|
|
131
131
|
context: t
|
|
132
132
|
};
|
|
133
133
|
}
|
|
134
|
-
function zs(
|
|
134
|
+
function zs(i, e, t, l, a) {
|
|
135
135
|
const o = ce();
|
|
136
|
-
o.simulator.init(
|
|
136
|
+
o.simulator.init(i, e, t, l, a);
|
|
137
137
|
const s = S(() => o.simulator.designer.value), r = S(
|
|
138
138
|
() => ct("hover", s.value?.hover.value)
|
|
139
|
-
),
|
|
139
|
+
), u = S(
|
|
140
140
|
() => ct("dropping", s.value?.dropping.value)
|
|
141
141
|
), g = S(
|
|
142
142
|
() => ct("selected", s.value?.selected.value)
|
|
@@ -145,20 +145,20 @@ function zs(u, e, t, l, a) {
|
|
|
145
145
|
s.value?.updateRect();
|
|
146
146
|
}), {
|
|
147
147
|
designer: s,
|
|
148
|
-
dropping:
|
|
148
|
+
dropping: u,
|
|
149
149
|
hover: r,
|
|
150
150
|
selected: g
|
|
151
151
|
};
|
|
152
152
|
}
|
|
153
|
-
function Os(
|
|
154
|
-
const { top: t, height: l, width: a, left: o } =
|
|
153
|
+
function Os(i, e = !0) {
|
|
154
|
+
const { top: t, height: l, width: a, left: o } = i || {};
|
|
155
155
|
if (l > 100 && a > 200)
|
|
156
156
|
return "inner";
|
|
157
157
|
let s, r;
|
|
158
158
|
return r = t > 30 ? "top" : "bottom", s = e || o < 300 && a < 300 ? "left" : "right", [s, r].join("-");
|
|
159
159
|
}
|
|
160
|
-
function Fs(
|
|
161
|
-
const { rect: e, type: t } =
|
|
160
|
+
function Fs(i) {
|
|
161
|
+
const { rect: e, type: t } = i, { left: l, width: a, top: o, height: s } = e, r = { left: l, width: a, top: o, height: s };
|
|
162
162
|
switch (t) {
|
|
163
163
|
case "left":
|
|
164
164
|
r.left = 0, r.width = 0;
|
|
@@ -175,9 +175,9 @@ function Fs(u) {
|
|
|
175
175
|
}
|
|
176
176
|
return r;
|
|
177
177
|
}
|
|
178
|
-
function ct(
|
|
178
|
+
function ct(i, e) {
|
|
179
179
|
if (!e) return null;
|
|
180
|
-
const { left: t, top: l, width: a, height: o } =
|
|
180
|
+
const { left: t, top: l, width: a, height: o } = i === "dropping" ? Fs(e) : e.rect, s = {
|
|
181
181
|
left: `${t}px`,
|
|
182
182
|
top: `${l}px`,
|
|
183
183
|
width: `${a}px`,
|
|
@@ -187,41 +187,41 @@ function ct(u, e) {
|
|
|
187
187
|
return {
|
|
188
188
|
...e,
|
|
189
189
|
style: s,
|
|
190
|
-
position: Os(e.rect,
|
|
190
|
+
position: Os(e.rect, i !== "selected")
|
|
191
191
|
};
|
|
192
192
|
}
|
|
193
193
|
function ke() {
|
|
194
|
-
const
|
|
195
|
-
() =>
|
|
194
|
+
const i = ce(), e = S(
|
|
195
|
+
() => i.simulator.designer.value
|
|
196
196
|
), t = S(() => e.value?.selected.value), l = S(() => ee(t.value?.model));
|
|
197
197
|
return {
|
|
198
|
-
engine:
|
|
198
|
+
engine: i,
|
|
199
199
|
designer: e,
|
|
200
200
|
selected: t,
|
|
201
201
|
isSelectBlock: l
|
|
202
202
|
};
|
|
203
203
|
}
|
|
204
|
-
function Ns(
|
|
204
|
+
function Ns(i, e) {
|
|
205
205
|
const t = k(""), { selected: l, isSelectBlock: a } = ke(), o = S(() => l.value?.model.id), s = S(() => {
|
|
206
|
-
const
|
|
207
|
-
if (!
|
|
206
|
+
const u = pt(i), g = pt(e), p = [];
|
|
207
|
+
if (!u) return p;
|
|
208
208
|
const m = g?.__contextRefs[o.value || ""], b = g === m || a.value ? [] : Object.keys(m?.context || {}).filter(($) => !["context", "ref"].includes($)).map(($) => `this.context.${$}`);
|
|
209
209
|
b.length && p.push({ title: "上下文", items: b });
|
|
210
|
-
const c =
|
|
210
|
+
const c = u.inject.map(($) => `this.${$.name}`);
|
|
211
211
|
c.length && p.push({ title: "注入", items: c });
|
|
212
|
-
const _ =
|
|
212
|
+
const _ = u.props.map(
|
|
213
213
|
($) => typeof $ == "string" ? `this.props.${$}` : `this.props.${$.name}`
|
|
214
214
|
);
|
|
215
215
|
_.length && p.push({ title: "属性", items: _ });
|
|
216
|
-
const w = Object.keys(
|
|
216
|
+
const w = Object.keys(u.state).map(($) => `this.state.${$}`);
|
|
217
217
|
w.length && p.push({ title: "状态", items: w });
|
|
218
|
-
const x = Object.keys(
|
|
218
|
+
const x = Object.keys(u.computed).map(
|
|
219
219
|
($) => `this.${$}.value`
|
|
220
220
|
);
|
|
221
221
|
x.length && p.push({ title: "计算属性", items: x });
|
|
222
|
-
const C = Object.keys(
|
|
222
|
+
const C = Object.keys(u.methods).map(($) => `this.${$}`);
|
|
223
223
|
C.length && p.push({ title: "方法", items: C });
|
|
224
|
-
const I = Object.keys(
|
|
224
|
+
const I = Object.keys(u.dataSources).map(
|
|
225
225
|
($) => `this.${$}`
|
|
226
226
|
);
|
|
227
227
|
I.length && p.push({ title: "数据源", items: I });
|
|
@@ -231,10 +231,10 @@ function Ns(u, e) {
|
|
|
231
231
|
return O.length && p.push({ title: "refs", items: O }), p;
|
|
232
232
|
}), r = S(() => {
|
|
233
233
|
if (!t.value) return s.value;
|
|
234
|
-
const
|
|
234
|
+
const u = t.value.toLowerCase(), g = [];
|
|
235
235
|
return s.value.forEach((p) => {
|
|
236
236
|
const m = p.items.filter(
|
|
237
|
-
(f) => f.toLowerCase().includes(
|
|
237
|
+
(f) => f.toLowerCase().includes(u)
|
|
238
238
|
);
|
|
239
239
|
m.length && g.push({
|
|
240
240
|
title: p.title,
|
|
@@ -258,9 +258,9 @@ const Ge = [
|
|
|
258
258
|
label: "表达式"
|
|
259
259
|
}
|
|
260
260
|
];
|
|
261
|
-
function Ws(
|
|
261
|
+
function Ws(i) {
|
|
262
262
|
const e = ce(), t = S(() => {
|
|
263
|
-
const m =
|
|
263
|
+
const m = i.value?.model || null;
|
|
264
264
|
return ee(m) ? null : m;
|
|
265
265
|
}), l = k();
|
|
266
266
|
q(
|
|
@@ -323,71 +323,80 @@ function Ws(u) {
|
|
|
323
323
|
isExist: s
|
|
324
324
|
};
|
|
325
325
|
}
|
|
326
|
-
function ne(
|
|
326
|
+
function ne(i, e = "提示") {
|
|
327
327
|
return Ct.warning({
|
|
328
328
|
title: e,
|
|
329
|
-
message:
|
|
329
|
+
message: i
|
|
330
330
|
});
|
|
331
331
|
}
|
|
332
|
-
async function Oe(
|
|
333
|
-
return await Vt.confirm(
|
|
332
|
+
async function Oe(i) {
|
|
333
|
+
return await Vt.confirm(i, "提示", { type: "warning" }).catch(
|
|
334
334
|
() => !1
|
|
335
335
|
);
|
|
336
336
|
}
|
|
337
|
-
function de(
|
|
337
|
+
function de(i, e = "success") {
|
|
338
338
|
return tt({
|
|
339
|
-
message:
|
|
339
|
+
message: i,
|
|
340
340
|
type: e
|
|
341
341
|
});
|
|
342
342
|
}
|
|
343
|
-
function
|
|
343
|
+
function Js(i) {
|
|
344
|
+
const e = i ? { ...i } : {};
|
|
345
|
+
return e.context = new Proxy(e.context || {}, {
|
|
346
|
+
get(t, l) {
|
|
347
|
+
return t[l] ?? {};
|
|
348
|
+
}
|
|
349
|
+
}), e;
|
|
350
|
+
}
|
|
351
|
+
function oe(i, e, t = !1) {
|
|
344
352
|
let l = !0;
|
|
353
|
+
const a = Js(e);
|
|
345
354
|
try {
|
|
346
|
-
|
|
347
|
-
} catch (
|
|
355
|
+
i.type === "JSExpression" ? Me(i, a, t, !0) : Tl(i, a, t, !0);
|
|
356
|
+
} catch (o) {
|
|
348
357
|
l = !1, Ct.error({
|
|
349
358
|
title: "代码错误",
|
|
350
|
-
message:
|
|
359
|
+
message: o.message
|
|
351
360
|
});
|
|
352
361
|
}
|
|
353
362
|
return l;
|
|
354
363
|
}
|
|
355
|
-
function
|
|
356
|
-
return Object.keys(
|
|
364
|
+
function Ms(i) {
|
|
365
|
+
return Object.keys(i).concat(Object.getOwnPropertyNames(Object.getPrototypeOf(i))).filter((e) => !["constructor"].includes(e));
|
|
357
366
|
}
|
|
358
367
|
function Bn() {
|
|
359
|
-
const
|
|
360
|
-
() =>
|
|
368
|
+
const i = ce(), e = S(
|
|
369
|
+
() => i.simulator.designer.value
|
|
361
370
|
), t = S(
|
|
362
|
-
() =>
|
|
371
|
+
() => i.current.value ? i.history.value : null
|
|
363
372
|
), l = S(() => t.value?.items.length || 0), a = () => {
|
|
364
373
|
e.value?.cleanHelper(), t.value?.forward();
|
|
365
374
|
}, o = () => {
|
|
366
375
|
t.value?.backward(), e.value?.cleanHelper();
|
|
367
376
|
}, s = (g) => {
|
|
368
377
|
e.value?.cleanHelper(), t.value?.load(g), de("已载入历史记录", "success");
|
|
369
|
-
}, r = S(() => l.value <= 1 ? !0 : (t.value?.index || -1) <= 0),
|
|
378
|
+
}, r = S(() => l.value <= 1 ? !0 : (t.value?.index || -1) <= 0), u = S(() => l.value <= 1 ? !0 : (t.value?.index || -1) >= l.value - 1);
|
|
370
379
|
return {
|
|
371
|
-
engine:
|
|
380
|
+
engine: i,
|
|
372
381
|
history: t,
|
|
373
382
|
total: l,
|
|
374
383
|
forward: a,
|
|
375
384
|
backward: o,
|
|
376
385
|
load: s,
|
|
377
386
|
forwardDisabled: r,
|
|
378
|
-
backwardDisabled:
|
|
387
|
+
backwardDisabled: u
|
|
379
388
|
};
|
|
380
389
|
}
|
|
381
390
|
function Re() {
|
|
382
|
-
const
|
|
391
|
+
const i = ce(), e = S(() => i.project.value);
|
|
383
392
|
return {
|
|
384
|
-
engine:
|
|
393
|
+
engine: i,
|
|
385
394
|
project: e
|
|
386
395
|
};
|
|
387
396
|
}
|
|
388
|
-
function
|
|
397
|
+
function Ls(i) {
|
|
389
398
|
const e = ce(), t = S(() => {
|
|
390
|
-
const r =
|
|
399
|
+
const r = i.value?.model || null;
|
|
391
400
|
return !r || ee(r) ? null : r;
|
|
392
401
|
}), l = k();
|
|
393
402
|
q(
|
|
@@ -402,16 +411,16 @@ function Ms(u) {
|
|
|
402
411
|
const a = S(() => {
|
|
403
412
|
if (ee(t.value)) return [];
|
|
404
413
|
const r = t.value?.events || {};
|
|
405
|
-
return Es.map((
|
|
406
|
-
name:
|
|
407
|
-
event: r[
|
|
414
|
+
return Es.map((u) => ({
|
|
415
|
+
name: u,
|
|
416
|
+
event: r[u]
|
|
408
417
|
}));
|
|
409
418
|
}), o = S(() => {
|
|
410
419
|
if (ee(t.value)) return [];
|
|
411
420
|
const r = t.value?.events || {};
|
|
412
|
-
return Ps.map((
|
|
413
|
-
name:
|
|
414
|
-
event: r[
|
|
421
|
+
return Ps.map((u) => ({
|
|
422
|
+
name: u,
|
|
423
|
+
event: r[u]
|
|
415
424
|
}));
|
|
416
425
|
}), s = S(() => {
|
|
417
426
|
if (!t.value || ee(t.value)) return [];
|
|
@@ -430,39 +439,39 @@ function Ms(u) {
|
|
|
430
439
|
componentEventList: s
|
|
431
440
|
};
|
|
432
441
|
}
|
|
433
|
-
const Ht = (
|
|
434
|
-
name:
|
|
442
|
+
const Ht = (i, e) => new hn({
|
|
443
|
+
name: i,
|
|
435
444
|
value: void 0,
|
|
436
445
|
iterator: e
|
|
437
|
-
}),
|
|
446
|
+
}), Us = (i = "modelValue") => new hn({
|
|
438
447
|
name: "vModel",
|
|
439
448
|
value: void 0,
|
|
440
|
-
arg:
|
|
449
|
+
arg: i
|
|
441
450
|
});
|
|
442
|
-
function
|
|
443
|
-
if (!
|
|
444
|
-
const { props: e = [], events: t = [] } =
|
|
451
|
+
function qs(i) {
|
|
452
|
+
if (!i) return [];
|
|
453
|
+
const { props: e = [], events: t = [] } = i;
|
|
445
454
|
if (e.length && t.length) {
|
|
446
455
|
const l = t.filter((a) => (typeof a == "string" ? a : a.name).startsWith("update:")).map((a) => a = typeof a == "string" ? a : a.name);
|
|
447
456
|
return l.length ? e.filter((a) => l.some((o) => o.endsWith(":" + a.name))) : [];
|
|
448
457
|
}
|
|
449
458
|
return [];
|
|
450
459
|
}
|
|
451
|
-
function
|
|
460
|
+
function Hs(i) {
|
|
452
461
|
const e = ce(), t = S(() => {
|
|
453
|
-
const c =
|
|
462
|
+
const c = i.value?.model || null;
|
|
454
463
|
return ee(c) ? null : c;
|
|
455
464
|
}), l = (c) => S(() => t.value && (t.value.directives || []).find((_) => _.name === c) || Ht(c)), a = () => S(() => {
|
|
456
465
|
if (!t.value) return [];
|
|
457
466
|
const c = e.assets.componentMap.get(t.value.name || "");
|
|
458
|
-
return (c ?
|
|
467
|
+
return (c ? qs(c) : []).map((w) => (t.value?.directives || []).find(
|
|
459
468
|
(x) => x.name === "vModel" && x.arg == w.name
|
|
460
|
-
) ||
|
|
461
|
-
}), o = l("vIf"), s = l("vShow"), r = l("vBind"),
|
|
469
|
+
) || Us(w.name));
|
|
470
|
+
}), o = l("vIf"), s = l("vShow"), r = l("vBind"), u = l("vFor"), g = a(), p = {
|
|
462
471
|
vIf: o,
|
|
463
472
|
vShow: s,
|
|
464
473
|
vBind: r,
|
|
465
|
-
vFor:
|
|
474
|
+
vFor: u
|
|
466
475
|
};
|
|
467
476
|
return {
|
|
468
477
|
engine: e,
|
|
@@ -470,7 +479,7 @@ function qs(u) {
|
|
|
470
479
|
vIf: o,
|
|
471
480
|
vShow: s,
|
|
472
481
|
vBind: r,
|
|
473
|
-
vFor:
|
|
482
|
+
vFor: u,
|
|
474
483
|
vModels: g,
|
|
475
484
|
onValueChange: (c, _) => {
|
|
476
485
|
const w = p[c];
|
|
@@ -479,13 +488,13 @@ function qs(u) {
|
|
|
479
488
|
onForChange: (c, _) => {
|
|
480
489
|
if (t.value) {
|
|
481
490
|
if (c === "value") {
|
|
482
|
-
_ ? (
|
|
491
|
+
_ ? (u.value.value = _, t.value.setDirective(u.value)) : t.value.removeDirective(u.value);
|
|
483
492
|
return;
|
|
484
493
|
}
|
|
485
|
-
(c === "item" || c === "index") && (
|
|
486
|
-
...
|
|
494
|
+
(c === "item" || c === "index") && (u.value.iterator = {
|
|
495
|
+
...u.value.iterator,
|
|
487
496
|
[c]: _ || void 0
|
|
488
|
-
}, t.value.setDirective(
|
|
497
|
+
}, t.value.setDirective(u.value));
|
|
489
498
|
}
|
|
490
499
|
},
|
|
491
500
|
onModelChange: (c, _) => {
|
|
@@ -495,16 +504,16 @@ function qs(u) {
|
|
|
495
504
|
}
|
|
496
505
|
};
|
|
497
506
|
}
|
|
498
|
-
function
|
|
499
|
-
const { engine:
|
|
507
|
+
function Gs() {
|
|
508
|
+
const { engine: i, project: e } = Re(), t = S(() => e.value?.apis || []), l = S(() => e.value?.meta || []);
|
|
500
509
|
return {
|
|
501
|
-
engine:
|
|
510
|
+
engine: i,
|
|
502
511
|
project: e,
|
|
503
512
|
apis: t,
|
|
504
513
|
meta: l
|
|
505
514
|
};
|
|
506
515
|
}
|
|
507
|
-
const
|
|
516
|
+
const Xs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1711803009570'%20class='icon'%20viewBox='0%200%201280%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='1500'%20width='320'%20height='256'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3cpath%20d='M557.85%201023l-122-35.4c-12.8-3.6-20-17-16.4-29.8L692.45%2017.4c3.6-12.8%2017-20%2029.8-16.4l122%2035.4c12.8%203.6%2020%2017%2016.4%2029.8L587.65%201006.6c-3.8%2012.8-17%2020.2-29.8%2016.4z%20m-228-224.4l87-92.8c9.2-9.8%208.6-25.4-1.6-34.4L234.05%20512l181.2-159.4c10.2-9%2011-24.6%201.6-34.4l-87-92.8c-9-9.6-24.2-10.2-34-1L7.65%20494.4c-10.2%209.4-10.2%2025.6%200%2035l288.2%20270.2c9.8%209.2%2025%208.8%2034-1z%20m654.4%201.2l288.2-270.2c10.2-9.4%2010.2-25.6%200-35L984.25%20224.2c-9.6-9-24.8-8.6-34%201L863.25%20318c-9.2%209.8-8.6%2025.4%201.6%2034.4L1046.05%20512l-181.2%20159.4c-10.2%209-11%2024.6-1.6%2034.4l87%2092.8c9%209.8%2024.2%2010.2%2034%201.2z'%20fill='%230157fe'%20p-id='1501'%3e%3c/path%3e%3c/svg%3e", Qs = ["title", "src"], Ks = { key: 1 }, Ys = /* @__PURE__ */ E({
|
|
508
517
|
name: "LogoWidget",
|
|
509
518
|
inheritAttrs: !1,
|
|
510
519
|
__name: "index",
|
|
@@ -513,8 +522,8 @@ const Gs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
513
522
|
text: { default: "VTJ" },
|
|
514
523
|
link: {}
|
|
515
524
|
},
|
|
516
|
-
setup(
|
|
517
|
-
const { engine: e } = ie(), t =
|
|
525
|
+
setup(i) {
|
|
526
|
+
const { engine: e } = ie(), t = i, l = S(() => t.icon || e.project.value?.config?.logo || Xs), a = () => {
|
|
518
527
|
t.link && (location.href = t.link);
|
|
519
528
|
};
|
|
520
529
|
return (o, s) => (d(), A("div", {
|
|
@@ -526,25 +535,25 @@ const Gs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
526
535
|
title: t.text,
|
|
527
536
|
class: "v-logo-widget__icon",
|
|
528
537
|
src: l.value
|
|
529
|
-
}, null, 8,
|
|
538
|
+
}, null, 8, Qs)) : (d(), A("span", Ks, z(t.text), 1))
|
|
530
539
|
]));
|
|
531
540
|
}
|
|
532
|
-
}),
|
|
541
|
+
}), Zs = { class: "v-empty-widget" }, eo = /* @__PURE__ */ E({
|
|
533
542
|
name: "EmptyWidget",
|
|
534
543
|
__name: "index",
|
|
535
|
-
setup(
|
|
536
|
-
return (e, t) => (d(), A("div",
|
|
544
|
+
setup(i) {
|
|
545
|
+
return (e, t) => (d(), A("div", Zs, "EmptyWidget"));
|
|
537
546
|
}
|
|
538
|
-
}),
|
|
547
|
+
}), to = { class: "v-switcher-widget" }, no = { key: 1 }, lo = /* @__PURE__ */ E({
|
|
539
548
|
name: "SwitcherWidget",
|
|
540
549
|
inheritAttrs: !1,
|
|
541
550
|
__name: "index",
|
|
542
551
|
emits: ["click"],
|
|
543
|
-
setup(
|
|
552
|
+
setup(i, { emit: e }) {
|
|
544
553
|
const t = e, { engine: l } = ie(), a = S(() => l.project.value?.config?.title || l.project.value?.name), o = S(() => l.project.value?.currentFile?.title), s = () => {
|
|
545
554
|
t("click", l.project.value);
|
|
546
555
|
};
|
|
547
|
-
return (r,
|
|
556
|
+
return (r, u) => (d(), A("div", to, [
|
|
548
557
|
v(n(ae), {
|
|
549
558
|
size: "small",
|
|
550
559
|
round: "",
|
|
@@ -557,24 +566,24 @@ const Gs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
557
566
|
key: 0,
|
|
558
567
|
direction: "vertical"
|
|
559
568
|
})) : j("", !0),
|
|
560
|
-
o.value ? (d(), A("span",
|
|
569
|
+
o.value ? (d(), A("span", no, z(o.value), 1)) : j("", !0)
|
|
561
570
|
]),
|
|
562
571
|
_: 1
|
|
563
572
|
})
|
|
564
573
|
]));
|
|
565
574
|
}
|
|
566
|
-
}),
|
|
575
|
+
}), ao = { class: "v-toolbar-widget" }, so = /* @__PURE__ */ E({
|
|
567
576
|
name: "ToolbarWidget",
|
|
568
577
|
inheritAttrs: !1,
|
|
569
578
|
__name: "index",
|
|
570
579
|
props: {
|
|
571
580
|
preview: { type: Boolean }
|
|
572
581
|
},
|
|
573
|
-
setup(
|
|
574
|
-
const t =
|
|
582
|
+
setup(i, { expose: e }) {
|
|
583
|
+
const t = i, { forward: l, backward: a, forwardDisabled: o, backwardDisabled: s } = Bn(), r = k("pc");
|
|
575
584
|
return e({
|
|
576
585
|
mode: r
|
|
577
|
-
}), (
|
|
586
|
+
}), (u, g) => (d(), A("div", ao, [
|
|
578
587
|
v(n(sn), {
|
|
579
588
|
size: "small",
|
|
580
589
|
modelValue: r.value,
|
|
@@ -641,14 +650,14 @@ const Gs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
641
650
|
})
|
|
642
651
|
]));
|
|
643
652
|
}
|
|
644
|
-
}),
|
|
653
|
+
}), oo = { class: "v-actions-widget" }, ro = /* @__PURE__ */ V("span", null, "发布", -1), io = /* @__PURE__ */ E({
|
|
645
654
|
name: "ActionsWidget",
|
|
646
655
|
inheritAttrs: !1,
|
|
647
656
|
__name: "index",
|
|
648
657
|
props: {
|
|
649
658
|
coder: { type: Boolean, default: !0 }
|
|
650
659
|
},
|
|
651
|
-
setup(
|
|
660
|
+
setup(i) {
|
|
652
661
|
const { engine: e, designer: t } = ke(), l = k(!1), a = () => {
|
|
653
662
|
e.current.value ? (l.value ? e.skeleton?.getWidget("Previewer")?.widgetRef.refresh() : (t.value?.setSelected(null), e.simulator.refresh()), de("刷新完成", "success")) : de("请先打开文件", "warning");
|
|
654
663
|
}, o = async () => {
|
|
@@ -666,11 +675,11 @@ const Gs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
666
675
|
}, r = () => {
|
|
667
676
|
const g = e.project.value;
|
|
668
677
|
g && (g.currentFile ? g.publish(g.currentFile) : de("请先打开文件", "warning"));
|
|
669
|
-
},
|
|
678
|
+
}, u = (g) => {
|
|
670
679
|
const p = e.project.value;
|
|
671
680
|
p && (g === "current" ? r() : p.publish());
|
|
672
681
|
};
|
|
673
|
-
return (g, p) => (d(), A("div",
|
|
682
|
+
return (g, p) => (d(), A("div", oo, [
|
|
674
683
|
j("", !0),
|
|
675
684
|
j("", !0),
|
|
676
685
|
v(n(ae), {
|
|
@@ -712,7 +721,7 @@ const Gs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
712
721
|
type: "primary",
|
|
713
722
|
size: "small",
|
|
714
723
|
onClick: r,
|
|
715
|
-
onCommand:
|
|
724
|
+
onCommand: u
|
|
716
725
|
}, {
|
|
717
726
|
dropdown: h(() => [
|
|
718
727
|
v(n(rn), null, {
|
|
@@ -734,13 +743,13 @@ const Gs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
734
743
|
})
|
|
735
744
|
]),
|
|
736
745
|
default: h(() => [
|
|
737
|
-
|
|
746
|
+
ro
|
|
738
747
|
]),
|
|
739
748
|
_: 1
|
|
740
749
|
})
|
|
741
750
|
]));
|
|
742
751
|
}
|
|
743
|
-
}),
|
|
752
|
+
}), uo = { class: "v-icon-setter" }, co = { class: "v-icon-setter__content" }, po = { class: "v-icon-setter__list" }, Rn = /* @__PURE__ */ E({
|
|
744
753
|
name: "IconSetter",
|
|
745
754
|
__name: "icon",
|
|
746
755
|
props: {
|
|
@@ -748,10 +757,10 @@ const Gs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
748
757
|
size: { default: "small" }
|
|
749
758
|
},
|
|
750
759
|
emits: ["change", "update:modelValue"],
|
|
751
|
-
setup(
|
|
752
|
-
const t =
|
|
760
|
+
setup(i, { emit: e }) {
|
|
761
|
+
const t = i, l = e, a = k(!1), o = k(t.modelValue), s = k(""), r = S(
|
|
753
762
|
() => kt[t.modelValue] || t.modelValue
|
|
754
|
-
),
|
|
763
|
+
), u = S(() => {
|
|
755
764
|
const b = Object.entries(kt);
|
|
756
765
|
return s.value ? b.filter((c) => c[0].toLowerCase().includes(s.value)) : b;
|
|
757
766
|
}), g = (b) => {
|
|
@@ -763,7 +772,7 @@ const Gs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
763
772
|
}, f = () => {
|
|
764
773
|
a.value = !0;
|
|
765
774
|
};
|
|
766
|
-
return (b, c) => (d(), A("div",
|
|
775
|
+
return (b, c) => (d(), A("div", uo, [
|
|
767
776
|
v(n(ye), {
|
|
768
777
|
size: t.size,
|
|
769
778
|
readonly: "",
|
|
@@ -802,7 +811,7 @@ const Gs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
802
811
|
})
|
|
803
812
|
]),
|
|
804
813
|
default: h(() => [
|
|
805
|
-
V("div",
|
|
814
|
+
V("div", co, [
|
|
806
815
|
v(n(ye), {
|
|
807
816
|
size: t.size,
|
|
808
817
|
"prefix-icon": n(It),
|
|
@@ -811,13 +820,13 @@ const Gs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
811
820
|
"onUpdate:modelValue": c[0] || (c[0] = (_) => s.value = _),
|
|
812
821
|
placeholder: "请输入查询关键字"
|
|
813
822
|
}, null, 8, ["size", "prefix-icon", "modelValue"]),
|
|
814
|
-
V("div",
|
|
815
|
-
(d(!0), A(T, null, N(
|
|
823
|
+
V("div", po, [
|
|
824
|
+
(d(!0), A(T, null, N(u.value, (_) => (d(), y(n(xe), {
|
|
816
825
|
icon: _[1],
|
|
817
826
|
onClick: (w) => g(_[0]),
|
|
818
827
|
class: H({ "is-active": o.value === _[0] })
|
|
819
828
|
}, null, 8, ["icon", "onClick", "class"]))), 256)),
|
|
820
|
-
|
|
829
|
+
u.value.length === 0 ? (d(), y(n(se), { key: 0 })) : j("", !0)
|
|
821
830
|
])
|
|
822
831
|
])
|
|
823
832
|
]),
|
|
@@ -825,15 +834,15 @@ const Gs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
825
834
|
}, 8, ["modelValue"])) : j("", !0)
|
|
826
835
|
]));
|
|
827
836
|
}
|
|
828
|
-
}),
|
|
837
|
+
}), mo = /* @__PURE__ */ E({
|
|
829
838
|
name: "PageForm",
|
|
830
839
|
__name: "form",
|
|
831
840
|
props: {
|
|
832
841
|
item: {},
|
|
833
842
|
parentId: {}
|
|
834
843
|
},
|
|
835
|
-
setup(
|
|
836
|
-
const e =
|
|
844
|
+
setup(i) {
|
|
845
|
+
const e = i, { project: t } = Re(), l = S(() => e.item ? "编辑页面" : "新增页面"), a = () => ({
|
|
837
846
|
dir: !1,
|
|
838
847
|
name: "",
|
|
839
848
|
title: "",
|
|
@@ -846,14 +855,14 @@ const Gs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
846
855
|
{ label: "目录", value: !0 }
|
|
847
856
|
], r = (g) => {
|
|
848
857
|
o.value && (o.value.name = fn(g));
|
|
849
|
-
},
|
|
858
|
+
}, u = async (g) => t.value?.existPageName(g.name, [g.id]) ? (ne("页面名称已存在,请更换"), !1) : (e.item ? t.value?.updatePage(g) : t.value?.createPage(g, e.parentId), !0);
|
|
850
859
|
return (g, p) => (d(), y(n(Ve), {
|
|
851
860
|
title: l.value,
|
|
852
861
|
width: "800px",
|
|
853
862
|
height: "500px",
|
|
854
863
|
"form-props": { tooltipMessage: !1 },
|
|
855
864
|
model: o.value,
|
|
856
|
-
"submit-method":
|
|
865
|
+
"submit-method": u
|
|
857
866
|
}, {
|
|
858
867
|
default: h(() => [
|
|
859
868
|
v(n(B), {
|
|
@@ -925,8 +934,8 @@ const Gs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
925
934
|
open: { type: Boolean, default: !1 }
|
|
926
935
|
},
|
|
927
936
|
emits: ["click"],
|
|
928
|
-
setup(
|
|
929
|
-
const t =
|
|
937
|
+
setup(i, { emit: e }) {
|
|
938
|
+
const t = i, l = e, a = S(() => ({
|
|
930
939
|
"is-active": t.active,
|
|
931
940
|
"is-open": t.open
|
|
932
941
|
})), o = () => {
|
|
@@ -964,14 +973,14 @@ const Gs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
964
973
|
collapsable: { type: Boolean }
|
|
965
974
|
},
|
|
966
975
|
emits: ["plus", "back", "remove", "save", "edit"],
|
|
967
|
-
setup(
|
|
968
|
-
const t =
|
|
976
|
+
setup(i, { emit: e }) {
|
|
977
|
+
const t = i, l = e, a = k(!1), o = S(() => ({
|
|
969
978
|
"is-collapsed": !!a.value
|
|
970
979
|
})), s = () => {
|
|
971
980
|
l("plus");
|
|
972
981
|
}, r = () => {
|
|
973
982
|
l("edit");
|
|
974
|
-
},
|
|
983
|
+
}, u = () => {
|
|
975
984
|
l("back");
|
|
976
985
|
}, g = () => {
|
|
977
986
|
l("remove");
|
|
@@ -981,7 +990,7 @@ const Gs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
981
990
|
content: t.title,
|
|
982
991
|
subtitle: t.subtitle,
|
|
983
992
|
icon: t.back ? ea : void 0,
|
|
984
|
-
onClickBack: t.back ?
|
|
993
|
+
onClickBack: t.back ? u : void 0,
|
|
985
994
|
onClick: t.collapsable ? () => {
|
|
986
995
|
a.value = !a.value;
|
|
987
996
|
} : void 0
|
|
@@ -1069,7 +1078,7 @@ const Gs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
1069
1078
|
} : void 0
|
|
1070
1079
|
]), 1032, ["class", "header"]));
|
|
1071
1080
|
}
|
|
1072
|
-
}),
|
|
1081
|
+
}), vo = { class: "v-tabs__header" }, go = {
|
|
1073
1082
|
key: 0,
|
|
1074
1083
|
class: "v-tabs__actions"
|
|
1075
1084
|
}, st = /* @__PURE__ */ E({
|
|
@@ -1087,33 +1096,33 @@ const Gs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
1087
1096
|
"remove",
|
|
1088
1097
|
"action-click"
|
|
1089
1098
|
],
|
|
1090
|
-
setup(
|
|
1091
|
-
const t =
|
|
1099
|
+
setup(i, { emit: e }) {
|
|
1100
|
+
const t = i, l = e, a = k(
|
|
1092
1101
|
(t.modelValue || t.items[0]?.name) ?? ""
|
|
1093
1102
|
);
|
|
1094
1103
|
q(a, () => {
|
|
1095
1104
|
l("update:modelValue", a.value);
|
|
1096
1105
|
}), q(
|
|
1097
1106
|
() => t.modelValue,
|
|
1098
|
-
(
|
|
1099
|
-
a.value =
|
|
1107
|
+
(u) => {
|
|
1108
|
+
a.value = u;
|
|
1100
1109
|
}
|
|
1101
1110
|
);
|
|
1102
|
-
const o = (
|
|
1103
|
-
l("command",
|
|
1104
|
-
}, s = (
|
|
1105
|
-
l("remove",
|
|
1106
|
-
}, r = (
|
|
1107
|
-
l("action-click",
|
|
1111
|
+
const o = (u) => {
|
|
1112
|
+
l("command", u);
|
|
1113
|
+
}, s = (u) => {
|
|
1114
|
+
l("remove", u);
|
|
1115
|
+
}, r = (u) => {
|
|
1116
|
+
l("action-click", u);
|
|
1108
1117
|
};
|
|
1109
|
-
return (
|
|
1118
|
+
return (u, g) => (d(), y(n(nt), {
|
|
1110
1119
|
class: "v-tabs",
|
|
1111
1120
|
border: !1,
|
|
1112
1121
|
fit: "",
|
|
1113
1122
|
radius: !1
|
|
1114
1123
|
}, {
|
|
1115
1124
|
header: h(() => [
|
|
1116
|
-
V("div",
|
|
1125
|
+
V("div", vo, [
|
|
1117
1126
|
v(n(Et), {
|
|
1118
1127
|
class: "v-tabs__tabs",
|
|
1119
1128
|
items: t.items,
|
|
@@ -1124,7 +1133,7 @@ const Gs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
1124
1133
|
onActionClick: r,
|
|
1125
1134
|
stretch: t.stretch
|
|
1126
1135
|
}, null, 8, ["items", "modelValue", "stretch"]),
|
|
1127
|
-
t.menus && t.menus.length ? (d(), A("div",
|
|
1136
|
+
t.menus && t.menus.length ? (d(), A("div", go, [
|
|
1128
1137
|
t.menus && t.menus.length ? (d(), y(n(he), {
|
|
1129
1138
|
key: 0,
|
|
1130
1139
|
mode: "icon",
|
|
@@ -1156,15 +1165,15 @@ const Gs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
1156
1165
|
])
|
|
1157
1166
|
]),
|
|
1158
1167
|
default: h(() => [
|
|
1159
|
-
Se(
|
|
1168
|
+
Se(u.$slots, "default")
|
|
1160
1169
|
]),
|
|
1161
1170
|
_: 3
|
|
1162
1171
|
}));
|
|
1163
1172
|
}
|
|
1164
|
-
}),
|
|
1173
|
+
}), fo = {
|
|
1165
1174
|
key: 2,
|
|
1166
1175
|
class: "v-item__index"
|
|
1167
|
-
},
|
|
1176
|
+
}, ho = { class: "v-item__content" }, ue = /* @__PURE__ */ E({
|
|
1168
1177
|
name: "VItem",
|
|
1169
1178
|
__name: "item",
|
|
1170
1179
|
props: {
|
|
@@ -1185,7 +1194,7 @@ const Gs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
1185
1194
|
small: { type: Boolean }
|
|
1186
1195
|
},
|
|
1187
1196
|
emits: ["click", "action", "update:modelValue", "switch"],
|
|
1188
|
-
setup(
|
|
1197
|
+
setup(i, { emit: e }) {
|
|
1189
1198
|
const t = {
|
|
1190
1199
|
add: {
|
|
1191
1200
|
label: "创建",
|
|
@@ -1223,7 +1232,7 @@ const Gs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
1223
1232
|
label: "主页",
|
|
1224
1233
|
icon: ra
|
|
1225
1234
|
}
|
|
1226
|
-
}, l =
|
|
1235
|
+
}, l = i, a = e, o = k(!!l.modelValue), s = S(() => l.actions.map((p) => {
|
|
1227
1236
|
const m = t[p];
|
|
1228
1237
|
return {
|
|
1229
1238
|
name: p,
|
|
@@ -1235,7 +1244,7 @@ const Gs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
1235
1244
|
"is-active": l.active,
|
|
1236
1245
|
"is-hover": l.hover,
|
|
1237
1246
|
"is-small": l.small
|
|
1238
|
-
})),
|
|
1247
|
+
})), u = () => {
|
|
1239
1248
|
a("click", l.modelValue);
|
|
1240
1249
|
}, g = async (p) => {
|
|
1241
1250
|
p === "remove" ? await Vt.confirm("确定删除吗?", "提示", {
|
|
@@ -1259,7 +1268,7 @@ const Gs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
1259
1268
|
class: H(["v-item", r.value]),
|
|
1260
1269
|
justify: "space-between",
|
|
1261
1270
|
align: "center",
|
|
1262
|
-
onClick:
|
|
1271
|
+
onClick: u
|
|
1263
1272
|
}, {
|
|
1264
1273
|
default: h(() => [
|
|
1265
1274
|
v(n(M), {
|
|
@@ -1283,8 +1292,8 @@ const Gs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
1283
1292
|
]),
|
|
1284
1293
|
_: 1
|
|
1285
1294
|
}, 8, ["type"])) : j("", !0),
|
|
1286
|
-
p.index !== void 0 ? (d(), A("span",
|
|
1287
|
-
V("span",
|
|
1295
|
+
p.index !== void 0 ? (d(), A("span", fo, " # " + z(p.index), 1)) : j("", !0),
|
|
1296
|
+
V("span", ho, z(p.title), 1),
|
|
1288
1297
|
p.subtitle ? (d(), A("span", {
|
|
1289
1298
|
key: 3,
|
|
1290
1299
|
class: H(["v-item__subtitle", l.subtitleCls])
|
|
@@ -1324,7 +1333,7 @@ const Gs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
1324
1333
|
_: 3
|
|
1325
1334
|
}, 8, ["class"]));
|
|
1326
1335
|
}
|
|
1327
|
-
}),
|
|
1336
|
+
}), bo = ["draggable"], yo = { class: "v-box__name" }, _o = { class: "v-box__label" }, St = /* @__PURE__ */ E({
|
|
1328
1337
|
name: "VBox",
|
|
1329
1338
|
__name: "box",
|
|
1330
1339
|
props: {
|
|
@@ -1337,8 +1346,8 @@ const Gs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
1337
1346
|
tagType: {}
|
|
1338
1347
|
},
|
|
1339
1348
|
emits: ["edit", "remove", "dragstart", "dragend"],
|
|
1340
|
-
setup(
|
|
1341
|
-
const t =
|
|
1349
|
+
setup(i, { emit: e }) {
|
|
1350
|
+
const t = i, l = e, a = () => {
|
|
1342
1351
|
l("edit");
|
|
1343
1352
|
}, o = async () => {
|
|
1344
1353
|
await Vt.confirm("确认删除?", "提示", {
|
|
@@ -1349,14 +1358,14 @@ const Gs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
1349
1358
|
"is-draggable": t.draggable
|
|
1350
1359
|
})), r = () => {
|
|
1351
1360
|
l("dragstart", t);
|
|
1352
|
-
},
|
|
1361
|
+
}, u = () => {
|
|
1353
1362
|
l("dragend", t);
|
|
1354
1363
|
};
|
|
1355
1364
|
return (g, p) => (d(), A("div", {
|
|
1356
1365
|
class: H(["v-box", s.value]),
|
|
1357
1366
|
draggable: g.draggable,
|
|
1358
1367
|
onDragstart: r,
|
|
1359
|
-
onDragend:
|
|
1368
|
+
onDragend: u
|
|
1360
1369
|
}, [
|
|
1361
1370
|
v(n(M), {
|
|
1362
1371
|
direction: "column",
|
|
@@ -1364,8 +1373,8 @@ const Gs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
1364
1373
|
align: "center"
|
|
1365
1374
|
}, {
|
|
1366
1375
|
default: h(() => [
|
|
1367
|
-
V("span",
|
|
1368
|
-
V("span",
|
|
1376
|
+
V("span", yo, z(t.name), 1),
|
|
1377
|
+
V("span", _o, z(t.title), 1)
|
|
1369
1378
|
]),
|
|
1370
1379
|
_: 1
|
|
1371
1380
|
}),
|
|
@@ -1391,40 +1400,40 @@ const Gs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
1391
1400
|
key: 1,
|
|
1392
1401
|
class: H(["v-box__tag", { [`is-${t.tagType}`]: !!t.tagType }])
|
|
1393
1402
|
}, z(t.tag), 3)) : j("", !0)
|
|
1394
|
-
], 42,
|
|
1403
|
+
], 42, bo));
|
|
1395
1404
|
}
|
|
1396
1405
|
});
|
|
1397
|
-
function Rt(
|
|
1398
|
-
return Un() ? (qn(
|
|
1406
|
+
function Rt(i) {
|
|
1407
|
+
return Un() ? (qn(i), !0) : !1;
|
|
1399
1408
|
}
|
|
1400
|
-
function ot(
|
|
1401
|
-
return typeof
|
|
1409
|
+
function ot(i) {
|
|
1410
|
+
return typeof i == "function" ? i() : n(i);
|
|
1402
1411
|
}
|
|
1403
1412
|
const rt = typeof window < "u" && typeof document < "u";
|
|
1404
1413
|
typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
|
|
1405
|
-
const
|
|
1406
|
-
},
|
|
1407
|
-
function
|
|
1408
|
-
var
|
|
1409
|
-
return rt && ((
|
|
1414
|
+
const wo = Object.prototype.toString, ko = (i) => wo.call(i) === "[object Object]", Ye = () => {
|
|
1415
|
+
}, So = /* @__PURE__ */ xo();
|
|
1416
|
+
function xo() {
|
|
1417
|
+
var i, e;
|
|
1418
|
+
return rt && ((i = window?.navigator) == null ? void 0 : i.userAgent) && (/iP(?:ad|hone|od)/.test(window.navigator.userAgent) || ((e = window?.navigator) == null ? void 0 : e.maxTouchPoints) > 2 && /iPad|Macintosh/.test(window?.navigator.userAgent));
|
|
1410
1419
|
}
|
|
1411
|
-
function
|
|
1420
|
+
function Co(i) {
|
|
1412
1421
|
let e;
|
|
1413
1422
|
function t() {
|
|
1414
|
-
return e || (e =
|
|
1423
|
+
return e || (e = i()), e;
|
|
1415
1424
|
}
|
|
1416
1425
|
return t.reset = async () => {
|
|
1417
1426
|
const l = e;
|
|
1418
1427
|
e = void 0, l && await l;
|
|
1419
1428
|
}, t;
|
|
1420
1429
|
}
|
|
1421
|
-
function
|
|
1430
|
+
function Vo(i) {
|
|
1422
1431
|
return Zt();
|
|
1423
1432
|
}
|
|
1424
|
-
function
|
|
1425
|
-
|
|
1433
|
+
function Ao(i, e = !0, t) {
|
|
1434
|
+
Vo() ? et(i, t) : e ? i() : we(i);
|
|
1426
1435
|
}
|
|
1427
|
-
function
|
|
1436
|
+
function jo(i, e, t = {}) {
|
|
1428
1437
|
const {
|
|
1429
1438
|
immediate: l = !0
|
|
1430
1439
|
} = t, a = k(!1);
|
|
@@ -1435,54 +1444,54 @@ function Ao(u, e, t = {}) {
|
|
|
1435
1444
|
function r() {
|
|
1436
1445
|
a.value = !1, s();
|
|
1437
1446
|
}
|
|
1438
|
-
function
|
|
1447
|
+
function u(...g) {
|
|
1439
1448
|
s(), a.value = !0, o = setTimeout(() => {
|
|
1440
|
-
a.value = !1, o = null,
|
|
1449
|
+
a.value = !1, o = null, i(...g);
|
|
1441
1450
|
}, ot(e));
|
|
1442
1451
|
}
|
|
1443
|
-
return l && (a.value = !0, rt &&
|
|
1452
|
+
return l && (a.value = !0, rt && u()), Rt(r), {
|
|
1444
1453
|
isPending: Ln(a),
|
|
1445
|
-
start:
|
|
1454
|
+
start: u,
|
|
1446
1455
|
stop: r
|
|
1447
1456
|
};
|
|
1448
1457
|
}
|
|
1449
|
-
function be(
|
|
1458
|
+
function be(i) {
|
|
1450
1459
|
var e;
|
|
1451
|
-
const t = ot(
|
|
1460
|
+
const t = ot(i);
|
|
1452
1461
|
return (e = t?.$el) != null ? e : t;
|
|
1453
1462
|
}
|
|
1454
1463
|
const it = rt ? window : void 0, $n = rt ? window.navigator : void 0;
|
|
1455
|
-
function We(...
|
|
1464
|
+
function We(...i) {
|
|
1456
1465
|
let e, t, l, a;
|
|
1457
|
-
if (typeof
|
|
1466
|
+
if (typeof i[0] == "string" || Array.isArray(i[0]) ? ([t, l, a] = i, e = it) : [e, t, l, a] = i, !e)
|
|
1458
1467
|
return Ye;
|
|
1459
1468
|
Array.isArray(t) || (t = [t]), Array.isArray(l) || (l = [l]);
|
|
1460
1469
|
const o = [], s = () => {
|
|
1461
1470
|
o.forEach((p) => p()), o.length = 0;
|
|
1462
|
-
}, r = (p, m, f, b) => (p.addEventListener(m, f, b), () => p.removeEventListener(m, f, b)),
|
|
1471
|
+
}, r = (p, m, f, b) => (p.addEventListener(m, f, b), () => p.removeEventListener(m, f, b)), u = q(
|
|
1463
1472
|
() => [be(e), ot(a)],
|
|
1464
1473
|
([p, m]) => {
|
|
1465
1474
|
if (s(), !p)
|
|
1466
1475
|
return;
|
|
1467
|
-
const f =
|
|
1476
|
+
const f = ko(m) ? { ...m } : m;
|
|
1468
1477
|
o.push(
|
|
1469
1478
|
...t.flatMap((b) => l.map((c) => r(p, b, c, f)))
|
|
1470
1479
|
);
|
|
1471
1480
|
},
|
|
1472
1481
|
{ immediate: !0, flush: "post" }
|
|
1473
1482
|
), g = () => {
|
|
1474
|
-
|
|
1483
|
+
u(), s();
|
|
1475
1484
|
};
|
|
1476
1485
|
return Rt(g), g;
|
|
1477
1486
|
}
|
|
1478
1487
|
let Xt = !1;
|
|
1479
|
-
function
|
|
1488
|
+
function Eo(i, e, t = {}) {
|
|
1480
1489
|
const { window: l = it, ignore: a = [], capture: o = !0, detectIframe: s = !1 } = t;
|
|
1481
1490
|
if (!l)
|
|
1482
1491
|
return Ye;
|
|
1483
|
-
|
|
1492
|
+
So && !Xt && (Xt = !0, Array.from(l.document.body.children).forEach((f) => f.addEventListener("click", Ye)), l.document.documentElement.addEventListener("click", Ye));
|
|
1484
1493
|
let r = !0;
|
|
1485
|
-
const
|
|
1494
|
+
const u = (f) => a.some((b) => {
|
|
1486
1495
|
if (typeof b == "string")
|
|
1487
1496
|
return Array.from(l.document.querySelectorAll(b)).some((c) => c === f.target || f.composedPath().includes(c));
|
|
1488
1497
|
{
|
|
@@ -1491,9 +1500,9 @@ function jo(u, e, t = {}) {
|
|
|
1491
1500
|
}
|
|
1492
1501
|
}), p = [
|
|
1493
1502
|
We(l, "click", (f) => {
|
|
1494
|
-
const b = be(
|
|
1503
|
+
const b = be(i);
|
|
1495
1504
|
if (!(!b || b === f.target || f.composedPath().includes(b))) {
|
|
1496
|
-
if (f.detail === 0 && (r = !
|
|
1505
|
+
if (f.detail === 0 && (r = !u(f)), !r) {
|
|
1497
1506
|
r = !0;
|
|
1498
1507
|
return;
|
|
1499
1508
|
}
|
|
@@ -1501,42 +1510,42 @@ function jo(u, e, t = {}) {
|
|
|
1501
1510
|
}
|
|
1502
1511
|
}, { passive: !0, capture: o }),
|
|
1503
1512
|
We(l, "pointerdown", (f) => {
|
|
1504
|
-
const b = be(
|
|
1505
|
-
r = !
|
|
1513
|
+
const b = be(i);
|
|
1514
|
+
r = !u(f) && !!(b && !f.composedPath().includes(b));
|
|
1506
1515
|
}, { passive: !0 }),
|
|
1507
1516
|
s && We(l, "blur", (f) => {
|
|
1508
1517
|
setTimeout(() => {
|
|
1509
1518
|
var b;
|
|
1510
|
-
const c = be(
|
|
1519
|
+
const c = be(i);
|
|
1511
1520
|
((b = l.document.activeElement) == null ? void 0 : b.tagName) === "IFRAME" && !c?.contains(l.document.activeElement) && e(f);
|
|
1512
1521
|
}, 0);
|
|
1513
1522
|
})
|
|
1514
1523
|
].filter(Boolean);
|
|
1515
1524
|
return () => p.forEach((f) => f());
|
|
1516
1525
|
}
|
|
1517
|
-
function
|
|
1518
|
-
const
|
|
1526
|
+
function Po() {
|
|
1527
|
+
const i = k(!1), e = Zt();
|
|
1519
1528
|
return e && et(() => {
|
|
1520
|
-
|
|
1521
|
-
}, e),
|
|
1529
|
+
i.value = !0;
|
|
1530
|
+
}, e), i;
|
|
1522
1531
|
}
|
|
1523
|
-
function $t(
|
|
1524
|
-
const e =
|
|
1525
|
-
return S(() => (e.value, !!
|
|
1532
|
+
function $t(i) {
|
|
1533
|
+
const e = Po();
|
|
1534
|
+
return S(() => (e.value, !!i()));
|
|
1526
1535
|
}
|
|
1527
|
-
function Qt(
|
|
1536
|
+
function Qt(i, e = {}) {
|
|
1528
1537
|
const {
|
|
1529
1538
|
controls: t = !1,
|
|
1530
1539
|
navigator: l = $n
|
|
1531
1540
|
} = e, a = $t(() => l && "permissions" in l);
|
|
1532
1541
|
let o;
|
|
1533
|
-
const s = typeof
|
|
1542
|
+
const s = typeof i == "string" ? { name: i } : i, r = k(), u = () => {
|
|
1534
1543
|
o && (r.value = o.state);
|
|
1535
|
-
}, g =
|
|
1544
|
+
}, g = Co(async () => {
|
|
1536
1545
|
if (a.value) {
|
|
1537
1546
|
if (!o)
|
|
1538
1547
|
try {
|
|
1539
|
-
o = await l.permissions.query(s), We(o, "change",
|
|
1548
|
+
o = await l.permissions.query(s), We(o, "change", u), u();
|
|
1540
1549
|
} catch {
|
|
1541
1550
|
r.value = "prompt";
|
|
1542
1551
|
}
|
|
@@ -1549,14 +1558,14 @@ function Qt(u, e = {}) {
|
|
|
1549
1558
|
query: g
|
|
1550
1559
|
} : r;
|
|
1551
1560
|
}
|
|
1552
|
-
function
|
|
1561
|
+
function Do(i = {}) {
|
|
1553
1562
|
const {
|
|
1554
1563
|
navigator: e = $n,
|
|
1555
1564
|
read: t = !1,
|
|
1556
1565
|
source: l,
|
|
1557
1566
|
copiedDuring: a = 1500,
|
|
1558
1567
|
legacy: o = !1
|
|
1559
|
-
} =
|
|
1568
|
+
} = i, s = $t(() => e && "clipboard" in e), r = Qt("clipboard-read"), u = Qt("clipboard-write"), g = S(() => s.value || o), p = k(""), m = k(!1), f = jo(() => m.value = !1, a);
|
|
1560
1569
|
function b() {
|
|
1561
1570
|
s.value && x(r.value) ? e.clipboard.readText().then((C) => {
|
|
1562
1571
|
p.value = C;
|
|
@@ -1564,7 +1573,7 @@ function Po(u = {}) {
|
|
|
1564
1573
|
}
|
|
1565
1574
|
g.value && t && We(["copy", "cut"], b);
|
|
1566
1575
|
async function c(C = ot(l)) {
|
|
1567
|
-
g.value && C != null && (s.value && x(
|
|
1576
|
+
g.value && C != null && (s.value && x(u.value) ? await e.clipboard.writeText(C) : _(C), p.value = C, m.value = !0, f.start());
|
|
1568
1577
|
}
|
|
1569
1578
|
function _(C) {
|
|
1570
1579
|
const I = document.createElement("textarea");
|
|
@@ -1584,13 +1593,13 @@ function Po(u = {}) {
|
|
|
1584
1593
|
copy: c
|
|
1585
1594
|
};
|
|
1586
1595
|
}
|
|
1587
|
-
function
|
|
1596
|
+
function Io(i, e, t = {}) {
|
|
1588
1597
|
const { window: l = it, ...a } = t;
|
|
1589
1598
|
let o;
|
|
1590
1599
|
const s = $t(() => l && "ResizeObserver" in l), r = () => {
|
|
1591
1600
|
o && (o.disconnect(), o = void 0);
|
|
1592
|
-
},
|
|
1593
|
-
|
|
1601
|
+
}, u = S(() => Array.isArray(i) ? i.map((m) => be(m)) : [be(i)]), g = q(
|
|
1602
|
+
u,
|
|
1594
1603
|
(m) => {
|
|
1595
1604
|
if (r(), s.value && l) {
|
|
1596
1605
|
o = new ResizeObserver(e);
|
|
@@ -1607,16 +1616,16 @@ function Do(u, e, t = {}) {
|
|
|
1607
1616
|
stop: p
|
|
1608
1617
|
};
|
|
1609
1618
|
}
|
|
1610
|
-
function Ue(
|
|
1619
|
+
function Ue(i, e = { width: 0, height: 0 }, t = {}) {
|
|
1611
1620
|
const { window: l = it, box: a = "content-box" } = t, o = S(() => {
|
|
1612
1621
|
var m, f;
|
|
1613
|
-
return (f = (m = be(
|
|
1614
|
-
}), s = k(e.width), r = k(e.height), { stop:
|
|
1615
|
-
|
|
1622
|
+
return (f = (m = be(i)) == null ? void 0 : m.namespaceURI) == null ? void 0 : f.includes("svg");
|
|
1623
|
+
}), s = k(e.width), r = k(e.height), { stop: u } = Io(
|
|
1624
|
+
i,
|
|
1616
1625
|
([m]) => {
|
|
1617
1626
|
const f = a === "border-box" ? m.borderBoxSize : a === "content-box" ? m.contentBoxSize : m.devicePixelContentBoxSize;
|
|
1618
1627
|
if (l && o.value) {
|
|
1619
|
-
const b = be(
|
|
1628
|
+
const b = be(i);
|
|
1620
1629
|
if (b) {
|
|
1621
1630
|
const c = b.getBoundingClientRect();
|
|
1622
1631
|
s.value = c.width, r.value = c.height;
|
|
@@ -1629,18 +1638,18 @@ function Ue(u, e = { width: 0, height: 0 }, t = {}) {
|
|
|
1629
1638
|
},
|
|
1630
1639
|
t
|
|
1631
1640
|
);
|
|
1632
|
-
|
|
1633
|
-
const m = be(
|
|
1641
|
+
Ao(() => {
|
|
1642
|
+
const m = be(i);
|
|
1634
1643
|
m && (s.value = "offsetWidth" in m ? m.offsetWidth : e.width, r.value = "offsetHeight" in m ? m.offsetHeight : e.height);
|
|
1635
1644
|
});
|
|
1636
1645
|
const g = q(
|
|
1637
|
-
() => be(
|
|
1646
|
+
() => be(i),
|
|
1638
1647
|
(m) => {
|
|
1639
1648
|
s.value = m ? e.width : 0, r.value = m ? e.height : 0;
|
|
1640
1649
|
}
|
|
1641
1650
|
);
|
|
1642
1651
|
function p() {
|
|
1643
|
-
|
|
1652
|
+
u(), g();
|
|
1644
1653
|
}
|
|
1645
1654
|
return {
|
|
1646
1655
|
width: s,
|
|
@@ -1648,14 +1657,14 @@ function Ue(u, e = { width: 0, height: 0 }, t = {}) {
|
|
|
1648
1657
|
stop: p
|
|
1649
1658
|
};
|
|
1650
1659
|
}
|
|
1651
|
-
const
|
|
1660
|
+
const Bo = { class: "v-context-viewer" }, Ro = /* @__PURE__ */ E({
|
|
1652
1661
|
__name: "viewer",
|
|
1653
1662
|
props: {
|
|
1654
1663
|
context: {}
|
|
1655
1664
|
},
|
|
1656
1665
|
emits: ["pick", "copy"],
|
|
1657
|
-
setup(
|
|
1658
|
-
const t =
|
|
1666
|
+
setup(i, { emit: e }) {
|
|
1667
|
+
const t = i, l = e, a = ["$provider", "$apis", "$components", "context"], o = (p) => {
|
|
1659
1668
|
const m = p.value, f = ut(m);
|
|
1660
1669
|
return f === "Object" || f === "Module" ? Object.keys(m || {}).length === 0 : f === "Array" ? m.length === 0 : !0;
|
|
1661
1670
|
}, s = (p, m = "this") => typeof p == "object" ? Array.isArray(p) ? p.map((b, c) => {
|
|
@@ -1666,7 +1675,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
1666
1675
|
type: ut(b),
|
|
1667
1676
|
path: `${m}${_}`
|
|
1668
1677
|
};
|
|
1669
|
-
}) :
|
|
1678
|
+
}) : Ms(p).map((b) => {
|
|
1670
1679
|
const c = p[b];
|
|
1671
1680
|
return {
|
|
1672
1681
|
label: b,
|
|
@@ -1683,12 +1692,12 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
1683
1692
|
const f = Hn(p.data.value);
|
|
1684
1693
|
m(s(f, p.data.path));
|
|
1685
1694
|
}
|
|
1686
|
-
},
|
|
1695
|
+
}, u = (p) => {
|
|
1687
1696
|
l("copy", p.path);
|
|
1688
1697
|
}, g = (p) => {
|
|
1689
1698
|
l("pick", p.path);
|
|
1690
1699
|
};
|
|
1691
|
-
return (p, m) => (d(), A("div",
|
|
1700
|
+
return (p, m) => (d(), A("div", Bo, [
|
|
1692
1701
|
p.context ? (d(), y(n(jt), {
|
|
1693
1702
|
key: 0,
|
|
1694
1703
|
lazy: "",
|
|
@@ -1705,7 +1714,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
1705
1714
|
onClick: (b) => g(f),
|
|
1706
1715
|
background: "",
|
|
1707
1716
|
actions: ["copy"],
|
|
1708
|
-
onAction: (b) =>
|
|
1717
|
+
onAction: (b) => u(f),
|
|
1709
1718
|
grow: "",
|
|
1710
1719
|
small: ""
|
|
1711
1720
|
}, null, 8, ["title", "subtitle", "subtitle-cls", "onClick", "onAction"])
|
|
@@ -1734,8 +1743,8 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
1734
1743
|
"update:modelValue",
|
|
1735
1744
|
"close"
|
|
1736
1745
|
],
|
|
1737
|
-
setup(
|
|
1738
|
-
const t =
|
|
1746
|
+
setup(i, { emit: e }) {
|
|
1747
|
+
const t = i, l = e, { searchResult: a, keyword: o } = Ns(t.block, t.context), { copy: s } = Do({}), r = [
|
|
1739
1748
|
{
|
|
1740
1749
|
name: "normal",
|
|
1741
1750
|
label: "常用"
|
|
@@ -1744,7 +1753,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
1744
1753
|
name: "viewer",
|
|
1745
1754
|
label: "高级"
|
|
1746
1755
|
}
|
|
1747
|
-
],
|
|
1756
|
+
], u = k("normal"), g = k(), p = async (x) => {
|
|
1748
1757
|
l("submit", x), t.submitMethod ? await t.submitMethod(x) && m() : m();
|
|
1749
1758
|
}, m = () => {
|
|
1750
1759
|
l("update:modelValue", !1), l("close");
|
|
@@ -1788,8 +1797,8 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
1788
1797
|
v(st, {
|
|
1789
1798
|
class: "v-binder__tabs",
|
|
1790
1799
|
items: r,
|
|
1791
|
-
modelValue:
|
|
1792
|
-
"onUpdate:modelValue": C[1] || (C[1] = (I) =>
|
|
1800
|
+
modelValue: u.value,
|
|
1801
|
+
"onUpdate:modelValue": C[1] || (C[1] = (I) => u.value = I)
|
|
1793
1802
|
}, {
|
|
1794
1803
|
default: h(() => [
|
|
1795
1804
|
v(n(M), {
|
|
@@ -1826,14 +1835,14 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
1826
1835
|
]))), 256)),
|
|
1827
1836
|
n(a).length ? j("", !0) : (d(), y(n(se), { key: 0 }))
|
|
1828
1837
|
], 512), [
|
|
1829
|
-
[Ie,
|
|
1838
|
+
[Ie, u.value === "normal"]
|
|
1830
1839
|
]),
|
|
1831
|
-
Ee(v(
|
|
1840
|
+
Ee(v(Ro, {
|
|
1832
1841
|
context: t.context,
|
|
1833
1842
|
onCopy: w,
|
|
1834
1843
|
onPick: _
|
|
1835
1844
|
}, null, 8, ["context"]), [
|
|
1836
|
-
[Ie,
|
|
1845
|
+
[Ie, u.value === "viewer"]
|
|
1837
1846
|
])
|
|
1838
1847
|
]),
|
|
1839
1848
|
_: 1
|
|
@@ -1924,19 +1933,19 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
1924
1933
|
_: 3
|
|
1925
1934
|
}, 8, ["model-value", "title"]));
|
|
1926
1935
|
}
|
|
1927
|
-
}),
|
|
1936
|
+
}), $o = { class: "v-slots-picker__sn" }, To = /* @__PURE__ */ E({
|
|
1928
1937
|
__name: "slots",
|
|
1929
1938
|
props: {
|
|
1930
1939
|
slots: { default: () => [] }
|
|
1931
1940
|
},
|
|
1932
1941
|
emits: ["submit", "update:modelValue"],
|
|
1933
|
-
setup(
|
|
1934
|
-
const t =
|
|
1935
|
-
a.value =
|
|
1942
|
+
setup(i, { emit: e }) {
|
|
1943
|
+
const t = i, l = e, a = k(), o = S(() => `${50 * Math.ceil(t.slots.length / 4) + 180}px`), s = (u) => {
|
|
1944
|
+
a.value = u;
|
|
1936
1945
|
}, r = () => {
|
|
1937
1946
|
a.value ? (l("submit", a.value), l("update:modelValue", !1)) : ne("请选择插槽");
|
|
1938
1947
|
};
|
|
1939
|
-
return (
|
|
1948
|
+
return (u, g) => (d(), y(n(Be), re({
|
|
1940
1949
|
class: "v-slots-picker",
|
|
1941
1950
|
title: "选择插槽",
|
|
1942
1951
|
width: "600px",
|
|
@@ -1944,7 +1953,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
1944
1953
|
submit: "",
|
|
1945
1954
|
cancel: "",
|
|
1946
1955
|
onSubmit: r
|
|
1947
|
-
},
|
|
1956
|
+
}, u.$attrs), {
|
|
1948
1957
|
default: h(() => [
|
|
1949
1958
|
v(n(dn), {
|
|
1950
1959
|
title: "该组件支持多个插槽,请选择放置到其中一个",
|
|
@@ -1966,7 +1975,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
1966
1975
|
onClick: (f) => s(p)
|
|
1967
1976
|
}, {
|
|
1968
1977
|
default: h(() => [
|
|
1969
|
-
V("span",
|
|
1978
|
+
V("span", $o, "#" + z(m + 1), 1),
|
|
1970
1979
|
G(" " + z(p.name), 1)
|
|
1971
1980
|
]),
|
|
1972
1981
|
_: 2
|
|
@@ -1986,11 +1995,11 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
1986
1995
|
width: {},
|
|
1987
1996
|
height: {}
|
|
1988
1997
|
},
|
|
1989
|
-
setup(
|
|
1990
|
-
const e =
|
|
1998
|
+
setup(i) {
|
|
1999
|
+
const e = i, t = S(() => [`is-${e.mode}`]), l = S(() => {
|
|
1991
2000
|
if (e.mode === "pc") return 1;
|
|
1992
|
-
const o = e.mode === "mobile" ? Ut : qt, { width: s, height: r } = o,
|
|
1993
|
-
return Math.min(
|
|
2001
|
+
const o = e.mode === "mobile" ? Ut : qt, { width: s, height: r } = o, u = s > 0 ? (e.width || 0) / s : 1, g = r > 0 ? (e.height || 0) / r : 1;
|
|
2002
|
+
return Math.min(u, g);
|
|
1994
2003
|
}), a = S(() => {
|
|
1995
2004
|
if (e.mode === "pc") return {};
|
|
1996
2005
|
const o = e.mode === "mobile" ? Ut : qt, { width: s, height: r } = o;
|
|
@@ -2009,11 +2018,11 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
2009
2018
|
Se(o.$slots, "default")
|
|
2010
2019
|
], 6));
|
|
2011
2020
|
}
|
|
2012
|
-
}),
|
|
2021
|
+
}), zo = /* @__PURE__ */ E({
|
|
2013
2022
|
name: "PagesWidget",
|
|
2014
2023
|
__name: "index",
|
|
2015
|
-
setup(
|
|
2016
|
-
const { project: e, engine: t } = Re(), l = S(() => e.value?.pages || []), { current: a } = ie(), o = k(!1), s = k(), r = k(),
|
|
2024
|
+
setup(i) {
|
|
2025
|
+
const { project: e, engine: t } = Re(), l = S(() => e.value?.pages || []), { current: a } = ie(), o = k(!1), s = k(), r = k(), u = () => {
|
|
2017
2026
|
r.value = void 0, s.value = void 0, o.value = !0;
|
|
2018
2027
|
}, g = async (b) => {
|
|
2019
2028
|
const { name: c, modelValue: _ } = b, { data: w, node: x } = _;
|
|
@@ -2044,7 +2053,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
2044
2053
|
title: "页面管理",
|
|
2045
2054
|
plus: "",
|
|
2046
2055
|
subtitle: "(共 0 条)",
|
|
2047
|
-
onPlus:
|
|
2056
|
+
onPlus: u
|
|
2048
2057
|
}, {
|
|
2049
2058
|
default: h(() => [
|
|
2050
2059
|
v(n(jt), {
|
|
@@ -2076,7 +2085,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
2076
2085
|
]),
|
|
2077
2086
|
_: 1
|
|
2078
2087
|
}, 8, ["data"]),
|
|
2079
|
-
o.value ? (d(), y(
|
|
2088
|
+
o.value ? (d(), y(mo, {
|
|
2080
2089
|
key: 0,
|
|
2081
2090
|
modelValue: o.value,
|
|
2082
2091
|
"onUpdate:modelValue": c[0] || (c[0] = (_) => o.value = _),
|
|
@@ -2087,7 +2096,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
2087
2096
|
_: 1
|
|
2088
2097
|
}));
|
|
2089
2098
|
}
|
|
2090
|
-
}),
|
|
2099
|
+
}), Oo = { class: "v-file-setter" }, zt = /* @__PURE__ */ E({
|
|
2091
2100
|
name: "FileSetter",
|
|
2092
2101
|
__name: "file",
|
|
2093
2102
|
props: {
|
|
@@ -2095,14 +2104,14 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
2095
2104
|
attachment: {}
|
|
2096
2105
|
},
|
|
2097
2106
|
emits: ["change", "update:modelValue"],
|
|
2098
|
-
setup(
|
|
2099
|
-
const t =
|
|
2107
|
+
setup(i, { emit: e }) {
|
|
2108
|
+
const t = i, l = e, { engine: a, project: o } = Re(), s = k([]), r = k(!1), u = (C) => Array.isArray(C) ? C.map((I) => ({
|
|
2100
2109
|
name: I.filename,
|
|
2101
2110
|
url: I.filepath
|
|
2102
2111
|
})) : C ? { name: C.filename, url: C.filepath } : null, g = async (C) => {
|
|
2103
2112
|
if (a && o.value) {
|
|
2104
2113
|
const I = await a.service.uploadStaticFile(C, o.value.id);
|
|
2105
|
-
return
|
|
2114
|
+
return u(I);
|
|
2106
2115
|
}
|
|
2107
2116
|
return null;
|
|
2108
2117
|
}, p = (C) => C ? (C || "").split(",").map((O) => ({ url: O })) : [], m = k(
|
|
@@ -2116,7 +2125,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
2116
2125
|
), q(r, async (C) => {
|
|
2117
2126
|
if (C) {
|
|
2118
2127
|
const I = await a.service.getStaticFiles(o.value?.id).catch(() => null);
|
|
2119
|
-
s.value =
|
|
2128
|
+
s.value = u(I);
|
|
2120
2129
|
}
|
|
2121
2130
|
});
|
|
2122
2131
|
const b = () => {
|
|
@@ -2136,7 +2145,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
2136
2145
|
}, x = (C) => {
|
|
2137
2146
|
C.name && o.value?.id && a.service.removeStaticFile(C.name, o.value?.id);
|
|
2138
2147
|
};
|
|
2139
|
-
return (C, I) => (d(), A("div",
|
|
2148
|
+
return (C, I) => (d(), A("div", Oo, [
|
|
2140
2149
|
v(n(ye), re({
|
|
2141
2150
|
readonly: "",
|
|
2142
2151
|
onFocus: w,
|
|
@@ -2181,10 +2190,10 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
2181
2190
|
}, 8, ["modelValue"])) : j("", !0)
|
|
2182
2191
|
]));
|
|
2183
2192
|
}
|
|
2184
|
-
}),
|
|
2193
|
+
}), Fo = /* @__PURE__ */ E({
|
|
2185
2194
|
name: "BlocksWidget",
|
|
2186
2195
|
__name: "index",
|
|
2187
|
-
setup(
|
|
2196
|
+
setup(i) {
|
|
2188
2197
|
const { span: e } = In(), { blocks: t, engine: l } = Rs(), a = [
|
|
2189
2198
|
{
|
|
2190
2199
|
label: "设计",
|
|
@@ -2214,7 +2223,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
2214
2223
|
label: "插件",
|
|
2215
2224
|
type: "danger"
|
|
2216
2225
|
}
|
|
2217
|
-
}, s = k(void 0), { current: r } = ie(),
|
|
2226
|
+
}, s = k(void 0), { current: r } = ie(), u = k(!1), g = S(() => s.value?.id ? "编辑区块" : "新增区块"), p = S(() => `(共 ${t.value.length} 个)`), m = () => ({
|
|
2218
2227
|
fromType: "Schema",
|
|
2219
2228
|
name: "",
|
|
2220
2229
|
title: "",
|
|
@@ -2240,9 +2249,9 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
2240
2249
|
return ne(`名称【${R.name}】已经存在,请更换名称`), !1;
|
|
2241
2250
|
return !0;
|
|
2242
2251
|
}, _ = () => {
|
|
2243
|
-
s.value = m(),
|
|
2252
|
+
s.value = m(), u.value = !0;
|
|
2244
2253
|
}, w = (D) => {
|
|
2245
|
-
s.value = lt(D),
|
|
2254
|
+
s.value = lt(D), u.value = !0;
|
|
2246
2255
|
}, x = (D) => {
|
|
2247
2256
|
l.project.value?.removeBlock(D.id);
|
|
2248
2257
|
}, C = (D) => {
|
|
@@ -2296,8 +2305,8 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
2296
2305
|
}),
|
|
2297
2306
|
n(t).length ? j("", !0) : (d(), y(n(se), { key: 0 })),
|
|
2298
2307
|
v(n(Ve), {
|
|
2299
|
-
modelValue:
|
|
2300
|
-
"onUpdate:modelValue": R[0] || (R[0] = (P) =>
|
|
2308
|
+
modelValue: u.value,
|
|
2309
|
+
"onUpdate:modelValue": R[0] || (R[0] = (P) => u.value = P),
|
|
2301
2310
|
title: g.value,
|
|
2302
2311
|
model: s.value,
|
|
2303
2312
|
width: "600px",
|
|
@@ -2351,14 +2360,14 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
2351
2360
|
_: 1
|
|
2352
2361
|
}, 8, ["subtitle"]));
|
|
2353
2362
|
}
|
|
2354
|
-
}),
|
|
2363
|
+
}), No = { class: "v-components-widget__search" }, Wo = {
|
|
2355
2364
|
key: 0,
|
|
2356
2365
|
class: "v-components-widget__result"
|
|
2357
|
-
},
|
|
2366
|
+
}, Jo = { class: "v-components-widget__list" }, Mo = /* @__PURE__ */ E({
|
|
2358
2367
|
name: "ComponentsWidget",
|
|
2359
2368
|
__name: "index",
|
|
2360
|
-
setup(
|
|
2361
|
-
const { span: e, engine: t } = In(), { tabs: l, currentTab: a, currentGroup: o, model: s, searchKey: r, searchResult:
|
|
2369
|
+
setup(i) {
|
|
2370
|
+
const { span: e, engine: t } = In(), { tabs: l, currentTab: a, currentGroup: o, model: s, searchKey: r, searchResult: u } = Ts(), g = (m) => {
|
|
2362
2371
|
const f = t.skeleton?.getWidget("Designer")?.widgetRef?.designer;
|
|
2363
2372
|
f && f.setDragging(m);
|
|
2364
2373
|
}, p = () => {
|
|
@@ -2371,7 +2380,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
2371
2380
|
body: { flex: !0, direction: "column" }
|
|
2372
2381
|
}, {
|
|
2373
2382
|
default: h(() => [
|
|
2374
|
-
V("div",
|
|
2383
|
+
V("div", No, [
|
|
2375
2384
|
v(n(ye), {
|
|
2376
2385
|
modelValue: n(r),
|
|
2377
2386
|
"onUpdate:modelValue": f[0] || (f[0] = (b) => mt(r) ? r.value = b : null),
|
|
@@ -2385,13 +2394,13 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
2385
2394
|
_: 1
|
|
2386
2395
|
}, 8, ["modelValue"])
|
|
2387
2396
|
]),
|
|
2388
|
-
n(r) ? (d(), A("div",
|
|
2397
|
+
n(r) ? (d(), A("div", Wo, [
|
|
2389
2398
|
v(n(ht), {
|
|
2390
2399
|
wrap: "wrap",
|
|
2391
2400
|
gutter: 5
|
|
2392
2401
|
}, {
|
|
2393
2402
|
default: h(() => [
|
|
2394
|
-
(d(!0), A(T, null, N(n(
|
|
2403
|
+
(d(!0), A(T, null, N(n(u), (b) => (d(), y(n(bt), {
|
|
2395
2404
|
span: n(e),
|
|
2396
2405
|
key: b.name
|
|
2397
2406
|
}, {
|
|
@@ -2409,7 +2418,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
2409
2418
|
]),
|
|
2410
2419
|
_: 1
|
|
2411
2420
|
}),
|
|
2412
|
-
n(
|
|
2421
|
+
n(u).length ? j("", !0) : (d(), y(n(se), { key: 0 }))
|
|
2413
2422
|
])) : (d(), y(n(Et), {
|
|
2414
2423
|
key: 1,
|
|
2415
2424
|
items: n(l),
|
|
@@ -2417,7 +2426,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
2417
2426
|
"onUpdate:modelValue": f[2] || (f[2] = (b) => mt(a) ? a.value = b : null)
|
|
2418
2427
|
}, {
|
|
2419
2428
|
default: h(() => [
|
|
2420
|
-
V("div",
|
|
2429
|
+
V("div", Jo, [
|
|
2421
2430
|
n(o) ? (d(), y(n(Zn), {
|
|
2422
2431
|
key: 0,
|
|
2423
2432
|
modelValue: n(s)[n(a)],
|
|
@@ -2468,10 +2477,10 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
2468
2477
|
_: 1
|
|
2469
2478
|
}));
|
|
2470
2479
|
}
|
|
2471
|
-
}),
|
|
2480
|
+
}), Lo = /* @__PURE__ */ E({
|
|
2472
2481
|
name: "OutlineWidget",
|
|
2473
2482
|
__name: "index",
|
|
2474
|
-
setup(
|
|
2483
|
+
setup(i) {
|
|
2475
2484
|
const { engine: e, designer: t, selected: l } = ke(), { current: a } = ie(), o = k([]), s = (D, R) => {
|
|
2476
2485
|
if (R === "slot") return [];
|
|
2477
2486
|
if (ee(D))
|
|
@@ -2480,7 +2489,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
2480
2489
|
return P && (P.locked || P.invisible) ? [] : a.value?.locked ? [] : D.locked ? ["unlock"] : D.invisible ? ["visible"] : ["lock", "invisible", "copy", "remove"];
|
|
2481
2490
|
}, r = (D, R) => {
|
|
2482
2491
|
const P = {};
|
|
2483
|
-
if (!D.some((F) => F.slot)) return
|
|
2492
|
+
if (!D.some((F) => F.slot)) return u(D);
|
|
2484
2493
|
for (const F of D) {
|
|
2485
2494
|
const L = F.slot?.name || "default";
|
|
2486
2495
|
P[L] || (P[L] = []), P[L].push(F);
|
|
@@ -2493,10 +2502,10 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
2493
2502
|
type: "slot",
|
|
2494
2503
|
model: R,
|
|
2495
2504
|
disabled: !0,
|
|
2496
|
-
children:
|
|
2505
|
+
children: u(L)
|
|
2497
2506
|
});
|
|
2498
2507
|
return pe;
|
|
2499
|
-
},
|
|
2508
|
+
}, u = (D) => {
|
|
2500
2509
|
const R = [];
|
|
2501
2510
|
return D.forEach((P) => {
|
|
2502
2511
|
const X = {
|
|
@@ -2517,7 +2526,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
2517
2526
|
label: R,
|
|
2518
2527
|
type: D,
|
|
2519
2528
|
model: a.value,
|
|
2520
|
-
children:
|
|
2529
|
+
children: u(P)
|
|
2521
2530
|
}
|
|
2522
2531
|
];
|
|
2523
2532
|
}, p = async () => {
|
|
@@ -2668,16 +2677,16 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
2668
2677
|
_: 1
|
|
2669
2678
|
}));
|
|
2670
2679
|
}
|
|
2671
|
-
}),
|
|
2680
|
+
}), Uo = /* @__PURE__ */ E({
|
|
2672
2681
|
name: "HistoryWidget",
|
|
2673
2682
|
__name: "index",
|
|
2674
|
-
setup(
|
|
2683
|
+
setup(i) {
|
|
2675
2684
|
const { history: e, load: t, total: l } = Bn(), a = S(() => `(共 ${l.value} 条)`), o = (r) => {
|
|
2676
2685
|
r.name === "remove" && e.value?.remove(r.modelValue.id);
|
|
2677
2686
|
}, s = async () => {
|
|
2678
2687
|
await Oe("确定要清空历史记录吗?") && e.value?.clear();
|
|
2679
2688
|
};
|
|
2680
|
-
return (r,
|
|
2689
|
+
return (r, u) => (d(), y(n(U), {
|
|
2681
2690
|
class: "v-history-widget",
|
|
2682
2691
|
title: "历史记录",
|
|
2683
2692
|
subtitle: a.value,
|
|
@@ -2704,9 +2713,9 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
2704
2713
|
_: 1
|
|
2705
2714
|
}, 8, ["subtitle", "remove"]));
|
|
2706
2715
|
}
|
|
2707
|
-
}),
|
|
2716
|
+
}), qo = /* @__PURE__ */ E({
|
|
2708
2717
|
__name: "base-info",
|
|
2709
|
-
setup(
|
|
2718
|
+
setup(i) {
|
|
2710
2719
|
const e = Ds.map((t) => ({
|
|
2711
2720
|
label: t,
|
|
2712
2721
|
value: t.toLowerCase()
|
|
@@ -2749,9 +2758,9 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
2749
2758
|
return Te("div", "组件加载失败!");
|
|
2750
2759
|
}
|
|
2751
2760
|
})
|
|
2752
|
-
}),
|
|
2761
|
+
}), Ho = /* @__PURE__ */ E({
|
|
2753
2762
|
__name: "request-settings",
|
|
2754
|
-
setup(
|
|
2763
|
+
setup(i) {
|
|
2755
2764
|
const e = [
|
|
2756
2765
|
{
|
|
2757
2766
|
label: "表单",
|
|
@@ -2828,9 +2837,9 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
2828
2837
|
})
|
|
2829
2838
|
]));
|
|
2830
2839
|
}
|
|
2831
|
-
}),
|
|
2840
|
+
}), Go = /* @__PURE__ */ E({
|
|
2832
2841
|
__name: "jsonp-options",
|
|
2833
|
-
setup(
|
|
2842
|
+
setup(i) {
|
|
2834
2843
|
return (e, t) => (d(), A("div", null, [
|
|
2835
2844
|
v(n(B), {
|
|
2836
2845
|
name: "jsonpOptions.jsonpCallback",
|
|
@@ -2856,9 +2865,9 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
2856
2865
|
})
|
|
2857
2866
|
]));
|
|
2858
2867
|
}
|
|
2859
|
-
}),
|
|
2868
|
+
}), Xo = /* @__PURE__ */ V("span", null, "模拟数据模板", -1), Qo = /* @__PURE__ */ E({
|
|
2860
2869
|
__name: "mock-template",
|
|
2861
|
-
setup(
|
|
2870
|
+
setup(i) {
|
|
2862
2871
|
const e = xt("currentModel", null), { project: t } = Re(), l = S(() => t.value?.config || {}), a = () => {
|
|
2863
2872
|
window.open("https://vtj.pro/help/mock.html");
|
|
2864
2873
|
};
|
|
@@ -2879,7 +2888,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
2879
2888
|
}, null, 8, ["disabled"]),
|
|
2880
2889
|
v(n(M), { justify: "space-between" }, {
|
|
2881
2890
|
default: h(() => [
|
|
2882
|
-
|
|
2891
|
+
Xo,
|
|
2883
2892
|
v(n(he), {
|
|
2884
2893
|
icon: n(jn),
|
|
2885
2894
|
mode: "text",
|
|
@@ -2909,14 +2918,14 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
2909
2918
|
})
|
|
2910
2919
|
]));
|
|
2911
2920
|
}
|
|
2912
|
-
}),
|
|
2921
|
+
}), Ko = { key: 0 }, Yo = /* @__PURE__ */ E({
|
|
2913
2922
|
__name: "form",
|
|
2914
2923
|
props: {
|
|
2915
2924
|
model: {},
|
|
2916
2925
|
project: {}
|
|
2917
2926
|
},
|
|
2918
|
-
setup(
|
|
2919
|
-
const e =
|
|
2927
|
+
setup(i) {
|
|
2928
|
+
const e = i, t = S(() => e.model ? "编辑API" : "新增API"), l = k("base"), a = k(), o = k(), s = k(e.model || {}), r = k(!1), u = k(""), g = [
|
|
2920
2929
|
{
|
|
2921
2930
|
label: "基础信息",
|
|
2922
2931
|
value: "base"
|
|
@@ -2964,7 +2973,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
2964
2973
|
type: x
|
|
2965
2974
|
})
|
|
2966
2975
|
);
|
|
2967
|
-
|
|
2976
|
+
u.value = JSON.stringify(C, null, 2), r.value = !0;
|
|
2968
2977
|
}
|
|
2969
2978
|
};
|
|
2970
2979
|
return (_, w) => (d(), y(n(Be), {
|
|
@@ -3049,13 +3058,13 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
3049
3058
|
submitMethod: b
|
|
3050
3059
|
}, {
|
|
3051
3060
|
default: h(() => [
|
|
3052
|
-
Ee(v(
|
|
3061
|
+
Ee(v(qo, null, null, 512), [
|
|
3053
3062
|
[Ie, l.value === "base"]
|
|
3054
3063
|
]),
|
|
3055
|
-
l.value === "settings" ? (d(), A("div",
|
|
3056
|
-
p.value ? (d(), y(
|
|
3064
|
+
l.value === "settings" ? (d(), A("div", Ko, [
|
|
3065
|
+
p.value ? (d(), y(Go, { key: 0 })) : (d(), y(Ho, { key: 1 }))
|
|
3057
3066
|
])) : j("", !0),
|
|
3058
|
-
l.value === "mock" ? (d(), y(
|
|
3067
|
+
l.value === "mock" ? (d(), y(Qo, { key: 1 })) : j("", !0)
|
|
3059
3068
|
]),
|
|
3060
3069
|
_: 1
|
|
3061
3070
|
}, 8, ["model"])
|
|
@@ -3077,7 +3086,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
3077
3086
|
}, {
|
|
3078
3087
|
default: h(() => [
|
|
3079
3088
|
v(n(le), {
|
|
3080
|
-
"model-value":
|
|
3089
|
+
"model-value": u.value,
|
|
3081
3090
|
border: "",
|
|
3082
3091
|
dark: "",
|
|
3083
3092
|
height: "100%",
|
|
@@ -3090,10 +3099,10 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
3090
3099
|
_: 1
|
|
3091
3100
|
}, 8, ["title"]));
|
|
3092
3101
|
}
|
|
3093
|
-
}),
|
|
3102
|
+
}), Zo = { class: "v-apis__search" }, er = /* @__PURE__ */ E({
|
|
3094
3103
|
name: "ApisWidget",
|
|
3095
3104
|
__name: "index",
|
|
3096
|
-
setup(
|
|
3105
|
+
setup(i) {
|
|
3097
3106
|
const e = k(!1), t = k(null), l = k(""), a = k(!1), o = S(() => {
|
|
3098
3107
|
const f = s.value?.apis || [];
|
|
3099
3108
|
return l.value ? f.filter((b) => b.name.includes(l.value) || b.label?.includes(l.value) || b.url.includes(l.value)) : f;
|
|
@@ -3126,7 +3135,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
3126
3135
|
}
|
|
3127
3136
|
}`
|
|
3128
3137
|
}
|
|
3129
|
-
}),
|
|
3138
|
+
}), u = () => {
|
|
3130
3139
|
e.value = !0, a.value = !1, t.value = r();
|
|
3131
3140
|
}, g = {
|
|
3132
3141
|
get: "success",
|
|
@@ -3144,10 +3153,10 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
3144
3153
|
class: "v-apis-widget",
|
|
3145
3154
|
title: "API管理",
|
|
3146
3155
|
plus: "",
|
|
3147
|
-
onPlus:
|
|
3156
|
+
onPlus: u
|
|
3148
3157
|
}, {
|
|
3149
3158
|
default: h(() => [
|
|
3150
|
-
V("div",
|
|
3159
|
+
V("div", Zo, [
|
|
3151
3160
|
v(n(ye), {
|
|
3152
3161
|
size: "small",
|
|
3153
3162
|
modelValue: l.value,
|
|
@@ -3174,7 +3183,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
3174
3183
|
key: 0,
|
|
3175
3184
|
"image-size": 50
|
|
3176
3185
|
})) : j("", !0),
|
|
3177
|
-
v(
|
|
3186
|
+
v(Yo, {
|
|
3178
3187
|
modelValue: e.value,
|
|
3179
3188
|
"onUpdate:modelValue": b[1] || (b[1] = (c) => e.value = c),
|
|
3180
3189
|
model: t.value,
|
|
@@ -3184,11 +3193,11 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
3184
3193
|
_: 1
|
|
3185
3194
|
}));
|
|
3186
3195
|
}
|
|
3187
|
-
}),
|
|
3196
|
+
}), tr = /* @__PURE__ */ E({
|
|
3188
3197
|
name: "DepsWidget",
|
|
3189
3198
|
__name: "index",
|
|
3190
|
-
setup(
|
|
3191
|
-
const { dependencies: e, engine: t } = Dn(), l = k(!1), a = k(!1), o = k({}), s = S(() => a.value ? "查看依赖" : o.value ? "编辑依赖" : "新增依赖"), r = (c) => c.required || c.official ? [] : ["edit", "remove"],
|
|
3199
|
+
setup(i) {
|
|
3200
|
+
const { dependencies: e, engine: t } = Dn(), l = k(!1), a = k(!1), o = k({}), s = S(() => a.value ? "查看依赖" : o.value ? "编辑依赖" : "新增依赖"), r = (c) => c.required || c.official ? [] : ["edit", "remove"], u = (c) => c.official && !c.required, g = async (c) => (c.urls = c.urls.split(`
|
|
3192
3201
|
`), t.project.value?.setDeps(c), !0), p = (c) => {
|
|
3193
3202
|
t.project.value?.setDeps(c);
|
|
3194
3203
|
}, m = () => {
|
|
@@ -3219,7 +3228,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
3219
3228
|
subtitle: w.version,
|
|
3220
3229
|
actions: r(w),
|
|
3221
3230
|
background: "",
|
|
3222
|
-
switch:
|
|
3231
|
+
switch: u(w),
|
|
3223
3232
|
modelValue: w.enabled,
|
|
3224
3233
|
"onUpdate:modelValue": (x) => w.enabled = x,
|
|
3225
3234
|
onSwitch: (x) => p(w),
|
|
@@ -3279,7 +3288,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
3279
3288
|
_: 1
|
|
3280
3289
|
}));
|
|
3281
3290
|
}
|
|
3282
|
-
}),
|
|
3291
|
+
}), nr = /* @__PURE__ */ E({
|
|
3283
3292
|
__name: "actions",
|
|
3284
3293
|
props: {
|
|
3285
3294
|
position: {},
|
|
@@ -3287,8 +3296,8 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
3287
3296
|
path: { default: () => [] }
|
|
3288
3297
|
},
|
|
3289
3298
|
emits: ["action", "dragstart", "dragend"],
|
|
3290
|
-
setup(
|
|
3291
|
-
const t =
|
|
3299
|
+
setup(i, { emit: e }) {
|
|
3300
|
+
const t = i, l = e, a = S(() => t.model.name), o = S(() => !ee(t.model) && !t.model.locked), s = S(() => t.path.map((p) => ({
|
|
3292
3301
|
command: p,
|
|
3293
3302
|
label: p.name,
|
|
3294
3303
|
onMouseenter: () => {
|
|
@@ -3327,7 +3336,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
3327
3336
|
icon: at,
|
|
3328
3337
|
title: "删除"
|
|
3329
3338
|
}
|
|
3330
|
-
],
|
|
3339
|
+
], u = (p) => {
|
|
3331
3340
|
l("action", { type: "selected", model: p.command });
|
|
3332
3341
|
}, g = async (p) => {
|
|
3333
3342
|
p.name === "remove" ? await Oe("确定删除?") && l("action", { type: p.name, model: t.model }) : l("action", { type: p.name, model: t.model });
|
|
@@ -3342,7 +3351,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
3342
3351
|
label: a.value,
|
|
3343
3352
|
menus: s.value,
|
|
3344
3353
|
background: "none",
|
|
3345
|
-
onCommand:
|
|
3354
|
+
onCommand: u
|
|
3346
3355
|
}, null, 8, ["icon", "label", "menus"]),
|
|
3347
3356
|
v(n(fl), {
|
|
3348
3357
|
disabled: !o.value,
|
|
@@ -3354,18 +3363,18 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
3354
3363
|
}, null, 8, ["disabled"])
|
|
3355
3364
|
], 2));
|
|
3356
3365
|
}
|
|
3357
|
-
}),
|
|
3366
|
+
}), lr = {
|
|
3358
3367
|
key: 1,
|
|
3359
3368
|
class: "v-designer__placeholder"
|
|
3360
|
-
},
|
|
3369
|
+
}, ar = /* @__PURE__ */ E({
|
|
3361
3370
|
name: "VDesigner",
|
|
3362
3371
|
inheritAttrs: !1,
|
|
3363
3372
|
__name: "index",
|
|
3364
|
-
setup(
|
|
3365
|
-
const t = k(), l = k(), { width: a, height: o } = Ue(t), { dependencies: s, engine: r, apis:
|
|
3373
|
+
setup(i, { expose: e }) {
|
|
3374
|
+
const t = k(), l = k(), { width: a, height: o } = Ue(t), { dependencies: s, engine: r, apis: u, meta: g } = Dn(), { current: p, isEmpty: m } = ie(), f = S(() => r.skeleton?.getWidget("Toolbar")?.widgetRef.mode ?? "pc"), b = S(() => r.project.value?.config || {}), { designer: c, hover: _, dropping: w, selected: x } = zs(
|
|
3366
3375
|
l,
|
|
3367
3376
|
s,
|
|
3368
|
-
|
|
3377
|
+
u,
|
|
3369
3378
|
g,
|
|
3370
3379
|
b
|
|
3371
3380
|
), C = ($) => {
|
|
@@ -3441,7 +3450,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
3441
3450
|
class: "v-designer__selected",
|
|
3442
3451
|
style: Xe(n(x).style)
|
|
3443
3452
|
}, [
|
|
3444
|
-
v(
|
|
3453
|
+
v(nr, {
|
|
3445
3454
|
position: n(x).position,
|
|
3446
3455
|
model: n(x).model,
|
|
3447
3456
|
path: n(x).path,
|
|
@@ -3457,7 +3466,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
3457
3466
|
key: 0,
|
|
3458
3467
|
description: "请新建或打开文件"
|
|
3459
3468
|
})),
|
|
3460
|
-
n(p) && n(m) ? (d(), A("div",
|
|
3469
|
+
n(p) && n(m) ? (d(), A("div", lr, " 您可以拖拽组件放置到这里 ")) : j("", !0)
|
|
3461
3470
|
], 512));
|
|
3462
3471
|
}
|
|
3463
3472
|
}), He = /* @__PURE__ */ E({
|
|
@@ -3472,12 +3481,12 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
3472
3481
|
list: {},
|
|
3473
3482
|
remove: {},
|
|
3474
3483
|
submit: {},
|
|
3475
|
-
itemTitle: { type: Function, default: (
|
|
3484
|
+
itemTitle: { type: Function, default: (i) => i.name }
|
|
3476
3485
|
},
|
|
3477
|
-
setup(
|
|
3478
|
-
const e =
|
|
3486
|
+
setup(i) {
|
|
3487
|
+
const e = i, t = k(), l = k(), a = k(!1), o = k(e.createEmpty()), s = k(!1), r = S(
|
|
3479
3488
|
() => s.value ? `编辑${e.title}` : `新增${e.title}`
|
|
3480
|
-
),
|
|
3489
|
+
), u = () => {
|
|
3481
3490
|
s.value = !1, o.value = e.createEmpty(), a.value = !0;
|
|
3482
3491
|
}, g = (c, _) => {
|
|
3483
3492
|
switch (_.name) {
|
|
@@ -3503,7 +3512,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
3503
3512
|
size: "small",
|
|
3504
3513
|
fit: !1,
|
|
3505
3514
|
plus: "",
|
|
3506
|
-
onPlus:
|
|
3515
|
+
onPlus: u
|
|
3507
3516
|
}, {
|
|
3508
3517
|
default: h(() => [
|
|
3509
3518
|
(d(!0), A(T, null, N(c.list, (w) => (d(), y(n(ue), {
|
|
@@ -3564,25 +3573,25 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
3564
3573
|
_: 3
|
|
3565
3574
|
}, 8, ["title"]));
|
|
3566
3575
|
}
|
|
3567
|
-
}),
|
|
3576
|
+
}), sr = /* @__PURE__ */ E({
|
|
3568
3577
|
__name: "state",
|
|
3569
3578
|
props: {
|
|
3570
3579
|
context: {},
|
|
3571
3580
|
current: {}
|
|
3572
3581
|
},
|
|
3573
|
-
setup(
|
|
3574
|
-
const e =
|
|
3582
|
+
setup(i) {
|
|
3583
|
+
const e = i, t = S(() => Object.entries(e.current?.state || {}).map(([r, u]) => ({ name: r, value: ze(u) }))), l = () => ({
|
|
3575
3584
|
name: "",
|
|
3576
3585
|
value: ""
|
|
3577
3586
|
}), a = (s) => e.current?.removeState(s.name), o = async (s, r) => {
|
|
3578
|
-
const { name:
|
|
3579
|
-
if (!r && e.current?.state[
|
|
3580
|
-
return ne(`名称 ${
|
|
3587
|
+
const { name: u, value: g } = s;
|
|
3588
|
+
if (!r && e.current?.state[u])
|
|
3589
|
+
return ne(`名称 ${u} 已存在,请更换!`), !1;
|
|
3581
3590
|
const p = {
|
|
3582
3591
|
type: "JSExpression",
|
|
3583
3592
|
value: g
|
|
3584
3593
|
};
|
|
3585
|
-
return oe(p, e.context, !0) ? (e.current?.setState(
|
|
3594
|
+
return oe(p, e.context, !0) ? (e.current?.setState(u, p), !0) : !1;
|
|
3586
3595
|
};
|
|
3587
3596
|
return (s, r) => (d(), y(He, {
|
|
3588
3597
|
title: "状态数据",
|
|
@@ -3596,25 +3605,25 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
3596
3605
|
submit: o
|
|
3597
3606
|
}, null, 8, ["current", "context", "list"]));
|
|
3598
3607
|
}
|
|
3599
|
-
}),
|
|
3608
|
+
}), or = /* @__PURE__ */ E({
|
|
3600
3609
|
__name: "computed",
|
|
3601
3610
|
props: {
|
|
3602
3611
|
context: {},
|
|
3603
3612
|
current: {}
|
|
3604
3613
|
},
|
|
3605
|
-
setup(
|
|
3606
|
-
const e =
|
|
3614
|
+
setup(i) {
|
|
3615
|
+
const e = i, t = S(() => Object.entries(e.current?.computed || {}).map(([r, u]) => ({ name: r, value: ze(u) }))), l = () => ({
|
|
3607
3616
|
name: "",
|
|
3608
3617
|
value: "() => { }"
|
|
3609
3618
|
}), a = (s) => e.current?.removeFunction("computed", s.name), o = async (s, r) => {
|
|
3610
|
-
const { name:
|
|
3611
|
-
if (!r && e.current?.computed[
|
|
3612
|
-
return ne(`名称 ${
|
|
3619
|
+
const { name: u, value: g } = s;
|
|
3620
|
+
if (!r && e.current?.computed[u])
|
|
3621
|
+
return ne(`名称 ${u} 已存在,请更换!`), !1;
|
|
3613
3622
|
const p = {
|
|
3614
3623
|
type: "JSFunction",
|
|
3615
3624
|
value: g
|
|
3616
3625
|
};
|
|
3617
|
-
return oe(p, e.context, !0) ? (e.current?.setFunction("computed",
|
|
3626
|
+
return oe(p, e.context, !0) ? (e.current?.setFunction("computed", u, p), !0) : !1;
|
|
3618
3627
|
};
|
|
3619
3628
|
return (s, r) => (d(), y(He, {
|
|
3620
3629
|
title: "计算属性",
|
|
@@ -3628,25 +3637,25 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
3628
3637
|
submit: o
|
|
3629
3638
|
}, null, 8, ["current", "context", "list"]));
|
|
3630
3639
|
}
|
|
3631
|
-
}),
|
|
3640
|
+
}), rr = /* @__PURE__ */ E({
|
|
3632
3641
|
__name: "methods",
|
|
3633
3642
|
props: {
|
|
3634
3643
|
context: {},
|
|
3635
3644
|
current: {}
|
|
3636
3645
|
},
|
|
3637
|
-
setup(
|
|
3638
|
-
const e =
|
|
3646
|
+
setup(i) {
|
|
3647
|
+
const e = i, t = S(() => Object.entries(e.current?.methods || {}).map(([r, u]) => ({ name: r, value: ze(u) }))), l = () => ({
|
|
3639
3648
|
name: "",
|
|
3640
3649
|
value: "() => { }"
|
|
3641
3650
|
}), a = (s) => e.current?.removeFunction("methods", s.name), o = async (s, r) => {
|
|
3642
|
-
const { name:
|
|
3643
|
-
if (!r && e.current?.methods[
|
|
3644
|
-
return ne(`名称 ${
|
|
3651
|
+
const { name: u, value: g } = s;
|
|
3652
|
+
if (!r && e.current?.methods[u])
|
|
3653
|
+
return ne(`名称 ${u} 已存在,请更换!`), !1;
|
|
3645
3654
|
const p = {
|
|
3646
3655
|
type: "JSFunction",
|
|
3647
3656
|
value: g
|
|
3648
3657
|
};
|
|
3649
|
-
return oe(p, e.context, !0) ? (e.current?.setFunction("methods",
|
|
3658
|
+
return oe(p, e.context, !0) ? (e.current?.setFunction("methods", u, p), !0) : !1;
|
|
3650
3659
|
};
|
|
3651
3660
|
return (s, r) => (d(), y(He, {
|
|
3652
3661
|
title: "组件方法",
|
|
@@ -3660,22 +3669,22 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
3660
3669
|
submit: o
|
|
3661
3670
|
}, null, 8, ["current", "context", "list"]));
|
|
3662
3671
|
}
|
|
3663
|
-
}),
|
|
3672
|
+
}), ir = /* @__PURE__ */ E({
|
|
3664
3673
|
__name: "lifeCycles",
|
|
3665
3674
|
props: {
|
|
3666
3675
|
context: {},
|
|
3667
3676
|
current: {}
|
|
3668
3677
|
},
|
|
3669
|
-
setup(
|
|
3670
|
-
const e =
|
|
3678
|
+
setup(i) {
|
|
3679
|
+
const e = i, t = S(() => zl.map((r) => ({
|
|
3671
3680
|
label: r,
|
|
3672
3681
|
value: r
|
|
3673
|
-
}))), l = S(() => Object.entries(e.current?.lifeCycles || {}).map(([
|
|
3682
|
+
}))), l = S(() => Object.entries(e.current?.lifeCycles || {}).map(([u, g]) => ({ name: u, value: ze(g) }))), a = () => ({
|
|
3674
3683
|
name: "",
|
|
3675
3684
|
value: "() => { }"
|
|
3676
|
-
}), o = (r) => e.current?.removeFunction("lifeCycles", r.name), s = async (r,
|
|
3685
|
+
}), o = (r) => e.current?.removeFunction("lifeCycles", r.name), s = async (r, u) => {
|
|
3677
3686
|
const { name: g, value: p } = r;
|
|
3678
|
-
if (!
|
|
3687
|
+
if (!u && e.current?.lifeCycles[g])
|
|
3679
3688
|
return ne(`名称 ${g} 已存在,请更换!`), !1;
|
|
3680
3689
|
const m = {
|
|
3681
3690
|
type: "JSFunction",
|
|
@@ -3683,7 +3692,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
3683
3692
|
};
|
|
3684
3693
|
return oe(m, e.context, !0) ? (e.current?.setFunction("lifeCycles", g, m), !0) : !1;
|
|
3685
3694
|
};
|
|
3686
|
-
return (r,
|
|
3695
|
+
return (r, u) => (d(), y(He, {
|
|
3687
3696
|
title: "生命周期",
|
|
3688
3697
|
current: e.current,
|
|
3689
3698
|
context: e.context,
|
|
@@ -3724,14 +3733,14 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
3724
3733
|
_: 1
|
|
3725
3734
|
}, 8, ["current", "context", "list"]));
|
|
3726
3735
|
}
|
|
3727
|
-
}),
|
|
3736
|
+
}), ur = /* @__PURE__ */ E({
|
|
3728
3737
|
__name: "watch",
|
|
3729
3738
|
props: {
|
|
3730
3739
|
context: {},
|
|
3731
3740
|
current: {}
|
|
3732
3741
|
},
|
|
3733
|
-
setup(
|
|
3734
|
-
const e =
|
|
3742
|
+
setup(i) {
|
|
3743
|
+
const e = i, t = S(() => (e.current?.watch || []).map((r) => ({
|
|
3735
3744
|
...r,
|
|
3736
3745
|
source: ze(r.source),
|
|
3737
3746
|
handler: ze(r.handler)
|
|
@@ -3740,7 +3749,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
3740
3749
|
deep: !1,
|
|
3741
3750
|
immediate: !1,
|
|
3742
3751
|
handler: "() => { }"
|
|
3743
|
-
}), a = (r) => r.source, o = (r) => e.current?.removeWatch(r), s = async (r,
|
|
3752
|
+
}), a = (r) => r.source, o = (r) => e.current?.removeWatch(r), s = async (r, u) => {
|
|
3744
3753
|
const g = {
|
|
3745
3754
|
type: "JSFunction",
|
|
3746
3755
|
value: r.source
|
|
@@ -3757,7 +3766,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
3757
3766
|
};
|
|
3758
3767
|
return e.current?.setWatch(m), !0;
|
|
3759
3768
|
};
|
|
3760
|
-
return (r,
|
|
3769
|
+
return (r, u) => (d(), y(He, {
|
|
3761
3770
|
title: "侦听器",
|
|
3762
3771
|
current: e.current,
|
|
3763
3772
|
context: e.context,
|
|
@@ -3821,9 +3830,9 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
3821
3830
|
_: 1
|
|
3822
3831
|
}, 8, ["current", "context", "list"]));
|
|
3823
3832
|
}
|
|
3824
|
-
}),
|
|
3833
|
+
}), cr = /* @__PURE__ */ E({
|
|
3825
3834
|
__name: "index",
|
|
3826
|
-
setup(
|
|
3835
|
+
setup(i) {
|
|
3827
3836
|
const { current: e, context: t } = ie();
|
|
3828
3837
|
return (l, a) => (d(), y(n(M), {
|
|
3829
3838
|
class: "v-scripts-widget",
|
|
@@ -3831,10 +3840,6 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
3831
3840
|
fit: ""
|
|
3832
3841
|
}, {
|
|
3833
3842
|
default: h(() => [
|
|
3834
|
-
v(ar, {
|
|
3835
|
-
current: n(e),
|
|
3836
|
-
context: n(t)
|
|
3837
|
-
}, null, 8, ["current", "context"]),
|
|
3838
3843
|
v(sr, {
|
|
3839
3844
|
current: n(e),
|
|
3840
3845
|
context: n(t)
|
|
@@ -3850,6 +3855,10 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
3850
3855
|
v(ir, {
|
|
3851
3856
|
current: n(e),
|
|
3852
3857
|
context: n(t)
|
|
3858
|
+
}, null, 8, ["current", "context"]),
|
|
3859
|
+
v(ur, {
|
|
3860
|
+
current: n(e),
|
|
3861
|
+
context: n(t)
|
|
3853
3862
|
}, null, 8, ["current", "context"])
|
|
3854
3863
|
]),
|
|
3855
3864
|
_: 1
|
|
@@ -3866,8 +3875,8 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
3866
3875
|
removable: { type: Boolean }
|
|
3867
3876
|
},
|
|
3868
3877
|
emits: ["change", "remove"],
|
|
3869
|
-
setup(
|
|
3870
|
-
const t =
|
|
3878
|
+
setup(i, { emit: e }) {
|
|
3879
|
+
const t = i, l = e, a = (s, r) => {
|
|
3871
3880
|
l("change", s, r);
|
|
3872
3881
|
}, o = (s) => {
|
|
3873
3882
|
l("remove", s);
|
|
@@ -3887,8 +3896,8 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
3887
3896
|
}, ["prevent", "stop"]), ["enter"]))
|
|
3888
3897
|
}, {
|
|
3889
3898
|
default: h(() => [
|
|
3890
|
-
(d(!0), A(T, null, N(t.items, (
|
|
3891
|
-
key: `${
|
|
3899
|
+
(d(!0), A(T, null, N(t.items, (u) => (d(), y(n(J), re({ ref_for: !0 }, u, {
|
|
3900
|
+
key: `${u.name}_${t.node.id}`,
|
|
3892
3901
|
current: t.current,
|
|
3893
3902
|
context: t.context,
|
|
3894
3903
|
removable: t.removable,
|
|
@@ -3902,16 +3911,16 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
3902
3911
|
_: 1
|
|
3903
3912
|
}, 8, ["title"]));
|
|
3904
3913
|
}
|
|
3905
|
-
}),
|
|
3914
|
+
}), dr = /* @__PURE__ */ E({
|
|
3906
3915
|
name: "PropertiesWidget",
|
|
3907
3916
|
__name: "index",
|
|
3908
|
-
setup(
|
|
3917
|
+
setup(i) {
|
|
3909
3918
|
const { current: e, context: t } = ie(), { selected: l } = ke(), {
|
|
3910
3919
|
node: a,
|
|
3911
3920
|
commonProps: o,
|
|
3912
3921
|
change: s,
|
|
3913
3922
|
componentProps: r,
|
|
3914
|
-
customProps:
|
|
3923
|
+
customProps: u,
|
|
3915
3924
|
addCustom: g,
|
|
3916
3925
|
removeCustom: p,
|
|
3917
3926
|
isExist: m
|
|
@@ -3956,7 +3965,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
3956
3965
|
current: n(e),
|
|
3957
3966
|
context: n(t),
|
|
3958
3967
|
node: n(a),
|
|
3959
|
-
items: n(
|
|
3968
|
+
items: n(u),
|
|
3960
3969
|
onChange: n(s),
|
|
3961
3970
|
removable: "",
|
|
3962
3971
|
plus: "",
|
|
@@ -3991,7 +4000,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
3991
4000
|
_: 1
|
|
3992
4001
|
})) : j("", !0);
|
|
3993
4002
|
}
|
|
3994
|
-
}),
|
|
4003
|
+
}), pr = /* @__PURE__ */ E({
|
|
3995
4004
|
name: "VariableBinder",
|
|
3996
4005
|
__name: "variable",
|
|
3997
4006
|
props: {
|
|
@@ -3999,8 +4008,8 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
3999
4008
|
current: {},
|
|
4000
4009
|
value: {}
|
|
4001
4010
|
},
|
|
4002
|
-
setup(
|
|
4003
|
-
const e =
|
|
4011
|
+
setup(i) {
|
|
4012
|
+
const e = i, t = k(), l = qe({
|
|
4004
4013
|
type: "JSExpression",
|
|
4005
4014
|
value: e.value
|
|
4006
4015
|
}), a = (o) => {
|
|
@@ -4037,7 +4046,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
4037
4046
|
_: 1
|
|
4038
4047
|
}, 8, ["block", "context", "model"]));
|
|
4039
4048
|
}
|
|
4040
|
-
}),
|
|
4049
|
+
}), mr = /* @__PURE__ */ E({
|
|
4041
4050
|
name: "EventBinder",
|
|
4042
4051
|
__name: "event",
|
|
4043
4052
|
props: {
|
|
@@ -4046,8 +4055,8 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
4046
4055
|
name: {},
|
|
4047
4056
|
event: {}
|
|
4048
4057
|
},
|
|
4049
|
-
setup(
|
|
4050
|
-
const e =
|
|
4058
|
+
setup(i) {
|
|
4059
|
+
const e = i, t = k(), a = qe({
|
|
4051
4060
|
name: e.name,
|
|
4052
4061
|
...e.event,
|
|
4053
4062
|
modifiers: Object.keys(e.event?.modifiers || {}),
|
|
@@ -4061,7 +4070,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
4061
4070
|
})), s = (r) => {
|
|
4062
4071
|
t.value.getEditor().setValue(r), a.handler.value = r;
|
|
4063
4072
|
};
|
|
4064
|
-
return (r,
|
|
4073
|
+
return (r, u) => (d(), y(n(Tt), {
|
|
4065
4074
|
title: "绑定事件",
|
|
4066
4075
|
"unbind-enabled": "",
|
|
4067
4076
|
block: e.current,
|
|
@@ -4087,7 +4096,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
4087
4096
|
ref_key: "editorRef",
|
|
4088
4097
|
ref: t,
|
|
4089
4098
|
modelValue: a.handler.value,
|
|
4090
|
-
"onUpdate:modelValue":
|
|
4099
|
+
"onUpdate:modelValue": u[0] || (u[0] = (g) => a.handler.value = g),
|
|
4091
4100
|
dark: "",
|
|
4092
4101
|
height: "100%"
|
|
4093
4102
|
}, null, 8, ["modelValue"])
|
|
@@ -4098,15 +4107,15 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
4098
4107
|
_: 1
|
|
4099
4108
|
}, 8, ["block", "context", "model"]));
|
|
4100
4109
|
}
|
|
4101
|
-
}),
|
|
4110
|
+
}), vr = /* @__PURE__ */ E({
|
|
4102
4111
|
name: "EventsWidget",
|
|
4103
4112
|
__name: "index",
|
|
4104
|
-
setup(
|
|
4105
|
-
const { current: e, context: t } = ie(), { selected: l } = ke(), { mouseEventList: a, keyboardEventList: o, componentEventList: s } =
|
|
4113
|
+
setup(i) {
|
|
4114
|
+
const { current: e, context: t } = ie(), { selected: l } = ke(), { mouseEventList: a, keyboardEventList: o, componentEventList: s } = Ls(l), r = k({
|
|
4106
4115
|
name: "",
|
|
4107
4116
|
event: void 0
|
|
4108
|
-
}),
|
|
4109
|
-
r.value = lt(c),
|
|
4117
|
+
}), u = k(!1), g = (c) => {
|
|
4118
|
+
r.value = lt(c), u.value = !0;
|
|
4110
4119
|
}, p = async (c) => {
|
|
4111
4120
|
const _ = {
|
|
4112
4121
|
...c,
|
|
@@ -4115,7 +4124,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
4115
4124
|
return oe(_.handler, t.value, !0) ? ((l.value?.model).setEvent(_), !0) : !1;
|
|
4116
4125
|
}, m = async (c) => {
|
|
4117
4126
|
const _ = l.value?.model;
|
|
4118
|
-
c.name && (_.removeEvent(c.name),
|
|
4127
|
+
c.name && (_.removeEvent(c.name), u.value = !1);
|
|
4119
4128
|
}, f = async () => {
|
|
4120
4129
|
r.value.name && await Oe("确定要删除该事件吗?") && m(r.value);
|
|
4121
4130
|
}, b = (c) => {
|
|
@@ -4197,10 +4206,10 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
4197
4206
|
]),
|
|
4198
4207
|
_: 1
|
|
4199
4208
|
}),
|
|
4200
|
-
|
|
4209
|
+
u.value ? (d(), y(n(mr), {
|
|
4201
4210
|
key: 0,
|
|
4202
|
-
modelValue:
|
|
4203
|
-
"onUpdate:modelValue": _[0] || (_[0] = (w) =>
|
|
4211
|
+
modelValue: u.value,
|
|
4212
|
+
"onUpdate:modelValue": _[0] || (_[0] = (w) => u.value = w),
|
|
4204
4213
|
context: n(t),
|
|
4205
4214
|
current: n(e),
|
|
4206
4215
|
name: r.value.name,
|
|
@@ -4212,10 +4221,10 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
4212
4221
|
_: 1
|
|
4213
4222
|
}));
|
|
4214
4223
|
}
|
|
4215
|
-
}),
|
|
4224
|
+
}), gr = /* @__PURE__ */ E({
|
|
4216
4225
|
name: "CssWidget",
|
|
4217
4226
|
__name: "index",
|
|
4218
|
-
setup(
|
|
4227
|
+
setup(i) {
|
|
4219
4228
|
const { current: e } = ie(), t = k(), l = S(() => e.value?.css || ""), a = (s) => {
|
|
4220
4229
|
e.value?.setCss(s);
|
|
4221
4230
|
}, o = () => {
|
|
@@ -4244,20 +4253,20 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
4244
4253
|
_: 1
|
|
4245
4254
|
}));
|
|
4246
4255
|
}
|
|
4247
|
-
}),
|
|
4256
|
+
}), fr = /* @__PURE__ */ E({
|
|
4248
4257
|
name: "DirectivesWidget",
|
|
4249
4258
|
__name: "index",
|
|
4250
|
-
setup(
|
|
4259
|
+
setup(i) {
|
|
4251
4260
|
const { current: e, context: t } = ie(), { selected: l } = ke(), {
|
|
4252
4261
|
vIf: a,
|
|
4253
4262
|
vShow: o,
|
|
4254
4263
|
vBind: s,
|
|
4255
4264
|
vFor: r,
|
|
4256
|
-
vModels:
|
|
4265
|
+
vModels: u,
|
|
4257
4266
|
onValueChange: g,
|
|
4258
4267
|
onForChange: p,
|
|
4259
4268
|
onModelChange: m
|
|
4260
|
-
} =
|
|
4269
|
+
} = Hs(l), f = (b) => b.arg ? typeof b.arg == "string" ? b.arg : Me(b.arg, {}) : "modelValue";
|
|
4261
4270
|
return (b, c) => (d(), y(n(M), {
|
|
4262
4271
|
class: "v-directives-widget",
|
|
4263
4272
|
direction: "column",
|
|
@@ -4372,7 +4381,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
4372
4381
|
grow: ""
|
|
4373
4382
|
}, {
|
|
4374
4383
|
default: h(() => [
|
|
4375
|
-
(d(!0), A(T, null, N(n(
|
|
4384
|
+
(d(!0), A(T, null, N(n(u), (_, w) => (d(), y(n(U), {
|
|
4376
4385
|
card: "",
|
|
4377
4386
|
border: "",
|
|
4378
4387
|
class: "v-sub-panel",
|
|
@@ -4404,7 +4413,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
4404
4413
|
]),
|
|
4405
4414
|
_: 2
|
|
4406
4415
|
}, 1032, ["title"]))), 256)),
|
|
4407
|
-
n(
|
|
4416
|
+
n(u).length ? j("", !0) : (d(), y(n(se), {
|
|
4408
4417
|
key: 0,
|
|
4409
4418
|
description: "当前组件没有双向绑定属性",
|
|
4410
4419
|
"image-size": 50
|
|
@@ -4416,7 +4425,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
4416
4425
|
_: 1
|
|
4417
4426
|
}));
|
|
4418
4427
|
}
|
|
4419
|
-
}),
|
|
4428
|
+
}), hr = /* @__PURE__ */ E({
|
|
4420
4429
|
name: "DefinedPropsDialog",
|
|
4421
4430
|
__name: "props",
|
|
4422
4431
|
props: {
|
|
@@ -4424,8 +4433,8 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
4424
4433
|
current: {},
|
|
4425
4434
|
context: {}
|
|
4426
4435
|
},
|
|
4427
|
-
setup(
|
|
4428
|
-
const e =
|
|
4436
|
+
setup(i) {
|
|
4437
|
+
const e = i, t = S(() => e.item ? "编辑定义属性" : "新增定义属性"), l = k(
|
|
4429
4438
|
Object.assign(
|
|
4430
4439
|
{
|
|
4431
4440
|
default: {
|
|
@@ -4483,7 +4492,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
4483
4492
|
default: h(() => [
|
|
4484
4493
|
v(n(le), {
|
|
4485
4494
|
modelValue: l.value.default.value,
|
|
4486
|
-
"onUpdate:modelValue": r[0] || (r[0] = (
|
|
4495
|
+
"onUpdate:modelValue": r[0] || (r[0] = (u) => l.value.default.value = u),
|
|
4487
4496
|
height: "200px",
|
|
4488
4497
|
dark: ""
|
|
4489
4498
|
}, null, 8, ["modelValue"])
|
|
@@ -4494,7 +4503,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
4494
4503
|
_: 1
|
|
4495
4504
|
}, 8, ["title", "model"]));
|
|
4496
4505
|
}
|
|
4497
|
-
}),
|
|
4506
|
+
}), br = /* @__PURE__ */ E({
|
|
4498
4507
|
name: "DefinedEventsDialog",
|
|
4499
4508
|
__name: "events",
|
|
4500
4509
|
props: {
|
|
@@ -4502,9 +4511,9 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
4502
4511
|
current: {},
|
|
4503
4512
|
context: {}
|
|
4504
4513
|
},
|
|
4505
|
-
setup(
|
|
4506
|
-
const e =
|
|
4507
|
-
Array.isArray(r) ? r.every((p) => _e.test(p)) ?
|
|
4514
|
+
setup(i) {
|
|
4515
|
+
const e = i, t = S(() => e.item ? "编辑定义事件" : "新增定义事件"), l = k(e.item), a = (s, r, u) => {
|
|
4516
|
+
Array.isArray(r) ? r.every((p) => _e.test(p)) ? u() : u(new Error("参数名称格式错误")) : u(new Error("参数名称必须是数组形式"));
|
|
4508
4517
|
}, o = async (s) => (e.item && e.current.removeEmit(e.item.name, !0), e.current.setEmit(s), !0);
|
|
4509
4518
|
return (s, r) => (d(), y(n(Ve), {
|
|
4510
4519
|
title: t.value,
|
|
@@ -4549,7 +4558,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
4549
4558
|
_: 1
|
|
4550
4559
|
}, 8, ["title", "model"]));
|
|
4551
4560
|
}
|
|
4552
|
-
}),
|
|
4561
|
+
}), yr = /* @__PURE__ */ E({
|
|
4553
4562
|
name: "DefinedSlotsDialog",
|
|
4554
4563
|
__name: "slots",
|
|
4555
4564
|
props: {
|
|
@@ -4557,9 +4566,9 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
4557
4566
|
current: {},
|
|
4558
4567
|
context: {}
|
|
4559
4568
|
},
|
|
4560
|
-
setup(
|
|
4561
|
-
const e =
|
|
4562
|
-
Array.isArray(r) ? r.every((p) => _e.test(p)) ?
|
|
4569
|
+
setup(i) {
|
|
4570
|
+
const e = i, t = S(() => e.item ? "编辑定义插槽" : "新增定义插槽"), l = k(e.item), a = (s, r, u) => {
|
|
4571
|
+
Array.isArray(r) ? r.every((p) => _e.test(p)) ? u() : u(new Error("参数名称格式错误")) : u(new Error("参数名称必须是数组形式"));
|
|
4563
4572
|
}, o = async (s) => (e.item && e.current.removeSlot(e.item.name, !0), e.current.setSlot(s), !0);
|
|
4564
4573
|
return (s, r) => (d(), y(n(Ve), {
|
|
4565
4574
|
title: t.value,
|
|
@@ -4603,7 +4612,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
4603
4612
|
_: 1
|
|
4604
4613
|
}, 8, ["title", "model"]));
|
|
4605
4614
|
}
|
|
4606
|
-
}),
|
|
4615
|
+
}), _r = /* @__PURE__ */ E({
|
|
4607
4616
|
name: "DefinedInjectsDialog",
|
|
4608
4617
|
__name: "injects",
|
|
4609
4618
|
props: {
|
|
@@ -4611,8 +4620,8 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
4611
4620
|
current: {},
|
|
4612
4621
|
context: {}
|
|
4613
4622
|
},
|
|
4614
|
-
setup(
|
|
4615
|
-
const e =
|
|
4623
|
+
setup(i) {
|
|
4624
|
+
const e = i, t = S(() => e.item ? "编辑注入" : "新增注入"), l = k(
|
|
4616
4625
|
Object.assign(
|
|
4617
4626
|
{
|
|
4618
4627
|
default: {
|
|
@@ -4670,17 +4679,17 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
4670
4679
|
_: 1
|
|
4671
4680
|
}, 8, ["title", "model"]));
|
|
4672
4681
|
}
|
|
4673
|
-
}),
|
|
4682
|
+
}), wr = /* @__PURE__ */ E({
|
|
4674
4683
|
name: "DefinedWidget",
|
|
4675
4684
|
__name: "index",
|
|
4676
|
-
setup(
|
|
4677
|
-
const { current: e, context: t } = ie(), l = S(() => (e.value?.props || []).map((F) => typeof F == "string" ? { name: F } : F)), a = S(() => (e.value?.emits || []).map((F) => typeof F == "string" ? { name: F, params: [] } : F)), o = S(() => (e.value?.slots || []).map((F) => typeof F == "string" ? { name: F, params: [] } : F)), s = S(() => e.value?.inject || []), r = k(!1),
|
|
4678
|
-
|
|
4685
|
+
setup(i) {
|
|
4686
|
+
const { current: e, context: t } = ie(), l = S(() => (e.value?.props || []).map((F) => typeof F == "string" ? { name: F } : F)), a = S(() => (e.value?.emits || []).map((F) => typeof F == "string" ? { name: F, params: [] } : F)), o = S(() => (e.value?.slots || []).map((F) => typeof F == "string" ? { name: F, params: [] } : F)), s = S(() => e.value?.inject || []), r = k(!1), u = k(), g = k(!1), p = k(), m = k(!1), f = k(), b = k(!1), c = k(), _ = () => {
|
|
4687
|
+
u.value = void 0, r.value = !0;
|
|
4679
4688
|
}, w = (F) => {
|
|
4680
4689
|
const { name: L, modelValue: W } = F;
|
|
4681
4690
|
L === "edit" && x(W), L === "remove" && e.value?.removeProp(W);
|
|
4682
4691
|
}, x = (F) => {
|
|
4683
|
-
|
|
4692
|
+
u.value = F, r.value = !0;
|
|
4684
4693
|
}, C = () => {
|
|
4685
4694
|
p.value = void 0, g.value = !0;
|
|
4686
4695
|
}, I = (F) => {
|
|
@@ -4731,13 +4740,13 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
4731
4740
|
key: 0,
|
|
4732
4741
|
"image-size": 50
|
|
4733
4742
|
})),
|
|
4734
|
-
r.value ? (d(), y(
|
|
4743
|
+
r.value ? (d(), y(hr, {
|
|
4735
4744
|
key: 1,
|
|
4736
4745
|
current: n(e),
|
|
4737
4746
|
context: n(t),
|
|
4738
4747
|
modelValue: r.value,
|
|
4739
4748
|
"onUpdate:modelValue": L[0] || (L[0] = (W) => r.value = W),
|
|
4740
|
-
item:
|
|
4749
|
+
item: u.value
|
|
4741
4750
|
}, null, 8, ["current", "context", "modelValue", "item"])) : j("", !0)
|
|
4742
4751
|
]),
|
|
4743
4752
|
_: 1
|
|
@@ -4763,7 +4772,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
4763
4772
|
key: 0,
|
|
4764
4773
|
"image-size": 50
|
|
4765
4774
|
})),
|
|
4766
|
-
g.value ? (d(), y(
|
|
4775
|
+
g.value ? (d(), y(br, {
|
|
4767
4776
|
key: 1,
|
|
4768
4777
|
modelValue: g.value,
|
|
4769
4778
|
"onUpdate:modelValue": L[1] || (L[1] = (W) => g.value = W),
|
|
@@ -4795,7 +4804,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
4795
4804
|
key: 0,
|
|
4796
4805
|
"image-size": 50
|
|
4797
4806
|
})),
|
|
4798
|
-
m.value ? (d(), y(
|
|
4807
|
+
m.value ? (d(), y(yr, {
|
|
4799
4808
|
key: 1,
|
|
4800
4809
|
modelValue: m.value,
|
|
4801
4810
|
"onUpdate:modelValue": L[2] || (L[2] = (W) => m.value = W),
|
|
@@ -4828,7 +4837,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
4828
4837
|
key: 0,
|
|
4829
4838
|
"image-size": 50
|
|
4830
4839
|
})),
|
|
4831
|
-
b.value ? (d(), y(
|
|
4840
|
+
b.value ? (d(), y(_r, {
|
|
4832
4841
|
key: 1,
|
|
4833
4842
|
modelValue: b.value,
|
|
4834
4843
|
"onUpdate:modelValue": L[3] || (L[3] = (W) => b.value = W),
|
|
@@ -4843,7 +4852,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
4843
4852
|
_: 1
|
|
4844
4853
|
})) : j("", !0);
|
|
4845
4854
|
}
|
|
4846
|
-
}),
|
|
4855
|
+
}), kr = /* @__PURE__ */ E({
|
|
4847
4856
|
name: "DataSourceDialogForm",
|
|
4848
4857
|
__name: "form",
|
|
4849
4858
|
props: {
|
|
@@ -4851,8 +4860,8 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
4851
4860
|
current: {},
|
|
4852
4861
|
item: {}
|
|
4853
4862
|
},
|
|
4854
|
-
setup(
|
|
4855
|
-
const e =
|
|
4863
|
+
setup(i) {
|
|
4864
|
+
const e = i, t = [
|
|
4856
4865
|
{
|
|
4857
4866
|
label: "API",
|
|
4858
4867
|
value: "api",
|
|
@@ -4869,7 +4878,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
4869
4878
|
disabled: !0,
|
|
4870
4879
|
border: !0
|
|
4871
4880
|
}
|
|
4872
|
-
], { apis: l, meta: a } =
|
|
4881
|
+
], { apis: l, meta: a } = Gs(), s = k(
|
|
4873
4882
|
Object.assign({
|
|
4874
4883
|
type: "api",
|
|
4875
4884
|
ref: "",
|
|
@@ -4888,7 +4897,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
4888
4897
|
})`
|
|
4889
4898
|
}
|
|
4890
4899
|
}, e.item)
|
|
4891
|
-
), r = k(!1),
|
|
4900
|
+
), r = k(!1), u = k(""), g = k(!1), p = S(() => s.value.type === "api" ? l.value.map((w) => ({
|
|
4892
4901
|
label: w.label || "",
|
|
4893
4902
|
value: w.id,
|
|
4894
4903
|
data: w
|
|
@@ -4946,7 +4955,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
4946
4955
|
r.value = !0;
|
|
4947
4956
|
try {
|
|
4948
4957
|
const O = await C();
|
|
4949
|
-
|
|
4958
|
+
u.value = JSON.stringify(await I(O), null, 2);
|
|
4950
4959
|
} catch (O) {
|
|
4951
4960
|
Ce.error(O);
|
|
4952
4961
|
}
|
|
@@ -5057,7 +5066,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
5057
5066
|
}, {
|
|
5058
5067
|
default: h(() => [
|
|
5059
5068
|
v(n(le), {
|
|
5060
|
-
"model-value":
|
|
5069
|
+
"model-value": u.value,
|
|
5061
5070
|
border: "",
|
|
5062
5071
|
dark: "",
|
|
5063
5072
|
height: "100%",
|
|
@@ -5070,10 +5079,10 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
5070
5079
|
_: 1
|
|
5071
5080
|
}, 8, ["title", "model"]));
|
|
5072
5081
|
}
|
|
5073
|
-
}),
|
|
5082
|
+
}), Sr = /* @__PURE__ */ E({
|
|
5074
5083
|
name: "DataSourcesWidget",
|
|
5075
5084
|
__name: "index",
|
|
5076
|
-
setup(
|
|
5085
|
+
setup(i) {
|
|
5077
5086
|
const { current: e, context: t } = ie(), l = k(!1), a = k(), o = S(() => Object.values(e.value?.dataSources || {}).filter(
|
|
5078
5087
|
(p) => ["meta", "api"].includes(p.type)
|
|
5079
5088
|
)), s = (p) => ({
|
|
@@ -5082,11 +5091,11 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
5082
5091
|
cube: "warning"
|
|
5083
5092
|
})[p], r = () => {
|
|
5084
5093
|
a.value = void 0, l.value = !0;
|
|
5085
|
-
},
|
|
5094
|
+
}, u = (p) => {
|
|
5086
5095
|
a.value = p, l.value = !0;
|
|
5087
5096
|
}, g = (p) => {
|
|
5088
5097
|
const { name: m, modelValue: f } = p;
|
|
5089
|
-
m === "edit" &&
|
|
5098
|
+
m === "edit" && u(f), m === "remove" && e.value?.removeDataSource(f.name);
|
|
5090
5099
|
};
|
|
5091
5100
|
return (p, m) => (d(), y(n(M), {
|
|
5092
5101
|
class: "v-data-sources-widget",
|
|
@@ -5111,7 +5120,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
5111
5120
|
tag: f.type.toUpperCase(),
|
|
5112
5121
|
"tag-type": s(f.type),
|
|
5113
5122
|
onAction: g,
|
|
5114
|
-
onClick: (b) =>
|
|
5123
|
+
onClick: (b) => u(f)
|
|
5115
5124
|
}, null, 8, ["title", "subtitle", "model-value", "tag", "tag-type", "onClick"]))), 256)),
|
|
5116
5125
|
o.value.length ? j("", !0) : (d(), y(n(se), {
|
|
5117
5126
|
key: 0,
|
|
@@ -5120,7 +5129,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
5120
5129
|
]),
|
|
5121
5130
|
_: 1
|
|
5122
5131
|
}),
|
|
5123
|
-
l.value ? (d(), y(
|
|
5132
|
+
l.value ? (d(), y(kr, {
|
|
5124
5133
|
key: 0,
|
|
5125
5134
|
modelValue: l.value,
|
|
5126
5135
|
"onUpdate:modelValue": m[0] || (m[0] = (f) => l.value = f),
|
|
@@ -5132,14 +5141,14 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
5132
5141
|
_: 1
|
|
5133
5142
|
}));
|
|
5134
5143
|
}
|
|
5135
|
-
}),
|
|
5144
|
+
}), xr = /* @__PURE__ */ E({
|
|
5136
5145
|
__name: "layout",
|
|
5137
5146
|
props: {
|
|
5138
5147
|
styleJson: {},
|
|
5139
5148
|
setStyle: { type: Function }
|
|
5140
5149
|
},
|
|
5141
|
-
setup(
|
|
5142
|
-
const e =
|
|
5150
|
+
setup(i) {
|
|
5151
|
+
const e = i, t = k();
|
|
5143
5152
|
q(
|
|
5144
5153
|
() => e.styleJson.display,
|
|
5145
5154
|
(g) => {
|
|
@@ -5259,7 +5268,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
5259
5268
|
value: "stretch",
|
|
5260
5269
|
svg: Da
|
|
5261
5270
|
}
|
|
5262
|
-
],
|
|
5271
|
+
], u = (g, p) => {
|
|
5263
5272
|
t.value = p === "flex", e.setStyle("display", p), t.value || (e.setStyle("flex-direction", void 0), e.setStyle("justify-content", void 0), e.setStyle("align-items", void 0), e.setStyle("flex-wrap", void 0));
|
|
5264
5273
|
};
|
|
5265
5274
|
return (g, p) => (d(), y(n(U), {
|
|
@@ -5282,7 +5291,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
5282
5291
|
options: l,
|
|
5283
5292
|
variable: !1,
|
|
5284
5293
|
value: e.styleJson.display,
|
|
5285
|
-
onChange:
|
|
5294
|
+
onChange: u
|
|
5286
5295
|
}, null, 8, ["value"]),
|
|
5287
5296
|
t.value ? (d(), A(T, { key: 0 }, [
|
|
5288
5297
|
v(n(J), {
|
|
@@ -5329,10 +5338,10 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
5329
5338
|
_: 1
|
|
5330
5339
|
}));
|
|
5331
5340
|
}
|
|
5332
|
-
}),
|
|
5341
|
+
}), Cr = /* @__PURE__ */ E({
|
|
5333
5342
|
name: "StyleWidget",
|
|
5334
5343
|
__name: "JsonMode",
|
|
5335
|
-
setup(
|
|
5344
|
+
setup(i) {
|
|
5336
5345
|
const { selected: e } = ke(), t = k(), l = S(() => {
|
|
5337
5346
|
const r = e.value?.model || null;
|
|
5338
5347
|
return ee(r) ? null : r;
|
|
@@ -5340,16 +5349,16 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
5340
5349
|
() => JSON.stringify(l.value?.getPropValue("style") || {}, null, 2)
|
|
5341
5350
|
), o = (r) => {
|
|
5342
5351
|
try {
|
|
5343
|
-
const
|
|
5344
|
-
l.value?.setProp("style",
|
|
5352
|
+
const u = JSON.parse(r);
|
|
5353
|
+
l.value?.setProp("style", u);
|
|
5345
5354
|
} catch {
|
|
5346
5355
|
ne("JSON格式错误");
|
|
5347
5356
|
}
|
|
5348
5357
|
}, s = () => {
|
|
5349
|
-
const
|
|
5350
|
-
o(
|
|
5358
|
+
const u = (t.value?.getEditor()).getValue();
|
|
5359
|
+
o(u), de("保存成功");
|
|
5351
5360
|
};
|
|
5352
|
-
return (r,
|
|
5361
|
+
return (r, u) => (d(), y(n(U), {
|
|
5353
5362
|
class: "v-css-widget v-sub-panel",
|
|
5354
5363
|
title: "JSON",
|
|
5355
5364
|
size: "small",
|
|
@@ -5371,7 +5380,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
5371
5380
|
_: 1
|
|
5372
5381
|
}));
|
|
5373
5382
|
}
|
|
5374
|
-
}),
|
|
5383
|
+
}), Vr = { class: "v-spacing-input" }, Ar = /* @__PURE__ */ V("div", { class: "v-spacing-input__modal" }, null, -1), jr = { class: "v-spacing-input__content" }, Er = ["onClick"], zn = /* @__PURE__ */ E({
|
|
5375
5384
|
__name: "spacing-input",
|
|
5376
5385
|
props: {
|
|
5377
5386
|
name: {},
|
|
@@ -5379,23 +5388,23 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
5379
5388
|
auto: { type: Boolean }
|
|
5380
5389
|
},
|
|
5381
5390
|
emits: ["close", "update:modelValue", "submit"],
|
|
5382
|
-
setup(
|
|
5383
|
-
const t = [0, 10, 20, 40, 60, 100, 140, 220], l =
|
|
5384
|
-
|
|
5391
|
+
setup(i, { emit: e }) {
|
|
5392
|
+
const t = [0, 10, 20, 40, 60, 100, 140, 220], l = i, a = e, o = S(() => l.auto || l.name.includes("margin")), s = k(), r = k(l.modelValue), u = k("px");
|
|
5393
|
+
Eo(s, () => {
|
|
5385
5394
|
a("close");
|
|
5386
5395
|
});
|
|
5387
5396
|
const g = (b) => {
|
|
5388
5397
|
r.value = typeof b == "number" ? `${b}px` : "auto", p(r.value);
|
|
5389
5398
|
}, p = (b) => {
|
|
5390
|
-
|
|
5399
|
+
u.value = b === "auto" ? void 0 : "px";
|
|
5391
5400
|
}, m = () => {
|
|
5392
5401
|
r.value ? (a("update:modelValue", r.value), a("submit", l.name, r.value), a("close")) : ne("请输入有效值", "提示");
|
|
5393
5402
|
}, f = () => {
|
|
5394
5403
|
r.value = void 0, a("update:modelValue", r.value), a("submit", l.name, void 0), a("close");
|
|
5395
5404
|
};
|
|
5396
|
-
return (b, c) => (d(), A("div",
|
|
5397
|
-
|
|
5398
|
-
V("div",
|
|
5405
|
+
return (b, c) => (d(), A("div", Vr, [
|
|
5406
|
+
Ar,
|
|
5407
|
+
V("div", jr, [
|
|
5399
5408
|
v(n(M), {
|
|
5400
5409
|
class: "v-spacing-input__body",
|
|
5401
5410
|
ref_key: "bodyRef",
|
|
@@ -5409,9 +5418,9 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
5409
5418
|
modelValue: r.value,
|
|
5410
5419
|
"onUpdate:modelValue": c[0] || (c[0] = (_) => r.value = _),
|
|
5411
5420
|
size: "small",
|
|
5412
|
-
"with-unit": !!
|
|
5413
|
-
unit:
|
|
5414
|
-
format:
|
|
5421
|
+
"with-unit": !!u.value,
|
|
5422
|
+
unit: u.value,
|
|
5423
|
+
format: u.value ? "0" : void 0,
|
|
5415
5424
|
onChange: p
|
|
5416
5425
|
}, null, 8, ["modelValue", "with-unit", "unit", "format"])
|
|
5417
5426
|
]),
|
|
@@ -5440,7 +5449,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
5440
5449
|
default: h(() => [
|
|
5441
5450
|
(d(), A(T, null, N(t, (_) => V("span", {
|
|
5442
5451
|
onClick: (w) => g(_)
|
|
5443
|
-
}, z(_), 9,
|
|
5452
|
+
}, z(_), 9, Er)), 64))
|
|
5444
5453
|
]),
|
|
5445
5454
|
_: 1
|
|
5446
5455
|
})
|
|
@@ -5481,12 +5490,12 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
5481
5490
|
])
|
|
5482
5491
|
]));
|
|
5483
5492
|
}
|
|
5484
|
-
}),
|
|
5493
|
+
}), Pr = { class: "spacing-wrap" }, Dr = { class: "spacing-max-icon" }, Ir = ["width", "height"], Br = ["d"], Rr = ["d"], $r = ["d"], Tr = ["d"], zr = { id: "margin-outer" }, Or = ["width", "height"], Fr = ["width", "height"], Nr = { id: "margin-inner" }, Wr = ["width", "height"], Jr = ["width", "height"], Mr = ["width", "height"], Lr = ["d"], Ur = ["d"], qr = ["d"], Hr = ["d"], Gr = { id: "padding-outer" }, Xr = ["width", "height"], Qr = ["width", "height"], Kr = { id: "padding-inner" }, Yr = ["width", "height"], Zr = ["width", "height"], ei = {
|
|
5485
5494
|
xmlns: "http://www.w3.org/2000/svg",
|
|
5486
5495
|
width: "100%",
|
|
5487
5496
|
height: "100%",
|
|
5488
5497
|
style: { "grid-area": "3 / 3 / span 3 / span 3", "pointer-events": "none" }
|
|
5489
|
-
},
|
|
5498
|
+
}, ti = /* @__PURE__ */ V("text", {
|
|
5490
5499
|
x: "6",
|
|
5491
5500
|
y: "4",
|
|
5492
5501
|
fill: "#a6a6a6",
|
|
@@ -5494,14 +5503,14 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
5494
5503
|
"font-weight": "bold",
|
|
5495
5504
|
"font-size": "8",
|
|
5496
5505
|
"dominant-baseline": "hanging"
|
|
5497
|
-
}, " padding ", -1),
|
|
5498
|
-
|
|
5499
|
-
],
|
|
5506
|
+
}, " padding ", -1), ni = [
|
|
5507
|
+
ti
|
|
5508
|
+
], li = {
|
|
5500
5509
|
xmlns: "http://www.w3.org/2000/svg",
|
|
5501
5510
|
width: "100%",
|
|
5502
5511
|
height: "100%",
|
|
5503
5512
|
style: { "grid-area": "1 / 1 / -1 / -1", "pointer-events": "none" }
|
|
5504
|
-
},
|
|
5513
|
+
}, ai = /* @__PURE__ */ V("text", {
|
|
5505
5514
|
x: "6",
|
|
5506
5515
|
y: "4",
|
|
5507
5516
|
fill: "#a6a6a6",
|
|
@@ -5509,19 +5518,19 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
5509
5518
|
"font-weight": "bold",
|
|
5510
5519
|
"font-size": "8",
|
|
5511
5520
|
"dominant-baseline": "hanging"
|
|
5512
|
-
}, " margin ", -1),
|
|
5513
|
-
|
|
5514
|
-
], K = 36, Y = 24,
|
|
5521
|
+
}, " margin ", -1), si = [
|
|
5522
|
+
ai
|
|
5523
|
+
], K = 36, Y = 24, oi = /* @__PURE__ */ E({
|
|
5515
5524
|
__name: "spacing",
|
|
5516
5525
|
props: {
|
|
5517
5526
|
styleJson: {},
|
|
5518
5527
|
setStyle: { type: Function }
|
|
5519
5528
|
},
|
|
5520
|
-
setup(
|
|
5521
|
-
const e =
|
|
5522
|
-
|
|
5529
|
+
setup(i) {
|
|
5530
|
+
const e = i, t = k(), l = k(), { width: a, height: o } = Ue(t), { width: s, height: r } = Ue(l), u = k(!1), g = k(), p = k(), m = () => {
|
|
5531
|
+
u.value = !1, g.value = void 0, p.value = void 0;
|
|
5523
5532
|
}, f = (b) => {
|
|
5524
|
-
g.value = b, p.value = e.styleJson[b],
|
|
5533
|
+
g.value = b, p.value = e.styleJson[b], u.value = !0;
|
|
5525
5534
|
};
|
|
5526
5535
|
return (b, c) => (d(), y(n(U), {
|
|
5527
5536
|
title: "间距",
|
|
@@ -5536,8 +5545,8 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
5536
5545
|
ref_key: "container",
|
|
5537
5546
|
ref: t
|
|
5538
5547
|
}, [
|
|
5539
|
-
V("div",
|
|
5540
|
-
V("div",
|
|
5548
|
+
V("div", Pr, [
|
|
5549
|
+
V("div", Dr, [
|
|
5541
5550
|
n(a) && n(o) ? (d(), A("svg", {
|
|
5542
5551
|
key: 0,
|
|
5543
5552
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -5560,7 +5569,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
5560
5569
|
"aria-label": "Margin top button",
|
|
5561
5570
|
class: "tb-path-color",
|
|
5562
5571
|
onClick: c[0] || (c[0] = (_) => f("margin-top"))
|
|
5563
|
-
}, null, 8,
|
|
5572
|
+
}, null, 8, Br)
|
|
5564
5573
|
])
|
|
5565
5574
|
]),
|
|
5566
5575
|
V("g", null, [
|
|
@@ -5578,7 +5587,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
5578
5587
|
"aria-label": "Margin right button",
|
|
5579
5588
|
class: "lr-path-color",
|
|
5580
5589
|
onClick: c[1] || (c[1] = (_) => f("margin-right"))
|
|
5581
|
-
}, null, 8,
|
|
5590
|
+
}, null, 8, Rr)
|
|
5582
5591
|
])
|
|
5583
5592
|
]),
|
|
5584
5593
|
V("g", null, [
|
|
@@ -5596,7 +5605,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
5596
5605
|
"aria-label": "Margin bottom button",
|
|
5597
5606
|
class: "tb-path-color",
|
|
5598
5607
|
onClick: c[2] || (c[2] = (_) => f("margin-bottom"))
|
|
5599
|
-
}, null, 8,
|
|
5608
|
+
}, null, 8, $r)
|
|
5600
5609
|
])
|
|
5601
5610
|
]),
|
|
5602
5611
|
V("g", null, [
|
|
@@ -5614,10 +5623,10 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
5614
5623
|
"aria-label": "Margin left button",
|
|
5615
5624
|
class: "lr-path-color",
|
|
5616
5625
|
onClick: c[3] || (c[3] = (_) => f("margin-left"))
|
|
5617
|
-
}, null, 8,
|
|
5626
|
+
}, null, 8, Tr)
|
|
5618
5627
|
])
|
|
5619
5628
|
]),
|
|
5620
|
-
V("clipPath",
|
|
5629
|
+
V("clipPath", zr, [
|
|
5621
5630
|
V("rect", {
|
|
5622
5631
|
x: "0",
|
|
5623
5632
|
y: "0",
|
|
@@ -5627,7 +5636,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
5627
5636
|
rx: "2",
|
|
5628
5637
|
ry: "2",
|
|
5629
5638
|
style: { "pointer-events": "none" }
|
|
5630
|
-
}, null, 8,
|
|
5639
|
+
}, null, 8, Or)
|
|
5631
5640
|
]),
|
|
5632
5641
|
V("rect", {
|
|
5633
5642
|
class: "stroke",
|
|
@@ -5640,8 +5649,8 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
5640
5649
|
rx: "2",
|
|
5641
5650
|
ry: "2",
|
|
5642
5651
|
style: { "pointer-events": "none", "stroke-width": "2px" }
|
|
5643
|
-
}, null, 8,
|
|
5644
|
-
V("clipPath",
|
|
5652
|
+
}, null, 8, Fr),
|
|
5653
|
+
V("clipPath", Nr, [
|
|
5645
5654
|
V("rect", {
|
|
5646
5655
|
x: "36",
|
|
5647
5656
|
y: "24",
|
|
@@ -5651,7 +5660,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
5651
5660
|
rx: "2",
|
|
5652
5661
|
ry: "2",
|
|
5653
5662
|
style: { "pointer-events": "none" }
|
|
5654
|
-
}, null, 8,
|
|
5663
|
+
}, null, 8, Wr)
|
|
5655
5664
|
]),
|
|
5656
5665
|
V("rect", {
|
|
5657
5666
|
class: "stroke",
|
|
@@ -5664,8 +5673,8 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
5664
5673
|
rx: "2",
|
|
5665
5674
|
ry: "2",
|
|
5666
5675
|
style: { "pointer-events": "none", "stroke-width": "2px" }
|
|
5667
|
-
}, null, 8,
|
|
5668
|
-
], 8,
|
|
5676
|
+
}, null, 8, Jr)
|
|
5677
|
+
], 8, Ir)) : j("", !0),
|
|
5669
5678
|
V("div", {
|
|
5670
5679
|
class: H(["spacing-edit margin-top", { "is-setting": e.styleJson["margin-top"] }]),
|
|
5671
5680
|
onClick: c[4] || (c[4] = (_) => f("margin-top"))
|
|
@@ -5710,7 +5719,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
5710
5719
|
"aria-label": "Padding top button",
|
|
5711
5720
|
class: "tb-path-color",
|
|
5712
5721
|
onClick: c[8] || (c[8] = (_) => f("padding-top"))
|
|
5713
|
-
}, null, 8,
|
|
5722
|
+
}, null, 8, Lr)
|
|
5714
5723
|
])
|
|
5715
5724
|
]),
|
|
5716
5725
|
V("g", null, [
|
|
@@ -5728,7 +5737,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
5728
5737
|
"aria-label": "Padding right button",
|
|
5729
5738
|
class: "lr-path-color",
|
|
5730
5739
|
onClick: c[9] || (c[9] = (_) => f("padding-right"))
|
|
5731
|
-
}, null, 8,
|
|
5740
|
+
}, null, 8, Ur)
|
|
5732
5741
|
])
|
|
5733
5742
|
]),
|
|
5734
5743
|
V("g", null, [
|
|
@@ -5746,7 +5755,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
5746
5755
|
"aria-label": "Padding bottom button",
|
|
5747
5756
|
class: "tb-path-color",
|
|
5748
5757
|
onClick: c[10] || (c[10] = (_) => f("padding-bottom"))
|
|
5749
|
-
}, null, 8,
|
|
5758
|
+
}, null, 8, qr)
|
|
5750
5759
|
])
|
|
5751
5760
|
]),
|
|
5752
5761
|
V("g", null, [
|
|
@@ -5764,10 +5773,10 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
5764
5773
|
"aria-label": "Padding left button",
|
|
5765
5774
|
class: "lr-path-color",
|
|
5766
5775
|
onClick: c[11] || (c[11] = (_) => f("padding-left"))
|
|
5767
|
-
}, null, 8,
|
|
5776
|
+
}, null, 8, Hr)
|
|
5768
5777
|
])
|
|
5769
5778
|
]),
|
|
5770
|
-
V("clipPath",
|
|
5779
|
+
V("clipPath", Gr, [
|
|
5771
5780
|
V("rect", {
|
|
5772
5781
|
x: "0",
|
|
5773
5782
|
y: "0",
|
|
@@ -5777,7 +5786,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
5777
5786
|
rx: "2",
|
|
5778
5787
|
ry: "2",
|
|
5779
5788
|
style: { "pointer-events": "none" }
|
|
5780
|
-
}, null, 8,
|
|
5789
|
+
}, null, 8, Xr)
|
|
5781
5790
|
]),
|
|
5782
5791
|
V("rect", {
|
|
5783
5792
|
class: "stroke",
|
|
@@ -5790,8 +5799,8 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
5790
5799
|
rx: "2",
|
|
5791
5800
|
ry: "2",
|
|
5792
5801
|
style: { "pointer-events": "none", "stroke-width": "2px" }
|
|
5793
|
-
}, null, 8,
|
|
5794
|
-
V("clipPath",
|
|
5802
|
+
}, null, 8, Qr),
|
|
5803
|
+
V("clipPath", Kr, [
|
|
5795
5804
|
V("rect", {
|
|
5796
5805
|
x: "36",
|
|
5797
5806
|
y: "24",
|
|
@@ -5801,7 +5810,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
5801
5810
|
rx: "2",
|
|
5802
5811
|
ry: "2",
|
|
5803
5812
|
style: { "pointer-events": "none" }
|
|
5804
|
-
}, null, 8,
|
|
5813
|
+
}, null, 8, Yr)
|
|
5805
5814
|
]),
|
|
5806
5815
|
V("rect", {
|
|
5807
5816
|
class: "stroke",
|
|
@@ -5814,8 +5823,8 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
5814
5823
|
rx: "2",
|
|
5815
5824
|
ry: "2",
|
|
5816
5825
|
style: { "pointer-events": "none", "stroke-width": "2px" }
|
|
5817
|
-
}, null, 8,
|
|
5818
|
-
], 8,
|
|
5826
|
+
}, null, 8, Zr)
|
|
5827
|
+
], 8, Mr)) : j("", !0),
|
|
5819
5828
|
V("div", {
|
|
5820
5829
|
class: H(["spacing-edit padding-top", { "is-setting": e.styleJson["padding-top"] }]),
|
|
5821
5830
|
onClick: c[12] || (c[12] = (_) => f("padding-top"))
|
|
@@ -5833,10 +5842,10 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
5833
5842
|
onClick: c[15] || (c[15] = (_) => f("padding-left"))
|
|
5834
5843
|
}, z(e.styleJson["padding-left"] || "-"), 3)
|
|
5835
5844
|
], 512),
|
|
5836
|
-
(d(), A("svg",
|
|
5837
|
-
(d(), A("svg",
|
|
5845
|
+
(d(), A("svg", ei, ni)),
|
|
5846
|
+
(d(), A("svg", li, si))
|
|
5838
5847
|
]),
|
|
5839
|
-
|
|
5848
|
+
u.value ? (d(), y(zn, {
|
|
5840
5849
|
key: 0,
|
|
5841
5850
|
name: g.value,
|
|
5842
5851
|
modelValue: p.value,
|
|
@@ -5849,14 +5858,14 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
5849
5858
|
_: 1
|
|
5850
5859
|
}));
|
|
5851
5860
|
}
|
|
5852
|
-
}),
|
|
5861
|
+
}), ri = /* @__PURE__ */ E({
|
|
5853
5862
|
__name: "sizing",
|
|
5854
5863
|
props: {
|
|
5855
5864
|
styleJson: {},
|
|
5856
5865
|
setStyle: { type: Function }
|
|
5857
5866
|
},
|
|
5858
|
-
setup(
|
|
5859
|
-
const e =
|
|
5867
|
+
setup(i) {
|
|
5868
|
+
const e = i, a = [
|
|
5860
5869
|
{
|
|
5861
5870
|
name: "width",
|
|
5862
5871
|
label: "宽(W)",
|
|
@@ -5942,14 +5951,14 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
5942
5951
|
_: 1
|
|
5943
5952
|
}));
|
|
5944
5953
|
}
|
|
5945
|
-
}),
|
|
5954
|
+
}), ii = { class: "v-style-widget__positioning" }, ui = { class: "spacing-wrap" }, ci = ["width", "height"], di = ["d"], pi = ["d"], mi = ["d"], vi = ["d"], gi = { id: "margin-outer" }, fi = ["width", "height"], hi = ["width", "height"], bi = { id: "margin-inner" }, yi = ["width", "height"], _i = ["width", "height"], me = 36, ve = 24, wi = /* @__PURE__ */ E({
|
|
5946
5955
|
__name: "positioning",
|
|
5947
5956
|
props: {
|
|
5948
5957
|
styleJson: {},
|
|
5949
5958
|
setStyle: { type: Function }
|
|
5950
5959
|
},
|
|
5951
|
-
setup(
|
|
5952
|
-
const e =
|
|
5960
|
+
setup(i) {
|
|
5961
|
+
const e = i, t = k(), { width: l, height: a } = Ue(t), o = k(!1), s = k(), r = k(), u = [
|
|
5953
5962
|
{ label: "静态", value: "static" },
|
|
5954
5963
|
{ label: "相对", value: "relative" },
|
|
5955
5964
|
{ label: "绝对", value: "absolute" },
|
|
@@ -5978,7 +5987,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
5978
5987
|
collapsable: ""
|
|
5979
5988
|
}, {
|
|
5980
5989
|
default: h(() => [
|
|
5981
|
-
V("div",
|
|
5990
|
+
V("div", ii, [
|
|
5982
5991
|
v(n(ge), {
|
|
5983
5992
|
"label-width": "60px",
|
|
5984
5993
|
size: "small"
|
|
@@ -5988,7 +5997,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
5988
5997
|
name: "position",
|
|
5989
5998
|
label: "定位",
|
|
5990
5999
|
setters: { name: "SelectSetter" },
|
|
5991
|
-
options:
|
|
6000
|
+
options: u,
|
|
5992
6001
|
variable: !1,
|
|
5993
6002
|
value: e.styleJson.position,
|
|
5994
6003
|
onChange: e.setStyle
|
|
@@ -6004,7 +6013,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
6004
6013
|
}, null, 8, ["value", "onChange"]),
|
|
6005
6014
|
v(n(mn), { label: " " }, {
|
|
6006
6015
|
default: h(() => [
|
|
6007
|
-
V("div",
|
|
6016
|
+
V("div", ui, [
|
|
6008
6017
|
V("div", {
|
|
6009
6018
|
ref_key: "inner",
|
|
6010
6019
|
ref: t,
|
|
@@ -6032,7 +6041,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
6032
6041
|
"aria-label": "Padding top button",
|
|
6033
6042
|
class: "tb-path-color",
|
|
6034
6043
|
onClick: c[0] || (c[0] = (_) => m("top"))
|
|
6035
|
-
}, null, 8,
|
|
6044
|
+
}, null, 8, di)
|
|
6036
6045
|
])
|
|
6037
6046
|
]),
|
|
6038
6047
|
V("g", null, [
|
|
@@ -6050,7 +6059,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
6050
6059
|
"aria-label": "Padding right button",
|
|
6051
6060
|
class: "lr-path-color",
|
|
6052
6061
|
onClick: c[1] || (c[1] = (_) => m("right"))
|
|
6053
|
-
}, null, 8,
|
|
6062
|
+
}, null, 8, pi)
|
|
6054
6063
|
])
|
|
6055
6064
|
]),
|
|
6056
6065
|
V("g", null, [
|
|
@@ -6068,7 +6077,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
6068
6077
|
"aria-label": "Padding bottom button",
|
|
6069
6078
|
class: "tb-path-color",
|
|
6070
6079
|
onClick: c[2] || (c[2] = (_) => m("bottom"))
|
|
6071
|
-
}, null, 8,
|
|
6080
|
+
}, null, 8, mi)
|
|
6072
6081
|
])
|
|
6073
6082
|
]),
|
|
6074
6083
|
V("g", null, [
|
|
@@ -6086,10 +6095,10 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
6086
6095
|
"aria-label": "Padding left button",
|
|
6087
6096
|
class: "lr-path-color",
|
|
6088
6097
|
onClick: c[3] || (c[3] = (_) => m("left"))
|
|
6089
|
-
}, null, 8,
|
|
6098
|
+
}, null, 8, vi)
|
|
6090
6099
|
])
|
|
6091
6100
|
]),
|
|
6092
|
-
V("clipPath",
|
|
6101
|
+
V("clipPath", gi, [
|
|
6093
6102
|
V("rect", {
|
|
6094
6103
|
x: "0",
|
|
6095
6104
|
y: "0",
|
|
@@ -6099,7 +6108,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
6099
6108
|
rx: "2",
|
|
6100
6109
|
ry: "2",
|
|
6101
6110
|
style: { "pointer-events": "none" }
|
|
6102
|
-
}, null, 8,
|
|
6111
|
+
}, null, 8, fi)
|
|
6103
6112
|
]),
|
|
6104
6113
|
V("rect", {
|
|
6105
6114
|
class: "stroke",
|
|
@@ -6112,8 +6121,8 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
6112
6121
|
rx: "2",
|
|
6113
6122
|
ry: "2",
|
|
6114
6123
|
style: { "pointer-events": "none", "stroke-width": "2px" }
|
|
6115
|
-
}, null, 8,
|
|
6116
|
-
V("clipPath",
|
|
6124
|
+
}, null, 8, hi),
|
|
6125
|
+
V("clipPath", bi, [
|
|
6117
6126
|
V("rect", {
|
|
6118
6127
|
x: "36",
|
|
6119
6128
|
y: "24",
|
|
@@ -6123,7 +6132,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
6123
6132
|
rx: "2",
|
|
6124
6133
|
ry: "2",
|
|
6125
6134
|
style: { "pointer-events": "none" }
|
|
6126
|
-
}, null, 8,
|
|
6135
|
+
}, null, 8, yi)
|
|
6127
6136
|
]),
|
|
6128
6137
|
V("rect", {
|
|
6129
6138
|
class: "stroke",
|
|
@@ -6136,8 +6145,8 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
6136
6145
|
rx: "2",
|
|
6137
6146
|
ry: "2",
|
|
6138
6147
|
style: { "pointer-events": "none", "stroke-width": "2px" }
|
|
6139
|
-
}, null, 8,
|
|
6140
|
-
], 8,
|
|
6148
|
+
}, null, 8, _i)
|
|
6149
|
+
], 8, ci)) : j("", !0),
|
|
6141
6150
|
V("div", {
|
|
6142
6151
|
class: H(["spacing-edit padding-top", { "is-setting": e.styleJson.top }]),
|
|
6143
6152
|
onClick: c[4] || (c[4] = (_) => m("top"))
|
|
@@ -6184,14 +6193,14 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
6184
6193
|
_: 1
|
|
6185
6194
|
}));
|
|
6186
6195
|
}
|
|
6187
|
-
}),
|
|
6196
|
+
}), ki = /* @__PURE__ */ E({
|
|
6188
6197
|
__name: "texting",
|
|
6189
6198
|
props: {
|
|
6190
6199
|
styleJson: {},
|
|
6191
6200
|
setStyle: { type: Function }
|
|
6192
6201
|
},
|
|
6193
|
-
setup(
|
|
6194
|
-
const e =
|
|
6202
|
+
setup(i) {
|
|
6203
|
+
const e = i, t = [
|
|
6195
6204
|
{
|
|
6196
6205
|
name: "font-size",
|
|
6197
6206
|
label: "字号",
|
|
@@ -6268,13 +6277,13 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
6268
6277
|
inline: ""
|
|
6269
6278
|
}, {
|
|
6270
6279
|
default: h(() => [
|
|
6271
|
-
(d(), A(T, null, N(t, (
|
|
6272
|
-
name:
|
|
6273
|
-
label:
|
|
6274
|
-
setters: { name:
|
|
6275
|
-
options:
|
|
6280
|
+
(d(), A(T, null, N(t, (u) => v(n(J), {
|
|
6281
|
+
name: u.name,
|
|
6282
|
+
label: u.label,
|
|
6283
|
+
setters: { name: u.setter },
|
|
6284
|
+
options: u.options,
|
|
6276
6285
|
variable: !1,
|
|
6277
|
-
value: e.styleJson[
|
|
6286
|
+
value: e.styleJson[u.name],
|
|
6278
6287
|
onChange: s.setStyle
|
|
6279
6288
|
}, null, 8, ["name", "label", "setters", "options", "value", "onChange"])), 64))
|
|
6280
6289
|
]),
|
|
@@ -6327,18 +6336,18 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
6327
6336
|
_: 1
|
|
6328
6337
|
}));
|
|
6329
6338
|
}
|
|
6330
|
-
}),
|
|
6339
|
+
}), Si = /* @__PURE__ */ E({
|
|
6331
6340
|
__name: "backgound",
|
|
6332
6341
|
props: {
|
|
6333
6342
|
styleJson: {},
|
|
6334
6343
|
setStyle: { type: Function }
|
|
6335
6344
|
},
|
|
6336
|
-
setup(
|
|
6337
|
-
const e =
|
|
6345
|
+
setup(i) {
|
|
6346
|
+
const e = i, t = (u, g) => {
|
|
6338
6347
|
g ? e.setStyle("background-image", `url(${g})`) : e.setStyle("background-image", void 0);
|
|
6339
|
-
}, l = (
|
|
6348
|
+
}, l = (u) => {
|
|
6340
6349
|
const g = /^url\(([\w\W]+)\)$/;
|
|
6341
|
-
return
|
|
6350
|
+
return u?.match(g)?.[1];
|
|
6342
6351
|
}, a = [
|
|
6343
6352
|
{ label: "重复", value: "repeat", svg: Qa },
|
|
6344
6353
|
{ label: "水平重复", value: "repeat-x", svg: Ka },
|
|
@@ -6358,7 +6367,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
6358
6367
|
{ label: "覆盖", value: "cover" },
|
|
6359
6368
|
{ label: "填充", value: "contain" }
|
|
6360
6369
|
];
|
|
6361
|
-
return (
|
|
6370
|
+
return (u, g) => (d(), y(n(U), {
|
|
6362
6371
|
title: "背景",
|
|
6363
6372
|
class: "v-sub-panel",
|
|
6364
6373
|
size: "small",
|
|
@@ -6438,14 +6447,14 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
6438
6447
|
_: 1
|
|
6439
6448
|
}));
|
|
6440
6449
|
}
|
|
6441
|
-
}),
|
|
6450
|
+
}), xi = /* @__PURE__ */ E({
|
|
6442
6451
|
__name: "border",
|
|
6443
6452
|
props: {
|
|
6444
6453
|
styleJson: {},
|
|
6445
6454
|
setStyle: { type: Function }
|
|
6446
6455
|
},
|
|
6447
|
-
setup(
|
|
6448
|
-
const e =
|
|
6456
|
+
setup(i) {
|
|
6457
|
+
const e = i, t = k("border"), l = [
|
|
6449
6458
|
{ label: "全边框", svg: es, value: "border" },
|
|
6450
6459
|
{ label: "左边框", svg: ts, value: "border-left" },
|
|
6451
6460
|
{ label: "上边框", svg: ns, value: "border-top" },
|
|
@@ -6526,14 +6535,14 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
6526
6535
|
_: 1
|
|
6527
6536
|
}));
|
|
6528
6537
|
}
|
|
6529
|
-
}),
|
|
6538
|
+
}), Ci = /* @__PURE__ */ E({
|
|
6530
6539
|
__name: "effect",
|
|
6531
6540
|
props: {
|
|
6532
6541
|
styleJson: {},
|
|
6533
6542
|
setStyle: { type: Function }
|
|
6534
6543
|
},
|
|
6535
|
-
setup(
|
|
6536
|
-
const e =
|
|
6544
|
+
setup(i) {
|
|
6545
|
+
const e = i, t = [
|
|
6537
6546
|
{
|
|
6538
6547
|
label: "自动",
|
|
6539
6548
|
value: "auto",
|
|
@@ -6625,65 +6634,65 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
6625
6634
|
_: 1
|
|
6626
6635
|
}));
|
|
6627
6636
|
}
|
|
6628
|
-
}),
|
|
6637
|
+
}), Vi = /* @__PURE__ */ E({
|
|
6629
6638
|
name: "StyleWidget",
|
|
6630
6639
|
__name: "index",
|
|
6631
6640
|
props: {
|
|
6632
6641
|
isStyleCodeMode: { type: Boolean }
|
|
6633
6642
|
},
|
|
6634
|
-
setup(
|
|
6635
|
-
const e =
|
|
6643
|
+
setup(i) {
|
|
6644
|
+
const e = i, { selected: t } = ke(), l = S(() => {
|
|
6636
6645
|
const s = t.value?.model || null;
|
|
6637
6646
|
return ee(s) ? null : s;
|
|
6638
6647
|
}), a = S(
|
|
6639
6648
|
() => l.value?.getPropValue("style") || {}
|
|
6640
6649
|
), o = (s, r) => {
|
|
6641
|
-
const
|
|
6642
|
-
r !== void 0 ?
|
|
6650
|
+
const u = l.value?.getPropValue("style") || {};
|
|
6651
|
+
r !== void 0 ? u[s] = r : delete u[s], l.value?.setProp("style", u);
|
|
6643
6652
|
};
|
|
6644
|
-
return (s, r) => e.isStyleCodeMode ? (d(), y(
|
|
6653
|
+
return (s, r) => e.isStyleCodeMode ? (d(), y(Cr, { key: 0 })) : (d(), y(n(M), {
|
|
6645
6654
|
key: `widget-style-${l.value?.id}`,
|
|
6646
6655
|
class: "v-style-widget",
|
|
6647
6656
|
direction: "column",
|
|
6648
6657
|
fit: ""
|
|
6649
6658
|
}, {
|
|
6650
6659
|
default: h(() => [
|
|
6651
|
-
(d(), y(
|
|
6660
|
+
(d(), y(xr, {
|
|
6652
6661
|
key: `Layout${l.value?.id}`,
|
|
6653
6662
|
"style-json": a.value,
|
|
6654
6663
|
setStyle: o
|
|
6655
6664
|
}, null, 8, ["style-json"])),
|
|
6656
|
-
(d(), y(
|
|
6665
|
+
(d(), y(oi, {
|
|
6657
6666
|
key: `Spacing${l.value?.id}`,
|
|
6658
6667
|
"style-json": a.value,
|
|
6659
6668
|
setStyle: o
|
|
6660
6669
|
}, null, 8, ["style-json"])),
|
|
6661
|
-
(d(), y(
|
|
6670
|
+
(d(), y(ri, {
|
|
6662
6671
|
key: `Sizing${l.value?.id}`,
|
|
6663
6672
|
"style-json": a.value,
|
|
6664
6673
|
setStyle: o
|
|
6665
6674
|
}, null, 8, ["style-json"])),
|
|
6666
|
-
(d(), y(
|
|
6675
|
+
(d(), y(wi, {
|
|
6667
6676
|
key: `Positioning${l.value?.id}`,
|
|
6668
6677
|
"style-json": a.value,
|
|
6669
6678
|
setStyle: o
|
|
6670
6679
|
}, null, 8, ["style-json"])),
|
|
6671
|
-
(d(), y(
|
|
6680
|
+
(d(), y(ki, {
|
|
6672
6681
|
key: `Texting${l.value?.id}`,
|
|
6673
6682
|
"style-json": a.value,
|
|
6674
6683
|
setStyle: o
|
|
6675
6684
|
}, null, 8, ["style-json"])),
|
|
6676
|
-
(d(), y(
|
|
6685
|
+
(d(), y(Si, {
|
|
6677
6686
|
key: `Backgound${l.value?.id}`,
|
|
6678
6687
|
"style-json": a.value,
|
|
6679
6688
|
setStyle: o
|
|
6680
6689
|
}, null, 8, ["style-json"])),
|
|
6681
|
-
(d(), y(
|
|
6690
|
+
(d(), y(xi, {
|
|
6682
6691
|
key: `Border${l.value?.id}`,
|
|
6683
6692
|
"style-json": a.value,
|
|
6684
6693
|
setStyle: o
|
|
6685
6694
|
}, null, 8, ["style-json"])),
|
|
6686
|
-
(d(), y(
|
|
6695
|
+
(d(), y(Ci, {
|
|
6687
6696
|
key: `Effect${l.value?.id}`,
|
|
6688
6697
|
"style-json": a.value,
|
|
6689
6698
|
setStyle: o
|
|
@@ -6692,14 +6701,14 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
6692
6701
|
_: 1
|
|
6693
6702
|
}));
|
|
6694
6703
|
}
|
|
6695
|
-
}),
|
|
6704
|
+
}), Ai = ["src"], ji = /* @__PURE__ */ E({
|
|
6696
6705
|
name: "PreviewerWidget",
|
|
6697
6706
|
__name: "index",
|
|
6698
6707
|
props: {
|
|
6699
6708
|
path: { type: Function }
|
|
6700
6709
|
},
|
|
6701
|
-
setup(
|
|
6702
|
-
const t =
|
|
6710
|
+
setup(i, { expose: e }) {
|
|
6711
|
+
const t = i, l = k(), a = k(Symbol()), { current: o, engine: s } = ie(), { width: r, height: u } = Ue(l), g = S(() => o.value && t.path ? t.path(o.value) : null), p = S(() => s.skeleton?.getWidget("Toolbar")?.widgetRef.mode ?? "pc");
|
|
6703
6712
|
return e({
|
|
6704
6713
|
refresh: () => {
|
|
6705
6714
|
a.value = Symbol();
|
|
@@ -6713,7 +6722,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
6713
6722
|
v(n(Tn), {
|
|
6714
6723
|
mode: p.value,
|
|
6715
6724
|
width: n(r),
|
|
6716
|
-
height: n(
|
|
6725
|
+
height: n(u)
|
|
6717
6726
|
}, {
|
|
6718
6727
|
default: h(() => [
|
|
6719
6728
|
g.value ? (d(), A("iframe", {
|
|
@@ -6721,17 +6730,17 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
6721
6730
|
ref: "iframe",
|
|
6722
6731
|
frameborder: "0",
|
|
6723
6732
|
src: g.value
|
|
6724
|
-
}, null, 8,
|
|
6733
|
+
}, null, 8, Ai)) : j("", !0)
|
|
6725
6734
|
]),
|
|
6726
6735
|
_: 1
|
|
6727
6736
|
}, 8, ["mode", "width", "height"])
|
|
6728
6737
|
]));
|
|
6729
6738
|
}
|
|
6730
|
-
}),
|
|
6739
|
+
}), Ei = /* @__PURE__ */ E({
|
|
6731
6740
|
name: "NodePathWidget",
|
|
6732
6741
|
inheritAttrs: !1,
|
|
6733
6742
|
__name: "index",
|
|
6734
|
-
setup(
|
|
6743
|
+
setup(i) {
|
|
6735
6744
|
const { selected: e, designer: t } = ke(), l = S(() => (e.value?.path || []).slice(0).reverse()), a = (s) => {
|
|
6736
6745
|
t.value?.setSelected(s);
|
|
6737
6746
|
}, o = (s) => {
|
|
@@ -6743,12 +6752,12 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
6743
6752
|
"separator-icon": n(ps)
|
|
6744
6753
|
}, {
|
|
6745
6754
|
default: h(() => [
|
|
6746
|
-
(d(!0), A(T, null, N(l.value, (
|
|
6747
|
-
onClick: (g) => a(
|
|
6748
|
-
onMouseover: (g) => o(
|
|
6755
|
+
(d(!0), A(T, null, N(l.value, (u) => (d(), y(n(nl), {
|
|
6756
|
+
onClick: (g) => a(u),
|
|
6757
|
+
onMouseover: (g) => o(u)
|
|
6749
6758
|
}, {
|
|
6750
6759
|
default: h(() => [
|
|
6751
|
-
G(z(
|
|
6760
|
+
G(z(u.name), 1)
|
|
6752
6761
|
]),
|
|
6753
6762
|
_: 2
|
|
6754
6763
|
}, 1032, ["onClick", "onMouseover"]))), 256))
|
|
@@ -6756,10 +6765,10 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
6756
6765
|
_: 1
|
|
6757
6766
|
}, 8, ["separator-icon"])) : j("", !0);
|
|
6758
6767
|
}
|
|
6759
|
-
}),
|
|
6768
|
+
}), Pi = /* @__PURE__ */ E({
|
|
6760
6769
|
name: "SchemaWidget",
|
|
6761
6770
|
__name: "index",
|
|
6762
|
-
setup(
|
|
6771
|
+
setup(i) {
|
|
6763
6772
|
const { current: e } = ie(), t = k(), l = S(
|
|
6764
6773
|
() => JSON.stringify(e.value?.toDsl() || {}, null, 2)
|
|
6765
6774
|
), a = S(() => e.value ? e.value.name : ""), o = async () => {
|
|
@@ -6796,17 +6805,17 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
6796
6805
|
_: 1
|
|
6797
6806
|
}, 8, ["title"]));
|
|
6798
6807
|
}
|
|
6799
|
-
}),
|
|
6808
|
+
}), Di = /* @__PURE__ */ E({
|
|
6800
6809
|
name: "SchemaWidget",
|
|
6801
6810
|
__name: "index",
|
|
6802
|
-
setup(
|
|
6811
|
+
setup(i) {
|
|
6803
6812
|
const { current: e, engine: t } = ie(), l = k(), a = k(""), o = S(() => e.value ? `$vtj/vue/${e.value.id}.vue` : ""), s = S(() => e.value ? e.value.name : "");
|
|
6804
6813
|
return q(
|
|
6805
6814
|
e,
|
|
6806
6815
|
async (r) => {
|
|
6807
|
-
const
|
|
6808
|
-
|
|
6809
|
-
|
|
6816
|
+
const u = t.project.value;
|
|
6817
|
+
u && r ? a.value = await t.service.genVueContent(
|
|
6818
|
+
u.toDsl(),
|
|
6810
6819
|
r.toDsl()
|
|
6811
6820
|
) : a.value = "";
|
|
6812
6821
|
},
|
|
@@ -6814,7 +6823,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
6814
6823
|
immediate: !0,
|
|
6815
6824
|
deep: !0
|
|
6816
6825
|
}
|
|
6817
|
-
), (r,
|
|
6826
|
+
), (r, u) => (d(), y(n(U), {
|
|
6818
6827
|
class: "v-raw-widget",
|
|
6819
6828
|
title: s.value,
|
|
6820
6829
|
subtitle: o.value,
|
|
@@ -6835,14 +6844,14 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
6835
6844
|
_: 1
|
|
6836
6845
|
}, 8, ["title", "subtitle"]));
|
|
6837
6846
|
}
|
|
6838
|
-
}),
|
|
6847
|
+
}), Ii = ["src"], Bi = /* @__PURE__ */ E({
|
|
6839
6848
|
name: "DocsWidget",
|
|
6840
6849
|
__name: "index",
|
|
6841
6850
|
props: {
|
|
6842
6851
|
url: { default: "//vtj.pro/help/index.html" }
|
|
6843
6852
|
},
|
|
6844
|
-
setup(
|
|
6845
|
-
const t =
|
|
6853
|
+
setup(i, { expose: e }) {
|
|
6854
|
+
const t = i, l = k();
|
|
6846
6855
|
let a = null;
|
|
6847
6856
|
const o = k(Symbol()), s = () => {
|
|
6848
6857
|
o.value = Symbol();
|
|
@@ -6855,7 +6864,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
6855
6864
|
const r = () => {
|
|
6856
6865
|
a?.close();
|
|
6857
6866
|
};
|
|
6858
|
-
return e({ refresh: s }), (
|
|
6867
|
+
return e({ refresh: s }), (u, g) => (d(), y(n(U), {
|
|
6859
6868
|
class: "v-docs-widget",
|
|
6860
6869
|
size: "small",
|
|
6861
6870
|
fit: "",
|
|
@@ -6870,27 +6879,27 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
6870
6879
|
ref: "frame",
|
|
6871
6880
|
src: t.url,
|
|
6872
6881
|
onLoad: r
|
|
6873
|
-
}, null, 40,
|
|
6882
|
+
}, null, 40, Ii))
|
|
6874
6883
|
]),
|
|
6875
6884
|
_: 1
|
|
6876
6885
|
}, 512));
|
|
6877
6886
|
}
|
|
6878
|
-
}), On = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAUAAAAEACAYAAADCyK/GAAAAAXNSR0IArs4c6QAAIABJREFUeF7tfWmgXFWZ7Vq7bgKCYCvdiGmgAbEVxREEob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vD3jqijgDdCFSgej7yOMc01EBR2HsHaOCxJ7jtVUwBugA3Vnw46AONABqitRFPgWhLzHNd6eb3UU8AboQK3ZsM+AWM8BqitS/IFCs51jnD3diingDbDsBW8u25Wq3Vx2mqvyI/hZG/IE13h7vtVSwBtg2evtqAEKdh+EQ9eWXV7Pr9oKeAMse/3dNMDfaTK3xCI+U3Z5Pb9qK+ANsOz1r2syTacDzLplp/oCP1Jt26oFrvD1PKurgDdAB2pvgugywZ3DxEUehRYvcEBaT7HiCngDdGEBOHYbLMNtMMyfuSCt51htBbwBulL/RvQRkp8pPV3hdrXNzqXn6Ql6BQB4A3RpGTT1L5Q+DOCAstKmdLpt104pKz/PyyuwogLeAF1cD3W9BbTTCLMroGkgNihLGhLfiTZvKgsfz8MrMJ4C3gBdXx8z9XKMYjcDO03krgDeUGBKD+kJboUlHC2Qgw/tFehaAW+AXUvlyMCmtofFbhz7ZRgbYm6fzxBaZMPawY4o5Wl6BfwzwIFeA3W9DCba26A2TbEhAq/JMl+B70fIS7OM4bG9Amkq4H8Bpqlm2bECvQ2wexNmWufZIWDSpCxyS7T4YJqYHssrkKUC3gCzVLfM2PtqA6wb7W3IvQTGZrhFErqkFthW7eQkGH6uVyBvBbwB5q14WeONvVnem4wPMNfU3mjyh7KYihE+3ds8P9orUKwC3gCL1b+c0WdrfTyPvQzt3gL3BjBl7UR5k4j3o8WHypmMZ+UVGGf1enG8AhMqMENvQhT/OuReADYDsCnImyVcDYtLMMKlE2L4AV6BEirw/wBT9ySzG22TjAAAAABJRU5ErkJggg==", Bi = { class: "v-about-widget" }, Ri = { class: "v-about-widget__logo" }, $i = ["src"], Ti = /* @__PURE__ */ V("div", { class: "v-about-widget__name" }, "VTJ.PRO", -1), zi = { class: "v-about-widget__version" }, Oi = /* @__PURE__ */ E({
|
|
6887
|
+
}), On = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAUAAAAEACAYAAADCyK/GAAAAAXNSR0IArs4c6QAAIABJREFUeF7tfWmg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ooA3QBcKPePpV9Ku97gLVFfmyKsUcrp7vD3jqijgDdCFSgej7yOMc01EBR2HsHaOCxJ7jtVUwBugA3Vnw46AONABqitRFPgWhLzHNd6eb3UU8AboQK3ZsM+AWM8BqitS/IFCs51jnD3diingDbDsBW8u25Wq3Vx2mqvyI/hZG/IE13h7vtVSwBtg2evtqAEKdh+EQ9eWXV7Pr9oKeAMse/3dNMDfaTK3xCI+U3Z5Pb9qK+ANsOz1r2syTacDzLplp/oCP1Jt26oFrvD1PKurgDdAB2pvgugywZ3DxEUehRYvcEBaT7HiCngDdGEBOHYbLMNtMMyfuSCt51htBbwBulL/RvQRkp8pPV3hdrXNzqXn6Ql6BQB4A3RpGTT1L5Q+DOCAstKmdLpt104pKz/PyyuwogLeAF1cD3W9BbTTCLMroGkgNihLGhLfiTZvKgsfz8MrMJ4C3gBdXx8z9XKMYjcDO03krgDeUGBKD+kJboUlHC2Qgw/tFehaAW+AXUvlyMCmtofFbhz7ZRgbYm6fzxBaZMPawY4o5Wl6BfwzwIFeA3W9DCba26A2TbEhAq/JMl+B70fIS7OM4bG9Amkq4H8Bpqlm2bECvQ2wexNmWufZIWDSpCxyS7T4YJqYHssrkKUC3gCzVLfM2PtqA6wb7W3IvQTGZrhFErqkFthW7eQkGH6uVyBvBbwB5q14WeONvVnem4wPMNfU3mjyh7KYihE+3ds8P9orUKwC3gCL1b+c0WdrfTyPvQzt3gL3BjBl7UR5k4j3o8WHypmMZ+UVGGf1enG8AhMqMENvQhT/OuReADYDsCnImyVcDYtLMMKlE2L4AV6BEirw/wBT9ySzG22TjAAAAABJRU5ErkJggg==", Ri = { class: "v-about-widget" }, $i = { class: "v-about-widget__logo" }, Ti = ["src"], zi = /* @__PURE__ */ V("div", { class: "v-about-widget__name" }, "VTJ.PRO", -1), Oi = { class: "v-about-widget__version" }, Fi = /* @__PURE__ */ E({
|
|
6879
6888
|
name: "AboutWidget",
|
|
6880
6889
|
__name: "index",
|
|
6881
|
-
setup(
|
|
6882
|
-
return (e, t) => (d(), A("div",
|
|
6883
|
-
V("div",
|
|
6884
|
-
V("img", { src: n(On) }, null, 8,
|
|
6890
|
+
setup(i) {
|
|
6891
|
+
return (e, t) => (d(), A("div", Ri, [
|
|
6892
|
+
V("div", $i, [
|
|
6893
|
+
V("img", { src: n(On) }, null, 8, Ti)
|
|
6885
6894
|
]),
|
|
6886
|
-
|
|
6887
|
-
V("div",
|
|
6895
|
+
zi,
|
|
6896
|
+
V("div", Oi, "版本:" + z(n(js)), 1)
|
|
6888
6897
|
]));
|
|
6889
6898
|
}
|
|
6890
|
-
}),
|
|
6899
|
+
}), Ni = /* @__PURE__ */ E({
|
|
6891
6900
|
name: "ProjectConfigWidget",
|
|
6892
6901
|
__name: "index",
|
|
6893
|
-
setup(
|
|
6902
|
+
setup(i) {
|
|
6894
6903
|
const { project: e } = Re(), t = (l) => {
|
|
6895
6904
|
e.value?.setConfig(l);
|
|
6896
6905
|
};
|
|
@@ -6936,35 +6945,35 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
6936
6945
|
}));
|
|
6937
6946
|
}
|
|
6938
6947
|
}), Q = {
|
|
6939
|
-
Logo:
|
|
6940
|
-
EmptyWidget:
|
|
6941
|
-
Switcher:
|
|
6942
|
-
Toolbar:
|
|
6943
|
-
Actions:
|
|
6944
|
-
Pages:
|
|
6945
|
-
Blocks:
|
|
6946
|
-
Components:
|
|
6947
|
-
Outline:
|
|
6948
|
-
History:
|
|
6949
|
-
Apis:
|
|
6950
|
-
Deps:
|
|
6951
|
-
Designer:
|
|
6952
|
-
Scripts:
|
|
6953
|
-
Properties:
|
|
6954
|
-
Events:
|
|
6955
|
-
Css:
|
|
6956
|
-
Directives:
|
|
6957
|
-
Defined:
|
|
6958
|
-
DataSources:
|
|
6959
|
-
Style:
|
|
6960
|
-
Previewer:
|
|
6961
|
-
NodePath:
|
|
6962
|
-
Schema:
|
|
6963
|
-
Raw:
|
|
6964
|
-
Docs:
|
|
6965
|
-
About:
|
|
6966
|
-
ProjectConfig:
|
|
6967
|
-
},
|
|
6948
|
+
Logo: Ys,
|
|
6949
|
+
EmptyWidget: eo,
|
|
6950
|
+
Switcher: lo,
|
|
6951
|
+
Toolbar: so,
|
|
6952
|
+
Actions: io,
|
|
6953
|
+
Pages: zo,
|
|
6954
|
+
Blocks: Fo,
|
|
6955
|
+
Components: Mo,
|
|
6956
|
+
Outline: Lo,
|
|
6957
|
+
History: Uo,
|
|
6958
|
+
Apis: er,
|
|
6959
|
+
Deps: tr,
|
|
6960
|
+
Designer: ar,
|
|
6961
|
+
Scripts: cr,
|
|
6962
|
+
Properties: dr,
|
|
6963
|
+
Events: vr,
|
|
6964
|
+
Css: gr,
|
|
6965
|
+
Directives: fr,
|
|
6966
|
+
Defined: wr,
|
|
6967
|
+
DataSources: Sr,
|
|
6968
|
+
Style: Vi,
|
|
6969
|
+
Previewer: ji,
|
|
6970
|
+
NodePath: Ei,
|
|
6971
|
+
Schema: Pi,
|
|
6972
|
+
Raw: Di,
|
|
6973
|
+
Docs: Bi,
|
|
6974
|
+
About: Fi,
|
|
6975
|
+
ProjectConfig: Ni
|
|
6976
|
+
}, Wi = [
|
|
6968
6977
|
{
|
|
6969
6978
|
name: "Logo",
|
|
6970
6979
|
region: "Brand",
|
|
@@ -7186,7 +7195,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
7186
7195
|
region: "Status",
|
|
7187
7196
|
component: Q.NodePath
|
|
7188
7197
|
}
|
|
7189
|
-
],
|
|
7198
|
+
], Ji = [
|
|
7190
7199
|
{
|
|
7191
7200
|
package: "vue",
|
|
7192
7201
|
version: "latest",
|
|
@@ -7316,7 +7325,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
7316
7325
|
official: !0,
|
|
7317
7326
|
enabled: !1
|
|
7318
7327
|
}
|
|
7319
|
-
],
|
|
7328
|
+
], Mi = [
|
|
7320
7329
|
{
|
|
7321
7330
|
id: "html",
|
|
7322
7331
|
category: "HTML"
|
|
@@ -7329,7 +7338,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
7329
7338
|
id: "components",
|
|
7330
7339
|
category: "内置组件"
|
|
7331
7340
|
}
|
|
7332
|
-
],
|
|
7341
|
+
], Li = [
|
|
7333
7342
|
{
|
|
7334
7343
|
name: "div",
|
|
7335
7344
|
label: "容器",
|
|
@@ -7462,8 +7471,8 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
7462
7471
|
children: "默认插槽内容"
|
|
7463
7472
|
}
|
|
7464
7473
|
}
|
|
7465
|
-
],
|
|
7466
|
-
...
|
|
7474
|
+
], Ui = [
|
|
7475
|
+
...Li,
|
|
7467
7476
|
{
|
|
7468
7477
|
name: "Transition",
|
|
7469
7478
|
label: "过渡效果",
|
|
@@ -7803,31 +7812,31 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
7803
7812
|
}
|
|
7804
7813
|
}
|
|
7805
7814
|
}
|
|
7806
|
-
],
|
|
7815
|
+
], qi = [
|
|
7807
7816
|
{
|
|
7808
7817
|
name: yt,
|
|
7809
7818
|
version: "latest",
|
|
7810
7819
|
label: "内置",
|
|
7811
7820
|
library: yt,
|
|
7812
7821
|
order: 0,
|
|
7813
|
-
categories:
|
|
7814
|
-
components:
|
|
7822
|
+
categories: Mi,
|
|
7823
|
+
components: Ui
|
|
7815
7824
|
}
|
|
7816
|
-
],
|
|
7825
|
+
], Hi = /* @__PURE__ */ E({
|
|
7817
7826
|
name: "StringSetter",
|
|
7818
7827
|
__name: "string",
|
|
7819
|
-
setup(
|
|
7828
|
+
setup(i) {
|
|
7820
7829
|
return (e, t) => (d(), y(n(ye), re({ clearable: "" }, e.$attrs), null, 16));
|
|
7821
7830
|
}
|
|
7822
|
-
}),
|
|
7831
|
+
}), Gi = /* @__PURE__ */ E({
|
|
7823
7832
|
name: "BooleanSetter",
|
|
7824
7833
|
__name: "boolean",
|
|
7825
|
-
setup(
|
|
7834
|
+
setup(i) {
|
|
7826
7835
|
return (e, t) => (d(), y(n(cn), re(e.$attrs, {
|
|
7827
7836
|
"model-value": !!e.$attrs.modelValue
|
|
7828
7837
|
}), null, 16, ["model-value"]));
|
|
7829
7838
|
}
|
|
7830
|
-
}),
|
|
7839
|
+
}), Xi = "{{", Qi = "}}", Ki = /* @__PURE__ */ E({
|
|
7831
7840
|
name: "ExpressionSetter",
|
|
7832
7841
|
__name: "expression",
|
|
7833
7842
|
props: {
|
|
@@ -7835,50 +7844,50 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
7835
7844
|
context: {}
|
|
7836
7845
|
},
|
|
7837
7846
|
emits: ["change"],
|
|
7838
|
-
setup(
|
|
7839
|
-
const t = (
|
|
7847
|
+
setup(i, { emit: e }) {
|
|
7848
|
+
const t = (u = "") => ({
|
|
7840
7849
|
type: "JSExpression",
|
|
7841
|
-
value: Le(
|
|
7842
|
-
}), l =
|
|
7850
|
+
value: Le(u) ? u.value : u
|
|
7851
|
+
}), l = i, a = e, o = (u) => oe(u, l.context, !0), s = k(t(l.modelValue).value);
|
|
7843
7852
|
q(
|
|
7844
7853
|
() => l.modelValue,
|
|
7845
|
-
(
|
|
7846
|
-
s.value = t(
|
|
7854
|
+
(u) => {
|
|
7855
|
+
s.value = t(u).value;
|
|
7847
7856
|
},
|
|
7848
7857
|
{
|
|
7849
7858
|
immediate: !0
|
|
7850
7859
|
}
|
|
7851
7860
|
);
|
|
7852
|
-
const r = (
|
|
7861
|
+
const r = (u) => {
|
|
7853
7862
|
const g = {
|
|
7854
7863
|
type: "JSExpression",
|
|
7855
|
-
value:
|
|
7864
|
+
value: u
|
|
7856
7865
|
};
|
|
7857
7866
|
o(g) && a("change", g);
|
|
7858
7867
|
};
|
|
7859
|
-
return (
|
|
7868
|
+
return (u, g) => (d(), y(n(ye), {
|
|
7860
7869
|
class: "v-expression-setter",
|
|
7861
7870
|
modelValue: s.value,
|
|
7862
7871
|
"onUpdate:modelValue": g[0] || (g[0] = (p) => s.value = p),
|
|
7863
7872
|
onChange: r
|
|
7864
7873
|
}, {
|
|
7865
7874
|
prefix: h(() => [
|
|
7866
|
-
G(z(
|
|
7875
|
+
G(z(Xi))
|
|
7867
7876
|
]),
|
|
7868
7877
|
suffix: h(() => [
|
|
7869
|
-
G(z(
|
|
7878
|
+
G(z(Qi))
|
|
7870
7879
|
]),
|
|
7871
7880
|
_: 1
|
|
7872
7881
|
}, 8, ["modelValue"]));
|
|
7873
7882
|
}
|
|
7874
|
-
}),
|
|
7883
|
+
}), Yi = /* @__PURE__ */ E({
|
|
7875
7884
|
name: "SelectSetter",
|
|
7876
7885
|
__name: "select",
|
|
7877
7886
|
props: {
|
|
7878
7887
|
options: { default: () => [] }
|
|
7879
7888
|
},
|
|
7880
|
-
setup(
|
|
7881
|
-
const e =
|
|
7889
|
+
setup(i) {
|
|
7890
|
+
const e = i;
|
|
7882
7891
|
return (t, l) => (d(), y(n(al), re({ clearable: "" }, t.$attrs), {
|
|
7883
7892
|
default: h(() => [
|
|
7884
7893
|
(d(!0), A(T, null, N(e.options, (a) => (d(), y(n(sl), re({
|
|
@@ -7889,15 +7898,15 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
7889
7898
|
_: 1
|
|
7890
7899
|
}, 16));
|
|
7891
7900
|
}
|
|
7892
|
-
}),
|
|
7901
|
+
}), Zi = /* @__PURE__ */ E({
|
|
7893
7902
|
name: "NumberSetter",
|
|
7894
7903
|
__name: "number",
|
|
7895
7904
|
props: {
|
|
7896
7905
|
modelValue: {}
|
|
7897
7906
|
},
|
|
7898
7907
|
emits: ["change"],
|
|
7899
|
-
setup(
|
|
7900
|
-
const t =
|
|
7908
|
+
setup(i, { emit: e }) {
|
|
7909
|
+
const t = i, l = e, a = S(() => Le(t.modelValue) ? void 0 : Number(t.modelValue || 0)), o = (s) => {
|
|
7901
7910
|
l("change", s);
|
|
7902
7911
|
};
|
|
7903
7912
|
return (s, r) => (d(), y(n(ol), re({
|
|
@@ -7906,13 +7915,13 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
7906
7915
|
"model-value": a.value
|
|
7907
7916
|
}, s.$attrs, { onChange: o }), null, 16, ["model-value"]));
|
|
7908
7917
|
}
|
|
7909
|
-
}),
|
|
7918
|
+
}), eu = /* @__PURE__ */ E({
|
|
7910
7919
|
name: "ColorSetter",
|
|
7911
7920
|
__name: "color",
|
|
7912
|
-
setup(
|
|
7921
|
+
setup(i) {
|
|
7913
7922
|
return (e, t) => (d(), y(n(rl), en(tn(e.$attrs)), null, 16));
|
|
7914
7923
|
}
|
|
7915
|
-
}),
|
|
7924
|
+
}), tu = /* @__PURE__ */ E({
|
|
7916
7925
|
name: "JsonSetter",
|
|
7917
7926
|
__name: "json",
|
|
7918
7927
|
props: {
|
|
@@ -7920,10 +7929,10 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
7920
7929
|
type: { default: "JSON" }
|
|
7921
7930
|
},
|
|
7922
7931
|
emits: ["change"],
|
|
7923
|
-
setup(
|
|
7924
|
-
const t =
|
|
7932
|
+
setup(i, { emit: e }) {
|
|
7933
|
+
const t = i, l = k(), a = k(
|
|
7925
7934
|
typeof t.modelValue == "object" ? JSON.stringify(t.modelValue, null, 2) : void 0
|
|
7926
|
-
), o = S(() => !!a.value), s = k(!1), r = e,
|
|
7935
|
+
), o = S(() => !!a.value), s = k(!1), r = e, u = (f) => {
|
|
7927
7936
|
let b = !0;
|
|
7928
7937
|
try {
|
|
7929
7938
|
const c = JSON.parse(f);
|
|
@@ -7944,7 +7953,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
7944
7953
|
const f = l.value?.getEditor();
|
|
7945
7954
|
if (f) {
|
|
7946
7955
|
const b = f.getValue();
|
|
7947
|
-
|
|
7956
|
+
u(b) && (a.value = b, r("change", JSON.parse(b)), s.value = !1);
|
|
7948
7957
|
}
|
|
7949
7958
|
}, p = () => {
|
|
7950
7959
|
a.value = "", r("change", void 0), s.value = !1;
|
|
@@ -7999,7 +8008,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
7999
8008
|
}, 8, ["modelValue", "title"])) : j("", !0)
|
|
8000
8009
|
], 2));
|
|
8001
8010
|
}
|
|
8002
|
-
}),
|
|
8011
|
+
}), nu = /* @__PURE__ */ E({
|
|
8003
8012
|
name: "FunctionSetter",
|
|
8004
8013
|
__name: "function",
|
|
8005
8014
|
props: {
|
|
@@ -8009,8 +8018,8 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
8009
8018
|
}) }
|
|
8010
8019
|
},
|
|
8011
8020
|
emits: ["change"],
|
|
8012
|
-
setup(
|
|
8013
|
-
const t =
|
|
8021
|
+
setup(i, { emit: e }) {
|
|
8022
|
+
const t = i, l = k(), a = k(t.modelValue.value), o = k(!1), s = S(() => !!a.value), r = e, u = () => {
|
|
8014
8023
|
const m = l.value?.getEditor();
|
|
8015
8024
|
if (m) {
|
|
8016
8025
|
const f = m.getValue(), b = {
|
|
@@ -8043,7 +8052,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
8043
8052
|
cancel: "",
|
|
8044
8053
|
submit: "",
|
|
8045
8054
|
clear: "",
|
|
8046
|
-
onSubmit:
|
|
8055
|
+
onSubmit: u,
|
|
8047
8056
|
onClear: g
|
|
8048
8057
|
}, {
|
|
8049
8058
|
extra: h(() => [
|
|
@@ -8071,14 +8080,14 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
8071
8080
|
}, 8, ["modelValue"])) : j("", !0)
|
|
8072
8081
|
], 2));
|
|
8073
8082
|
}
|
|
8074
|
-
}),
|
|
8083
|
+
}), lu = /* @__PURE__ */ E({
|
|
8075
8084
|
name: "RadioSetter",
|
|
8076
8085
|
__name: "radio",
|
|
8077
8086
|
props: {
|
|
8078
8087
|
options: { default: () => [] }
|
|
8079
8088
|
},
|
|
8080
|
-
setup(
|
|
8081
|
-
const e =
|
|
8089
|
+
setup(i) {
|
|
8090
|
+
const e = i;
|
|
8082
8091
|
return (t, l) => (d(), y(n(sn), re({
|
|
8083
8092
|
class: "v-radio-setter",
|
|
8084
8093
|
size: "small"
|
|
@@ -8103,7 +8112,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
8103
8112
|
_: 1
|
|
8104
8113
|
}, 16));
|
|
8105
8114
|
}
|
|
8106
|
-
}),
|
|
8115
|
+
}), au = ["label", "title", "onClick"], su = /* @__PURE__ */ E({
|
|
8107
8116
|
name: "TagSetter",
|
|
8108
8117
|
__name: "tag",
|
|
8109
8118
|
props: {
|
|
@@ -8111,8 +8120,8 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
8111
8120
|
modelValue: {}
|
|
8112
8121
|
},
|
|
8113
8122
|
emits: ["update:modelValue", "change"],
|
|
8114
|
-
setup(
|
|
8115
|
-
const t =
|
|
8123
|
+
setup(i, { emit: e }) {
|
|
8124
|
+
const t = i, l = e, a = (o) => {
|
|
8116
8125
|
o.value === t.modelValue ? (l("update:modelValue", void 0), l("change", void 0)) : (l("update:modelValue", o.value), l("change", o.value));
|
|
8117
8126
|
};
|
|
8118
8127
|
return (o, s) => (d(), A("div", re({
|
|
@@ -8125,7 +8134,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
8125
8134
|
class: H({
|
|
8126
8135
|
"is-active": t.modelValue === r.value
|
|
8127
8136
|
}),
|
|
8128
|
-
onClick: (
|
|
8137
|
+
onClick: (u) => a(r)
|
|
8129
8138
|
}, [
|
|
8130
8139
|
r.svg ? (d(), y(n(xe), {
|
|
8131
8140
|
key: 0,
|
|
@@ -8134,7 +8143,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
8134
8143
|
}, null, 8, ["src"])) : (d(), A(T, { key: 1 }, [
|
|
8135
8144
|
G(z(r.label), 1)
|
|
8136
8145
|
], 64))
|
|
8137
|
-
], 10,
|
|
8146
|
+
], 10, au))), 256))
|
|
8138
8147
|
], 16));
|
|
8139
8148
|
}
|
|
8140
8149
|
}), Fn = /* @__PURE__ */ E({
|
|
@@ -8144,28 +8153,28 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
8144
8153
|
modelValue: {}
|
|
8145
8154
|
},
|
|
8146
8155
|
emits: ["change"],
|
|
8147
|
-
setup(
|
|
8148
|
-
const t =
|
|
8149
|
-
a.value = !!Number(
|
|
8156
|
+
setup(i, { emit: e }) {
|
|
8157
|
+
const t = i, l = e, a = k(!0), o = S(() => a.value ? "px" : void 0), s = k(t.modelValue), r = (u) => {
|
|
8158
|
+
a.value = !!Number(u);
|
|
8150
8159
|
};
|
|
8151
|
-
return q(s, (
|
|
8152
|
-
l("change",
|
|
8160
|
+
return q(s, (u) => {
|
|
8161
|
+
l("change", u);
|
|
8153
8162
|
}), q(
|
|
8154
8163
|
() => t.modelValue,
|
|
8155
|
-
(
|
|
8156
|
-
|
|
8164
|
+
(u) => {
|
|
8165
|
+
u && (a.value = u.endsWith("px"), s.value = u);
|
|
8157
8166
|
},
|
|
8158
8167
|
{ immediate: !0 }
|
|
8159
|
-
), (
|
|
8168
|
+
), (u, g) => (d(), y(n(vn), re({
|
|
8160
8169
|
clearable: "",
|
|
8161
8170
|
unit: o.value,
|
|
8162
8171
|
"with-unit": !!o.value,
|
|
8163
8172
|
modelValue: s.value,
|
|
8164
8173
|
"onUpdate:modelValue": g[0] || (g[0] = (p) => s.value = p),
|
|
8165
8174
|
onChange: r
|
|
8166
|
-
},
|
|
8175
|
+
}, u.$attrs), null, 16, ["unit", "with-unit", "modelValue"]));
|
|
8167
8176
|
}
|
|
8168
|
-
}),
|
|
8177
|
+
}), ou = { class: "v-image-setter__plus" }, ru = /* @__PURE__ */ E({
|
|
8169
8178
|
name: "ImageSetter",
|
|
8170
8179
|
__name: "image",
|
|
8171
8180
|
props: {
|
|
@@ -8173,24 +8182,24 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
8173
8182
|
limit: { default: 1 }
|
|
8174
8183
|
},
|
|
8175
8184
|
emits: ["change", "update:modelValue"],
|
|
8176
|
-
setup(
|
|
8177
|
-
const t =
|
|
8178
|
-
a.value = [{ name:
|
|
8185
|
+
setup(i, { emit: e }) {
|
|
8186
|
+
const t = i, l = e, a = k([]), o = S(() => a.value.length < t.limit), s = (u) => u.type.includes("image") ? (yl(u).then((g) => {
|
|
8187
|
+
a.value = [{ name: u.name, url: g }];
|
|
8179
8188
|
}), !1) : (tt.error("只能上传图片"), !1), r = () => {
|
|
8180
8189
|
a.value = [];
|
|
8181
8190
|
};
|
|
8182
8191
|
return q(
|
|
8183
8192
|
() => t.modelValue,
|
|
8184
|
-
(
|
|
8185
|
-
a.value =
|
|
8193
|
+
(u) => {
|
|
8194
|
+
a.value = u ? [{ name: "", url: u }] : [];
|
|
8186
8195
|
},
|
|
8187
8196
|
{
|
|
8188
8197
|
immediate: !0
|
|
8189
8198
|
}
|
|
8190
8199
|
), q(a, () => {
|
|
8191
|
-
const
|
|
8192
|
-
l("change",
|
|
8193
|
-
}), (
|
|
8200
|
+
const u = a.value[0]?.url;
|
|
8201
|
+
l("change", u), l("update:modelValue", u);
|
|
8202
|
+
}), (u, g) => (d(), y(n(il), re({
|
|
8194
8203
|
class: ["v-image-setter", { "v-image-setter--addable": o.value }],
|
|
8195
8204
|
"list-type": "picture-card",
|
|
8196
8205
|
limit: 1,
|
|
@@ -8200,16 +8209,16 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
8200
8209
|
"before-upload": s,
|
|
8201
8210
|
"auto-upload": !0,
|
|
8202
8211
|
"on-remove": r
|
|
8203
|
-
},
|
|
8212
|
+
}, u.$attrs), {
|
|
8204
8213
|
default: h(() => [
|
|
8205
|
-
V("span",
|
|
8214
|
+
V("span", ou, [
|
|
8206
8215
|
v(n(xe), { icon: n(ks) }, null, 8, ["icon"])
|
|
8207
8216
|
])
|
|
8208
8217
|
]),
|
|
8209
8218
|
_: 1
|
|
8210
8219
|
}, 16, ["class", "file-list"]));
|
|
8211
8220
|
}
|
|
8212
|
-
}),
|
|
8221
|
+
}), iu = { class: "v-section-setter" }, uu = /* @__PURE__ */ E({
|
|
8213
8222
|
name: "SectionSetter",
|
|
8214
8223
|
__name: "section",
|
|
8215
8224
|
props: {
|
|
@@ -8217,8 +8226,8 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
8217
8226
|
sections: { default: 4 }
|
|
8218
8227
|
},
|
|
8219
8228
|
emits: ["change"],
|
|
8220
|
-
setup(
|
|
8221
|
-
const t =
|
|
8229
|
+
setup(i, { emit: e }) {
|
|
8230
|
+
const t = i, l = e, a = k(new Array(t.sections).fill(""));
|
|
8222
8231
|
q(
|
|
8223
8232
|
() => t.modelValue,
|
|
8224
8233
|
(s) => {
|
|
@@ -8229,25 +8238,25 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
8229
8238
|
const o = () => {
|
|
8230
8239
|
l("change", a.value.join(" ").trim());
|
|
8231
8240
|
};
|
|
8232
|
-
return (s, r) => (d(), A("div",
|
|
8233
|
-
(d(!0), A(T, null, N(t.sections, (
|
|
8234
|
-
name:
|
|
8235
|
-
modelValue: a.value[
|
|
8236
|
-
"onUpdate:modelValue": (g) => a.value[
|
|
8241
|
+
return (s, r) => (d(), A("div", iu, [
|
|
8242
|
+
(d(!0), A(T, null, N(t.sections, (u) => (d(), y(Fn, {
|
|
8243
|
+
name: u - 1,
|
|
8244
|
+
modelValue: a.value[u - 1],
|
|
8245
|
+
"onUpdate:modelValue": (g) => a.value[u - 1] = g,
|
|
8237
8246
|
onChange: o,
|
|
8238
8247
|
class: "v-section-setter__item"
|
|
8239
8248
|
}, null, 8, ["name", "modelValue", "onUpdate:modelValue"]))), 256))
|
|
8240
8249
|
]));
|
|
8241
8250
|
}
|
|
8242
|
-
}),
|
|
8251
|
+
}), cu = { class: "v-slider-setter" }, du = /* @__PURE__ */ E({
|
|
8243
8252
|
name: "SliderSetter",
|
|
8244
8253
|
__name: "slider",
|
|
8245
8254
|
props: {
|
|
8246
8255
|
modelValue: { default: void 0 }
|
|
8247
8256
|
},
|
|
8248
8257
|
emits: ["change", "update:modelValue"],
|
|
8249
|
-
setup(
|
|
8250
|
-
const t =
|
|
8258
|
+
setup(i, { emit: e }) {
|
|
8259
|
+
const t = i, l = e, a = k();
|
|
8251
8260
|
q(
|
|
8252
8261
|
() => t.modelValue,
|
|
8253
8262
|
(s) => {
|
|
@@ -8260,10 +8269,10 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
8260
8269
|
const o = () => {
|
|
8261
8270
|
a.value = void 0, l("change", void 0), l("update:modelValue", void 0);
|
|
8262
8271
|
};
|
|
8263
|
-
return (s, r) => (d(), A("div",
|
|
8272
|
+
return (s, r) => (d(), A("div", cu, [
|
|
8264
8273
|
v(n(ul), re({ size: "small" }, s.$attrs, {
|
|
8265
8274
|
modelValue: a.value,
|
|
8266
|
-
"onUpdate:modelValue": r[0] || (r[0] = (
|
|
8275
|
+
"onUpdate:modelValue": r[0] || (r[0] = (u) => a.value = u)
|
|
8267
8276
|
}), null, 16, ["modelValue"]),
|
|
8268
8277
|
v(n(xe), {
|
|
8269
8278
|
onClick: o,
|
|
@@ -8274,27 +8283,27 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
8274
8283
|
]));
|
|
8275
8284
|
}
|
|
8276
8285
|
}), Z = {
|
|
8277
|
-
StringSetter:
|
|
8278
|
-
BooleanSetter:
|
|
8279
|
-
ExpressionSetter:
|
|
8280
|
-
SelectSetter:
|
|
8281
|
-
NumberSetter:
|
|
8282
|
-
ColorSetter:
|
|
8286
|
+
StringSetter: Hi,
|
|
8287
|
+
BooleanSetter: Gi,
|
|
8288
|
+
ExpressionSetter: Ki,
|
|
8289
|
+
SelectSetter: Yi,
|
|
8290
|
+
NumberSetter: Zi,
|
|
8291
|
+
ColorSetter: eu,
|
|
8283
8292
|
IconSetter: Rn,
|
|
8284
|
-
JsonSetter:
|
|
8285
|
-
FunctionSetter:
|
|
8286
|
-
RadioSetter:
|
|
8287
|
-
TagSetter:
|
|
8293
|
+
JsonSetter: tu,
|
|
8294
|
+
FunctionSetter: nu,
|
|
8295
|
+
RadioSetter: lu,
|
|
8296
|
+
TagSetter: su,
|
|
8288
8297
|
SizeSetter: Fn,
|
|
8289
|
-
ImageSetter:
|
|
8290
|
-
SectionSetter:
|
|
8291
|
-
SliderSetter:
|
|
8298
|
+
ImageSetter: ru,
|
|
8299
|
+
SectionSetter: uu,
|
|
8300
|
+
SliderSetter: du,
|
|
8292
8301
|
FileSetter: zt
|
|
8293
|
-
},
|
|
8302
|
+
}, pu = {
|
|
8294
8303
|
name: "StringSetter",
|
|
8295
8304
|
component: Z.StringSetter,
|
|
8296
8305
|
type: "String"
|
|
8297
|
-
},
|
|
8306
|
+
}, mu = [
|
|
8298
8307
|
{
|
|
8299
8308
|
name: "InputSetter",
|
|
8300
8309
|
component: Z.StringSetter,
|
|
@@ -8427,14 +8436,14 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
8427
8436
|
}
|
|
8428
8437
|
}
|
|
8429
8438
|
];
|
|
8430
|
-
class
|
|
8439
|
+
class vu {
|
|
8431
8440
|
widgets = {};
|
|
8432
8441
|
constructor() {
|
|
8433
8442
|
this.widgets = this.createWidgets();
|
|
8434
8443
|
}
|
|
8435
8444
|
createWidgets() {
|
|
8436
8445
|
const e = {};
|
|
8437
|
-
for (const t of
|
|
8446
|
+
for (const t of Wi)
|
|
8438
8447
|
e[t.name] = t;
|
|
8439
8448
|
return e;
|
|
8440
8449
|
}
|
|
@@ -8480,9 +8489,9 @@ class mu {
|
|
|
8480
8489
|
).map((a, o) => (a.order = a.order ?? o, a)).sort((a, o) => (a.order ?? 0) - (o.order ?? 0)) : l;
|
|
8481
8490
|
}
|
|
8482
8491
|
}
|
|
8483
|
-
const Nn = new
|
|
8484
|
-
class
|
|
8485
|
-
constructor(e =
|
|
8492
|
+
const Nn = new vu();
|
|
8493
|
+
class gu {
|
|
8494
|
+
constructor(e = Ji) {
|
|
8486
8495
|
this.deps = e;
|
|
8487
8496
|
}
|
|
8488
8497
|
/**
|
|
@@ -8537,16 +8546,16 @@ class vu {
|
|
|
8537
8546
|
t > -1 && this.deps.splice(t, 1);
|
|
8538
8547
|
}
|
|
8539
8548
|
}
|
|
8540
|
-
const
|
|
8541
|
-
class
|
|
8549
|
+
const fu = new gu();
|
|
8550
|
+
class hu {
|
|
8542
8551
|
setters = {};
|
|
8543
|
-
defaultSetter =
|
|
8552
|
+
defaultSetter = pu;
|
|
8544
8553
|
constructor() {
|
|
8545
8554
|
this.setters = this.createSetters();
|
|
8546
8555
|
}
|
|
8547
8556
|
createSetters() {
|
|
8548
8557
|
const e = {};
|
|
8549
|
-
for (const t of
|
|
8558
|
+
for (const t of mu)
|
|
8550
8559
|
e[t.name] = t;
|
|
8551
8560
|
return e;
|
|
8552
8561
|
}
|
|
@@ -8583,11 +8592,11 @@ class fu {
|
|
|
8583
8592
|
return Object.values(this.setters).filter((l) => l.type === e).map((l) => l.name);
|
|
8584
8593
|
}
|
|
8585
8594
|
}
|
|
8586
|
-
const Ze = new
|
|
8587
|
-
function
|
|
8595
|
+
const Ze = new hu();
|
|
8596
|
+
function bu(i) {
|
|
8588
8597
|
return new Promise((e, t) => {
|
|
8589
|
-
const l = ln(
|
|
8590
|
-
slots:
|
|
8598
|
+
const l = ln(To, {
|
|
8599
|
+
slots: i,
|
|
8591
8600
|
onClose: () => {
|
|
8592
8601
|
l.unmount(), t(null);
|
|
8593
8602
|
},
|
|
@@ -8598,7 +8607,7 @@ function hu(u) {
|
|
|
8598
8607
|
l.mount(document.createElement("div"));
|
|
8599
8608
|
});
|
|
8600
8609
|
}
|
|
8601
|
-
class
|
|
8610
|
+
class yu {
|
|
8602
8611
|
constructor(e, t, l) {
|
|
8603
8612
|
this.engine = e, this.contentWindow = t, this.dependencies = l, this.document = this.contentWindow.document, this.bindEvents(t, this.document);
|
|
8604
8613
|
}
|
|
@@ -8676,7 +8685,7 @@ class bu {
|
|
|
8676
8685
|
return;
|
|
8677
8686
|
if (p.length === 1)
|
|
8678
8687
|
return p[0];
|
|
8679
|
-
const m = await
|
|
8688
|
+
const m = await bu(p).catch(() => null);
|
|
8680
8689
|
if (!(m && m.name === "default" && (!m.params || m.params?.length === 0)))
|
|
8681
8690
|
return m;
|
|
8682
8691
|
}
|
|
@@ -8690,8 +8699,8 @@ class bu {
|
|
|
8690
8699
|
e.preventDefault();
|
|
8691
8700
|
const { engine: t, dragging: l, dropping: a, draggingNode: o } = this, s = t.current.value, r = this.getHelper(e);
|
|
8692
8701
|
if (!s || !l || !a.value || !r) return;
|
|
8693
|
-
const
|
|
8694
|
-
if (!await this.allowDrop(
|
|
8702
|
+
const u = r.model, g = a.value.type;
|
|
8703
|
+
if (!await this.allowDrop(u, g)) return;
|
|
8695
8704
|
let p;
|
|
8696
8705
|
if (o)
|
|
8697
8706
|
p = o;
|
|
@@ -8699,15 +8708,15 @@ class bu {
|
|
|
8699
8708
|
const m = this.createNodeDsl(l);
|
|
8700
8709
|
p = new Wt(m);
|
|
8701
8710
|
}
|
|
8702
|
-
if (ee(
|
|
8711
|
+
if (ee(u))
|
|
8703
8712
|
o ? (delete p.slot, s.move(p, void 0, "inner")) : s.addNode(p, void 0, g);
|
|
8704
8713
|
else {
|
|
8705
|
-
const m = await this.getDropSlot(g === "inner" ?
|
|
8714
|
+
const m = await this.getDropSlot(g === "inner" ? u : u.parent);
|
|
8706
8715
|
if (m === null) {
|
|
8707
8716
|
this.dropping.value = null;
|
|
8708
8717
|
return;
|
|
8709
8718
|
}
|
|
8710
|
-
p.slot = m, o ? s.move(p,
|
|
8719
|
+
p.slot = m, o ? s.move(p, u, g) : s.addNode(p, u, g);
|
|
8711
8720
|
}
|
|
8712
8721
|
this.dropping.value = null, t.simulator.refresh(), t.assets.clearCaches();
|
|
8713
8722
|
}
|
|
@@ -8859,9 +8868,9 @@ class bu {
|
|
|
8859
8868
|
if (ee(e)) return !0;
|
|
8860
8869
|
if (o && e.id === o.id || o && o.isChild(e))
|
|
8861
8870
|
return !1;
|
|
8862
|
-
const r = a.assets.componentMap,
|
|
8871
|
+
const r = a.assets.componentMap, u = t !== "inner" && e.parent || e, g = await a.assets.getBlockMaterial(u.from) || r.get(u.name);
|
|
8863
8872
|
if (!g) return !1;
|
|
8864
|
-
const { parentIncludes: p = !0, name: m } = l, { childIncludes: f = !0 } = g, b = p === !0 || Array.isArray(p) && p.includes(
|
|
8873
|
+
const { parentIncludes: p = !0, name: m } = l, { childIncludes: f = !0 } = g, b = p === !0 || Array.isArray(p) && p.includes(u.name), c = f === !0 || Array.isArray(f) && f.includes(m);
|
|
8865
8874
|
return b && c;
|
|
8866
8875
|
}
|
|
8867
8876
|
dispose() {
|
|
@@ -8869,7 +8878,7 @@ class bu {
|
|
|
8869
8878
|
this.setSelected(null), this.setHover(null), this.setDragging(null), e && t && this.unbindEvents(e, t), this.document = null;
|
|
8870
8879
|
}
|
|
8871
8880
|
}
|
|
8872
|
-
class
|
|
8881
|
+
class _u {
|
|
8873
8882
|
constructor(e, t, l, a = null) {
|
|
8874
8883
|
this.env = e, this.service = t, this.provider = l, this.designer = a, this.nodeChange = this.__onNodeChange.bind(this), this.blockChange = this.__onBlockChange.bind(this);
|
|
8875
8884
|
}
|
|
@@ -8890,17 +8899,17 @@ class yu {
|
|
|
8890
8899
|
}
|
|
8891
8900
|
e.use(this.provider);
|
|
8892
8901
|
const s = Object.entries(t);
|
|
8893
|
-
Object.assign(e.config.globalProperties, l), s.forEach(([r,
|
|
8894
|
-
if (typeof
|
|
8902
|
+
Object.assign(e.config.globalProperties, l), s.forEach(([r, u]) => {
|
|
8903
|
+
if (typeof u == "function" || typeof u.install == "function") {
|
|
8895
8904
|
let g = {};
|
|
8896
8905
|
const p = o[r];
|
|
8897
|
-
p && (g.locale = p), e?.use(
|
|
8906
|
+
p && (g.locale = p), e?.use(u, g);
|
|
8898
8907
|
}
|
|
8899
8908
|
});
|
|
8900
8909
|
}
|
|
8901
8910
|
render(e) {
|
|
8902
|
-
const { window: t, container: l, library: a, Vue: o, components: s, apis: r } = this.env,
|
|
8903
|
-
|
|
8911
|
+
const { window: t, container: l, library: a, Vue: o, components: s, apis: r } = this.env, u = t.document.createElement("div");
|
|
8912
|
+
u.id = "app", l.appendChild(u), this.dsl = o.reactive(e.toDsl());
|
|
8904
8913
|
const { renderer: g, context: p } = this.provider.createDslRenderer(this.dsl, {
|
|
8905
8914
|
window: t,
|
|
8906
8915
|
mode: yn.Design,
|
|
@@ -8915,7 +8924,7 @@ class yu {
|
|
|
8915
8924
|
});
|
|
8916
8925
|
this.app = o.createApp(m), this.install(this.app);
|
|
8917
8926
|
try {
|
|
8918
|
-
this.app.mount(
|
|
8927
|
+
this.app.mount(u);
|
|
8919
8928
|
} catch (f) {
|
|
8920
8929
|
ne(f.message || "未知错误", "运行时错误"), console.error(f);
|
|
8921
8930
|
}
|
|
@@ -8948,7 +8957,7 @@ class yu {
|
|
|
8948
8957
|
this.dispose(), this.render(e), this.designer?.selected.value && this.designer.setSelected(e);
|
|
8949
8958
|
}
|
|
8950
8959
|
}
|
|
8951
|
-
class
|
|
8960
|
+
class wu extends bn {
|
|
8952
8961
|
contentWindow = null;
|
|
8953
8962
|
renderer = null;
|
|
8954
8963
|
designer = gt(null);
|
|
@@ -8965,7 +8974,7 @@ class _u extends bn {
|
|
|
8965
8974
|
q(
|
|
8966
8975
|
[e, t, l, a, o],
|
|
8967
8976
|
() => {
|
|
8968
|
-
e.value && t.value.length && (this.resetReady(), this.renderer?.dispose(), this.renderer = null, this.setup(e.value, t.value), this.contentWindow && (this.designer.value?.dispose(), this.designer.value = new
|
|
8977
|
+
e.value && t.value.length && (this.resetReady(), this.renderer?.dispose(), this.renderer = null, this.setup(e.value, t.value), this.contentWindow && (this.designer.value?.dispose(), this.designer.value = new yu(
|
|
8969
8978
|
this.engine,
|
|
8970
8979
|
this.contentWindow,
|
|
8971
8980
|
t
|
|
@@ -8987,7 +8996,7 @@ class _u extends bn {
|
|
|
8987
8996
|
scripts: o,
|
|
8988
8997
|
css: s,
|
|
8989
8998
|
materials: r,
|
|
8990
|
-
libraryExports:
|
|
8999
|
+
libraryExports: u,
|
|
8991
9000
|
materialExports: g,
|
|
8992
9001
|
materialMapLibrary: p,
|
|
8993
9002
|
libraryLocaleMap: m
|
|
@@ -9016,7 +9025,7 @@ class _u extends bn {
|
|
|
9016
9025
|
<body>
|
|
9017
9026
|
</body>
|
|
9018
9027
|
<script>
|
|
9019
|
-
__simulator__.emitReady(${JSON.stringify(
|
|
9028
|
+
__simulator__.emitReady(${JSON.stringify(u)},
|
|
9020
9029
|
${JSON.stringify(g)},
|
|
9021
9030
|
${JSON.stringify(p)},
|
|
9022
9031
|
${JSON.stringify(m)}
|
|
@@ -9027,7 +9036,7 @@ class _u extends bn {
|
|
|
9027
9036
|
}
|
|
9028
9037
|
async emitReady(e = [], t = [], l = {}, a = {}) {
|
|
9029
9038
|
this.renderer?.dispose(), this.renderer = null;
|
|
9030
|
-
const o = this.contentWindow, { assets: s, service: r, current:
|
|
9039
|
+
const o = this.contentWindow, { assets: s, service: r, current: u, provider: g } = this.engine, p = g.materials || {}, m = [];
|
|
9031
9040
|
for (const b of t) {
|
|
9032
9041
|
const c = p[b] ? (await p[b]()).default : o[b];
|
|
9033
9042
|
m.push(c);
|
|
@@ -9039,14 +9048,14 @@ class _u extends bn {
|
|
|
9039
9048
|
m,
|
|
9040
9049
|
a
|
|
9041
9050
|
);
|
|
9042
|
-
this.renderer = new
|
|
9051
|
+
this.renderer = new _u(f, r, g, this.designer.value), u.value && this.renderer.render(u.value), this.triggerReady();
|
|
9043
9052
|
}
|
|
9044
9053
|
createEnv(e = [], t = {}, l = [], a = {}) {
|
|
9045
|
-
const o = this.contentWindow, { engine: s } = this, { project: r, assets:
|
|
9054
|
+
const o = this.contentWindow, { engine: s } = this, { project: r, assets: u, provider: g } = s, p = e.reduce((C, I) => (C[I] = o[I], C), {}), m = {};
|
|
9046
9055
|
Object.entries(a).forEach(([C, I]) => {
|
|
9047
9056
|
m[C] = o[I];
|
|
9048
9057
|
});
|
|
9049
|
-
const f = {}, { groups: b, componentMap: c } =
|
|
9058
|
+
const f = {}, { groups: b, componentMap: c } = u;
|
|
9050
9059
|
for (const C of b.value) {
|
|
9051
9060
|
const I = C.names || [];
|
|
9052
9061
|
if (C.name === yt)
|
|
@@ -9090,7 +9099,7 @@ class _u extends bn {
|
|
|
9090
9099
|
this.renderer?.dispose(), this.designer.value?.dispose(), this.contentWindow = null, this.renderer = null, this.designer.value = null, this.resetReady();
|
|
9091
9100
|
}
|
|
9092
9101
|
}
|
|
9093
|
-
class
|
|
9102
|
+
class ku {
|
|
9094
9103
|
constructor(e, t) {
|
|
9095
9104
|
this.service = e, this.provider = t;
|
|
9096
9105
|
}
|
|
@@ -9112,7 +9121,7 @@ class wu {
|
|
|
9112
9121
|
parseGroups(e) {
|
|
9113
9122
|
const t = [];
|
|
9114
9123
|
for (let l of e) {
|
|
9115
|
-
const { categories: a, components: o, label: s, name: r, library:
|
|
9124
|
+
const { categories: a, components: o, label: s, name: r, library: u } = l;
|
|
9116
9125
|
if (!a || !o)
|
|
9117
9126
|
continue;
|
|
9118
9127
|
const g = o.filter((b) => !!b.package).map((b) => b.name), p = a.map(
|
|
@@ -9122,7 +9131,7 @@ class wu {
|
|
|
9122
9131
|
label: s || r,
|
|
9123
9132
|
count: m,
|
|
9124
9133
|
names: g,
|
|
9125
|
-
library:
|
|
9134
|
+
library: u,
|
|
9126
9135
|
children: p
|
|
9127
9136
|
};
|
|
9128
9137
|
t.push(f);
|
|
@@ -9130,7 +9139,7 @@ class wu {
|
|
|
9130
9139
|
return t;
|
|
9131
9140
|
}
|
|
9132
9141
|
load(e) {
|
|
9133
|
-
const t = [...
|
|
9142
|
+
const t = [...qi, ...e].filter((l) => !!l);
|
|
9134
9143
|
t.sort((l, a) => l.order - a.order);
|
|
9135
9144
|
for (let l of t)
|
|
9136
9145
|
l.components && (this.components = this.components.concat(l.components));
|
|
@@ -9145,7 +9154,7 @@ class wu {
|
|
|
9145
9154
|
}
|
|
9146
9155
|
if (!l) return null;
|
|
9147
9156
|
l.name = t || l.name;
|
|
9148
|
-
const { id: a, name: o, slots: s, props: r, emits:
|
|
9157
|
+
const { id: a, name: o, slots: s, props: r, emits: u } = l, g = (m) => {
|
|
9149
9158
|
const f = Array.isArray(m) ? m : [m];
|
|
9150
9159
|
let b = [];
|
|
9151
9160
|
for (const c of f)
|
|
@@ -9165,7 +9174,7 @@ class wu {
|
|
|
9165
9174
|
type: m.type,
|
|
9166
9175
|
setters: g(m.type)
|
|
9167
9176
|
}),
|
|
9168
|
-
events:
|
|
9177
|
+
events: u,
|
|
9169
9178
|
slots: s,
|
|
9170
9179
|
from: e
|
|
9171
9180
|
};
|
|
@@ -9176,7 +9185,7 @@ class wu {
|
|
|
9176
9185
|
}
|
|
9177
9186
|
}
|
|
9178
9187
|
const Wn = Symbol("VtjEngine");
|
|
9179
|
-
class
|
|
9188
|
+
class oc extends bn {
|
|
9180
9189
|
constructor(e) {
|
|
9181
9190
|
super(), this.options = e;
|
|
9182
9191
|
const {
|
|
@@ -9186,7 +9195,7 @@ class sc extends bn {
|
|
|
9186
9195
|
globals: o = {},
|
|
9187
9196
|
dependencies: s,
|
|
9188
9197
|
materials: r,
|
|
9189
|
-
materialPath:
|
|
9198
|
+
materialPath: u = "./",
|
|
9190
9199
|
adapter: g,
|
|
9191
9200
|
install: p
|
|
9192
9201
|
} = this.options;
|
|
@@ -9197,12 +9206,12 @@ class sc extends bn {
|
|
|
9197
9206
|
service: l,
|
|
9198
9207
|
dependencies: s,
|
|
9199
9208
|
materials: r,
|
|
9200
|
-
materialPath:
|
|
9209
|
+
materialPath: u,
|
|
9201
9210
|
adapter: g,
|
|
9202
9211
|
install: p
|
|
9203
|
-
}), this.assets = new
|
|
9212
|
+
}), this.assets = new ku(this.service, this.provider), this.simulator = new wu({
|
|
9204
9213
|
engine: this,
|
|
9205
|
-
materialPath:
|
|
9214
|
+
materialPath: u
|
|
9206
9215
|
}), this.bindEvents(), this.init(a), et(this.render.bind(this)), nn(this.dispose.bind(this));
|
|
9207
9216
|
}
|
|
9208
9217
|
app;
|
|
@@ -9224,12 +9233,12 @@ class sc extends bn {
|
|
|
9224
9233
|
changed = k(Symbol());
|
|
9225
9234
|
async init(e) {
|
|
9226
9235
|
const t = await this.service.init(e).catch((l) => (Ce.warn("VTJEngine service init fail.", l), null));
|
|
9227
|
-
t && (t.dependencies =
|
|
9236
|
+
t && (t.dependencies = fu.merge(t.dependencies || []), this.project.value = new Vl(t), this.saveMaterials(), this.triggerReady());
|
|
9228
9237
|
}
|
|
9229
9238
|
render() {
|
|
9230
9239
|
const e = n(this.container);
|
|
9231
9240
|
if (e) {
|
|
9232
|
-
const t = ln(
|
|
9241
|
+
const t = ln(Su);
|
|
9233
9242
|
this.options.install && t.use(this.options.install, this), t.provide(Wn, Qn(this)), t.mount(e), this.app = t;
|
|
9234
9243
|
} else
|
|
9235
9244
|
Ce.warn("VTJEngine constructor param [ container ] is undefined");
|
|
@@ -9366,8 +9375,8 @@ class sc extends bn {
|
|
|
9366
9375
|
}
|
|
9367
9376
|
}
|
|
9368
9377
|
function ce() {
|
|
9369
|
-
const
|
|
9370
|
-
return
|
|
9378
|
+
const i = xt(Wn, null);
|
|
9379
|
+
return i || Ce.error("VTJEngine is not exist"), i;
|
|
9371
9380
|
}
|
|
9372
9381
|
const je = E({
|
|
9373
9382
|
name: "RegionWrapper",
|
|
@@ -9383,8 +9392,8 @@ const je = E({
|
|
|
9383
9392
|
};
|
|
9384
9393
|
},
|
|
9385
9394
|
render() {
|
|
9386
|
-
const
|
|
9387
|
-
return Te(
|
|
9395
|
+
const i = Kt[this.region] || Kt.EmptyRegion;
|
|
9396
|
+
return Te(i, { ...this.$props, ...this.$attrs, ref: "regionRef" });
|
|
9388
9397
|
}
|
|
9389
9398
|
}), De = E({
|
|
9390
9399
|
name: "WidgetWrapper",
|
|
@@ -9411,12 +9420,12 @@ const je = E({
|
|
|
9411
9420
|
ref: "widgetRef"
|
|
9412
9421
|
});
|
|
9413
9422
|
}
|
|
9414
|
-
}),
|
|
9423
|
+
}), Su = E({
|
|
9415
9424
|
name: "SkeletonWrapper",
|
|
9416
9425
|
setup() {
|
|
9417
|
-
const
|
|
9426
|
+
const i = k(), e = ce(), t = k({});
|
|
9418
9427
|
return {
|
|
9419
|
-
skeletonRef:
|
|
9428
|
+
skeletonRef: i,
|
|
9420
9429
|
engine: e,
|
|
9421
9430
|
widgets: t
|
|
9422
9431
|
};
|
|
@@ -9425,7 +9434,7 @@ const je = E({
|
|
|
9425
9434
|
this.engine.skeleton = this;
|
|
9426
9435
|
},
|
|
9427
9436
|
render() {
|
|
9428
|
-
return Te(
|
|
9437
|
+
return Te(xu, { ...this.$props, ...this.$attrs, ref: "skeletonRef" });
|
|
9429
9438
|
},
|
|
9430
9439
|
methods: {
|
|
9431
9440
|
/**
|
|
@@ -9433,32 +9442,32 @@ const je = E({
|
|
|
9433
9442
|
* @param region
|
|
9434
9443
|
* @returns
|
|
9435
9444
|
*/
|
|
9436
|
-
getRegion(
|
|
9437
|
-
return this.skeletonRef[
|
|
9445
|
+
getRegion(i) {
|
|
9446
|
+
return this.skeletonRef[i.toLowerCase()];
|
|
9438
9447
|
},
|
|
9439
9448
|
/**
|
|
9440
9449
|
* 切换应用区域折叠或展开
|
|
9441
9450
|
*/
|
|
9442
|
-
toggleCollapse(
|
|
9451
|
+
toggleCollapse(i) {
|
|
9443
9452
|
if (this.skeletonRef) {
|
|
9444
9453
|
const e = this.skeletonRef.collapsed;
|
|
9445
|
-
this.skeletonRef.collapsed =
|
|
9454
|
+
this.skeletonRef.collapsed = i ?? !e;
|
|
9446
9455
|
}
|
|
9447
9456
|
},
|
|
9448
9457
|
/**
|
|
9449
9458
|
* 控制设置区域隐藏或显示
|
|
9450
9459
|
* @param val
|
|
9451
9460
|
*/
|
|
9452
|
-
settable(
|
|
9453
|
-
this.skeletonRef && (this.skeletonRef.settable =
|
|
9461
|
+
settable(i) {
|
|
9462
|
+
this.skeletonRef && (this.skeletonRef.settable = i);
|
|
9454
9463
|
},
|
|
9455
9464
|
/**
|
|
9456
9465
|
* 获取区域内的 widget wrapper 实例数组
|
|
9457
9466
|
* @param region
|
|
9458
9467
|
* @returns
|
|
9459
9468
|
*/
|
|
9460
|
-
getWidgets(
|
|
9461
|
-
const e = this.getRegion(
|
|
9469
|
+
getWidgets(i) {
|
|
9470
|
+
const e = this.getRegion(i);
|
|
9462
9471
|
return e ? wl(
|
|
9463
9472
|
e.regionRef?.widgetsRef || []
|
|
9464
9473
|
) : [];
|
|
@@ -9468,15 +9477,15 @@ const je = E({
|
|
|
9468
9477
|
* @param name
|
|
9469
9478
|
* @returns
|
|
9470
9479
|
*/
|
|
9471
|
-
getWidget(
|
|
9472
|
-
const e = Nn.get(
|
|
9480
|
+
getWidget(i) {
|
|
9481
|
+
const e = Nn.get(i);
|
|
9473
9482
|
if (!e) {
|
|
9474
|
-
Ce.warn(`widget [ ${
|
|
9483
|
+
Ce.warn(`widget [ ${i} ] is not exsit`);
|
|
9475
9484
|
return;
|
|
9476
9485
|
}
|
|
9477
|
-
return this.getWidgets(e.region).find((l) => l.widget.name ===
|
|
9486
|
+
return this.getWidgets(e.region).find((l) => l.widget.name === i);
|
|
9478
9487
|
},
|
|
9479
|
-
openPreview(
|
|
9488
|
+
openPreview(i) {
|
|
9480
9489
|
this.skeletonRef && (this.skeletonRef.isPreview = !0);
|
|
9481
9490
|
},
|
|
9482
9491
|
closePreview() {
|
|
@@ -9552,16 +9561,16 @@ const je = E({
|
|
|
9552
9561
|
} : e);
|
|
9553
9562
|
},
|
|
9554
9563
|
defaultSetter() {
|
|
9555
|
-
const { value:
|
|
9556
|
-
let t = typeof
|
|
9557
|
-
t === "Object" && (Array.isArray(
|
|
9564
|
+
const { value: i, computedSetters: e } = this;
|
|
9565
|
+
let t = typeof i;
|
|
9566
|
+
t === "Object" && (Array.isArray(i) ? t = "Array" : Le(i) ? t = "Object" : Ul(i) && (t = "Function"));
|
|
9558
9567
|
const l = Ze.getByType(t) || [];
|
|
9559
9568
|
return l.length ? (e.find((a) => l.includes(a.name)) || e[0])?.name : e[0]?.name;
|
|
9560
9569
|
}
|
|
9561
9570
|
},
|
|
9562
9571
|
render() {
|
|
9563
9572
|
const {
|
|
9564
|
-
context:
|
|
9573
|
+
context: i,
|
|
9565
9574
|
current: e,
|
|
9566
9575
|
name: t,
|
|
9567
9576
|
label: l,
|
|
@@ -9569,21 +9578,21 @@ const je = E({
|
|
|
9569
9578
|
value: o,
|
|
9570
9579
|
computedSetters: s,
|
|
9571
9580
|
computedOptions: r,
|
|
9572
|
-
variable:
|
|
9581
|
+
variable: u,
|
|
9573
9582
|
changeValue: g,
|
|
9574
9583
|
defaultSetter: p,
|
|
9575
9584
|
removable: m,
|
|
9576
9585
|
onRemove: f
|
|
9577
9586
|
} = this;
|
|
9578
|
-
return Te(
|
|
9579
|
-
context:
|
|
9587
|
+
return Te(Du, {
|
|
9588
|
+
context: i,
|
|
9580
9589
|
current: e,
|
|
9581
9590
|
name: t,
|
|
9582
9591
|
label: l,
|
|
9583
9592
|
title: a,
|
|
9584
9593
|
setters: s,
|
|
9585
9594
|
defaultSetter: p,
|
|
9586
|
-
variable:
|
|
9595
|
+
variable: u,
|
|
9587
9596
|
value: o,
|
|
9588
9597
|
removable: m,
|
|
9589
9598
|
options: r,
|
|
@@ -9593,17 +9602,17 @@ const je = E({
|
|
|
9593
9602
|
},
|
|
9594
9603
|
emits: ["change", "remove"],
|
|
9595
9604
|
methods: {
|
|
9596
|
-
getSetter(
|
|
9597
|
-
return typeof
|
|
9605
|
+
getSetter(i) {
|
|
9606
|
+
return typeof i == "string" ? Ze.get(i) || Ze.defaultSetter : i;
|
|
9598
9607
|
},
|
|
9599
|
-
changeValue(
|
|
9600
|
-
this.$emit("change", this.name,
|
|
9608
|
+
changeValue(i) {
|
|
9609
|
+
this.$emit("change", this.name, i);
|
|
9601
9610
|
},
|
|
9602
|
-
onRemove(
|
|
9603
|
-
this.$emit("remove",
|
|
9611
|
+
onRemove(i) {
|
|
9612
|
+
this.$emit("remove", i);
|
|
9604
9613
|
}
|
|
9605
9614
|
}
|
|
9606
|
-
}),
|
|
9615
|
+
}), xu = /* @__PURE__ */ E({
|
|
9607
9616
|
name: "Skeletion",
|
|
9608
9617
|
__name: "skeleton",
|
|
9609
9618
|
props: {
|
|
@@ -9612,8 +9621,8 @@ const je = E({
|
|
|
9612
9621
|
rightWidth: { default: "350px" },
|
|
9613
9622
|
footerHeight: { default: "20px" }
|
|
9614
9623
|
},
|
|
9615
|
-
setup(
|
|
9616
|
-
const t =
|
|
9624
|
+
setup(i, { expose: e }) {
|
|
9625
|
+
const t = i, l = k(!1), a = k(parseInt(t.leftWidth)), o = k(parseInt(t.rightWidth)), s = {
|
|
9617
9626
|
dirs: ["e"],
|
|
9618
9627
|
maxWidth: 600,
|
|
9619
9628
|
minWidth: 49,
|
|
@@ -9633,9 +9642,9 @@ const je = E({
|
|
|
9633
9642
|
onEnd(C, I) {
|
|
9634
9643
|
o.value = I.elementWidth.value;
|
|
9635
9644
|
}
|
|
9636
|
-
},
|
|
9645
|
+
}, u = k(), g = k(), p = k(), m = k(), f = k(), b = k(), c = k(), _ = k(), w = k(!1), x = k(!1);
|
|
9637
9646
|
return e({
|
|
9638
|
-
brand:
|
|
9647
|
+
brand: u,
|
|
9639
9648
|
toolbar: g,
|
|
9640
9649
|
actions: p,
|
|
9641
9650
|
apps: m,
|
|
@@ -9659,7 +9668,7 @@ const je = E({
|
|
|
9659
9668
|
default: h(() => [
|
|
9660
9669
|
v(n(je), {
|
|
9661
9670
|
ref_key: "brand",
|
|
9662
|
-
ref:
|
|
9671
|
+
ref: u,
|
|
9663
9672
|
region: "Brand"
|
|
9664
9673
|
}, null, 512),
|
|
9665
9674
|
v(n(je), {
|
|
@@ -9756,10 +9765,10 @@ const je = E({
|
|
|
9756
9765
|
_: 1
|
|
9757
9766
|
}, 8, ["locale"]));
|
|
9758
9767
|
}
|
|
9759
|
-
}),
|
|
9768
|
+
}), Cu = ["title"], Vu = { class: "v-setter__content" }, Au = {
|
|
9760
9769
|
key: 0,
|
|
9761
9770
|
class: "v-setter__input"
|
|
9762
|
-
},
|
|
9771
|
+
}, ju = { class: "v-setter__action" }, Eu = "{{", Pu = "}}", Du = /* @__PURE__ */ E({
|
|
9763
9772
|
__name: "setter",
|
|
9764
9773
|
props: {
|
|
9765
9774
|
context: {},
|
|
@@ -9775,10 +9784,10 @@ const je = E({
|
|
|
9775
9784
|
removable: { type: Boolean }
|
|
9776
9785
|
},
|
|
9777
9786
|
emits: ["change", "remove"],
|
|
9778
|
-
setup(
|
|
9779
|
-
const t =
|
|
9787
|
+
setup(i, { emit: e }) {
|
|
9788
|
+
const t = i, l = e, a = k(!1), o = k(""), s = k(
|
|
9780
9789
|
t.setters.find((x) => x.name === t.defaultSetter) || t.setters[0]
|
|
9781
|
-
), r = k(t.value),
|
|
9790
|
+
), r = k(t.value), u = S(() => !!Le(r.value)), g = {
|
|
9782
9791
|
[s.value.name]: r.value
|
|
9783
9792
|
}, p = (x) => {
|
|
9784
9793
|
g[s.value.name] = r.value, s.value = x, r.value = g[x.name] ?? void 0, m(r.value);
|
|
@@ -9825,12 +9834,12 @@ const je = E({
|
|
|
9825
9834
|
}, 8, ["content"])) : (d(), A("span", {
|
|
9826
9835
|
key: 1,
|
|
9827
9836
|
title: t.name
|
|
9828
|
-
}, z(t.label || t.name), 9,
|
|
9837
|
+
}, z(t.label || t.name), 9, Cu))
|
|
9829
9838
|
]),
|
|
9830
9839
|
default: h(() => [
|
|
9831
|
-
V("div",
|
|
9832
|
-
s.value ? (d(), A("div",
|
|
9833
|
-
|
|
9840
|
+
V("div", Vu, [
|
|
9841
|
+
s.value ? (d(), A("div", Au, [
|
|
9842
|
+
u.value ? j("", !0) : (d(), y(Yt(s.value.component), re({
|
|
9834
9843
|
key: 0,
|
|
9835
9844
|
current: t.current,
|
|
9836
9845
|
context: t.context
|
|
@@ -9839,33 +9848,33 @@ const je = E({
|
|
|
9839
9848
|
modelValue: r.value,
|
|
9840
9849
|
"onUpdate:modelValue": C[0] || (C[0] = (I) => r.value = I),
|
|
9841
9850
|
onChange: m,
|
|
9842
|
-
disabled:
|
|
9851
|
+
disabled: u.value
|
|
9843
9852
|
}), null, 16, ["current", "context", "options", "modelValue", "disabled"])),
|
|
9844
|
-
|
|
9853
|
+
u.value ? (d(), y(n(ye), {
|
|
9845
9854
|
key: 1,
|
|
9846
9855
|
class: "v-expression-setter",
|
|
9847
9856
|
disabled: "",
|
|
9848
9857
|
"model-value": "JSExpression"
|
|
9849
9858
|
}, {
|
|
9850
9859
|
prefix: h(() => [
|
|
9851
|
-
G(z(
|
|
9860
|
+
G(z(Eu))
|
|
9852
9861
|
]),
|
|
9853
9862
|
suffix: h(() => [
|
|
9854
|
-
G(z(
|
|
9863
|
+
G(z(Pu))
|
|
9855
9864
|
]),
|
|
9856
9865
|
_: 1
|
|
9857
9866
|
})) : j("", !0)
|
|
9858
9867
|
])) : j("", !0),
|
|
9859
|
-
V("div",
|
|
9868
|
+
V("div", ju, [
|
|
9860
9869
|
t.variable ? (d(), y(n(xs), {
|
|
9861
9870
|
key: 0,
|
|
9862
9871
|
onClick: b,
|
|
9863
|
-
class: H(["v-icon-vars", { "is-active":
|
|
9872
|
+
class: H(["v-icon-vars", { "is-active": u.value }]),
|
|
9864
9873
|
title: "绑定变量"
|
|
9865
9874
|
}, null, 8, ["class"])) : j("", !0),
|
|
9866
9875
|
t.setters.length > 1 ? (d(), y(n(on), {
|
|
9867
9876
|
key: 1,
|
|
9868
|
-
disabled:
|
|
9877
|
+
disabled: u.value,
|
|
9869
9878
|
size: "small",
|
|
9870
9879
|
"popper-class": "v-setter-switch",
|
|
9871
9880
|
onCommand: p
|
|
@@ -9903,7 +9912,7 @@ const je = E({
|
|
|
9903
9912
|
})) : j("", !0)
|
|
9904
9913
|
])
|
|
9905
9914
|
]),
|
|
9906
|
-
a.value ? (d(), y(n(
|
|
9915
|
+
a.value ? (d(), y(n(pr), {
|
|
9907
9916
|
key: 0,
|
|
9908
9917
|
current: t.current,
|
|
9909
9918
|
context: t.context,
|
|
@@ -9917,28 +9926,28 @@ const je = E({
|
|
|
9917
9926
|
_: 1
|
|
9918
9927
|
}));
|
|
9919
9928
|
}
|
|
9920
|
-
}),
|
|
9929
|
+
}), Iu = { class: "v-empty-region" }, Bu = /* @__PURE__ */ E({
|
|
9921
9930
|
name: "EmptyRegion",
|
|
9922
9931
|
__name: "empty",
|
|
9923
9932
|
props: {
|
|
9924
9933
|
region: {}
|
|
9925
9934
|
},
|
|
9926
|
-
setup(
|
|
9927
|
-
return (e, t) => (d(), A("div",
|
|
9935
|
+
setup(i) {
|
|
9936
|
+
return (e, t) => (d(), A("div", Iu, "找不到符合【" + z(e.region) + "】名称的区域组件", 1));
|
|
9928
9937
|
}
|
|
9929
|
-
}),
|
|
9938
|
+
}), Ru = { class: "v-brand-region" }, $u = /* @__PURE__ */ E({
|
|
9930
9939
|
name: "BrandRegion",
|
|
9931
9940
|
inheritAttrs: !1,
|
|
9932
9941
|
__name: "brand",
|
|
9933
9942
|
props: {
|
|
9934
9943
|
region: {}
|
|
9935
9944
|
},
|
|
9936
|
-
setup(
|
|
9937
|
-
const t =
|
|
9945
|
+
setup(i, { expose: e }) {
|
|
9946
|
+
const t = i, { widgets: l, widgetsRef: a } = Pe(t.region);
|
|
9938
9947
|
return e({
|
|
9939
9948
|
widgets: l,
|
|
9940
9949
|
widgetsRef: a
|
|
9941
|
-
}), (o, s) => (d(), A("div",
|
|
9950
|
+
}), (o, s) => (d(), A("div", Ru, [
|
|
9942
9951
|
(d(!0), A(T, null, N(n(l), (r) => (d(), y(n(De), {
|
|
9943
9952
|
ref_for: !0,
|
|
9944
9953
|
ref_key: "widgetsRef",
|
|
@@ -9948,19 +9957,19 @@ const je = E({
|
|
|
9948
9957
|
}, null, 8, ["region", "widget"]))), 256))
|
|
9949
9958
|
]));
|
|
9950
9959
|
}
|
|
9951
|
-
}),
|
|
9960
|
+
}), Tu = { class: "v-toolbar-region" }, zu = /* @__PURE__ */ E({
|
|
9952
9961
|
name: "ToolbarRegion",
|
|
9953
9962
|
__name: "toolbar",
|
|
9954
9963
|
props: {
|
|
9955
9964
|
region: {},
|
|
9956
9965
|
preview: { type: Boolean }
|
|
9957
9966
|
},
|
|
9958
|
-
setup(
|
|
9959
|
-
const t =
|
|
9967
|
+
setup(i, { expose: e }) {
|
|
9968
|
+
const t = i, { widgets: l, widgetsRef: a } = Pe(t.region);
|
|
9960
9969
|
return e({
|
|
9961
9970
|
widgets: l,
|
|
9962
9971
|
widgetsRef: a
|
|
9963
|
-
}), (o, s) => (d(), A("div",
|
|
9972
|
+
}), (o, s) => (d(), A("div", Tu, [
|
|
9964
9973
|
(d(!0), A(T, null, N(n(l), (r) => (d(), y(n(De), {
|
|
9965
9974
|
ref_for: !0,
|
|
9966
9975
|
ref_key: "widgetsRef",
|
|
@@ -9971,19 +9980,19 @@ const je = E({
|
|
|
9971
9980
|
}, null, 8, ["region", "widget", "preview"]))), 256))
|
|
9972
9981
|
]));
|
|
9973
9982
|
}
|
|
9974
|
-
}),
|
|
9983
|
+
}), Ou = { class: "v-actions-region" }, Fu = /* @__PURE__ */ E({
|
|
9975
9984
|
name: "ActionsRegion",
|
|
9976
9985
|
inheritAttrs: !1,
|
|
9977
9986
|
__name: "actions",
|
|
9978
9987
|
props: {
|
|
9979
9988
|
region: {}
|
|
9980
9989
|
},
|
|
9981
|
-
setup(
|
|
9982
|
-
const t =
|
|
9990
|
+
setup(i, { expose: e }) {
|
|
9991
|
+
const t = i, { widgets: l, widgetsRef: a } = Pe(t.region);
|
|
9983
9992
|
return e({
|
|
9984
9993
|
widgets: l,
|
|
9985
9994
|
widgetsRef: a
|
|
9986
|
-
}), (o, s) => (d(), A("div",
|
|
9995
|
+
}), (o, s) => (d(), A("div", Ou, [
|
|
9987
9996
|
(d(!0), A(T, null, N(n(l), (r) => (d(), y(n(De), {
|
|
9988
9997
|
ref_for: !0,
|
|
9989
9998
|
ref_key: "widgetsRef",
|
|
@@ -9993,7 +10002,7 @@ const je = E({
|
|
|
9993
10002
|
}, null, 8, ["region", "widget"]))), 256))
|
|
9994
10003
|
]));
|
|
9995
10004
|
}
|
|
9996
|
-
}),
|
|
10005
|
+
}), Nu = { class: "v-apps-region" }, Wu = { class: "v-apps-region__header" }, Ju = { class: "v-apps-region__top" }, Mu = { class: "v-apps-region__bottom" }, Lu = { class: "v-apps-region__panels" }, Uu = /* @__PURE__ */ E({
|
|
9997
10006
|
name: "AppsRegion",
|
|
9998
10007
|
inheritAttrs: !1,
|
|
9999
10008
|
__name: "apps",
|
|
@@ -10001,8 +10010,8 @@ const je = E({
|
|
|
10001
10010
|
region: {},
|
|
10002
10011
|
index: { default: 0 }
|
|
10003
10012
|
},
|
|
10004
|
-
setup(
|
|
10005
|
-
const t =
|
|
10013
|
+
setup(i, { expose: e }) {
|
|
10014
|
+
const t = i, l = ce(), { widgets: a, widgetsRef: o } = Pe(t.region), s = S(() => a.value.filter((c) => c.openType === "panel")), r = S(() => a.value.filter((c) => c.openType !== "panel")), u = s.value[t.index], g = k(u), p = k(u), m = (c) => {
|
|
10006
10015
|
g.value = c, p.value = p.value?.name === c.name ? null : c;
|
|
10007
10016
|
}, f = (c) => {
|
|
10008
10017
|
c.openType === "link" && c.url && window.open(c.url), c.openType === "dialog" && hl({
|
|
@@ -10021,9 +10030,9 @@ const je = E({
|
|
|
10021
10030
|
const _ = s.value.find((w) => w.name === c);
|
|
10022
10031
|
g.value = _, p.value = _;
|
|
10023
10032
|
}
|
|
10024
|
-
}), (c, _) => (d(), A("div",
|
|
10025
|
-
V("div",
|
|
10026
|
-
V("div",
|
|
10033
|
+
}), (c, _) => (d(), A("div", Nu, [
|
|
10034
|
+
V("div", Wu, [
|
|
10035
|
+
V("div", Ju, [
|
|
10027
10036
|
(d(!0), A(T, null, N(s.value, (w) => (d(), y(n(Gt), {
|
|
10028
10037
|
key: `icon-${w.name}`,
|
|
10029
10038
|
icon: w.icon,
|
|
@@ -10033,7 +10042,7 @@ const je = E({
|
|
|
10033
10042
|
onClick: (x) => m(w)
|
|
10034
10043
|
}, null, 8, ["icon", "label", "active", "open", "onClick"]))), 128))
|
|
10035
10044
|
]),
|
|
10036
|
-
V("div",
|
|
10045
|
+
V("div", Mu, [
|
|
10037
10046
|
(d(!0), A(T, null, N(r.value, (w) => (d(), y(n(Gt), {
|
|
10038
10047
|
key: `icon-${w.name}`,
|
|
10039
10048
|
icon: w.icon,
|
|
@@ -10042,7 +10051,7 @@ const je = E({
|
|
|
10042
10051
|
}, null, 8, ["icon", "label", "onClick"]))), 128))
|
|
10043
10052
|
])
|
|
10044
10053
|
]),
|
|
10045
|
-
V("div",
|
|
10054
|
+
V("div", Lu, [
|
|
10046
10055
|
(d(!0), A(T, null, N(s.value, (w) => (d(), y(an, {
|
|
10047
10056
|
key: w.name
|
|
10048
10057
|
}, [
|
|
@@ -10058,14 +10067,14 @@ const je = E({
|
|
|
10058
10067
|
])
|
|
10059
10068
|
]));
|
|
10060
10069
|
}
|
|
10061
|
-
}),
|
|
10070
|
+
}), qu = /* @__PURE__ */ E({
|
|
10062
10071
|
name: "WorkspaceRegion",
|
|
10063
10072
|
__name: "workspace",
|
|
10064
10073
|
props: {
|
|
10065
10074
|
region: {}
|
|
10066
10075
|
},
|
|
10067
|
-
setup(
|
|
10068
|
-
const t =
|
|
10076
|
+
setup(i, { expose: e }) {
|
|
10077
|
+
const t = i, { widgets: l, widgetsRef: a } = Pe(t.region), o = qe(
|
|
10069
10078
|
l.value.map((c) => ({
|
|
10070
10079
|
name: c.name,
|
|
10071
10080
|
command: c.name,
|
|
@@ -10078,15 +10087,15 @@ const je = E({
|
|
|
10078
10087
|
), s = S(() => o?.filter((c) => !c.closable || c.checked)), r = S(() => o.map((c) => ({
|
|
10079
10088
|
...c,
|
|
10080
10089
|
disabled: !c.closable
|
|
10081
|
-
}))),
|
|
10090
|
+
}))), u = k(s.value[0]?.name), g = S(() => o.find((_) => _.name === u.value)?.props || {}), p = (c) => {
|
|
10082
10091
|
const _ = o.find((w) => w.name === c);
|
|
10083
|
-
_ && (_.checked = !1),
|
|
10092
|
+
_ && (_.checked = !1), u.value === c && (u.value = s.value[0]?.name);
|
|
10084
10093
|
}, m = (c) => {
|
|
10085
10094
|
const _ = o.find((w) => w.name === c.name);
|
|
10086
|
-
_ && _.closable && (_.checked = !_.checked, _.checked && (
|
|
10095
|
+
_ && _.closable && (_.checked = !_.checked, _.checked && (u.value = _.name), !_.checked && u.value === _.name && (u.value = s.value[0]?.name));
|
|
10087
10096
|
}, f = (c, _ = {}) => {
|
|
10088
10097
|
const w = o.find((x) => x.name === c);
|
|
10089
|
-
w && (w.props = Object.assign({}, w.props, _), w.checked = !0,
|
|
10098
|
+
w && (w.props = Object.assign({}, w.props, _), w.checked = !0, u.value = w.name);
|
|
10090
10099
|
}, b = (c) => {
|
|
10091
10100
|
if (a.value) {
|
|
10092
10101
|
const _ = a.value[0]?.widgetRef;
|
|
@@ -10099,7 +10108,7 @@ const je = E({
|
|
|
10099
10108
|
}
|
|
10100
10109
|
};
|
|
10101
10110
|
return e({
|
|
10102
|
-
currentTab:
|
|
10111
|
+
currentTab: u,
|
|
10103
10112
|
widgets: l,
|
|
10104
10113
|
widgetsRef: a,
|
|
10105
10114
|
openTab: f
|
|
@@ -10107,8 +10116,8 @@ const je = E({
|
|
|
10107
10116
|
class: "v-workspace-region",
|
|
10108
10117
|
items: s.value,
|
|
10109
10118
|
menus: r.value,
|
|
10110
|
-
modelValue:
|
|
10111
|
-
"onUpdate:modelValue": _[0] || (_[0] = (w) =>
|
|
10119
|
+
modelValue: u.value,
|
|
10120
|
+
"onUpdate:modelValue": _[0] || (_[0] = (w) => u.value = w),
|
|
10112
10121
|
checkable: "",
|
|
10113
10122
|
onRemove: p,
|
|
10114
10123
|
onCommand: m,
|
|
@@ -10118,7 +10127,7 @@ const je = E({
|
|
|
10118
10127
|
(d(!0), A(T, null, N(n(l), (w) => (d(), A(T, {
|
|
10119
10128
|
key: w.name
|
|
10120
10129
|
}, [
|
|
10121
|
-
|
|
10130
|
+
u.value === w.name ? (d(), y(n(De), {
|
|
10122
10131
|
key: 0,
|
|
10123
10132
|
ref_for: !0,
|
|
10124
10133
|
ref_key: "widgetsRef",
|
|
@@ -10131,16 +10140,16 @@ const je = E({
|
|
|
10131
10140
|
_: 1
|
|
10132
10141
|
}, 8, ["items", "menus", "modelValue"]));
|
|
10133
10142
|
}
|
|
10134
|
-
}),
|
|
10143
|
+
}), Hu = /* @__PURE__ */ E({
|
|
10135
10144
|
name: "SettingsRegion",
|
|
10136
10145
|
__name: "settings",
|
|
10137
10146
|
props: {
|
|
10138
10147
|
region: {}
|
|
10139
10148
|
},
|
|
10140
|
-
setup(
|
|
10141
|
-
const t =
|
|
10149
|
+
setup(i, { expose: e }) {
|
|
10150
|
+
const t = i, l = ce(), { current: a } = ie(), { selected: o, isSelectBlock: s } = ke(), r = S(
|
|
10142
10151
|
() => s.value ? fe.Block : fe.Node
|
|
10143
|
-
), { widgets:
|
|
10152
|
+
), { widgets: u, widgetsRef: g } = Pe(t.region, r), p = k(), m = k(!1), f = S(() => u.value.map((w) => ({
|
|
10144
10153
|
name: w.name,
|
|
10145
10154
|
label: w.label,
|
|
10146
10155
|
actions: w.name === "Style" ? [
|
|
@@ -10176,7 +10185,7 @@ const je = E({
|
|
|
10176
10185
|
w.name === "switch" && (m.value = !m.value);
|
|
10177
10186
|
};
|
|
10178
10187
|
return e({
|
|
10179
|
-
widgets:
|
|
10188
|
+
widgets: u,
|
|
10180
10189
|
widgetsRef: g
|
|
10181
10190
|
}), (w, x) => n(a) ? (d(), y(n(M), {
|
|
10182
10191
|
key: 0,
|
|
@@ -10232,7 +10241,7 @@ const je = E({
|
|
|
10232
10241
|
onActionClick: _
|
|
10233
10242
|
}, {
|
|
10234
10243
|
default: h(() => [
|
|
10235
|
-
(d(!0), A(T, null, N(n(
|
|
10244
|
+
(d(!0), A(T, null, N(n(u), (C) => (d(), A(T, {
|
|
10236
10245
|
key: C.name
|
|
10237
10246
|
}, [
|
|
10238
10247
|
p.value === C.name ? (d(), y(n(De), {
|
|
@@ -10263,19 +10272,19 @@ const je = E({
|
|
|
10263
10272
|
_: 1
|
|
10264
10273
|
})) : j("", !0);
|
|
10265
10274
|
}
|
|
10266
|
-
}),
|
|
10275
|
+
}), Gu = { class: "v-status-region" }, Xu = /* @__PURE__ */ E({
|
|
10267
10276
|
name: "StatusRegion",
|
|
10268
10277
|
inheritAttrs: !1,
|
|
10269
10278
|
__name: "status",
|
|
10270
10279
|
props: {
|
|
10271
10280
|
region: {}
|
|
10272
10281
|
},
|
|
10273
|
-
setup(
|
|
10274
|
-
const t =
|
|
10282
|
+
setup(i, { expose: e }) {
|
|
10283
|
+
const t = i, { widgets: l, widgetsRef: a } = Pe(t.region);
|
|
10275
10284
|
return e({
|
|
10276
10285
|
widgets: l,
|
|
10277
10286
|
widgetsRef: a
|
|
10278
|
-
}), (o, s) => (d(), A("div",
|
|
10287
|
+
}), (o, s) => (d(), A("div", Gu, [
|
|
10279
10288
|
(d(!0), A(T, null, N(n(l), (r) => (d(), y(n(De), {
|
|
10280
10289
|
ref_for: !0,
|
|
10281
10290
|
ref_key: "widgetsRef",
|
|
@@ -10285,27 +10294,27 @@ const je = E({
|
|
|
10285
10294
|
}, null, 8, ["region", "widget"]))), 256))
|
|
10286
10295
|
]));
|
|
10287
10296
|
}
|
|
10288
|
-
}),
|
|
10297
|
+
}), Qu = /* @__PURE__ */ E({
|
|
10289
10298
|
name: "PreviewRegion",
|
|
10290
10299
|
__name: "preview",
|
|
10291
10300
|
props: {
|
|
10292
10301
|
region: {}
|
|
10293
10302
|
},
|
|
10294
|
-
setup(
|
|
10295
|
-
const t =
|
|
10296
|
-
l.value.map((
|
|
10297
|
-
name:
|
|
10298
|
-
command:
|
|
10299
|
-
label:
|
|
10300
|
-
closable: !!
|
|
10303
|
+
setup(i, { expose: e }) {
|
|
10304
|
+
const t = i, { widgets: l, widgetsRef: a } = Pe(t.region), o = qe(
|
|
10305
|
+
l.value.map((u) => ({
|
|
10306
|
+
name: u.name,
|
|
10307
|
+
command: u.name,
|
|
10308
|
+
label: u.label,
|
|
10309
|
+
closable: !!u.closable,
|
|
10301
10310
|
checked: !1
|
|
10302
10311
|
}))
|
|
10303
|
-
), s = S(() => o.filter((
|
|
10312
|
+
), s = S(() => o.filter((u) => !u.closable || u.checked)), r = k(s.value[0]?.name);
|
|
10304
10313
|
return e({
|
|
10305
10314
|
currentTab: r,
|
|
10306
10315
|
widgets: l,
|
|
10307
10316
|
widgetsRef: a
|
|
10308
|
-
}), (
|
|
10317
|
+
}), (u, g) => (d(), y(n(st), {
|
|
10309
10318
|
class: "v-workspace-region",
|
|
10310
10319
|
items: s.value,
|
|
10311
10320
|
modelValue: r.value,
|
|
@@ -10320,7 +10329,7 @@ const je = E({
|
|
|
10320
10329
|
ref_for: !0,
|
|
10321
10330
|
ref_key: "widgetsRef",
|
|
10322
10331
|
ref: a,
|
|
10323
|
-
region:
|
|
10332
|
+
region: u.region,
|
|
10324
10333
|
widget: p
|
|
10325
10334
|
}, null, 8, ["region", "widget"])) : j("", !0)
|
|
10326
10335
|
], 1024))), 128))
|
|
@@ -10329,26 +10338,26 @@ const je = E({
|
|
|
10329
10338
|
}, 8, ["items", "modelValue"]));
|
|
10330
10339
|
}
|
|
10331
10340
|
}), Kt = {
|
|
10332
|
-
EmptyRegion:
|
|
10333
|
-
Brand:
|
|
10334
|
-
Toolbar:
|
|
10335
|
-
Actions:
|
|
10336
|
-
Apps:
|
|
10337
|
-
Workspace:
|
|
10338
|
-
Settings:
|
|
10339
|
-
Status:
|
|
10340
|
-
Preview:
|
|
10341
|
+
EmptyRegion: Bu,
|
|
10342
|
+
Brand: $u,
|
|
10343
|
+
Toolbar: zu,
|
|
10344
|
+
Actions: Fu,
|
|
10345
|
+
Apps: Uu,
|
|
10346
|
+
Workspace: qu,
|
|
10347
|
+
Settings: Hu,
|
|
10348
|
+
Status: Xu,
|
|
10349
|
+
Preview: Qu
|
|
10341
10350
|
};
|
|
10342
10351
|
export {
|
|
10343
10352
|
Ds as API_METHOD_TYPES,
|
|
10344
|
-
|
|
10353
|
+
ku as Assets,
|
|
10345
10354
|
Tt as Binder,
|
|
10346
10355
|
St as Box,
|
|
10347
|
-
|
|
10356
|
+
yu as Designer,
|
|
10348
10357
|
Is as EVENT_MODIFIERS,
|
|
10349
10358
|
le as Editor,
|
|
10350
|
-
|
|
10351
|
-
|
|
10359
|
+
oc as Engine,
|
|
10360
|
+
mr as EventBinder,
|
|
10352
10361
|
Gt as Icon,
|
|
10353
10362
|
ue as Item,
|
|
10354
10363
|
Ps as KEYBOARD_EVENT_LIST,
|
|
@@ -10359,33 +10368,34 @@ export {
|
|
|
10359
10368
|
U as Panel,
|
|
10360
10369
|
Bs as RegionType,
|
|
10361
10370
|
je as RegionWrapper,
|
|
10362
|
-
|
|
10363
|
-
|
|
10371
|
+
_u as Renderer,
|
|
10372
|
+
Du as SetterView,
|
|
10364
10373
|
J as SetterWrapper,
|
|
10365
|
-
|
|
10366
|
-
|
|
10367
|
-
|
|
10368
|
-
|
|
10374
|
+
wu as Simulator,
|
|
10375
|
+
xu as Skeleton,
|
|
10376
|
+
Su as SkeletonWrapper,
|
|
10377
|
+
To as SlotsPicker,
|
|
10369
10378
|
st as Tabs,
|
|
10370
10379
|
js as VTJ_DESIGNER_VERSION,
|
|
10371
|
-
|
|
10372
|
-
|
|
10380
|
+
pr as VariableBinder,
|
|
10381
|
+
Ro as Viewer,
|
|
10373
10382
|
Tn as Viewport,
|
|
10374
10383
|
fe as WidgetGroup,
|
|
10375
10384
|
De as WidgetWrapper,
|
|
10376
|
-
|
|
10377
|
-
|
|
10378
|
-
|
|
10379
|
-
|
|
10385
|
+
Ji as builtInDeps,
|
|
10386
|
+
qi as builtInMaterials,
|
|
10387
|
+
mu as builtInSetters,
|
|
10388
|
+
Wi as builtInWidgets,
|
|
10380
10389
|
Oe as confirm,
|
|
10381
|
-
|
|
10382
|
-
|
|
10383
|
-
|
|
10390
|
+
bu as createSlotsPicker,
|
|
10391
|
+
pu as defaultSetter,
|
|
10392
|
+
fu as depsManager,
|
|
10384
10393
|
Wn as engineKey,
|
|
10385
10394
|
oe as expressionValidate,
|
|
10386
|
-
|
|
10395
|
+
Ms as getClassProperties,
|
|
10387
10396
|
de as message,
|
|
10388
10397
|
ne as notify,
|
|
10398
|
+
Js as proxyContext,
|
|
10389
10399
|
Kt as regions,
|
|
10390
10400
|
Ze as setterManager,
|
|
10391
10401
|
Z as setters,
|