x-runtime-lib 0.9.37 → 0.9.38
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.d.ts +1 -1
- package/dist/index.js +823 -638
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as e, D as t, E as n, O as r, S as i, T as a, _ as o, a as s, b as c, c as l, d as u, f as d, g as f, h as p, i as m, l as h, m as g, o as _, p as v, s as y, u as b, v as x, w as S, x as ee, y as
|
|
2
|
-
import { createAxios as
|
|
1
|
+
import { C as e, D as t, E as n, O as r, S as i, T as a, _ as o, a as s, b as c, c as l, d as u, f as d, g as f, h as p, i as m, l as h, m as g, o as _, p as v, s as y, u as b, v as x, w as S, x as ee, y as C } from "./vendor.bq6mk74k.js";
|
|
2
|
+
import { createAxios as te, eventBus as ne, getTypeDefault as re, globalObjects as ie, messageError as ae, messageInfo as oe, messageSuccess as se, messageWarning as ce, openConfirmDlg as le, openPromptDlg as ue, useViewStack as de, waitUtil as fe } from "x-essential-lib";
|
|
3
3
|
import { Fragment as pe, computed as w, createBlock as T, createCommentVNode as me, createElementBlock as E, createElementVNode as he, createSlots as D, createTextVNode as ge, createVNode as O, defineComponent as k, h as A, inject as _e, isRef as j, mergeModels as ve, mergeProps as ye, nextTick as be, normalizeClass as xe, normalizeStyle as Se, onBeforeMount as Ce, onMounted as we, onUnmounted as Te, openBlock as M, provide as Ee, reactive as De, readonly as Oe, ref as N, renderList as ke, renderSlot as P, resolveComponent as F, resolveDirective as Ae, shallowRef as je, toDisplayString as Me, unref as I, useAttrs as Ne, useId as Pe, useModel as Fe, useTemplateRef as Ie, watch as Le, watchEffect as Re, withCtx as L, withDirectives as ze, withModifiers as Be } from "vue";
|
|
4
4
|
import { CameraHelper as Ve, DirectionalLightHelper as He, PointLightHelper as Ue, SpotLightHelper as We } from "three";
|
|
5
5
|
import { useTheme as Ge } from "vuetify";
|
|
@@ -31,7 +31,7 @@ function Xe(e, t) {
|
|
|
31
31
|
}
|
|
32
32
|
//#endregion
|
|
33
33
|
//#region src/meta/items.ts
|
|
34
|
-
var Ze = /* @__PURE__ */ "alignTabsItemsV1.axisTypeItemsV1.borderStyleItemsV1.btnSpacedItemsV1.densityItemsV1.directionItemsV1.elevationItemsV1.expansionPanelVariantItemsV1.fieldVariantItemsV1.flexCrossAlignItemsV1.flexDirectionItemsV1.flexMainAlignItemsV1.flexWrapItemsV1.fontWeightItemsV1.inputTypeItemsV1.numberInputControlVariantItemsV1.positionItemsV1.sheetVariantItemsV1.sizeItemsV1.speedDialOpenWayItemsV1.textAlignItemsV1.textDecorationItemsV1.textEmphasisItemsV1.textSizeItemsV1.thumbLabelItemsV1.tickShowItemsV1.timelineAlignItemsV1.timelineDirectionItemsV1.timelineSideItemsV1.timelineTruncateLineItemsV1.transitionItemsV1".split("."), Qe = {};
|
|
34
|
+
var Ze = /* @__PURE__ */ "alignTabsItemsV1.axisTypeItemsV1.borderStyleItemsV1.btnSpacedItemsV1.btnTypeItemsV1.densityItemsV1.directionItemsV1.elevationItemsV1.expansionPanelVariantItemsV1.fieldVariantItemsV1.flexCrossAlignItemsV1.flexDirectionItemsV1.flexMainAlignItemsV1.flexWrapItemsV1.fontWeightItemsV1.inputTypeItemsV1.numberInputControlVariantItemsV1.positionItemsV1.sheetVariantItemsV1.sizeItemsV1.speedDialOpenWayItemsV1.textAlignItemsV1.textDecorationItemsV1.textEmphasisItemsV1.textSizeItemsV1.thumbLabelItemsV1.tickShowItemsV1.timelineAlignItemsV1.timelineDirectionItemsV1.timelineSideItemsV1.timelineTruncateLineItemsV1.transitionItemsV1".split("."), Qe = {};
|
|
35
35
|
function z(e, t) {
|
|
36
36
|
Qe[e] = t;
|
|
37
37
|
}
|
|
@@ -243,10 +243,10 @@ function kt(e, t = 2) {
|
|
|
243
243
|
//#endregion
|
|
244
244
|
//#region src/utils/name.ts
|
|
245
245
|
function V(...e) {
|
|
246
|
-
return e.map((e) =>
|
|
246
|
+
return e.map((e) => ie.i18n.global.t(`x-runtime-lib.${e}`)).join(" - ");
|
|
247
247
|
}
|
|
248
248
|
function At(e, t, n) {
|
|
249
|
-
let { i18n: r } =
|
|
249
|
+
let { i18n: r } = ie, i = "";
|
|
250
250
|
return e && (i += e + " / "), t.forEach((e, t) => {
|
|
251
251
|
t > 0 && (i += " - "), n ? i += r.global.t(e) : i += e;
|
|
252
252
|
}), i;
|
|
@@ -463,14 +463,14 @@ function Kt(e, t) {
|
|
|
463
463
|
for (let t in e.nodes) r[t] = e.nodes[t];
|
|
464
464
|
}
|
|
465
465
|
return {
|
|
466
|
-
nodeLite:
|
|
466
|
+
nodeLite: nu(e, n),
|
|
467
467
|
nodes: {
|
|
468
468
|
[e.basic.id]: e,
|
|
469
469
|
...r
|
|
470
470
|
}
|
|
471
471
|
};
|
|
472
472
|
} else return {
|
|
473
|
-
nodeLite:
|
|
473
|
+
nodeLite: nu(e),
|
|
474
474
|
nodes: { [e.basic.id]: e }
|
|
475
475
|
};
|
|
476
476
|
}
|
|
@@ -511,14 +511,14 @@ var Yt = class {
|
|
|
511
511
|
for (let e in r.nodes) n[e] = r.nodes[e];
|
|
512
512
|
}
|
|
513
513
|
return {
|
|
514
|
-
nodeLite:
|
|
514
|
+
nodeLite: nu(i, e),
|
|
515
515
|
nodes: {
|
|
516
516
|
[i.basic.id]: i,
|
|
517
517
|
...n
|
|
518
518
|
}
|
|
519
519
|
};
|
|
520
520
|
} else return {
|
|
521
|
-
nodeLite:
|
|
521
|
+
nodeLite: nu(i, zt(r) ? [] : void 0),
|
|
522
522
|
nodes: { [i.basic.id]: i }
|
|
523
523
|
};
|
|
524
524
|
}
|
|
@@ -655,10 +655,10 @@ async function tn(e, t) {
|
|
|
655
655
|
for (let t in n.sets) {
|
|
656
656
|
let r = n.sets[t];
|
|
657
657
|
if (r.length < 2) continue;
|
|
658
|
-
let i, { kind: a, triggerKey: o } =
|
|
658
|
+
let i, { kind: a, triggerKey: o } = eu(r[0]);
|
|
659
659
|
a === "propertyTrigger" ? i = await e.getProperty(o) : a === "stateTrigger" ? i = await e.getState(o) : console.assert(!1);
|
|
660
660
|
for (let t of r) {
|
|
661
|
-
let { kind: n, triggerKey: r } =
|
|
661
|
+
let { kind: n, triggerKey: r } = eu(t);
|
|
662
662
|
n === "propertyTrigger" ? await e.setProperty(r, i) : n === "stateTrigger" ? await e.setState(r, i) : console.assert(!1);
|
|
663
663
|
}
|
|
664
664
|
}
|
|
@@ -676,12 +676,12 @@ async function rn(e, t, n) {
|
|
|
676
676
|
async function an(e, t, n) {
|
|
677
677
|
let { bind: r } = t, i = r.triggers[n];
|
|
678
678
|
if (!i) return;
|
|
679
|
-
let a, { kind: o, triggerKey: s } =
|
|
679
|
+
let a, { kind: o, triggerKey: s } = eu(n);
|
|
680
680
|
o === "propertyTrigger" ? a = await e.getProperty(s) : o === "stateTrigger" ? a = await e.getState(s) : console.assert(!1);
|
|
681
681
|
for (let t of i) {
|
|
682
682
|
let n = r.sets[t];
|
|
683
683
|
if (n) for (let t of n) {
|
|
684
|
-
let { kind: n, triggerKey: r } =
|
|
684
|
+
let { kind: n, triggerKey: r } = eu(t);
|
|
685
685
|
n === "propertyTrigger" ? await e.setProperty(r, a) : n === "stateTrigger" ? await e.setState(r, a) : console.assert(!1);
|
|
686
686
|
}
|
|
687
687
|
}
|
|
@@ -760,6 +760,19 @@ z("alignTabsItemsV1", [
|
|
|
760
760
|
value: "both",
|
|
761
761
|
title: "x-runtime-lib.both"
|
|
762
762
|
}
|
|
763
|
+
]), z("btnTypeItemsV1", [
|
|
764
|
+
{
|
|
765
|
+
value: "button",
|
|
766
|
+
title: "x-runtime-lib.button"
|
|
767
|
+
},
|
|
768
|
+
{
|
|
769
|
+
value: "submit",
|
|
770
|
+
title: "x-runtime-lib.submit"
|
|
771
|
+
},
|
|
772
|
+
{
|
|
773
|
+
value: "reset",
|
|
774
|
+
title: "x-runtime-lib.reset"
|
|
775
|
+
}
|
|
763
776
|
]), z("densityItemsV1", [
|
|
764
777
|
{
|
|
765
778
|
value: "default",
|
|
@@ -2140,7 +2153,7 @@ var yn = { v1: {
|
|
|
2140
2153
|
version: "v1",
|
|
2141
2154
|
globalityKey: "globality_v1",
|
|
2142
2155
|
refKey: "ref_v1",
|
|
2143
|
-
items: new Set(/* @__PURE__ */ "alignTabsItemsV1.axisTypeItemsV1.borderStyleItemsV1.btnSpacedItemsV1.densityItemsV1.directionItemsV1.elevationItemsV1.expansionPanelVariantItemsV1.fieldVariantItemsV1.flexCrossAlignItemsV1.flexDirectionItemsV1.flexMainAlignItemsV1.flexWrapItemsV1.fontWeightItemsV1.inputTypeItemsV1.numberInputControlVariantItemsV1.positionItemsV1.sheetVariantItemsV1.sizeItemsV1.speedDialOpenWayItemsV1.textAlignItemsV1.textDecorationItemsV1.textEmphasisItemsV1.textSizeItemsV1.thumbLabelItemsV1.tickShowItemsV1.timelineAlignItemsV1.timelineDirectionItemsV1.timelineSideItemsV1.timelineTruncateLineItemsV1.transitionItemsV1".split(".")),
|
|
2156
|
+
items: new Set(/* @__PURE__ */ "alignTabsItemsV1.axisTypeItemsV1.borderStyleItemsV1.btnSpacedItemsV1.btnTypeItemsV1.densityItemsV1.directionItemsV1.elevationItemsV1.expansionPanelVariantItemsV1.fieldVariantItemsV1.flexCrossAlignItemsV1.flexDirectionItemsV1.flexMainAlignItemsV1.flexWrapItemsV1.fontWeightItemsV1.inputTypeItemsV1.numberInputControlVariantItemsV1.positionItemsV1.sheetVariantItemsV1.sizeItemsV1.speedDialOpenWayItemsV1.textAlignItemsV1.textDecorationItemsV1.textEmphasisItemsV1.textSizeItemsV1.thumbLabelItemsV1.tickShowItemsV1.timelineAlignItemsV1.timelineDirectionItemsV1.timelineSideItemsV1.timelineTruncateLineItemsV1.transitionItemsV1".split(".")),
|
|
2144
2157
|
types: new Set([
|
|
2145
2158
|
"borderRadiusTypesV1",
|
|
2146
2159
|
"borderWidthTypesV1",
|
|
@@ -2538,13 +2551,13 @@ var yn = { v1: {
|
|
|
2538
2551
|
//#endregion
|
|
2539
2552
|
//#region src/composables/element/core/activator.ts
|
|
2540
2553
|
function Cn() {
|
|
2541
|
-
let e = $(), t =
|
|
2554
|
+
let e = $(), t = kl(), n = jl(), r;
|
|
2542
2555
|
return R(e) && t?.value.basic.key.startsWith("ui_activator_v") && (r = n), { activatorProps: r };
|
|
2543
2556
|
}
|
|
2544
2557
|
//#endregion
|
|
2545
2558
|
//#region src/composables/element/core/breakpoint.ts
|
|
2546
2559
|
function wn() {
|
|
2547
|
-
let e =
|
|
2560
|
+
let e = sl(), t = N("xs");
|
|
2548
2561
|
return Re(() => {
|
|
2549
2562
|
t.value = dt(e.value.width);
|
|
2550
2563
|
}), { breakpoint: t };
|
|
@@ -2568,10 +2581,10 @@ function En(e) {
|
|
|
2568
2581
|
//#endregion
|
|
2569
2582
|
//#region src/composables/element/core/elementBase.ts
|
|
2570
2583
|
function J(e) {
|
|
2571
|
-
let t =
|
|
2572
|
-
console.assert(!!i.value, `invalid node lite id=${e}`),
|
|
2584
|
+
let t = ll(), n = _l(), r = w(() => t.value ? "dark" : "light"), i = N(Gt(n.value.view.nodeLites, e));
|
|
2585
|
+
console.assert(!!i.value, `invalid node lite id=${e}`), El(i);
|
|
2573
2586
|
let a = N(n.value.view.nodes[e]);
|
|
2574
|
-
console.assert(!!a.value, `invalid node id=${e}`),
|
|
2587
|
+
console.assert(!!a.value, `invalid node id=${e}`), Ol(a), Le(n, () => {
|
|
2575
2588
|
i.value = Gt(n.value.view.nodeLites, e), a.value = n.value.view.nodes[e];
|
|
2576
2589
|
});
|
|
2577
2590
|
let { debugTrace: o } = En(a);
|
|
@@ -2593,7 +2606,7 @@ function J(e) {
|
|
|
2593
2606
|
//#endregion
|
|
2594
2607
|
//#region src/composables/element/core/elementMethod.ts
|
|
2595
2608
|
function Dn(e, t, n) {
|
|
2596
|
-
let r =
|
|
2609
|
+
let r = Tl(), i = `method/${e}/${t}`;
|
|
2597
2610
|
Ce(() => {
|
|
2598
2611
|
r?.eventBus.on(i, n);
|
|
2599
2612
|
}), Te(() => {
|
|
@@ -2603,7 +2616,7 @@ function Dn(e, t, n) {
|
|
|
2603
2616
|
//#endregion
|
|
2604
2617
|
//#region src/composables/element/core/elementProperty.ts
|
|
2605
2618
|
function Y(e, t, n) {
|
|
2606
|
-
let r = $(), i =
|
|
2619
|
+
let r = $(), i = Tl();
|
|
2607
2620
|
return { property: w({
|
|
2608
2621
|
get() {
|
|
2609
2622
|
let r = Dt(e.value, t);
|
|
@@ -2612,7 +2625,7 @@ function Y(e, t, n) {
|
|
|
2612
2625
|
async set(o) {
|
|
2613
2626
|
n && typeof o == "object" && (o = JSON.stringify(o, null, 2));
|
|
2614
2627
|
let s = Dt(e.value, t);
|
|
2615
|
-
a(o, s) || (Ot(e.value, t, o), R(r) && await i?.hooks.onPropertyChange(
|
|
2628
|
+
a(o, s) || (Ot(e.value, t, o), R(r) && await i?.hooks.onPropertyChange(Nl("elementProperty", e.value.basic.id, Tt(t)), o, s));
|
|
2616
2629
|
}
|
|
2617
2630
|
}) };
|
|
2618
2631
|
}
|
|
@@ -2631,7 +2644,7 @@ function On(e, t, n) {
|
|
|
2631
2644
|
//#endregion
|
|
2632
2645
|
//#region src/composables/runtime/color.ts
|
|
2633
2646
|
function kn(e) {
|
|
2634
|
-
let { computedThemes: t } = Ge(), n =
|
|
2647
|
+
let { computedThemes: t } = Ge(), n = ll(), r = w(() => n.value ? t.value.dark.colors : t.value.light.colors);
|
|
2635
2648
|
return { color: w(() => {
|
|
2636
2649
|
let t;
|
|
2637
2650
|
return xt(e.value) ? t = e.value : Ct(e.value) && (r.value[e.value] && (t = r.value[e.value].toString()), e.value === "bg0" ? t = n.value ? "#2e2e2e" : "#bdbdbd" : e.value === "bg1" ? t = n.value ? "#272727" : "#eeeeee" : e.value === "bg2" && (t = n.value ? "#1e1e1e" : "#ffffff")), t;
|
|
@@ -2640,7 +2653,7 @@ function kn(e) {
|
|
|
2640
2653
|
//#endregion
|
|
2641
2654
|
//#region src/composables/runtime/depend.ts
|
|
2642
2655
|
function An(e, n, r) {
|
|
2643
|
-
let i =
|
|
2656
|
+
let i = xl(), a = N(-1), o = N(-1);
|
|
2644
2657
|
Re(() => {
|
|
2645
2658
|
if (!e.value) {
|
|
2646
2659
|
a.value = -1, n.value = void 0, o.value = -1, r.value = void 0;
|
|
@@ -2648,7 +2661,7 @@ function An(e, n, r) {
|
|
|
2648
2661
|
}
|
|
2649
2662
|
let s = i.value[e.value];
|
|
2650
2663
|
if (!s) {
|
|
2651
|
-
a.value = -1, n.value = void 0, o.value = -1, r.value = void 0,
|
|
2664
|
+
a.value = -1, n.value = void 0, o.value = -1, r.value = void 0, ne.emit("compNotAvail", e.value);
|
|
2652
2665
|
return;
|
|
2653
2666
|
}
|
|
2654
2667
|
a.value !== s.metaSeq && (a.value = s.metaSeq, n.value = t(s.meta)), o.value !== s.dataSeq && (o.value = s.dataSeq, r.value = t(s.data));
|
|
@@ -2665,7 +2678,7 @@ function Mn() {
|
|
|
2665
2678
|
t = e().newRuntime({
|
|
2666
2679
|
memoryLimitBytes: 32 * 1024 * 1024,
|
|
2667
2680
|
maxStackSizeBytes: 1 * 1024 * 1024
|
|
2668
|
-
}),
|
|
2681
|
+
}), Sl(t), console.log("runtime created");
|
|
2669
2682
|
}), Te(async () => {
|
|
2670
2683
|
await be(), t && (t.dispose(), console.log("runtime dispose"));
|
|
2671
2684
|
});
|
|
@@ -2674,7 +2687,7 @@ function Mn() {
|
|
|
2674
2687
|
//#region src/composables/runtime/sandbox.ts
|
|
2675
2688
|
function Nn(e, t, n, r, i) {
|
|
2676
2689
|
let { globalityKey: a } = yn[n], o = Xe(e, t);
|
|
2677
|
-
|
|
2690
|
+
Dc[a][o].forEach(({ keys: e, raw: t }) => {
|
|
2678
2691
|
t.ui === "transient" && (r.globality ||= {}, r.globality[e] = i[e] ?? t.default);
|
|
2679
2692
|
});
|
|
2680
2693
|
}
|
|
@@ -2685,18 +2698,18 @@ function Pn(e, t, n) {
|
|
|
2685
2698
|
},
|
|
2686
2699
|
set(r) {
|
|
2687
2700
|
let i = t.globality[n];
|
|
2688
|
-
a(r, i) || (t.globality[n] = r, e.hooks.onPropertyChange(
|
|
2701
|
+
a(r, i) || (t.globality[n] = r, e.hooks.onPropertyChange(Nl("elementProperty", "globality", n), r, i));
|
|
2689
2702
|
}
|
|
2690
2703
|
}) };
|
|
2691
2704
|
}
|
|
2692
2705
|
function Fn(e, t, n, r, i, o, s, c, l) {
|
|
2693
|
-
let u =
|
|
2706
|
+
let u = nl(), d = il(), f = $(), p = pl(), m = sl(), h = ll(), g = xl(), _ = Cl(), v = new Rc(e, t, n, r, i, u, d, f, p, {
|
|
2694
2707
|
onReady: b,
|
|
2695
2708
|
onDestroy: x,
|
|
2696
2709
|
onPropertyChange: S,
|
|
2697
2710
|
onStateChange: ee
|
|
2698
2711
|
});
|
|
2699
|
-
|
|
2712
|
+
wl(v), Te(() => {
|
|
2700
2713
|
v.dispose();
|
|
2701
2714
|
});
|
|
2702
2715
|
let y = async () => {
|
|
@@ -2706,15 +2719,15 @@ function Fn(e, t, n, r, i, o, s, c, l) {
|
|
|
2706
2719
|
y();
|
|
2707
2720
|
});
|
|
2708
2721
|
async function b() {
|
|
2709
|
-
s.value?.code.reactivity && await $t(v, s.value.code.reactivity), await v.triggerEvent(
|
|
2722
|
+
s.value?.code.reactivity && await $t(v, s.value.code.reactivity), await v.triggerEvent(Gl("elementEvent", "globality", "startup"), []);
|
|
2710
2723
|
}
|
|
2711
2724
|
async function x() {
|
|
2712
2725
|
v.callFunctionSync("__destroy__");
|
|
2713
2726
|
}
|
|
2714
2727
|
async function S(e, t, n, r) {
|
|
2715
2728
|
if (!v.vm) return;
|
|
2716
|
-
let { kind: i, nodeId: o, propertyKey: c } =
|
|
2717
|
-
if (await v.triggerEvent(
|
|
2729
|
+
let { kind: i, nodeId: o, propertyKey: c } = Pl(e);
|
|
2730
|
+
if (await v.triggerEvent(Gl(`${i}ChangeEvent`, o, c), [t, n], r), s.value?.code.reactivity && nn(v, s.value.code.reactivity, $l("propertyTrigger", e)), i === "elementProperty") {
|
|
2718
2731
|
if (a(c, "settings.value")) {
|
|
2719
2732
|
let e = s.value?.view.nodeLites.find((e) => e.id === o);
|
|
2720
2733
|
e ? Rt(e.key) && (e.inlineSlot = t) : console.assert(!1);
|
|
@@ -2734,7 +2747,7 @@ function Fn(e, t, n, r, i, o, s, c, l) {
|
|
|
2734
2747
|
}
|
|
2735
2748
|
}
|
|
2736
2749
|
async function ee(e, t, n) {
|
|
2737
|
-
v.vm && (await v.triggerEvent(
|
|
2750
|
+
v.vm && (await v.triggerEvent(Gl("stateChangeEvent", "globality", e), [t, n]), s.value?.code.reactivity && nn(v, s.value.code.reactivity, $l("stateTrigger", e)));
|
|
2738
2751
|
}
|
|
2739
2752
|
Le(s, () => {
|
|
2740
2753
|
s.value && Nn(p, s.value.type, s.value.version, c, {
|
|
@@ -2742,13 +2755,13 @@ function Fn(e, t, n, r, i, o, s, c, l) {
|
|
|
2742
2755
|
"runtime.darkMode": h.value
|
|
2743
2756
|
});
|
|
2744
2757
|
}, { immediate: !0 });
|
|
2745
|
-
let { property:
|
|
2758
|
+
let { property: C } = Pn(v, c, "runtime.breakpoint");
|
|
2746
2759
|
Le(m, () => {
|
|
2747
|
-
v.vm && (
|
|
2760
|
+
v.vm && (C.value = dt(m.value.width));
|
|
2748
2761
|
});
|
|
2749
|
-
let { property:
|
|
2762
|
+
let { property: te } = Pn(v, c, "runtime.darkMode");
|
|
2750
2763
|
return Le(h, async () => {
|
|
2751
|
-
v.vm && (
|
|
2764
|
+
v.vm && (te.value = h.value);
|
|
2752
2765
|
}), { sandbox: v };
|
|
2753
2766
|
}
|
|
2754
2767
|
//#endregion
|
|
@@ -2782,9 +2795,9 @@ function Z(e, t) {
|
|
|
2782
2795
|
//#endregion
|
|
2783
2796
|
//#region src/composables/element/core/elementPropertyTransient.ts
|
|
2784
2797
|
function Rn(e, t, n, r) {
|
|
2785
|
-
let i = $(), o =
|
|
2798
|
+
let i = $(), o = pl(), s = _l(), c = yl(), l = Tl();
|
|
2786
2799
|
if (c[e] || (c[e] = {}), c[e][n] === void 0) {
|
|
2787
|
-
let i = Xe(o, s.value.type), a =
|
|
2800
|
+
let i = Xe(o, s.value.type), a = Dc[t][i].find((e) => e.keys === n).raw;
|
|
2788
2801
|
a.ui === "transient" ? c[e][n] = r ?? a.default : console.assert(!1, "property ui must be transient");
|
|
2789
2802
|
}
|
|
2790
2803
|
return { property: w({
|
|
@@ -2793,7 +2806,7 @@ function Rn(e, t, n, r) {
|
|
|
2793
2806
|
},
|
|
2794
2807
|
set(t) {
|
|
2795
2808
|
let r = c[e][n];
|
|
2796
|
-
a(t, r) || (c[e][n] = t, R(i) && l?.hooks.onPropertyChange(
|
|
2809
|
+
a(t, r) || (c[e][n] = t, R(i) && l?.hooks.onPropertyChange(Nl("elementProperty", e, n), t, r));
|
|
2797
2810
|
}
|
|
2798
2811
|
}) };
|
|
2799
2812
|
}
|
|
@@ -2811,7 +2824,7 @@ function zn(e, t, n, r) {
|
|
|
2811
2824
|
}), Te(() => {
|
|
2812
2825
|
e.eventBus.off(`property/${n}/get`, i), e.eventBus.off(`property/${n}/set`, a);
|
|
2813
2826
|
}), Le(r, async (r, i) => {
|
|
2814
|
-
await e.hooks.onPropertyChange(
|
|
2827
|
+
await e.hooks.onPropertyChange(Nl("elementAdaptSlotProperty", "globality", Fl(t, e.slotId, n)), r, i, e.instance);
|
|
2815
2828
|
}, { immediate: !0 });
|
|
2816
2829
|
}
|
|
2817
2830
|
//#endregion
|
|
@@ -2835,7 +2848,7 @@ function Bn(e, t, n) {
|
|
|
2835
2848
|
}, a);
|
|
2836
2849
|
}
|
|
2837
2850
|
return { render: () => {
|
|
2838
|
-
let { i18n: i } =
|
|
2851
|
+
let { i18n: i } = ie;
|
|
2839
2852
|
if (qe(e, t)) return A("div", null, i.global.t("x-runtime-lib.circularReference"));
|
|
2840
2853
|
if (n.value && n.value.type === "ui") return A("div", {}, Ht(n.value.view.nodeLites, r));
|
|
2841
2854
|
} };
|
|
@@ -3593,7 +3606,7 @@ function Jn(e) {
|
|
|
3593
3606
|
//#endregion
|
|
3594
3607
|
//#region src/composables/element/piece/ui/height/v1/index.ts
|
|
3595
3608
|
function Yn(e, t) {
|
|
3596
|
-
let n = $(), r =
|
|
3609
|
+
let n = $(), r = sl(), i = w(() => {
|
|
3597
3610
|
let i = e.value.size?.height;
|
|
3598
3611
|
return n === "editor" && t && yt(i) ? bt(i) / 100 * r.value.height + "px" : i;
|
|
3599
3612
|
}), a = w(() => {
|
|
@@ -3690,7 +3703,7 @@ var Qn = [
|
|
|
3690
3703
|
top: I(c)
|
|
3691
3704
|
}, [
|
|
3692
3705
|
O(I(xn)),
|
|
3693
|
-
I(n) === "editor" ? (M(), T(I(
|
|
3706
|
+
I(n) === "editor" ? (M(), T(I(C), {
|
|
3694
3707
|
key: 0,
|
|
3695
3708
|
type: I(Ve)
|
|
3696
3709
|
}, null, 8, ["type"])) : me("", !0),
|
|
@@ -3724,7 +3737,7 @@ var Qn = [
|
|
|
3724
3737
|
scale: I(a)
|
|
3725
3738
|
}, [
|
|
3726
3739
|
O(I(xn)),
|
|
3727
|
-
I(n) === "editor" ? (M(), T(I(
|
|
3740
|
+
I(n) === "editor" ? (M(), T(I(C), {
|
|
3728
3741
|
key: 0,
|
|
3729
3742
|
type: I(Ve)
|
|
3730
3743
|
}, null, 8, ["type"])) : me("", !0),
|
|
@@ -3836,7 +3849,7 @@ var Qn = [
|
|
|
3836
3849
|
scale: I(a)
|
|
3837
3850
|
}, [
|
|
3838
3851
|
O(I(xn)),
|
|
3839
|
-
I(n) === "editor" ? (M(), T(I(
|
|
3852
|
+
I(n) === "editor" ? (M(), T(I(C), {
|
|
3840
3853
|
key: 0,
|
|
3841
3854
|
type: I(He)
|
|
3842
3855
|
}, null, 8, ["type"])) : me("", !0),
|
|
@@ -3870,7 +3883,7 @@ var Qn = [
|
|
|
3870
3883
|
scale: I(a)
|
|
3871
3884
|
}, [
|
|
3872
3885
|
O(I(xn)),
|
|
3873
|
-
I(n) === "editor" ? (M(), T(I(
|
|
3886
|
+
I(n) === "editor" ? (M(), T(I(C), {
|
|
3874
3887
|
key: 0,
|
|
3875
3888
|
type: I(Ue)
|
|
3876
3889
|
}, null, 8, ["type"])) : me("", !0),
|
|
@@ -3920,7 +3933,7 @@ var Qn = [
|
|
|
3920
3933
|
] : I(a)
|
|
3921
3934
|
}, [
|
|
3922
3935
|
O(I(xn)),
|
|
3923
|
-
I(n) === "editor" ? (M(), T(I(
|
|
3936
|
+
I(n) === "editor" ? (M(), T(I(C), {
|
|
3924
3937
|
key: 0,
|
|
3925
3938
|
type: I(We)
|
|
3926
3939
|
}, null, 8, ["type"])) : me("", !0),
|
|
@@ -3977,7 +3990,7 @@ var br = /* @__PURE__ */ sr(vr, [["render", yr]]), xr = [
|
|
|
3977
3990
|
refContext: {}
|
|
3978
3991
|
},
|
|
3979
3992
|
setup(e) {
|
|
3980
|
-
let { node: t } = J(e.nodeId), n =
|
|
3993
|
+
let { node: t } = J(e.nodeId), n = sl(), r = ll(), { width: i, minWidth: a, maxWidth: o, applyWidth: s } = Q(t), { height: c, minHeight: l, maxHeight: u, applyHeight: d } = Yn(t, e.outer), { applyTitle: f } = Gn(t), { applyXAxis: p } = Kn(t), { applyYAxis: m } = qn(t), { applyLegend: h } = Un(t), { applySeries: g } = Wn(t), _ = w(() => {
|
|
3981
3994
|
let e = {};
|
|
3982
3995
|
return s(e), d(e), e;
|
|
3983
3996
|
}), v = Ie("chart"), y, b = () => {
|
|
@@ -4026,7 +4039,7 @@ var br = /* @__PURE__ */ sr(vr, [["render", yr]]), xr = [
|
|
|
4026
4039
|
refContext: {}
|
|
4027
4040
|
},
|
|
4028
4041
|
setup(e) {
|
|
4029
|
-
let { node: t } = J(e.nodeId), n =
|
|
4042
|
+
let { node: t } = J(e.nodeId), n = sl(), r = ll(), { width: i, minWidth: a, maxWidth: o, applyWidth: s } = Q(t), { height: c, minHeight: l, maxHeight: u, applyHeight: d } = Yn(t, e.outer), { applyTitle: f } = Gn(t), { applyXAxis: p } = Kn(t), { applyYAxis: m } = qn(t), { applyLegend: h } = Un(t), { applySeries: g } = Wn(t), _ = w(() => {
|
|
4030
4043
|
let e = {};
|
|
4031
4044
|
return s(e), d(e), e;
|
|
4032
4045
|
}), v = Ie("chart"), y, b = () => {
|
|
@@ -4109,10 +4122,10 @@ var kr = /* @__PURE__ */ sr(Dr, [["render", Or]]), Ar = [
|
|
|
4109
4122
|
console.log(`<element/${e.nodeId}/multiple_ref_v1/${e.instance}> created`), Te(() => {
|
|
4110
4123
|
console.log(`<element/${e.nodeId}/multiple_ref_v1/${e.instance}> destroyed`);
|
|
4111
4124
|
});
|
|
4112
|
-
let n =
|
|
4113
|
-
|
|
4125
|
+
let n = hl(), r = _l(), i = w(() => t(n.value)), a = w(() => t(r.value));
|
|
4126
|
+
gl(a);
|
|
4114
4127
|
let o = De({});
|
|
4115
|
-
|
|
4128
|
+
vl(o), Fn("multipleRef", e.nodeId, "", e.instance, Tl(), i, a, o);
|
|
4116
4129
|
let s = (t) => {
|
|
4117
4130
|
let n = st(t.key);
|
|
4118
4131
|
if (!n) {
|
|
@@ -4143,10 +4156,10 @@ var kr = /* @__PURE__ */ sr(Dr, [["render", Or]]), Ar = [
|
|
|
4143
4156
|
refContext: {}
|
|
4144
4157
|
},
|
|
4145
4158
|
setup(e) {
|
|
4146
|
-
let t = Ne(), { node: n } = J(e.nodeId), r =
|
|
4147
|
-
|
|
4159
|
+
let t = Ne(), { node: n } = J(e.nodeId), r = dl(), i = _l(), a = N();
|
|
4160
|
+
ml(a);
|
|
4148
4161
|
let o = N();
|
|
4149
|
-
|
|
4162
|
+
gl(o), An(w(() => e.refContext?.compId), a, o);
|
|
4150
4163
|
let { applyWidth: s } = Q(n), { applyHeight: c } = Yn(n, e.outer), { color: l } = kn(w(() => o.value?.view.nodes.globality?.settings?.bgColor)), u = w(() => {
|
|
4151
4164
|
let e = {};
|
|
4152
4165
|
return o.value?.type === "ui" && (s(e), c(e), l.value && (e.backgroundColor = l.value)), e;
|
|
@@ -4191,7 +4204,7 @@ var kr = /* @__PURE__ */ sr(Dr, [["render", Or]]), Ar = [
|
|
|
4191
4204
|
console.assert(!1, "invalid data");
|
|
4192
4205
|
return;
|
|
4193
4206
|
}
|
|
4194
|
-
let { i18n: n } =
|
|
4207
|
+
let { i18n: n } = ie;
|
|
4195
4208
|
if (qe(e.refContext, r)) return i.value.type === "ui" ? A("div", {
|
|
4196
4209
|
id: t.id,
|
|
4197
4210
|
style: u.value
|
|
@@ -4241,10 +4254,10 @@ var kr = /* @__PURE__ */ sr(Dr, [["render", Or]]), Ar = [
|
|
|
4241
4254
|
console.log(`<element/${e.nodeId}/multiple_slot_v1/${e.instance}> created`), Te(() => {
|
|
4242
4255
|
console.log(`<element/${e.nodeId}/multiple_slot_v1/${e.instance}> destroyed`);
|
|
4243
4256
|
});
|
|
4244
|
-
let n =
|
|
4245
|
-
|
|
4257
|
+
let n = hl(), r = _l(), i = w(() => t(n.value)), a = w(() => t(r.value));
|
|
4258
|
+
gl(a);
|
|
4246
4259
|
let o = De({});
|
|
4247
|
-
|
|
4260
|
+
vl(o), Fn("multipleCustomSlot", e.nodeId, "", e.instance, Tl(), i, a, o);
|
|
4248
4261
|
let s = (t) => {
|
|
4249
4262
|
let n = st(t.key);
|
|
4250
4263
|
if (!n) {
|
|
@@ -4275,10 +4288,10 @@ var kr = /* @__PURE__ */ sr(Dr, [["render", Or]]), Ar = [
|
|
|
4275
4288
|
refContext: {}
|
|
4276
4289
|
},
|
|
4277
4290
|
setup(e) {
|
|
4278
|
-
let t = Ne(), { node: n } = J(e.nodeId), r =
|
|
4279
|
-
|
|
4291
|
+
let t = Ne(), { node: n } = J(e.nodeId), r = dl(), i = _l(), a = N();
|
|
4292
|
+
ml(a);
|
|
4280
4293
|
let o = N();
|
|
4281
|
-
|
|
4294
|
+
gl(o), An(w(() => e.refContext?.compId), a, o);
|
|
4282
4295
|
let { applyWidth: s } = Q(n), { applyHeight: c } = Yn(n, e.outer), l = w(() => {
|
|
4283
4296
|
let e = {};
|
|
4284
4297
|
return o.value?.type === "ui" && (s(e), c(e)), e;
|
|
@@ -4323,7 +4336,7 @@ var kr = /* @__PURE__ */ sr(Dr, [["render", Or]]), Ar = [
|
|
|
4323
4336
|
console.assert(!1, "invalid data");
|
|
4324
4337
|
return;
|
|
4325
4338
|
}
|
|
4326
|
-
let { i18n: n } =
|
|
4339
|
+
let { i18n: n } = ie;
|
|
4327
4340
|
if (qe(e.refContext, r)) return i.value.type === "ui" ? A("div", {
|
|
4328
4341
|
id: t.id,
|
|
4329
4342
|
style: l.value
|
|
@@ -4369,12 +4382,12 @@ var kr = /* @__PURE__ */ sr(Dr, [["render", Or]]), Ar = [
|
|
|
4369
4382
|
refContext: {}
|
|
4370
4383
|
},
|
|
4371
4384
|
setup(e) {
|
|
4372
|
-
let t = Ne(), { node: n } = J(e.nodeId), r =
|
|
4373
|
-
|
|
4385
|
+
let t = Ne(), { node: n } = J(e.nodeId), r = dl(), i = _l(), a = N();
|
|
4386
|
+
ml(a);
|
|
4374
4387
|
let o = N();
|
|
4375
|
-
|
|
4388
|
+
gl(o), An(w(() => e.refContext?.compId), a, o);
|
|
4376
4389
|
let s = De({});
|
|
4377
|
-
|
|
4390
|
+
vl(s), Fn("ref", e.nodeId, "", "", Tl(), a, o, s);
|
|
4378
4391
|
let { applyWidth: c } = Q(n), { applyHeight: l } = Yn(n, e.outer), { color: u } = kn(w(() => o.value?.view.nodes.globality?.settings?.bgColor)), d = w(() => {
|
|
4379
4392
|
let e = {};
|
|
4380
4393
|
return i.value?.type === "ui" && (c(e), l(e), u.value && (e.backgroundColor = u.value)), e;
|
|
@@ -4422,7 +4435,7 @@ var kr = /* @__PURE__ */ sr(Dr, [["render", Or]]), Ar = [
|
|
|
4422
4435
|
console.assert(!1, "invalid data");
|
|
4423
4436
|
return;
|
|
4424
4437
|
}
|
|
4425
|
-
let { i18n: n } =
|
|
4438
|
+
let { i18n: n } = ie;
|
|
4426
4439
|
if (qe(e.refContext, r)) return i.value.type === "ui" ? A("div", {
|
|
4427
4440
|
id: t.id,
|
|
4428
4441
|
style: d.value
|
|
@@ -4471,12 +4484,12 @@ var Br = /* @__PURE__ */ sr(Rr, [["render", zr]]), Vr = /* @__PURE__ */ k({
|
|
|
4471
4484
|
refContext: {}
|
|
4472
4485
|
},
|
|
4473
4486
|
setup(e) {
|
|
4474
|
-
let t = Ne(), { node: n } = J(e.nodeId), r =
|
|
4475
|
-
|
|
4487
|
+
let t = Ne(), { node: n } = J(e.nodeId), r = dl(), i = _l(), a = N();
|
|
4488
|
+
ml(a);
|
|
4476
4489
|
let o = N();
|
|
4477
|
-
|
|
4490
|
+
gl(o), An(w(() => e.refContext?.compId), a, o);
|
|
4478
4491
|
let s = De({});
|
|
4479
|
-
|
|
4492
|
+
vl(s), Fn("customSlot", e.nodeId, "", "", Tl(), a, o, s);
|
|
4480
4493
|
let { applyWidth: c } = Q(n), { applyHeight: l } = Yn(n, e.outer), u = w(() => {
|
|
4481
4494
|
let e = {};
|
|
4482
4495
|
return o.value?.type === "ui" && (c(e), l(e)), e;
|
|
@@ -4525,7 +4538,7 @@ var Br = /* @__PURE__ */ sr(Rr, [["render", zr]]), Vr = /* @__PURE__ */ k({
|
|
|
4525
4538
|
console.assert(!1, "invalid data");
|
|
4526
4539
|
return;
|
|
4527
4540
|
}
|
|
4528
|
-
let { i18n: n } =
|
|
4541
|
+
let { i18n: n } = ie;
|
|
4529
4542
|
if (qe(e.refContext, r)) return i.value.type === "ui" ? A("div", {
|
|
4530
4543
|
id: t.id,
|
|
4531
4544
|
style: u.value
|
|
@@ -4666,7 +4679,7 @@ var Br = /* @__PURE__ */ sr(Rr, [["render", zr]]), Vr = /* @__PURE__ */ k({
|
|
|
4666
4679
|
refContext: {}
|
|
4667
4680
|
},
|
|
4668
4681
|
setup(e) {
|
|
4669
|
-
let { theme: t, node: n, validOfInlineSlot: r } = J(e.nodeId), { activatorProps: i } = Cn(), a =
|
|
4682
|
+
let { theme: t, node: n, validOfInlineSlot: r } = J(e.nodeId), { activatorProps: i } = Cn(), a = Tl(), { applyBorder: o } = Jn(n), s = w(() => {
|
|
4670
4683
|
let e = {};
|
|
4671
4684
|
return o(e), e;
|
|
4672
4685
|
}), { width: c, minWidth: l, maxWidth: u } = Q(n), { height: d, minHeight: f, maxHeight: p } = Yn(n, e.outer), { property: m } = Y(n, ["settings", "value"]), { property: h } = Y(n, ["settings", "text"]), { property: g } = Z(n, ["settings", "icon"]), { property: _ } = Y(n, [
|
|
@@ -4697,27 +4710,27 @@ var Br = /* @__PURE__ */ sr(Rr, [["render", zr]]), Vr = /* @__PURE__ */ k({
|
|
|
4697
4710
|
"settings",
|
|
4698
4711
|
"style",
|
|
4699
4712
|
"ripple"
|
|
4700
|
-
]), { property:
|
|
4713
|
+
]), { property: C } = Z(n, [
|
|
4701
4714
|
"settings",
|
|
4702
4715
|
"style",
|
|
4703
4716
|
"decoration",
|
|
4704
4717
|
"appendIcon"
|
|
4705
|
-
]), { property:
|
|
4718
|
+
]), { property: te } = Z(n, [
|
|
4706
4719
|
"settings",
|
|
4707
4720
|
"style",
|
|
4708
4721
|
"decoration",
|
|
4709
4722
|
"prependIcon"
|
|
4710
|
-
]), { property:
|
|
4723
|
+
]), { property: ne } = Y(n, [
|
|
4711
4724
|
"settings",
|
|
4712
4725
|
"style",
|
|
4713
4726
|
"decoration",
|
|
4714
4727
|
"spaced"
|
|
4715
|
-
]), { property:
|
|
4728
|
+
]), { property: re } = X(n, [
|
|
4716
4729
|
"settings",
|
|
4717
4730
|
"style",
|
|
4718
4731
|
"color",
|
|
4719
4732
|
"color"
|
|
4720
|
-
]), { property:
|
|
4733
|
+
]), { property: ie } = X(n, [
|
|
4721
4734
|
"settings",
|
|
4722
4735
|
"style",
|
|
4723
4736
|
"color",
|
|
@@ -4739,8 +4752,12 @@ var Br = /* @__PURE__ */ sr(Rr, [["render", zr]]), Vr = /* @__PURE__ */ k({
|
|
|
4739
4752
|
"settings",
|
|
4740
4753
|
"misc",
|
|
4741
4754
|
"readonly"
|
|
4742
|
-
]), le =
|
|
4743
|
-
|
|
4755
|
+
]), { property: le } = Y(n, [
|
|
4756
|
+
"settings",
|
|
4757
|
+
"misc",
|
|
4758
|
+
"type"
|
|
4759
|
+
]), ue = async (t) => {
|
|
4760
|
+
!a || !a.vm || (a.setGlobalVariable("__pointerPosX__", t.clientX), a.setGlobalVariable("__pointerPosY__", t.clientY), await a.triggerEvent(Gl("elementEvent", e.nodeId, "click"), []));
|
|
4744
4761
|
};
|
|
4745
4762
|
return (e, n) => {
|
|
4746
4763
|
let a = F("v-btn");
|
|
@@ -4750,10 +4767,10 @@ var Br = /* @__PURE__ */ sr(Rr, [["render", zr]]), Vr = /* @__PURE__ */ k({
|
|
|
4750
4767
|
}, {
|
|
4751
4768
|
default: L(() => [O(a, ye(I(i), {
|
|
4752
4769
|
"active-color": I(ae),
|
|
4753
|
-
"append-icon": I(
|
|
4754
|
-
"base-color": I(
|
|
4770
|
+
"append-icon": I(C),
|
|
4771
|
+
"base-color": I(ie),
|
|
4755
4772
|
block: I(x),
|
|
4756
|
-
color: I(
|
|
4773
|
+
color: I(re),
|
|
4757
4774
|
density: I(v),
|
|
4758
4775
|
disabled: I(se),
|
|
4759
4776
|
elevation: I(b),
|
|
@@ -4764,19 +4781,20 @@ var Br = /* @__PURE__ */ sr(Rr, [["render", zr]]), Vr = /* @__PURE__ */ k({
|
|
|
4764
4781
|
"max-width": I(u),
|
|
4765
4782
|
"min-height": I(f),
|
|
4766
4783
|
"min-width": I(l),
|
|
4767
|
-
"prepend-icon": I(
|
|
4784
|
+
"prepend-icon": I(te),
|
|
4768
4785
|
readonly: I(ce),
|
|
4769
4786
|
ripple: I(ee),
|
|
4770
4787
|
size: I(y),
|
|
4771
|
-
spaced: I(
|
|
4788
|
+
spaced: I(ne),
|
|
4772
4789
|
stacked: I(S),
|
|
4773
4790
|
style: s.value,
|
|
4774
4791
|
text: I(h),
|
|
4775
4792
|
theme: I(t),
|
|
4793
|
+
type: I(le),
|
|
4776
4794
|
value: I(m),
|
|
4777
4795
|
variant: I(_),
|
|
4778
4796
|
width: I(c),
|
|
4779
|
-
onClick:
|
|
4797
|
+
onClick: ue
|
|
4780
4798
|
}), D({ _: 2 }, [
|
|
4781
4799
|
I(r)("default") ? {
|
|
4782
4800
|
name: "default",
|
|
@@ -4798,7 +4816,7 @@ var Br = /* @__PURE__ */ sr(Rr, [["render", zr]]), Vr = /* @__PURE__ */ k({
|
|
|
4798
4816
|
fn: L(() => [P(e.$slots, "loader")]),
|
|
4799
4817
|
key: "3"
|
|
4800
4818
|
} : void 0
|
|
4801
|
-
]), 1040, /* @__PURE__ */ "active-color.append-icon.base-color.block.color.density.disabled.elevation.height.icon.loading.max-height.max-width.min-height.min-width.prepend-icon.readonly.ripple.size.spaced.stacked.style.text.theme.value.variant.width".split("."))]),
|
|
4819
|
+
]), 1040, /* @__PURE__ */ "active-color.append-icon.base-color.block.color.density.disabled.elevation.height.icon.loading.max-height.max-width.min-height.min-width.prepend-icon.readonly.ripple.size.spaced.stacked.style.text.theme.type.value.variant.width".split("."))]),
|
|
4802
4820
|
_: 3
|
|
4803
4821
|
}, 8, ["block"]);
|
|
4804
4822
|
};
|
|
@@ -4933,11 +4951,11 @@ var Br = /* @__PURE__ */ sr(Rr, [["render", zr]]), Vr = /* @__PURE__ */ k({
|
|
|
4933
4951
|
"settings",
|
|
4934
4952
|
"style",
|
|
4935
4953
|
"color"
|
|
4936
|
-
]), { property:
|
|
4954
|
+
]), { property: C } = Y(n, [
|
|
4937
4955
|
"settings",
|
|
4938
4956
|
"misc",
|
|
4939
4957
|
"loading"
|
|
4940
|
-
]), { property:
|
|
4958
|
+
]), { property: te } = Y(n, [
|
|
4941
4959
|
"settings",
|
|
4942
4960
|
"misc",
|
|
4943
4961
|
"disabled"
|
|
@@ -4949,12 +4967,12 @@ var Br = /* @__PURE__ */ sr(Rr, [["render", zr]]), Vr = /* @__PURE__ */ k({
|
|
|
4949
4967
|
"append-icon": I(S),
|
|
4950
4968
|
color: I(ee),
|
|
4951
4969
|
density: I(v),
|
|
4952
|
-
disabled: I(
|
|
4970
|
+
disabled: I(te),
|
|
4953
4971
|
elevation: I(y),
|
|
4954
4972
|
height: I(u),
|
|
4955
4973
|
hover: I(b),
|
|
4956
4974
|
image: I(g),
|
|
4957
|
-
loading: I(
|
|
4975
|
+
loading: I(C),
|
|
4958
4976
|
"max-height": I(f),
|
|
4959
4977
|
"max-width": I(l),
|
|
4960
4978
|
"min-height": I(d),
|
|
@@ -5200,7 +5218,7 @@ var Br = /* @__PURE__ */ sr(Rr, [["render", zr]]), Vr = /* @__PURE__ */ k({
|
|
|
5200
5218
|
refContext: {}
|
|
5201
5219
|
},
|
|
5202
5220
|
setup(e) {
|
|
5203
|
-
let { theme: t, node: n, validOfInlineSlot: r } = J(e.nodeId), { activatorProps: i } = Cn(), a = $(), o =
|
|
5221
|
+
let { theme: t, node: n, validOfInlineSlot: r } = J(e.nodeId), { activatorProps: i } = Cn(), a = $(), o = Tl(), { property: s } = Y(n, ["settings", "value"]), { property: c } = Y(n, ["settings", "text"]), { property: l } = Y(n, [
|
|
5204
5222
|
"settings",
|
|
5205
5223
|
"main",
|
|
5206
5224
|
"clickable"
|
|
@@ -5267,11 +5285,11 @@ var Br = /* @__PURE__ */ sr(Rr, [["render", zr]]), Vr = /* @__PURE__ */ k({
|
|
|
5267
5285
|
"misc",
|
|
5268
5286
|
"disabled"
|
|
5269
5287
|
]);
|
|
5270
|
-
async function
|
|
5271
|
-
R(a) && await o?.triggerEvent(
|
|
5288
|
+
async function C() {
|
|
5289
|
+
R(a) && await o?.triggerEvent(Gl("elementEvent", e.nodeId, "click"), []);
|
|
5272
5290
|
}
|
|
5273
|
-
async function
|
|
5274
|
-
R(a) && await o?.triggerEvent(
|
|
5291
|
+
async function te() {
|
|
5292
|
+
R(a) && await o?.triggerEvent(Gl("elementEvent", e.nodeId, "clickClose"), []);
|
|
5275
5293
|
}
|
|
5276
5294
|
return (e, n) => {
|
|
5277
5295
|
let a = F("v-chip");
|
|
@@ -5286,7 +5304,7 @@ var Br = /* @__PURE__ */ sr(Rr, [["render", zr]]), Vr = /* @__PURE__ */ k({
|
|
|
5286
5304
|
draggable: I(u),
|
|
5287
5305
|
elevation: I(g),
|
|
5288
5306
|
label: I(_),
|
|
5289
|
-
"on-click": I(l) ?
|
|
5307
|
+
"on-click": I(l) ? C : void 0,
|
|
5290
5308
|
"prepend-icon": I(b),
|
|
5291
5309
|
ripple: I(y),
|
|
5292
5310
|
size: I(h),
|
|
@@ -5295,7 +5313,7 @@ var Br = /* @__PURE__ */ sr(Rr, [["render", zr]]), Vr = /* @__PURE__ */ k({
|
|
|
5295
5313
|
tile: I(v),
|
|
5296
5314
|
value: I(s),
|
|
5297
5315
|
variant: I(p),
|
|
5298
|
-
"onClick:close":
|
|
5316
|
+
"onClick:close": te
|
|
5299
5317
|
}), D({ _: 2 }, [
|
|
5300
5318
|
I(r)("default") ? {
|
|
5301
5319
|
name: "default",
|
|
@@ -5421,7 +5439,7 @@ var Br = /* @__PURE__ */ sr(Rr, [["render", zr]]), Vr = /* @__PURE__ */ k({
|
|
|
5421
5439
|
refContext: {}
|
|
5422
5440
|
},
|
|
5423
5441
|
setup(e) {
|
|
5424
|
-
let { theme: t, node: n } = J(e.nodeId), r =
|
|
5442
|
+
let { theme: t, node: n } = J(e.nodeId), r = _l(), { applyWidth: i } = Q(n), { applyHeight: a } = Yn(n, e.outer), o = w(() => {
|
|
5425
5443
|
let e = {};
|
|
5426
5444
|
return r.value?.type === "ui" && (i(e), a(e)), e;
|
|
5427
5445
|
}), { property: s } = Y(n, ["settings", "disabled"]), { property: c } = Y(n, ["settings", "hideCanvas"]), { property: l } = Y(n, ["settings", "hideHeader"]), { property: u } = Y(n, ["settings", "hideInputs"]), { property: d } = Y(n, ["settings", "hideSliders"]), { property: f } = Y(n, ["settings", "landscape"]), { property: p } = Y(n, ["settings", "showSwatches"]);
|
|
@@ -5533,20 +5551,20 @@ var Br = /* @__PURE__ */ sr(Rr, [["render", zr]]), Vr = /* @__PURE__ */ k({
|
|
|
5533
5551
|
"detail",
|
|
5534
5552
|
"counter",
|
|
5535
5553
|
"max"
|
|
5536
|
-
]),
|
|
5554
|
+
]), C = w(() => S.value ? ee.value : !1), { property: te } = Y(n, [
|
|
5537
5555
|
"settings",
|
|
5538
5556
|
"detail",
|
|
5539
5557
|
"counter",
|
|
5540
5558
|
"persistent"
|
|
5541
|
-
]), { property:
|
|
5559
|
+
]), { property: ne } = Y(n, [
|
|
5542
5560
|
"settings",
|
|
5543
5561
|
"style",
|
|
5544
5562
|
"variant"
|
|
5545
|
-
]), { property:
|
|
5563
|
+
]), { property: re } = Y(n, [
|
|
5546
5564
|
"settings",
|
|
5547
5565
|
"style",
|
|
5548
5566
|
"density"
|
|
5549
|
-
]), { property:
|
|
5567
|
+
]), { property: ie } = Y(n, [
|
|
5550
5568
|
"settings",
|
|
5551
5569
|
"style",
|
|
5552
5570
|
"singleLine"
|
|
@@ -5651,8 +5669,8 @@ var Br = /* @__PURE__ */ sr(Rr, [["render", zr]]), Vr = /* @__PURE__ */ k({
|
|
|
5651
5669
|
clearable: I(f),
|
|
5652
5670
|
"closable-chips": I(se),
|
|
5653
5671
|
color: I(me),
|
|
5654
|
-
counter:
|
|
5655
|
-
density: I(
|
|
5672
|
+
counter: C.value,
|
|
5673
|
+
density: I(re),
|
|
5656
5674
|
disabled: I(k),
|
|
5657
5675
|
"error-messages": I(b),
|
|
5658
5676
|
"hide-details": I(g),
|
|
@@ -5668,7 +5686,7 @@ var Br = /* @__PURE__ */ sr(Rr, [["render", zr]]), Vr = /* @__PURE__ */ k({
|
|
|
5668
5686
|
multiple: I(c),
|
|
5669
5687
|
"open-on-clear": I(m),
|
|
5670
5688
|
"persistent-clear": I(p),
|
|
5671
|
-
"persistent-counter": I(
|
|
5689
|
+
"persistent-counter": I(te),
|
|
5672
5690
|
"persistent-hint": I(v),
|
|
5673
5691
|
"persistent-placeholder": I(d),
|
|
5674
5692
|
placeholder: I(u),
|
|
@@ -5677,10 +5695,10 @@ var Br = /* @__PURE__ */ sr(Rr, [["render", zr]]), Vr = /* @__PURE__ */ k({
|
|
|
5677
5695
|
"prepend-inner-icon": I(de),
|
|
5678
5696
|
readonly: I(A),
|
|
5679
5697
|
reverse: I(ae),
|
|
5680
|
-
"single-line": I(
|
|
5698
|
+
"single-line": I(ie),
|
|
5681
5699
|
suffix: I(le),
|
|
5682
5700
|
theme: I(t),
|
|
5683
|
-
variant: I(
|
|
5701
|
+
variant: I(ne),
|
|
5684
5702
|
width: I(r)
|
|
5685
5703
|
}, null, 8, /* @__PURE__ */ "modelValue.append-icon.append-inner-icon.base-color.bg-color.chips.clear-icon.clearable.closable-chips.color.counter.density.disabled.error-messages.hide-details.hint.icon-color.items.label.loading.max-errors.max-width.messages.min-width.multiple.open-on-clear.persistent-clear.persistent-counter.persistent-hint.persistent-placeholder.placeholder.prefix.prepend-icon.prepend-inner-icon.readonly.reverse.single-line.suffix.theme.variant.width".split("."))]),
|
|
5686
5704
|
_: 1
|
|
@@ -5709,13 +5727,13 @@ var Br = /* @__PURE__ */ sr(Rr, [["render", zr]]), Vr = /* @__PURE__ */ k({
|
|
|
5709
5727
|
value: {}
|
|
5710
5728
|
},
|
|
5711
5729
|
setup(e) {
|
|
5712
|
-
let t =
|
|
5713
|
-
|
|
5730
|
+
let t = dl(), n = kl(), r = N();
|
|
5731
|
+
ml(r);
|
|
5714
5732
|
let i = N();
|
|
5715
|
-
|
|
5733
|
+
gl(i), An(w(() => e.refContext.compId), r, i);
|
|
5716
5734
|
let a = De({});
|
|
5717
|
-
|
|
5718
|
-
let { sandbox: o } = Fn("multipleElementSlot", n.value.basic.id, "column", e.instance,
|
|
5735
|
+
vl(a);
|
|
5736
|
+
let { sandbox: o } = Fn("multipleElementSlot", n.value.basic.id, "column", e.instance, Tl(), r, i, a);
|
|
5719
5737
|
zn(o, n.value.basic.key, "value", e.value);
|
|
5720
5738
|
let { render: s } = Bn(e.refContext, t, i);
|
|
5721
5739
|
return (e, t) => (M(), T(I(s)));
|
|
@@ -5807,19 +5825,19 @@ var Br = /* @__PURE__ */ sr(Rr, [["render", zr]]), Vr = /* @__PURE__ */ k({
|
|
|
5807
5825
|
"settings",
|
|
5808
5826
|
"style",
|
|
5809
5827
|
"hover"
|
|
5810
|
-
]), { property:
|
|
5828
|
+
]), { property: C } = X(n, [
|
|
5811
5829
|
"settings",
|
|
5812
5830
|
"style",
|
|
5813
5831
|
"color"
|
|
5814
|
-
]), { property:
|
|
5832
|
+
]), { property: te } = Y(n, [
|
|
5815
5833
|
"settings",
|
|
5816
5834
|
"misc",
|
|
5817
5835
|
"loading"
|
|
5818
|
-
]),
|
|
5836
|
+
]), ne = N([]), { property: re } = Y(n, ["slots", "items"]);
|
|
5819
5837
|
R(i) && Re(() => {
|
|
5820
|
-
|
|
5838
|
+
ne.value = re.value;
|
|
5821
5839
|
});
|
|
5822
|
-
let { property:
|
|
5840
|
+
let { property: ie } = Rn(n.value.basic.id, n.value.basic.key, "runtime.selections");
|
|
5823
5841
|
return (n, i) => {
|
|
5824
5842
|
let s = F("v-data-table");
|
|
5825
5843
|
return M(), T(I(q), {
|
|
@@ -5827,13 +5845,13 @@ var Br = /* @__PURE__ */ sr(Rr, [["render", zr]]), Vr = /* @__PURE__ */ k({
|
|
|
5827
5845
|
mask: ""
|
|
5828
5846
|
}, {
|
|
5829
5847
|
default: L(() => [O(s, {
|
|
5830
|
-
modelValue: I(
|
|
5831
|
-
"onUpdate:modelValue": i[0] ||= (e) => j(
|
|
5848
|
+
modelValue: I(ie),
|
|
5849
|
+
"onUpdate:modelValue": i[0] ||= (e) => j(ie) ? ie.value = e : null,
|
|
5832
5850
|
"items-per-page": I(_),
|
|
5833
5851
|
"onUpdate:itemsPerPage": i[1] ||= (e) => j(_) ? _.value = e : null,
|
|
5834
5852
|
page: I(h),
|
|
5835
5853
|
"onUpdate:page": i[2] ||= (e) => j(h) ? h.value = e : null,
|
|
5836
|
-
color: I(
|
|
5854
|
+
color: I(C),
|
|
5837
5855
|
density: I(S),
|
|
5838
5856
|
"disable-sort": I(y),
|
|
5839
5857
|
"fixed-footer": I(p),
|
|
@@ -5846,7 +5864,7 @@ var Br = /* @__PURE__ */ sr(Rr, [["render", zr]]), Vr = /* @__PURE__ */ k({
|
|
|
5846
5864
|
"item-value": I(u),
|
|
5847
5865
|
items: I(l),
|
|
5848
5866
|
"items-per-page-options": I(v),
|
|
5849
|
-
loading: I(
|
|
5867
|
+
loading: I(te),
|
|
5850
5868
|
"multi-sort": I(b),
|
|
5851
5869
|
"show-current-page": I(g),
|
|
5852
5870
|
"show-select": I(x),
|
|
@@ -5873,7 +5891,7 @@ var Br = /* @__PURE__ */ sr(Rr, [["render", zr]]), Vr = /* @__PURE__ */ k({
|
|
|
5873
5891
|
fn: L(() => [P(n.$slots, "loading")]),
|
|
5874
5892
|
key: "3"
|
|
5875
5893
|
} : void 0,
|
|
5876
|
-
ke(
|
|
5894
|
+
ke(ne.value, ({ key: t, comp: n }) => ({
|
|
5877
5895
|
name: `item.${t}`,
|
|
5878
5896
|
fn: L(({ value: r }) => [n ? (M(), T(ti, {
|
|
5879
5897
|
key: 0,
|
|
@@ -5928,13 +5946,13 @@ var Br = /* @__PURE__ */ sr(Rr, [["render", zr]]), Vr = /* @__PURE__ */ k({
|
|
|
5928
5946
|
}),
|
|
5929
5947
|
emits: ["update:value"],
|
|
5930
5948
|
setup(e) {
|
|
5931
|
-
let t = Fe(e, "value"), n =
|
|
5932
|
-
|
|
5949
|
+
let t = Fe(e, "value"), n = dl(), r = kl(), i = N();
|
|
5950
|
+
ml(i);
|
|
5933
5951
|
let a = N();
|
|
5934
|
-
|
|
5952
|
+
gl(a), An(w(() => e.refContext.compId), i, a);
|
|
5935
5953
|
let o = De({});
|
|
5936
|
-
|
|
5937
|
-
let { sandbox: s } = Fn("multipleElementSlot", r.value.basic.id, "item", e.instance,
|
|
5954
|
+
vl(o);
|
|
5955
|
+
let { sandbox: s } = Fn("multipleElementSlot", r.value.basic.id, "item", e.instance, Tl(), i, a, o);
|
|
5938
5956
|
zn(s, r.value.basic.key, "value", t);
|
|
5939
5957
|
let { render: c } = Bn(e.refContext, n, a);
|
|
5940
5958
|
return (e, t) => (M(), T(I(c)));
|
|
@@ -5947,7 +5965,7 @@ var Br = /* @__PURE__ */ sr(Rr, [["render", zr]]), Vr = /* @__PURE__ */ k({
|
|
|
5947
5965
|
refContext: {}
|
|
5948
5966
|
},
|
|
5949
5967
|
setup(e) {
|
|
5950
|
-
let { theme: t, node: n, validOfInlineSlot: r } = J(e.nodeId), i = $(), a =
|
|
5968
|
+
let { theme: t, node: n, validOfInlineSlot: r } = J(e.nodeId), i = $(), a = Tl(), { property: o } = Y(n, ["size", "width"]), { property: s } = Y(n, ["size", "height"]), { property: c } = Y(n, ["settings", "headers"]), l = w(() => {
|
|
5951
5969
|
let e = [];
|
|
5952
5970
|
for (let { value: t, title: n, control: r } of c.value) e.push({
|
|
5953
5971
|
value: t,
|
|
@@ -6018,29 +6036,29 @@ var Br = /* @__PURE__ */ sr(Rr, [["render", zr]]), Vr = /* @__PURE__ */ k({
|
|
|
6018
6036
|
"main",
|
|
6019
6037
|
"select",
|
|
6020
6038
|
"enable"
|
|
6021
|
-
]), { property:
|
|
6039
|
+
]), { property: C } = Y(n, [
|
|
6022
6040
|
"settings",
|
|
6023
6041
|
"style",
|
|
6024
6042
|
"density"
|
|
6025
|
-
]), { property:
|
|
6043
|
+
]), { property: te } = Y(n, [
|
|
6026
6044
|
"settings",
|
|
6027
6045
|
"style",
|
|
6028
6046
|
"hover"
|
|
6029
|
-
]), { property:
|
|
6047
|
+
]), { property: ne } = X(n, [
|
|
6030
6048
|
"settings",
|
|
6031
6049
|
"style",
|
|
6032
6050
|
"color"
|
|
6033
|
-
]), { property:
|
|
6051
|
+
]), { property: re } = Y(n, [
|
|
6034
6052
|
"settings",
|
|
6035
6053
|
"misc",
|
|
6036
6054
|
"loading"
|
|
6037
|
-
]),
|
|
6055
|
+
]), ie = N([]), { property: ae } = Y(n, ["slots", "items"]);
|
|
6038
6056
|
R(i) && Re(() => {
|
|
6039
|
-
|
|
6057
|
+
ie.value = ae.value;
|
|
6040
6058
|
});
|
|
6041
6059
|
let { property: oe } = Rn(n.value.basic.id, n.value.basic.key, "runtime.selections");
|
|
6042
6060
|
async function se() {
|
|
6043
|
-
R(i) && await a?.triggerEvent(
|
|
6061
|
+
R(i) && await a?.triggerEvent(Gl("elementEvent", e.nodeId, "updateOptions"), []);
|
|
6044
6062
|
}
|
|
6045
6063
|
return (n, i) => {
|
|
6046
6064
|
let a = F("v-data-table-server");
|
|
@@ -6055,8 +6073,8 @@ var Br = /* @__PURE__ */ sr(Rr, [["render", zr]]), Vr = /* @__PURE__ */ k({
|
|
|
6055
6073
|
"onUpdate:itemsPerPage": i[1] ||= (e) => j(y) ? y.value = e : null,
|
|
6056
6074
|
page: I(_),
|
|
6057
6075
|
"onUpdate:page": i[2] ||= (e) => j(_) ? _.value = e : null,
|
|
6058
|
-
color: I(
|
|
6059
|
-
density: I(
|
|
6076
|
+
color: I(ne),
|
|
6077
|
+
density: I(C),
|
|
6060
6078
|
"disable-sort": I(x),
|
|
6061
6079
|
"fixed-footer": I(h),
|
|
6062
6080
|
"fixed-header": I(p),
|
|
@@ -6064,12 +6082,12 @@ var Br = /* @__PURE__ */ sr(Rr, [["render", zr]]), Vr = /* @__PURE__ */ k({
|
|
|
6064
6082
|
height: I(s),
|
|
6065
6083
|
"hide-default-footer": I(g),
|
|
6066
6084
|
"hide-default-header": I(m),
|
|
6067
|
-
hover: I(
|
|
6085
|
+
hover: I(te),
|
|
6068
6086
|
"item-value": I(f),
|
|
6069
6087
|
items: I(u),
|
|
6070
6088
|
"items-length": I(d),
|
|
6071
6089
|
"items-per-page-options": I(b),
|
|
6072
|
-
loading: I(
|
|
6090
|
+
loading: I(re),
|
|
6073
6091
|
"multi-sort": I(S),
|
|
6074
6092
|
"show-current-page": I(v),
|
|
6075
6093
|
"show-select": I(ee),
|
|
@@ -6097,7 +6115,7 @@ var Br = /* @__PURE__ */ sr(Rr, [["render", zr]]), Vr = /* @__PURE__ */ k({
|
|
|
6097
6115
|
fn: L(() => [P(n.$slots, "loading")]),
|
|
6098
6116
|
key: "3"
|
|
6099
6117
|
} : void 0,
|
|
6100
|
-
ke(
|
|
6118
|
+
ke(ie.value, ({ key: t, comp: n }) => ({
|
|
6101
6119
|
name: `item.${t}`,
|
|
6102
6120
|
fn: L(({ value: r }) => [n ? (M(), T(ri, {
|
|
6103
6121
|
key: 0,
|
|
@@ -6169,7 +6187,7 @@ var si = /* @__PURE__ */ k({
|
|
|
6169
6187
|
__name: "index",
|
|
6170
6188
|
props: { props: {} },
|
|
6171
6189
|
setup(e) {
|
|
6172
|
-
return
|
|
6190
|
+
return Al(e.props), (e, t) => P(e.$slots, "default");
|
|
6173
6191
|
}
|
|
6174
6192
|
}), ci = /* @__PURE__ */ k({
|
|
6175
6193
|
__name: "index",
|
|
@@ -6179,14 +6197,19 @@ var si = /* @__PURE__ */ k({
|
|
|
6179
6197
|
refContext: {}
|
|
6180
6198
|
},
|
|
6181
6199
|
setup(e) {
|
|
6182
|
-
let { node: t, validOfInlineSlot: n } = J(e.nodeId), { attach: r } = Tn("dialogContainer"), { width: i, minWidth: a, maxWidth: o } = Q(t), { height: s, minHeight: c, maxHeight: l } = Yn(t, e.outer), { property: u } =
|
|
6183
|
-
|
|
6184
|
-
|
|
6185
|
-
|
|
6186
|
-
|
|
6187
|
-
|
|
6200
|
+
let { node: t, validOfInlineSlot: n } = J(e.nodeId), { attach: r } = Tn("dialogContainer"), { width: i, minWidth: a, maxWidth: o } = Q(t), { height: s, minHeight: c, maxHeight: l } = Yn(t, e.outer), { property: u } = Y(t, ["settings", "fullscreen"]), { property: d } = In(t, [
|
|
6201
|
+
"settings",
|
|
6202
|
+
"misc",
|
|
6203
|
+
"eager"
|
|
6204
|
+
]), { property: f } = Rn(t.value.basic.id, t.value.basic.key, "runtime.open"), { open: p } = de(`runtimeDialog/${Pe()}`);
|
|
6205
|
+
return oi(f, p), (e, t) => {
|
|
6206
|
+
let p = F("v-dialog");
|
|
6207
|
+
return M(), T(p, {
|
|
6208
|
+
modelValue: I(f),
|
|
6209
|
+
"onUpdate:modelValue": t[0] ||= (e) => j(f) ? f.value = e : null,
|
|
6188
6210
|
attach: I(r),
|
|
6189
|
-
eager: I(
|
|
6211
|
+
eager: I(d),
|
|
6212
|
+
fullscreen: I(u),
|
|
6190
6213
|
height: I(s),
|
|
6191
6214
|
"max-height": I(l),
|
|
6192
6215
|
"max-width": I(o),
|
|
@@ -6207,6 +6230,7 @@ var si = /* @__PURE__ */ k({
|
|
|
6207
6230
|
"modelValue",
|
|
6208
6231
|
"attach",
|
|
6209
6232
|
"eager",
|
|
6233
|
+
"fullscreen",
|
|
6210
6234
|
"height",
|
|
6211
6235
|
"max-height",
|
|
6212
6236
|
"max-width",
|
|
@@ -6285,13 +6309,13 @@ var si = /* @__PURE__ */ k({
|
|
|
6285
6309
|
"update:text"
|
|
6286
6310
|
],
|
|
6287
6311
|
setup(e) {
|
|
6288
|
-
let t = Fe(e, "value"), n = Fe(e, "title"), r = Fe(e, "text"), i =
|
|
6289
|
-
|
|
6312
|
+
let t = Fe(e, "value"), n = Fe(e, "title"), r = Fe(e, "text"), i = dl(), a = kl(), o = N();
|
|
6313
|
+
ml(o);
|
|
6290
6314
|
let s = N();
|
|
6291
|
-
|
|
6315
|
+
gl(s), An(w(() => e.refContext.compId), o, s);
|
|
6292
6316
|
let c = De({});
|
|
6293
|
-
|
|
6294
|
-
let { sandbox: l } = Fn("elementSlot", a.value.basic.id, "text", "",
|
|
6317
|
+
vl(c);
|
|
6318
|
+
let { sandbox: l } = Fn("elementSlot", a.value.basic.id, "text", "", Tl(), o, s, c);
|
|
6295
6319
|
zn(l, a.value.basic.key, "value", t), zn(l, a.value.basic.key, "title", n), zn(l, a.value.basic.key, "text", r);
|
|
6296
6320
|
let { render: u } = Bn(e.refContext, i, s);
|
|
6297
6321
|
return (e, t) => (M(), T(I(u)));
|
|
@@ -6312,13 +6336,13 @@ var si = /* @__PURE__ */ k({
|
|
|
6312
6336
|
"update:text"
|
|
6313
6337
|
],
|
|
6314
6338
|
setup(e) {
|
|
6315
|
-
let t = Fe(e, "value"), n = Fe(e, "title"), r = Fe(e, "text"), i =
|
|
6316
|
-
|
|
6339
|
+
let t = Fe(e, "value"), n = Fe(e, "title"), r = Fe(e, "text"), i = dl(), a = kl(), o = N();
|
|
6340
|
+
ml(o);
|
|
6317
6341
|
let s = N();
|
|
6318
|
-
|
|
6342
|
+
gl(s), An(w(() => e.refContext.compId), o, s);
|
|
6319
6343
|
let c = De({});
|
|
6320
|
-
|
|
6321
|
-
let { sandbox: l } = Fn("elementSlot", a.value.basic.id, "title", "",
|
|
6344
|
+
vl(c);
|
|
6345
|
+
let { sandbox: l } = Fn("elementSlot", a.value.basic.id, "title", "", Tl(), o, s, c);
|
|
6322
6346
|
zn(l, a.value.basic.key, "value", t), zn(l, a.value.basic.key, "title", n), zn(l, a.value.basic.key, "text", r);
|
|
6323
6347
|
let { render: u } = Bn(e.refContext, i, s);
|
|
6324
6348
|
return (e, t) => (M(), T(I(u)));
|
|
@@ -6390,13 +6414,13 @@ var si = /* @__PURE__ */ k({
|
|
|
6390
6414
|
ee.value?.prev();
|
|
6391
6415
|
}), Dn(e.nodeId, "next", () => {
|
|
6392
6416
|
ee.value?.next();
|
|
6393
|
-
}), (n,
|
|
6394
|
-
let
|
|
6395
|
-
return M(), T(
|
|
6417
|
+
}), (n, C) => {
|
|
6418
|
+
let te = F("v-expansion-panel"), ne = F("v-expansion-panels");
|
|
6419
|
+
return M(), T(ne, {
|
|
6396
6420
|
ref_key: "target",
|
|
6397
6421
|
ref: ee,
|
|
6398
6422
|
modelValue: I(a),
|
|
6399
|
-
"onUpdate:modelValue":
|
|
6423
|
+
"onUpdate:modelValue": C[0] ||= (e) => j(a) ? a.value = e : null,
|
|
6400
6424
|
"bg-color": I(h),
|
|
6401
6425
|
class: "position-relative",
|
|
6402
6426
|
color: I(m),
|
|
@@ -6412,7 +6436,7 @@ var si = /* @__PURE__ */ k({
|
|
|
6412
6436
|
tile: I(f),
|
|
6413
6437
|
variant: I(u)
|
|
6414
6438
|
}, {
|
|
6415
|
-
default: L(() => [(M(!0), E(pe, null, ke(I(o), (t) => (M(), T(
|
|
6439
|
+
default: L(() => [(M(!0), E(pe, null, ke(I(o), (t) => (M(), T(te, {
|
|
6416
6440
|
key: t.value,
|
|
6417
6441
|
text: t.text,
|
|
6418
6442
|
title: t.title,
|
|
@@ -6580,27 +6604,27 @@ var si = /* @__PURE__ */ k({
|
|
|
6580
6604
|
"settings",
|
|
6581
6605
|
"style",
|
|
6582
6606
|
"reverse"
|
|
6583
|
-
]), { property:
|
|
6607
|
+
]), { property: C } = Y(t, [
|
|
6584
6608
|
"settings",
|
|
6585
6609
|
"style",
|
|
6586
6610
|
"tile"
|
|
6587
|
-
]), { property:
|
|
6611
|
+
]), { property: te } = Y(t, [
|
|
6588
6612
|
"settings",
|
|
6589
6613
|
"style",
|
|
6590
6614
|
"chip"
|
|
6591
|
-
]), { property:
|
|
6615
|
+
]), { property: ne } = Z(t, [
|
|
6592
6616
|
"settings",
|
|
6593
6617
|
"style",
|
|
6594
6618
|
"decoration",
|
|
6595
6619
|
"icon",
|
|
6596
6620
|
"prepend"
|
|
6597
|
-
]), { property:
|
|
6621
|
+
]), { property: re } = Z(t, [
|
|
6598
6622
|
"settings",
|
|
6599
6623
|
"style",
|
|
6600
6624
|
"decoration",
|
|
6601
6625
|
"icon",
|
|
6602
6626
|
"prependInner"
|
|
6603
|
-
]), { property:
|
|
6627
|
+
]), { property: ie } = Z(t, [
|
|
6604
6628
|
"settings",
|
|
6605
6629
|
"style",
|
|
6606
6630
|
"decoration",
|
|
@@ -6654,11 +6678,11 @@ var si = /* @__PURE__ */ k({
|
|
|
6654
6678
|
default: L(() => [O(pe, {
|
|
6655
6679
|
modelValue: I(a),
|
|
6656
6680
|
"onUpdate:modelValue": t[0] ||= (e) => j(a) ? a.value = e : null,
|
|
6657
|
-
"append-icon": I(
|
|
6681
|
+
"append-icon": I(ie),
|
|
6658
6682
|
"append-inner-icon": I(ae),
|
|
6659
6683
|
"base-color": I(ce),
|
|
6660
6684
|
"bg-color": I(se),
|
|
6661
|
-
chips: I(
|
|
6685
|
+
chips: I(te),
|
|
6662
6686
|
"clear-icon": I(u),
|
|
6663
6687
|
clearable: I(c),
|
|
6664
6688
|
color: I(oe),
|
|
@@ -6679,13 +6703,13 @@ var si = /* @__PURE__ */ k({
|
|
|
6679
6703
|
multiple: I(o),
|
|
6680
6704
|
"persistent-clear": I(l),
|
|
6681
6705
|
"persistent-hint": I(h),
|
|
6682
|
-
"prepend-icon": I(
|
|
6683
|
-
"prepend-inner-icon": I(
|
|
6706
|
+
"prepend-icon": I(ne),
|
|
6707
|
+
"prepend-inner-icon": I(re),
|
|
6684
6708
|
readonly: I(fe),
|
|
6685
6709
|
reverse: I(ee),
|
|
6686
6710
|
"show-size": I(f),
|
|
6687
6711
|
"single-line": I(S),
|
|
6688
|
-
tile: I(
|
|
6712
|
+
tile: I(C),
|
|
6689
6713
|
variant: I(b),
|
|
6690
6714
|
width: I(n)
|
|
6691
6715
|
}, null, 8, /* @__PURE__ */ "modelValue.append-icon.append-inner-icon.base-color.bg-color.chips.clear-icon.clearable.color.counter.density.disabled.error-messages.hide-details.hide-input.hint.icon-color.label.loading.max-errors.max-width.messages.min-width.multiple.persistent-clear.persistent-hint.prepend-icon.prepend-inner-icon.readonly.reverse.show-size.single-line.tile.variant.width".split("."))]),
|
|
@@ -6731,24 +6755,35 @@ var si = /* @__PURE__ */ k({
|
|
|
6731
6755
|
refContext: {}
|
|
6732
6756
|
},
|
|
6733
6757
|
setup(e) {
|
|
6734
|
-
let { node: t } = J(e.nodeId),
|
|
6758
|
+
let { node: t, validOfInlineSlot: n } = J(e.nodeId), r = $(), i = _l(), a = Tl(), o = Ie("target"), { property: s } = Y(t, ["settings", "fastFail"]), { applyWidth: c } = Q(t), { applyHeight: l } = Yn(t, e.outer), { applyMargin: u } = Xn(t), { applyPadding: d } = Zn(t), { applyBorder: f } = Jn(t), p = w(() => {
|
|
6735
6759
|
let e = {};
|
|
6736
|
-
return
|
|
6737
|
-
}),
|
|
6738
|
-
|
|
6760
|
+
return i.value?.type === "ui" && (c(e), l(e), u(e), d(e), f(e)), e;
|
|
6761
|
+
}), { property: m } = Rn(t.value.basic.id, t.value.basic.key, "runtime.isValid");
|
|
6762
|
+
Dn(e.nodeId, "reset", () => {
|
|
6763
|
+
R(r) && o.value?.reset();
|
|
6764
|
+
}), Dn(e.nodeId, "resetValidation", () => {
|
|
6765
|
+
R(r) && o.value?.resetValidation();
|
|
6766
|
+
}), Dn(e.nodeId, "validate", async ({ outputs: e }) => {
|
|
6767
|
+
R(r) && (e.valid = (await o.value?.validate())?.valid ?? !1);
|
|
6768
|
+
});
|
|
6769
|
+
let h = async () => {
|
|
6770
|
+
R(r) && await a?.triggerEvent(Gl("elementEvent", e.nodeId, "submit"), []);
|
|
6739
6771
|
};
|
|
6740
6772
|
return (e, t) => {
|
|
6741
|
-
let
|
|
6742
|
-
return M(), T(
|
|
6743
|
-
|
|
6744
|
-
|
|
6745
|
-
|
|
6746
|
-
|
|
6747
|
-
|
|
6748
|
-
|
|
6749
|
-
|
|
6750
|
-
|
|
6751
|
-
|
|
6773
|
+
let r = F("v-form");
|
|
6774
|
+
return M(), T(r, {
|
|
6775
|
+
ref_key: "target",
|
|
6776
|
+
ref: o,
|
|
6777
|
+
modelValue: I(m),
|
|
6778
|
+
"onUpdate:modelValue": t[0] ||= (e) => j(m) ? m.value = e : null,
|
|
6779
|
+
"fast-fail": I(s),
|
|
6780
|
+
style: Se(p.value),
|
|
6781
|
+
onSubmit: Be(h, ["prevent"])
|
|
6782
|
+
}, D({ _: 2 }, [I(n)("default") ? {
|
|
6783
|
+
name: "default",
|
|
6784
|
+
fn: L(() => [P(e.$slots, "default")]),
|
|
6785
|
+
key: "0"
|
|
6786
|
+
} : void 0]), 1032, [
|
|
6752
6787
|
"modelValue",
|
|
6753
6788
|
"fast-fail",
|
|
6754
6789
|
"style"
|
|
@@ -6759,7 +6794,7 @@ var si = /* @__PURE__ */ k({
|
|
|
6759
6794
|
__name: "wrapDefault",
|
|
6760
6795
|
props: { isHovering: { type: [Boolean, null] } },
|
|
6761
6796
|
setup(e) {
|
|
6762
|
-
let t =
|
|
6797
|
+
let t = kl(), { property: n } = Rn(t.value.basic.id, t.value.basic.key, "runtime.isHovering");
|
|
6763
6798
|
return Re(() => {
|
|
6764
6799
|
n.value = !!e.isHovering;
|
|
6765
6800
|
}), (e, t) => P(e.$slots, "default");
|
|
@@ -6880,7 +6915,7 @@ var si = /* @__PURE__ */ k({
|
|
|
6880
6915
|
refContext: {}
|
|
6881
6916
|
},
|
|
6882
6917
|
setup(e) {
|
|
6883
|
-
let { theme: t, node: n, validOfInlineSlot: r } = J(e.nodeId), i = $(), a =
|
|
6918
|
+
let { theme: t, node: n, validOfInlineSlot: r } = J(e.nodeId), i = $(), a = Tl(), { width: o, minWidth: s, maxWidth: c } = Q(n), { height: l, minHeight: u, maxHeight: d } = Yn(n, e.outer), { property: f } = Y(n, ["settings", "items"]), p = w(() => {
|
|
6884
6919
|
let e = [];
|
|
6885
6920
|
for (let { value: t, title: n, subtitle: r, decoration: i } of f.value) {
|
|
6886
6921
|
let a = {
|
|
@@ -6930,7 +6965,7 @@ var si = /* @__PURE__ */ k({
|
|
|
6930
6965
|
"disabled"
|
|
6931
6966
|
]);
|
|
6932
6967
|
async function x(t) {
|
|
6933
|
-
R(i) && await a?.triggerEvent(
|
|
6968
|
+
R(i) && await a?.triggerEvent(Gl("elementEvent", e.nodeId, "clickSelect"), [t.id]);
|
|
6934
6969
|
}
|
|
6935
6970
|
return (e, n) => {
|
|
6936
6971
|
let i = F("v-list");
|
|
@@ -7078,22 +7113,22 @@ var si = /* @__PURE__ */ k({
|
|
|
7078
7113
|
"detail",
|
|
7079
7114
|
"error",
|
|
7080
7115
|
"maxErrors"
|
|
7081
|
-
]), { property:
|
|
7116
|
+
]), { property: C } = Y(n, [
|
|
7082
7117
|
"settings",
|
|
7083
7118
|
"detail",
|
|
7084
7119
|
"counter",
|
|
7085
7120
|
"enable"
|
|
7086
|
-
]), { property:
|
|
7121
|
+
]), { property: te } = Y(n, [
|
|
7087
7122
|
"settings",
|
|
7088
7123
|
"detail",
|
|
7089
7124
|
"counter",
|
|
7090
7125
|
"max"
|
|
7091
|
-
]),
|
|
7126
|
+
]), ne = w(() => C.value ? te.value : !1), { property: re } = Y(n, [
|
|
7092
7127
|
"settings",
|
|
7093
7128
|
"detail",
|
|
7094
7129
|
"counter",
|
|
7095
7130
|
"persistent"
|
|
7096
|
-
]), { property:
|
|
7131
|
+
]), { property: ie } = Y(n, [
|
|
7097
7132
|
"settings",
|
|
7098
7133
|
"style",
|
|
7099
7134
|
"variant"
|
|
@@ -7183,12 +7218,12 @@ var si = /* @__PURE__ */ k({
|
|
|
7183
7218
|
"readonly"
|
|
7184
7219
|
]);
|
|
7185
7220
|
return (e, n) => {
|
|
7186
|
-
let
|
|
7221
|
+
let C = F("v-number-input");
|
|
7187
7222
|
return M(), T(I(q), {
|
|
7188
7223
|
block: "",
|
|
7189
7224
|
mask: ""
|
|
7190
7225
|
}, {
|
|
7191
|
-
default: L(() => [O(
|
|
7226
|
+
default: L(() => [O(C, {
|
|
7192
7227
|
modelValue: I(s),
|
|
7193
7228
|
"onUpdate:modelValue": n[0] ||= (e) => j(s) ? s.value = e : null,
|
|
7194
7229
|
"append-icon": I(pe),
|
|
@@ -7199,7 +7234,7 @@ var si = /* @__PURE__ */ k({
|
|
|
7199
7234
|
clearable: I(h),
|
|
7200
7235
|
color: I(E),
|
|
7201
7236
|
"control-variant": I(ae),
|
|
7202
|
-
counter:
|
|
7237
|
+
counter: ne.value,
|
|
7203
7238
|
density: I(oe),
|
|
7204
7239
|
disabled: I(_e),
|
|
7205
7240
|
"error-messages": I(S),
|
|
@@ -7215,7 +7250,7 @@ var si = /* @__PURE__ */ k({
|
|
|
7215
7250
|
min: I(l),
|
|
7216
7251
|
"min-width": I(a),
|
|
7217
7252
|
"persistent-clear": I(g),
|
|
7218
|
-
"persistent-counter": I(
|
|
7253
|
+
"persistent-counter": I(re),
|
|
7219
7254
|
"persistent-hint": I(b),
|
|
7220
7255
|
"persistent-placeholder": I(m),
|
|
7221
7256
|
placeholder: I(p),
|
|
@@ -7229,7 +7264,7 @@ var si = /* @__PURE__ */ k({
|
|
|
7229
7264
|
step: I(d),
|
|
7230
7265
|
suffix: I(ue),
|
|
7231
7266
|
theme: I(t),
|
|
7232
|
-
variant: I(
|
|
7267
|
+
variant: I(ie),
|
|
7233
7268
|
width: I(i)
|
|
7234
7269
|
}, D({ _: 2 }, [
|
|
7235
7270
|
I(r)("label") ? {
|
|
@@ -7609,16 +7644,16 @@ var si = /* @__PURE__ */ k({
|
|
|
7609
7644
|
"style",
|
|
7610
7645
|
"color",
|
|
7611
7646
|
"baseColor"
|
|
7612
|
-
]), { property:
|
|
7647
|
+
]), { property: C } = X(n, [
|
|
7613
7648
|
"settings",
|
|
7614
7649
|
"style",
|
|
7615
7650
|
"color",
|
|
7616
7651
|
"iconColor"
|
|
7617
|
-
]), { property:
|
|
7652
|
+
]), { property: te } = Y(n, [
|
|
7618
7653
|
"settings",
|
|
7619
7654
|
"misc",
|
|
7620
7655
|
"disabled"
|
|
7621
|
-
]), { property:
|
|
7656
|
+
]), { property: ne } = Y(n, [
|
|
7622
7657
|
"settings",
|
|
7623
7658
|
"misc",
|
|
7624
7659
|
"readonly"
|
|
@@ -7643,11 +7678,11 @@ var si = /* @__PURE__ */ k({
|
|
|
7643
7678
|
"base-color": I(ee),
|
|
7644
7679
|
color: I(S),
|
|
7645
7680
|
density: I(_),
|
|
7646
|
-
disabled: I(
|
|
7681
|
+
disabled: I(te),
|
|
7647
7682
|
"error-messages": I(h),
|
|
7648
7683
|
"hide-details": I(d),
|
|
7649
7684
|
hint: I(f),
|
|
7650
|
-
"icon-color": I(
|
|
7685
|
+
"icon-color": I(C),
|
|
7651
7686
|
inline: I(v),
|
|
7652
7687
|
label: I(u),
|
|
7653
7688
|
"max-errors": I(g),
|
|
@@ -7656,7 +7691,7 @@ var si = /* @__PURE__ */ k({
|
|
|
7656
7691
|
"min-width": I(s),
|
|
7657
7692
|
"persistent-hint": I(p),
|
|
7658
7693
|
"prepend-icon": I(b),
|
|
7659
|
-
readonly: I(
|
|
7694
|
+
readonly: I(ne),
|
|
7660
7695
|
ripple: I(y),
|
|
7661
7696
|
theme: I(t),
|
|
7662
7697
|
width: I(o)
|
|
@@ -7779,26 +7814,26 @@ var si = /* @__PURE__ */ k({
|
|
|
7779
7814
|
"settings",
|
|
7780
7815
|
"detail",
|
|
7781
7816
|
"hide"
|
|
7782
|
-
]), { property:
|
|
7817
|
+
]), { property: C } = Y(r, [
|
|
7783
7818
|
"settings",
|
|
7784
7819
|
"detail",
|
|
7785
7820
|
"hint",
|
|
7786
7821
|
"content"
|
|
7787
|
-
]), { property:
|
|
7822
|
+
]), { property: te } = Y(r, [
|
|
7788
7823
|
"settings",
|
|
7789
7824
|
"detail",
|
|
7790
7825
|
"hint",
|
|
7791
7826
|
"persistent"
|
|
7792
|
-
]), { property:
|
|
7827
|
+
]), { property: ne } = Y(r, [
|
|
7793
7828
|
"settings",
|
|
7794
7829
|
"detail",
|
|
7795
7830
|
"messages"
|
|
7796
|
-
]), { property:
|
|
7831
|
+
]), { property: re } = Y(r, [
|
|
7797
7832
|
"settings",
|
|
7798
7833
|
"detail",
|
|
7799
7834
|
"error",
|
|
7800
7835
|
"errorMessages"
|
|
7801
|
-
]), { property:
|
|
7836
|
+
]), { property: ie } = Y(r, [
|
|
7802
7837
|
"settings",
|
|
7803
7838
|
"detail",
|
|
7804
7839
|
"error",
|
|
@@ -7890,18 +7925,18 @@ var si = /* @__PURE__ */ k({
|
|
|
7890
7925
|
direction: I(oe),
|
|
7891
7926
|
disabled: I(ge),
|
|
7892
7927
|
elevation: I(ce),
|
|
7893
|
-
"error-messages": I(
|
|
7928
|
+
"error-messages": I(re),
|
|
7894
7929
|
"hide-details": I(ee),
|
|
7895
|
-
hint: I(
|
|
7930
|
+
hint: I(C),
|
|
7896
7931
|
"icon-color": I(D),
|
|
7897
7932
|
label: I(p),
|
|
7898
7933
|
max: I(d),
|
|
7899
|
-
"max-errors": I(
|
|
7934
|
+
"max-errors": I(ie),
|
|
7900
7935
|
"max-width": I(o),
|
|
7901
|
-
messages: I(
|
|
7936
|
+
messages: I(ne),
|
|
7902
7937
|
min: I(u),
|
|
7903
7938
|
"min-width": I(a),
|
|
7904
|
-
"persistent-hint": I(
|
|
7939
|
+
"persistent-hint": I(te),
|
|
7905
7940
|
"prepend-icon": I(ue),
|
|
7906
7941
|
readonly: I(k),
|
|
7907
7942
|
reverse: I(se),
|
|
@@ -8078,24 +8113,24 @@ var si = /* @__PURE__ */ k({
|
|
|
8078
8113
|
"detail",
|
|
8079
8114
|
"counter",
|
|
8080
8115
|
"max"
|
|
8081
|
-
]), ee = w(() => x.value ? S.value : !1), { property:
|
|
8116
|
+
]), ee = w(() => x.value ? S.value : !1), { property: C } = Y(n, [
|
|
8082
8117
|
"settings",
|
|
8083
8118
|
"detail",
|
|
8084
8119
|
"counter",
|
|
8085
8120
|
"persistent"
|
|
8086
|
-
]), { property:
|
|
8121
|
+
]), { property: te } = Y(n, [
|
|
8087
8122
|
"settings",
|
|
8088
8123
|
"style",
|
|
8089
8124
|
"variant"
|
|
8090
|
-
]), { property:
|
|
8125
|
+
]), { property: ne } = Y(n, [
|
|
8091
8126
|
"settings",
|
|
8092
8127
|
"style",
|
|
8093
8128
|
"density"
|
|
8094
|
-
]), { property:
|
|
8129
|
+
]), { property: re } = Y(n, [
|
|
8095
8130
|
"settings",
|
|
8096
8131
|
"style",
|
|
8097
8132
|
"reverse"
|
|
8098
|
-
]), { property:
|
|
8133
|
+
]), { property: ie } = Y(n, [
|
|
8099
8134
|
"settings",
|
|
8100
8135
|
"style",
|
|
8101
8136
|
"singleLine"
|
|
@@ -8197,7 +8232,7 @@ var si = /* @__PURE__ */ k({
|
|
|
8197
8232
|
"closable-chips": I(oe),
|
|
8198
8233
|
color: I(pe),
|
|
8199
8234
|
counter: ee.value,
|
|
8200
|
-
density: I(
|
|
8235
|
+
density: I(ne),
|
|
8201
8236
|
disabled: I(ge),
|
|
8202
8237
|
"error-messages": I(y),
|
|
8203
8238
|
"hide-details": I(h),
|
|
@@ -8212,7 +8247,7 @@ var si = /* @__PURE__ */ k({
|
|
|
8212
8247
|
"min-width": I(i),
|
|
8213
8248
|
multiple: I(c),
|
|
8214
8249
|
"persistent-clear": I(p),
|
|
8215
|
-
"persistent-counter": I(
|
|
8250
|
+
"persistent-counter": I(C),
|
|
8216
8251
|
"persistent-hint": I(_),
|
|
8217
8252
|
"persistent-placeholder": I(d),
|
|
8218
8253
|
placeholder: I(u),
|
|
@@ -8220,11 +8255,11 @@ var si = /* @__PURE__ */ k({
|
|
|
8220
8255
|
"prepend-icon": I(le),
|
|
8221
8256
|
"prepend-inner-icon": I(ue),
|
|
8222
8257
|
readonly: I(k),
|
|
8223
|
-
reverse: I(
|
|
8224
|
-
"single-line": I(
|
|
8258
|
+
reverse: I(re),
|
|
8259
|
+
"single-line": I(ie),
|
|
8225
8260
|
suffix: I(ce),
|
|
8226
8261
|
theme: I(t),
|
|
8227
|
-
variant: I(
|
|
8262
|
+
variant: I(te),
|
|
8228
8263
|
width: I(r)
|
|
8229
8264
|
}, null, 8, /* @__PURE__ */ "modelValue.append-icon.append-inner-icon.base-color.bg-color.chips.clear-icon.clearable.closable-chips.color.counter.density.disabled.error-messages.hide-details.hint.icon-color.items.label.loading.max-errors.max-width.messages.min-width.multiple.persistent-clear.persistent-counter.persistent-hint.persistent-placeholder.placeholder.prefix.prepend-icon.prepend-inner-icon.readonly.reverse.single-line.suffix.theme.variant.width".split("."))]),
|
|
8230
8265
|
_: 1
|
|
@@ -8367,25 +8402,25 @@ var Ii = /* @__PURE__ */ sr(Pi, [["render", Fi]]), Li = /* @__PURE__ */ k({
|
|
|
8367
8402
|
"detail",
|
|
8368
8403
|
"hint",
|
|
8369
8404
|
"persistent"
|
|
8370
|
-
]), { property:
|
|
8405
|
+
]), { property: C } = Y(r, [
|
|
8371
8406
|
"settings",
|
|
8372
8407
|
"detail",
|
|
8373
8408
|
"messages"
|
|
8374
|
-
]), { property:
|
|
8409
|
+
]), { property: te } = Y(r, [
|
|
8375
8410
|
"settings",
|
|
8376
8411
|
"detail",
|
|
8377
8412
|
"error",
|
|
8378
8413
|
"errorMessages"
|
|
8379
|
-
]), { property:
|
|
8414
|
+
]), { property: ne } = Y(r, [
|
|
8380
8415
|
"settings",
|
|
8381
8416
|
"detail",
|
|
8382
8417
|
"error",
|
|
8383
8418
|
"maxErrors"
|
|
8384
|
-
]), { property:
|
|
8419
|
+
]), { property: re } = Y(r, [
|
|
8385
8420
|
"settings",
|
|
8386
8421
|
"style",
|
|
8387
8422
|
"density"
|
|
8388
|
-
]), { property:
|
|
8423
|
+
]), { property: ie } = Y(r, [
|
|
8389
8424
|
"settings",
|
|
8390
8425
|
"style",
|
|
8391
8426
|
"direction"
|
|
@@ -8464,19 +8499,19 @@ var Ii = /* @__PURE__ */ sr(Pi, [["render", Fi]]), Li = /* @__PURE__ */ k({
|
|
|
8464
8499
|
"append-icon": I(le),
|
|
8465
8500
|
"base-color": I(de),
|
|
8466
8501
|
color: I(ue),
|
|
8467
|
-
density: I(
|
|
8468
|
-
direction: I(
|
|
8502
|
+
density: I(re),
|
|
8503
|
+
direction: I(ie),
|
|
8469
8504
|
disabled: I(he),
|
|
8470
8505
|
elevation: I(oe),
|
|
8471
|
-
"error-messages": I(
|
|
8506
|
+
"error-messages": I(te),
|
|
8472
8507
|
"hide-details": I(x),
|
|
8473
8508
|
hint: I(S),
|
|
8474
8509
|
"icon-color": I(E),
|
|
8475
8510
|
label: I(d),
|
|
8476
8511
|
max: I(l),
|
|
8477
|
-
"max-errors": I(
|
|
8512
|
+
"max-errors": I(ne),
|
|
8478
8513
|
"max-width": I(o),
|
|
8479
|
-
messages: I(
|
|
8514
|
+
messages: I(C),
|
|
8480
8515
|
min: I(c),
|
|
8481
8516
|
"min-width": I(a),
|
|
8482
8517
|
"persistent-hint": I(ee),
|
|
@@ -8509,13 +8544,13 @@ var Ii = /* @__PURE__ */ sr(Pi, [["render", Fi]]), Li = /* @__PURE__ */ k({
|
|
|
8509
8544
|
}),
|
|
8510
8545
|
emits: ["update:open"],
|
|
8511
8546
|
setup(e) {
|
|
8512
|
-
let t = Fe(e, "open"), n =
|
|
8513
|
-
|
|
8547
|
+
let t = Fe(e, "open"), n = dl(), r = kl(), i = N();
|
|
8548
|
+
ml(i);
|
|
8514
8549
|
let a = N();
|
|
8515
|
-
|
|
8550
|
+
gl(a), An(w(() => e.refContext.compId), i, a);
|
|
8516
8551
|
let o = De({});
|
|
8517
|
-
|
|
8518
|
-
let { sandbox: s } = Fn("elementSlot", r.value.basic.id, "content", "",
|
|
8552
|
+
vl(o);
|
|
8553
|
+
let { sandbox: s } = Fn("elementSlot", r.value.basic.id, "content", "", Tl(), i, a, o);
|
|
8519
8554
|
zn(s, r.value.basic.key, "open", t);
|
|
8520
8555
|
let { render: c } = Bn(e.refContext, n, a);
|
|
8521
8556
|
return (e, t) => (M(), T(I(c)));
|
|
@@ -8699,22 +8734,22 @@ var Ji = /* @__PURE__ */ sr(Ki, [["render", qi]]), Yi = /* @__PURE__ */ k({
|
|
|
8699
8734
|
"settings",
|
|
8700
8735
|
"misc",
|
|
8701
8736
|
"loading"
|
|
8702
|
-
]), { property:
|
|
8737
|
+
]), { property: C } = Y(n, [
|
|
8703
8738
|
"settings",
|
|
8704
8739
|
"misc",
|
|
8705
8740
|
"disabled"
|
|
8706
|
-
]), { property:
|
|
8741
|
+
]), { property: te } = Y(n, [
|
|
8707
8742
|
"settings",
|
|
8708
8743
|
"misc",
|
|
8709
8744
|
"readonly"
|
|
8710
8745
|
]);
|
|
8711
8746
|
return (e, n) => {
|
|
8712
|
-
let
|
|
8747
|
+
let ne = F("v-switch");
|
|
8713
8748
|
return M(), T(I(q), {
|
|
8714
8749
|
block: "",
|
|
8715
8750
|
mask: ""
|
|
8716
8751
|
}, {
|
|
8717
|
-
default: L(() => [O(
|
|
8752
|
+
default: L(() => [O(ne, {
|
|
8718
8753
|
modelValue: I(s),
|
|
8719
8754
|
"onUpdate:modelValue": n[0] ||= (e) => j(s) ? s.value = e : null,
|
|
8720
8755
|
indeterminate: I(c),
|
|
@@ -8724,7 +8759,7 @@ var Ji = /* @__PURE__ */ sr(Ki, [["render", qi]]), Yi = /* @__PURE__ */ k({
|
|
|
8724
8759
|
color: I(b),
|
|
8725
8760
|
density: I(m),
|
|
8726
8761
|
direction: I(h),
|
|
8727
|
-
disabled: I(
|
|
8762
|
+
disabled: I(C),
|
|
8728
8763
|
"hide-details": I(u),
|
|
8729
8764
|
hint: I(d),
|
|
8730
8765
|
"icon-color": I(S),
|
|
@@ -8737,7 +8772,7 @@ var Ji = /* @__PURE__ */ sr(Ki, [["render", qi]]), Yi = /* @__PURE__ */ k({
|
|
|
8737
8772
|
"min-width": I(a),
|
|
8738
8773
|
"persistent-hint": I(f),
|
|
8739
8774
|
"prepend-icon": I(v),
|
|
8740
|
-
readonly: I(
|
|
8775
|
+
readonly: I(te),
|
|
8741
8776
|
theme: I(t),
|
|
8742
8777
|
width: I(i)
|
|
8743
8778
|
}, D({ _: 2 }, [
|
|
@@ -9094,20 +9129,20 @@ var pa = /* @__PURE__ */ sr(da, [["render", fa]]), ma = /* @__PURE__ */ k({
|
|
|
9094
9129
|
"detail",
|
|
9095
9130
|
"counter",
|
|
9096
9131
|
"max"
|
|
9097
|
-
]),
|
|
9132
|
+
]), C = w(() => S.value ? ee.value : !1), { property: te } = Y(n, [
|
|
9098
9133
|
"settings",
|
|
9099
9134
|
"detail",
|
|
9100
9135
|
"counter",
|
|
9101
9136
|
"persistent"
|
|
9102
|
-
]), { property:
|
|
9137
|
+
]), { property: ne } = Y(n, [
|
|
9103
9138
|
"settings",
|
|
9104
9139
|
"style",
|
|
9105
9140
|
"variant"
|
|
9106
|
-
]), { property:
|
|
9141
|
+
]), { property: re } = Y(n, [
|
|
9107
9142
|
"settings",
|
|
9108
9143
|
"style",
|
|
9109
9144
|
"density"
|
|
9110
|
-
]), { property:
|
|
9145
|
+
]), { property: ie } = Y(n, [
|
|
9111
9146
|
"settings",
|
|
9112
9147
|
"style",
|
|
9113
9148
|
"reverse"
|
|
@@ -9234,8 +9269,8 @@ var pa = /* @__PURE__ */ sr(da, [["render", fa]]), ma = /* @__PURE__ */ k({
|
|
|
9234
9269
|
"clear-icon": I(h),
|
|
9235
9270
|
clearable: I(p),
|
|
9236
9271
|
color: I(E),
|
|
9237
|
-
counter:
|
|
9238
|
-
density: I(
|
|
9272
|
+
counter: C.value,
|
|
9273
|
+
density: I(re),
|
|
9239
9274
|
disabled: I(A),
|
|
9240
9275
|
"error-messages": I(b),
|
|
9241
9276
|
"hide-details": I(g),
|
|
@@ -9249,7 +9284,7 @@ var pa = /* @__PURE__ */ sr(da, [["render", fa]]), ma = /* @__PURE__ */ k({
|
|
|
9249
9284
|
messages: I(y),
|
|
9250
9285
|
"min-width": I(s),
|
|
9251
9286
|
"persistent-clear": I(m),
|
|
9252
|
-
"persistent-counter": I(
|
|
9287
|
+
"persistent-counter": I(te),
|
|
9253
9288
|
"persistent-hint": I(v),
|
|
9254
9289
|
"persistent-placeholder": I(f),
|
|
9255
9290
|
placeholder: I(d),
|
|
@@ -9257,12 +9292,12 @@ var pa = /* @__PURE__ */ sr(da, [["render", fa]]), ma = /* @__PURE__ */ k({
|
|
|
9257
9292
|
"prepend-icon": I(de),
|
|
9258
9293
|
"prepend-inner-icon": I(fe),
|
|
9259
9294
|
readonly: I(_e),
|
|
9260
|
-
reverse: I(
|
|
9295
|
+
reverse: I(ie),
|
|
9261
9296
|
rows: I(oe),
|
|
9262
9297
|
"single-line": I(ae),
|
|
9263
9298
|
suffix: I(ue),
|
|
9264
9299
|
theme: I(t),
|
|
9265
|
-
variant: I(
|
|
9300
|
+
variant: I(ne),
|
|
9266
9301
|
width: I(o)
|
|
9267
9302
|
}, D({ _: 2 }, [
|
|
9268
9303
|
I(r)("label") ? {
|
|
@@ -9401,21 +9436,21 @@ var pa = /* @__PURE__ */ sr(da, [["render", fa]]), ma = /* @__PURE__ */ k({
|
|
|
9401
9436
|
"detail",
|
|
9402
9437
|
"counter",
|
|
9403
9438
|
"enable"
|
|
9404
|
-
]), { property:
|
|
9439
|
+
]), { property: C } = Y(n, [
|
|
9405
9440
|
"settings",
|
|
9406
9441
|
"detail",
|
|
9407
9442
|
"counter",
|
|
9408
9443
|
"max"
|
|
9409
|
-
]),
|
|
9444
|
+
]), te = w(() => ee.value ? C.value : !1), { property: ne } = Y(n, [
|
|
9410
9445
|
"settings",
|
|
9411
9446
|
"detail",
|
|
9412
9447
|
"counter",
|
|
9413
9448
|
"persistent"
|
|
9414
|
-
]), { property:
|
|
9449
|
+
]), { property: re } = Y(n, [
|
|
9415
9450
|
"settings",
|
|
9416
9451
|
"style",
|
|
9417
9452
|
"variant"
|
|
9418
|
-
]), { property:
|
|
9453
|
+
]), { property: ie } = Y(n, [
|
|
9419
9454
|
"settings",
|
|
9420
9455
|
"style",
|
|
9421
9456
|
"density"
|
|
@@ -9530,8 +9565,8 @@ var pa = /* @__PURE__ */ sr(da, [["render", fa]]), ma = /* @__PURE__ */ k({
|
|
|
9530
9565
|
"clear-icon": I(g),
|
|
9531
9566
|
clearable: I(m),
|
|
9532
9567
|
color: I(pe),
|
|
9533
|
-
counter:
|
|
9534
|
-
density: I(
|
|
9568
|
+
counter: te.value,
|
|
9569
|
+
density: I(ie),
|
|
9535
9570
|
disabled: I(O),
|
|
9536
9571
|
"error-messages": I(x),
|
|
9537
9572
|
"hide-details": I(_),
|
|
@@ -9544,7 +9579,7 @@ var pa = /* @__PURE__ */ sr(da, [["render", fa]]), ma = /* @__PURE__ */ k({
|
|
|
9544
9579
|
messages: I(b),
|
|
9545
9580
|
"min-width": I(c),
|
|
9546
9581
|
"persistent-clear": I(h),
|
|
9547
|
-
"persistent-counter": I(
|
|
9582
|
+
"persistent-counter": I(ne),
|
|
9548
9583
|
"persistent-hint": I(y),
|
|
9549
9584
|
"persistent-placeholder": I(p),
|
|
9550
9585
|
placeholder: I(f),
|
|
@@ -9556,7 +9591,7 @@ var pa = /* @__PURE__ */ sr(da, [["render", fa]]), ma = /* @__PURE__ */ k({
|
|
|
9556
9591
|
"single-line": I(oe),
|
|
9557
9592
|
suffix: I(ce),
|
|
9558
9593
|
theme: I(t),
|
|
9559
|
-
variant: I(
|
|
9594
|
+
variant: I(re),
|
|
9560
9595
|
width: I(s)
|
|
9561
9596
|
}), D({ _: 2 }, [
|
|
9562
9597
|
I(r)("default") ? {
|
|
@@ -11250,6 +11285,13 @@ var Co = {
|
|
|
11250
11285
|
name: "x-runtime-lib.readonly",
|
|
11251
11286
|
ui: "switch",
|
|
11252
11287
|
default: !1
|
|
11288
|
+
},
|
|
11289
|
+
{
|
|
11290
|
+
key: "type",
|
|
11291
|
+
name: "x-runtime-lib.type",
|
|
11292
|
+
ui: "select",
|
|
11293
|
+
items: "btnTypeItemsV1",
|
|
11294
|
+
default: "button"
|
|
11253
11295
|
}
|
|
11254
11296
|
]
|
|
11255
11297
|
}
|
|
@@ -13052,23 +13094,24 @@ function Yo(e, t) {
|
|
|
13052
13094
|
//#endregion
|
|
13053
13095
|
//#region src/element/ui/dialog/v1/spawn2.ts
|
|
13054
13096
|
function Xo(e, t) {
|
|
13055
|
-
let { n } = H(e, t);
|
|
13097
|
+
let { n, nodeIds: r } = H(e, t);
|
|
13056
13098
|
return {
|
|
13057
|
-
nodePairs: [n("ui_dialog_v1", [])],
|
|
13058
|
-
|
|
13059
|
-
|
|
13060
|
-
|
|
13061
|
-
|
|
13062
|
-
|
|
13063
|
-
|
|
13064
|
-
|
|
13065
|
-
|
|
13066
|
-
|
|
13067
|
-
|
|
13068
|
-
|
|
13069
|
-
|
|
13070
|
-
|
|
13071
|
-
|
|
13099
|
+
nodePairs: [n("ui_dialog_v1", [n("inline_slot_v1", [n("ui_activator_v1", [n("ui_btn_v1", void 0, { "settings.text": "dialog" })])], { "settings.value": "activator" }), n("inline_slot_v1", [n("ui_sheet_v1", [n("ui_container_v1", [n("ui_sheet_v1", [], { "size.height": "48px" })], {
|
|
13100
|
+
"size.width": "50%",
|
|
13101
|
+
"size.height": "100%",
|
|
13102
|
+
"margin.left": "auto",
|
|
13103
|
+
"margin.right": "auto"
|
|
13104
|
+
})], {
|
|
13105
|
+
"size.width": "100%",
|
|
13106
|
+
"size.height": "100%",
|
|
13107
|
+
"settings.color": "bg0"
|
|
13108
|
+
})], { "settings.value": "default" })], {
|
|
13109
|
+
"basic.alias": "dialog",
|
|
13110
|
+
"size.maxWidth": "500px",
|
|
13111
|
+
"size.settings.fullscreen": !0
|
|
13112
|
+
})],
|
|
13113
|
+
blockStates: [],
|
|
13114
|
+
nodeIds: r
|
|
13072
13115
|
};
|
|
13073
13116
|
}
|
|
13074
13117
|
//#endregion
|
|
@@ -13076,12 +13119,81 @@ function Xo(e, t) {
|
|
|
13076
13119
|
var Zo = {
|
|
13077
13120
|
key: "settings",
|
|
13078
13121
|
name: "x-runtime-lib.settings",
|
|
13079
|
-
children: [
|
|
13080
|
-
|
|
13081
|
-
|
|
13082
|
-
|
|
13083
|
-
|
|
13084
|
-
|
|
13122
|
+
children: [
|
|
13123
|
+
{
|
|
13124
|
+
key: "open",
|
|
13125
|
+
name: "x-runtime-lib.open",
|
|
13126
|
+
children: [{
|
|
13127
|
+
key: "on",
|
|
13128
|
+
name: "x-runtime-lib.on",
|
|
13129
|
+
children: [
|
|
13130
|
+
{
|
|
13131
|
+
key: "click",
|
|
13132
|
+
name: "x-runtime-lib.click",
|
|
13133
|
+
ui: "switch",
|
|
13134
|
+
default: !1
|
|
13135
|
+
},
|
|
13136
|
+
{
|
|
13137
|
+
key: "focus",
|
|
13138
|
+
name: "x-runtime-lib.focus",
|
|
13139
|
+
ui: "switch",
|
|
13140
|
+
default: !1
|
|
13141
|
+
},
|
|
13142
|
+
{
|
|
13143
|
+
key: "hover",
|
|
13144
|
+
name: "x-runtime-lib.hover",
|
|
13145
|
+
ui: "switch",
|
|
13146
|
+
default: !1
|
|
13147
|
+
}
|
|
13148
|
+
]
|
|
13149
|
+
}, {
|
|
13150
|
+
key: "delay",
|
|
13151
|
+
name: "x-runtime-lib.delay",
|
|
13152
|
+
ui: "number",
|
|
13153
|
+
default: 0
|
|
13154
|
+
}]
|
|
13155
|
+
},
|
|
13156
|
+
{
|
|
13157
|
+
key: "close",
|
|
13158
|
+
name: "x-runtime-lib.close",
|
|
13159
|
+
children: [{
|
|
13160
|
+
key: "on",
|
|
13161
|
+
name: "x-runtime-lib.on",
|
|
13162
|
+
children: [{
|
|
13163
|
+
key: "contentClick",
|
|
13164
|
+
name: "x-runtime-lib.contentClick",
|
|
13165
|
+
ui: "switch",
|
|
13166
|
+
default: !1
|
|
13167
|
+
}]
|
|
13168
|
+
}, {
|
|
13169
|
+
key: "delay",
|
|
13170
|
+
name: "x-runtime-lib.delay",
|
|
13171
|
+
ui: "number",
|
|
13172
|
+
default: 0
|
|
13173
|
+
}]
|
|
13174
|
+
},
|
|
13175
|
+
{
|
|
13176
|
+
key: "fullscreen",
|
|
13177
|
+
name: "x-runtime-lib.fullscreen",
|
|
13178
|
+
ui: "switch",
|
|
13179
|
+
default: !1
|
|
13180
|
+
},
|
|
13181
|
+
{
|
|
13182
|
+
key: "misc",
|
|
13183
|
+
name: "x-runtime-lib.misc",
|
|
13184
|
+
children: [{
|
|
13185
|
+
key: "eager",
|
|
13186
|
+
name: "x-runtime-lib.eager",
|
|
13187
|
+
ui: "switch",
|
|
13188
|
+
default: !1
|
|
13189
|
+
}, {
|
|
13190
|
+
key: "disabled",
|
|
13191
|
+
name: "x-runtime-lib.disabled",
|
|
13192
|
+
ui: "switch",
|
|
13193
|
+
default: !1
|
|
13194
|
+
}]
|
|
13195
|
+
}
|
|
13196
|
+
]
|
|
13085
13197
|
}, Qo = {
|
|
13086
13198
|
key: "runtime",
|
|
13087
13199
|
name: "x-runtime-lib.runtime",
|
|
@@ -13911,8 +14023,56 @@ B({
|
|
|
13911
14023
|
//#endregion
|
|
13912
14024
|
//#region src/element/ui/form/v1/spawn.ts
|
|
13913
14025
|
function us(e, t) {
|
|
13914
|
-
let { n } = H(e, t);
|
|
13915
|
-
return {
|
|
14026
|
+
let { n, nodeIds: r } = H(e, t);
|
|
14027
|
+
return {
|
|
14028
|
+
nodePairs: [n("ui_form_v1", [
|
|
14029
|
+
n("ui_text_field_v1", void 0, {
|
|
14030
|
+
"basic.alias": "username",
|
|
14031
|
+
"settings.main.label": "username"
|
|
14032
|
+
}),
|
|
14033
|
+
n("ui_text_field_v1", void 0, {
|
|
14034
|
+
"basic.alias": "password",
|
|
14035
|
+
"settings.main.label": "password"
|
|
14036
|
+
}),
|
|
14037
|
+
n("ui_btn_v1", void 0, {
|
|
14038
|
+
"settings.text": "reset",
|
|
14039
|
+
"settings.style.block": !0,
|
|
14040
|
+
"settings.misc.type": "reset"
|
|
14041
|
+
}),
|
|
14042
|
+
n("ui_btn_v1", void 0, {
|
|
14043
|
+
"settings.text": "submit",
|
|
14044
|
+
"settings.style.block": !0,
|
|
14045
|
+
"settings.misc.type": "submit"
|
|
14046
|
+
})
|
|
14047
|
+
], { "basic.alias": "form" })],
|
|
14048
|
+
blockStates: [{
|
|
14049
|
+
type: "on_app_event_v1",
|
|
14050
|
+
binds: ["form", "elementEvent/placeholder/submit"],
|
|
14051
|
+
inputs: { HANDLE: { block: {
|
|
14052
|
+
type: "popup_message_v1",
|
|
14053
|
+
fields: { type: "info" },
|
|
14054
|
+
inputs: { TEXT: { block: {
|
|
14055
|
+
type: "object_create_v1",
|
|
14056
|
+
extraState: { itemCount: 2 },
|
|
14057
|
+
fields: {
|
|
14058
|
+
KEY0: "username",
|
|
14059
|
+
KEY1: "password"
|
|
14060
|
+
},
|
|
14061
|
+
inputs: {
|
|
14062
|
+
ADD0: { block: {
|
|
14063
|
+
type: "get_app_property_v1",
|
|
14064
|
+
binds: ["username", "elementProperty/placeholder/settings.value"]
|
|
14065
|
+
} },
|
|
14066
|
+
ADD1: { block: {
|
|
14067
|
+
type: "get_app_property_v1",
|
|
14068
|
+
binds: ["password", "elementProperty/placeholder/settings.value"]
|
|
14069
|
+
} }
|
|
14070
|
+
}
|
|
14071
|
+
} } }
|
|
14072
|
+
} } }
|
|
14073
|
+
}],
|
|
14074
|
+
nodeIds: r
|
|
14075
|
+
};
|
|
13916
14076
|
}
|
|
13917
14077
|
//#endregion
|
|
13918
14078
|
//#region src/element/ui/form/v1/index.ts
|
|
@@ -13920,17 +14080,22 @@ var ds = {
|
|
|
13920
14080
|
key: "settings",
|
|
13921
14081
|
name: "x-runtime-lib.settings",
|
|
13922
14082
|
children: [{
|
|
13923
|
-
key: "valid",
|
|
13924
|
-
name: "x-runtime-lib.valid",
|
|
13925
|
-
readonly: !0,
|
|
13926
|
-
ui: "dummy",
|
|
13927
|
-
default: !1
|
|
13928
|
-
}, {
|
|
13929
14083
|
key: "fastFail",
|
|
13930
14084
|
name: "x-runtime-lib.fastFail",
|
|
13931
14085
|
ui: "switch",
|
|
13932
14086
|
default: !1
|
|
13933
14087
|
}]
|
|
14088
|
+
}, fs = {
|
|
14089
|
+
key: "runtime",
|
|
14090
|
+
name: "x-runtime-lib.runtime",
|
|
14091
|
+
children: [{
|
|
14092
|
+
key: "isValid",
|
|
14093
|
+
name: "x-runtime-lib.isValid",
|
|
14094
|
+
ui: "transient",
|
|
14095
|
+
type: "boolean",
|
|
14096
|
+
default: !1,
|
|
14097
|
+
readonly: !0
|
|
14098
|
+
}]
|
|
13934
14099
|
};
|
|
13935
14100
|
B({
|
|
13936
14101
|
key: "ui_form_v1",
|
|
@@ -13943,7 +14108,8 @@ B({
|
|
|
13943
14108
|
un,
|
|
13944
14109
|
pn,
|
|
13945
14110
|
mn,
|
|
13946
|
-
ds
|
|
14111
|
+
ds,
|
|
14112
|
+
fs
|
|
13947
14113
|
],
|
|
13948
14114
|
compUi: [
|
|
13949
14115
|
W,
|
|
@@ -13951,9 +14117,29 @@ B({
|
|
|
13951
14117
|
un,
|
|
13952
14118
|
pn,
|
|
13953
14119
|
mn,
|
|
13954
|
-
ds
|
|
14120
|
+
ds,
|
|
14121
|
+
fs
|
|
13955
14122
|
]
|
|
13956
14123
|
},
|
|
14124
|
+
methods: [
|
|
14125
|
+
{
|
|
14126
|
+
key: "reset",
|
|
14127
|
+
name: "x-runtime-lib.reset"
|
|
14128
|
+
},
|
|
14129
|
+
{
|
|
14130
|
+
key: "resetValidation",
|
|
14131
|
+
name: "x-runtime-lib.resetValidation"
|
|
14132
|
+
},
|
|
14133
|
+
{
|
|
14134
|
+
key: "validate",
|
|
14135
|
+
name: "x-runtime-lib.validate",
|
|
14136
|
+
outputs: [{
|
|
14137
|
+
key: "valid",
|
|
14138
|
+
name: "x-runtime-lib.valid",
|
|
14139
|
+
type: "boolean"
|
|
14140
|
+
}]
|
|
14141
|
+
}
|
|
14142
|
+
],
|
|
13957
14143
|
events: [{
|
|
13958
14144
|
key: "submit",
|
|
13959
14145
|
name: "x-runtime-lib.submit"
|
|
@@ -13963,7 +14149,7 @@ B({
|
|
|
13963
14149
|
});
|
|
13964
14150
|
//#endregion
|
|
13965
14151
|
//#region src/element/ui/hover/v1/spawn.ts
|
|
13966
|
-
function
|
|
14152
|
+
function ps(e, t) {
|
|
13967
14153
|
let { n, nodeIds: r } = H(e, t);
|
|
13968
14154
|
return {
|
|
13969
14155
|
nodePairs: [n("ui_hover_v1", [n("ui_activator_v1", [n("ui_card_v1", void 0, {
|
|
@@ -14008,7 +14194,7 @@ function fs(e, t) {
|
|
|
14008
14194
|
}
|
|
14009
14195
|
//#endregion
|
|
14010
14196
|
//#region src/element/ui/hover/v1/index.ts
|
|
14011
|
-
var
|
|
14197
|
+
var ms = {
|
|
14012
14198
|
key: "settings",
|
|
14013
14199
|
name: "x-runtime-lib.settings",
|
|
14014
14200
|
children: [
|
|
@@ -14035,7 +14221,7 @@ var ps = {
|
|
|
14035
14221
|
}]
|
|
14036
14222
|
}
|
|
14037
14223
|
]
|
|
14038
|
-
},
|
|
14224
|
+
}, hs = {
|
|
14039
14225
|
key: "runtime",
|
|
14040
14226
|
name: "x-runtime-lib.runtime",
|
|
14041
14227
|
children: [{
|
|
@@ -14054,27 +14240,27 @@ B({
|
|
|
14054
14240
|
properties: {
|
|
14055
14241
|
pageUi: [
|
|
14056
14242
|
W,
|
|
14057
|
-
|
|
14058
|
-
|
|
14243
|
+
ms,
|
|
14244
|
+
hs
|
|
14059
14245
|
],
|
|
14060
14246
|
compUi: [
|
|
14061
14247
|
W,
|
|
14062
|
-
|
|
14063
|
-
|
|
14248
|
+
ms,
|
|
14249
|
+
hs
|
|
14064
14250
|
]
|
|
14065
14251
|
},
|
|
14066
14252
|
inlineSlots: ["default"],
|
|
14067
|
-
spawn:
|
|
14253
|
+
spawn: ps
|
|
14068
14254
|
});
|
|
14069
14255
|
//#endregion
|
|
14070
14256
|
//#region src/element/ui/icon/v1/spawn.ts
|
|
14071
|
-
function
|
|
14257
|
+
function gs(e, t) {
|
|
14072
14258
|
let { n } = H(e, t);
|
|
14073
14259
|
return { nodePairs: [n("ui_icon_v1", void 0, { "settings.icon": "mdi-home" })] };
|
|
14074
14260
|
}
|
|
14075
14261
|
//#endregion
|
|
14076
14262
|
//#region src/element/ui/icon/v1/index.ts
|
|
14077
|
-
var
|
|
14263
|
+
var _s = {
|
|
14078
14264
|
key: "settings",
|
|
14079
14265
|
name: "x-runtime-lib.settings",
|
|
14080
14266
|
children: [
|
|
@@ -14111,20 +14297,20 @@ B({
|
|
|
14111
14297
|
name: "x-runtime-lib.icon",
|
|
14112
14298
|
comp: bi,
|
|
14113
14299
|
properties: {
|
|
14114
|
-
pageUi: [W,
|
|
14115
|
-
compUi: [W,
|
|
14300
|
+
pageUi: [W, _s],
|
|
14301
|
+
compUi: [W, _s]
|
|
14116
14302
|
},
|
|
14117
|
-
spawn:
|
|
14303
|
+
spawn: gs
|
|
14118
14304
|
});
|
|
14119
14305
|
//#endregion
|
|
14120
14306
|
//#region src/element/ui/itemGroup/v1/spawn.ts
|
|
14121
|
-
function
|
|
14307
|
+
function vs(e, t) {
|
|
14122
14308
|
let { n } = H(e, t);
|
|
14123
14309
|
return { nodePairs: [n("ui_item_group_v1")] };
|
|
14124
14310
|
}
|
|
14125
14311
|
//#endregion
|
|
14126
14312
|
//#region src/element/ui/itemGroup/v1/index.ts
|
|
14127
|
-
var
|
|
14313
|
+
var ys = {
|
|
14128
14314
|
key: "settings",
|
|
14129
14315
|
name: "x-runtime-lib.settings",
|
|
14130
14316
|
children: [
|
|
@@ -14174,7 +14360,7 @@ var vs = {
|
|
|
14174
14360
|
}]
|
|
14175
14361
|
}
|
|
14176
14362
|
]
|
|
14177
|
-
},
|
|
14363
|
+
}, bs = {
|
|
14178
14364
|
key: "slots",
|
|
14179
14365
|
name: "x-runtime-lib.slots",
|
|
14180
14366
|
children: [{
|
|
@@ -14191,24 +14377,24 @@ B({
|
|
|
14191
14377
|
properties: {
|
|
14192
14378
|
pageUi: [
|
|
14193
14379
|
W,
|
|
14194
|
-
|
|
14195
|
-
|
|
14380
|
+
ys,
|
|
14381
|
+
bs
|
|
14196
14382
|
],
|
|
14197
14383
|
compUi: [
|
|
14198
14384
|
W,
|
|
14199
|
-
|
|
14200
|
-
|
|
14385
|
+
ys,
|
|
14386
|
+
bs
|
|
14201
14387
|
]
|
|
14202
14388
|
},
|
|
14203
14389
|
slots: [{
|
|
14204
14390
|
key: "item",
|
|
14205
14391
|
name: "x-runtime-lib.item"
|
|
14206
14392
|
}],
|
|
14207
|
-
spawn:
|
|
14393
|
+
spawn: vs
|
|
14208
14394
|
});
|
|
14209
14395
|
//#endregion
|
|
14210
14396
|
//#region src/element/ui/list/v1/spawn.ts
|
|
14211
|
-
function
|
|
14397
|
+
function xs(e, t) {
|
|
14212
14398
|
let { n } = H(e, t);
|
|
14213
14399
|
return { nodePairs: [n("ui_list_v1", void 0, { "settings.items": [
|
|
14214
14400
|
{
|
|
@@ -14227,7 +14413,7 @@ function bs(e, t) {
|
|
|
14227
14413
|
}
|
|
14228
14414
|
//#endregion
|
|
14229
14415
|
//#region src/element/ui/list/v1/index.ts
|
|
14230
|
-
var
|
|
14416
|
+
var Ss = {
|
|
14231
14417
|
key: "settings",
|
|
14232
14418
|
name: "x-runtime-lib.settings",
|
|
14233
14419
|
children: [
|
|
@@ -14364,12 +14550,12 @@ B({
|
|
|
14364
14550
|
pageUi: [
|
|
14365
14551
|
W,
|
|
14366
14552
|
G,
|
|
14367
|
-
|
|
14553
|
+
Ss
|
|
14368
14554
|
],
|
|
14369
14555
|
compUi: [
|
|
14370
14556
|
W,
|
|
14371
14557
|
G,
|
|
14372
|
-
|
|
14558
|
+
Ss
|
|
14373
14559
|
]
|
|
14374
14560
|
},
|
|
14375
14561
|
events: [{
|
|
@@ -14382,11 +14568,11 @@ B({
|
|
|
14382
14568
|
}]
|
|
14383
14569
|
}],
|
|
14384
14570
|
inlineSlots: ["default"],
|
|
14385
|
-
spawn:
|
|
14571
|
+
spawn: xs
|
|
14386
14572
|
});
|
|
14387
14573
|
//#endregion
|
|
14388
14574
|
//#region src/element/ui/menu/v1/spawn.ts
|
|
14389
|
-
function
|
|
14575
|
+
function Cs(e, t) {
|
|
14390
14576
|
let { n } = H(e, t);
|
|
14391
14577
|
return { nodePairs: [n("ui_menu_v1", [n("inline_slot_v1", [n("ui_activator_v1", [n("ui_btn_v1", void 0, { "settings.text": "menu" })])], { "settings.value": "activator" }), n("inline_slot_v1", [n("ui_list_v1", void 0, { "settings.items": [
|
|
14392
14578
|
{
|
|
@@ -14405,7 +14591,7 @@ function Ss(e, t) {
|
|
|
14405
14591
|
}
|
|
14406
14592
|
//#endregion
|
|
14407
14593
|
//#region src/element/ui/menu/v1/index.ts
|
|
14408
|
-
var
|
|
14594
|
+
var ws = {
|
|
14409
14595
|
key: "settings",
|
|
14410
14596
|
name: "x-runtime-lib.settings",
|
|
14411
14597
|
children: [{
|
|
@@ -14414,7 +14600,7 @@ var Cs = {
|
|
|
14414
14600
|
ui: "switch",
|
|
14415
14601
|
default: !0
|
|
14416
14602
|
}]
|
|
14417
|
-
},
|
|
14603
|
+
}, Ts = {
|
|
14418
14604
|
key: "runtime",
|
|
14419
14605
|
name: "x-runtime-lib.runtime",
|
|
14420
14606
|
children: [{
|
|
@@ -14432,28 +14618,28 @@ B({
|
|
|
14432
14618
|
properties: {
|
|
14433
14619
|
pageUi: [
|
|
14434
14620
|
W,
|
|
14435
|
-
|
|
14436
|
-
|
|
14621
|
+
ws,
|
|
14622
|
+
Ts
|
|
14437
14623
|
],
|
|
14438
14624
|
compUi: [
|
|
14439
14625
|
W,
|
|
14440
|
-
|
|
14441
|
-
|
|
14626
|
+
ws,
|
|
14627
|
+
Ts
|
|
14442
14628
|
]
|
|
14443
14629
|
},
|
|
14444
14630
|
inlineSlots: ["activator", "default"],
|
|
14445
14631
|
teleport: !0,
|
|
14446
|
-
spawn:
|
|
14632
|
+
spawn: Cs
|
|
14447
14633
|
});
|
|
14448
14634
|
//#endregion
|
|
14449
14635
|
//#region src/element/ui/numberInput/v1/spawn.ts
|
|
14450
|
-
function
|
|
14636
|
+
function Es(e, t) {
|
|
14451
14637
|
let { n } = H(e, t);
|
|
14452
14638
|
return { nodePairs: [n("ui_number_input_v1", void 0)] };
|
|
14453
14639
|
}
|
|
14454
14640
|
//#endregion
|
|
14455
14641
|
//#region src/element/ui/numberInput/v1/index.ts
|
|
14456
|
-
var
|
|
14642
|
+
var Ds = {
|
|
14457
14643
|
key: "settings",
|
|
14458
14644
|
name: "x-runtime-lib.settings",
|
|
14459
14645
|
children: [
|
|
@@ -14771,7 +14957,7 @@ var Es = {
|
|
|
14771
14957
|
]
|
|
14772
14958
|
}
|
|
14773
14959
|
]
|
|
14774
|
-
},
|
|
14960
|
+
}, Os = {
|
|
14775
14961
|
key: "runtime",
|
|
14776
14962
|
name: "x-runtime-lib.runtime",
|
|
14777
14963
|
children: [
|
|
@@ -14809,14 +14995,14 @@ B({
|
|
|
14809
14995
|
pageUi: [
|
|
14810
14996
|
W,
|
|
14811
14997
|
gn,
|
|
14812
|
-
|
|
14813
|
-
|
|
14998
|
+
Ds,
|
|
14999
|
+
Os
|
|
14814
15000
|
],
|
|
14815
15001
|
compUi: [
|
|
14816
15002
|
W,
|
|
14817
15003
|
gn,
|
|
14818
|
-
|
|
14819
|
-
|
|
15004
|
+
Ds,
|
|
15005
|
+
Os
|
|
14820
15006
|
]
|
|
14821
15007
|
},
|
|
14822
15008
|
inlineSlots: [
|
|
@@ -14833,17 +15019,17 @@ B({
|
|
|
14833
15019
|
"counter",
|
|
14834
15020
|
"loader"
|
|
14835
15021
|
],
|
|
14836
|
-
spawn:
|
|
15022
|
+
spawn: Es
|
|
14837
15023
|
});
|
|
14838
15024
|
//#endregion
|
|
14839
15025
|
//#region src/element/ui/optInput/v1/spawn.ts
|
|
14840
|
-
function
|
|
15026
|
+
function ks(e, t) {
|
|
14841
15027
|
let { n } = H(e, t);
|
|
14842
15028
|
return { nodePairs: [n("ui_opt_input_v1")] };
|
|
14843
15029
|
}
|
|
14844
15030
|
//#endregion
|
|
14845
15031
|
//#region src/element/ui/optInput/v1/index.ts
|
|
14846
|
-
var
|
|
15032
|
+
var As = {
|
|
14847
15033
|
key: "settings",
|
|
14848
15034
|
name: "x-runtime-lib.settings",
|
|
14849
15035
|
children: [
|
|
@@ -14944,7 +15130,7 @@ var ks = {
|
|
|
14944
15130
|
}]
|
|
14945
15131
|
}
|
|
14946
15132
|
]
|
|
14947
|
-
},
|
|
15133
|
+
}, js = {
|
|
14948
15134
|
key: "runtime",
|
|
14949
15135
|
name: "x-runtime-lib.runtime",
|
|
14950
15136
|
children: [{
|
|
@@ -14964,14 +15150,14 @@ B({
|
|
|
14964
15150
|
pageUi: [
|
|
14965
15151
|
W,
|
|
14966
15152
|
G,
|
|
14967
|
-
|
|
14968
|
-
|
|
15153
|
+
As,
|
|
15154
|
+
js
|
|
14969
15155
|
],
|
|
14970
15156
|
compUi: [
|
|
14971
15157
|
W,
|
|
14972
15158
|
G,
|
|
14973
|
-
|
|
14974
|
-
|
|
15159
|
+
As,
|
|
15160
|
+
js
|
|
14975
15161
|
]
|
|
14976
15162
|
},
|
|
14977
15163
|
methods: [{
|
|
@@ -14983,11 +15169,11 @@ B({
|
|
|
14983
15169
|
name: "x-runtime-lib.finish"
|
|
14984
15170
|
}],
|
|
14985
15171
|
inlineSlots: ["loader"],
|
|
14986
|
-
spawn:
|
|
15172
|
+
spawn: ks
|
|
14987
15173
|
});
|
|
14988
15174
|
//#endregion
|
|
14989
15175
|
//#region src/element/ui/pagination/v1/spawn.ts
|
|
14990
|
-
function
|
|
15176
|
+
function Ms(e, t) {
|
|
14991
15177
|
let { n } = H(e, t);
|
|
14992
15178
|
return { nodePairs: [n("ui_pagination_v1", void 0, {
|
|
14993
15179
|
"settings.value": 1,
|
|
@@ -14996,7 +15182,7 @@ function js(e, t) {
|
|
|
14996
15182
|
}
|
|
14997
15183
|
//#endregion
|
|
14998
15184
|
//#region src/element/ui/pagination/v1/index.ts
|
|
14999
|
-
var
|
|
15185
|
+
var Ns = {
|
|
15000
15186
|
key: "settings",
|
|
15001
15187
|
name: "x-runtime-lib.settings",
|
|
15002
15188
|
children: [
|
|
@@ -15111,20 +15297,20 @@ B({
|
|
|
15111
15297
|
name: "x-runtime-lib.pagination",
|
|
15112
15298
|
comp: Ei,
|
|
15113
15299
|
properties: {
|
|
15114
|
-
pageUi: [W,
|
|
15115
|
-
compUi: [W,
|
|
15300
|
+
pageUi: [W, Ns],
|
|
15301
|
+
compUi: [W, Ns]
|
|
15116
15302
|
},
|
|
15117
|
-
spawn:
|
|
15303
|
+
spawn: Ms
|
|
15118
15304
|
});
|
|
15119
15305
|
//#endregion
|
|
15120
15306
|
//#region src/element/ui/positioner/v1/spawn.ts
|
|
15121
|
-
function
|
|
15307
|
+
function Ps(e, t) {
|
|
15122
15308
|
let { n } = H(e, t);
|
|
15123
15309
|
return { nodePairs: [n("ui_positioner_v1")] };
|
|
15124
15310
|
}
|
|
15125
15311
|
//#endregion
|
|
15126
15312
|
//#region src/element/ui/positioner/v1/index.ts
|
|
15127
|
-
var
|
|
15313
|
+
var Fs = {
|
|
15128
15314
|
key: "settings",
|
|
15129
15315
|
name: "x-runtime-lib.settings",
|
|
15130
15316
|
children: [
|
|
@@ -15173,20 +15359,20 @@ B({
|
|
|
15173
15359
|
pageUi: [
|
|
15174
15360
|
W,
|
|
15175
15361
|
G,
|
|
15176
|
-
|
|
15362
|
+
Fs
|
|
15177
15363
|
],
|
|
15178
15364
|
compUi: [
|
|
15179
15365
|
W,
|
|
15180
15366
|
G,
|
|
15181
|
-
|
|
15367
|
+
Fs
|
|
15182
15368
|
]
|
|
15183
15369
|
},
|
|
15184
15370
|
inlineSlots: ["default"],
|
|
15185
|
-
spawn:
|
|
15371
|
+
spawn: Ps
|
|
15186
15372
|
});
|
|
15187
15373
|
//#endregion
|
|
15188
15374
|
//#region src/element/ui/radio/v1/index.ts
|
|
15189
|
-
var
|
|
15375
|
+
var Is = {
|
|
15190
15376
|
key: "settings",
|
|
15191
15377
|
name: "x-runtime-lib.settings",
|
|
15192
15378
|
children: [{
|
|
@@ -15206,14 +15392,14 @@ B({
|
|
|
15206
15392
|
name: "x-runtime-lib.radio",
|
|
15207
15393
|
comp: Oi,
|
|
15208
15394
|
properties: {
|
|
15209
|
-
pageUi: [W,
|
|
15210
|
-
compUi: [W,
|
|
15395
|
+
pageUi: [W, Is],
|
|
15396
|
+
compUi: [W, Is]
|
|
15211
15397
|
},
|
|
15212
15398
|
inlineSlots: ["default", "label"]
|
|
15213
15399
|
});
|
|
15214
15400
|
//#endregion
|
|
15215
15401
|
//#region src/element/ui/radioGroup/v1/spawn.ts
|
|
15216
|
-
function
|
|
15402
|
+
function Ls(e, t) {
|
|
15217
15403
|
let { n } = H(e, t);
|
|
15218
15404
|
return { nodePairs: [n("ui_radio_group_v1", [
|
|
15219
15405
|
n("ui_radio_v1", void 0, {
|
|
@@ -15232,7 +15418,7 @@ function Is(e, t) {
|
|
|
15232
15418
|
}
|
|
15233
15419
|
//#endregion
|
|
15234
15420
|
//#region src/element/ui/radioGroup/v1/index.ts
|
|
15235
|
-
var
|
|
15421
|
+
var Rs = {
|
|
15236
15422
|
key: "settings",
|
|
15237
15423
|
name: "x-runtime-lib.settings",
|
|
15238
15424
|
children: [
|
|
@@ -15400,12 +15586,12 @@ B({
|
|
|
15400
15586
|
pageUi: [
|
|
15401
15587
|
W,
|
|
15402
15588
|
gn,
|
|
15403
|
-
|
|
15589
|
+
Rs
|
|
15404
15590
|
],
|
|
15405
15591
|
compUi: [
|
|
15406
15592
|
W,
|
|
15407
15593
|
gn,
|
|
15408
|
-
|
|
15594
|
+
Rs
|
|
15409
15595
|
]
|
|
15410
15596
|
},
|
|
15411
15597
|
methods: [
|
|
@@ -15438,17 +15624,17 @@ B({
|
|
|
15438
15624
|
"prepend",
|
|
15439
15625
|
"append"
|
|
15440
15626
|
],
|
|
15441
|
-
spawn:
|
|
15627
|
+
spawn: Ls
|
|
15442
15628
|
});
|
|
15443
15629
|
//#endregion
|
|
15444
15630
|
//#region src/element/ui/rangeSlider/v1/spawn.ts
|
|
15445
|
-
function
|
|
15631
|
+
function zs(e, t) {
|
|
15446
15632
|
let { n } = H(e, t);
|
|
15447
15633
|
return { nodePairs: [n("ui_range_slider_v1")] };
|
|
15448
15634
|
}
|
|
15449
15635
|
//#endregion
|
|
15450
15636
|
//#region src/element/ui/rangeSlider/v1/index.ts
|
|
15451
|
-
var
|
|
15637
|
+
var Bs = {
|
|
15452
15638
|
key: "settings",
|
|
15453
15639
|
name: "x-runtime-lib.settings",
|
|
15454
15640
|
children: [
|
|
@@ -15746,25 +15932,25 @@ B({
|
|
|
15746
15932
|
pageUi: [
|
|
15747
15933
|
W,
|
|
15748
15934
|
gn,
|
|
15749
|
-
|
|
15935
|
+
Bs
|
|
15750
15936
|
],
|
|
15751
15937
|
compUi: [
|
|
15752
15938
|
W,
|
|
15753
15939
|
gn,
|
|
15754
|
-
|
|
15940
|
+
Bs
|
|
15755
15941
|
]
|
|
15756
15942
|
},
|
|
15757
|
-
spawn:
|
|
15943
|
+
spawn: zs
|
|
15758
15944
|
});
|
|
15759
15945
|
//#endregion
|
|
15760
15946
|
//#region src/element/ui/rating/v1/spawn.ts
|
|
15761
|
-
function
|
|
15947
|
+
function Vs(e, t) {
|
|
15762
15948
|
let { n } = H(e, t);
|
|
15763
15949
|
return { nodePairs: [n("ui_rating_v1")] };
|
|
15764
15950
|
}
|
|
15765
15951
|
//#endregion
|
|
15766
15952
|
//#region src/element/ui/rating/v1/index.ts
|
|
15767
|
-
var
|
|
15953
|
+
var Hs = {
|
|
15768
15954
|
key: "settings",
|
|
15769
15955
|
name: "x-runtime-lib.settings",
|
|
15770
15956
|
children: [
|
|
@@ -15864,14 +16050,14 @@ B({
|
|
|
15864
16050
|
name: "x-runtime-lib.rating",
|
|
15865
16051
|
comp: ji,
|
|
15866
16052
|
properties: {
|
|
15867
|
-
pageUi: [W,
|
|
15868
|
-
compUi: [W,
|
|
16053
|
+
pageUi: [W, Hs],
|
|
16054
|
+
compUi: [W, Hs]
|
|
15869
16055
|
},
|
|
15870
|
-
spawn:
|
|
16056
|
+
spawn: Vs
|
|
15871
16057
|
});
|
|
15872
16058
|
//#endregion
|
|
15873
16059
|
//#region src/element/ui/select/v1/spawn.ts
|
|
15874
|
-
function
|
|
16060
|
+
function Us(e, t) {
|
|
15875
16061
|
let { n } = H(e, t);
|
|
15876
16062
|
return { nodePairs: [n("ui_select_v1", void 0, { "settings.items": [
|
|
15877
16063
|
{
|
|
@@ -15890,7 +16076,7 @@ function Hs(e, t) {
|
|
|
15890
16076
|
}
|
|
15891
16077
|
//#endregion
|
|
15892
16078
|
//#region src/element/ui/select/v1/index.ts
|
|
15893
|
-
var
|
|
16079
|
+
var Ws = {
|
|
15894
16080
|
key: "settings",
|
|
15895
16081
|
name: "x-runtime-lib.settings",
|
|
15896
16082
|
children: [
|
|
@@ -16218,14 +16404,14 @@ B({
|
|
|
16218
16404
|
name: "x-runtime-lib.select",
|
|
16219
16405
|
comp: Mi,
|
|
16220
16406
|
properties: {
|
|
16221
|
-
pageUi: [W,
|
|
16222
|
-
compUi: [W,
|
|
16407
|
+
pageUi: [W, Ws],
|
|
16408
|
+
compUi: [W, Ws]
|
|
16223
16409
|
},
|
|
16224
|
-
spawn:
|
|
16410
|
+
spawn: Us
|
|
16225
16411
|
});
|
|
16226
16412
|
//#endregion
|
|
16227
16413
|
//#region src/element/ui/sheet/v1/spawn.ts
|
|
16228
|
-
function
|
|
16414
|
+
function Gs(e, t) {
|
|
16229
16415
|
let { n } = H(e, t);
|
|
16230
16416
|
return { nodePairs: [n("ui_sheet_v1", [], {
|
|
16231
16417
|
"size.width": "100px",
|
|
@@ -16234,7 +16420,7 @@ function Ws(e, t) {
|
|
|
16234
16420
|
}
|
|
16235
16421
|
//#endregion
|
|
16236
16422
|
//#region src/element/ui/sheet/v1/index.ts
|
|
16237
|
-
var
|
|
16423
|
+
var Ks = {
|
|
16238
16424
|
key: "settings",
|
|
16239
16425
|
name: "x-runtime-lib.settings",
|
|
16240
16426
|
children: [{
|
|
@@ -16260,21 +16446,21 @@ B({
|
|
|
16260
16446
|
W,
|
|
16261
16447
|
G,
|
|
16262
16448
|
un,
|
|
16263
|
-
|
|
16449
|
+
Ks
|
|
16264
16450
|
],
|
|
16265
16451
|
compUi: [
|
|
16266
16452
|
W,
|
|
16267
16453
|
G,
|
|
16268
16454
|
un,
|
|
16269
|
-
|
|
16455
|
+
Ks
|
|
16270
16456
|
]
|
|
16271
16457
|
},
|
|
16272
16458
|
inlineSlots: ["default"],
|
|
16273
|
-
spawn:
|
|
16459
|
+
spawn: Gs
|
|
16274
16460
|
});
|
|
16275
16461
|
//#endregion
|
|
16276
16462
|
//#region src/element/ui/slideGroup/v1/spawn.ts
|
|
16277
|
-
function
|
|
16463
|
+
function qs(e, t) {
|
|
16278
16464
|
let { n } = H(e, t);
|
|
16279
16465
|
return { nodePairs: [n("ui_slide_group_v1", [
|
|
16280
16466
|
n("ui_slide_group_item_v1", void 0),
|
|
@@ -16293,11 +16479,11 @@ B({
|
|
|
16293
16479
|
compUi: [W]
|
|
16294
16480
|
},
|
|
16295
16481
|
inlineSlots: ["default"],
|
|
16296
|
-
spawn:
|
|
16482
|
+
spawn: qs
|
|
16297
16483
|
});
|
|
16298
16484
|
//#endregion
|
|
16299
16485
|
//#region src/element/ui/slideGroupItem/v1/index.ts
|
|
16300
|
-
var
|
|
16486
|
+
var Js = {
|
|
16301
16487
|
key: "slots",
|
|
16302
16488
|
name: "x-runtime-lib.slots",
|
|
16303
16489
|
children: [{
|
|
@@ -16312,8 +16498,8 @@ B({
|
|
|
16312
16498
|
name: "x-runtime-lib.slideGroupItem",
|
|
16313
16499
|
comp: Li,
|
|
16314
16500
|
properties: {
|
|
16315
|
-
pageUi: [W,
|
|
16316
|
-
compUi: [W,
|
|
16501
|
+
pageUi: [W, Js],
|
|
16502
|
+
compUi: [W, Js]
|
|
16317
16503
|
},
|
|
16318
16504
|
inlineSlots: ["default"],
|
|
16319
16505
|
slots: [{
|
|
@@ -16341,13 +16527,13 @@ B({
|
|
|
16341
16527
|
});
|
|
16342
16528
|
//#endregion
|
|
16343
16529
|
//#region src/element/ui/slider/v1/spawn.ts
|
|
16344
|
-
function
|
|
16530
|
+
function Ys(e, t) {
|
|
16345
16531
|
let { n } = H(e, t);
|
|
16346
16532
|
return { nodePairs: [n("ui_slider_v1")] };
|
|
16347
16533
|
}
|
|
16348
16534
|
//#endregion
|
|
16349
16535
|
//#region src/element/ui/slider/v1/index.ts
|
|
16350
|
-
var
|
|
16536
|
+
var Xs = {
|
|
16351
16537
|
key: "settings",
|
|
16352
16538
|
name: "x-runtime-lib.settings",
|
|
16353
16539
|
children: [
|
|
@@ -16635,19 +16821,19 @@ B({
|
|
|
16635
16821
|
pageUi: [
|
|
16636
16822
|
W,
|
|
16637
16823
|
gn,
|
|
16638
|
-
|
|
16824
|
+
Xs
|
|
16639
16825
|
],
|
|
16640
16826
|
compUi: [
|
|
16641
16827
|
W,
|
|
16642
16828
|
gn,
|
|
16643
|
-
|
|
16829
|
+
Xs
|
|
16644
16830
|
]
|
|
16645
16831
|
},
|
|
16646
|
-
spawn:
|
|
16832
|
+
spawn: Ys
|
|
16647
16833
|
});
|
|
16648
16834
|
//#endregion
|
|
16649
16835
|
//#region src/element/ui/speedDial/v1/spawn.ts
|
|
16650
|
-
function
|
|
16836
|
+
function Zs(e, t) {
|
|
16651
16837
|
let { n } = H(e, t);
|
|
16652
16838
|
return { nodePairs: [n("ui_speed_dial_v1", [n("inline_slot_v1", [n("ui_activator_v1", [n("ui_fab_v1")])], { "settings.value": "activator" }), n("inline_slot_v1", [
|
|
16653
16839
|
n("ui_btn_v1", void 0, { "settings.icon": "mdi-success" }),
|
|
@@ -16658,7 +16844,7 @@ function Xs(e, t) {
|
|
|
16658
16844
|
}
|
|
16659
16845
|
//#endregion
|
|
16660
16846
|
//#region src/element/ui/speedDial/v1/index.ts
|
|
16661
|
-
var
|
|
16847
|
+
var Qs = {
|
|
16662
16848
|
key: "settings",
|
|
16663
16849
|
name: "x-runtime-lib.settings",
|
|
16664
16850
|
children: [
|
|
@@ -16695,7 +16881,7 @@ var Zs = {
|
|
|
16695
16881
|
}]
|
|
16696
16882
|
}
|
|
16697
16883
|
]
|
|
16698
|
-
},
|
|
16884
|
+
}, $s = {
|
|
16699
16885
|
key: "slots",
|
|
16700
16886
|
name: "x-runtime-lib.slots",
|
|
16701
16887
|
children: [{
|
|
@@ -16713,22 +16899,22 @@ B({
|
|
|
16713
16899
|
pageUi: [
|
|
16714
16900
|
W,
|
|
16715
16901
|
G,
|
|
16716
|
-
|
|
16717
|
-
|
|
16902
|
+
Qs,
|
|
16903
|
+
$s
|
|
16718
16904
|
],
|
|
16719
16905
|
compUi: [
|
|
16720
16906
|
W,
|
|
16721
16907
|
G,
|
|
16722
|
-
|
|
16723
|
-
|
|
16908
|
+
Qs,
|
|
16909
|
+
$s
|
|
16724
16910
|
]
|
|
16725
16911
|
},
|
|
16726
16912
|
inlineSlots: ["activator", "default"],
|
|
16727
|
-
spawn:
|
|
16913
|
+
spawn: Zs
|
|
16728
16914
|
});
|
|
16729
16915
|
//#endregion
|
|
16730
16916
|
//#region src/element/ui/stepper/v1/spawn.ts
|
|
16731
|
-
function
|
|
16917
|
+
function ec(e, t) {
|
|
16732
16918
|
let { n } = H(e, t);
|
|
16733
16919
|
return { nodePairs: [n("ui_stepper_v1", [n("ui_stepper_header_v1", [
|
|
16734
16920
|
n("ui_stepper_item_v1", void 0, { "settings.value": "step1" }),
|
|
@@ -16742,7 +16928,7 @@ function $s(e, t) {
|
|
|
16742
16928
|
}
|
|
16743
16929
|
//#endregion
|
|
16744
16930
|
//#region src/element/ui/stepper/v1/index.ts
|
|
16745
|
-
var
|
|
16931
|
+
var tc = {
|
|
16746
16932
|
key: "settings",
|
|
16747
16933
|
name: "x-runtime-lib.settings",
|
|
16748
16934
|
children: [{
|
|
@@ -16764,11 +16950,11 @@ B({
|
|
|
16764
16950
|
name: "x-runtime-lib.stepper",
|
|
16765
16951
|
comp: Vi,
|
|
16766
16952
|
properties: {
|
|
16767
|
-
pageUi: [W,
|
|
16768
|
-
compUi: [W,
|
|
16953
|
+
pageUi: [W, tc],
|
|
16954
|
+
compUi: [W, tc]
|
|
16769
16955
|
},
|
|
16770
16956
|
inlineSlots: ["default"],
|
|
16771
|
-
spawn:
|
|
16957
|
+
spawn: ec
|
|
16772
16958
|
}), B({
|
|
16773
16959
|
key: "ui_stepper_header_v1",
|
|
16774
16960
|
name: "x-runtime-lib.stepperHeader",
|
|
@@ -16781,7 +16967,7 @@ B({
|
|
|
16781
16967
|
});
|
|
16782
16968
|
//#endregion
|
|
16783
16969
|
//#region src/element/ui/stepperItem/v1/index.ts
|
|
16784
|
-
var
|
|
16970
|
+
var nc = {
|
|
16785
16971
|
key: "settings",
|
|
16786
16972
|
name: "x-runtime-lib.settings",
|
|
16787
16973
|
children: [{
|
|
@@ -16798,8 +16984,8 @@ B({
|
|
|
16798
16984
|
name: "x-runtime-lib.stepperItem",
|
|
16799
16985
|
comp: Gi,
|
|
16800
16986
|
properties: {
|
|
16801
|
-
pageUi: [W,
|
|
16802
|
-
compUi: [W,
|
|
16987
|
+
pageUi: [W, nc],
|
|
16988
|
+
compUi: [W, nc]
|
|
16803
16989
|
},
|
|
16804
16990
|
inlineSlots: ["default"]
|
|
16805
16991
|
}), B({
|
|
@@ -16814,7 +17000,7 @@ B({
|
|
|
16814
17000
|
});
|
|
16815
17001
|
//#endregion
|
|
16816
17002
|
//#region src/element/ui/stepperWindowItem/v1/index.ts
|
|
16817
|
-
var
|
|
17003
|
+
var rc = {
|
|
16818
17004
|
key: "settings",
|
|
16819
17005
|
name: "x-runtime-lib.settings",
|
|
16820
17006
|
children: [{
|
|
@@ -16829,20 +17015,20 @@ B({
|
|
|
16829
17015
|
name: "x-runtime-lib.stepperWindowItem",
|
|
16830
17016
|
comp: Yi,
|
|
16831
17017
|
properties: {
|
|
16832
|
-
pageUi: [W,
|
|
16833
|
-
compUi: [W,
|
|
17018
|
+
pageUi: [W, rc],
|
|
17019
|
+
compUi: [W, rc]
|
|
16834
17020
|
},
|
|
16835
17021
|
inlineSlots: ["default"]
|
|
16836
17022
|
});
|
|
16837
17023
|
//#endregion
|
|
16838
17024
|
//#region src/element/ui/switch/v1/spawn.ts
|
|
16839
|
-
function
|
|
17025
|
+
function ic(e, t) {
|
|
16840
17026
|
let { n } = H(e, t);
|
|
16841
17027
|
return { nodePairs: [n("ui_switch_v1")] };
|
|
16842
17028
|
}
|
|
16843
17029
|
//#endregion
|
|
16844
17030
|
//#region src/element/ui/switch/v1/index.ts
|
|
16845
|
-
var
|
|
17031
|
+
var ac = {
|
|
16846
17032
|
key: "settings",
|
|
16847
17033
|
name: "x-runtime-lib.settings",
|
|
16848
17034
|
children: [
|
|
@@ -17011,12 +17197,12 @@ B({
|
|
|
17011
17197
|
pageUi: [
|
|
17012
17198
|
W,
|
|
17013
17199
|
gn,
|
|
17014
|
-
|
|
17200
|
+
ac
|
|
17015
17201
|
],
|
|
17016
17202
|
compUi: [
|
|
17017
17203
|
W,
|
|
17018
17204
|
gn,
|
|
17019
|
-
|
|
17205
|
+
ac
|
|
17020
17206
|
]
|
|
17021
17207
|
},
|
|
17022
17208
|
inlineSlots: [
|
|
@@ -17032,11 +17218,11 @@ B({
|
|
|
17032
17218
|
"message",
|
|
17033
17219
|
"loader"
|
|
17034
17220
|
],
|
|
17035
|
-
spawn:
|
|
17221
|
+
spawn: ic
|
|
17036
17222
|
});
|
|
17037
17223
|
//#endregion
|
|
17038
17224
|
//#region src/element/ui/tab/v1/index.ts
|
|
17039
|
-
var
|
|
17225
|
+
var oc = {
|
|
17040
17226
|
key: "settings",
|
|
17041
17227
|
name: "x-runtime-lib.settings",
|
|
17042
17228
|
children: [{
|
|
@@ -17056,13 +17242,13 @@ B({
|
|
|
17056
17242
|
name: "x-runtime-lib.tab",
|
|
17057
17243
|
comp: Zi,
|
|
17058
17244
|
properties: {
|
|
17059
|
-
pageUi: [W,
|
|
17060
|
-
compUi: [W,
|
|
17245
|
+
pageUi: [W, oc],
|
|
17246
|
+
compUi: [W, oc]
|
|
17061
17247
|
}
|
|
17062
17248
|
});
|
|
17063
17249
|
//#endregion
|
|
17064
17250
|
//#region src/element/ui/table/v1/spawn.ts
|
|
17065
|
-
function
|
|
17251
|
+
function sc(e, t) {
|
|
17066
17252
|
let { n } = H(e, t);
|
|
17067
17253
|
return { nodePairs: [n("ui_table_v1", [n("ui_table_head_v1", [n("ui_table_row_v1", [n("ui_table_head_cell_v1", [n("ui_text_v1", void 0, { "settings.text": "Name" })]), n("ui_table_head_cell_v1", [n("ui_text_v1", void 0, { "settings.text": "Price" })])])]), n("ui_table_body_v1", [
|
|
17068
17254
|
n("ui_table_row_v1", [n("ui_table_body_cell_v1", [n("ui_text_v1", void 0, { "settings.text": "Apple" })]), n("ui_table_body_cell_v1", [n("ui_text_v1", void 0, { "settings.text": "5.5" })])]),
|
|
@@ -17072,7 +17258,7 @@ function oc(e, t) {
|
|
|
17072
17258
|
}
|
|
17073
17259
|
//#endregion
|
|
17074
17260
|
//#region src/element/ui/table/v1/index.ts
|
|
17075
|
-
var
|
|
17261
|
+
var cc = {
|
|
17076
17262
|
key: "settings",
|
|
17077
17263
|
name: "x-runtime-lib.settings",
|
|
17078
17264
|
children: [{
|
|
@@ -17095,11 +17281,11 @@ B({
|
|
|
17095
17281
|
name: "x-runtime-lib.table",
|
|
17096
17282
|
comp: Qi,
|
|
17097
17283
|
properties: {
|
|
17098
|
-
pageUi: [W,
|
|
17099
|
-
compUi: [W,
|
|
17284
|
+
pageUi: [W, cc],
|
|
17285
|
+
compUi: [W, cc]
|
|
17100
17286
|
},
|
|
17101
17287
|
inlineSlots: ["default"],
|
|
17102
|
-
spawn:
|
|
17288
|
+
spawn: sc
|
|
17103
17289
|
}), B({
|
|
17104
17290
|
key: "ui_table_body_v1",
|
|
17105
17291
|
name: "x-runtime-lib.tableBody",
|
|
@@ -17148,7 +17334,7 @@ B({
|
|
|
17148
17334
|
});
|
|
17149
17335
|
//#endregion
|
|
17150
17336
|
//#region src/element/ui/tabs/v1/spawn.ts
|
|
17151
|
-
function
|
|
17337
|
+
function lc(e, t) {
|
|
17152
17338
|
let { n } = H(e, t);
|
|
17153
17339
|
return { nodePairs: [n("ui_tabs_v1", [
|
|
17154
17340
|
n("ui_tab_v1", void 0, {
|
|
@@ -17167,7 +17353,7 @@ function cc(e, t) {
|
|
|
17167
17353
|
}
|
|
17168
17354
|
//#endregion
|
|
17169
17355
|
//#region src/element/ui/tabs/v1/index.ts
|
|
17170
|
-
var
|
|
17356
|
+
var uc = {
|
|
17171
17357
|
key: "settings",
|
|
17172
17358
|
name: "x-runtime-lib.settings",
|
|
17173
17359
|
children: [
|
|
@@ -17280,21 +17466,21 @@ B({
|
|
|
17280
17466
|
name: "x-runtime-lib.tabs",
|
|
17281
17467
|
comp: ma,
|
|
17282
17468
|
properties: {
|
|
17283
|
-
pageUi: [W,
|
|
17284
|
-
compUi: [W,
|
|
17469
|
+
pageUi: [W, uc],
|
|
17470
|
+
compUi: [W, uc]
|
|
17285
17471
|
},
|
|
17286
17472
|
inlineSlots: ["default"],
|
|
17287
|
-
spawn:
|
|
17473
|
+
spawn: lc
|
|
17288
17474
|
});
|
|
17289
17475
|
//#endregion
|
|
17290
17476
|
//#region src/element/ui/text/v1/spawn.ts
|
|
17291
|
-
function
|
|
17477
|
+
function dc(e, t) {
|
|
17292
17478
|
let { n } = H(e, t);
|
|
17293
17479
|
return { nodePairs: [n("ui_text_v1", void 0, { "settings.text": "text" })] };
|
|
17294
17480
|
}
|
|
17295
17481
|
//#endregion
|
|
17296
17482
|
//#region src/element/ui/text/v1/index.ts
|
|
17297
|
-
var
|
|
17483
|
+
var fc = {
|
|
17298
17484
|
key: "settings",
|
|
17299
17485
|
name: "x-runtime-lib.settings",
|
|
17300
17486
|
children: [
|
|
@@ -17359,20 +17545,20 @@ B({
|
|
|
17359
17545
|
name: "x-runtime-lib.text",
|
|
17360
17546
|
comp: ha,
|
|
17361
17547
|
properties: {
|
|
17362
|
-
pageUi: [W,
|
|
17363
|
-
compUi: [W,
|
|
17548
|
+
pageUi: [W, fc],
|
|
17549
|
+
compUi: [W, fc]
|
|
17364
17550
|
},
|
|
17365
|
-
spawn:
|
|
17551
|
+
spawn: dc
|
|
17366
17552
|
});
|
|
17367
17553
|
//#endregion
|
|
17368
17554
|
//#region src/element/ui/textarea/v1/spawn.ts
|
|
17369
|
-
function
|
|
17555
|
+
function pc(e, t) {
|
|
17370
17556
|
let { n } = H(e, t);
|
|
17371
17557
|
return { nodePairs: [n("ui_textarea_v1", void 0)] };
|
|
17372
17558
|
}
|
|
17373
17559
|
//#endregion
|
|
17374
17560
|
//#region src/element/ui/textarea/v1/index.ts
|
|
17375
|
-
var
|
|
17561
|
+
var mc = {
|
|
17376
17562
|
key: "settings",
|
|
17377
17563
|
name: "x-runtime-lib.settings",
|
|
17378
17564
|
children: [
|
|
@@ -17680,7 +17866,7 @@ var pc = {
|
|
|
17680
17866
|
]
|
|
17681
17867
|
}
|
|
17682
17868
|
]
|
|
17683
|
-
},
|
|
17869
|
+
}, hc = {
|
|
17684
17870
|
key: "runtime",
|
|
17685
17871
|
name: "x-runtime-lib.runtime",
|
|
17686
17872
|
children: [
|
|
@@ -17718,14 +17904,14 @@ B({
|
|
|
17718
17904
|
pageUi: [
|
|
17719
17905
|
W,
|
|
17720
17906
|
gn,
|
|
17721
|
-
|
|
17722
|
-
|
|
17907
|
+
mc,
|
|
17908
|
+
hc
|
|
17723
17909
|
],
|
|
17724
17910
|
compUi: [
|
|
17725
17911
|
W,
|
|
17726
17912
|
gn,
|
|
17727
|
-
|
|
17728
|
-
|
|
17913
|
+
mc,
|
|
17914
|
+
hc
|
|
17729
17915
|
]
|
|
17730
17916
|
},
|
|
17731
17917
|
methods: [
|
|
@@ -17772,17 +17958,17 @@ B({
|
|
|
17772
17958
|
"counter",
|
|
17773
17959
|
"loader"
|
|
17774
17960
|
],
|
|
17775
|
-
spawn:
|
|
17961
|
+
spawn: pc
|
|
17776
17962
|
});
|
|
17777
17963
|
//#endregion
|
|
17778
17964
|
//#region src/element/ui/textField/v1/spawn.ts
|
|
17779
|
-
function
|
|
17965
|
+
function gc(e, t) {
|
|
17780
17966
|
let { n } = H(e, t);
|
|
17781
17967
|
return { nodePairs: [n("ui_text_field_v1", void 0)] };
|
|
17782
17968
|
}
|
|
17783
17969
|
//#endregion
|
|
17784
17970
|
//#region src/element/ui/textField/v1/index.ts
|
|
17785
|
-
var
|
|
17971
|
+
var _c = {
|
|
17786
17972
|
key: "settings",
|
|
17787
17973
|
name: "x-runtime-lib.settings",
|
|
17788
17974
|
children: [
|
|
@@ -18066,7 +18252,7 @@ var gc = {
|
|
|
18066
18252
|
]
|
|
18067
18253
|
}
|
|
18068
18254
|
]
|
|
18069
|
-
},
|
|
18255
|
+
}, vc = {
|
|
18070
18256
|
key: "runtime",
|
|
18071
18257
|
name: "x-runtime-lib.runtime",
|
|
18072
18258
|
children: [
|
|
@@ -18104,14 +18290,14 @@ B({
|
|
|
18104
18290
|
pageUi: [
|
|
18105
18291
|
W,
|
|
18106
18292
|
gn,
|
|
18107
|
-
|
|
18108
|
-
|
|
18293
|
+
_c,
|
|
18294
|
+
vc
|
|
18109
18295
|
],
|
|
18110
18296
|
compUi: [
|
|
18111
18297
|
W,
|
|
18112
18298
|
gn,
|
|
18113
|
-
|
|
18114
|
-
|
|
18299
|
+
_c,
|
|
18300
|
+
vc
|
|
18115
18301
|
]
|
|
18116
18302
|
},
|
|
18117
18303
|
methods: [
|
|
@@ -18159,11 +18345,11 @@ B({
|
|
|
18159
18345
|
"counter",
|
|
18160
18346
|
"loader"
|
|
18161
18347
|
],
|
|
18162
|
-
spawn:
|
|
18348
|
+
spawn: gc
|
|
18163
18349
|
});
|
|
18164
18350
|
//#endregion
|
|
18165
18351
|
//#region src/element/ui/timeline/v1/spawn.ts
|
|
18166
|
-
function
|
|
18352
|
+
function yc(e, t) {
|
|
18167
18353
|
let { n } = H(e, t);
|
|
18168
18354
|
return { nodePairs: [n("ui_timeline_v1", [
|
|
18169
18355
|
n("ui_timeline_item_v1", [n("ui_text_v1", void 0, { "settings.text": "Timeline1" })]),
|
|
@@ -18173,7 +18359,7 @@ function vc(e, t) {
|
|
|
18173
18359
|
}
|
|
18174
18360
|
//#endregion
|
|
18175
18361
|
//#region src/element/ui/timeline/v1/index.ts
|
|
18176
|
-
var
|
|
18362
|
+
var bc = {
|
|
18177
18363
|
key: "settings",
|
|
18178
18364
|
name: "x-runtime-lib.settings",
|
|
18179
18365
|
children: [
|
|
@@ -18268,11 +18454,11 @@ B({
|
|
|
18268
18454
|
name: "x-runtime-lib.timeline",
|
|
18269
18455
|
comp: va,
|
|
18270
18456
|
properties: {
|
|
18271
|
-
pageUi: [W,
|
|
18272
|
-
compUi: [W,
|
|
18457
|
+
pageUi: [W, bc],
|
|
18458
|
+
compUi: [W, bc]
|
|
18273
18459
|
},
|
|
18274
18460
|
inlineSlots: ["default"],
|
|
18275
|
-
spawn:
|
|
18461
|
+
spawn: yc
|
|
18276
18462
|
}), B({
|
|
18277
18463
|
key: "ui_timeline_item_v1",
|
|
18278
18464
|
name: "x-runtime-lib.timelineItem",
|
|
@@ -18285,13 +18471,13 @@ B({
|
|
|
18285
18471
|
});
|
|
18286
18472
|
//#endregion
|
|
18287
18473
|
//#region src/element/ui/tooltip/v1/spawn.ts
|
|
18288
|
-
function
|
|
18474
|
+
function xc(e, t) {
|
|
18289
18475
|
let { n } = H(e, t);
|
|
18290
18476
|
return { nodePairs: [n("ui_tooltip_v1", [n("inline_slot_v1", [n("ui_activator_v1", [n("ui_btn_v1", void 0, { "settings.text": "tooltip" })])], { "settings.value": "activator" })], { "settings.text": "text" })] };
|
|
18291
18477
|
}
|
|
18292
18478
|
//#endregion
|
|
18293
18479
|
//#region src/element/ui/tooltip/v1/index.ts
|
|
18294
|
-
var
|
|
18480
|
+
var Sc = {
|
|
18295
18481
|
key: "settings",
|
|
18296
18482
|
name: "x-runtime-lib.settings",
|
|
18297
18483
|
children: [
|
|
@@ -18382,16 +18568,16 @@ B({
|
|
|
18382
18568
|
name: "x-runtime-lib.tooltip",
|
|
18383
18569
|
comp: Sa,
|
|
18384
18570
|
properties: {
|
|
18385
|
-
pageUi: [W,
|
|
18386
|
-
compUi: [W,
|
|
18571
|
+
pageUi: [W, Sc],
|
|
18572
|
+
compUi: [W, Sc]
|
|
18387
18573
|
},
|
|
18388
18574
|
inlineSlots: ["activator", "default"],
|
|
18389
18575
|
teleport: !0,
|
|
18390
|
-
spawn:
|
|
18576
|
+
spawn: xc
|
|
18391
18577
|
});
|
|
18392
18578
|
//#endregion
|
|
18393
18579
|
//#region src/element/ui/window/v1/spawn.ts
|
|
18394
|
-
function
|
|
18580
|
+
function Cc(e, t) {
|
|
18395
18581
|
let { n } = H(e, t);
|
|
18396
18582
|
return { nodePairs: [n("ui_window_v1", [
|
|
18397
18583
|
n("ui_window_item_v1", [n("ui_flexbox_v1", [n("ui_text_v1", void 0, {
|
|
@@ -18425,7 +18611,7 @@ function Sc(e, t) {
|
|
|
18425
18611
|
}
|
|
18426
18612
|
//#endregion
|
|
18427
18613
|
//#region src/element/ui/window/v1/index.ts
|
|
18428
|
-
var
|
|
18614
|
+
var wc = {
|
|
18429
18615
|
key: "settings",
|
|
18430
18616
|
name: "x-runtime-lib.settings",
|
|
18431
18617
|
children: [
|
|
@@ -18481,11 +18667,11 @@ B({
|
|
|
18481
18667
|
name: "x-runtime-lib.window",
|
|
18482
18668
|
comp: Ca,
|
|
18483
18669
|
properties: {
|
|
18484
|
-
pageUi: [W,
|
|
18485
|
-
compUi: [W,
|
|
18670
|
+
pageUi: [W, wc],
|
|
18671
|
+
compUi: [W, wc]
|
|
18486
18672
|
},
|
|
18487
18673
|
inlineSlots: ["default"],
|
|
18488
|
-
spawn:
|
|
18674
|
+
spawn: Cc
|
|
18489
18675
|
}), B({
|
|
18490
18676
|
key: "ui_window_item_v1",
|
|
18491
18677
|
name: "x-runtime-lib.windowItem",
|
|
@@ -18498,7 +18684,7 @@ B({
|
|
|
18498
18684
|
});
|
|
18499
18685
|
//#endregion
|
|
18500
18686
|
//#region src/element/finalProperties.ts
|
|
18501
|
-
function
|
|
18687
|
+
function Tc(e) {
|
|
18502
18688
|
let n = [], r = (e, i, a) => {
|
|
18503
18689
|
if (i !== "" && (i += "."), i += e.key, a = t(a), a.push(e.name), !e.ui && !e.array) e.children.forEach((e) => r(e, i, a));
|
|
18504
18690
|
else {
|
|
@@ -18515,19 +18701,19 @@ function wc(e) {
|
|
|
18515
18701
|
r(e, "", []);
|
|
18516
18702
|
}), n;
|
|
18517
18703
|
}
|
|
18518
|
-
function
|
|
18704
|
+
function Ec() {
|
|
18519
18705
|
let e = {}, t = ot();
|
|
18520
18706
|
for (let n in t) {
|
|
18521
18707
|
let r = {}, i = t[n];
|
|
18522
|
-
for (let e in i.properties) r[e] =
|
|
18708
|
+
for (let e in i.properties) r[e] = Tc(i.properties[e]);
|
|
18523
18709
|
e[n] = r;
|
|
18524
18710
|
}
|
|
18525
18711
|
return e;
|
|
18526
18712
|
}
|
|
18527
|
-
var
|
|
18713
|
+
var Dc = Ec();
|
|
18528
18714
|
//#endregion
|
|
18529
18715
|
//#region src/sandbox/bind/base.ts
|
|
18530
|
-
function
|
|
18716
|
+
function Oc(e) {
|
|
18531
18717
|
if (!e.vm) {
|
|
18532
18718
|
console.error("bindBase invalid sandbox vm");
|
|
18533
18719
|
return;
|
|
@@ -18559,7 +18745,7 @@ function Dc(e) {
|
|
|
18559
18745
|
console.log(r, ...i);
|
|
18560
18746
|
}).consume((e) => t.setProp(t.global, "__consoleLogV1__", e)), t.newFunction("__debugTraceV1__", (e) => {
|
|
18561
18747
|
let n = t.dump(e);
|
|
18562
|
-
|
|
18748
|
+
ne.emit("consoleAppend", n);
|
|
18563
18749
|
}).consume((e) => t.setProp(t.global, "__debugTraceV1__", e)), t.newFunction("__messageV1__", (e, n) => {
|
|
18564
18750
|
let r = t.getString(e), i = t.dump(n), a;
|
|
18565
18751
|
a = typeof i == "object" ? JSON.stringify(i) : String(i), r === "info" ? oe(a) : r === "success" ? se(a) : r === "warning" ? ce(a) : r === "error" && ae(a);
|
|
@@ -18586,22 +18772,21 @@ function Dc(e) {
|
|
|
18586
18772
|
}
|
|
18587
18773
|
//#endregion
|
|
18588
18774
|
//#region src/api/computebase/instance.ts
|
|
18589
|
-
var
|
|
18775
|
+
var kc = te({
|
|
18590
18776
|
baseUrl: "http://localhost/computebase/",
|
|
18591
18777
|
onError: (e) => {
|
|
18592
|
-
|
|
18593
|
-
ae(Ke(t, e));
|
|
18778
|
+
ae(Ke(e));
|
|
18594
18779
|
}
|
|
18595
18780
|
});
|
|
18596
|
-
window.API_URL && (
|
|
18781
|
+
window.API_URL && (kc.defaults.baseURL = window.API_URL + "/computebase/");
|
|
18597
18782
|
//#endregion
|
|
18598
18783
|
//#region src/api/computebase/index.ts
|
|
18599
|
-
function
|
|
18600
|
-
return
|
|
18784
|
+
function Ac(e) {
|
|
18785
|
+
return kc.post("callFunc", e);
|
|
18601
18786
|
}
|
|
18602
18787
|
//#endregion
|
|
18603
18788
|
//#region src/sandbox/bind/compute.ts
|
|
18604
|
-
function
|
|
18789
|
+
function jc(e) {
|
|
18605
18790
|
if (!e.vm) {
|
|
18606
18791
|
console.error("bindCompute invalid sandbox vm");
|
|
18607
18792
|
return;
|
|
@@ -18609,7 +18794,7 @@ function Ac(e) {
|
|
|
18609
18794
|
let { vm: t } = e;
|
|
18610
18795
|
t.newFunction("__callFuncV1__", (n, r, i, a, o) => {
|
|
18611
18796
|
let s = t.getString(n), c = t.getString(r), l = t.dump(i), u = t.getString(a), d = t.getString(o), { promise: f, resolve: p, reject: m } = e.promiseManager.create();
|
|
18612
|
-
return
|
|
18797
|
+
return Ac({
|
|
18613
18798
|
spaceId: s,
|
|
18614
18799
|
id: c,
|
|
18615
18800
|
strInputs: JSON.stringify(l),
|
|
@@ -18623,7 +18808,7 @@ function Ac(e) {
|
|
|
18623
18808
|
}
|
|
18624
18809
|
//#endregion
|
|
18625
18810
|
//#region src/sandbox/bind/system.ts
|
|
18626
|
-
function
|
|
18811
|
+
function Mc(e) {
|
|
18627
18812
|
if (!e.vm) {
|
|
18628
18813
|
console.error("bindSystem invalid sandbox vm");
|
|
18629
18814
|
return;
|
|
@@ -18633,7 +18818,7 @@ function jc(e) {
|
|
|
18633
18818
|
}
|
|
18634
18819
|
//#endregion
|
|
18635
18820
|
//#region src/sandbox/bind/view.ts
|
|
18636
|
-
function
|
|
18821
|
+
function Nc(e) {
|
|
18637
18822
|
if (!e.vm) {
|
|
18638
18823
|
console.error("bindView invalid sandbox vm");
|
|
18639
18824
|
return;
|
|
@@ -18665,11 +18850,11 @@ function Mc(e) {
|
|
|
18665
18850
|
appId: `${i}${e.env}`,
|
|
18666
18851
|
pageId: a
|
|
18667
18852
|
};
|
|
18668
|
-
|
|
18853
|
+
ie.router.replace({
|
|
18669
18854
|
path: t,
|
|
18670
18855
|
query: n
|
|
18671
18856
|
});
|
|
18672
|
-
} else e.mode === "preview" && ce(
|
|
18857
|
+
} else e.mode === "preview" && ce(ie.i18n.global.t("x-runtime-lib.msg.takeEffectOnlyAfterReleased"));
|
|
18673
18858
|
}).consume((e) => t.setProp(t.global, "__navigateToV1__", e)), t.newFunction("__openConfirmDlgV1__", (n, r) => {
|
|
18674
18859
|
let i = t.getString(n), a = t.getString(r), { promise: o, resolve: s } = e.promiseManager.create();
|
|
18675
18860
|
return le({
|
|
@@ -18691,12 +18876,12 @@ function Mc(e) {
|
|
|
18691
18876
|
}
|
|
18692
18877
|
//#endregion
|
|
18693
18878
|
//#region src/sandbox/bind/index.ts
|
|
18694
|
-
function
|
|
18695
|
-
|
|
18879
|
+
function Pc(e) {
|
|
18880
|
+
Oc(e), jc(e), Mc(e), Nc(e);
|
|
18696
18881
|
}
|
|
18697
18882
|
//#endregion
|
|
18698
18883
|
//#region src/sandbox/sandbox/initCode.ts
|
|
18699
|
-
var
|
|
18884
|
+
var Fc = "\nlet __events__ = {}\n\nfunction __onEventV1__(id, callback) {\n if (typeof(id) !== 'string' || !id) {\n return\n }\n if (typeof(callback) !== 'function') {\n return\n }\n if (!__events__[id]) {\n __events__[id] = []\n }\n const callbacks = __events__[id]\n for (let i = 0; i < callbacks.length; i++) {\n if (callbacks[i] === callback) {\n return\n }\n }\n callbacks.push(callback)\n}\n\nasync function __triggerEventInner__(id, params, instance) {\n if (!__events__[id]) {\n return\n }\n const callbacks = __events__[id]\n if (!callbacks) {\n return\n }\n for (let i = 0; i < callbacks.length; i++) {\n await callbacks[i](params, instance)\n }\n}\n\nlet __timers__ = {}\nlet __currTimerId__ = 0\n\nfunction __createTimerV1__(interval, loop, count, immediate, callback) {\n if (!loop && count <= 0) {\n return\n }\n const timer = {}\n timer.id = __currTimerId__++\n timer.interval = interval\n timer.loop = loop\n timer.count = count\n timer.immediate = immediate\n timer.callback = callback\n __timers__[timer.id] = timer\n if (timer.immediate) {\n __timeoutCallbackV1__(timer.id)\n } else {\n __timeoutV1__(timer.id, timer.interval)\n }\n}\n\nasync function __timeoutCallback__(timerId) {\n const timer = __timers__[timerId]\n if (timer) {\n timer.callback()\n // 修改计数\n if (!timer.loop) {\n timer.count = timer.count - 1\n }\n // 触发超时\n if (timer.loop || timer.count > 0) {\n await __timeoutV1__(timer.id, timer.interval)\n }\n // 回收\n if (!timer.loop && timer.count <= 0) {\n delete __timers__[timer.id]\n }\n }\n}\n\nfunction __destroy__() {\n __events__ = {}\n __timers__ = {}\n}\n", Ic = class {
|
|
18700
18885
|
vm;
|
|
18701
18886
|
promises = {};
|
|
18702
18887
|
currPromiseId = 0;
|
|
@@ -18718,7 +18903,7 @@ var Pc = "\nlet __events__ = {}\n\nfunction __onEventV1__(id, callback) {\n if
|
|
|
18718
18903
|
}
|
|
18719
18904
|
};
|
|
18720
18905
|
}
|
|
18721
|
-
},
|
|
18906
|
+
}, Lc = ["__triggerEventInner__"], Rc = class {
|
|
18722
18907
|
kind;
|
|
18723
18908
|
nodeId;
|
|
18724
18909
|
slotId;
|
|
@@ -18759,7 +18944,7 @@ var Pc = "\nlet __events__ = {}\n\nfunction __onEventV1__(id, callback) {\n if
|
|
|
18759
18944
|
this.meta.value = e.value, this.data.value = t.value, this.transients.value = n, this.depends.value = r.value, this.resetCustomProperties(i), this.resetCustomSlotProperties(i), this.resetStates();
|
|
18760
18945
|
}
|
|
18761
18946
|
async createVm(e, t) {
|
|
18762
|
-
this.vm = e.newContext(), this.promiseManager = new
|
|
18947
|
+
this.vm = e.newContext(), this.promiseManager = new Ic(this.vm), Pc(this), this.evalCode(Fc), this.setGlobalVariable("__env__", this.env), this.evalCode(t), await be(), await this.hooks.onReady();
|
|
18763
18948
|
}
|
|
18764
18949
|
destroyVm() {
|
|
18765
18950
|
this.vm && this.hooks.onDestroy(), this.promiseManager &&= (this.promiseManager.dispose(), void 0), this.vm &&= (this.vm.dispose(), void 0);
|
|
@@ -18792,7 +18977,7 @@ var Pc = "\nlet __events__ = {}\n\nfunction __onEventV1__(id, callback) {\n if
|
|
|
18792
18977
|
var n = Xt();
|
|
18793
18978
|
let { vm: r } = this;
|
|
18794
18979
|
if (!r) throw U.vmNotAvailable;
|
|
18795
|
-
|
|
18980
|
+
Lc.includes(e) || this.debugTrace(Qt(e, ...t));
|
|
18796
18981
|
let i = n.u(r.getProp(r.global, e));
|
|
18797
18982
|
if (r.typeof(i) !== "function") throw U.functionNotAvailable;
|
|
18798
18983
|
let a = t.map((e) => Zt(r, e)), o = r.unwrapResult(r.callFunction(i, r.undefined, ...a)).consume((e) => r.dump(e));
|
|
@@ -18808,7 +18993,7 @@ var Pc = "\nlet __events__ = {}\n\nfunction __onEventV1__(id, callback) {\n if
|
|
|
18808
18993
|
var n = Xt();
|
|
18809
18994
|
let { vm: r } = this;
|
|
18810
18995
|
if (!r) throw U.vmNotAvailable;
|
|
18811
|
-
|
|
18996
|
+
Lc.includes(e) || this.debugTrace(Qt(e, ...t));
|
|
18812
18997
|
let i = n.u(r.getProp(r.global, e));
|
|
18813
18998
|
if (r.typeof(i) !== "function") throw U.functionNotAvailable;
|
|
18814
18999
|
let a = t.map((e) => Zt(r, e)), o = r.unwrapResult(r.callFunction(i, r.undefined, ...a)).consume((e) => r.resolvePromise(e));
|
|
@@ -18827,7 +19012,7 @@ var Pc = "\nlet __events__ = {}\n\nfunction __onEventV1__(id, callback) {\n if
|
|
|
18827
19012
|
if (!n) return !1;
|
|
18828
19013
|
let r = n.settings?.adaptSlot;
|
|
18829
19014
|
if (!r) return !1;
|
|
18830
|
-
let { kind: i, mainKey: a, slotKey: o } =
|
|
19015
|
+
let { kind: i, mainKey: a, slotKey: o } = Ql(r);
|
|
18831
19016
|
return !(i !== "elementSlot" && i !== "multipleElementSlot" || e !== a || t !== o);
|
|
18832
19017
|
}
|
|
18833
19018
|
isEqualOfCustomSlot(e, t) {
|
|
@@ -18835,27 +19020,27 @@ var Pc = "\nlet __events__ = {}\n\nfunction __onEventV1__(id, callback) {\n if
|
|
|
18835
19020
|
if (!n) return !1;
|
|
18836
19021
|
let r = n.settings?.adaptSlot;
|
|
18837
19022
|
if (!r) return !1;
|
|
18838
|
-
let { kind: i, mainKey: a, slotKey: o } =
|
|
19023
|
+
let { kind: i, mainKey: a, slotKey: o } = Ql(r);
|
|
18839
19024
|
return !(i !== "customSlot" && i !== "multipleCustomSlot" || e !== a || t !== o);
|
|
18840
19025
|
}
|
|
18841
19026
|
customProperties = {};
|
|
18842
19027
|
customSlotProperties = {};
|
|
18843
19028
|
resetCustomProperties(e) {
|
|
18844
|
-
if (this.customProperties = {}, !(this.kind !== "ref" && this.kind !== "multipleRef") && this.meta.value?.properties) for (let { id: t, type: n } of this.meta.value.properties) this.customProperties[t] =
|
|
19029
|
+
if (this.customProperties = {}, !(this.kind !== "ref" && this.kind !== "multipleRef") && this.meta.value?.properties) for (let { id: t, type: n } of this.meta.value.properties) this.customProperties[t] = re(n), !(!e || e[t] === void 0) && typeof this.customProperties[t] == typeof e[t] && (this.customProperties[t] = e[t]);
|
|
18845
19030
|
}
|
|
18846
19031
|
resetCustomSlotProperties(e) {
|
|
18847
19032
|
if (this.customSlotProperties = {}, this.kind !== "customSlot" && this.kind !== "multipleCustomSlot" || !this.parent?.meta.value?.slots) return;
|
|
18848
19033
|
let t = this.parent.meta.value.slots.find((e) => e.id === this.slotId);
|
|
18849
|
-
if (!(!t || !t.properties)) for (let { id: n, type: r } of t.properties) this.customSlotProperties[n] =
|
|
19034
|
+
if (!(!t || !t.properties)) for (let { id: n, type: r } of t.properties) this.customSlotProperties[n] = re(r), !(!e || e[n] === void 0) && typeof this.customSlotProperties[n] == typeof e[n] && (this.customSlotProperties[n] = e[n]);
|
|
18850
19035
|
}
|
|
18851
19036
|
getMetaOfElementProperty(e, t) {
|
|
18852
19037
|
if (!this.data.value) return;
|
|
18853
|
-
let n = Xe(this.type, this.data.value.type), r =
|
|
19038
|
+
let n = Xe(this.type, this.data.value.type), r = Dc[e]?.[n];
|
|
18854
19039
|
if (r) return r.find((e) => e.keys === t)?.raw;
|
|
18855
19040
|
}
|
|
18856
19041
|
isValidOfElementProperty(e, t) {
|
|
18857
19042
|
if (!this.data.value) return !1;
|
|
18858
|
-
let n = Xe(this.type, this.data.value.type), r =
|
|
19043
|
+
let n = Xe(this.type, this.data.value.type), r = Dc[e]?.[n];
|
|
18859
19044
|
return r ? !!r.find((e) => e.keys === t) : !1;
|
|
18860
19045
|
}
|
|
18861
19046
|
isValidOfElementSlotProperty(e, t, n) {
|
|
@@ -18874,7 +19059,7 @@ var Pc = "\nlet __events__ = {}\n\nfunction __onEventV1__(id, callback) {\n if
|
|
|
18874
19059
|
return !i || !i.properties ? !1 : !!i.properties.find((e) => e.id === n);
|
|
18875
19060
|
}
|
|
18876
19061
|
getProperty(e, t) {
|
|
18877
|
-
let { kind: n, nodeId: r, propertyKey: i } =
|
|
19062
|
+
let { kind: n, nodeId: r, propertyKey: i } = Pl(e), a = this.getNode(r);
|
|
18878
19063
|
if (!a) throw U.nodeNotFound;
|
|
18879
19064
|
if (n === "elementProperty") return this.getElementProperty(e, a, i);
|
|
18880
19065
|
if (n === "refProperty") return this.getRefProperty(e, r, i);
|
|
@@ -18905,7 +19090,7 @@ var Pc = "\nlet __events__ = {}\n\nfunction __onEventV1__(id, callback) {\n if
|
|
|
18905
19090
|
return i.customProperties[n];
|
|
18906
19091
|
}
|
|
18907
19092
|
getCustomSlotProperty(e, t, n) {
|
|
18908
|
-
let { compId: r, slotId: i, propertyId: a } =
|
|
19093
|
+
let { compId: r, slotId: i, propertyId: a } = Rl(n);
|
|
18909
19094
|
if (!this.isValidOfCustomSlotProperty(r, i, a)) throw console.warn(`Sandbox/getCustomSlotProperty invalid custom slot property id=${e}`), U.invalidCustomSlotProperty;
|
|
18910
19095
|
let o = this.children[t];
|
|
18911
19096
|
if (!o) throw U.sandboxNotFound;
|
|
@@ -18913,7 +19098,7 @@ var Pc = "\nlet __events__ = {}\n\nfunction __onEventV1__(id, callback) {\n if
|
|
|
18913
19098
|
}
|
|
18914
19099
|
getMultipleCustomSlotProperty(e, t, n, r) {
|
|
18915
19100
|
if (!r) throw U.instanceNotAvailable;
|
|
18916
|
-
let { compId: i, slotId: a, propertyId: o } =
|
|
19101
|
+
let { compId: i, slotId: a, propertyId: o } = Rl(n);
|
|
18917
19102
|
if (!this.isValidOfCustomSlotProperty(i, a, o)) throw console.warn(`Sandbox/getMultipleCustomSlotProperty invalid custom slot property id=${e}`), U.invalidCustomSlotProperty;
|
|
18918
19103
|
let s = this.children[`${t}/${r}`];
|
|
18919
19104
|
if (!s) throw U.sandboxNotFound;
|
|
@@ -18925,7 +19110,7 @@ var Pc = "\nlet __events__ = {}\n\nfunction __onEventV1__(id, callback) {\n if
|
|
|
18925
19110
|
}
|
|
18926
19111
|
getElementAdaptSlotProperty(e, t) {
|
|
18927
19112
|
if (!this.parent) throw U.notInSlot;
|
|
18928
|
-
let { elementKey: n, slotKey: r, propertyKey: i } =
|
|
19113
|
+
let { elementKey: n, slotKey: r, propertyKey: i } = Il(t);
|
|
18929
19114
|
if (!this.isEqualOfElementSlot(n, r)) throw U.slotIncompatible;
|
|
18930
19115
|
if (!this.isValidOfElementSlotProperty(n, r, i)) throw console.warn(`Sandbox/getElementAdaptSlotProperty invalid element slot property id=${e}`), U.invalidElementSlotProperty;
|
|
18931
19116
|
let a = { value: void 0 };
|
|
@@ -18933,13 +19118,13 @@ var Pc = "\nlet __events__ = {}\n\nfunction __onEventV1__(id, callback) {\n if
|
|
|
18933
19118
|
}
|
|
18934
19119
|
getCustomAdaptSlotProperty(e, t) {
|
|
18935
19120
|
if (!this.parent) throw U.notInSlot;
|
|
18936
|
-
let { compId: n, slotId: r, propertyId: i } =
|
|
19121
|
+
let { compId: n, slotId: r, propertyId: i } = Rl(t);
|
|
18937
19122
|
if (!this.isEqualOfCustomSlot(n, r)) throw U.slotIncompatible;
|
|
18938
19123
|
if (!this.isValidOfCustomSlotProperty(n, r, i)) throw console.warn(`Sandbox/getCustomAdaptSlotProperty invalid custom slot property id=${e}`), U.invalidCustomSlotProperty;
|
|
18939
19124
|
return this.customSlotProperties[i];
|
|
18940
19125
|
}
|
|
18941
19126
|
async setProperty(e, n, r) {
|
|
18942
|
-
let { kind: i, nodeId: a, propertyKey: o } =
|
|
19127
|
+
let { kind: i, nodeId: a, propertyKey: o } = Pl(e), s = this.getNode(a);
|
|
18943
19128
|
if (!s) throw U.nodeNotFound;
|
|
18944
19129
|
n = t(n), i === "elementProperty" ? await this.setElementProperty(e, n, o, s) : i === "refProperty" ? await this.setRefProperty(e, n, a, o) : i === "multipleRefProperty" ? await this.setMultipleRefProperty(e, n, a, o, r) : i === "customSlotProperty" ? await this.setCustomSlotProperty(e, n, a, o) : i === "multipleCustomSlotProperty" ? await this.setMultipleCustomSlotProperty(e, n, a, o, r) : i === "customProperty" ? await this.setCustomProperty(e, n, o) : i === "elementAdaptSlotProperty" ? await this.setElementAdaptSlotProperty(e, n, o) : i === "customAdaptSlotProperty" ? await this.setCustomAdaptSlotProperty(e, n, o) : console.assert(!1), await be();
|
|
18945
19130
|
}
|
|
@@ -18961,7 +19146,7 @@ var Pc = "\nlet __events__ = {}\n\nfunction __onEventV1__(id, callback) {\n if
|
|
|
18961
19146
|
if (!i) throw U.sandboxNotFound;
|
|
18962
19147
|
if (!i.isValidOfCustomProperty(r)) throw console.warn(`Sandbox/setRefProperty invalid custom property id=${e}`), U.invalidCustomProperty;
|
|
18963
19148
|
let o = i.customProperties[r];
|
|
18964
|
-
a(t, o) || (i.customProperties[r] = t, await i.hooks.onPropertyChange(
|
|
19149
|
+
a(t, o) || (i.customProperties[r] = t, await i.hooks.onPropertyChange(Nl("customProperty", "globality", r), t, o), await this.hooks.onPropertyChange(e, t, o));
|
|
18965
19150
|
}
|
|
18966
19151
|
async setMultipleRefProperty(e, t, n, r, i) {
|
|
18967
19152
|
if (!i) throw U.instanceNotAvailable;
|
|
@@ -18969,47 +19154,47 @@ var Pc = "\nlet __events__ = {}\n\nfunction __onEventV1__(id, callback) {\n if
|
|
|
18969
19154
|
if (!o) throw U.sandboxNotFound;
|
|
18970
19155
|
if (!o.isValidOfCustomProperty(r)) throw console.warn(`Sandbox/setMultipleRefProperty invalid custom property id=${e}`), U.invalidCustomProperty;
|
|
18971
19156
|
let s = o.customProperties[r];
|
|
18972
|
-
a(t, s) || (o.customProperties[r] = t, await o.hooks.onPropertyChange(
|
|
19157
|
+
a(t, s) || (o.customProperties[r] = t, await o.hooks.onPropertyChange(Nl("customProperty", "globality", r), t, s, i), await this.hooks.onPropertyChange(e, t, s, i));
|
|
18973
19158
|
}
|
|
18974
19159
|
async setCustomSlotProperty(e, t, n, r) {
|
|
18975
|
-
let { compId: i, slotId: o, propertyId: s } =
|
|
19160
|
+
let { compId: i, slotId: o, propertyId: s } = Rl(r);
|
|
18976
19161
|
if (!this.isValidOfCustomSlotProperty(i, o, s)) throw console.warn(`Sandbox/setCustomSlotProperty invalid custom slot property id=${e}`), U.invalidCustomSlotProperty;
|
|
18977
19162
|
let c = this.children[n];
|
|
18978
19163
|
if (!c) throw U.sandboxNotFound;
|
|
18979
19164
|
let l = c.customSlotProperties[s];
|
|
18980
|
-
a(t, l) || (c.customSlotProperties[s] = t, await c.hooks.onPropertyChange(
|
|
19165
|
+
a(t, l) || (c.customSlotProperties[s] = t, await c.hooks.onPropertyChange(Nl("customAdaptSlotProperty", "globality", r), t, l), await this.hooks.onPropertyChange(e, t, l));
|
|
18981
19166
|
}
|
|
18982
19167
|
async setMultipleCustomSlotProperty(e, t, n, r, i) {
|
|
18983
19168
|
if (!i) throw U.instanceNotAvailable;
|
|
18984
|
-
let { compId: o, slotId: s, propertyId: c } =
|
|
19169
|
+
let { compId: o, slotId: s, propertyId: c } = Rl(r);
|
|
18985
19170
|
if (!this.isValidOfCustomSlotProperty(o, s, c)) throw console.warn(`Sandbox/setMultipleCustomSlotProperty invalid custom slot property id=${e}`), U.invalidCustomSlotProperty;
|
|
18986
19171
|
let l = this.children[`${n}/${i}`];
|
|
18987
19172
|
if (!l) throw U.sandboxNotFound;
|
|
18988
19173
|
let u = l.customSlotProperties[c];
|
|
18989
|
-
a(t, u) || (l.customSlotProperties[c] = t, await l.hooks.onPropertyChange(
|
|
19174
|
+
a(t, u) || (l.customSlotProperties[c] = t, await l.hooks.onPropertyChange(Nl("customAdaptSlotProperty", "globality", r), t, u, i), await this.hooks.onPropertyChange(e, t, u, i));
|
|
18990
19175
|
}
|
|
18991
19176
|
async setCustomProperty(e, t, n) {
|
|
18992
19177
|
if (!this.isValidOfCustomProperty(n)) throw console.warn(`Sandbox/setCustomProperty invalid custom property id=${e}`), U.invalidCustomProperty;
|
|
18993
19178
|
let r = this.customProperties[n];
|
|
18994
|
-
a(t, r) || (this.customProperties[n] = t, await this.hooks.onPropertyChange(e, t, r), this.parent && (this.instance ? await this.parent.hooks.onPropertyChange(
|
|
19179
|
+
a(t, r) || (this.customProperties[n] = t, await this.hooks.onPropertyChange(e, t, r), this.parent && (this.instance ? await this.parent.hooks.onPropertyChange(Nl("multipleRefProperty", this.nodeId, n), t, r, this.instance) : await this.parent.hooks.onPropertyChange(Nl("refProperty", this.nodeId, n), t, r)));
|
|
18995
19180
|
}
|
|
18996
19181
|
async setElementAdaptSlotProperty(e, t, n) {
|
|
18997
19182
|
if (!this.parent) throw U.notInSlot;
|
|
18998
|
-
let { elementKey: r, slotKey: i, propertyKey: o } =
|
|
19183
|
+
let { elementKey: r, slotKey: i, propertyKey: o } = Il(n);
|
|
18999
19184
|
if (!this.isEqualOfElementSlot(r, i)) throw U.slotIncompatible;
|
|
19000
19185
|
if (!this.isValidOfElementSlotProperty(r, i, o)) throw console.warn(`Sandbox/setElementAdaptSlotProperty invalid element slot property id=${e}`), U.invalidElementSlotProperty;
|
|
19001
19186
|
let s = { value: void 0 };
|
|
19002
19187
|
this.eventBus.emit(`property/${o}/get`, { result: s });
|
|
19003
19188
|
let c = s.value;
|
|
19004
|
-
a(t, c) || (this.eventBus.emit(`property/${o}/set`, t), await this.hooks.onPropertyChange(e, t, c), this.kind === "elementSlot" ? await this.parent.hooks.onPropertyChange(
|
|
19189
|
+
a(t, c) || (this.eventBus.emit(`property/${o}/set`, t), await this.hooks.onPropertyChange(e, t, c), this.kind === "elementSlot" ? await this.parent.hooks.onPropertyChange(Nl("elementSlotProperty", this.nodeId, n), t, c) : this.kind === "multipleElementSlot" && await this.parent.hooks.onPropertyChange(Nl("multipleElementSlotProperty", this.nodeId, n), t, c, this.instance));
|
|
19005
19190
|
}
|
|
19006
19191
|
async setCustomAdaptSlotProperty(e, t, n) {
|
|
19007
19192
|
if (!this.parent) throw U.notInSlot;
|
|
19008
|
-
let { compId: r, slotId: i, propertyId: o } =
|
|
19193
|
+
let { compId: r, slotId: i, propertyId: o } = Rl(n);
|
|
19009
19194
|
if (!this.isEqualOfCustomSlot(r, i)) throw U.slotIncompatible;
|
|
19010
19195
|
if (!this.isValidOfCustomSlotProperty(r, i, o)) throw console.warn(`Sandbox/setCustomAdaptSlotProperty invalid custom slot property id=${e}`), U.invalidCustomSlotProperty;
|
|
19011
19196
|
let s = this.customSlotProperties[o];
|
|
19012
|
-
a(t, s) || (this.customSlotProperties[o] = t, await this.hooks.onPropertyChange(e, t, s), this.kind === "customSlot" ? await this.parent.hooks.onPropertyChange(
|
|
19197
|
+
a(t, s) || (this.customSlotProperties[o] = t, await this.hooks.onPropertyChange(e, t, s), this.kind === "customSlot" ? await this.parent.hooks.onPropertyChange(Nl("customSlotProperty", this.nodeId, n), t, s) : this.kind === "multipleCustomSlot" && await this.parent.hooks.onPropertyChange(Nl("multipleCustomSlotProperty", this.nodeId, n), t, s, this.instance));
|
|
19013
19198
|
}
|
|
19014
19199
|
isValidOfElementMethod(e, t) {
|
|
19015
19200
|
let n = st(e);
|
|
@@ -19032,7 +19217,7 @@ var Pc = "\nlet __events__ = {}\n\nfunction __onEventV1__(id, callback) {\n if
|
|
|
19032
19217
|
}
|
|
19033
19218
|
async callMethod(e, t, n) {
|
|
19034
19219
|
this.debugTrace(Qt("callMethod", e, t, n));
|
|
19035
|
-
let { kind: r, nodeId: i, methodKey: a } =
|
|
19220
|
+
let { kind: r, nodeId: i, methodKey: a } = Bl(e), o = this.getNode(i);
|
|
19036
19221
|
if (!o) throw U.nodeNotFound;
|
|
19037
19222
|
if (r === "elementMethod") return await this.callElementMethod(e, n, i, o.basic.key, a);
|
|
19038
19223
|
if (r === "refMethod") return await this.callRefMethod(e, n, i, a);
|
|
@@ -19054,18 +19239,18 @@ var Pc = "\nlet __events__ = {}\n\nfunction __onEventV1__(id, callback) {\n if
|
|
|
19054
19239
|
let i = this.children[n];
|
|
19055
19240
|
if (!i) throw U.sandboxNotFound;
|
|
19056
19241
|
if (!i.isValidOfCustomMethod(r)) throw console.warn(`Sandbox/callRefMethod invalid custom method id=${e}`), U.invalidCustomMethod;
|
|
19057
|
-
return await i.callFunctionAsync(
|
|
19242
|
+
return await i.callFunctionAsync(Ml("customMethod", "globality", r), "", t);
|
|
19058
19243
|
}
|
|
19059
19244
|
async callMultipleRefMethod(e, t, n, r, i) {
|
|
19060
19245
|
if (!t) throw U.instanceNotAvailable;
|
|
19061
19246
|
let a = this.children[`${r}/${t}`];
|
|
19062
19247
|
if (!a) throw U.sandboxNotFound;
|
|
19063
19248
|
if (!a.isValidOfCustomMethod(i)) throw console.warn(`Sandbox/callMultipleRefMethod invalid custom method id=${e}`), U.invalidCustomMethod;
|
|
19064
|
-
return await a.callFunctionAsync(
|
|
19249
|
+
return await a.callFunctionAsync(Ml("customMethod", "globality", i), "", n);
|
|
19065
19250
|
}
|
|
19066
19251
|
async callElementAdaptSlotMethod(e, t, n) {
|
|
19067
19252
|
if (!this.parent) throw U.notInSlot;
|
|
19068
|
-
let { elementKey: r, slotKey: i, methodKey: a } =
|
|
19253
|
+
let { elementKey: r, slotKey: i, methodKey: a } = Hl(n);
|
|
19069
19254
|
if (!this.isEqualOfElementSlot(r, i)) throw U.slotIncompatible;
|
|
19070
19255
|
if (!this.isValidOfElementSlotMethod(r, i, a)) throw console.warn(`Sandbox/callElementAdaptSlotMethod invalid element slot method id=${e}`), U.invalidElementSlotMethod;
|
|
19071
19256
|
let o = {};
|
|
@@ -19077,11 +19262,11 @@ var Pc = "\nlet __events__ = {}\n\nfunction __onEventV1__(id, callback) {\n if
|
|
|
19077
19262
|
}
|
|
19078
19263
|
async callCustomAdaptSlotMethod(e, t, n) {
|
|
19079
19264
|
if (!this.parent) throw U.notInSlot;
|
|
19080
|
-
let { compId: r, slotId: i, methodId: a } =
|
|
19265
|
+
let { compId: r, slotId: i, methodId: a } = Wl(n);
|
|
19081
19266
|
if (!this.isEqualOfCustomSlot(r, i)) throw U.slotIncompatible;
|
|
19082
19267
|
if (!this.isValidOfCustomSlotMethod(r, i, a)) throw console.warn(`Sandbox/callCustomAdaptSlotMethod invalid custom slot method id=${e}`), U.invalidCustomSlotMethod;
|
|
19083
|
-
if (this.kind === "customSlot") return await this.parent.callFunctionAsync(
|
|
19084
|
-
if (this.kind === "multipleCustomSlot") return await this.parent.callFunctionAsync(
|
|
19268
|
+
if (this.kind === "customSlot") return await this.parent.callFunctionAsync(Ml("customSlotMethod", this.nodeId, n), "", t);
|
|
19269
|
+
if (this.kind === "multipleCustomSlot") return await this.parent.callFunctionAsync(Ml("multipleCustomSlotMethod", this.nodeId, n), this.instance, t);
|
|
19085
19270
|
}
|
|
19086
19271
|
isValidOfElementEvent(e, t) {
|
|
19087
19272
|
let n = st(e);
|
|
@@ -19104,7 +19289,7 @@ var Pc = "\nlet __events__ = {}\n\nfunction __onEventV1__(id, callback) {\n if
|
|
|
19104
19289
|
}
|
|
19105
19290
|
async triggerEvent(e, t, n) {
|
|
19106
19291
|
this.debugTrace("triggerEvent", e, t, n);
|
|
19107
|
-
let { kind: r, nodeId: i, eventKey: a } =
|
|
19292
|
+
let { kind: r, nodeId: i, eventKey: a } = Kl(e), o = this.getNode(i);
|
|
19108
19293
|
if (!o) throw U.nodeNotFound;
|
|
19109
19294
|
r === "elementEvent" ? await this.triggerElementEvent(e, t, o, a) : r === "elementPropertyChangeEvent" ? await this.triggerElementPropertyChangeEvent(e, t, o, a) : r === "elementSlotEvent" ? await this.triggerElementSlotEvent(e, t, i, a) : r === "elementSlotPropertyChangeEvent" ? await this.triggerElementSlotPropertyChangeEvent(e, t, a) : r === "multipleElementSlotEvent" ? await this.triggerMultipleElementSlotEvent(e, t, i, a, n) : r === "multipleElementSlotPropertyChangeEvent" ? await this.triggerMultipleElementSlotPropertyChangeEvent(e, t, a, n) : r === "refEvent" ? await this.triggerRefEvent(e, t, i, a) : r === "refPropertyChangeEvent" ? await this.triggerRefPropertyChangeEvent(e, t, i, a) : r === "multipleRefEvent" ? await this.triggerMultipleRefEvent(e, t, i, a, n) : r === "multipleRefPropertyChangeEvent" ? await this.triggerMultipleRefPropertyChangeEvent(e, t, i, a, n) : r === "customSlotEvent" ? await this.triggerCustomSlotEvent(e, t, i, a) : r === "customSlotPropertyChangeEvent" ? await this.triggerCustomSlotPropertyChangeEvent(e, t, a) : r === "multipleCustomSlotEvent" ? await this.triggerMultipleCustomSlotEvent(e, t, i, a, n) : r === "multipleCustomSlotPropertyChangeEvent" ? await this.triggerMultipleCustomSlotPropertyChangeEvent(e, t, a, n) : r === "customEvent" ? await this.triggerCustomEvent(e, t, a) : r === "customPropertyChangeEvent" ? await this.triggerCustomPropertyChangeEvent(e, t, a) : r === "elementAdaptSlotEvent" ? await this.triggerElementAdaptSlotEvent(e, t, a) : r === "elementAdaptSlotPropertyChangeEvent" ? await this.triggerElementAdaptSlotPropertyChangeEvent(e, t, a) : r === "customAdaptSlotEvent" ? await this.triggerCustomAdaptSlotEvent(e, t, a) : r === "customAdaptSlotPropertyChangeEvent" ? await this.triggerCustomAdaptSlotPropertyChangeEvent(e, t, a) : r === "stateChangeEvent" ? await this.triggerStateChangeEvent(e, t, a) : console.assert(!1);
|
|
19110
19295
|
}
|
|
@@ -19117,28 +19302,28 @@ var Pc = "\nlet __events__ = {}\n\nfunction __onEventV1__(id, callback) {\n if
|
|
|
19117
19302
|
await this.callFunctionAsync("__triggerEventInner__", e, t);
|
|
19118
19303
|
}
|
|
19119
19304
|
async triggerElementSlotEvent(e, t, n, r) {
|
|
19120
|
-
let { elementKey: i, slotKey: a, eventKey: o } =
|
|
19305
|
+
let { elementKey: i, slotKey: a, eventKey: o } = Jl(r);
|
|
19121
19306
|
if (!this.isValidOfElementSlotEvent(i, a, o)) throw U.invalidElementSlotEvent;
|
|
19122
19307
|
await this.callFunctionAsync("__triggerEventInner__", e, t);
|
|
19123
19308
|
let s = this.children[n];
|
|
19124
|
-
s && await s.triggerEvent(
|
|
19309
|
+
s && await s.triggerEvent(Gl("elementAdaptSlotEvent", "globality", r), t);
|
|
19125
19310
|
}
|
|
19126
19311
|
async triggerElementSlotPropertyChangeEvent(e, t, n) {
|
|
19127
|
-
let { elementKey: r, slotKey: i, eventKey: a } =
|
|
19312
|
+
let { elementKey: r, slotKey: i, eventKey: a } = Jl(n);
|
|
19128
19313
|
if (!this.isValidOfElementSlotProperty(r, i, a)) throw U.invalidElementSlotProperty;
|
|
19129
19314
|
await this.callFunctionAsync("__triggerEventInner__", e, t);
|
|
19130
19315
|
}
|
|
19131
19316
|
async triggerMultipleElementSlotEvent(e, t, n, r, i) {
|
|
19132
19317
|
if (!i) throw U.instanceNotAvailable;
|
|
19133
|
-
let { elementKey: a, slotKey: o, eventKey: s } =
|
|
19318
|
+
let { elementKey: a, slotKey: o, eventKey: s } = Jl(r);
|
|
19134
19319
|
if (!this.isValidOfElementSlotEvent(a, o, s)) throw U.invalidElementSlotEvent;
|
|
19135
19320
|
await this.callFunctionAsync("__triggerEventInner__", e, t, i);
|
|
19136
19321
|
let c = this.children[`${n}/${i}`];
|
|
19137
|
-
c && await c.triggerEvent(
|
|
19322
|
+
c && await c.triggerEvent(Gl("elementAdaptSlotEvent", "globality", r), t);
|
|
19138
19323
|
}
|
|
19139
19324
|
async triggerMultipleElementSlotPropertyChangeEvent(e, t, n, r) {
|
|
19140
19325
|
if (!r) throw U.instanceNotAvailable;
|
|
19141
|
-
let { elementKey: i, slotKey: a, eventKey: o } =
|
|
19326
|
+
let { elementKey: i, slotKey: a, eventKey: o } = Jl(n);
|
|
19142
19327
|
if (!this.isValidOfElementSlotProperty(i, a, o)) throw U.invalidElementSlotProperty;
|
|
19143
19328
|
await this.callFunctionAsync("__triggerEventInner__", e, t, r);
|
|
19144
19329
|
}
|
|
@@ -19169,34 +19354,34 @@ var Pc = "\nlet __events__ = {}\n\nfunction __onEventV1__(id, callback) {\n if
|
|
|
19169
19354
|
await this.callFunctionAsync("__triggerEventInner__", e, t, i);
|
|
19170
19355
|
}
|
|
19171
19356
|
async triggerCustomSlotEvent(e, t, n, r) {
|
|
19172
|
-
let { compId: i, slotId: a, eventId: o } =
|
|
19357
|
+
let { compId: i, slotId: a, eventId: o } = Xl(r);
|
|
19173
19358
|
if (!this.isValidOfCustomSlotEvent(i, a, o)) throw U.invalidCustomSlotEvent;
|
|
19174
19359
|
await this.callFunctionAsync("__triggerEventInner__", e, t);
|
|
19175
19360
|
let s = this.children[n];
|
|
19176
|
-
s && await s.triggerEvent(
|
|
19361
|
+
s && await s.triggerEvent(Gl("customAdaptSlotEvent", "globality", r), t);
|
|
19177
19362
|
}
|
|
19178
19363
|
async triggerCustomSlotPropertyChangeEvent(e, t, n) {
|
|
19179
|
-
let { compId: r, slotId: i, eventId: a } =
|
|
19364
|
+
let { compId: r, slotId: i, eventId: a } = Xl(n);
|
|
19180
19365
|
if (!this.isValidOfCustomSlotProperty(r, i, a)) throw U.invalidCustomSlotProperty;
|
|
19181
19366
|
await this.callFunctionAsync("__triggerEventInner__", e, t);
|
|
19182
19367
|
}
|
|
19183
19368
|
async triggerMultipleCustomSlotEvent(e, t, n, r, i) {
|
|
19184
19369
|
if (!i) throw U.instanceNotAvailable;
|
|
19185
|
-
let { compId: a, slotId: o, eventId: s } =
|
|
19370
|
+
let { compId: a, slotId: o, eventId: s } = Xl(r);
|
|
19186
19371
|
if (!this.isValidOfCustomSlotEvent(a, o, s)) throw U.invalidCustomSlotEvent;
|
|
19187
19372
|
await this.callFunctionAsync("__triggerEventInner__", e, t, i);
|
|
19188
19373
|
let c = this.children[`${n}/${i}`];
|
|
19189
|
-
c && await c.triggerEvent(
|
|
19374
|
+
c && await c.triggerEvent(Gl("customAdaptSlotEvent", "globality", r), t);
|
|
19190
19375
|
}
|
|
19191
19376
|
async triggerMultipleCustomSlotPropertyChangeEvent(e, t, n, r) {
|
|
19192
19377
|
if (!r) throw U.instanceNotAvailable;
|
|
19193
|
-
let { compId: i, slotId: a, eventId: o } =
|
|
19378
|
+
let { compId: i, slotId: a, eventId: o } = Xl(n);
|
|
19194
19379
|
if (!this.isValidOfCustomSlotProperty(i, a, o)) throw U.invalidCustomSlotProperty;
|
|
19195
19380
|
await this.callFunctionAsync("__triggerEventInner__", e, t, r);
|
|
19196
19381
|
}
|
|
19197
19382
|
async triggerCustomEvent(e, t, n) {
|
|
19198
19383
|
if (!this.isValidOfCustomEvent(n)) throw U.invalidCustomEvent;
|
|
19199
|
-
await this.callFunctionAsync("__triggerEventInner__", e, t), this.parent && (this.instance ? await this.parent.triggerEvent(
|
|
19384
|
+
await this.callFunctionAsync("__triggerEventInner__", e, t), this.parent && (this.instance ? await this.parent.triggerEvent(Gl("multipleRefEvent", this.nodeId, n), t, this.instance) : await this.parent.triggerEvent(Gl("refEvent", this.nodeId, n), t));
|
|
19200
19385
|
}
|
|
19201
19386
|
async triggerCustomPropertyChangeEvent(e, t, n) {
|
|
19202
19387
|
if (!this.isValidOfCustomProperty(n)) throw U.invalidCustomProperty;
|
|
@@ -19204,28 +19389,28 @@ var Pc = "\nlet __events__ = {}\n\nfunction __onEventV1__(id, callback) {\n if
|
|
|
19204
19389
|
}
|
|
19205
19390
|
async triggerElementAdaptSlotEvent(e, t, n) {
|
|
19206
19391
|
if (!this.parent) throw U.notInSlot;
|
|
19207
|
-
let { elementKey: r, slotKey: i, eventKey: a } =
|
|
19392
|
+
let { elementKey: r, slotKey: i, eventKey: a } = Jl(n);
|
|
19208
19393
|
if (!this.isEqualOfElementSlot(r, i)) throw U.slotIncompatible;
|
|
19209
19394
|
if (!this.isValidOfElementSlotEvent(r, i, a)) throw U.invalidElementSlotEvent;
|
|
19210
19395
|
await this.callFunctionAsync("__triggerEventInner__", e, t);
|
|
19211
19396
|
}
|
|
19212
19397
|
async triggerElementAdaptSlotPropertyChangeEvent(e, t, n) {
|
|
19213
19398
|
if (!this.parent) throw U.notInSlot;
|
|
19214
|
-
let { elementKey: r, slotKey: i, eventKey: a } =
|
|
19399
|
+
let { elementKey: r, slotKey: i, eventKey: a } = Jl(n);
|
|
19215
19400
|
if (!this.isEqualOfElementSlot(r, i)) throw U.slotIncompatible;
|
|
19216
19401
|
if (!this.isValidOfElementSlotProperty(r, i, a)) throw U.invalidElementSlotProperty;
|
|
19217
19402
|
await this.callFunctionAsync("__triggerEventInner__", e, t);
|
|
19218
19403
|
}
|
|
19219
19404
|
async triggerCustomAdaptSlotEvent(e, t, n) {
|
|
19220
19405
|
if (!this.parent) throw U.notInSlot;
|
|
19221
|
-
let { compId: r, slotId: i, eventId: a } =
|
|
19406
|
+
let { compId: r, slotId: i, eventId: a } = Xl(n);
|
|
19222
19407
|
if (!this.isEqualOfCustomSlot(r, i)) throw U.slotIncompatible;
|
|
19223
19408
|
if (!this.isValidOfCustomSlotEvent(r, i, a)) throw U.invalidCustomSlotEvent;
|
|
19224
19409
|
await this.callFunctionAsync("__triggerEventInner__", e, t);
|
|
19225
19410
|
}
|
|
19226
19411
|
async triggerCustomAdaptSlotPropertyChangeEvent(e, t, n) {
|
|
19227
19412
|
if (!this.parent) throw U.notInSlot;
|
|
19228
|
-
let { compId: r, slotId: i, eventId: a } =
|
|
19413
|
+
let { compId: r, slotId: i, eventId: a } = Xl(n);
|
|
19229
19414
|
if (!this.isEqualOfCustomSlot(r, i)) throw U.slotIncompatible;
|
|
19230
19415
|
if (!this.isValidOfCustomSlotProperty(r, i, a)) throw U.invalidCustomSlotProperty;
|
|
19231
19416
|
await this.callFunctionAsync("__triggerEventInner__", e, t);
|
|
@@ -19236,7 +19421,7 @@ var Pc = "\nlet __events__ = {}\n\nfunction __onEventV1__(id, callback) {\n if
|
|
|
19236
19421
|
}
|
|
19237
19422
|
states = {};
|
|
19238
19423
|
resetStates() {
|
|
19239
|
-
if (this.states = {}, this.meta.value?.states) for (let { id: e, type: t } of this.meta.value.states) this.states[e] =
|
|
19424
|
+
if (this.states = {}, this.meta.value?.states) for (let { id: e, type: t } of this.meta.value.states) this.states[e] = re(t);
|
|
19240
19425
|
}
|
|
19241
19426
|
isValidOfState(e) {
|
|
19242
19427
|
return this.meta.value ? !!this.meta.value.states?.find((t) => t.id === e) : !1;
|
|
@@ -19249,115 +19434,115 @@ var Pc = "\nlet __events__ = {}\n\nfunction __onEventV1__(id, callback) {\n if
|
|
|
19249
19434
|
let r = this.states[e];
|
|
19250
19435
|
a(n, r) || (this.states[e] = t(n), await this.hooks.onStateChange(e, n, r), await be());
|
|
19251
19436
|
}
|
|
19252
|
-
},
|
|
19253
|
-
function
|
|
19254
|
-
Ee(Rc, e);
|
|
19255
|
-
}
|
|
19256
|
-
function tl() {
|
|
19257
|
-
return _e(Rc);
|
|
19258
|
-
}
|
|
19259
|
-
function nl(e) {
|
|
19437
|
+
}, zc = "runtimeOrg", Bc = "runtimeEnv", Vc = "runtimeMode", Hc = "runtimeDevice", Uc = "runtimeDark", Wc = "runtimeId", Gc = "runtimeType", Kc = "runtimeMeta", qc = "runtimeData", Jc = "runtimeTransients", Yc = "runtimeDepends", Xc = "runtimeRuntime", Zc = "runtimeSandbox", Qc = "runtimeNodeLite", $c = "runtimeNode", el = "runtimeSlotProps";
|
|
19438
|
+
function tl(e) {
|
|
19260
19439
|
Ee(zc, e);
|
|
19261
19440
|
}
|
|
19262
|
-
function
|
|
19441
|
+
function nl() {
|
|
19263
19442
|
return _e(zc);
|
|
19264
19443
|
}
|
|
19265
|
-
function
|
|
19444
|
+
function rl(e) {
|
|
19266
19445
|
Ee(Bc, e);
|
|
19267
19446
|
}
|
|
19268
|
-
function
|
|
19447
|
+
function il() {
|
|
19269
19448
|
return _e(Bc);
|
|
19270
19449
|
}
|
|
19271
19450
|
function al(e) {
|
|
19272
|
-
Ee(Vc,
|
|
19451
|
+
Ee(Vc, e);
|
|
19273
19452
|
}
|
|
19274
|
-
function
|
|
19453
|
+
function $() {
|
|
19275
19454
|
return _e(Vc);
|
|
19276
19455
|
}
|
|
19277
|
-
function
|
|
19456
|
+
function ol(e) {
|
|
19278
19457
|
Ee(Hc, Oe(e));
|
|
19279
19458
|
}
|
|
19280
|
-
function
|
|
19459
|
+
function sl() {
|
|
19281
19460
|
return _e(Hc);
|
|
19282
19461
|
}
|
|
19283
|
-
function
|
|
19284
|
-
Ee(Uc, e);
|
|
19462
|
+
function cl(e) {
|
|
19463
|
+
Ee(Uc, Oe(e));
|
|
19285
19464
|
}
|
|
19286
|
-
function
|
|
19465
|
+
function ll() {
|
|
19287
19466
|
return _e(Uc);
|
|
19288
19467
|
}
|
|
19289
|
-
function
|
|
19468
|
+
function ul(e) {
|
|
19290
19469
|
Ee(Wc, e);
|
|
19291
19470
|
}
|
|
19292
|
-
function
|
|
19471
|
+
function dl() {
|
|
19293
19472
|
return _e(Wc);
|
|
19294
19473
|
}
|
|
19295
|
-
function
|
|
19474
|
+
function fl(e) {
|
|
19296
19475
|
Ee(Gc, e);
|
|
19297
19476
|
}
|
|
19298
|
-
function
|
|
19477
|
+
function pl() {
|
|
19299
19478
|
return _e(Gc);
|
|
19300
19479
|
}
|
|
19301
|
-
function
|
|
19480
|
+
function ml(e) {
|
|
19302
19481
|
Ee(Kc, e);
|
|
19303
19482
|
}
|
|
19304
|
-
function
|
|
19483
|
+
function hl() {
|
|
19305
19484
|
return _e(Kc);
|
|
19306
19485
|
}
|
|
19307
|
-
function
|
|
19486
|
+
function gl(e) {
|
|
19308
19487
|
Ee(qc, e);
|
|
19309
19488
|
}
|
|
19310
|
-
function
|
|
19489
|
+
function _l() {
|
|
19311
19490
|
return _e(qc);
|
|
19312
19491
|
}
|
|
19313
|
-
function
|
|
19314
|
-
Ee(Jc,
|
|
19492
|
+
function vl(e) {
|
|
19493
|
+
Ee(Jc, e);
|
|
19315
19494
|
}
|
|
19316
|
-
function
|
|
19495
|
+
function yl() {
|
|
19317
19496
|
return _e(Jc);
|
|
19318
19497
|
}
|
|
19319
|
-
function
|
|
19320
|
-
Ee(Yc, e);
|
|
19498
|
+
function bl(e) {
|
|
19499
|
+
Ee(Yc, Oe(e));
|
|
19321
19500
|
}
|
|
19322
|
-
function
|
|
19501
|
+
function xl() {
|
|
19323
19502
|
return _e(Yc);
|
|
19324
19503
|
}
|
|
19325
|
-
function
|
|
19504
|
+
function Sl(e) {
|
|
19326
19505
|
Ee(Xc, e);
|
|
19327
19506
|
}
|
|
19328
|
-
function
|
|
19329
|
-
return _e(Xc
|
|
19507
|
+
function Cl() {
|
|
19508
|
+
return _e(Xc);
|
|
19330
19509
|
}
|
|
19331
|
-
function
|
|
19510
|
+
function wl(e) {
|
|
19332
19511
|
Ee(Zc, e);
|
|
19333
19512
|
}
|
|
19334
|
-
function
|
|
19513
|
+
function Tl() {
|
|
19335
19514
|
return _e(Zc, void 0);
|
|
19336
19515
|
}
|
|
19337
|
-
function
|
|
19516
|
+
function El(e) {
|
|
19338
19517
|
Ee(Qc, e);
|
|
19339
19518
|
}
|
|
19340
|
-
function
|
|
19519
|
+
function Dl() {
|
|
19341
19520
|
return _e(Qc, void 0);
|
|
19342
19521
|
}
|
|
19343
|
-
function
|
|
19522
|
+
function Ol(e) {
|
|
19344
19523
|
Ee($c, e);
|
|
19345
19524
|
}
|
|
19346
|
-
function
|
|
19525
|
+
function kl() {
|
|
19347
19526
|
return _e($c, void 0);
|
|
19348
19527
|
}
|
|
19528
|
+
function Al(e) {
|
|
19529
|
+
Ee(el, e);
|
|
19530
|
+
}
|
|
19531
|
+
function jl() {
|
|
19532
|
+
return _e(el, void 0);
|
|
19533
|
+
}
|
|
19349
19534
|
//#endregion
|
|
19350
19535
|
//#region src/utils/sandbox.ts
|
|
19351
|
-
function
|
|
19536
|
+
function Ml(e, t, n) {
|
|
19352
19537
|
let r = [e, t], i = n.split(".");
|
|
19353
19538
|
return i.length > 1 ? r.push(...i.slice(1)) : r.push(n), `__implementMethod$${r.join("$")}__`;
|
|
19354
19539
|
}
|
|
19355
19540
|
//#endregion
|
|
19356
19541
|
//#region src/utils/unifiedId.ts
|
|
19357
|
-
function
|
|
19542
|
+
function Nl(e, t, n) {
|
|
19358
19543
|
return `${e}/${t}/${n}`;
|
|
19359
19544
|
}
|
|
19360
|
-
function
|
|
19545
|
+
function Pl(e) {
|
|
19361
19546
|
let t = e.split("/");
|
|
19362
19547
|
if (t.length !== 3) throw Error("unwrap property id failed");
|
|
19363
19548
|
return {
|
|
@@ -19366,10 +19551,10 @@ function Nl(e) {
|
|
|
19366
19551
|
propertyKey: t[2]
|
|
19367
19552
|
};
|
|
19368
19553
|
}
|
|
19369
|
-
function
|
|
19554
|
+
function Fl(e, t, n) {
|
|
19370
19555
|
return `${e}.${t}.${n}`;
|
|
19371
19556
|
}
|
|
19372
|
-
function
|
|
19557
|
+
function Il(e) {
|
|
19373
19558
|
let t = e.split(".");
|
|
19374
19559
|
if (t.length !== 3) throw Error("unwrap property key of element slot failed");
|
|
19375
19560
|
return {
|
|
@@ -19378,10 +19563,10 @@ function Fl(e) {
|
|
|
19378
19563
|
propertyKey: t[2]
|
|
19379
19564
|
};
|
|
19380
19565
|
}
|
|
19381
|
-
function
|
|
19566
|
+
function Ll(e, t, n) {
|
|
19382
19567
|
return `${e}.${t}.${n}`;
|
|
19383
19568
|
}
|
|
19384
|
-
function
|
|
19569
|
+
function Rl(e) {
|
|
19385
19570
|
let t = e.split(".");
|
|
19386
19571
|
if (t.length !== 3) throw Error("unwrap property key of custom slot failed");
|
|
19387
19572
|
return {
|
|
@@ -19390,10 +19575,10 @@ function Ll(e) {
|
|
|
19390
19575
|
propertyId: t[2]
|
|
19391
19576
|
};
|
|
19392
19577
|
}
|
|
19393
|
-
function
|
|
19578
|
+
function zl(e, t, n) {
|
|
19394
19579
|
return `${e}/${t}/${n}`;
|
|
19395
19580
|
}
|
|
19396
|
-
function
|
|
19581
|
+
function Bl(e) {
|
|
19397
19582
|
let t = e.split("/");
|
|
19398
19583
|
if (t.length !== 3) throw Error("unwrap method id failed");
|
|
19399
19584
|
return {
|
|
@@ -19402,10 +19587,10 @@ function zl(e) {
|
|
|
19402
19587
|
methodKey: t[2]
|
|
19403
19588
|
};
|
|
19404
19589
|
}
|
|
19405
|
-
function
|
|
19590
|
+
function Vl(e, t, n) {
|
|
19406
19591
|
return `${e}.${t}.${n}`;
|
|
19407
19592
|
}
|
|
19408
|
-
function
|
|
19593
|
+
function Hl(e) {
|
|
19409
19594
|
let t = e.split(".");
|
|
19410
19595
|
if (t.length !== 3) throw Error("unwrap method key of element slot failed");
|
|
19411
19596
|
return {
|
|
@@ -19414,10 +19599,10 @@ function Vl(e) {
|
|
|
19414
19599
|
methodKey: t[2]
|
|
19415
19600
|
};
|
|
19416
19601
|
}
|
|
19417
|
-
function
|
|
19602
|
+
function Ul(e, t, n) {
|
|
19418
19603
|
return `${e}.${t}.${n}`;
|
|
19419
19604
|
}
|
|
19420
|
-
function
|
|
19605
|
+
function Wl(e) {
|
|
19421
19606
|
let t = e.split(".");
|
|
19422
19607
|
if (t.length !== 3) throw Error("unwrap method key of custom slot");
|
|
19423
19608
|
return {
|
|
@@ -19426,10 +19611,10 @@ function Ul(e) {
|
|
|
19426
19611
|
methodId: t[2]
|
|
19427
19612
|
};
|
|
19428
19613
|
}
|
|
19429
|
-
function
|
|
19614
|
+
function Gl(e, t, n) {
|
|
19430
19615
|
return `${e}/${t}/${n}`;
|
|
19431
19616
|
}
|
|
19432
|
-
function
|
|
19617
|
+
function Kl(e) {
|
|
19433
19618
|
let t = e.split("/");
|
|
19434
19619
|
if (t.length !== 3) throw Error("unwrap event id failed");
|
|
19435
19620
|
return {
|
|
@@ -19438,10 +19623,10 @@ function Gl(e) {
|
|
|
19438
19623
|
eventKey: t[2]
|
|
19439
19624
|
};
|
|
19440
19625
|
}
|
|
19441
|
-
function
|
|
19626
|
+
function ql(e, t, n) {
|
|
19442
19627
|
return `${e}.${t}.${n}`;
|
|
19443
19628
|
}
|
|
19444
|
-
function
|
|
19629
|
+
function Jl(e) {
|
|
19445
19630
|
let t = e.split(".");
|
|
19446
19631
|
if (t.length !== 3) throw Error("unwrap event key of element slot failed");
|
|
19447
19632
|
return {
|
|
@@ -19450,10 +19635,10 @@ function ql(e) {
|
|
|
19450
19635
|
eventKey: t[2]
|
|
19451
19636
|
};
|
|
19452
19637
|
}
|
|
19453
|
-
function
|
|
19638
|
+
function Yl(e, t, n) {
|
|
19454
19639
|
return `${e}.${t}.${n}`;
|
|
19455
19640
|
}
|
|
19456
|
-
function
|
|
19641
|
+
function Xl(e) {
|
|
19457
19642
|
let t = e.split(".");
|
|
19458
19643
|
if (t.length !== 3) throw Error("unwrap event key of custom slot failed");
|
|
19459
19644
|
return {
|
|
@@ -19462,10 +19647,10 @@ function Yl(e) {
|
|
|
19462
19647
|
eventId: t[2]
|
|
19463
19648
|
};
|
|
19464
19649
|
}
|
|
19465
|
-
function
|
|
19650
|
+
function Zl(e, t, n) {
|
|
19466
19651
|
return `${e}/${t}/${n}`;
|
|
19467
19652
|
}
|
|
19468
|
-
function
|
|
19653
|
+
function Ql(e) {
|
|
19469
19654
|
let t = e.split("/");
|
|
19470
19655
|
if (t.length !== 3) throw Error("unwrap slot id failed");
|
|
19471
19656
|
return {
|
|
@@ -19474,10 +19659,10 @@ function Zl(e) {
|
|
|
19474
19659
|
slotKey: t[2]
|
|
19475
19660
|
};
|
|
19476
19661
|
}
|
|
19477
|
-
function
|
|
19662
|
+
function $l(e, t) {
|
|
19478
19663
|
return `${e}@${t}`;
|
|
19479
19664
|
}
|
|
19480
|
-
function
|
|
19665
|
+
function eu(e) {
|
|
19481
19666
|
let t = e.split("@");
|
|
19482
19667
|
if (t.length !== 2) throw Error("unwrap trigger id failed");
|
|
19483
19668
|
return {
|
|
@@ -19487,18 +19672,18 @@ function $l(e) {
|
|
|
19487
19672
|
}
|
|
19488
19673
|
//#endregion
|
|
19489
19674
|
//#region src/types/data.ts
|
|
19490
|
-
function
|
|
19675
|
+
function tu(e, t) {
|
|
19491
19676
|
e.key = t.basic.key, e.alias = t.basic.alias, Rt(t.basic.key) && (e.inlineSlot = t.settings?.value), Lt(t.basic.key) && (e.render = t.settings?.open), e.slotId = t.settings?.slot, e.compId = t.settings?.comp;
|
|
19492
19677
|
}
|
|
19493
|
-
function
|
|
19678
|
+
function nu(e, t) {
|
|
19494
19679
|
let n = {
|
|
19495
19680
|
id: e.basic.id,
|
|
19496
19681
|
key: e.basic.key,
|
|
19497
19682
|
children: t
|
|
19498
19683
|
};
|
|
19499
|
-
return
|
|
19684
|
+
return tu(n, e), n;
|
|
19500
19685
|
}
|
|
19501
|
-
function
|
|
19686
|
+
function ru({ type: e, version: t, view: n, code: r }) {
|
|
19502
19687
|
let i = (e, t) => {
|
|
19503
19688
|
let n = { id: t.id };
|
|
19504
19689
|
t.children && (n.children = [], t.children.forEach((e) => {
|
|
@@ -19519,9 +19704,9 @@ function nu({ type: e, version: t, view: n, code: r }) {
|
|
|
19519
19704
|
};
|
|
19520
19705
|
return JSON.stringify(o);
|
|
19521
19706
|
}
|
|
19522
|
-
function
|
|
19707
|
+
function iu(e) {
|
|
19523
19708
|
let t = JSON.parse(e), n = (e, r) => {
|
|
19524
|
-
e.key = r.basic.key,
|
|
19709
|
+
e.key = r.basic.key, tu(e, r), e.children?.forEach((e) => {
|
|
19525
19710
|
n(e, t.view.nodes[e.id]);
|
|
19526
19711
|
});
|
|
19527
19712
|
};
|
|
@@ -19531,27 +19716,27 @@ function ru(e) {
|
|
|
19531
19716
|
}
|
|
19532
19717
|
//#endregion
|
|
19533
19718
|
//#region src/types/meta.ts
|
|
19534
|
-
function
|
|
19719
|
+
function au(e) {
|
|
19535
19720
|
return JSON.stringify(e);
|
|
19536
19721
|
}
|
|
19537
|
-
function
|
|
19722
|
+
function ou(e) {
|
|
19538
19723
|
return JSON.parse(e);
|
|
19539
19724
|
}
|
|
19540
19725
|
//#endregion
|
|
19541
19726
|
//#region src/block/core/index.ts
|
|
19542
|
-
var
|
|
19543
|
-
function
|
|
19544
|
-
|
|
19545
|
-
}
|
|
19546
|
-
var cu = {};
|
|
19547
|
-
function lu(e, t) {
|
|
19548
|
-
cu[e] = t;
|
|
19727
|
+
var su;
|
|
19728
|
+
function cu(e) {
|
|
19729
|
+
su = e;
|
|
19549
19730
|
}
|
|
19731
|
+
var lu = {};
|
|
19550
19732
|
function uu(e, t) {
|
|
19733
|
+
lu[e] = t;
|
|
19734
|
+
}
|
|
19735
|
+
function du(e, t) {
|
|
19551
19736
|
let n = (e) => {
|
|
19552
|
-
if (
|
|
19737
|
+
if (lu[e.type] && lu[e.type]({
|
|
19553
19738
|
nodeIds: t,
|
|
19554
|
-
hooks:
|
|
19739
|
+
hooks: su
|
|
19555
19740
|
}, e), e.inputs) for (let t in e.inputs) {
|
|
19556
19741
|
let { shadow: r, block: i } = e.inputs[t];
|
|
19557
19742
|
r && n(r), i && n(i);
|
|
@@ -19565,13 +19750,13 @@ function uu(e, t) {
|
|
|
19565
19750
|
}
|
|
19566
19751
|
//#endregion
|
|
19567
19752
|
//#region src/block/bind/property/setAppProperty/v1/index.ts
|
|
19568
|
-
|
|
19753
|
+
uu("on_app_event_v1", (e, t) => {
|
|
19569
19754
|
if (!t.binds || t.binds.length < 2) return;
|
|
19570
19755
|
let n = e.nodeIds?.[t.binds[0]];
|
|
19571
19756
|
if (!n) throw Error(`nodeId not found alias=${t.binds[0]}`);
|
|
19572
19757
|
let r = e.hooks.getNodeInfo(n);
|
|
19573
19758
|
if (!r) throw Error(`nodeInfo not found alias=${t.binds[0]}`);
|
|
19574
|
-
let { kind: i, eventKey: a } =
|
|
19759
|
+
let { kind: i, eventKey: a } = Kl(t.binds[1]), o = Gl(i, n, a), s = e.hooks.getOnEventInfo(o);
|
|
19575
19760
|
if (!s) throw Error(`eventInfo not found id=${t.binds[1]}`);
|
|
19576
19761
|
t.fields ||= {}, t.fields.NODE = n, t.fields.EVENT = o, t.extraState ||= {}, t.extraState.node = {
|
|
19577
19762
|
id: r.id,
|
|
@@ -19583,13 +19768,13 @@ lu("on_app_event_v1", (e, t) => {
|
|
|
19583
19768
|
names: s.names,
|
|
19584
19769
|
params: s.params
|
|
19585
19770
|
};
|
|
19586
|
-
}),
|
|
19771
|
+
}), uu("trigger_app_event_v1", (e, t) => {
|
|
19587
19772
|
if (!t.binds || t.binds.length < 2) return;
|
|
19588
19773
|
let n = e.nodeIds?.[t.binds[0]];
|
|
19589
19774
|
if (!n) throw Error(`nodeId not found alias=${t.binds[0]}`);
|
|
19590
19775
|
let r = e.hooks.getNodeInfo(n);
|
|
19591
19776
|
if (!r) throw Error(`nodeInfo not found alias=${t.binds[0]}`);
|
|
19592
|
-
let { kind: i, eventKey: a } =
|
|
19777
|
+
let { kind: i, eventKey: a } = Kl(t.binds[1]), o = Gl(i, n, a), s = e.hooks.getTriggerEventInfo(o);
|
|
19593
19778
|
if (!s) throw Error(`eventInfo not found id=${t.binds[1]}`);
|
|
19594
19779
|
t.fields ||= {}, t.fields.NODE = n, t.fields.EVENT = o, t.extraState ||= {}, t.extraState.node = {
|
|
19595
19780
|
id: r.id,
|
|
@@ -19601,13 +19786,13 @@ lu("on_app_event_v1", (e, t) => {
|
|
|
19601
19786
|
names: s.names,
|
|
19602
19787
|
params: s.params
|
|
19603
19788
|
};
|
|
19604
|
-
}),
|
|
19789
|
+
}), uu("get_app_property_v1", (e, t) => {
|
|
19605
19790
|
if (!t.binds || t.binds.length < 2) return;
|
|
19606
19791
|
let n = e.nodeIds?.[t.binds[0]];
|
|
19607
19792
|
if (!n) throw Error(`nodeId not found alias=${t.binds[0]}`);
|
|
19608
19793
|
let r = e.hooks.getNodeInfo(n);
|
|
19609
19794
|
if (!r) throw Error(`nodeInfo not found alias=${t.binds[0]}`);
|
|
19610
|
-
let { kind: i, propertyKey: a } =
|
|
19795
|
+
let { kind: i, propertyKey: a } = Pl(t.binds[1]), o = Nl(i, n, a), s = e.hooks.getPropertyInfo(o);
|
|
19611
19796
|
if (!s) throw Error(`propertyInfo not found id=${t.binds[1]}`);
|
|
19612
19797
|
t.fields ||= {}, t.fields.NODE = n, t.fields.PROPERTY = o, t.extraState ||= {}, t.extraState.node = {
|
|
19613
19798
|
id: r.id,
|
|
@@ -19618,13 +19803,13 @@ lu("on_app_event_v1", (e, t) => {
|
|
|
19618
19803
|
kind: s.kind,
|
|
19619
19804
|
names: s.names
|
|
19620
19805
|
};
|
|
19621
|
-
}),
|
|
19806
|
+
}), uu("set_app_property_v1", (e, t) => {
|
|
19622
19807
|
if (!t.binds || t.binds.length < 2) return;
|
|
19623
19808
|
let n = e.nodeIds?.[t.binds[0]];
|
|
19624
19809
|
if (!n) throw Error(`nodeId not found alias=${t.binds[0]}`);
|
|
19625
19810
|
let r = e.hooks.getNodeInfo(n);
|
|
19626
19811
|
if (!r) throw Error(`nodeInfo not found alias=${t.binds[0]}`);
|
|
19627
|
-
let { kind: i, propertyKey: a } =
|
|
19812
|
+
let { kind: i, propertyKey: a } = Pl(t.binds[1]), o = Nl(i, n, a), s = e.hooks.getPropertyInfo(o);
|
|
19628
19813
|
if (!s) throw Error(`propertyInfo not found id=${t.binds[1]}`);
|
|
19629
19814
|
t.fields ||= {}, t.fields.NODE = n, t.fields.PROPERTY = o, t.extraState ||= {}, t.extraState.node = {
|
|
19630
19815
|
id: r.id,
|
|
@@ -19638,7 +19823,7 @@ lu("on_app_event_v1", (e, t) => {
|
|
|
19638
19823
|
});
|
|
19639
19824
|
//#endregion
|
|
19640
19825
|
//#region \0rolldown_dynamic_import_helper.js
|
|
19641
|
-
var
|
|
19826
|
+
var fu = (e, t, n) => {
|
|
19642
19827
|
let r = t.lastIndexOf("?"), i = e[r === -1 || r < t.lastIndexOf("/") ? t : t.slice(0, r)];
|
|
19643
19828
|
return i ? typeof i == "function" ? i() : Promise.resolve(i) : new Promise((e, r) => {
|
|
19644
19829
|
(typeof queueMicrotask == "function" ? queueMicrotask : setTimeout)(r.bind(null, /* @__PURE__ */ Error("Unknown variable dynamic import: " + t + (t.split("/").length === n ? "" : ". Note that variables only represent file names one level deep."))));
|
|
@@ -19646,11 +19831,11 @@ var du = (e, t, n) => {
|
|
|
19646
19831
|
};
|
|
19647
19832
|
//#endregion
|
|
19648
19833
|
//#region src/i18n/index.ts
|
|
19649
|
-
async function
|
|
19650
|
-
return (await
|
|
19834
|
+
async function pu(e) {
|
|
19835
|
+
return (await fu(/* @__PURE__ */ Object.assign({
|
|
19651
19836
|
"./locales/en/index.ts": () => import("./i18n-en.ji44s5ag.js").then((e) => e.t),
|
|
19652
19837
|
"./locales/zhHans/index.ts": () => import("./i18n-zhHans.oz7lhaay.js").then((e) => e.t)
|
|
19653
19838
|
}), `./locales/${e}/index.ts`, 4)).default;
|
|
19654
19839
|
}
|
|
19655
19840
|
//#endregion
|
|
19656
|
-
export { kt as addIndent,
|
|
19841
|
+
export { kt as addIndent, du as applyBlockBind, ct as breakpoints, dt as calcBreakpoint, Ye as compTypes, mt as createBreakpointProperty, H as createMakeNode, Wt as createNode, ru as dataStringify, qt as duplicateNodePair, Jt as duplicateNodePairs, it as elementKeys, Dc as finalProperties, Et as fromDotString, gt as genId, ot as getAllElements, ut as getBreakpointName, pt as getBreakpointProperty, st as getElement, Dt as getField, Ml as getImplementMethodName, ft as getIndexOfBreakpoint, $e as getItems, Gt as getNodeLite, Ft as getPropertyDefault, Pt as getPropertyDefaultArray, wt as getRadius, Xe as getTag, rt as getTypes, Vt as hasComp, zt as hasInlineSlot, Bt as hasSlot, It as initProperties, jn as initQuickJS, ll as injectDark, _l as injectData, xl as injectDepends, sl as injectDevice, il as injectEnv, dl as injectId, hl as injectMeta, $ as injectMode, kl as injectNode, Dl as injectNodeLite, nl as injectOrg, Cl as injectRuntime, Tl as injectSandbox, jl as injectSlotProps, yl as injectTransients, pl as injectType, qe as isCircularReference, R as isExecutableMode, xt as isHexColor, Rt as isInlineSlot, yt as isPercent, _t as isPixel, Lt as isRenderSwitch, Ct as isThemeColor, Ze as itemsKeys, pu as loadLocaleMessageRuntime, Gl as makeEventId, Yl as makeEventKeyOfCustomSlot, ql as makeEventKeyOfElementSlot, zl as makeMethodId, Ul as makeMethodKeyOfCustomSlot, Vl as makeMethodKeyOfElementSlot, Kt as makeNodePair, Nl as makePropertyId, Ll as makePropertyKeyOfCustomSlot, Fl as makePropertyKeyOfElementSlot, Zl as makeSlotId, $l as makeTriggerId, au as metaStringify, Je as pageTypes, iu as parseData, ou as parseMeta, bt as parsePercent, vt as parsePixel, yn as pkgs, cl as provideDark, gl as provideData, bl as provideDepends, ol as provideDevice, rl as provideEnv, ul as provideId, ml as provideMeta, al as provideMode, Ol as provideNode, El as provideNodeLite, tl as provideOrg, Sl as provideRuntime, wl as provideSandbox, Al as provideSlotProps, vl as provideTransients, fl as provideType, uu as regBindHandles, B as regElement, z as regItems, nt as regTypes, lt as reverseBreakpoints, Ot as setField, cu as setupHooks, tu as syncNodeLite, St as themeColors, Tt as toDotString, Nt as toEventName, Mt as toMethodName, nu as toNodeLite, jt as toPropertyName, Ht as toRenderDefault, Ut as toRenderSlots, et as typesKeys, Kl as unwrapEventId, Xl as unwrapEventKeyOfCustomSlot, Jl as unwrapEventKeyOfElementSlot, Bl as unwrapMethodId, Wl as unwrapMethodKeyOfCustomSlot, Hl as unwrapMethodKeyOfElementSlot, Pl as unwrapPropertyId, Rl as unwrapPropertyKeyOfCustomSlot, Il as unwrapPropertyKeyOfElementSlot, Ql as unwrapSlotId, eu as unwrapTriggerId, kn as useColor, An as useDepend, Pn as useGlobalTransient, Mn as useRuntime, Fn as useSandbox };
|