x-runtime-lib 0.8.31 → 0.8.33
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.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { defineComponent as $, createElementBlock as Y, renderSlot as L, unref as n, openBlock as v, createElementVNode as
|
|
2
|
-
import { globalObjects as
|
|
1
|
+
import { defineComponent as $, createElementBlock as Y, renderSlot as L, unref as n, openBlock as v, createElementVNode as ee, computed as k, normalizeStyle as q, ref as ce, watchEffect as ue, watch as Q, onBeforeMount as No, onUnmounted as je, createBlock as V, withCtx as I, createCommentVNode as te, useTemplateRef as Xi, onMounted as Yi, nextTick as Ji, h as ae, resolveComponent as z, createVNode as H, isRef as O, createSlots as Pn, renderList as Mo, useId as Zi, withModifiers as Ro, normalizeClass as Do, toDisplayString as Fo, inject as oe, provide as se, readonly as zn } from "vue";
|
|
2
|
+
import { globalObjects as fe, waitUtil as qi, eventBus as Qi, useViewStack as eo, messageInfo as Go, messageSuccess as Ho, messageWarning as to, messageError as no, createAxios as Ko, openConfirmDlg as jo, openPromptDlg as Oo } from "x-essential-lib";
|
|
3
3
|
import { CameraHelper as io, DirectionalLightHelper as Uo, PointLightHelper as Xo, SpotLightHelper as Yo } from "three";
|
|
4
|
-
import { c as B, i as
|
|
4
|
+
import { c as B, i as ie, q as Be, u as Jo, r as oo, e as so, a as Zo, b as qo, d as Qo, f as es, g as ts, h as ns, j as is, k as os, l as ro, X as ss, Y as rs, K as ls, m as as, n as us, o as cs, I as ms } from "./vendor.dd29fg1n.js";
|
|
5
5
|
import { getErrorMessage as ps } from "x-error-lib";
|
|
6
6
|
import { useTheme as ds } from "vuetify";
|
|
7
|
-
import { useI18n as
|
|
7
|
+
import { useI18n as ys } from "vue-i18n";
|
|
8
8
|
const Sc = ["string", "number", "boolean", "array", "object"];
|
|
9
9
|
function Cc(t) {
|
|
10
10
|
switch (t) {
|
|
@@ -38,7 +38,7 @@ function Tc(t, e, i, o, l) {
|
|
|
38
38
|
children: {}
|
|
39
39
|
}, s.children[i] = a);
|
|
40
40
|
}
|
|
41
|
-
const
|
|
41
|
+
const fs = ["common", "scene"], bs = ["common", "scene"];
|
|
42
42
|
function hs(t) {
|
|
43
43
|
return t === "elementProperty" || t === "elementSlotProperty";
|
|
44
44
|
}
|
|
@@ -173,24 +173,24 @@ function ao(t, e, i) {
|
|
|
173
173
|
o[s] = i;
|
|
174
174
|
}
|
|
175
175
|
function Ln(t, e, i) {
|
|
176
|
-
const { i18n: o } =
|
|
176
|
+
const { i18n: o } = fe;
|
|
177
177
|
let l = "";
|
|
178
178
|
return t && (l += t + " / "), e.forEach((s, a) => {
|
|
179
179
|
a > 0 && (l += " - "), i ? l += o.global.t(s) : l += s;
|
|
180
180
|
}), l;
|
|
181
181
|
}
|
|
182
182
|
function Ec(t, e) {
|
|
183
|
-
const { i18n: i } =
|
|
183
|
+
const { i18n: i } = fe;
|
|
184
184
|
let o = "";
|
|
185
185
|
return t === "elementProperty" || (t === "refProperty" ? o = i.global.t("x-runtime-lib.ref") : t === "customProperty" ? o = i.global.t("x-runtime-lib.custom") : t === "elementSlotProperty" || t === "customSlotProperty" ? o = i.global.t("x-runtime-lib.slot") : console.assert(!1)), Ln(o, e, hs(t));
|
|
186
186
|
}
|
|
187
187
|
function Nc(t, e) {
|
|
188
|
-
const { i18n: i } =
|
|
188
|
+
const { i18n: i } = fe;
|
|
189
189
|
let o = "";
|
|
190
190
|
return t === "elementMethod" || (t === "refMethod" ? o = i.global.t("x-runtime-lib.ref") : t === "customMethod" ? o = i.global.t("x-runtime-lib.custom") : t === "elementSlotMethod" || t === "customSlotMethod" ? o = i.global.t("x-runtime-lib.slot") : console.assert(!1)), Ln(o, e, gs(t));
|
|
191
191
|
}
|
|
192
192
|
function Mc(t, e) {
|
|
193
|
-
const { i18n: i } =
|
|
193
|
+
const { i18n: i } = fe;
|
|
194
194
|
let o = "";
|
|
195
195
|
return t === "elementEvent" || (t === "refEvent" ? o = i.global.t("x-runtime-lib.ref") : t === "customEvent" ? o = i.global.t("x-runtime-lib.custom") : t === "elementPropertyChangeEvent" || t === "customPropertyChangeEvent" ? o = i.global.t("x-runtime-lib.propertyChange") : t === "stateChangeEvent" ? o = i.global.t("x-runtime-lib.stateChange") : console.assert(!1)), Ln(o, e, xs(t));
|
|
196
196
|
}
|
|
@@ -212,8 +212,8 @@ const Te = {}, _ = (t) => {
|
|
|
212
212
|
scale: t.scale,
|
|
213
213
|
visible: !1
|
|
214
214
|
}, [
|
|
215
|
-
o[0] || (o[0] =
|
|
216
|
-
o[1] || (o[1] =
|
|
215
|
+
o[0] || (o[0] = ee("TresBoxGeometry", { args: [1, 1, 1] }, null, -1)),
|
|
216
|
+
o[1] || (o[1] = ee("TresMeshBasicMaterial", null, null, -1)),
|
|
217
217
|
L(i.$slots, "default")
|
|
218
218
|
], 8, ks)) : L(i.$slots, "default", { key: 1 });
|
|
219
219
|
}
|
|
@@ -224,15 +224,27 @@ const Te = {}, _ = (t) => {
|
|
|
224
224
|
},
|
|
225
225
|
setup(t) {
|
|
226
226
|
const e = G(), i = k(() => {
|
|
227
|
-
const
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
227
|
+
const l = {
|
|
228
|
+
position: "relative"
|
|
229
|
+
};
|
|
230
|
+
return t.fitContent && (l.width = "fit-content", l.height = "fit-content"), l;
|
|
231
|
+
}), o = k(() => ({
|
|
232
|
+
position: "absolute",
|
|
233
|
+
top: 0,
|
|
234
|
+
left: 0,
|
|
235
|
+
right: 0,
|
|
236
|
+
bottom: 0,
|
|
237
|
+
pointerEvents: "auto"
|
|
238
|
+
}));
|
|
239
|
+
return (l, s) => n(e) === "editor" ? (v(), Y("div", {
|
|
231
240
|
key: 0,
|
|
232
|
-
style:
|
|
241
|
+
style: q(i.value)
|
|
233
242
|
}, [
|
|
234
|
-
L(
|
|
235
|
-
|
|
243
|
+
L(l.$slots, "default"),
|
|
244
|
+
ee("div", {
|
|
245
|
+
style: q(o.value)
|
|
246
|
+
}, null, 4)
|
|
247
|
+
], 4)) : L(l.$slots, "default", { key: 1 });
|
|
236
248
|
}
|
|
237
249
|
}), _s = (t, e, i, o) => {
|
|
238
250
|
const l = t.getElementPropertyInner(e, i);
|
|
@@ -252,12 +264,48 @@ function r(t, e, i) {
|
|
|
252
264
|
return ue(() => {
|
|
253
265
|
let a = _s(l, t.node, e, i);
|
|
254
266
|
o === "editor" && e[e.length - 1] === "readonly" && (a = !0), s.value = a;
|
|
255
|
-
}),
|
|
256
|
-
|
|
257
|
-
}), {
|
|
267
|
+
}), Q(s, (a, p) => {
|
|
268
|
+
ie(a, p) || ws(l, t.node, e, s.value, i);
|
|
269
|
+
}), { property: s };
|
|
258
270
|
}
|
|
259
271
|
function me(t) {
|
|
260
|
-
const {
|
|
272
|
+
const { property: e } = r(t, [
|
|
273
|
+
"transform",
|
|
274
|
+
"position",
|
|
275
|
+
"x"
|
|
276
|
+
]), { property: i } = r(t, [
|
|
277
|
+
"transform",
|
|
278
|
+
"position",
|
|
279
|
+
"y"
|
|
280
|
+
]), { property: o } = r(t, [
|
|
281
|
+
"transform",
|
|
282
|
+
"position",
|
|
283
|
+
"z"
|
|
284
|
+
]), { property: l } = r(t, [
|
|
285
|
+
"transform",
|
|
286
|
+
"rotation",
|
|
287
|
+
"x"
|
|
288
|
+
]), { property: s } = r(t, [
|
|
289
|
+
"transform",
|
|
290
|
+
"rotation",
|
|
291
|
+
"y"
|
|
292
|
+
]), { property: a } = r(t, [
|
|
293
|
+
"transform",
|
|
294
|
+
"rotation",
|
|
295
|
+
"z"
|
|
296
|
+
]), { property: p } = r(t, [
|
|
297
|
+
"transform",
|
|
298
|
+
"scale",
|
|
299
|
+
"x"
|
|
300
|
+
]), { property: d } = r(t, [
|
|
301
|
+
"transform",
|
|
302
|
+
"scale",
|
|
303
|
+
"y"
|
|
304
|
+
]), { property: f } = r(t, [
|
|
305
|
+
"transform",
|
|
306
|
+
"scale",
|
|
307
|
+
"z"
|
|
308
|
+
]), m = ce([0, 0, 0]), u = ce([0, 0, 0]), c = ce([1, 1, 1]);
|
|
261
309
|
return ue(() => {
|
|
262
310
|
m.value = [e.value, i.value, o.value];
|
|
263
311
|
}), ue(() => {
|
|
@@ -267,9 +315,9 @@ function me(t) {
|
|
|
267
315
|
}), ue(() => {
|
|
268
316
|
l.value = u.value[0], s.value = u.value[1], a.value = u.value[2];
|
|
269
317
|
}), ue(() => {
|
|
270
|
-
c.value = [p.value, d.value,
|
|
318
|
+
c.value = [p.value, d.value, f.value];
|
|
271
319
|
}), ue(() => {
|
|
272
|
-
p.value = c.value[0], d.value = c.value[1],
|
|
320
|
+
p.value = c.value[0], d.value = c.value[1], f.value = c.value[2];
|
|
273
321
|
}), { position: m, rotation: u, scale: c };
|
|
274
322
|
}
|
|
275
323
|
function uo(t) {
|
|
@@ -312,7 +360,7 @@ function po(t) {
|
|
|
312
360
|
}
|
|
313
361
|
return { show: e, position: i, type: o, data: l, applyXAxis: s };
|
|
314
362
|
}
|
|
315
|
-
function
|
|
363
|
+
function yo(t) {
|
|
316
364
|
const e = k(() => t.node.yAxis?.show), i = k(() => t.node.yAxis?.position), o = k(() => t.node.yAxis?.type), l = k(() => t.node.yAxis?.data);
|
|
317
365
|
function s(a) {
|
|
318
366
|
a.yAxis = {
|
|
@@ -326,23 +374,23 @@ function fo(t) {
|
|
|
326
374
|
}
|
|
327
375
|
function K(t) {
|
|
328
376
|
const { computedThemes: e } = ds(), i = We(), o = k(() => t.value?.mode), l = k(() => {
|
|
329
|
-
const
|
|
330
|
-
return
|
|
377
|
+
const f = t.value?.theme;
|
|
378
|
+
return f ? f === "background0" ? i.value ? "#2e2e2e" : "#bdbdbd" : f === "background1" ? i.value ? "#272727" : "#eeeeee" : f === "background2" ? i.value ? "#1e1e1e" : "#ffffff" : (i.value ? e.value.dark : e.value.light).colors[f] : void 0;
|
|
331
379
|
}), s = k(() => i.value ? t.value.custom?.dark : t.value.custom?.light), a = k(() => o.value === "theme" ? l.value ?? "" : o.value === "custom" ? s.value ?? "" : ""), p = k(() => {
|
|
332
|
-
const
|
|
333
|
-
return !
|
|
380
|
+
const f = a.value;
|
|
381
|
+
return !f.startsWith("#") || f.length < 7 ? "" : f.substring(0, 7);
|
|
334
382
|
}), d = k(() => {
|
|
335
|
-
const
|
|
336
|
-
return
|
|
383
|
+
const f = a.value;
|
|
384
|
+
return f.startsWith("#") ? f.length < 9 ? 1 : parseInt(f.substring(7, 9)) / 255 : 0;
|
|
337
385
|
});
|
|
338
386
|
return { color: a, rgb: p, alpha: d };
|
|
339
387
|
}
|
|
340
388
|
function Bn(t) {
|
|
341
389
|
const e = k(() => t.node.border?.style), i = k(() => t.node.border?.width), o = k(() => t.node.border?.color), { color: l } = K(o), s = k(() => t.node.border?.roundRadius?.tl), a = k(() => t.node.border?.roundRadius?.tr), p = k(() => t.node.border?.roundRadius?.bl), d = k(() => t.node.border?.roundRadius?.br);
|
|
342
|
-
function
|
|
390
|
+
function f(m) {
|
|
343
391
|
e.value && (m.borderStyle = e.value), i.value && (m.borderWidth = i.value), l.value && (m.borderColor = l.value), s.value && (m.borderTopLeftRadius = s.value), a.value && (m.borderTopRightRadius = a.value), p.value && (m.borderBottomLeftRadius = p.value), d.value && (m.borderBottomRightRadius = d.value);
|
|
344
392
|
}
|
|
345
|
-
return { borderStyle: e, borderWidth: i, borderColor: l, applyBorder:
|
|
393
|
+
return { borderStyle: e, borderWidth: i, borderColor: l, applyBorder: f };
|
|
346
394
|
}
|
|
347
395
|
function Wn(t) {
|
|
348
396
|
const e = k(() => t.node.margin?.top), i = k(() => t.node.margin?.left), o = k(() => t.node.margin?.bottom), l = k(() => t.node.margin?.right);
|
|
@@ -381,12 +429,12 @@ function ge(t) {
|
|
|
381
429
|
}
|
|
382
430
|
return t.node.size?.maxHeight;
|
|
383
431
|
});
|
|
384
|
-
function
|
|
432
|
+
function f(m) {
|
|
385
433
|
o.value && (m.width = o.value), l.value && (m.minWidth = l.value), s.value && (m.maxWidth = s.value), a.value && (m.height = a.value), p.value && (m.minHeight = p.value), d.value && (m.maxHeight = d.value);
|
|
386
434
|
}
|
|
387
|
-
return { width: o, minWidth: l, maxWidth: s, height: a, minHeight: p, maxHeight: d, applySize:
|
|
435
|
+
return { width: o, minWidth: l, maxWidth: s, height: a, minHeight: p, maxHeight: d, applySize: f };
|
|
388
436
|
}
|
|
389
|
-
function
|
|
437
|
+
function fo(t, e, i) {
|
|
390
438
|
const o = k(() => e.node.basic.id), l = k(() => `callMethod@${o.value}`);
|
|
391
439
|
No(() => {
|
|
392
440
|
t.eventBus?.on(l.value, i);
|
|
@@ -405,18 +453,18 @@ const Vs = ["bottom", "far", "left", "near", "position", "right", "rotation", "s
|
|
|
405
453
|
outer: { type: Boolean }
|
|
406
454
|
},
|
|
407
455
|
setup(t) {
|
|
408
|
-
const e = t, i = G(), { position: o, rotation: l, scale: s } = me(e), {
|
|
409
|
-
return (c,
|
|
456
|
+
const e = t, i = G(), { position: o, rotation: l, scale: s } = me(e), { property: a } = r(e, ["settings", "bottom"]), { property: p } = r(e, ["settings", "far"]), { property: d } = r(e, ["settings", "left"]), { property: f } = r(e, ["settings", "near"]), { property: m } = r(e, ["settings", "right"]), { property: u } = r(e, ["settings", "top"]);
|
|
457
|
+
return (c, y) => (v(), V(n(he), {
|
|
410
458
|
position: n(o),
|
|
411
459
|
rotation: n(l),
|
|
412
460
|
scale: n(s)
|
|
413
461
|
}, {
|
|
414
462
|
default: I(() => [
|
|
415
|
-
|
|
463
|
+
ee("TresOrthographicCamera", {
|
|
416
464
|
bottom: n(a),
|
|
417
465
|
far: n(p),
|
|
418
466
|
left: n(d),
|
|
419
|
-
near: n(
|
|
467
|
+
near: n(f),
|
|
420
468
|
position: n(i) !== "editor" ? n(o) : [0, 0, 0],
|
|
421
469
|
right: n(m),
|
|
422
470
|
rotation: n(i) !== "editor" ? n(l) : [0, 0, 0],
|
|
@@ -426,7 +474,7 @@ const Vs = ["bottom", "far", "left", "near", "position", "right", "rotation", "s
|
|
|
426
474
|
n(i) === "editor" ? (v(), V(n(Be), {
|
|
427
475
|
key: 0,
|
|
428
476
|
type: n(io)
|
|
429
|
-
}, null, 8, ["type"])) :
|
|
477
|
+
}, null, 8, ["type"])) : te("", !0),
|
|
430
478
|
L(c.$slots, "default")
|
|
431
479
|
], 8, Vs)
|
|
432
480
|
]),
|
|
@@ -440,18 +488,18 @@ const Vs = ["bottom", "far", "left", "near", "position", "right", "rotation", "s
|
|
|
440
488
|
outer: { type: Boolean }
|
|
441
489
|
},
|
|
442
490
|
setup(t) {
|
|
443
|
-
const e = t, i = G(), { position: o, rotation: l, scale: s } = me(e), {
|
|
491
|
+
const e = t, i = G(), { position: o, rotation: l, scale: s } = me(e), { property: a } = r(e, ["settings", "aspect"]), { property: p } = r(e, ["settings", "far"]), { property: d } = r(e, ["settings", "fov"]), { property: f } = r(e, ["settings", "near"]);
|
|
444
492
|
return (m, u) => (v(), V(n(he), {
|
|
445
493
|
position: n(o),
|
|
446
494
|
rotation: n(l),
|
|
447
495
|
scale: n(s)
|
|
448
496
|
}, {
|
|
449
497
|
default: I(() => [
|
|
450
|
-
|
|
498
|
+
ee("TresPerspectiveCamera", {
|
|
451
499
|
aspect: n(a),
|
|
452
500
|
far: n(p),
|
|
453
501
|
fov: n(d),
|
|
454
|
-
near: n(
|
|
502
|
+
near: n(f),
|
|
455
503
|
position: n(i) !== "editor" ? n(o) : [0, 0, 0],
|
|
456
504
|
rotation: n(i) !== "editor" ? n(l) : [0, 0, 0],
|
|
457
505
|
scale: n(i) !== "editor" ? n(s) : [1, 1, 1]
|
|
@@ -459,7 +507,7 @@ const Vs = ["bottom", "far", "left", "near", "position", "right", "rotation", "s
|
|
|
459
507
|
n(i) === "editor" ? (v(), V(n(Be), {
|
|
460
508
|
key: 0,
|
|
461
509
|
type: n(io)
|
|
462
|
-
}, null, 8, ["type"])) :
|
|
510
|
+
}, null, 8, ["type"])) : te("", !0),
|
|
463
511
|
L(m.$slots, "default")
|
|
464
512
|
], 8, Is)
|
|
465
513
|
]),
|
|
@@ -473,17 +521,17 @@ const Vs = ["bottom", "far", "left", "near", "position", "right", "rotation", "s
|
|
|
473
521
|
outer: { type: Boolean }
|
|
474
522
|
},
|
|
475
523
|
setup(t) {
|
|
476
|
-
const e = t, {
|
|
524
|
+
const e = t, { property: i } = r(e, ["settings", "depth"]), { property: o } = r(e, [
|
|
477
525
|
"settings",
|
|
478
526
|
"depthSegements"
|
|
479
|
-
]), {
|
|
527
|
+
]), { property: l } = r(e, ["settings", "height"]), { property: s } = r(e, [
|
|
480
528
|
"settings",
|
|
481
529
|
"heightSegements"
|
|
482
|
-
]), {
|
|
530
|
+
]), { property: a } = r(e, ["settings", "width"]), { property: p } = r(e, [
|
|
483
531
|
"settings",
|
|
484
532
|
"widthSegements"
|
|
485
533
|
]);
|
|
486
|
-
return (d,
|
|
534
|
+
return (d, f) => (v(), Y("TresBoxGeometry", {
|
|
487
535
|
args: [
|
|
488
536
|
n(a),
|
|
489
537
|
n(l),
|
|
@@ -506,20 +554,26 @@ const Vs = ["bottom", "far", "left", "near", "position", "right", "rotation", "s
|
|
|
506
554
|
outer: { type: Boolean }
|
|
507
555
|
},
|
|
508
556
|
setup(t) {
|
|
509
|
-
const e = t, {
|
|
557
|
+
const e = t, { property: i } = r(e, [
|
|
510
558
|
"settings",
|
|
511
559
|
"heightSegments"
|
|
512
|
-
]), {
|
|
560
|
+
]), { property: o } = r(e, [
|
|
561
|
+
"settings",
|
|
562
|
+
"phiLength"
|
|
563
|
+
]), { property: l } = r(e, [
|
|
564
|
+
"settings",
|
|
565
|
+
"phiStart"
|
|
566
|
+
]), { property: s } = r(e, ["settings", "radius"]), { property: a } = r(e, [
|
|
513
567
|
"settings",
|
|
514
568
|
"thetaLength"
|
|
515
|
-
]), {
|
|
569
|
+
]), { property: p } = r(e, [
|
|
516
570
|
"settings",
|
|
517
571
|
"thetaStart"
|
|
518
|
-
]), {
|
|
572
|
+
]), { property: d } = r(e, [
|
|
519
573
|
"settings",
|
|
520
574
|
"widthSegments"
|
|
521
575
|
]);
|
|
522
|
-
return (
|
|
576
|
+
return (f, m) => (v(), Y("TresSphereGeometry", {
|
|
523
577
|
args: [
|
|
524
578
|
n(s),
|
|
525
579
|
n(d),
|
|
@@ -538,21 +592,24 @@ const Vs = ["bottom", "far", "left", "near", "position", "right", "rotation", "s
|
|
|
538
592
|
outer: { type: Boolean }
|
|
539
593
|
},
|
|
540
594
|
setup(t) {
|
|
541
|
-
const e = t, i = G(), { position: o, rotation: l, scale: s } = me(e), {
|
|
542
|
-
|
|
595
|
+
const e = t, i = G(), { position: o, rotation: l, scale: s } = me(e), { property: a } = r(e, ["settings", "color"]), { color: p } = K(a), { property: d } = r(e, [
|
|
596
|
+
"settings",
|
|
597
|
+
"intensity"
|
|
598
|
+
]);
|
|
599
|
+
return (f, m) => (v(), V(n(he), {
|
|
543
600
|
position: n(o),
|
|
544
601
|
rotation: n(l),
|
|
545
602
|
scale: n(s)
|
|
546
603
|
}, {
|
|
547
604
|
default: I(() => [
|
|
548
|
-
|
|
605
|
+
ee("TresAmbientLight", {
|
|
549
606
|
color: n(p),
|
|
550
607
|
intensity: n(d),
|
|
551
608
|
position: n(i) !== "editor" ? n(o) : [0, 0, 0],
|
|
552
609
|
rotation: n(i) !== "editor" ? n(l) : [0, 0, 0],
|
|
553
610
|
scale: n(i) !== "editor" ? n(s) : [1, 1, 1]
|
|
554
611
|
}, [
|
|
555
|
-
L(
|
|
612
|
+
L(f.$slots, "default")
|
|
556
613
|
], 8, As)
|
|
557
614
|
]),
|
|
558
615
|
_: 3
|
|
@@ -565,14 +622,17 @@ const Vs = ["bottom", "far", "left", "near", "position", "right", "rotation", "s
|
|
|
565
622
|
outer: { type: Boolean }
|
|
566
623
|
},
|
|
567
624
|
setup(t) {
|
|
568
|
-
const e = t, i = G(), { position: o, rotation: l, scale: s } = me(e), {
|
|
569
|
-
|
|
625
|
+
const e = t, i = G(), { position: o, rotation: l, scale: s } = me(e), { property: a } = r(e, ["settings", "color"]), { color: p } = K(a), { property: d } = r(e, [
|
|
626
|
+
"settings",
|
|
627
|
+
"intensity"
|
|
628
|
+
]);
|
|
629
|
+
return (f, m) => (v(), V(n(he), {
|
|
570
630
|
position: n(o),
|
|
571
631
|
rotation: n(l),
|
|
572
632
|
scale: n(s)
|
|
573
633
|
}, {
|
|
574
634
|
default: I(() => [
|
|
575
|
-
|
|
635
|
+
ee("TresDirectionalLight", {
|
|
576
636
|
color: n(p),
|
|
577
637
|
intensity: n(d),
|
|
578
638
|
position: n(i) !== "editor" ? n(o) : [0, 0, 0],
|
|
@@ -582,8 +642,8 @@ const Vs = ["bottom", "far", "left", "near", "position", "right", "rotation", "s
|
|
|
582
642
|
n(i) === "editor" ? (v(), V(n(Be), {
|
|
583
643
|
key: 0,
|
|
584
644
|
type: n(Uo)
|
|
585
|
-
}, null, 8, ["type"])) :
|
|
586
|
-
L(
|
|
645
|
+
}, null, 8, ["type"])) : te("", !0),
|
|
646
|
+
L(f.$slots, "default")
|
|
587
647
|
], 8, Bs)
|
|
588
648
|
]),
|
|
589
649
|
_: 3
|
|
@@ -596,17 +656,23 @@ const Vs = ["bottom", "far", "left", "near", "position", "right", "rotation", "s
|
|
|
596
656
|
outer: { type: Boolean }
|
|
597
657
|
},
|
|
598
658
|
setup(t) {
|
|
599
|
-
const e = t, i = G(), { position: o, rotation: l, scale: s } = me(e), {
|
|
659
|
+
const e = t, i = G(), { position: o, rotation: l, scale: s } = me(e), { property: a } = r(e, ["settings", "color"]), { color: p } = K(a), { property: d } = r(e, ["settings", "decay"]), { property: f } = r(e, [
|
|
660
|
+
"settings",
|
|
661
|
+
"distance"
|
|
662
|
+
]), { property: m } = r(e, [
|
|
663
|
+
"settings",
|
|
664
|
+
"intensity"
|
|
665
|
+
]);
|
|
600
666
|
return (u, c) => (v(), V(n(he), {
|
|
601
667
|
position: n(o),
|
|
602
668
|
rotation: n(l),
|
|
603
669
|
scale: n(s)
|
|
604
670
|
}, {
|
|
605
671
|
default: I(() => [
|
|
606
|
-
|
|
672
|
+
ee("TresPointLight", {
|
|
607
673
|
color: n(p),
|
|
608
674
|
decay: n(d),
|
|
609
|
-
distance: n(
|
|
675
|
+
distance: n(f),
|
|
610
676
|
intensity: n(m),
|
|
611
677
|
position: n(i) !== "editor" ? n(o) : [0, 0, 0],
|
|
612
678
|
rotation: n(i) !== "editor" ? n(l) : [0, 0, 0],
|
|
@@ -615,7 +681,7 @@ const Vs = ["bottom", "far", "left", "near", "position", "right", "rotation", "s
|
|
|
615
681
|
n(i) === "editor" ? (v(), V(n(Be), {
|
|
616
682
|
key: 0,
|
|
617
683
|
type: n(Xo)
|
|
618
|
-
}, null, 8, ["type"])) :
|
|
684
|
+
}, null, 8, ["type"])) : te("", !0),
|
|
619
685
|
L(u.$slots, "default")
|
|
620
686
|
], 8, Es)
|
|
621
687
|
]),
|
|
@@ -629,17 +695,26 @@ const Vs = ["bottom", "far", "left", "near", "position", "right", "rotation", "s
|
|
|
629
695
|
outer: { type: Boolean }
|
|
630
696
|
},
|
|
631
697
|
setup(t) {
|
|
632
|
-
const e = t, i = G(), { position: o, rotation: l, scale: s } = me(e), {
|
|
633
|
-
|
|
698
|
+
const e = t, i = G(), { position: o, rotation: l, scale: s } = me(e), { property: a } = r(e, ["settings", "angle"]), { property: p } = r(e, ["settings", "color"]), { color: d } = K(p), { property: f } = r(e, ["settings", "decay"]), { property: m } = r(e, [
|
|
699
|
+
"settings",
|
|
700
|
+
"distance"
|
|
701
|
+
]), { property: u } = r(e, [
|
|
702
|
+
"settings",
|
|
703
|
+
"intensity"
|
|
704
|
+
]), { property: c } = r(e, [
|
|
705
|
+
"settings",
|
|
706
|
+
"penumbra"
|
|
707
|
+
]);
|
|
708
|
+
return (y, h) => (v(), V(n(he), {
|
|
634
709
|
position: n(o),
|
|
635
710
|
rotation: n(l),
|
|
636
711
|
scale: n(s)
|
|
637
712
|
}, {
|
|
638
713
|
default: I(() => [
|
|
639
|
-
|
|
714
|
+
ee("TresSpotLight", {
|
|
640
715
|
angle: n(a),
|
|
641
716
|
color: n(d),
|
|
642
|
-
decay: n(
|
|
717
|
+
decay: n(f),
|
|
643
718
|
distance: n(m),
|
|
644
719
|
intensity: n(u),
|
|
645
720
|
penumbra: n(c),
|
|
@@ -650,8 +725,8 @@ const Vs = ["bottom", "far", "left", "near", "position", "right", "rotation", "s
|
|
|
650
725
|
n(i) === "editor" ? (v(), V(n(Be), {
|
|
651
726
|
key: 0,
|
|
652
727
|
type: n(Yo)
|
|
653
|
-
}, null, 8, ["type"])) :
|
|
654
|
-
L(
|
|
728
|
+
}, null, 8, ["type"])) : te("", !0),
|
|
729
|
+
L(y.$slots, "default")
|
|
655
730
|
], 8, Ms)
|
|
656
731
|
]),
|
|
657
732
|
_: 3
|
|
@@ -675,7 +750,7 @@ const Gs = /* @__PURE__ */ xe(Ds, [["render", Fs]]), Hs = ["position", "rotation
|
|
|
675
750
|
scale: n(s)
|
|
676
751
|
}, {
|
|
677
752
|
default: I(() => [
|
|
678
|
-
|
|
753
|
+
ee("TresGroup", {
|
|
679
754
|
position: n(i) !== "editor" ? n(o) : [0, 0, 0],
|
|
680
755
|
rotation: n(i) !== "editor" ? n(l) : [0, 0, 0],
|
|
681
756
|
scale: n(i) !== "editor" ? n(s) : [1, 1, 1]
|
|
@@ -702,7 +777,7 @@ const Gs = /* @__PURE__ */ xe(Ds, [["render", Fs]]), Hs = ["position", "rotation
|
|
|
702
777
|
L(s.$slots, "default")
|
|
703
778
|
], 8, js));
|
|
704
779
|
}
|
|
705
|
-
}), Us = ["#dd6b66", "#759aa0", "#e69d87", "#8dc1a9", "#ea7e53", "#eedd78", "#73a373", "#73b9bc", "#7289ab", "#91ca8c", "#f49f42"], Xs = "#242424", Ys = {}, Js = { textStyle: { color: "#eeeeee" }, subtextStyle: { color: "#aaaaaa" } }, Zs = { itemStyle: { borderWidth: 1 }, lineStyle: { width: 2 }, symbolSize: 4, symbol: "circle", smooth: !1 }, qs = { itemStyle: { borderWidth: 1 }, lineStyle: { width: 2 }, symbolSize: 4, symbol: "circle", smooth: !1 }, Qs = { itemStyle: { barBorderWidth: 0, barBorderColor: "#ccc" } }, er = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, tr = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, nr = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, ir = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, or = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, sr = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, rr = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, lr = { itemStyle: { color: "#fd1050", color0: "#0cf49b", borderColor: "#fd1050", borderColor0: "#0cf49b", borderWidth: 1 } }, ar = { itemStyle: { borderWidth: 0, borderColor: "#ccc" }, lineStyle: { width: 1, color: "#aaa" }, symbolSize: 4, symbol: "circle", smooth: !1, color: ["#dd6b66", "#759aa0", "#e69d87", "#8dc1a9", "#ea7e53", "#eedd78", "#73a373", "#73b9bc", "#7289ab", "#91ca8c", "#f49f42"], label: { color: "#eee" } }, ur = { itemStyle: { areaColor: "#eee", borderColor: "#444", borderWidth: 0.5 }, label: { color: "#000" }, emphasis: { itemStyle: { areaColor: "rgba(255,215,0,0.8)", borderColor: "#444", borderWidth: 1 }, label: { color: "rgb(100,0,0)" } } }, cr = { itemStyle: { areaColor: "#eee", borderColor: "#444", borderWidth: 0.5 }, label: { color: "#000" }, emphasis: { itemStyle: { areaColor: "rgba(255,215,0,0.8)", borderColor: "#444", borderWidth: 1 }, label: { color: "rgb(100,0,0)" } } }, mr = { axisLine: { show: !0, lineStyle: { color: "#eeeeee" } }, axisTick: { show: !0, lineStyle: { color: "#eeeeee" } }, axisLabel: { show: !0, color: "#eeeeee" }, splitLine: { show: !0, lineStyle: { color: ["#aaaaaa"] } }, splitArea: { show: !1, areaStyle: { color: ["#eeeeee"] } } }, pr = { axisLine: { show: !0, lineStyle: { color: "#eeeeee" } }, axisTick: { show: !0, lineStyle: { color: "#eeeeee" } }, axisLabel: { show: !0, color: "#eeeeee" }, splitLine: { show: !0, lineStyle: { color: ["#aaaaaa"] } }, splitArea: { show: !1, areaStyle: { color: ["#eeeeee"] } } }, dr = { axisLine: { show: !0, lineStyle: { color: "#eeeeee" } }, axisTick: { show: !0, lineStyle: { color: "#eeeeee" } }, axisLabel: { show: !0, color: "#eeeeee" }, splitLine: { show: !0, lineStyle: { color: ["#aaaaaa"] } }, splitArea: { show: !1, areaStyle: { color: ["#eeeeee"] } } },
|
|
780
|
+
}), Us = ["#dd6b66", "#759aa0", "#e69d87", "#8dc1a9", "#ea7e53", "#eedd78", "#73a373", "#73b9bc", "#7289ab", "#91ca8c", "#f49f42"], Xs = "#242424", Ys = {}, Js = { textStyle: { color: "#eeeeee" }, subtextStyle: { color: "#aaaaaa" } }, Zs = { itemStyle: { borderWidth: 1 }, lineStyle: { width: 2 }, symbolSize: 4, symbol: "circle", smooth: !1 }, qs = { itemStyle: { borderWidth: 1 }, lineStyle: { width: 2 }, symbolSize: 4, symbol: "circle", smooth: !1 }, Qs = { itemStyle: { barBorderWidth: 0, barBorderColor: "#ccc" } }, er = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, tr = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, nr = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, ir = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, or = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, sr = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, rr = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, lr = { itemStyle: { color: "#fd1050", color0: "#0cf49b", borderColor: "#fd1050", borderColor0: "#0cf49b", borderWidth: 1 } }, ar = { itemStyle: { borderWidth: 0, borderColor: "#ccc" }, lineStyle: { width: 1, color: "#aaa" }, symbolSize: 4, symbol: "circle", smooth: !1, color: ["#dd6b66", "#759aa0", "#e69d87", "#8dc1a9", "#ea7e53", "#eedd78", "#73a373", "#73b9bc", "#7289ab", "#91ca8c", "#f49f42"], label: { color: "#eee" } }, ur = { itemStyle: { areaColor: "#eee", borderColor: "#444", borderWidth: 0.5 }, label: { color: "#000" }, emphasis: { itemStyle: { areaColor: "rgba(255,215,0,0.8)", borderColor: "#444", borderWidth: 1 }, label: { color: "rgb(100,0,0)" } } }, cr = { itemStyle: { areaColor: "#eee", borderColor: "#444", borderWidth: 0.5 }, label: { color: "#000" }, emphasis: { itemStyle: { areaColor: "rgba(255,215,0,0.8)", borderColor: "#444", borderWidth: 1 }, label: { color: "rgb(100,0,0)" } } }, mr = { axisLine: { show: !0, lineStyle: { color: "#eeeeee" } }, axisTick: { show: !0, lineStyle: { color: "#eeeeee" } }, axisLabel: { show: !0, color: "#eeeeee" }, splitLine: { show: !0, lineStyle: { color: ["#aaaaaa"] } }, splitArea: { show: !1, areaStyle: { color: ["#eeeeee"] } } }, pr = { axisLine: { show: !0, lineStyle: { color: "#eeeeee" } }, axisTick: { show: !0, lineStyle: { color: "#eeeeee" } }, axisLabel: { show: !0, color: "#eeeeee" }, splitLine: { show: !0, lineStyle: { color: ["#aaaaaa"] } }, splitArea: { show: !1, areaStyle: { color: ["#eeeeee"] } } }, dr = { axisLine: { show: !0, lineStyle: { color: "#eeeeee" } }, axisTick: { show: !0, lineStyle: { color: "#eeeeee" } }, axisLabel: { show: !0, color: "#eeeeee" }, splitLine: { show: !0, lineStyle: { color: ["#aaaaaa"] } }, splitArea: { show: !1, areaStyle: { color: ["#eeeeee"] } } }, yr = { axisLine: { show: !0, lineStyle: { color: "#eeeeee" } }, axisTick: { show: !0, lineStyle: { color: "#eeeeee" } }, axisLabel: { show: !0, color: "#eeeeee" }, splitLine: { show: !0, lineStyle: { color: ["#aaaaaa"] } }, splitArea: { show: !1, areaStyle: { color: ["#eeeeee"] } } }, fr = { iconStyle: { borderColor: "#999" }, emphasis: { iconStyle: { borderColor: "#666" } } }, br = { textStyle: { color: "#eeeeee" } }, hr = { axisPointer: { lineStyle: { color: "#eeeeee", width: "1" }, crossStyle: { color: "#eeeeee", width: "1" } } }, gr = { lineStyle: { color: "#eeeeee", width: 1 }, itemStyle: { color: "#dd6b66", borderWidth: 1 }, controlStyle: { color: "#eeeeee", borderColor: "#eeeeee", borderWidth: 0.5 }, checkpointStyle: { color: "#e43c59", borderColor: "#c23531" }, label: { color: "#eeeeee" }, emphasis: { itemStyle: { color: "#a9334c" }, controlStyle: { color: "#eeeeee", borderColor: "#eeeeee", borderWidth: 0.5 }, label: { color: "#eeeeee" } } }, xr = { color: ["#bf444c", "#d88273", "#f6efa6"] }, vr = { backgroundColor: "rgba(47,69,84,0)", dataBackgroundColor: "rgba(255,255,255,0.3)", fillerColor: "rgba(167,183,204,0.4)", handleColor: "#a7b7cc", handleSize: "100%", textStyle: { color: "#eeeeee" } }, kr = { label: { color: "#eee" }, emphasis: { label: { color: "#eee" } } }, _r = {
|
|
706
781
|
color: Us,
|
|
707
782
|
backgroundColor: Xs,
|
|
708
783
|
textStyle: Ys,
|
|
@@ -724,8 +799,8 @@ const Gs = /* @__PURE__ */ xe(Ds, [["render", Fs]]), Hs = ["position", "rotation
|
|
|
724
799
|
categoryAxis: mr,
|
|
725
800
|
valueAxis: pr,
|
|
726
801
|
logAxis: dr,
|
|
727
|
-
timeAxis:
|
|
728
|
-
toolbox:
|
|
802
|
+
timeAxis: yr,
|
|
803
|
+
toolbox: fr,
|
|
729
804
|
legend: br,
|
|
730
805
|
tooltip: hr,
|
|
731
806
|
timeline: gr,
|
|
@@ -782,7 +857,7 @@ const Qr = /* @__PURE__ */ $({
|
|
|
782
857
|
outer: { type: Boolean }
|
|
783
858
|
},
|
|
784
859
|
setup(t) {
|
|
785
|
-
const e = t, i = $e(), o = We(), l = pe(), s = de(), { width: a, minWidth: p, maxWidth: d, height:
|
|
860
|
+
const e = t, i = $e(), o = We(), l = pe(), s = de(), { width: a, minWidth: p, maxWidth: d, height: f, minHeight: m, maxHeight: u, applySize: c } = ge(e), { applyTitle: y } = mo(e), { applyXAxis: h } = po(e), { applyYAxis: g } = yo(e), { applyLegend: x } = uo(e), { applySeries: w } = co(e), C = k(() => {
|
|
786
861
|
const S = {}, D = s.value.type;
|
|
787
862
|
return l === "page" ? D === "common" ? c(S) : console.assert(!1) : l === "comp" && D === "common" ? c(S) : console.assert(!1), S;
|
|
788
863
|
}), M = Xi("chart");
|
|
@@ -795,29 +870,29 @@ const Qr = /* @__PURE__ */ $({
|
|
|
795
870
|
W?.resize();
|
|
796
871
|
}, E = () => {
|
|
797
872
|
const S = {};
|
|
798
|
-
|
|
873
|
+
y(S), h(S), g(S), x(S), w(S), W?.setOption(S, !0);
|
|
799
874
|
};
|
|
800
875
|
return Yi(async () => {
|
|
801
876
|
window.addEventListener("resize", R, !1), await qi(() => !!M.value), F(), E();
|
|
802
877
|
}), je(() => {
|
|
803
878
|
window.removeEventListener("resize", R, !1), W?.dispose();
|
|
804
|
-
}),
|
|
879
|
+
}), Q(
|
|
805
880
|
[
|
|
806
881
|
() => i.value.width,
|
|
807
882
|
() => i.value.height,
|
|
808
883
|
a,
|
|
809
884
|
p,
|
|
810
885
|
d,
|
|
811
|
-
|
|
886
|
+
f,
|
|
812
887
|
m,
|
|
813
888
|
u
|
|
814
889
|
],
|
|
815
890
|
async () => {
|
|
816
891
|
await Ji(), R();
|
|
817
892
|
}
|
|
818
|
-
),
|
|
893
|
+
), Q([o], () => {
|
|
819
894
|
F(), E();
|
|
820
|
-
}),
|
|
895
|
+
}), Q(
|
|
821
896
|
[e],
|
|
822
897
|
() => {
|
|
823
898
|
E();
|
|
@@ -825,7 +900,7 @@ const Qr = /* @__PURE__ */ $({
|
|
|
825
900
|
{ deep: !0 }
|
|
826
901
|
), (S, D) => (v(), Y("div", {
|
|
827
902
|
ref: "chart",
|
|
828
|
-
style:
|
|
903
|
+
style: q(C.value)
|
|
829
904
|
}, null, 4));
|
|
830
905
|
}
|
|
831
906
|
}), el = /* @__PURE__ */ $({
|
|
@@ -835,7 +910,7 @@ const Qr = /* @__PURE__ */ $({
|
|
|
835
910
|
outer: { type: Boolean }
|
|
836
911
|
},
|
|
837
912
|
setup(t) {
|
|
838
|
-
const e = t, i = $e(), o = We(), l = pe(), s = de(), { width: a, minWidth: p, maxWidth: d, height:
|
|
913
|
+
const e = t, i = $e(), o = We(), l = pe(), s = de(), { width: a, minWidth: p, maxWidth: d, height: f, minHeight: m, maxHeight: u, applySize: c } = ge(e), { applyTitle: y } = mo(e), { applyXAxis: h } = po(e), { applyYAxis: g } = yo(e), { applyLegend: x } = uo(e), { applySeries: w } = co(e), C = k(() => {
|
|
839
914
|
const S = {}, D = s.value.type;
|
|
840
915
|
return l === "page" ? D === "common" ? c(S) : console.assert(!1) : l === "comp" && D === "common" ? c(S) : console.assert(!1), S;
|
|
841
916
|
}), M = Xi("chart");
|
|
@@ -848,29 +923,29 @@ const Qr = /* @__PURE__ */ $({
|
|
|
848
923
|
W?.resize();
|
|
849
924
|
}, E = () => {
|
|
850
925
|
const S = {};
|
|
851
|
-
|
|
926
|
+
y(S), h(S), g(S), x(S), w(S), W?.setOption(S, !0);
|
|
852
927
|
};
|
|
853
928
|
return Yi(async () => {
|
|
854
929
|
window.addEventListener("resize", R, !1), await qi(() => !!M.value), F(), E();
|
|
855
930
|
}), je(() => {
|
|
856
931
|
window.removeEventListener("resize", R, !1), W?.dispose();
|
|
857
|
-
}),
|
|
932
|
+
}), Q(
|
|
858
933
|
[
|
|
859
934
|
() => i.value.width,
|
|
860
935
|
() => i.value.height,
|
|
861
936
|
a,
|
|
862
937
|
p,
|
|
863
938
|
d,
|
|
864
|
-
|
|
939
|
+
f,
|
|
865
940
|
m,
|
|
866
941
|
u
|
|
867
942
|
],
|
|
868
943
|
async () => {
|
|
869
944
|
await Ji(), R();
|
|
870
945
|
}
|
|
871
|
-
),
|
|
946
|
+
), Q([o], () => {
|
|
872
947
|
F(), E();
|
|
873
|
-
}),
|
|
948
|
+
}), Q(
|
|
874
949
|
[e],
|
|
875
950
|
() => {
|
|
876
951
|
E();
|
|
@@ -878,17 +953,17 @@ const Qr = /* @__PURE__ */ $({
|
|
|
878
953
|
{ deep: !0 }
|
|
879
954
|
), (S, D) => (v(), Y("div", {
|
|
880
955
|
ref: "chart",
|
|
881
|
-
style:
|
|
956
|
+
style: q(C.value)
|
|
882
957
|
}, null, 4));
|
|
883
958
|
}
|
|
884
|
-
}),
|
|
959
|
+
}), ye = /* @__PURE__ */ $({
|
|
885
960
|
__name: "index",
|
|
886
961
|
props: {
|
|
887
962
|
refContext: {},
|
|
888
963
|
state: {}
|
|
889
964
|
},
|
|
890
965
|
setup(t) {
|
|
891
|
-
const { t: e } =
|
|
966
|
+
const { t: e } = ys(), i = t, o = de(), l = sc(), s = ce(-1), a = ce();
|
|
892
967
|
gc(a), ue(() => {
|
|
893
968
|
if (!i.refContext.refid) {
|
|
894
969
|
s.value = -1, a.value = void 0;
|
|
@@ -902,26 +977,26 @@ const Qr = /* @__PURE__ */ $({
|
|
|
902
977
|
s.value !== c.dataSeq && (s.value = c.dataSeq, a.value = B(c.data));
|
|
903
978
|
});
|
|
904
979
|
function p(c) {
|
|
905
|
-
const
|
|
980
|
+
const y = $o[o.value.version].refKey, h = Te[y];
|
|
906
981
|
return h ? ae(h.comp, {
|
|
907
982
|
refContext: {
|
|
908
983
|
parent: i.refContext,
|
|
909
984
|
refid: c.ref.comp
|
|
910
985
|
},
|
|
911
986
|
node: c
|
|
912
|
-
}) : (console.assert(!1, `ref element not found key=${
|
|
987
|
+
}) : (console.assert(!1, `ref element not found key=${y}`), ae("div", `ref element not found key=${y}`));
|
|
913
988
|
}
|
|
914
989
|
function d(c) {
|
|
915
|
-
const
|
|
916
|
-
if (!
|
|
990
|
+
const y = Te[c.basic.key];
|
|
991
|
+
if (!y)
|
|
917
992
|
return console.assert(!1, `element not found key=${c.basic.key}`), ae("div", `element not found key=${c.basic.key}`);
|
|
918
993
|
const h = [];
|
|
919
|
-
return
|
|
920
|
-
const x =
|
|
994
|
+
return y.leaf || c.children?.forEach((g) => {
|
|
995
|
+
const x = f(g);
|
|
921
996
|
h.push(x);
|
|
922
|
-
}), ae(
|
|
997
|
+
}), ae(y.comp, { node: c }, { default: () => h });
|
|
923
998
|
}
|
|
924
|
-
function
|
|
999
|
+
function f(c) {
|
|
925
1000
|
return c.ref ? p(c) : d(c);
|
|
926
1001
|
}
|
|
927
1002
|
function m() {
|
|
@@ -940,14 +1015,14 @@ const Qr = /* @__PURE__ */ $({
|
|
|
940
1015
|
return a.value === void 0 ? ae("div") : ae("div", e("x-runtime-lib.compNotAvail"));
|
|
941
1016
|
const c = a.value.type;
|
|
942
1017
|
if (c === "common") {
|
|
943
|
-
const
|
|
1018
|
+
const y = [];
|
|
944
1019
|
return a.value.view.nodes.forEach((h) => {
|
|
945
|
-
|
|
946
|
-
}),
|
|
1020
|
+
y.push(f(h));
|
|
1021
|
+
}), y;
|
|
947
1022
|
} else
|
|
948
1023
|
return console.assert(!1, `invalid subtype=${c}`), ae("div", `invalid subtype=${c}`);
|
|
949
1024
|
};
|
|
950
|
-
return (c,
|
|
1025
|
+
return (c, y) => (v(), V(u));
|
|
951
1026
|
}
|
|
952
1027
|
}), tl = /* @__PURE__ */ $({
|
|
953
1028
|
__name: "index",
|
|
@@ -956,10 +1031,18 @@ const Qr = /* @__PURE__ */ $({
|
|
|
956
1031
|
outer: { type: Boolean }
|
|
957
1032
|
},
|
|
958
1033
|
setup(t) {
|
|
959
|
-
const e = t, {
|
|
1034
|
+
const e = t, { property: i } = r(e, ["settings", "content"]), { property: o } = r(e, ["settings", "dot"]), { theme: l } = N(), { property: s } = r(e, [
|
|
1035
|
+
"settings",
|
|
1036
|
+
"offset",
|
|
1037
|
+
"x"
|
|
1038
|
+
]), { property: a } = r(e, [
|
|
1039
|
+
"settings",
|
|
1040
|
+
"offset",
|
|
1041
|
+
"y"
|
|
1042
|
+
]);
|
|
960
1043
|
return (p, d) => {
|
|
961
|
-
const
|
|
962
|
-
return v(), V(
|
|
1044
|
+
const f = z("v-badge");
|
|
1045
|
+
return v(), V(f, {
|
|
963
1046
|
content: n(i),
|
|
964
1047
|
dot: n(o),
|
|
965
1048
|
"offset-x": n(s),
|
|
@@ -980,20 +1063,26 @@ const Qr = /* @__PURE__ */ $({
|
|
|
980
1063
|
outer: { type: Boolean }
|
|
981
1064
|
},
|
|
982
1065
|
setup(t) {
|
|
983
|
-
const e = t, i = G(), o = Ee(), {
|
|
1066
|
+
const e = t, i = G(), o = Ee(), { property: l } = r(e, [
|
|
984
1067
|
"settings",
|
|
985
1068
|
"addIcon",
|
|
986
1069
|
"append"
|
|
987
|
-
]), {
|
|
1070
|
+
]), { property: s } = r(e, ["settings", "block"]), { property: a } = r(e, ["settings", "color"]), { color: p } = K(a), { property: d } = r(e, ["settings", "density"]), { property: f } = r(e, [
|
|
1071
|
+
"settings",
|
|
1072
|
+
"disabled"
|
|
1073
|
+
]), { property: m } = r(e, ["size", "height"]), { property: u } = r(e, ["settings", "loading"]), { property: c } = r(e, ["size", "maxHeight"]), { property: y } = r(e, ["size", "maxWidth"]), { property: h } = r(e, ["size", "minHeight"]), { property: g } = r(e, ["size", "minWidth"]), { property: x } = r(e, [
|
|
988
1074
|
"settings",
|
|
989
1075
|
"addIcon",
|
|
990
1076
|
"prepend"
|
|
991
|
-
]), {
|
|
1077
|
+
]), { property: w } = r(e, [
|
|
1078
|
+
"settings",
|
|
1079
|
+
"readonly"
|
|
1080
|
+
]), { property: C } = r(e, ["settings", "ripple"]), { property: M } = r(e, ["settings", "size"]), { property: W } = r(e, ["settings", "stacked"]), { property: F } = r(e, ["settings", "text"]), { theme: R } = N(), { property: E } = r(e, ["settings", "variant"]), { property: S } = r(e, ["size", "width"]), D = (J) => {
|
|
992
1081
|
i !== "runtime" && i !== "preview" || (o.setVariable("__pointerPosX__", J.clientX), o.setVariable("__pointerPosY__", J.clientY), o.callFunction("__triggerEventV1__", [
|
|
993
1082
|
Ce("elementEvent", e.node.basic.id, "click")
|
|
994
1083
|
]));
|
|
995
1084
|
};
|
|
996
|
-
return (J,
|
|
1085
|
+
return (J, ne) => {
|
|
997
1086
|
const re = z("v-btn");
|
|
998
1087
|
return v(), V(n(Z), null, {
|
|
999
1088
|
default: I(() => [
|
|
@@ -1002,11 +1091,11 @@ const Qr = /* @__PURE__ */ $({
|
|
|
1002
1091
|
block: n(s),
|
|
1003
1092
|
color: n(p),
|
|
1004
1093
|
density: n(d),
|
|
1005
|
-
disabled: n(
|
|
1094
|
+
disabled: n(f),
|
|
1006
1095
|
height: n(m),
|
|
1007
1096
|
loading: n(u),
|
|
1008
1097
|
"max-height": n(c),
|
|
1009
|
-
"max-width": n(
|
|
1098
|
+
"max-width": n(y),
|
|
1010
1099
|
"min-height": n(h),
|
|
1011
1100
|
"min-width": n(g),
|
|
1012
1101
|
"prepend-icon": n(x),
|
|
@@ -1042,8 +1131,20 @@ const sl = /* @__PURE__ */ xe(il, [["render", ol]]), rl = /* @__PURE__ */ $({
|
|
|
1042
1131
|
outer: { type: Boolean }
|
|
1043
1132
|
},
|
|
1044
1133
|
setup(t) {
|
|
1045
|
-
const e = t, {
|
|
1046
|
-
|
|
1134
|
+
const e = t, { property: i } = r(e, ["settings", "block"]), { property: o } = r(e, [
|
|
1135
|
+
"settings",
|
|
1136
|
+
"disabled"
|
|
1137
|
+
]), { property: l } = r(e, ["settings", "divided"]), { property: s } = r(e, [
|
|
1138
|
+
"settings",
|
|
1139
|
+
"mandatory"
|
|
1140
|
+
]), { property: a } = r(e, [
|
|
1141
|
+
"settings",
|
|
1142
|
+
"multiple"
|
|
1143
|
+
]), { property: p } = r(e, [
|
|
1144
|
+
"settings",
|
|
1145
|
+
"readonly"
|
|
1146
|
+
]), { property: d } = r(e, ["settings", "size"]), { property: f } = r(e, ["settings", "stacked"]), { theme: m } = N(), { property: u } = r(e, ["settings", "tile"]), { property: c } = r(e, ["settings", "variant"]);
|
|
1147
|
+
return (y, h) => {
|
|
1047
1148
|
const g = z("v-btn-toggle");
|
|
1048
1149
|
return v(), V(g, {
|
|
1049
1150
|
block: n(i),
|
|
@@ -1053,13 +1154,13 @@ const sl = /* @__PURE__ */ xe(il, [["render", ol]]), rl = /* @__PURE__ */ $({
|
|
|
1053
1154
|
multiple: n(a),
|
|
1054
1155
|
readonly: n(p),
|
|
1055
1156
|
size: n(d),
|
|
1056
|
-
stacked: n(
|
|
1157
|
+
stacked: n(f),
|
|
1057
1158
|
theme: n(m),
|
|
1058
1159
|
tile: n(u),
|
|
1059
1160
|
variant: n(c)
|
|
1060
1161
|
}, {
|
|
1061
1162
|
default: I(() => [
|
|
1062
|
-
L(
|
|
1163
|
+
L(y.$slots, "default")
|
|
1063
1164
|
]),
|
|
1064
1165
|
_: 3
|
|
1065
1166
|
}, 8, ["block", "disabled", "divided", "mandatory", "multiple", "readonly", "size", "stacked", "theme", "tile", "variant"]);
|
|
@@ -1072,7 +1173,13 @@ const sl = /* @__PURE__ */ xe(il, [["render", ol]]), rl = /* @__PURE__ */ $({
|
|
|
1072
1173
|
outer: { type: Boolean }
|
|
1073
1174
|
},
|
|
1074
1175
|
setup(t) {
|
|
1075
|
-
const e = t, {
|
|
1176
|
+
const e = t, { property: i } = r(e, ["settings", "density"]), { property: o } = r(e, [
|
|
1177
|
+
"settings",
|
|
1178
|
+
"disabled"
|
|
1179
|
+
]), { property: l } = r(e, ["size", "height"]), { property: s } = r(e, ["settings", "hover"]), { property: a } = r(e, ["settings", "loading"]), { property: p } = r(e, ["size", "maxHeight"]), { property: d } = r(e, ["size", "maxWidth"]), { property: f } = r(e, ["size", "minHeight"]), { property: m } = r(e, ["size", "minWidth"]), { property: u } = r(e, [
|
|
1180
|
+
"settings",
|
|
1181
|
+
"subtitle"
|
|
1182
|
+
]), { property: c } = r(e, ["settings", "text"]), { theme: y } = N(), { property: h } = r(e, ["settings", "title"]), { property: g } = r(e, ["settings", "variant"]), { property: x } = r(e, ["size", "width"]);
|
|
1076
1183
|
return (w, C) => {
|
|
1077
1184
|
const M = z("v-card");
|
|
1078
1185
|
return v(), V(M, {
|
|
@@ -1083,11 +1190,11 @@ const sl = /* @__PURE__ */ xe(il, [["render", ol]]), rl = /* @__PURE__ */ $({
|
|
|
1083
1190
|
loading: n(a),
|
|
1084
1191
|
"max-height": n(p),
|
|
1085
1192
|
"max-width": n(d),
|
|
1086
|
-
"min-height": n(
|
|
1193
|
+
"min-height": n(f),
|
|
1087
1194
|
"min-width": n(m),
|
|
1088
1195
|
subtitle: n(u),
|
|
1089
1196
|
text: n(c),
|
|
1090
|
-
theme: n(
|
|
1197
|
+
theme: n(y),
|
|
1091
1198
|
title: n(h),
|
|
1092
1199
|
variant: n(g),
|
|
1093
1200
|
width: n(x)
|
|
@@ -1106,7 +1213,13 @@ const sl = /* @__PURE__ */ xe(il, [["render", ol]]), rl = /* @__PURE__ */ $({
|
|
|
1106
1213
|
outer: { type: Boolean }
|
|
1107
1214
|
},
|
|
1108
1215
|
setup(t) {
|
|
1109
|
-
const e = t, {
|
|
1216
|
+
const e = t, { property: i } = r(e, [
|
|
1217
|
+
"settings",
|
|
1218
|
+
"disabled"
|
|
1219
|
+
]), { property: o } = r(e, [
|
|
1220
|
+
"settings",
|
|
1221
|
+
"readonly"
|
|
1222
|
+
]);
|
|
1110
1223
|
return (l, s) => {
|
|
1111
1224
|
const a = z("v-checkbox");
|
|
1112
1225
|
return v(), V(a, {
|
|
@@ -1122,7 +1235,16 @@ const sl = /* @__PURE__ */ xe(il, [["render", ol]]), rl = /* @__PURE__ */ $({
|
|
|
1122
1235
|
outer: { type: Boolean }
|
|
1123
1236
|
},
|
|
1124
1237
|
setup(t) {
|
|
1125
|
-
const e = t, {
|
|
1238
|
+
const e = t, { property: i } = r(e, [
|
|
1239
|
+
"settings",
|
|
1240
|
+
"closable"
|
|
1241
|
+
]), { property: o } = r(e, ["settings", "color"]), { color: l } = K(o), { property: s } = r(e, ["settings", "density"]), { property: a } = r(e, [
|
|
1242
|
+
"settings",
|
|
1243
|
+
"disabled"
|
|
1244
|
+
]), { property: p } = r(e, [
|
|
1245
|
+
"settings",
|
|
1246
|
+
"draggable"
|
|
1247
|
+
]), { property: d } = r(e, ["settings", "filter"]), { property: f } = r(e, ["settings", "label"]), { property: m } = r(e, ["settings", "size"]), { property: u } = r(e, ["settings", "text"]), { theme: c } = N(), { property: y } = r(e, ["settings", "tile"]), { property: h } = r(e, ["settings", "value"]), { property: g } = r(e, ["settings", "variant"]);
|
|
1126
1248
|
return (x, w) => {
|
|
1127
1249
|
const C = z("v-chip");
|
|
1128
1250
|
return v(), V(C, {
|
|
@@ -1132,11 +1254,11 @@ const sl = /* @__PURE__ */ xe(il, [["render", ol]]), rl = /* @__PURE__ */ $({
|
|
|
1132
1254
|
disabled: n(a),
|
|
1133
1255
|
draggable: n(p),
|
|
1134
1256
|
filter: n(d),
|
|
1135
|
-
label: n(
|
|
1257
|
+
label: n(f),
|
|
1136
1258
|
size: n(m),
|
|
1137
1259
|
text: n(u),
|
|
1138
1260
|
theme: n(c),
|
|
1139
|
-
tile: n(
|
|
1261
|
+
tile: n(y),
|
|
1140
1262
|
value: n(h),
|
|
1141
1263
|
variant: n(g)
|
|
1142
1264
|
}, null, 8, ["closable", "color", "density", "disabled", "draggable", "filter", "label", "size", "text", "theme", "tile", "value", "variant"]);
|
|
@@ -1149,13 +1271,25 @@ const sl = /* @__PURE__ */ xe(il, [["render", ol]]), rl = /* @__PURE__ */ $({
|
|
|
1149
1271
|
outer: { type: Boolean }
|
|
1150
1272
|
},
|
|
1151
1273
|
setup(t) {
|
|
1152
|
-
const e = t, {
|
|
1274
|
+
const e = t, { property: i } = r(e, ["settings", "column"]), { property: o } = r(e, [
|
|
1275
|
+
"settings",
|
|
1276
|
+
"direction"
|
|
1277
|
+
]), { property: l } = r(e, [
|
|
1278
|
+
"settings",
|
|
1279
|
+
"disabled"
|
|
1280
|
+
]), { property: s } = r(e, ["settings", "filter"]), { property: a } = r(e, [
|
|
1281
|
+
"settings",
|
|
1282
|
+
"mandatory"
|
|
1283
|
+
]), { property: p } = r(e, [
|
|
1284
|
+
"settings",
|
|
1285
|
+
"multiple"
|
|
1286
|
+
]), { property: d } = r(e, [
|
|
1153
1287
|
"settings",
|
|
1154
1288
|
"showArrows"
|
|
1155
|
-
]), { theme:
|
|
1289
|
+
]), { theme: f } = N(), { property: m } = r(e, ["settings", "value"]);
|
|
1156
1290
|
return (u, c) => {
|
|
1157
|
-
const
|
|
1158
|
-
return v(), V(
|
|
1291
|
+
const y = z("v-chip-group");
|
|
1292
|
+
return v(), V(y, {
|
|
1159
1293
|
modelValue: n(m),
|
|
1160
1294
|
"onUpdate:modelValue": c[0] || (c[0] = (h) => O(m) ? m.value = h : null),
|
|
1161
1295
|
column: n(i),
|
|
@@ -1165,7 +1299,7 @@ const sl = /* @__PURE__ */ xe(il, [["render", ol]]), rl = /* @__PURE__ */ $({
|
|
|
1165
1299
|
mandatory: n(a),
|
|
1166
1300
|
multiple: n(p),
|
|
1167
1301
|
"show-arrows": n(d),
|
|
1168
|
-
theme: n(
|
|
1302
|
+
theme: n(f)
|
|
1169
1303
|
}, {
|
|
1170
1304
|
default: I(() => [
|
|
1171
1305
|
L(u.$slots, "default")
|
|
@@ -1184,34 +1318,40 @@ const sl = /* @__PURE__ */ xe(il, [["render", ol]]), rl = /* @__PURE__ */ $({
|
|
|
1184
1318
|
const e = t, i = pe(), o = de(), { applySize: l } = ge(e), s = k(() => {
|
|
1185
1319
|
const h = {}, g = o.value.type;
|
|
1186
1320
|
return i === "page" ? g === "common" ? l(h) : console.assert(!1) : i === "comp" && g === "common" ? l(h) : console.assert(!1), h;
|
|
1187
|
-
}), {
|
|
1321
|
+
}), { property: a } = r(e, [
|
|
1322
|
+
"settings",
|
|
1323
|
+
"disabled"
|
|
1324
|
+
]), { property: p } = r(e, [
|
|
1188
1325
|
"settings",
|
|
1189
1326
|
"hideCanvas"
|
|
1190
|
-
]), {
|
|
1327
|
+
]), { property: d } = r(e, [
|
|
1191
1328
|
"settings",
|
|
1192
1329
|
"hideHeader"
|
|
1193
|
-
]), {
|
|
1330
|
+
]), { property: f } = r(e, [
|
|
1194
1331
|
"settings",
|
|
1195
1332
|
"hideInputs"
|
|
1196
|
-
]), {
|
|
1333
|
+
]), { property: m } = r(e, [
|
|
1197
1334
|
"settings",
|
|
1198
1335
|
"hideSliders"
|
|
1199
|
-
]), {
|
|
1336
|
+
]), { property: u } = r(e, [
|
|
1337
|
+
"settings",
|
|
1338
|
+
"landscape"
|
|
1339
|
+
]), { property: c } = r(e, [
|
|
1200
1340
|
"settings",
|
|
1201
1341
|
"showSwatches"
|
|
1202
|
-
]), { theme:
|
|
1342
|
+
]), { theme: y } = N();
|
|
1203
1343
|
return (h, g) => {
|
|
1204
1344
|
const x = z("v-color-picker");
|
|
1205
1345
|
return v(), V(x, {
|
|
1206
1346
|
disabled: n(a),
|
|
1207
1347
|
"hide-canvas": n(p),
|
|
1208
1348
|
"hide-header": n(d),
|
|
1209
|
-
"hide-inputs": n(
|
|
1349
|
+
"hide-inputs": n(f),
|
|
1210
1350
|
"hide-sliders": n(m),
|
|
1211
1351
|
landscape: n(u),
|
|
1212
1352
|
"show-swatches": n(c),
|
|
1213
|
-
style:
|
|
1214
|
-
theme: n(
|
|
1353
|
+
style: q(s.value),
|
|
1354
|
+
theme: n(y)
|
|
1215
1355
|
}, null, 8, ["disabled", "hide-canvas", "hide-header", "hide-inputs", "hide-sliders", "landscape", "show-swatches", "style", "theme"]);
|
|
1216
1356
|
};
|
|
1217
1357
|
}
|
|
@@ -1222,17 +1362,20 @@ const sl = /* @__PURE__ */ xe(il, [["render", ol]]), rl = /* @__PURE__ */ $({
|
|
|
1222
1362
|
outer: { type: Boolean }
|
|
1223
1363
|
},
|
|
1224
1364
|
setup(t) {
|
|
1225
|
-
const e = t, {
|
|
1365
|
+
const e = t, { property: i } = r(e, [
|
|
1226
1366
|
"settings",
|
|
1227
1367
|
"hideDetails"
|
|
1228
|
-
]), {
|
|
1368
|
+
]), { property: o } = r(e, ["settings", "label"]), { property: l } = r(e, [
|
|
1229
1369
|
"settings",
|
|
1230
1370
|
"placeholder"
|
|
1231
|
-
]), {
|
|
1371
|
+
]), { property: s } = r(e, [
|
|
1372
|
+
"settings",
|
|
1373
|
+
"readonly"
|
|
1374
|
+
]), { property: a } = r(e, [
|
|
1232
1375
|
"settings",
|
|
1233
1376
|
"singleLine"
|
|
1234
|
-
]), { theme: p } = N(), {
|
|
1235
|
-
return (
|
|
1377
|
+
]), { theme: p } = N(), { property: d } = r(e, ["settings", "value"]);
|
|
1378
|
+
return (f, m) => {
|
|
1236
1379
|
const u = z("v-combobox");
|
|
1237
1380
|
return v(), V(n(Z), null, {
|
|
1238
1381
|
default: I(() => [
|
|
@@ -1258,33 +1401,40 @@ const sl = /* @__PURE__ */ xe(il, [["render", ol]]), rl = /* @__PURE__ */ $({
|
|
|
1258
1401
|
outer: { type: Boolean }
|
|
1259
1402
|
},
|
|
1260
1403
|
setup(t) {
|
|
1261
|
-
const e = t, i = pe(), o = de(), {
|
|
1404
|
+
const e = t, i = pe(), o = de(), { property: l } = r(e, [
|
|
1262
1405
|
"settings",
|
|
1263
1406
|
"backgroundColor"
|
|
1264
|
-
]), { color: s } = K(l), { applySize: a } = ge(e), { applyMargin: p } = Wn(e), { applyPadding: d } = En(e), { applyBorder:
|
|
1407
|
+
]), { color: s } = K(l), { applySize: a } = ge(e), { applyMargin: p } = Wn(e), { applyPadding: d } = En(e), { applyBorder: f } = Bn(e), m = k(() => {
|
|
1265
1408
|
const u = {}, c = o.value.type;
|
|
1266
|
-
return i === "page" ? c === "common" ? (a(u), p(u), d(u),
|
|
1409
|
+
return i === "page" ? c === "common" ? (a(u), p(u), d(u), f(u), s.value && (u.backgroundColor = s.value)) : console.assert(!1) : i === "comp" && c === "common" ? (a(u), p(u), d(u), f(u), s.value && (u.backgroundColor = s.value)) : console.assert(!1), u;
|
|
1267
1410
|
});
|
|
1268
1411
|
return (u, c) => (v(), Y("div", {
|
|
1269
|
-
style:
|
|
1412
|
+
style: q(m.value)
|
|
1270
1413
|
}, [
|
|
1271
1414
|
L(u.$slots, "default")
|
|
1272
1415
|
], 4));
|
|
1273
1416
|
}
|
|
1274
|
-
}),
|
|
1417
|
+
}), yl = /* @__PURE__ */ $({
|
|
1275
1418
|
__name: "index",
|
|
1276
1419
|
props: {
|
|
1277
1420
|
node: {},
|
|
1278
1421
|
outer: { type: Boolean }
|
|
1279
1422
|
},
|
|
1280
1423
|
setup(t) {
|
|
1281
|
-
const e = t, {
|
|
1424
|
+
const e = t, { property: i } = r(e, ["settings", "density"]), { property: o } = r(e, [
|
|
1282
1425
|
"settings",
|
|
1283
1426
|
"fixedFooter"
|
|
1284
|
-
]), {
|
|
1427
|
+
]), { property: l } = r(e, [
|
|
1285
1428
|
"settings",
|
|
1286
1429
|
"fixedHeader"
|
|
1287
|
-
]), {
|
|
1430
|
+
]), { property: s } = r(e, ["settings", "headers"]), { property: a } = r(e, ["size", "height"]), { property: p } = r(e, ["settings", "hover"]), { property: d } = r(
|
|
1431
|
+
e,
|
|
1432
|
+
["settings", "data"],
|
|
1433
|
+
!0
|
|
1434
|
+
), { property: f } = r(e, ["settings", "loading"]), { property: m } = r(e, [
|
|
1435
|
+
"settings",
|
|
1436
|
+
"multiSort"
|
|
1437
|
+
]), { theme: u } = N(), { property: c } = r(e, ["size", "width"]), y = k(() => {
|
|
1288
1438
|
const h = [];
|
|
1289
1439
|
return (e.node.slots?.items ?? []).forEach((x) => {
|
|
1290
1440
|
x.column && x.comp && h.push(x);
|
|
@@ -1300,15 +1450,15 @@ const sl = /* @__PURE__ */ xe(il, [["render", ol]]), rl = /* @__PURE__ */ $({
|
|
|
1300
1450
|
height: n(a),
|
|
1301
1451
|
hover: n(p),
|
|
1302
1452
|
items: n(d),
|
|
1303
|
-
loading: n(
|
|
1453
|
+
loading: n(f),
|
|
1304
1454
|
"multi-sort": n(m),
|
|
1305
1455
|
theme: n(u),
|
|
1306
1456
|
width: n(c)
|
|
1307
1457
|
}, Pn({ _: 2 }, [
|
|
1308
|
-
Mo(
|
|
1458
|
+
Mo(y.value, (w) => ({
|
|
1309
1459
|
name: `item.${w.column}`,
|
|
1310
1460
|
fn: I(({ value: C }) => [
|
|
1311
|
-
H(n(
|
|
1461
|
+
H(n(ye), {
|
|
1312
1462
|
"ref-context": { refid: w.comp },
|
|
1313
1463
|
state: { value: C }
|
|
1314
1464
|
}, null, 8, ["ref-context", "state"])
|
|
@@ -1317,12 +1467,12 @@ const sl = /* @__PURE__ */ xe(il, [["render", ol]]), rl = /* @__PURE__ */ $({
|
|
|
1317
1467
|
]), 1032, ["density", "fixed-footer", "fixed-header", "headers", "height", "hover", "items", "loading", "multi-sort", "theme", "width"]);
|
|
1318
1468
|
};
|
|
1319
1469
|
}
|
|
1320
|
-
}),
|
|
1470
|
+
}), fl = {};
|
|
1321
1471
|
function bl(t, e) {
|
|
1322
1472
|
const i = z("v-date-picker");
|
|
1323
1473
|
return v(), V(i);
|
|
1324
1474
|
}
|
|
1325
|
-
const hl = /* @__PURE__ */ xe(
|
|
1475
|
+
const hl = /* @__PURE__ */ xe(fl, [["render", bl]]), gl = ["id"], xl = /* @__PURE__ */ $({
|
|
1326
1476
|
__name: "index",
|
|
1327
1477
|
props: {
|
|
1328
1478
|
node: {},
|
|
@@ -1330,14 +1480,14 @@ const hl = /* @__PURE__ */ xe(yl, [["render", bl]]), gl = ["id"], xl = /* @__PUR
|
|
|
1330
1480
|
},
|
|
1331
1481
|
setup(t) {
|
|
1332
1482
|
const e = t, i = G(), o = Ee(), l = k(() => e.node.basic?.id), { open: s } = eo(`runtimeDlg/${Zi()}`);
|
|
1333
|
-
return
|
|
1483
|
+
return fo(o, e, (p) => {
|
|
1334
1484
|
if (i !== "runtime" && i !== "preview")
|
|
1335
1485
|
return;
|
|
1336
1486
|
const { name: d } = p;
|
|
1337
1487
|
d === "open" ? s.value = !0 : d === "close" && (s.value = !1);
|
|
1338
1488
|
}), (p, d) => {
|
|
1339
|
-
const
|
|
1340
|
-
return v(), V(
|
|
1489
|
+
const f = z("v-dialog");
|
|
1490
|
+
return v(), V(f, {
|
|
1341
1491
|
modelValue: n(s),
|
|
1342
1492
|
"onUpdate:modelValue": d[0] || (d[0] = (m) => O(s) ? s.value = m : null),
|
|
1343
1493
|
attach: "#dialogContainer"
|
|
@@ -1346,7 +1496,7 @@ const hl = /* @__PURE__ */ xe(yl, [["render", bl]]), gl = ["id"], xl = /* @__PUR
|
|
|
1346
1496
|
n(i) === "editor" ? (v(), Y("div", {
|
|
1347
1497
|
key: 0,
|
|
1348
1498
|
id: `__node__@${l.value}`
|
|
1349
|
-
}, null, 8, gl)) :
|
|
1499
|
+
}, null, 8, gl)) : te("", !0)
|
|
1350
1500
|
]),
|
|
1351
1501
|
default: I(() => [
|
|
1352
1502
|
L(p.$slots, "default")
|
|
@@ -1362,11 +1512,23 @@ const hl = /* @__PURE__ */ xe(yl, [["render", bl]]), gl = ["id"], xl = /* @__PUR
|
|
|
1362
1512
|
outer: { type: Boolean }
|
|
1363
1513
|
},
|
|
1364
1514
|
setup(t) {
|
|
1365
|
-
const e = t, {
|
|
1515
|
+
const e = t, { property: i } = r(e, ["settings", "chips"]), { property: o } = r(e, ["settings", "density"]), { property: l } = r(e, [
|
|
1516
|
+
"settings",
|
|
1517
|
+
"direction"
|
|
1518
|
+
]), { property: s } = r(e, [
|
|
1519
|
+
"settings",
|
|
1520
|
+
"disabled"
|
|
1521
|
+
]), { property: a } = r(e, ["settings", "label"]), { property: p } = r(e, ["settings", "loading"]), { property: d } = r(e, [
|
|
1522
|
+
"settings",
|
|
1523
|
+
"multiple"
|
|
1524
|
+
]), { property: f } = r(e, [
|
|
1525
|
+
"settings",
|
|
1526
|
+
"readonly"
|
|
1527
|
+
]), { property: m } = r(e, ["settings", "reverse"]), { property: u } = r(e, [
|
|
1366
1528
|
"settings",
|
|
1367
1529
|
"singleLine"
|
|
1368
1530
|
]);
|
|
1369
|
-
return (c,
|
|
1531
|
+
return (c, y) => {
|
|
1370
1532
|
const h = z("v-file-input");
|
|
1371
1533
|
return v(), V(h, {
|
|
1372
1534
|
chips: n(i),
|
|
@@ -1376,7 +1538,7 @@ const hl = /* @__PURE__ */ xe(yl, [["render", bl]]), gl = ["id"], xl = /* @__PUR
|
|
|
1376
1538
|
label: n(a),
|
|
1377
1539
|
loading: n(p),
|
|
1378
1540
|
multiple: n(d),
|
|
1379
|
-
readonly: n(
|
|
1541
|
+
readonly: n(f),
|
|
1380
1542
|
reverse: n(m),
|
|
1381
1543
|
"single-line": n(u)
|
|
1382
1544
|
}, null, 8, ["chips", "density", "direction", "disabled", "label", "loading", "multiple", "readonly", "reverse", "single-line"]);
|
|
@@ -1389,27 +1551,27 @@ const hl = /* @__PURE__ */ xe(yl, [["render", bl]]), gl = ["id"], xl = /* @__PUR
|
|
|
1389
1551
|
outer: { type: Boolean }
|
|
1390
1552
|
},
|
|
1391
1553
|
setup(t) {
|
|
1392
|
-
const e = t, i = $e(), o = pe(), l = de(), { applySize: s } = ge(e), { applyMargin: a } = Wn(e), { applyPadding: p } = En(e), { applyBorder: d } = Bn(e), {
|
|
1554
|
+
const e = t, i = $e(), o = pe(), l = de(), { applySize: s } = ge(e), { applyMargin: a } = Wn(e), { applyPadding: p } = En(e), { applyBorder: d } = Bn(e), { property: f } = r(e, [
|
|
1393
1555
|
"settings",
|
|
1394
1556
|
"backgroundColor"
|
|
1395
|
-
]), { color: m } = K(
|
|
1396
|
-
m.value && (
|
|
1557
|
+
]), { color: m } = K(f), u = (y) => {
|
|
1558
|
+
m.value && (y.backgroundColor = m.value), y.display = "flex";
|
|
1397
1559
|
const h = Re(i.value.width), g = Ie(h, e.node.settings?.direction);
|
|
1398
|
-
g === "row" ?
|
|
1560
|
+
g === "row" ? y.flexDirection = "row" : g === "rowReverse" ? y.flexDirection = "row-reverse" : g === "column" ? y.flexDirection = "column" : g === "columnReverse" && (y.flexDirection = "column-reverse");
|
|
1399
1561
|
const x = Ie(h, e.node.settings?.wrap);
|
|
1400
|
-
x === "no" ?
|
|
1562
|
+
x === "no" ? y.flexWrap = "nowrap" : x === "yes" ? y.flexWrap = "wrap" : x === "reverse" && (y.flexWrap = "wrap-reverse");
|
|
1401
1563
|
const w = Ie(h, e.node.settings?.mainAlign);
|
|
1402
|
-
w === "start" ?
|
|
1564
|
+
w === "start" ? y.justifyContent = "flex-start" : w === "end" ? y.justifyContent = "flex-end" : w === "center" ? y.justifyContent = "center" : w === "spaceBetween" ? y.justifyContent = "space-between" : w === "spaceAround" ? y.justifyContent = "space-around" : w === "spaceEvenly" && (y.justifyContent = "space-evenly");
|
|
1403
1565
|
const C = Ie(h, e.node.settings?.crossAlign);
|
|
1404
|
-
C === "start" ?
|
|
1566
|
+
C === "start" ? y.alignItems = "flex-start" : C === "end" ? y.alignItems = "flex-end" : C === "center" ? y.alignItems = "center" : C === "baseline" ? y.alignItems = "baseline" : C === "stretch" && (y.alignItems = "stretch");
|
|
1405
1567
|
}, c = k(() => {
|
|
1406
|
-
const
|
|
1407
|
-
return o === "page" ? h === "common" ? (s(
|
|
1568
|
+
const y = {}, h = l.value.type;
|
|
1569
|
+
return o === "page" ? h === "common" ? (s(y), a(y), p(y), d(y), u(y)) : console.assert(!1) : o === "comp" && h === "common" ? (s(y), a(y), p(y), d(y), u(y)) : console.assert(!1), y;
|
|
1408
1570
|
});
|
|
1409
|
-
return (
|
|
1410
|
-
style:
|
|
1571
|
+
return (y, h) => (v(), Y("div", {
|
|
1572
|
+
style: q(c.value)
|
|
1411
1573
|
}, [
|
|
1412
|
-
L(
|
|
1574
|
+
L(y.$slots, "default")
|
|
1413
1575
|
], 4));
|
|
1414
1576
|
}
|
|
1415
1577
|
}), _l = /* @__PURE__ */ $({
|
|
@@ -1419,12 +1581,12 @@ const hl = /* @__PURE__ */ xe(yl, [["render", bl]]), gl = ["id"], xl = /* @__PUR
|
|
|
1419
1581
|
outer: { type: Boolean }
|
|
1420
1582
|
},
|
|
1421
1583
|
setup(t) {
|
|
1422
|
-
const e = t, i = pe(), o = de(), { applySize: l } = ge(e), {
|
|
1423
|
-
const d = {},
|
|
1424
|
-
return i === "page" ?
|
|
1584
|
+
const e = t, i = pe(), o = de(), { applySize: l } = ge(e), { property: s } = r(e, ["settings", "grow"]), { property: a } = r(e, ["settings", "shrink"]), p = k(() => {
|
|
1585
|
+
const d = {}, f = o.value.type;
|
|
1586
|
+
return i === "page" ? f === "common" ? (l(d), d.flexGrow = s.value ? 1 : 0, d.flexShrink = a.value ? 1 : 0) : console.assert(!1) : i === "comp" && f === "common" ? (l(d), d.flexGrow = s.value ? 1 : 0, d.flexShrink = a.value ? 1 : 0) : console.assert(!1), d;
|
|
1425
1587
|
});
|
|
1426
|
-
return (d,
|
|
1427
|
-
style:
|
|
1588
|
+
return (d, f) => (v(), Y("div", {
|
|
1589
|
+
style: q(p.value)
|
|
1428
1590
|
}, [
|
|
1429
1591
|
L(d.$slots, "default")
|
|
1430
1592
|
], 4));
|
|
@@ -1436,12 +1598,15 @@ const hl = /* @__PURE__ */ xe(yl, [["render", bl]]), gl = ["id"], xl = /* @__PUR
|
|
|
1436
1598
|
outer: { type: Boolean }
|
|
1437
1599
|
},
|
|
1438
1600
|
setup(t) {
|
|
1439
|
-
const e = t, i = G(), o = pe(), l = de(), s = Ee(), {
|
|
1601
|
+
const e = t, i = G(), o = pe(), l = de(), s = Ee(), { property: a } = r(e, ["settings", "valid"]), { property: p } = r(e, [
|
|
1602
|
+
"settings",
|
|
1603
|
+
"fastFail"
|
|
1604
|
+
]), { property: d } = r(e, [
|
|
1440
1605
|
"settings",
|
|
1441
1606
|
"backgroundColor"
|
|
1442
|
-
]), { color:
|
|
1607
|
+
]), { color: f } = K(d), { applySize: m } = ge(e), { applyMargin: u } = Wn(e), { applyPadding: c } = En(e), { applyBorder: y } = Bn(e), h = k(() => {
|
|
1443
1608
|
const x = {}, w = l.value.type;
|
|
1444
|
-
return o === "page" ? w === "common" ? (m(x), u(x), c(x),
|
|
1609
|
+
return o === "page" ? w === "common" ? (m(x), u(x), c(x), y(x), f.value && (x.backgroundColor = f.value)) : console.assert(!1) : o === "comp" && w === "common" ? (m(x), u(x), c(x), y(x), f.value && (x.backgroundColor = f.value)) : console.assert(!1), x;
|
|
1445
1610
|
}), g = () => {
|
|
1446
1611
|
i !== "runtime" && i !== "preview" || s.callFunction("__triggerEventV1__", [
|
|
1447
1612
|
Ce("elementEvent", e.node.basic.id, "submit")
|
|
@@ -1453,7 +1618,7 @@ const hl = /* @__PURE__ */ xe(yl, [["render", bl]]), gl = ["id"], xl = /* @__PUR
|
|
|
1453
1618
|
modelValue: n(a),
|
|
1454
1619
|
"onUpdate:modelValue": w[0] || (w[0] = (M) => O(a) ? a.value = M : null),
|
|
1455
1620
|
"fast-fail": n(p),
|
|
1456
|
-
style:
|
|
1621
|
+
style: q(h.value),
|
|
1457
1622
|
onSubmit: Ro(g, ["prevent"])
|
|
1458
1623
|
}, {
|
|
1459
1624
|
default: I(() => [
|
|
@@ -1470,8 +1635,11 @@ const hl = /* @__PURE__ */ xe(yl, [["render", bl]]), gl = ["id"], xl = /* @__PUR
|
|
|
1470
1635
|
outer: { type: Boolean }
|
|
1471
1636
|
},
|
|
1472
1637
|
setup(t) {
|
|
1473
|
-
const e = t, {
|
|
1474
|
-
|
|
1638
|
+
const e = t, { property: i } = r(e, ["settings", "color"]), { color: o } = K(i), { property: l } = r(e, [
|
|
1639
|
+
"settings",
|
|
1640
|
+
"disabled"
|
|
1641
|
+
]), { property: s } = r(e, ["settings", "icon"]), { property: a } = r(e, ["settings", "size"]), { theme: p } = N();
|
|
1642
|
+
return (d, f) => {
|
|
1475
1643
|
const m = z("v-icon");
|
|
1476
1644
|
return v(), V(m, {
|
|
1477
1645
|
color: n(o),
|
|
@@ -1490,7 +1658,7 @@ const hl = /* @__PURE__ */ xe(yl, [["render", bl]]), gl = ["id"], xl = /* @__PUR
|
|
|
1490
1658
|
},
|
|
1491
1659
|
setup(t) {
|
|
1492
1660
|
const e = t, i = G(), o = Ee(), l = ce(0), s = ce(0), a = k(() => [l.value, s.value]), p = k(() => e.node.basic?.id), { open: d } = eo(`runtimeMenu/${Zi()}`);
|
|
1493
|
-
return
|
|
1661
|
+
return fo(o, e, (m) => {
|
|
1494
1662
|
if (i !== "runtime" && i !== "preview")
|
|
1495
1663
|
return;
|
|
1496
1664
|
const { name: u } = m;
|
|
@@ -1499,7 +1667,7 @@ const hl = /* @__PURE__ */ xe(yl, [["render", bl]]), gl = ["id"], xl = /* @__PUR
|
|
|
1499
1667
|
const c = z("v-menu");
|
|
1500
1668
|
return v(), V(c, {
|
|
1501
1669
|
modelValue: n(d),
|
|
1502
|
-
"onUpdate:modelValue": u[0] || (u[0] = (
|
|
1670
|
+
"onUpdate:modelValue": u[0] || (u[0] = (y) => O(d) ? d.value = y : null),
|
|
1503
1671
|
attach: "menuContainer",
|
|
1504
1672
|
"location-strategy": "connected",
|
|
1505
1673
|
scrim: "transparent",
|
|
@@ -1509,7 +1677,7 @@ const hl = /* @__PURE__ */ xe(yl, [["render", bl]]), gl = ["id"], xl = /* @__PUR
|
|
|
1509
1677
|
n(i) === "editor" ? (v(), Y("div", {
|
|
1510
1678
|
key: 0,
|
|
1511
1679
|
id: `__node__@${p.value}`
|
|
1512
|
-
}, null, 8, $l)) :
|
|
1680
|
+
}, null, 8, $l)) : te("", !0)
|
|
1513
1681
|
]),
|
|
1514
1682
|
default: I(() => [
|
|
1515
1683
|
L(m.$slots, "default")
|
|
@@ -1525,39 +1693,48 @@ const hl = /* @__PURE__ */ xe(yl, [["render", bl]]), gl = ["id"], xl = /* @__PUR
|
|
|
1525
1693
|
outer: { type: Boolean }
|
|
1526
1694
|
},
|
|
1527
1695
|
setup(t) {
|
|
1528
|
-
const e = t, {
|
|
1696
|
+
const e = t, { property: i } = r(e, [
|
|
1529
1697
|
"settings",
|
|
1530
1698
|
"addIcon",
|
|
1531
1699
|
"append"
|
|
1532
|
-
]), {
|
|
1700
|
+
]), { property: o } = r(e, [
|
|
1533
1701
|
"settings",
|
|
1534
1702
|
"addIcon",
|
|
1535
1703
|
"appendInner"
|
|
1536
|
-
]), {
|
|
1704
|
+
]), { property: l } = r(e, [
|
|
1705
|
+
"settings",
|
|
1706
|
+
"clearable"
|
|
1707
|
+
]), { property: s } = r(e, [
|
|
1537
1708
|
"settings",
|
|
1538
1709
|
"hideDetails"
|
|
1539
|
-
]), {
|
|
1710
|
+
]), { property: a } = r(e, ["settings", "label"]), { property: p } = r(e, ["settings", "loading"]), { property: d } = r(e, ["settings", "max"]), { property: f } = r(e, ["size", "maxWidth"]), { property: m } = r(e, ["settings", "min"]), { property: u } = r(e, ["size", "minWidth"]), { property: c } = r(e, [
|
|
1540
1711
|
"settings",
|
|
1541
1712
|
"placeholder"
|
|
1542
|
-
]), {
|
|
1713
|
+
]), { property: y } = r(e, [
|
|
1714
|
+
"settings",
|
|
1715
|
+
"precision"
|
|
1716
|
+
]), { property: h } = r(e, ["settings", "prefix"]), { property: g } = r(e, [
|
|
1543
1717
|
"settings",
|
|
1544
1718
|
"addIcon",
|
|
1545
1719
|
"prepend"
|
|
1546
|
-
]), {
|
|
1720
|
+
]), { property: x } = r(e, [
|
|
1547
1721
|
"settings",
|
|
1548
1722
|
"addIcon",
|
|
1549
1723
|
"prependInner"
|
|
1550
|
-
]), {
|
|
1724
|
+
]), { property: w } = r(e, [
|
|
1725
|
+
"settings",
|
|
1726
|
+
"readonly"
|
|
1727
|
+
]), { property: C } = r(e, ["settings", "reverse"]), { property: M } = r(e, [
|
|
1551
1728
|
"settings",
|
|
1552
1729
|
"singleLine"
|
|
1553
|
-
]), {
|
|
1554
|
-
return (J,
|
|
1730
|
+
]), { property: W } = r(e, ["settings", "step"]), { property: F } = r(e, ["settings", "suffix"]), { theme: R } = N(), { property: E } = r(e, ["settings", "value"]), { property: S } = r(e, ["settings", "variant"]), { property: D } = r(e, ["size", "width"]);
|
|
1731
|
+
return (J, ne) => {
|
|
1555
1732
|
const re = z("v-number-input");
|
|
1556
1733
|
return v(), V(n(Z), null, {
|
|
1557
1734
|
default: I(() => [
|
|
1558
1735
|
H(re, {
|
|
1559
1736
|
modelValue: n(E),
|
|
1560
|
-
"onUpdate:modelValue":
|
|
1737
|
+
"onUpdate:modelValue": ne[0] || (ne[0] = (le) => O(E) ? E.value = le : null),
|
|
1561
1738
|
"append-icon": n(i),
|
|
1562
1739
|
"append-inner-icon": n(o),
|
|
1563
1740
|
clearable: n(l),
|
|
@@ -1565,11 +1742,11 @@ const hl = /* @__PURE__ */ xe(yl, [["render", bl]]), gl = ["id"], xl = /* @__PUR
|
|
|
1565
1742
|
label: n(a),
|
|
1566
1743
|
loading: n(p),
|
|
1567
1744
|
max: n(d),
|
|
1568
|
-
"max-width": n(
|
|
1745
|
+
"max-width": n(f),
|
|
1569
1746
|
min: n(m),
|
|
1570
1747
|
"min-width": n(u),
|
|
1571
1748
|
placeholder: n(c),
|
|
1572
|
-
precision: n(
|
|
1749
|
+
precision: n(y),
|
|
1573
1750
|
prefix: n(h),
|
|
1574
1751
|
"prepend-icon": n(g),
|
|
1575
1752
|
"prepend-inner-icon": n(x),
|
|
@@ -1594,10 +1771,13 @@ const hl = /* @__PURE__ */ xe(yl, [["render", bl]]), gl = ["id"], xl = /* @__PUR
|
|
|
1594
1771
|
outer: { type: Boolean }
|
|
1595
1772
|
},
|
|
1596
1773
|
setup(t) {
|
|
1597
|
-
const e = t, i = G(), {
|
|
1774
|
+
const e = t, i = G(), { property: o } = r(e, ["settings", "density"]), { property: l } = r(e, [
|
|
1775
|
+
"settings",
|
|
1776
|
+
"disabled"
|
|
1777
|
+
]), { property: s } = r(e, ["settings", "length"]), { property: a } = r(e, [
|
|
1598
1778
|
"settings",
|
|
1599
1779
|
"showFirstLastPage"
|
|
1600
|
-
]), {
|
|
1780
|
+
]), { property: p } = r(e, ["settings", "size"]), { property: d } = r(e, ["settings", "start"]), { theme: f } = N(), { property: m } = r(e, ["settings", "tile"]), { property: u } = r(e, ["settings", "value"]), { property: c } = r(e, ["settings", "variant"]), y = k(() => {
|
|
1601
1781
|
const h = {};
|
|
1602
1782
|
return i === "editor" && (h.pointerEvents = "none"), h;
|
|
1603
1783
|
});
|
|
@@ -1614,8 +1794,8 @@ const hl = /* @__PURE__ */ xe(yl, [["render", bl]]), gl = ["id"], xl = /* @__PUR
|
|
|
1614
1794
|
"show-first-last-page": n(a),
|
|
1615
1795
|
size: n(p),
|
|
1616
1796
|
start: n(d),
|
|
1617
|
-
style:
|
|
1618
|
-
theme: n(
|
|
1797
|
+
style: q(y.value),
|
|
1798
|
+
theme: n(f),
|
|
1619
1799
|
tile: n(m),
|
|
1620
1800
|
variant: n(c)
|
|
1621
1801
|
}, null, 8, ["modelValue", "density", "disabled", "length", "show-first-last-page", "size", "start", "style", "theme", "tile", "variant"])
|
|
@@ -1631,7 +1811,13 @@ const hl = /* @__PURE__ */ xe(yl, [["render", bl]]), gl = ["id"], xl = /* @__PUR
|
|
|
1631
1811
|
outer: { type: Boolean }
|
|
1632
1812
|
},
|
|
1633
1813
|
setup(t) {
|
|
1634
|
-
const e = t, {
|
|
1814
|
+
const e = t, { property: i } = r(e, ["settings", "color"]), { color: o } = K(i), { property: l } = r(e, ["settings", "density"]), { property: s } = r(e, [
|
|
1815
|
+
"settings",
|
|
1816
|
+
"disabled"
|
|
1817
|
+
]), { property: a } = r(e, ["settings", "label"]), { property: p } = r(e, [
|
|
1818
|
+
"settings",
|
|
1819
|
+
"readonly"
|
|
1820
|
+
]), { theme: d } = N(), { property: f } = r(e, ["settings", "value"]);
|
|
1635
1821
|
return (m, u) => {
|
|
1636
1822
|
const c = z("v-radio");
|
|
1637
1823
|
return v(), V(c, {
|
|
@@ -1641,7 +1827,7 @@ const hl = /* @__PURE__ */ xe(yl, [["render", bl]]), gl = ["id"], xl = /* @__PUR
|
|
|
1641
1827
|
label: n(a),
|
|
1642
1828
|
readonly: n(p),
|
|
1643
1829
|
theme: n(d),
|
|
1644
|
-
value: n(
|
|
1830
|
+
value: n(f)
|
|
1645
1831
|
}, null, 8, ["color", "density", "disabled", "label", "readonly", "theme", "value"]);
|
|
1646
1832
|
};
|
|
1647
1833
|
}
|
|
@@ -1652,8 +1838,17 @@ const hl = /* @__PURE__ */ xe(yl, [["render", bl]]), gl = ["id"], xl = /* @__PUR
|
|
|
1652
1838
|
outer: { type: Boolean }
|
|
1653
1839
|
},
|
|
1654
1840
|
setup(t) {
|
|
1655
|
-
const e = t, {
|
|
1656
|
-
|
|
1841
|
+
const e = t, { property: i } = r(e, ["settings", "density"]), { property: o } = r(e, [
|
|
1842
|
+
"settings",
|
|
1843
|
+
"direction"
|
|
1844
|
+
]), { property: l } = r(e, [
|
|
1845
|
+
"settings",
|
|
1846
|
+
"disabled"
|
|
1847
|
+
]), { property: s } = r(e, ["settings", "inline"]), { property: a } = r(e, [
|
|
1848
|
+
"settings",
|
|
1849
|
+
"readonly"
|
|
1850
|
+
]), { theme: p } = N(), { property: d } = r(e, ["settings", "value"]);
|
|
1851
|
+
return (f, m) => {
|
|
1657
1852
|
const u = z("v-radio-group");
|
|
1658
1853
|
return v(), V(n(Z), null, {
|
|
1659
1854
|
default: I(() => [
|
|
@@ -1668,7 +1863,7 @@ const hl = /* @__PURE__ */ xe(yl, [["render", bl]]), gl = ["id"], xl = /* @__PUR
|
|
|
1668
1863
|
theme: n(p)
|
|
1669
1864
|
}, {
|
|
1670
1865
|
default: I(() => [
|
|
1671
|
-
L(
|
|
1866
|
+
L(f.$slots, "default")
|
|
1672
1867
|
]),
|
|
1673
1868
|
_: 3
|
|
1674
1869
|
}, 8, ["modelValue", "density", "direction", "disabled", "inline", "readonly", "theme"])
|
|
@@ -1684,10 +1879,19 @@ const hl = /* @__PURE__ */ xe(yl, [["render", bl]]), gl = ["id"], xl = /* @__PUR
|
|
|
1684
1879
|
outer: { type: Boolean }
|
|
1685
1880
|
},
|
|
1686
1881
|
setup(t) {
|
|
1687
|
-
const e = t, {
|
|
1882
|
+
const e = t, { property: i } = r(e, ["settings", "density"]), { property: o } = r(e, [
|
|
1883
|
+
"settings",
|
|
1884
|
+
"direction"
|
|
1885
|
+
]), { property: l } = r(e, [
|
|
1886
|
+
"settings",
|
|
1887
|
+
"disabled"
|
|
1888
|
+
]), { property: s } = r(e, [
|
|
1688
1889
|
"settings",
|
|
1689
1890
|
"hideDetails"
|
|
1690
|
-
]), {
|
|
1891
|
+
]), { property: a } = r(e, ["settings", "label"]), { property: p } = r(e, ["settings", "max"]), { property: d } = r(e, ["settings", "min"]), { property: f } = r(e, [
|
|
1892
|
+
"settings",
|
|
1893
|
+
"readonly"
|
|
1894
|
+
]), { property: m } = r(e, [
|
|
1691
1895
|
"settings",
|
|
1692
1896
|
"showTicks"
|
|
1693
1897
|
]), u = k(() => {
|
|
@@ -1695,7 +1899,7 @@ const hl = /* @__PURE__ */ xe(yl, [["render", bl]]), gl = ["id"], xl = /* @__PUR
|
|
|
1695
1899
|
return "always";
|
|
1696
1900
|
if (m.value === "show")
|
|
1697
1901
|
return !0;
|
|
1698
|
-
}), {
|
|
1902
|
+
}), { property: c } = r(e, ["settings", "step"]), { theme: y } = N(), { property: h } = r(e, [
|
|
1699
1903
|
"settings",
|
|
1700
1904
|
"thumbLabel"
|
|
1701
1905
|
]), g = k(() => {
|
|
@@ -1703,7 +1907,10 @@ const hl = /* @__PURE__ */ xe(yl, [["render", bl]]), gl = ["id"], xl = /* @__PUR
|
|
|
1703
1907
|
return "always";
|
|
1704
1908
|
if (h.value === "show")
|
|
1705
1909
|
return !0;
|
|
1706
|
-
}), {
|
|
1910
|
+
}), { property: x } = r(e, [
|
|
1911
|
+
"settings",
|
|
1912
|
+
"thumbSize"
|
|
1913
|
+
]), { property: w } = r(e, ["settings", "ticks"]), C = k(() => {
|
|
1707
1914
|
if (!w.value)
|
|
1708
1915
|
return;
|
|
1709
1916
|
const E = {};
|
|
@@ -1711,11 +1918,14 @@ const hl = /* @__PURE__ */ xe(yl, [["render", bl]]), gl = ["id"], xl = /* @__PUR
|
|
|
1711
1918
|
E[S] = D;
|
|
1712
1919
|
if (!ro(E))
|
|
1713
1920
|
return E;
|
|
1714
|
-
}), {
|
|
1921
|
+
}), { property: M } = r(e, [
|
|
1922
|
+
"settings",
|
|
1923
|
+
"tickSize"
|
|
1924
|
+
]), { property: W } = r(e, [
|
|
1715
1925
|
"settings",
|
|
1716
1926
|
"value",
|
|
1717
1927
|
"start"
|
|
1718
|
-
]), {
|
|
1928
|
+
]), { property: F } = r(e, [
|
|
1719
1929
|
"settings",
|
|
1720
1930
|
"value",
|
|
1721
1931
|
"end"
|
|
@@ -1742,10 +1952,10 @@ const hl = /* @__PURE__ */ xe(yl, [["render", bl]]), gl = ["id"], xl = /* @__PUR
|
|
|
1742
1952
|
label: n(a),
|
|
1743
1953
|
max: n(p),
|
|
1744
1954
|
min: n(d),
|
|
1745
|
-
readonly: n(
|
|
1955
|
+
readonly: n(f),
|
|
1746
1956
|
"show-ticks": u.value,
|
|
1747
1957
|
step: n(c),
|
|
1748
|
-
theme: n(
|
|
1958
|
+
theme: n(y),
|
|
1749
1959
|
"thumb-label": g.value,
|
|
1750
1960
|
"thumb-size": n(x),
|
|
1751
1961
|
"tick-size": n(M),
|
|
@@ -1763,15 +1973,24 @@ const hl = /* @__PURE__ */ xe(yl, [["render", bl]]), gl = ["id"], xl = /* @__PUR
|
|
|
1763
1973
|
outer: { type: Boolean }
|
|
1764
1974
|
},
|
|
1765
1975
|
setup(t) {
|
|
1766
|
-
const e = t, {
|
|
1976
|
+
const e = t, { property: i } = r(e, [
|
|
1977
|
+
"settings",
|
|
1978
|
+
"clearable"
|
|
1979
|
+
]), { property: o } = r(e, ["settings", "density"]), { property: l } = r(e, [
|
|
1980
|
+
"settings",
|
|
1981
|
+
"disabled"
|
|
1982
|
+
]), { property: s } = r(e, [
|
|
1767
1983
|
"settings",
|
|
1768
1984
|
"halfIncrements"
|
|
1769
|
-
]), {
|
|
1985
|
+
]), { property: a } = r(e, ["settings", "hover"]), { property: p } = r(e, ["settings", "length"]), { property: d } = r(e, [
|
|
1986
|
+
"settings",
|
|
1987
|
+
"readonly"
|
|
1988
|
+
]), { theme: f } = N(), { property: m } = r(e, ["settings", "value"]);
|
|
1770
1989
|
return (u, c) => {
|
|
1771
|
-
const
|
|
1990
|
+
const y = z("v-rating");
|
|
1772
1991
|
return v(), V(n(Z), { "fit-content": !0 }, {
|
|
1773
1992
|
default: I(() => [
|
|
1774
|
-
H(
|
|
1993
|
+
H(y, {
|
|
1775
1994
|
modelValue: n(m),
|
|
1776
1995
|
"onUpdate:modelValue": c[0] || (c[0] = (h) => O(m) ? m.value = h : null),
|
|
1777
1996
|
clearable: n(i),
|
|
@@ -1781,7 +2000,7 @@ const hl = /* @__PURE__ */ xe(yl, [["render", bl]]), gl = ["id"], xl = /* @__PUR
|
|
|
1781
2000
|
hover: n(a),
|
|
1782
2001
|
length: n(p),
|
|
1783
2002
|
readonly: n(d),
|
|
1784
|
-
theme: n(
|
|
2003
|
+
theme: n(f)
|
|
1785
2004
|
}, null, 8, ["modelValue", "clearable", "density", "disabled", "half-increments", "hover", "length", "readonly", "theme"])
|
|
1786
2005
|
]),
|
|
1787
2006
|
_: 1
|
|
@@ -1795,17 +2014,20 @@ const hl = /* @__PURE__ */ xe(yl, [["render", bl]]), gl = ["id"], xl = /* @__PUR
|
|
|
1795
2014
|
outer: { type: Boolean }
|
|
1796
2015
|
},
|
|
1797
2016
|
setup(t) {
|
|
1798
|
-
const e = t, {
|
|
2017
|
+
const e = t, { property: i } = r(e, [
|
|
1799
2018
|
"settings",
|
|
1800
2019
|
"hideDetails"
|
|
1801
|
-
]), {
|
|
2020
|
+
]), { property: o } = r(e, ["settings", "label"]), { property: l } = r(e, [
|
|
1802
2021
|
"settings",
|
|
1803
2022
|
"placeholder"
|
|
1804
|
-
]), {
|
|
2023
|
+
]), { property: s } = r(e, [
|
|
2024
|
+
"settings",
|
|
2025
|
+
"readonly"
|
|
2026
|
+
]), { property: a } = r(e, [
|
|
1805
2027
|
"settings",
|
|
1806
2028
|
"singleLine"
|
|
1807
|
-
]), { theme: p } = N(), {
|
|
1808
|
-
return (
|
|
2029
|
+
]), { theme: p } = N(), { property: d } = r(e, ["settings", "value"]);
|
|
2030
|
+
return (f, m) => {
|
|
1809
2031
|
const u = z("v-select");
|
|
1810
2032
|
return v(), V(n(Z), null, {
|
|
1811
2033
|
default: I(() => [
|
|
@@ -1831,21 +2053,30 @@ const hl = /* @__PURE__ */ xe(yl, [["render", bl]]), gl = ["id"], xl = /* @__PUR
|
|
|
1831
2053
|
outer: { type: Boolean }
|
|
1832
2054
|
},
|
|
1833
2055
|
setup(t) {
|
|
1834
|
-
const e = t, {
|
|
2056
|
+
const e = t, { property: i } = r(e, ["settings", "color"]), { color: o } = K(i), { property: l } = r(e, [
|
|
2057
|
+
"settings",
|
|
2058
|
+
"direction"
|
|
2059
|
+
]), { property: s } = r(e, [
|
|
2060
|
+
"settings",
|
|
2061
|
+
"disabled"
|
|
2062
|
+
]), { property: a } = r(e, [
|
|
1835
2063
|
"settings",
|
|
1836
2064
|
"hideDetails"
|
|
1837
|
-
]), {
|
|
2065
|
+
]), { property: p } = r(e, ["settings", "label"]), { property: d } = r(e, ["settings", "max"]), { property: f } = r(e, ["settings", "min"]), { property: m } = r(e, [
|
|
2066
|
+
"settings",
|
|
2067
|
+
"readonly"
|
|
2068
|
+
]), { property: u } = r(e, ["settings", "reverse"]), { property: c } = r(e, [
|
|
1838
2069
|
"settings",
|
|
1839
2070
|
"showTicks"
|
|
1840
|
-
]),
|
|
2071
|
+
]), y = k(() => {
|
|
1841
2072
|
if (c.value === "always")
|
|
1842
2073
|
return "always";
|
|
1843
2074
|
if (c.value === "show")
|
|
1844
2075
|
return !0;
|
|
1845
|
-
}), {
|
|
2076
|
+
}), { property: h } = r(e, ["settings", "step"]), { theme: g } = N(), { property: x } = r(e, [
|
|
1846
2077
|
"settings",
|
|
1847
2078
|
"thumbColor"
|
|
1848
|
-
]), { color: w } = K(x), {
|
|
2079
|
+
]), { color: w } = K(x), { property: C } = r(e, [
|
|
1849
2080
|
"settings",
|
|
1850
2081
|
"thumbLabel"
|
|
1851
2082
|
]), M = k(() => {
|
|
@@ -1853,7 +2084,10 @@ const hl = /* @__PURE__ */ xe(yl, [["render", bl]]), gl = ["id"], xl = /* @__PUR
|
|
|
1853
2084
|
return "always";
|
|
1854
2085
|
if (C.value === "show")
|
|
1855
2086
|
return !0;
|
|
1856
|
-
}), {
|
|
2087
|
+
}), { property: W } = r(e, [
|
|
2088
|
+
"settings",
|
|
2089
|
+
"thumbSize"
|
|
2090
|
+
]), { property: F } = r(e, ["settings", "ticks"]), R = k(() => {
|
|
1857
2091
|
if (!F.value)
|
|
1858
2092
|
return;
|
|
1859
2093
|
const le = {};
|
|
@@ -1861,10 +2095,16 @@ const hl = /* @__PURE__ */ xe(yl, [["render", bl]]), gl = ["id"], xl = /* @__PUR
|
|
|
1861
2095
|
le[Ne] = Ut;
|
|
1862
2096
|
if (!ro(le))
|
|
1863
2097
|
return le;
|
|
1864
|
-
}), {
|
|
2098
|
+
}), { property: E } = r(e, [
|
|
2099
|
+
"settings",
|
|
2100
|
+
"tickSize"
|
|
2101
|
+
]), { property: S } = r(e, [
|
|
1865
2102
|
"settings",
|
|
1866
2103
|
"trackColor"
|
|
1867
|
-
]), { color: D } = K(S), {
|
|
2104
|
+
]), { color: D } = K(S), { property: J } = r(e, ["settings", "value"]), { property: ne } = r(e, ["slots", "append"]), { property: re } = r(e, [
|
|
2105
|
+
"slots",
|
|
2106
|
+
"prepend"
|
|
2107
|
+
]);
|
|
1868
2108
|
return (le, Ne) => {
|
|
1869
2109
|
const Ut = z("v-slider");
|
|
1870
2110
|
return v(), V(n(Z), null, {
|
|
@@ -1878,10 +2118,10 @@ const hl = /* @__PURE__ */ xe(yl, [["render", bl]]), gl = ["id"], xl = /* @__PUR
|
|
|
1878
2118
|
"hide-details": n(a),
|
|
1879
2119
|
label: n(p),
|
|
1880
2120
|
max: n(d),
|
|
1881
|
-
min: n(
|
|
2121
|
+
min: n(f),
|
|
1882
2122
|
readonly: n(m),
|
|
1883
2123
|
reverse: n(u),
|
|
1884
|
-
"show-ticks":
|
|
2124
|
+
"show-ticks": y.value,
|
|
1885
2125
|
step: n(h),
|
|
1886
2126
|
theme: n(g),
|
|
1887
2127
|
"thumb-color": n(w),
|
|
@@ -1891,11 +2131,11 @@ const hl = /* @__PURE__ */ xe(yl, [["render", bl]]), gl = ["id"], xl = /* @__PUR
|
|
|
1891
2131
|
ticks: R.value,
|
|
1892
2132
|
"track-color": n(D)
|
|
1893
2133
|
}, Pn({ _: 2 }, [
|
|
1894
|
-
n(
|
|
2134
|
+
n(ne) ? {
|
|
1895
2135
|
name: "append",
|
|
1896
2136
|
fn: I(() => [
|
|
1897
|
-
H(n(
|
|
1898
|
-
"ref-context": { refid: n(
|
|
2137
|
+
H(n(ye), {
|
|
2138
|
+
"ref-context": { refid: n(ne) },
|
|
1899
2139
|
state: {}
|
|
1900
2140
|
}, null, 8, ["ref-context"])
|
|
1901
2141
|
]),
|
|
@@ -1904,7 +2144,7 @@ const hl = /* @__PURE__ */ xe(yl, [["render", bl]]), gl = ["id"], xl = /* @__PUR
|
|
|
1904
2144
|
n(re) ? {
|
|
1905
2145
|
name: "prepend",
|
|
1906
2146
|
fn: I(() => [
|
|
1907
|
-
H(n(
|
|
2147
|
+
H(n(ye), {
|
|
1908
2148
|
"ref-context": { refid: n(re) },
|
|
1909
2149
|
state: {}
|
|
1910
2150
|
}, null, 8, ["ref-context"])
|
|
@@ -1924,10 +2164,10 @@ const hl = /* @__PURE__ */ xe(yl, [["render", bl]]), gl = ["id"], xl = /* @__PUR
|
|
|
1924
2164
|
outer: { type: Boolean }
|
|
1925
2165
|
},
|
|
1926
2166
|
setup(t) {
|
|
1927
|
-
const e = t, {
|
|
2167
|
+
const e = t, { property: i } = r(e, [
|
|
1928
2168
|
"settings",
|
|
1929
2169
|
"hideActions"
|
|
1930
|
-
]), { theme: o } = N(), {
|
|
2170
|
+
]), { theme: o } = N(), { property: l } = r(e, ["settings", "value"]);
|
|
1931
2171
|
return (s, a) => {
|
|
1932
2172
|
const p = z("v-stepper");
|
|
1933
2173
|
return v(), V(p, {
|
|
@@ -1960,7 +2200,7 @@ const Ml = /* @__PURE__ */ xe(El, [["render", Nl]]), Rl = /* @__PURE__ */ $({
|
|
|
1960
2200
|
outer: { type: Boolean }
|
|
1961
2201
|
},
|
|
1962
2202
|
setup(t) {
|
|
1963
|
-
const e = t, {
|
|
2203
|
+
const e = t, { property: i } = r(e, ["settings", "value"]);
|
|
1964
2204
|
return (o, l) => {
|
|
1965
2205
|
const s = z("v-stepper-item");
|
|
1966
2206
|
return v(), V(s, { value: n(i) }, {
|
|
@@ -1988,7 +2228,7 @@ const Gl = /* @__PURE__ */ xe(Dl, [["render", Fl]]), Hl = /* @__PURE__ */ $({
|
|
|
1988
2228
|
outer: { type: Boolean }
|
|
1989
2229
|
},
|
|
1990
2230
|
setup(t) {
|
|
1991
|
-
const e = t, {
|
|
2231
|
+
const e = t, { property: i } = r(e, ["settings", "value"]);
|
|
1992
2232
|
return (o, l) => {
|
|
1993
2233
|
const s = z("v-stepper-window-item");
|
|
1994
2234
|
return v(), V(s, { value: n(i) }, {
|
|
@@ -2006,14 +2246,20 @@ const Gl = /* @__PURE__ */ xe(Dl, [["render", Fl]]), Hl = /* @__PURE__ */ $({
|
|
|
2006
2246
|
outer: { type: Boolean }
|
|
2007
2247
|
},
|
|
2008
2248
|
setup(t) {
|
|
2009
|
-
const e = t, {
|
|
2249
|
+
const e = t, { property: i } = r(e, ["settings", "density"]), { property: o } = r(e, [
|
|
2250
|
+
"settings",
|
|
2251
|
+
"direction"
|
|
2252
|
+
]), { property: l } = r(e, [
|
|
2253
|
+
"settings",
|
|
2254
|
+
"disabled"
|
|
2255
|
+
]), { property: s } = r(e, [
|
|
2010
2256
|
"settings",
|
|
2011
2257
|
"hideDetails"
|
|
2012
|
-
]), {
|
|
2258
|
+
]), { property: a } = r(e, [
|
|
2013
2259
|
"settings",
|
|
2014
2260
|
"indeterminate"
|
|
2015
|
-
]), {
|
|
2016
|
-
return (
|
|
2261
|
+
]), { property: p } = r(e, ["settings", "inline"]), { property: d } = r(e, ["settings", "inset"]), { property: f } = r(e, ["settings", "label"]), { property: m } = r(e, ["settings", "loading"]), { theme: u } = N(), { property: c } = r(e, ["settings", "value"]);
|
|
2262
|
+
return (y, h) => {
|
|
2017
2263
|
const g = z("v-switch");
|
|
2018
2264
|
return v(), V(n(Z), { "fit-content": !0 }, {
|
|
2019
2265
|
default: I(() => [
|
|
@@ -2027,7 +2273,7 @@ const Gl = /* @__PURE__ */ xe(Dl, [["render", Fl]]), Hl = /* @__PURE__ */ $({
|
|
|
2027
2273
|
indeterminate: n(a),
|
|
2028
2274
|
inline: n(p),
|
|
2029
2275
|
inset: n(d),
|
|
2030
|
-
label: n(
|
|
2276
|
+
label: n(f),
|
|
2031
2277
|
loading: n(m),
|
|
2032
2278
|
theme: n(u)
|
|
2033
2279
|
}, null, 8, ["modelValue", "density", "direction", "disabled", "hide-details", "indeterminate", "inline", "inset", "label", "loading", "theme"])
|
|
@@ -2043,16 +2289,16 @@ const Gl = /* @__PURE__ */ xe(Dl, [["render", Fl]]), Hl = /* @__PURE__ */ $({
|
|
|
2043
2289
|
outer: { type: Boolean }
|
|
2044
2290
|
},
|
|
2045
2291
|
setup(t) {
|
|
2046
|
-
const e = t, i = G(), {
|
|
2292
|
+
const e = t, i = G(), { property: o } = r(e, ["settings", "text"]), { theme: l } = N(), { property: s } = r(e, ["settings", "value"]), a = k(() => {
|
|
2047
2293
|
const p = {};
|
|
2048
2294
|
return i === "editor" && (p.pointerEvents = "none"), p;
|
|
2049
2295
|
});
|
|
2050
2296
|
return (p, d) => {
|
|
2051
|
-
const
|
|
2297
|
+
const f = z("v-tab");
|
|
2052
2298
|
return v(), V(n(Z), { "fit-content": !0 }, {
|
|
2053
2299
|
default: I(() => [
|
|
2054
|
-
H(
|
|
2055
|
-
style:
|
|
2300
|
+
H(f, {
|
|
2301
|
+
style: q(a.value),
|
|
2056
2302
|
text: n(o),
|
|
2057
2303
|
theme: n(l),
|
|
2058
2304
|
value: n(s)
|
|
@@ -2069,28 +2315,43 @@ const Gl = /* @__PURE__ */ xe(Dl, [["render", Fl]]), Hl = /* @__PURE__ */ $({
|
|
|
2069
2315
|
outer: { type: Boolean }
|
|
2070
2316
|
},
|
|
2071
2317
|
setup(t) {
|
|
2072
|
-
const e = t, {
|
|
2318
|
+
const e = t, { property: i } = r(e, [
|
|
2319
|
+
"settings",
|
|
2320
|
+
"alignTabs"
|
|
2321
|
+
]), { property: o } = r(e, [
|
|
2073
2322
|
"settings",
|
|
2074
2323
|
"color",
|
|
2075
2324
|
"backgroundColor"
|
|
2076
|
-
]), { color: l } = K(o), {
|
|
2325
|
+
]), { color: l } = K(o), { property: s } = r(e, [
|
|
2077
2326
|
"settings",
|
|
2078
2327
|
"centerActive"
|
|
2079
|
-
]), {
|
|
2328
|
+
]), { property: a } = r(e, [
|
|
2080
2329
|
"settings",
|
|
2081
2330
|
"color",
|
|
2082
2331
|
"selectedColor"
|
|
2083
|
-
]), { color: p } = K(a), {
|
|
2332
|
+
]), { color: p } = K(a), { property: d } = r(e, ["settings", "density"]), { property: f } = r(e, [
|
|
2333
|
+
"settings",
|
|
2334
|
+
"direction"
|
|
2335
|
+
]), { property: m } = r(e, [
|
|
2336
|
+
"settings",
|
|
2337
|
+
"disabled"
|
|
2338
|
+
]), { property: u } = r(e, [
|
|
2339
|
+
"settings",
|
|
2340
|
+
"fixedTabs"
|
|
2341
|
+
]), { property: c } = r(e, ["settings", "grow"]), { property: y } = r(e, [
|
|
2084
2342
|
"settings",
|
|
2085
2343
|
"hideSlider"
|
|
2086
|
-
]), {
|
|
2344
|
+
]), { property: h } = r(e, ["settings", "items"]), { property: g } = r(e, [
|
|
2345
|
+
"settings",
|
|
2346
|
+
"mandatory"
|
|
2347
|
+
]), { property: x } = r(e, [
|
|
2087
2348
|
"settings",
|
|
2088
2349
|
"showArrows"
|
|
2089
|
-
]), {
|
|
2350
|
+
]), { property: w } = r(e, [
|
|
2090
2351
|
"settings",
|
|
2091
2352
|
"color",
|
|
2092
2353
|
"sliderColor"
|
|
2093
|
-
]), { color: C } = K(w), {
|
|
2354
|
+
]), { color: C } = K(w), { property: M } = r(e, ["settings", "stacked"]), { theme: W } = N(), { property: F } = r(e, ["settings", "value"]);
|
|
2094
2355
|
return (R, E) => {
|
|
2095
2356
|
const S = z("v-tabs");
|
|
2096
2357
|
return v(), V(S, {
|
|
@@ -2101,11 +2362,11 @@ const Gl = /* @__PURE__ */ xe(Dl, [["render", Fl]]), Hl = /* @__PURE__ */ $({
|
|
|
2101
2362
|
"center-active": n(s),
|
|
2102
2363
|
color: n(p),
|
|
2103
2364
|
density: n(d),
|
|
2104
|
-
direction: n(
|
|
2365
|
+
direction: n(f),
|
|
2105
2366
|
disabled: n(m),
|
|
2106
2367
|
"fixed-tabs": n(u),
|
|
2107
2368
|
grow: n(c),
|
|
2108
|
-
"hide-slider": n(
|
|
2369
|
+
"hide-slider": n(y),
|
|
2109
2370
|
items: n(h),
|
|
2110
2371
|
mandatory: n(g),
|
|
2111
2372
|
"show-arrows": n(x),
|
|
@@ -2127,15 +2388,18 @@ const Gl = /* @__PURE__ */ xe(Dl, [["render", Fl]]), Hl = /* @__PURE__ */ $({
|
|
|
2127
2388
|
outer: { type: Boolean }
|
|
2128
2389
|
},
|
|
2129
2390
|
setup(t) {
|
|
2130
|
-
const e = t, i = $e(), {
|
|
2391
|
+
const e = t, i = $e(), { property: o } = r(e, ["settings", "align"]), { property: l } = r(e, [
|
|
2131
2392
|
"settings",
|
|
2132
2393
|
"decoration"
|
|
2133
|
-
]), {
|
|
2394
|
+
]), { property: s } = r(e, [
|
|
2395
|
+
"settings",
|
|
2396
|
+
"emphasis"
|
|
2397
|
+
]), { property: a } = r(e, ["settings", "italic"]), { property: p } = r(e, ["settings", "text"]), { property: d } = r(e, ["settings", "weight"]), f = k(() => {
|
|
2134
2398
|
const m = [], u = Re(i.value.width), c = Ie(u, e.node.settings?.style);
|
|
2135
2399
|
return c && m.push(`text-${c}`), s.value === "high" ? m.push("text-high-emphasis") : s.value === "medium" ? m.push("text-medium-emphasis") : s.value === "disabled" && m.push("text-disabled"), o.value && m.push(`font-${o.value}`), l.value && m.push(`text-decoration-${l.value}`), d.value && m.push(`font-weight-${d.value}`), a.value && m.push("font-italic"), m.join(" ");
|
|
2136
2400
|
});
|
|
2137
2401
|
return (m, u) => (v(), Y("span", {
|
|
2138
|
-
class: Do(
|
|
2402
|
+
class: Do(f.value)
|
|
2139
2403
|
}, Fo(n(p)), 3));
|
|
2140
2404
|
}
|
|
2141
2405
|
}), Xl = /* @__PURE__ */ $({
|
|
@@ -2145,13 +2409,25 @@ const Gl = /* @__PURE__ */ xe(Dl, [["render", Fl]]), Hl = /* @__PURE__ */ $({
|
|
|
2145
2409
|
outer: { type: Boolean }
|
|
2146
2410
|
},
|
|
2147
2411
|
setup(t) {
|
|
2148
|
-
const e = t, {
|
|
2412
|
+
const e = t, { property: i } = r(e, [
|
|
2413
|
+
"settings",
|
|
2414
|
+
"autoGrow"
|
|
2415
|
+
]), { property: o } = r(e, [
|
|
2416
|
+
"settings",
|
|
2417
|
+
"clearable"
|
|
2418
|
+
]), { property: l } = r(e, ["settings", "density"]), { property: s } = r(e, [
|
|
2419
|
+
"settings",
|
|
2420
|
+
"disabled"
|
|
2421
|
+
]), { property: a } = r(e, ["settings", "label"]), { property: p } = r(e, ["settings", "loading"]), { property: d } = r(e, ["settings", "maxRows"]), { property: f } = r(e, [
|
|
2149
2422
|
"settings",
|
|
2150
2423
|
"placeholder"
|
|
2151
|
-
]), {
|
|
2424
|
+
]), { property: m } = r(e, [
|
|
2425
|
+
"settings",
|
|
2426
|
+
"readonly"
|
|
2427
|
+
]), { property: u } = r(e, ["settings", "reverse"]), { property: c } = r(e, ["settings", "rows"]), { property: y } = r(e, [
|
|
2152
2428
|
"settings",
|
|
2153
2429
|
"singleLine"
|
|
2154
|
-
]), { theme: h } = N(), {
|
|
2430
|
+
]), { theme: h } = N(), { property: g } = r(e, ["settings", "value"]), { property: x } = r(e, ["settings", "variant"]);
|
|
2155
2431
|
return (w, C) => {
|
|
2156
2432
|
const M = z("v-textarea");
|
|
2157
2433
|
return v(), V(n(Z), null, {
|
|
@@ -2166,11 +2442,11 @@ const Gl = /* @__PURE__ */ xe(Dl, [["render", Fl]]), Hl = /* @__PURE__ */ $({
|
|
|
2166
2442
|
label: n(a),
|
|
2167
2443
|
loading: n(p),
|
|
2168
2444
|
"max-rows": n(d),
|
|
2169
|
-
placeholder: n(
|
|
2445
|
+
placeholder: n(f),
|
|
2170
2446
|
readonly: n(m),
|
|
2171
2447
|
reverse: n(u),
|
|
2172
2448
|
rows: n(c),
|
|
2173
|
-
"single-line": n(
|
|
2449
|
+
"single-line": n(y),
|
|
2174
2450
|
theme: n(h),
|
|
2175
2451
|
variant: n(x)
|
|
2176
2452
|
}, null, 8, ["modelValue", "auto-grow", "clearable", "density", "disabled", "label", "loading", "max-rows", "placeholder", "readonly", "reverse", "rows", "single-line", "theme", "variant"])
|
|
@@ -2186,41 +2462,56 @@ const Gl = /* @__PURE__ */ xe(Dl, [["render", Fl]]), Hl = /* @__PURE__ */ $({
|
|
|
2186
2462
|
outer: { type: Boolean }
|
|
2187
2463
|
},
|
|
2188
2464
|
setup(t) {
|
|
2189
|
-
const e = t, {
|
|
2465
|
+
const e = t, { property: i } = r(e, [
|
|
2190
2466
|
"settings",
|
|
2191
2467
|
"appendIcon"
|
|
2192
|
-
]), {
|
|
2468
|
+
]), { property: o } = r(e, [
|
|
2193
2469
|
"settings",
|
|
2194
2470
|
"appendInnerIcon"
|
|
2195
|
-
]), {
|
|
2471
|
+
]), { property: l } = r(e, [
|
|
2472
|
+
"settings",
|
|
2473
|
+
"autofocus"
|
|
2474
|
+
]), { property: s } = r(e, [
|
|
2475
|
+
"settings",
|
|
2476
|
+
"clearable"
|
|
2477
|
+
]), { property: a } = r(e, ["settings", "density"]), { property: p } = r(e, [
|
|
2478
|
+
"settings",
|
|
2479
|
+
"disabled"
|
|
2480
|
+
]), { property: d } = r(e, [
|
|
2196
2481
|
"settings",
|
|
2197
2482
|
"hideDetails"
|
|
2198
|
-
]), {
|
|
2483
|
+
]), { property: f } = r(e, ["settings", "label"]), { property: m } = r(e, ["settings", "loading"]), { property: u } = r(e, [
|
|
2199
2484
|
"settings",
|
|
2200
2485
|
"placeholder"
|
|
2201
|
-
]), {
|
|
2486
|
+
]), { property: c } = r(e, ["settings", "prefix"]), { property: y } = r(e, [
|
|
2202
2487
|
"settings",
|
|
2203
2488
|
"prependIcon"
|
|
2204
|
-
]), {
|
|
2489
|
+
]), { property: h } = r(e, [
|
|
2205
2490
|
"settings",
|
|
2206
2491
|
"prependInnerIcon"
|
|
2207
|
-
]), {
|
|
2492
|
+
]), { property: g } = r(e, [
|
|
2493
|
+
"settings",
|
|
2494
|
+
"readonly"
|
|
2495
|
+
]), { property: x } = r(e, ["settings", "reverse"]), { property: w } = r(e, [
|
|
2208
2496
|
"settings",
|
|
2209
2497
|
"singleLine"
|
|
2210
|
-
]), {
|
|
2498
|
+
]), { property: C } = r(e, ["settings", "suffix"]), { theme: M } = N(), { property: W } = r(e, ["settings", "value"]), { property: F } = r(e, ["settings", "variant"]), { property: R } = r(e, ["slots", "append"]), { property: E } = r(e, [
|
|
2211
2499
|
"slots",
|
|
2212
2500
|
"appendInner"
|
|
2213
|
-
]), {
|
|
2501
|
+
]), { property: S } = r(e, [
|
|
2502
|
+
"slots",
|
|
2503
|
+
"prepend"
|
|
2504
|
+
]), { property: D } = r(e, [
|
|
2214
2505
|
"slots",
|
|
2215
2506
|
"prependInner"
|
|
2216
2507
|
]);
|
|
2217
|
-
return (J,
|
|
2508
|
+
return (J, ne) => {
|
|
2218
2509
|
const re = z("v-text-field");
|
|
2219
2510
|
return v(), V(n(Z), null, {
|
|
2220
2511
|
default: I(() => [
|
|
2221
2512
|
H(re, {
|
|
2222
2513
|
modelValue: n(W),
|
|
2223
|
-
"onUpdate:modelValue":
|
|
2514
|
+
"onUpdate:modelValue": ne[0] || (ne[0] = (le) => O(W) ? W.value = le : null),
|
|
2224
2515
|
"append-icon": n(i),
|
|
2225
2516
|
"append-inner-icon": n(o),
|
|
2226
2517
|
autofocus: n(l),
|
|
@@ -2228,11 +2519,11 @@ const Gl = /* @__PURE__ */ xe(Dl, [["render", Fl]]), Hl = /* @__PURE__ */ $({
|
|
|
2228
2519
|
density: n(a),
|
|
2229
2520
|
disabled: n(p),
|
|
2230
2521
|
"hide-details": n(d),
|
|
2231
|
-
label: n(
|
|
2522
|
+
label: n(f),
|
|
2232
2523
|
loading: n(m),
|
|
2233
2524
|
placeholder: n(u),
|
|
2234
2525
|
prefix: n(c),
|
|
2235
|
-
"prepend-icon": n(
|
|
2526
|
+
"prepend-icon": n(y),
|
|
2236
2527
|
"prepend-inner-icon": n(h),
|
|
2237
2528
|
readonly: n(g),
|
|
2238
2529
|
reverse: n(x),
|
|
@@ -2244,7 +2535,7 @@ const Gl = /* @__PURE__ */ xe(Dl, [["render", Fl]]), Hl = /* @__PURE__ */ $({
|
|
|
2244
2535
|
n(R) ? {
|
|
2245
2536
|
name: "append",
|
|
2246
2537
|
fn: I(() => [
|
|
2247
|
-
H(n(
|
|
2538
|
+
H(n(ye), {
|
|
2248
2539
|
"ref-context": { refid: n(R) },
|
|
2249
2540
|
state: {}
|
|
2250
2541
|
}, null, 8, ["ref-context"])
|
|
@@ -2254,7 +2545,7 @@ const Gl = /* @__PURE__ */ xe(Dl, [["render", Fl]]), Hl = /* @__PURE__ */ $({
|
|
|
2254
2545
|
n(E) ? {
|
|
2255
2546
|
name: "append-inner",
|
|
2256
2547
|
fn: I(() => [
|
|
2257
|
-
H(n(
|
|
2548
|
+
H(n(ye), {
|
|
2258
2549
|
"ref-context": { refid: n(E) },
|
|
2259
2550
|
state: {}
|
|
2260
2551
|
}, null, 8, ["ref-context"])
|
|
@@ -2264,7 +2555,7 @@ const Gl = /* @__PURE__ */ xe(Dl, [["render", Fl]]), Hl = /* @__PURE__ */ $({
|
|
|
2264
2555
|
n(S) ? {
|
|
2265
2556
|
name: "prepend",
|
|
2266
2557
|
fn: I(() => [
|
|
2267
|
-
H(n(
|
|
2558
|
+
H(n(ye), {
|
|
2268
2559
|
"ref-context": { refid: n(S) },
|
|
2269
2560
|
state: {}
|
|
2270
2561
|
}, null, 8, ["ref-context"])
|
|
@@ -2274,7 +2565,7 @@ const Gl = /* @__PURE__ */ xe(Dl, [["render", Fl]]), Hl = /* @__PURE__ */ $({
|
|
|
2274
2565
|
n(D) ? {
|
|
2275
2566
|
name: "prepend-inner",
|
|
2276
2567
|
fn: I(() => [
|
|
2277
|
-
H(n(
|
|
2568
|
+
H(n(ye), {
|
|
2278
2569
|
"ref-context": { refid: n(D) },
|
|
2279
2570
|
state: {}
|
|
2280
2571
|
}, null, 8, ["ref-context"])
|
|
@@ -2294,26 +2585,33 @@ const Gl = /* @__PURE__ */ xe(Dl, [["render", Fl]]), Hl = /* @__PURE__ */ $({
|
|
|
2294
2585
|
outer: { type: Boolean }
|
|
2295
2586
|
},
|
|
2296
2587
|
setup(t) {
|
|
2297
|
-
const e = t, {
|
|
2588
|
+
const e = t, { property: i } = r(e, ["settings", "align"]), { property: o } = r(e, ["settings", "density"]), { property: l } = r(e, [
|
|
2589
|
+
"settings",
|
|
2590
|
+
"direction"
|
|
2591
|
+
]), { property: s } = r(e, [
|
|
2298
2592
|
"settings",
|
|
2299
2593
|
"dot",
|
|
2300
2594
|
"color"
|
|
2301
|
-
]), { color: a } = K(s), {
|
|
2595
|
+
]), { color: a } = K(s), { property: p } = r(e, [
|
|
2596
|
+
"settings",
|
|
2597
|
+
"dot",
|
|
2598
|
+
"fill"
|
|
2599
|
+
]), { property: d } = r(e, [
|
|
2302
2600
|
"settings",
|
|
2303
2601
|
"hideOpposite"
|
|
2304
|
-
]), {
|
|
2602
|
+
]), { property: f } = r(e, [
|
|
2305
2603
|
"settings",
|
|
2306
2604
|
"line",
|
|
2307
2605
|
"color"
|
|
2308
|
-
]), { color: m } = K(
|
|
2606
|
+
]), { color: m } = K(f), { property: u } = r(e, [
|
|
2309
2607
|
"settings",
|
|
2310
2608
|
"line",
|
|
2311
2609
|
"inset"
|
|
2312
|
-
]), {
|
|
2610
|
+
]), { property: c } = r(e, [
|
|
2313
2611
|
"settings",
|
|
2314
2612
|
"line",
|
|
2315
2613
|
"thickness"
|
|
2316
|
-
]), {
|
|
2614
|
+
]), { property: y } = r(e, ["settings", "side"]), { property: h } = r(e, [
|
|
2317
2615
|
"settings",
|
|
2318
2616
|
"line",
|
|
2319
2617
|
"truncate"
|
|
@@ -2330,7 +2628,7 @@ const Gl = /* @__PURE__ */ xe(Dl, [["render", Fl]]), Hl = /* @__PURE__ */ $({
|
|
|
2330
2628
|
"line-color": n(m),
|
|
2331
2629
|
"line-inset": n(u),
|
|
2332
2630
|
"line-thickness": n(c),
|
|
2333
|
-
side: n(
|
|
2631
|
+
side: n(y),
|
|
2334
2632
|
theme: n(g),
|
|
2335
2633
|
"truncate-line": n(h)
|
|
2336
2634
|
}, {
|
|
@@ -2358,18 +2656,24 @@ const Ql = /* @__PURE__ */ xe(Zl, [["render", ql]]), ea = /* @__PURE__ */ $({
|
|
|
2358
2656
|
outer: { type: Boolean }
|
|
2359
2657
|
},
|
|
2360
2658
|
setup(t) {
|
|
2361
|
-
const e = t, {
|
|
2659
|
+
const e = t, { property: i } = r(e, [
|
|
2362
2660
|
"settings",
|
|
2363
2661
|
"continuous"
|
|
2364
|
-
]), {
|
|
2662
|
+
]), { property: o } = r(e, [
|
|
2663
|
+
"settings",
|
|
2664
|
+
"disabled"
|
|
2665
|
+
]), { property: l } = r(e, [
|
|
2666
|
+
"settings",
|
|
2667
|
+
"direction"
|
|
2668
|
+
]), { property: s } = r(e, ["settings", "reverse"]), { property: a } = r(e, [
|
|
2365
2669
|
"settings",
|
|
2366
2670
|
"showArrows"
|
|
2367
|
-
]), {
|
|
2671
|
+
]), { property: p } = r(e, ["settings", "touch"]), { theme: d } = N(), { property: f } = r(e, ["settings", "value"]);
|
|
2368
2672
|
return (m, u) => {
|
|
2369
2673
|
const c = z("v-window");
|
|
2370
2674
|
return v(), V(c, {
|
|
2371
|
-
modelValue: n(
|
|
2372
|
-
"onUpdate:modelValue": u[0] || (u[0] = (
|
|
2675
|
+
modelValue: n(f),
|
|
2676
|
+
"onUpdate:modelValue": u[0] || (u[0] = (y) => O(f) ? f.value = y : null),
|
|
2373
2677
|
continuous: n(i),
|
|
2374
2678
|
direction: n(l),
|
|
2375
2679
|
disabled: n(o),
|
|
@@ -2395,7 +2699,7 @@ function na(t, e) {
|
|
|
2395
2699
|
_: 3
|
|
2396
2700
|
});
|
|
2397
2701
|
}
|
|
2398
|
-
const ia = /* @__PURE__ */ xe(ta, [["render", na]]), Ue = "ambient_light_v1", Xe = "badge_v1", Nn = "breadcrumbs_v1", Ye = "bar_chart_v1", Je = "box_geometry_v1", Ze = "btn_v1", qe = "btn_group_v1", Qe = "btn_toggle_v1", et = "card_v1", tt = "checkbox_v1", nt = "chip_v1", it = "chip_group_v1", ot = "color_picker_v1", st = "combobox_v1", rt = "container_v1", lt = "data_table_v1", at = "date_picker_v1", ut = "dialog_v1", ct = "directional_light_v1", mt = "file_input_v1", pt = "flex_layout_v1", bo = "flex_layout_entry_v1", dt = "form_v1", tn = "globality_v1",
|
|
2702
|
+
const ia = /* @__PURE__ */ xe(ta, [["render", na]]), Ue = "ambient_light_v1", Xe = "badge_v1", Nn = "breadcrumbs_v1", Ye = "bar_chart_v1", Je = "box_geometry_v1", Ze = "btn_v1", qe = "btn_group_v1", Qe = "btn_toggle_v1", et = "card_v1", tt = "checkbox_v1", nt = "chip_v1", it = "chip_group_v1", ot = "color_picker_v1", st = "combobox_v1", rt = "container_v1", lt = "data_table_v1", at = "date_picker_v1", ut = "dialog_v1", ct = "directional_light_v1", mt = "file_input_v1", pt = "flex_layout_v1", bo = "flex_layout_entry_v1", dt = "form_v1", tn = "globality_v1", yt = "group_v1", ft = "icon_v1", bt = "keyboard_controls_v1", ht = "line_chart_v1", gt = "map_controls_v1", xt = "menu_v1", vt = "mesh_v1", oa = "mesh_basic_material_v1", Mn = "multiple_ref_v1", kt = "number_input_v1", _t = "orbit_controls_v1", wt = "orthographic_camera_v1", Vt = "pagination_v1", $t = "perspective_camera_v1", It = "point_light_v1", ho = "radio_v1", St = "radio_group_v1", Ct = "range_slider_v1", Tt = "rating_v1", Rn = "render_switch_v1", Pt = "select_v1", De = "single_ref_v1", zt = "slider_v1", At = "sphere_geometry_v1", Lt = "spot_light_v1", Bt = "stepper_v1", go = "stepper_header_v1", xo = "stepper_item_v1", vo = "stepper_window_v1", ko = "stepper_window_item_v1", Wt = "switch_v1", _o = "tab_v1", Dn = "table_v1", Et = "tabs_v1", Nt = "text_v1", Mt = "textarea_v1", Rt = "text_field_v1", Dt = "timeline_v1", wo = "timeline_item_v1", Ft = "window_v1", Vo = "window_item_v1", b = {
|
|
2399
2703
|
key: "basic",
|
|
2400
2704
|
name: "x-runtime-lib.basic",
|
|
2401
2705
|
children: [
|
|
@@ -2934,19 +3238,19 @@ const aa = /* @__PURE__ */ $({
|
|
|
2934
3238
|
__name: "index",
|
|
2935
3239
|
setup(t) {
|
|
2936
3240
|
const e = G();
|
|
2937
|
-
return (i, o) => n(e) !== "editor" ? (v(), V(n(ss), { key: 0 })) :
|
|
3241
|
+
return (i, o) => n(e) !== "editor" ? (v(), V(n(ss), { key: 0 })) : te("", !0);
|
|
2938
3242
|
}
|
|
2939
3243
|
}), ua = /* @__PURE__ */ $({
|
|
2940
3244
|
__name: "index",
|
|
2941
3245
|
setup(t) {
|
|
2942
3246
|
const e = G();
|
|
2943
|
-
return (i, o) => n(e) !== "editor" ? (v(), V(n(rs), { key: 0 })) :
|
|
3247
|
+
return (i, o) => n(e) !== "editor" ? (v(), V(n(rs), { key: 0 })) : te("", !0);
|
|
2944
3248
|
}
|
|
2945
3249
|
}), ca = /* @__PURE__ */ $({
|
|
2946
3250
|
__name: "index",
|
|
2947
3251
|
setup(t) {
|
|
2948
3252
|
const e = G();
|
|
2949
|
-
return (i, o) => n(e) !== "editor" ? (v(), V(n(ls), { key: 0 })) :
|
|
3253
|
+
return (i, o) => n(e) !== "editor" ? (v(), V(n(ls), { key: 0 })) : te("", !0);
|
|
2950
3254
|
}
|
|
2951
3255
|
}), ma = {
|
|
2952
3256
|
key: bt,
|
|
@@ -2990,7 +3294,7 @@ const da = {
|
|
|
2990
3294
|
leaf: !0
|
|
2991
3295
|
};
|
|
2992
3296
|
_(da);
|
|
2993
|
-
function
|
|
3297
|
+
function ya(t, e) {
|
|
2994
3298
|
const i = `type=${t} subtype=${e}`, o = A(t, e);
|
|
2995
3299
|
if (!o) {
|
|
2996
3300
|
console.error(`boxGeometryV1/spawn property tag not found, ${i}`);
|
|
@@ -3019,11 +3323,11 @@ function fa(t, e) {
|
|
|
3019
3323
|
z: 1
|
|
3020
3324
|
}
|
|
3021
3325
|
}, s.children = [
|
|
3022
|
-
|
|
3326
|
+
fa(t, e),
|
|
3023
3327
|
ba(t, e)
|
|
3024
3328
|
], s;
|
|
3025
3329
|
}
|
|
3026
|
-
function
|
|
3330
|
+
function fa(t, e) {
|
|
3027
3331
|
const i = `type=${t} subtype=${e}`, o = A(t, e);
|
|
3028
3332
|
if (!o) {
|
|
3029
3333
|
console.error(
|
|
@@ -3122,7 +3426,7 @@ const Qn = {
|
|
|
3122
3426
|
methods: [],
|
|
3123
3427
|
slots: [],
|
|
3124
3428
|
leaf: !0,
|
|
3125
|
-
spawn:
|
|
3429
|
+
spawn: ya
|
|
3126
3430
|
};
|
|
3127
3431
|
_(nn);
|
|
3128
3432
|
function ha(t, e) {
|
|
@@ -3449,7 +3753,7 @@ const Pe = {
|
|
|
3449
3753
|
};
|
|
3450
3754
|
_(Pe);
|
|
3451
3755
|
const Va = {
|
|
3452
|
-
key:
|
|
3756
|
+
key: yt,
|
|
3453
3757
|
name: "x-runtime-lib.group",
|
|
3454
3758
|
comp: Ks,
|
|
3455
3759
|
properties: {
|
|
@@ -4014,7 +4318,7 @@ const di = {
|
|
|
4014
4318
|
leaf: !0
|
|
4015
4319
|
};
|
|
4016
4320
|
_(La);
|
|
4017
|
-
const Ba = B(j),
|
|
4321
|
+
const Ba = B(j), yi = {
|
|
4018
4322
|
key: "settings",
|
|
4019
4323
|
name: "x-runtime-lib.settings",
|
|
4020
4324
|
children: [
|
|
@@ -4094,8 +4398,8 @@ const Ba = B(j), fi = {
|
|
|
4094
4398
|
name: "x-runtime-lib.chip",
|
|
4095
4399
|
comp: ul,
|
|
4096
4400
|
properties: {
|
|
4097
|
-
pageCommon: [b,
|
|
4098
|
-
compCommon: [b,
|
|
4401
|
+
pageCommon: [b, yi],
|
|
4402
|
+
compCommon: [b, yi]
|
|
4099
4403
|
},
|
|
4100
4404
|
events: [],
|
|
4101
4405
|
methods: [],
|
|
@@ -4138,7 +4442,7 @@ function ve(t, e, i, o) {
|
|
|
4138
4442
|
const p = {};
|
|
4139
4443
|
return P(p, a), p.basic.id = T(16), p.basic.key = an.key, p.settings.value = i, p.settings.text = o, p;
|
|
4140
4444
|
}
|
|
4141
|
-
const
|
|
4445
|
+
const fi = {
|
|
4142
4446
|
key: "settings",
|
|
4143
4447
|
name: "x-runtime-lib.settings",
|
|
4144
4448
|
children: [
|
|
@@ -4197,8 +4501,8 @@ const yi = {
|
|
|
4197
4501
|
name: "x-runtime-lib.chipGroup",
|
|
4198
4502
|
comp: cl,
|
|
4199
4503
|
properties: {
|
|
4200
|
-
pageCommon: [b,
|
|
4201
|
-
compCommon: [b,
|
|
4504
|
+
pageCommon: [b, fi],
|
|
4505
|
+
compCommon: [b, fi]
|
|
4202
4506
|
},
|
|
4203
4507
|
events: [],
|
|
4204
4508
|
methods: [],
|
|
@@ -4456,7 +4760,7 @@ const gi = {
|
|
|
4456
4760
|
}, Ma = {
|
|
4457
4761
|
key: lt,
|
|
4458
4762
|
name: "x-runtime-lib.dataTable",
|
|
4459
|
-
comp:
|
|
4763
|
+
comp: yl,
|
|
4460
4764
|
properties: {
|
|
4461
4765
|
pageCommon: [b, gi, xi, vi],
|
|
4462
4766
|
compCommon: [b, gi, xi, vi]
|
|
@@ -4591,16 +4895,18 @@ function Fa(t, e) {
|
|
|
4591
4895
|
], s;
|
|
4592
4896
|
}
|
|
4593
4897
|
function pn(t, e, i, o, l, s, a, p, d) {
|
|
4594
|
-
const
|
|
4898
|
+
const f = `type=${t} subtype=${e}`, m = A(t, e);
|
|
4595
4899
|
if (!m) {
|
|
4596
4900
|
console.error(
|
|
4597
|
-
`flexLayoutV1/spawnContainer property tag not found, ${
|
|
4901
|
+
`flexLayoutV1/spawnContainer property tag not found, ${f}`
|
|
4598
4902
|
);
|
|
4599
4903
|
return;
|
|
4600
4904
|
}
|
|
4601
4905
|
const u = cn.properties[m];
|
|
4602
4906
|
if (!u) {
|
|
4603
|
-
console.error(
|
|
4907
|
+
console.error(
|
|
4908
|
+
`flexLayoutV1/spawnContainer properties not found, ${f}`
|
|
4909
|
+
);
|
|
4604
4910
|
return;
|
|
4605
4911
|
}
|
|
4606
4912
|
const c = {};
|
|
@@ -4609,7 +4915,9 @@ function pn(t, e, i, o, l, s, a, p, d) {
|
|
|
4609
4915
|
function Ga(t, e) {
|
|
4610
4916
|
const i = `type=${t} subtype=${e}`, o = A(t, e);
|
|
4611
4917
|
if (!o) {
|
|
4612
|
-
console.error(
|
|
4918
|
+
console.error(
|
|
4919
|
+
`flexLayoutV1/spawnEntry property tag not found, ${i}`
|
|
4920
|
+
);
|
|
4613
4921
|
return;
|
|
4614
4922
|
}
|
|
4615
4923
|
const l = mn.properties[o];
|
|
@@ -5024,13 +5332,13 @@ function Ha(t, e) {
|
|
|
5024
5332
|
console.error(`formV1/spawn property tag not found, ${i}`);
|
|
5025
5333
|
return;
|
|
5026
5334
|
}
|
|
5027
|
-
const l =
|
|
5335
|
+
const l = yn.properties[o];
|
|
5028
5336
|
if (!l) {
|
|
5029
5337
|
console.error(`formV1/spawn properties not found, ${i}`);
|
|
5030
5338
|
return;
|
|
5031
5339
|
}
|
|
5032
5340
|
const s = {};
|
|
5033
|
-
return P(s, l), s.basic.id = T(16), s.basic.key =
|
|
5341
|
+
return P(s, l), s.basic.id = T(16), s.basic.key = yn.key, s.children = [Ka(t, e)], s;
|
|
5034
5342
|
}
|
|
5035
5343
|
function Ka(t, e) {
|
|
5036
5344
|
const i = `type=${t} subtype=${e}`, o = A(t, e);
|
|
@@ -5064,7 +5372,7 @@ const Ii = {
|
|
|
5064
5372
|
default: !1
|
|
5065
5373
|
}
|
|
5066
5374
|
]
|
|
5067
|
-
},
|
|
5375
|
+
}, yn = {
|
|
5068
5376
|
key: dt,
|
|
5069
5377
|
name: "x-runtime-lib.form",
|
|
5070
5378
|
comp: wl,
|
|
@@ -5083,7 +5391,7 @@ const Ii = {
|
|
|
5083
5391
|
slots: [],
|
|
5084
5392
|
spawn: Ha
|
|
5085
5393
|
};
|
|
5086
|
-
_(
|
|
5394
|
+
_(yn);
|
|
5087
5395
|
const ja = B(j), Si = {
|
|
5088
5396
|
key: "settings",
|
|
5089
5397
|
name: "x-runtime-lib.settings",
|
|
@@ -5110,7 +5418,7 @@ const ja = B(j), Si = {
|
|
|
5110
5418
|
ja
|
|
5111
5419
|
]
|
|
5112
5420
|
}, Oa = {
|
|
5113
|
-
key:
|
|
5421
|
+
key: ft,
|
|
5114
5422
|
name: "x-runtime-lib.icon",
|
|
5115
5423
|
comp: Vl,
|
|
5116
5424
|
properties: {
|
|
@@ -5156,13 +5464,13 @@ function Xa(t, e) {
|
|
|
5156
5464
|
console.error(`numberInputV1/spawn property tag not found, ${i}`);
|
|
5157
5465
|
return;
|
|
5158
5466
|
}
|
|
5159
|
-
const l =
|
|
5467
|
+
const l = fn.properties[o];
|
|
5160
5468
|
if (!l) {
|
|
5161
5469
|
console.error(`numberInputV1/spawn properties not found, ${i}`);
|
|
5162
5470
|
return;
|
|
5163
5471
|
}
|
|
5164
5472
|
const s = {};
|
|
5165
|
-
return P(s, l), s.basic.id = T(16), s.basic.key =
|
|
5473
|
+
return P(s, l), s.basic.id = T(16), s.basic.key = fn.key, s.settings.label = "label", s.settings.placeholder = "placeholder", s;
|
|
5166
5474
|
}
|
|
5167
5475
|
const Ci = {
|
|
5168
5476
|
key: "size",
|
|
@@ -5331,7 +5639,7 @@ const Ci = {
|
|
|
5331
5639
|
]
|
|
5332
5640
|
}
|
|
5333
5641
|
]
|
|
5334
|
-
},
|
|
5642
|
+
}, fn = {
|
|
5335
5643
|
key: kt,
|
|
5336
5644
|
name: "x-runtime-lib.numberInput",
|
|
5337
5645
|
comp: Sl,
|
|
@@ -5371,7 +5679,7 @@ const Ci = {
|
|
|
5371
5679
|
leaf: !0,
|
|
5372
5680
|
spawn: Xa
|
|
5373
5681
|
};
|
|
5374
|
-
_(
|
|
5682
|
+
_(fn);
|
|
5375
5683
|
const Pi = {
|
|
5376
5684
|
key: "settings",
|
|
5377
5685
|
name: "x-runtime-lib.settings",
|
|
@@ -5521,7 +5829,9 @@ function Za(t, e) {
|
|
|
5521
5829
|
function Yt(t, e, i, o) {
|
|
5522
5830
|
const l = `type=${t} subtype=${e}`, s = A(t, e);
|
|
5523
5831
|
if (!s) {
|
|
5524
|
-
console.error(
|
|
5832
|
+
console.error(
|
|
5833
|
+
`radioGroupV1/spawnEntry property tag not found, ${l}`
|
|
5834
|
+
);
|
|
5525
5835
|
return;
|
|
5526
5836
|
}
|
|
5527
5837
|
const a = bn.properties[s];
|
|
@@ -6134,12 +6444,16 @@ function ou(t, e) {
|
|
|
6134
6444
|
function Zt(t, e, i, o) {
|
|
6135
6445
|
const l = `type=${t} subtype=${e}`, s = A(t, e);
|
|
6136
6446
|
if (!s) {
|
|
6137
|
-
console.error(
|
|
6447
|
+
console.error(
|
|
6448
|
+
`stepperV1/spawnWindowItem property tag not found, ${l}`
|
|
6449
|
+
);
|
|
6138
6450
|
return;
|
|
6139
6451
|
}
|
|
6140
6452
|
const a = kn.properties[s];
|
|
6141
6453
|
if (!a) {
|
|
6142
|
-
console.error(
|
|
6454
|
+
console.error(
|
|
6455
|
+
`stepperV1/spawnWindowItem properties not found, ${l}`
|
|
6456
|
+
);
|
|
6143
6457
|
return;
|
|
6144
6458
|
}
|
|
6145
6459
|
const p = {};
|
|
@@ -6748,7 +7062,7 @@ const Cn = {
|
|
|
6748
7062
|
slots: []
|
|
6749
7063
|
};
|
|
6750
7064
|
_(Cn);
|
|
6751
|
-
function
|
|
7065
|
+
function yu(t, e) {
|
|
6752
7066
|
const i = `type=${t} subtype=${e}`, o = A(t, e);
|
|
6753
7067
|
if (!o) {
|
|
6754
7068
|
console.error(`windowV1/spawn property tag not found, ${i}`);
|
|
@@ -6778,12 +7092,14 @@ function en(t, e, i) {
|
|
|
6778
7092
|
return;
|
|
6779
7093
|
}
|
|
6780
7094
|
const a = {};
|
|
6781
|
-
return P(a, s), a.basic.id = T(16), a.basic.key = Cn.key, a.children = [
|
|
7095
|
+
return P(a, s), a.basic.id = T(16), a.basic.key = Cn.key, a.children = [fu(t, e, i)], a;
|
|
6782
7096
|
}
|
|
6783
|
-
function
|
|
7097
|
+
function fu(t, e, i) {
|
|
6784
7098
|
const o = `type=${t} subtype=${e}`, l = A(t, e);
|
|
6785
7099
|
if (!l) {
|
|
6786
|
-
console.error(
|
|
7100
|
+
console.error(
|
|
7101
|
+
`windowV1/spawnFlexLayout property tag not found, ${o}`
|
|
7102
|
+
);
|
|
6787
7103
|
return;
|
|
6788
7104
|
}
|
|
6789
7105
|
const s = Le.properties[l];
|
|
@@ -6867,7 +7183,7 @@ const Oi = {
|
|
|
6867
7183
|
events: [],
|
|
6868
7184
|
methods: [],
|
|
6869
7185
|
slots: [],
|
|
6870
|
-
spawn:
|
|
7186
|
+
spawn: yu
|
|
6871
7187
|
};
|
|
6872
7188
|
_(Tn);
|
|
6873
7189
|
const hu = [
|
|
@@ -7310,7 +7626,7 @@ const hu = [
|
|
|
7310
7626
|
{
|
|
7311
7627
|
key: "imagesAndIcons",
|
|
7312
7628
|
name: "x-runtime-lib.imagesAndIcons",
|
|
7313
|
-
items: [
|
|
7629
|
+
items: [ft]
|
|
7314
7630
|
},
|
|
7315
7631
|
{
|
|
7316
7632
|
key: "pickers",
|
|
@@ -7326,7 +7642,7 @@ const hu = [
|
|
|
7326
7642
|
{
|
|
7327
7643
|
key: "objects",
|
|
7328
7644
|
name: "x-runtime-lib.objects",
|
|
7329
|
-
items: [
|
|
7645
|
+
items: [yt, vt]
|
|
7330
7646
|
},
|
|
7331
7647
|
{
|
|
7332
7648
|
key: "geometries",
|
|
@@ -7415,7 +7731,7 @@ const hu = [
|
|
|
7415
7731
|
{
|
|
7416
7732
|
key: "imagesAndIcons",
|
|
7417
7733
|
name: "x-runtime-lib.imagesAndIcons",
|
|
7418
|
-
items: [
|
|
7734
|
+
items: [ft]
|
|
7419
7735
|
},
|
|
7420
7736
|
{
|
|
7421
7737
|
key: "pickers",
|
|
@@ -7431,7 +7747,7 @@ const hu = [
|
|
|
7431
7747
|
{
|
|
7432
7748
|
key: "objects",
|
|
7433
7749
|
name: "x-runtime-lib.objects",
|
|
7434
|
-
items: [
|
|
7750
|
+
items: [yt, vt]
|
|
7435
7751
|
},
|
|
7436
7752
|
{
|
|
7437
7753
|
key: "geometries",
|
|
@@ -7489,8 +7805,8 @@ const hu = [
|
|
|
7489
7805
|
bo,
|
|
7490
7806
|
dt,
|
|
7491
7807
|
tn,
|
|
7492
|
-
ft,
|
|
7493
7808
|
yt,
|
|
7809
|
+
ft,
|
|
7494
7810
|
bt,
|
|
7495
7811
|
ht,
|
|
7496
7812
|
gt,
|
|
@@ -7541,12 +7857,12 @@ const hu = [
|
|
|
7541
7857
|
};
|
|
7542
7858
|
function A(t, e) {
|
|
7543
7859
|
if (t === "page") {
|
|
7544
|
-
if (!
|
|
7545
|
-
console.error(`get
|
|
7860
|
+
if (!fs.includes(e)) {
|
|
7861
|
+
console.error(`get property tag failed type=${t} subtype=${e}`);
|
|
7546
7862
|
return;
|
|
7547
7863
|
}
|
|
7548
7864
|
} else if (t === "comp" && !bs.includes(e)) {
|
|
7549
|
-
console.error(`get
|
|
7865
|
+
console.error(`get property tag failed type=${t} subtype=${e}`);
|
|
7550
7866
|
return;
|
|
7551
7867
|
}
|
|
7552
7868
|
return `${t}${as(e)}`;
|
|
@@ -7584,7 +7900,7 @@ function Fc(t, e, i, o, l) {
|
|
|
7584
7900
|
return;
|
|
7585
7901
|
}
|
|
7586
7902
|
if (o) {
|
|
7587
|
-
const d = p.refKey,
|
|
7903
|
+
const d = p.refKey, f = l;
|
|
7588
7904
|
if (!p.elements.has(d)) {
|
|
7589
7905
|
console.error(`spawnNode [ref] element not found in pkg, ${s}`);
|
|
7590
7906
|
return;
|
|
@@ -7606,7 +7922,7 @@ function Fc(t, e, i, o, l) {
|
|
|
7606
7922
|
}
|
|
7607
7923
|
};
|
|
7608
7924
|
return P(c, u), c.basic.id = T(16), c.basic.key = d, c.ref = {
|
|
7609
|
-
comp:
|
|
7925
|
+
comp: f
|
|
7610
7926
|
}, c;
|
|
7611
7927
|
} else {
|
|
7612
7928
|
const d = l;
|
|
@@ -7614,15 +7930,15 @@ function Fc(t, e, i, o, l) {
|
|
|
7614
7930
|
console.error(`spawnNode [key] element not found in pkg, ${s}`);
|
|
7615
7931
|
return;
|
|
7616
7932
|
}
|
|
7617
|
-
const
|
|
7618
|
-
if (!
|
|
7933
|
+
const f = Te[d];
|
|
7934
|
+
if (!f) {
|
|
7619
7935
|
console.error(`spawnNode [key] element not found in global, ${s}`);
|
|
7620
7936
|
return;
|
|
7621
7937
|
}
|
|
7622
|
-
if (
|
|
7623
|
-
return
|
|
7938
|
+
if (f.spawn)
|
|
7939
|
+
return f.spawn(t, e);
|
|
7624
7940
|
{
|
|
7625
|
-
const m =
|
|
7941
|
+
const m = f.properties[a];
|
|
7626
7942
|
if (!m) {
|
|
7627
7943
|
console.error(`spawnNode [key] properties not found, ${s}`);
|
|
7628
7944
|
return;
|
|
@@ -7633,7 +7949,7 @@ function Fc(t, e, i, o, l) {
|
|
|
7633
7949
|
key: ""
|
|
7634
7950
|
}
|
|
7635
7951
|
};
|
|
7636
|
-
return P(u, m), u.basic.id = T(16), u.basic.key = d,
|
|
7952
|
+
return P(u, m), u.basic.id = T(16), u.basic.key = d, f.leaf || (u.children = []), u;
|
|
7637
7953
|
}
|
|
7638
7954
|
}
|
|
7639
7955
|
}
|
|
@@ -7740,26 +8056,26 @@ function Me(t, e, i, o, l) {
|
|
|
7740
8056
|
console.assert(!1);
|
|
7741
8057
|
continue;
|
|
7742
8058
|
}
|
|
7743
|
-
let
|
|
8059
|
+
let f = null;
|
|
7744
8060
|
for (const u of d)
|
|
7745
8061
|
if (i === Se(u)) {
|
|
7746
8062
|
if (u.subKeys) {
|
|
7747
|
-
if (!
|
|
8063
|
+
if (!ie(
|
|
7748
8064
|
ke(o, u.subKeys),
|
|
7749
8065
|
ke(l, u.subKeys)
|
|
7750
8066
|
)) {
|
|
7751
|
-
|
|
8067
|
+
f = u;
|
|
7752
8068
|
break;
|
|
7753
8069
|
}
|
|
7754
|
-
} else if (!
|
|
7755
|
-
|
|
8070
|
+
} else if (!ie(o, l)) {
|
|
8071
|
+
f = u;
|
|
7756
8072
|
break;
|
|
7757
8073
|
}
|
|
7758
8074
|
}
|
|
7759
|
-
if (!
|
|
8075
|
+
if (!f)
|
|
7760
8076
|
continue;
|
|
7761
8077
|
let m;
|
|
7762
|
-
|
|
8078
|
+
f.subKeys ? m = ke(o, f.subKeys) : m = o;
|
|
7763
8079
|
for (const u of d)
|
|
7764
8080
|
if (u.subKeys) {
|
|
7765
8081
|
let c;
|
|
@@ -7778,8 +8094,8 @@ function Me(t, e, i, o, l) {
|
|
|
7778
8094
|
console.assert(!1);
|
|
7779
8095
|
continue;
|
|
7780
8096
|
}
|
|
7781
|
-
const
|
|
7782
|
-
if (
|
|
8097
|
+
const y = ke(c, u.subKeys);
|
|
8098
|
+
if (ie(m, y))
|
|
7783
8099
|
continue;
|
|
7784
8100
|
const h = B(c);
|
|
7785
8101
|
ao(h, u.subKeys, B(m)), u.type === "elementProperty" ? t.setElementProperty(
|
|
@@ -7804,7 +8120,7 @@ function Me(t, e, i, o, l) {
|
|
|
7804
8120
|
console.assert(!1);
|
|
7805
8121
|
continue;
|
|
7806
8122
|
}
|
|
7807
|
-
if (
|
|
8123
|
+
if (ie(m, c))
|
|
7808
8124
|
continue;
|
|
7809
8125
|
u.type === "elementProperty" ? t.setElementProperty(
|
|
7810
8126
|
u.nodeId,
|
|
@@ -7816,9 +8132,9 @@ function Me(t, e, i, o, l) {
|
|
|
7816
8132
|
}
|
|
7817
8133
|
function lc(t, e) {
|
|
7818
8134
|
function i(m) {
|
|
7819
|
-
const u = t.pseudoToNative(m), c = [],
|
|
7820
|
-
for (let h = 0; h <
|
|
7821
|
-
const g =
|
|
8135
|
+
const u = t.pseudoToNative(m), c = [], y = u.split(".");
|
|
8136
|
+
for (let h = 0; h < y.length; h++) {
|
|
8137
|
+
const g = y[h].trim();
|
|
7822
8138
|
if (g !== "")
|
|
7823
8139
|
if (/^\[\d+\]$/.test(g)) {
|
|
7824
8140
|
let x = parseInt(g.slice(1, -1), 10);
|
|
@@ -7851,16 +8167,16 @@ function lc(t, e) {
|
|
|
7851
8167
|
typeof u == "object" ? c = JSON.stringify(u) : c = String(u), Qi.emit("consoleAppend", c);
|
|
7852
8168
|
}
|
|
7853
8169
|
function p(m, u) {
|
|
7854
|
-
const c = t.pseudoToNative(m),
|
|
7855
|
-
c === "info" ? Go(
|
|
8170
|
+
const c = t.pseudoToNative(m), y = t.pseudoToNative(u);
|
|
8171
|
+
c === "info" ? Go(y) : c === "success" ? Ho(y) : c === "warning" ? to(y) : c === "error" && no(y);
|
|
7856
8172
|
}
|
|
7857
8173
|
function d(m, u) {
|
|
7858
|
-
const c = t.pseudoToNative(m),
|
|
8174
|
+
const c = t.pseudoToNative(m), y = t.pseudoToNative(u);
|
|
7859
8175
|
window.setTimeout(() => {
|
|
7860
8176
|
t.appendCode(`__timeoutCallbackV1__(${c})`), t.run();
|
|
7861
|
-
},
|
|
8177
|
+
}, y);
|
|
7862
8178
|
}
|
|
7863
|
-
function
|
|
8179
|
+
function f(m, u) {
|
|
7864
8180
|
const c = t.pseudoToNative(m);
|
|
7865
8181
|
window.setTimeout(() => {
|
|
7866
8182
|
u(), t.run();
|
|
@@ -7897,13 +8213,13 @@ function lc(t, e) {
|
|
|
7897
8213
|
), t.setProperty(
|
|
7898
8214
|
e,
|
|
7899
8215
|
"__delayV1__",
|
|
7900
|
-
t.createAsyncFunction(
|
|
8216
|
+
t.createAsyncFunction(f)
|
|
7901
8217
|
);
|
|
7902
8218
|
}
|
|
7903
8219
|
const Wo = Ko({
|
|
7904
8220
|
baseUrl: "http://localhost/computebase/",
|
|
7905
8221
|
onError: (t) => {
|
|
7906
|
-
const { i18n: e } =
|
|
8222
|
+
const { i18n: e } = fe;
|
|
7907
8223
|
no(ps(e, t));
|
|
7908
8224
|
}
|
|
7909
8225
|
});
|
|
@@ -7913,17 +8229,17 @@ function ac(t) {
|
|
|
7913
8229
|
}
|
|
7914
8230
|
function uc(t, e) {
|
|
7915
8231
|
async function i(o, l, s, a, p, d) {
|
|
7916
|
-
const
|
|
8232
|
+
const f = t.pseudoToNative(o), m = t.pseudoToNative(l), u = t.pseudoToNative(s), c = t.pseudoToNative(a), y = t.pseudoToNative(p);
|
|
7917
8233
|
try {
|
|
7918
8234
|
const h = JSON.stringify(u), { strOutputs: g } = await ac({
|
|
7919
|
-
spaceId:
|
|
8235
|
+
spaceId: f,
|
|
7920
8236
|
id: m,
|
|
7921
8237
|
strInputs: h,
|
|
7922
8238
|
env: c
|
|
7923
8239
|
}), x = JSON.parse(g);
|
|
7924
8240
|
d(t.nativeToPseudo(x)), t.run();
|
|
7925
8241
|
} catch (h) {
|
|
7926
|
-
console.error("callFuncV1 failed",
|
|
8242
|
+
console.error("callFuncV1 failed", y, h);
|
|
7927
8243
|
}
|
|
7928
8244
|
}
|
|
7929
8245
|
t.setProperty(
|
|
@@ -7933,50 +8249,50 @@ function uc(t, e) {
|
|
|
7933
8249
|
);
|
|
7934
8250
|
}
|
|
7935
8251
|
function cc(t, e, i) {
|
|
7936
|
-
function o(u, c,
|
|
8252
|
+
function o(u, c, y) {
|
|
7937
8253
|
let h;
|
|
7938
|
-
const g = e.pseudoToNative(u), x = e.pseudoToNative(c), w = e.pseudoToNative(
|
|
8254
|
+
const g = e.pseudoToNative(u), x = e.pseudoToNative(c), w = e.pseudoToNative(y);
|
|
7939
8255
|
return g === "elementProperty" ? h = t.getElementProperty(x, w) : g === "refProperty" || (g === "customProperty" ? h = t.getCustomProperty(w) : g === "elementSlotProperty" || g === "customSlotProperty" ? h = t.getAdaptSlotProperty(w) : console.assert(!1)), e.nativeToPseudo(h);
|
|
7940
8256
|
}
|
|
7941
|
-
function l(u, c,
|
|
7942
|
-
const g = e.pseudoToNative(u), x = e.pseudoToNative(c), w = e.pseudoToNative(
|
|
8257
|
+
function l(u, c, y, h) {
|
|
8258
|
+
const g = e.pseudoToNative(u), x = e.pseudoToNative(c), w = e.pseudoToNative(y), C = e.pseudoToNative(h);
|
|
7943
8259
|
g === "elementProperty" ? t.setElementProperty(x, w, C) : g === "refProperty" || (g === "customProperty" ? t.setCustomProperty(w, C) : g === "elementSlotProperty" || g === "customSlotProperty" ? t.setAdaptSlotProperty(w, C) : console.assert(!1));
|
|
7944
8260
|
}
|
|
7945
|
-
function s(u, c,
|
|
7946
|
-
const g = e.pseudoToNative(u), x = e.pseudoToNative(c), w = e.pseudoToNative(
|
|
8261
|
+
function s(u, c, y, h) {
|
|
8262
|
+
const g = e.pseudoToNative(u), x = e.pseudoToNative(c), w = e.pseudoToNative(y), C = { outputs: [] };
|
|
7947
8263
|
t.eventBus.emit(`callMethod@${g}`, { name: x, inputs: w, result: C }), h(e.nativeToPseudo(C.outputs)), e.run();
|
|
7948
8264
|
}
|
|
7949
8265
|
function a(u) {
|
|
7950
|
-
const c = e.pseudoToNative(u),
|
|
7951
|
-
return e.nativeToPseudo(
|
|
8266
|
+
const c = e.pseudoToNative(u), y = t.getCustomState(c);
|
|
8267
|
+
return e.nativeToPseudo(y);
|
|
7952
8268
|
}
|
|
7953
8269
|
function p(u, c) {
|
|
7954
|
-
const
|
|
7955
|
-
t.setCustomState(
|
|
8270
|
+
const y = e.pseudoToNative(u), h = e.pseudoToNative(c);
|
|
8271
|
+
t.setCustomState(y, h);
|
|
7956
8272
|
}
|
|
7957
8273
|
function d(u, c) {
|
|
7958
|
-
const
|
|
8274
|
+
const y = e.pseudoToNative(u), h = e.pseudoToNative(c);
|
|
7959
8275
|
if (t.mode === "runtime") {
|
|
7960
8276
|
const g = "/main/" + Date.now(), x = {
|
|
7961
8277
|
orgId: t.org,
|
|
7962
|
-
appId: `${
|
|
8278
|
+
appId: `${y}${t.env}`,
|
|
7963
8279
|
pageId: h
|
|
7964
8280
|
};
|
|
7965
|
-
|
|
8281
|
+
fe.router.replace({ path: g, query: x });
|
|
7966
8282
|
} else t.mode === "preview" && to(
|
|
7967
|
-
|
|
8283
|
+
fe.i18n.global.t(
|
|
7968
8284
|
"x-runtime-lib.msg.takeEffectOnlyAfterReleased"
|
|
7969
8285
|
)
|
|
7970
8286
|
);
|
|
7971
8287
|
}
|
|
7972
|
-
function
|
|
8288
|
+
function f(u, c, y) {
|
|
7973
8289
|
const h = e.pseudoToNative(u), g = e.pseudoToNative(c);
|
|
7974
8290
|
jo({ title: h, text: g }).then((x) => {
|
|
7975
|
-
|
|
8291
|
+
y(e.nativeToPseudo(x)), e.run();
|
|
7976
8292
|
});
|
|
7977
8293
|
}
|
|
7978
|
-
function m(u, c,
|
|
7979
|
-
const g = e.pseudoToNative(u), x = e.pseudoToNative(c), w = e.pseudoToNative(
|
|
8294
|
+
function m(u, c, y, h) {
|
|
8295
|
+
const g = e.pseudoToNative(u), x = e.pseudoToNative(c), w = e.pseudoToNative(y);
|
|
7980
8296
|
Oo({ title: g, label: x, value: w }).then((C) => {
|
|
7981
8297
|
h(e.nativeToPseudo(C)), e.run();
|
|
7982
8298
|
});
|
|
@@ -8008,7 +8324,7 @@ function cc(t, e, i) {
|
|
|
8008
8324
|
), e.setProperty(
|
|
8009
8325
|
i,
|
|
8010
8326
|
"__openConfirmDlgV1__",
|
|
8011
|
-
e.createAsyncFunction(
|
|
8327
|
+
e.createAsyncFunction(f)
|
|
8012
8328
|
), e.setProperty(
|
|
8013
8329
|
i,
|
|
8014
8330
|
"__openPromptDlgV1__",
|
|
@@ -8065,7 +8381,7 @@ function __triggerEventV1__(id, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p1
|
|
|
8065
8381
|
callbacks[i](p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16)
|
|
8066
8382
|
}
|
|
8067
8383
|
}
|
|
8068
|
-
`,
|
|
8384
|
+
`, yc = `
|
|
8069
8385
|
var __timers__ = {}
|
|
8070
8386
|
var __currTimerId__ = 0
|
|
8071
8387
|
|
|
@@ -8107,12 +8423,12 @@ function __timeoutCallbackV1__(timerId) {
|
|
|
8107
8423
|
}
|
|
8108
8424
|
}
|
|
8109
8425
|
}
|
|
8110
|
-
`,
|
|
8426
|
+
`, fc = `
|
|
8111
8427
|
function __destroy__() {
|
|
8112
8428
|
__events__ = {}
|
|
8113
8429
|
__timers__ = {}
|
|
8114
8430
|
}
|
|
8115
|
-
`, bc = pc + dc +
|
|
8431
|
+
`, bc = pc + dc + yc + fc;
|
|
8116
8432
|
class hc {
|
|
8117
8433
|
org;
|
|
8118
8434
|
env;
|
|
@@ -8154,7 +8470,7 @@ class hc {
|
|
|
8154
8470
|
}
|
|
8155
8471
|
setElementPropertyInner(e, i, o) {
|
|
8156
8472
|
const l = ke(e, i);
|
|
8157
|
-
|
|
8473
|
+
ie(o, l) || (ao(e, i, o), this.hooks?.onElementPropertyChange(
|
|
8158
8474
|
e.basic.id,
|
|
8159
8475
|
i,
|
|
8160
8476
|
o,
|
|
@@ -8186,7 +8502,7 @@ class hc {
|
|
|
8186
8502
|
}
|
|
8187
8503
|
setCustomProperty(e, i) {
|
|
8188
8504
|
const o = this.customProperties[e];
|
|
8189
|
-
|
|
8505
|
+
ie(i, o) || (this.customProperties[e] = i, this.hooks?.onCustomPropertyChange(e, i, o));
|
|
8190
8506
|
}
|
|
8191
8507
|
//--------------------------
|
|
8192
8508
|
// 自定义状态
|
|
@@ -8200,7 +8516,7 @@ class hc {
|
|
|
8200
8516
|
}
|
|
8201
8517
|
setCustomState(e, i) {
|
|
8202
8518
|
const o = this.customStates[e];
|
|
8203
|
-
|
|
8519
|
+
ie(i, o) || (this.customStates[e] = i, this.hooks?.onCustomStateChange(e, i, o));
|
|
8204
8520
|
}
|
|
8205
8521
|
//--------------------------
|
|
8206
8522
|
// 适配的插槽属性
|
|
@@ -8214,7 +8530,7 @@ class hc {
|
|
|
8214
8530
|
}
|
|
8215
8531
|
setAdaptSlotProperty(e, i) {
|
|
8216
8532
|
const o = this.adaptSlotProperties[e];
|
|
8217
|
-
|
|
8533
|
+
ie(i, o) || (this.adaptSlotProperties[e] = i, this.hooks?.onAdaptSlotPropertyChange(e, i, o));
|
|
8218
8534
|
}
|
|
8219
8535
|
//--------------------------
|
|
8220
8536
|
// 解释器
|
|
@@ -8261,9 +8577,9 @@ class hc {
|
|
|
8261
8577
|
}
|
|
8262
8578
|
}
|
|
8263
8579
|
function gc(t) {
|
|
8264
|
-
const e = ic(), i = oc(), o = G(), l = pe(), s = $e(), a = We(), p = (
|
|
8580
|
+
const e = ic(), i = oc(), o = G(), l = pe(), s = $e(), a = We(), p = (y, h, g, x) => {
|
|
8265
8581
|
if (!(o !== "runtime" && o !== "preview") && (u.callFunction("__triggerEventV1__", [
|
|
8266
|
-
`elementPropChange@${
|
|
8582
|
+
`elementPropChange@${y}@${h}`,
|
|
8267
8583
|
g,
|
|
8268
8584
|
x ?? g
|
|
8269
8585
|
]), t.value?.code.reactivity)) {
|
|
@@ -8273,63 +8589,63 @@ function gc(t) {
|
|
|
8273
8589
|
t.value.code.reactivity,
|
|
8274
8590
|
Se({
|
|
8275
8591
|
type: "elementProperty",
|
|
8276
|
-
nodeId:
|
|
8592
|
+
nodeId: y,
|
|
8277
8593
|
propertyKeys: w
|
|
8278
8594
|
}),
|
|
8279
8595
|
g,
|
|
8280
8596
|
x
|
|
8281
8597
|
);
|
|
8282
8598
|
}
|
|
8283
|
-
}, d = (
|
|
8599
|
+
}, d = (y, h, g) => {
|
|
8284
8600
|
o !== "runtime" && o !== "preview" || (u.callFunction("__triggerEventV1__", [
|
|
8285
|
-
`customPropChange@${
|
|
8601
|
+
`customPropChange@${y}`,
|
|
8286
8602
|
h,
|
|
8287
8603
|
g ?? h
|
|
8288
8604
|
]), t.value?.code.reactivity && Me(
|
|
8289
8605
|
u,
|
|
8290
8606
|
t.value.code.reactivity,
|
|
8291
|
-
Se({ type: "customProperty", propertyId:
|
|
8607
|
+
Se({ type: "customProperty", propertyId: y }),
|
|
8292
8608
|
h,
|
|
8293
8609
|
g
|
|
8294
8610
|
));
|
|
8295
|
-
},
|
|
8611
|
+
}, f = (y, h, g) => {
|
|
8296
8612
|
o !== "runtime" && o !== "preview" || t.value?.code.reactivity && Me(
|
|
8297
8613
|
u,
|
|
8298
8614
|
t.value.code.reactivity,
|
|
8299
|
-
Se({ type: "customState", stateId:
|
|
8615
|
+
Se({ type: "customState", stateId: y }),
|
|
8300
8616
|
h,
|
|
8301
8617
|
g
|
|
8302
8618
|
);
|
|
8303
|
-
}, m = (
|
|
8619
|
+
}, m = (y, h, g) => {
|
|
8304
8620
|
o !== "runtime" && o !== "preview" || (u.callFunction("__triggerEventV1__", [
|
|
8305
|
-
`adaptSlotProp@${
|
|
8621
|
+
`adaptSlotProp@${y}`,
|
|
8306
8622
|
h,
|
|
8307
8623
|
g ?? h
|
|
8308
8624
|
]), t.value?.code.reactivity && Me(
|
|
8309
8625
|
u,
|
|
8310
8626
|
t.value.code.reactivity,
|
|
8311
|
-
Se({ type: "adaptSlotProperty", propertyId:
|
|
8627
|
+
Se({ type: "adaptSlotProperty", propertyId: y }),
|
|
8312
8628
|
h,
|
|
8313
8629
|
g
|
|
8314
8630
|
));
|
|
8315
8631
|
}, u = new hc(e, i, o, l, {
|
|
8316
8632
|
onElementPropertyChange: p,
|
|
8317
8633
|
onCustomPropertyChange: d,
|
|
8318
|
-
onCustomStateChange:
|
|
8634
|
+
onCustomStateChange: f,
|
|
8319
8635
|
onAdaptSlotPropertyChange: m
|
|
8320
8636
|
});
|
|
8321
8637
|
rc(u);
|
|
8322
8638
|
const c = () => {
|
|
8323
8639
|
o !== "runtime" && o !== "preview" || (u.destroyInterpreter(), u.syncNodes(t.value), u.resetCustomProperties(), u.resetCustomStates(), u.resetAdaptSlotProperties(), !(!t.value || !t.value.code.script) && u.createInterpreter(t.value.code.script));
|
|
8324
8640
|
};
|
|
8325
|
-
c(),
|
|
8641
|
+
c(), Q(t, () => {
|
|
8326
8642
|
c();
|
|
8327
8643
|
}), je(() => {
|
|
8328
8644
|
u.destroyInterpreter();
|
|
8329
|
-
}), (o === "runtime" || o === "preview") &&
|
|
8645
|
+
}), (o === "runtime" || o === "preview") && Q(
|
|
8330
8646
|
s,
|
|
8331
|
-
(
|
|
8332
|
-
const g = Re(
|
|
8647
|
+
(y, h) => {
|
|
8648
|
+
const g = Re(y.width), x = Re(h?.width ?? y.width);
|
|
8333
8649
|
u.callFunction("__triggerEventV1__", [
|
|
8334
8650
|
Ce("elementEvent", "globality", "screenSizeChange"),
|
|
8335
8651
|
g,
|
|
@@ -8337,12 +8653,12 @@ function gc(t) {
|
|
|
8337
8653
|
]);
|
|
8338
8654
|
},
|
|
8339
8655
|
{ immediate: !0 }
|
|
8340
|
-
), (o === "runtime" || o === "preview") &&
|
|
8656
|
+
), (o === "runtime" || o === "preview") && Q(
|
|
8341
8657
|
a,
|
|
8342
|
-
(
|
|
8658
|
+
(y) => {
|
|
8343
8659
|
u.callFunction("__triggerEventV1__", [
|
|
8344
8660
|
Ce("elementEvent", "globality", "darkModeChange"),
|
|
8345
|
-
|
|
8661
|
+
y
|
|
8346
8662
|
]);
|
|
8347
8663
|
},
|
|
8348
8664
|
{ immediate: !0 }
|
|
@@ -8355,7 +8671,7 @@ const xc = (t, e, i) => {
|
|
|
8355
8671
|
});
|
|
8356
8672
|
};
|
|
8357
8673
|
async function qc(t) {
|
|
8358
|
-
return (await xc(/* @__PURE__ */ Object.assign({ "./locales/en/index.ts": () => import("./i18n-en.
|
|
8674
|
+
return (await xc(/* @__PURE__ */ Object.assign({ "./locales/en/index.ts": () => import("./i18n-en.newu3yte.js"), "./locales/zhHans/index.ts": () => import("./i18n-zhHans.bu8byhfo.js") }), `./locales/${t}/index.ts`, 4)).default;
|
|
8359
8675
|
}
|
|
8360
8676
|
export {
|
|
8361
8677
|
hc as Sandbox,
|
|
@@ -8388,7 +8704,7 @@ export {
|
|
|
8388
8704
|
Dc as fileInputV1,
|
|
8389
8705
|
mn as flexLayoutEntryV1,
|
|
8390
8706
|
Le as flexLayoutV1,
|
|
8391
|
-
|
|
8707
|
+
yn as formV1,
|
|
8392
8708
|
T as genId,
|
|
8393
8709
|
Ie as getBreakpointProp,
|
|
8394
8710
|
ke as getField,
|
|
@@ -8426,10 +8742,10 @@ export {
|
|
|
8426
8742
|
Ua as menuV1,
|
|
8427
8743
|
Pe as meshBasicMaterialV1,
|
|
8428
8744
|
ze as meshV1,
|
|
8429
|
-
|
|
8745
|
+
fn as numberInputV1,
|
|
8430
8746
|
da as orbitControlsV1,
|
|
8431
8747
|
ra as orthographicCameraV1,
|
|
8432
|
-
|
|
8748
|
+
fs as pageTypes,
|
|
8433
8749
|
Ya as paginationV1,
|
|
8434
8750
|
Xt as parsePercentStr,
|
|
8435
8751
|
Wc as parsePixelStr,
|