x-runtime-lib 0.9.52 → 0.9.54
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/{i18n-en.ot9smdcm.js → i18n-en.o3ksxu9f.js} +2 -1
- package/dist/{i18n-zhHans.jgc17e4x.js → i18n-zhHans.micb9uug.js} +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +408 -400
- package/dist/{rolldown-runtime.jd1hion4.js → rolldown-runtime.i63kqlhj.js} +1 -1
- package/dist/{vendor.gtr2b2v9.js → vendor.g3f2gmug.js} +13914 -13128
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as e,
|
|
2
|
-
import { createAxios as
|
|
1
|
+
import { C as e, S as t, _ as n, a as r, b as i, c as a, d as o, f as s, g as c, h as l, i as u, l as d, m as f, n as p, o as m, p as h, r as g, s as _, t as v, u as y, v as b, w as x, x as S, y as ee } from "./vendor.g3f2gmug.js";
|
|
2
|
+
import { createAxios as te, eventBus as ne, getTypeDefault as re, globalObjects as C, messageError as ie, messageInfo as ae, messageSuccess as oe, messageWarning as se, openConfirmDlg as ce, openPromptDlg as le, useViewStack as ue, waitUtil as de } from "x-essential-lib";
|
|
3
3
|
import { Fragment as fe, computed as w, createBlock as T, createCommentVNode as pe, createElementBlock as E, createElementVNode as me, createSlots as D, createTextVNode as he, createVNode as O, defineComponent as k, h as A, inject as j, isRef as M, mergeModels as ge, mergeProps as _e, nextTick as ve, normalizeClass as ye, normalizeStyle as be, onBeforeMount as xe, onMounted as Se, onUnmounted as Ce, openBlock as N, provide as we, reactive as Te, readonly as Ee, ref as P, renderList as De, renderSlot as F, resolveComponent as I, resolveDirective as Oe, shallowRef as ke, toDisplayString as Ae, unref as L, useAttrs as je, useId as Me, useModel as Ne, useTemplateRef as Pe, watch as Fe, watchEffect as Ie, withCtx as R, withDirectives as Le, withModifiers as Re } from "vue";
|
|
4
4
|
import { CameraHelper as ze, DirectionalLightHelper as Be, PointLightHelper as Ve, SpotLightHelper as He } from "three";
|
|
5
5
|
import { useTheme as Ue } from "vuetify";
|
|
@@ -21,13 +21,13 @@ function Xe(e, t) {
|
|
|
21
21
|
//#endregion
|
|
22
22
|
//#region src/meta/base.ts
|
|
23
23
|
var Ze = ["ui", "3d"], Qe = ["ui", "3d"];
|
|
24
|
-
function $e(e,
|
|
24
|
+
function $e(e, t) {
|
|
25
25
|
if (e === "page") {
|
|
26
|
-
if (!Ze.includes(
|
|
26
|
+
if (!Ze.includes(t)) throw Error("invalid page type");
|
|
27
27
|
} else if (e === "comp") {
|
|
28
|
-
if (!Qe.includes(
|
|
28
|
+
if (!Qe.includes(t)) throw Error("invalid comp type");
|
|
29
29
|
} else throw Error("invalid type");
|
|
30
|
-
return `${e}${t
|
|
30
|
+
return `${e}${x(t)}`;
|
|
31
31
|
}
|
|
32
32
|
//#endregion
|
|
33
33
|
//#region src/meta/items.ts
|
|
@@ -115,17 +115,17 @@ function _t(e, t) {
|
|
|
115
115
|
for (let r of pt) gt(r) > gt(e) || !n && t[r] && (n = t[r]);
|
|
116
116
|
return n;
|
|
117
117
|
}
|
|
118
|
-
function vt(
|
|
119
|
-
let
|
|
120
|
-
key:
|
|
121
|
-
name:
|
|
118
|
+
function vt(t) {
|
|
119
|
+
let n = {
|
|
120
|
+
key: t.key,
|
|
121
|
+
name: t.name,
|
|
122
122
|
children: []
|
|
123
123
|
};
|
|
124
124
|
for (let r of ft) {
|
|
125
|
-
let i =
|
|
126
|
-
i.key = r, i.name = mt(r),
|
|
125
|
+
let i = e(t);
|
|
126
|
+
i.key = r, i.name = mt(r), n.children.push(i);
|
|
127
127
|
}
|
|
128
|
-
return
|
|
128
|
+
return n;
|
|
129
129
|
}
|
|
130
130
|
//#endregion
|
|
131
131
|
//#region src/utils/misc.ts
|
|
@@ -274,10 +274,10 @@ function Rt(e, t) {
|
|
|
274
274
|
//#endregion
|
|
275
275
|
//#region src/utils/name.ts
|
|
276
276
|
function H(...e) {
|
|
277
|
-
return e.map((e) =>
|
|
277
|
+
return e.map((e) => C.i18n.global.t(`x-runtime-lib.${e}`)).join(" - ");
|
|
278
278
|
}
|
|
279
279
|
function zt(e, t, n) {
|
|
280
|
-
let { i18n: r } =
|
|
280
|
+
let { i18n: r } = C, i = "";
|
|
281
281
|
return e && (i += e + " / "), t.forEach((e, t) => {
|
|
282
282
|
t > 0 && (i += " - "), n ? i += r.global.t(e) : i += e;
|
|
283
283
|
}), i;
|
|
@@ -410,13 +410,13 @@ function Ht(e, t) {
|
|
|
410
410
|
}
|
|
411
411
|
//#endregion
|
|
412
412
|
//#region src/utils/property.ts
|
|
413
|
-
function Ut(
|
|
414
|
-
if (!
|
|
415
|
-
return
|
|
413
|
+
function Ut(t) {
|
|
414
|
+
if (!t.array) throw Error("property not array");
|
|
415
|
+
return e(t.defaultArray);
|
|
416
416
|
}
|
|
417
|
-
function Wt(
|
|
418
|
-
if (!
|
|
419
|
-
return
|
|
417
|
+
function Wt(t) {
|
|
418
|
+
if (!t.ui) throw Error("property no ui");
|
|
419
|
+
return e(t.default);
|
|
420
420
|
}
|
|
421
421
|
function Gt(e, t) {
|
|
422
422
|
function n(e, t) {
|
|
@@ -465,7 +465,9 @@ function en(e, t, n) {
|
|
|
465
465
|
if (!i) throw Error(`properties not found key=${n}`);
|
|
466
466
|
let a = { basic: {
|
|
467
467
|
id: "",
|
|
468
|
-
key: ""
|
|
468
|
+
key: "",
|
|
469
|
+
desc: "",
|
|
470
|
+
alias: ""
|
|
469
471
|
} };
|
|
470
472
|
return Gt(a, i), a.basic.id = bt(16), a.basic.key = r.key, a;
|
|
471
473
|
}
|
|
@@ -501,16 +503,16 @@ function nn(e, t) {
|
|
|
501
503
|
nodes: { [e.basic.id]: e }
|
|
502
504
|
};
|
|
503
505
|
}
|
|
504
|
-
function rn(
|
|
505
|
-
let
|
|
506
|
-
let
|
|
507
|
-
|
|
508
|
-
}, i =
|
|
506
|
+
function rn(t) {
|
|
507
|
+
let n = {}, r = (e) => {
|
|
508
|
+
let t = bt(16);
|
|
509
|
+
n[e.id] = t, e.id = t, e.children?.map((e) => r(e));
|
|
510
|
+
}, i = e(t.nodeLite);
|
|
509
511
|
r(i);
|
|
510
512
|
let a = {};
|
|
511
|
-
return Object.values(
|
|
512
|
-
let r =
|
|
513
|
-
r.basic.id =
|
|
513
|
+
return Object.values(t.nodes).forEach((t) => {
|
|
514
|
+
let r = e(t);
|
|
515
|
+
r.basic.id = n[r.basic.id], a[r.basic.id] = r;
|
|
514
516
|
}), {
|
|
515
517
|
nodeLite: i,
|
|
516
518
|
nodes: a
|
|
@@ -558,7 +560,7 @@ function U(e, t) {
|
|
|
558
560
|
};
|
|
559
561
|
}
|
|
560
562
|
//#endregion
|
|
561
|
-
//#region \0@oxc-project+runtime@0.
|
|
563
|
+
//#region \0@oxc-project+runtime@0.132.0/helpers/usingCtx.js
|
|
562
564
|
function sn() {
|
|
563
565
|
var e = typeof SuppressedError == "function" ? SuppressedError : function(e, t) {
|
|
564
566
|
var n = Error();
|
|
@@ -673,7 +675,7 @@ async function un(e, t) {
|
|
|
673
675
|
async function dn(e, t) {
|
|
674
676
|
let { watchEffect: n } = t;
|
|
675
677
|
for (let t of n.ids) {
|
|
676
|
-
let n =
|
|
678
|
+
let n = b(t);
|
|
677
679
|
await e.callFunctionAsync(`__watchEffect$${n}__`);
|
|
678
680
|
}
|
|
679
681
|
}
|
|
@@ -696,7 +698,7 @@ async function pn(e, t, n) {
|
|
|
696
698
|
async function mn(e, t, n) {
|
|
697
699
|
let { watchEffect: r } = t;
|
|
698
700
|
if (r.triggers[n]) for (let t of r.triggers[n]) {
|
|
699
|
-
let n =
|
|
701
|
+
let n = b(t);
|
|
700
702
|
await e.callFunctionAsync(`__watchEffect$${n}__`);
|
|
701
703
|
}
|
|
702
704
|
}
|
|
@@ -1458,6 +1460,12 @@ var G = {
|
|
|
1458
1460
|
static: !0,
|
|
1459
1461
|
default: ""
|
|
1460
1462
|
},
|
|
1463
|
+
{
|
|
1464
|
+
key: "desc",
|
|
1465
|
+
name: "x-runtime-lib.desc",
|
|
1466
|
+
ui: "text",
|
|
1467
|
+
default: ""
|
|
1468
|
+
},
|
|
1461
1469
|
{
|
|
1462
1470
|
key: "alias",
|
|
1463
1471
|
name: "x-runtime-lib.alias",
|
|
@@ -1533,18 +1541,18 @@ var vn = [
|
|
|
1533
1541
|
}
|
|
1534
1542
|
];
|
|
1535
1543
|
function yn() {
|
|
1536
|
-
let
|
|
1544
|
+
let t = {
|
|
1537
1545
|
key: "",
|
|
1538
1546
|
name: "",
|
|
1539
1547
|
ui: "multiTypes",
|
|
1540
1548
|
types: "borderRadiusV1",
|
|
1541
1549
|
default: null
|
|
1542
|
-
},
|
|
1550
|
+
}, n = [];
|
|
1543
1551
|
for (let { key: r, name: i } of vn) {
|
|
1544
|
-
let a =
|
|
1545
|
-
a.key = r, a.name = i,
|
|
1552
|
+
let a = e(t);
|
|
1553
|
+
a.key = r, a.name = i, n.push(a);
|
|
1546
1554
|
}
|
|
1547
|
-
return
|
|
1555
|
+
return n;
|
|
1548
1556
|
}
|
|
1549
1557
|
var bn = {
|
|
1550
1558
|
key: "border",
|
|
@@ -2882,7 +2890,7 @@ function Y(e, t, n) {
|
|
|
2882
2890
|
async set(a) {
|
|
2883
2891
|
n && typeof a == "object" && (a = JSON.stringify(a, null, 2));
|
|
2884
2892
|
let o = Ft(e.value, t);
|
|
2885
|
-
|
|
2893
|
+
S(a, o) || (It(e.value, t, a), z(r) && await i?.hooks.onPropertyChange(Wl("elementProperty", e.value.basic.id, Nt(t)), a, o));
|
|
2886
2894
|
}
|
|
2887
2895
|
}) };
|
|
2888
2896
|
}
|
|
@@ -2909,35 +2917,35 @@ function Rn(e) {
|
|
|
2909
2917
|
}
|
|
2910
2918
|
//#endregion
|
|
2911
2919
|
//#region src/composables/runtime/depend.ts
|
|
2912
|
-
function zn(
|
|
2920
|
+
function zn(t, n, r) {
|
|
2913
2921
|
let i = Al(), a = P(-1), o = P(-1);
|
|
2914
2922
|
Ie(() => {
|
|
2915
|
-
if (!
|
|
2916
|
-
a.value = -1,
|
|
2923
|
+
if (!t.value) {
|
|
2924
|
+
a.value = -1, n.value = void 0, o.value = -1, r.value = void 0;
|
|
2917
2925
|
return;
|
|
2918
2926
|
}
|
|
2919
|
-
let s = i.value[
|
|
2927
|
+
let s = i.value[t.value];
|
|
2920
2928
|
if (!s) {
|
|
2921
|
-
a.value = -1,
|
|
2929
|
+
a.value = -1, n.value = void 0, o.value = -1, r.value = void 0, ne.emit("compNotAvail", t.value);
|
|
2922
2930
|
return;
|
|
2923
2931
|
}
|
|
2924
|
-
a.value !== s.metaSeq && (a.value = s.metaSeq,
|
|
2932
|
+
a.value !== s.metaSeq && (a.value = s.metaSeq, n.value = e(s.meta)), o.value !== s.dataSeq && (o.value = s.dataSeq, r.value = e(s.data));
|
|
2925
2933
|
});
|
|
2926
2934
|
}
|
|
2927
2935
|
//#endregion
|
|
2928
2936
|
//#region src/composables/runtime/runtime.ts
|
|
2929
2937
|
async function Bn() {
|
|
2930
|
-
await
|
|
2938
|
+
await ee();
|
|
2931
2939
|
}
|
|
2932
2940
|
function Vn() {
|
|
2933
|
-
let
|
|
2941
|
+
let e;
|
|
2934
2942
|
xe(() => {
|
|
2935
|
-
|
|
2943
|
+
e = i().newRuntime({
|
|
2936
2944
|
memoryLimitBytes: 32 * 1024 * 1024,
|
|
2937
2945
|
maxStackSizeBytes: 1 * 1024 * 1024
|
|
2938
|
-
}), jl(
|
|
2946
|
+
}), jl(e), console.log("runtime created");
|
|
2939
2947
|
}), Ce(async () => {
|
|
2940
|
-
await ve(),
|
|
2948
|
+
await ve(), e && (e.dispose(), console.log("runtime dispose"));
|
|
2941
2949
|
});
|
|
2942
2950
|
}
|
|
2943
2951
|
//#endregion
|
|
@@ -2955,7 +2963,7 @@ function Un(e, t, n) {
|
|
|
2955
2963
|
},
|
|
2956
2964
|
set(r) {
|
|
2957
2965
|
let i = t.globality[n];
|
|
2958
|
-
|
|
2966
|
+
S(r, i) || (t.globality[n] = r, e.hooks.onPropertyChange(Wl("elementProperty", "globality", n), r, i));
|
|
2959
2967
|
}
|
|
2960
2968
|
}) };
|
|
2961
2969
|
}
|
|
@@ -2963,8 +2971,8 @@ function Wn(e, t, n, r, i, a, o, s, c) {
|
|
|
2963
2971
|
let l = dl(), u = pl(), d = $(), f = Sl(), p = gl(), m = vl(), h = Al(), g = Ml(), _ = new ll(e, t, n, r, i, l, u, d, f, {
|
|
2964
2972
|
onReady: y,
|
|
2965
2973
|
onDestroy: b,
|
|
2966
|
-
onPropertyChange:
|
|
2967
|
-
onStateChange:
|
|
2974
|
+
onPropertyChange: x,
|
|
2975
|
+
onStateChange: ee
|
|
2968
2976
|
});
|
|
2969
2977
|
Nl(_), Ce(() => {
|
|
2970
2978
|
_.dispose();
|
|
@@ -2981,29 +2989,29 @@ function Wn(e, t, n, r, i, a, o, s, c) {
|
|
|
2981
2989
|
async function b() {
|
|
2982
2990
|
_.callFunctionSync("__destroy__");
|
|
2983
2991
|
}
|
|
2984
|
-
async function
|
|
2992
|
+
async function x(e, t, n, r) {
|
|
2985
2993
|
if (!_.vm) return;
|
|
2986
2994
|
let { kind: i, nodeId: a, propertyKey: s } = Gl(e);
|
|
2987
2995
|
if (await _.triggerEvent(nu(`${i}ChangeEvent`, a, s), [t, n], r), o.value?.code.reactivity && pn(_, o.value.code.reactivity, uu("propertyTrigger", e)), i === "elementProperty") {
|
|
2988
|
-
if (
|
|
2996
|
+
if (S(s, "settings.value")) {
|
|
2989
2997
|
let e = o.value?.view.nodeLites.find((e) => e.id === a);
|
|
2990
2998
|
e ? qt(e.key) && (e.inlineSlot = t) : console.assert(!1);
|
|
2991
2999
|
}
|
|
2992
|
-
if (
|
|
3000
|
+
if (S(s, "settings.open")) {
|
|
2993
3001
|
let e = o.value?.view.nodeLites.find((e) => e.id === a);
|
|
2994
3002
|
e ? Kt(e.key) && (e.render = t) : console.assert(!1);
|
|
2995
3003
|
}
|
|
2996
|
-
if (
|
|
3004
|
+
if (S(s, "settings.slot")) {
|
|
2997
3005
|
let e = o.value?.view.nodeLites.find((e) => e.id === a);
|
|
2998
3006
|
e ? e.slotId = t : console.assert(!1);
|
|
2999
3007
|
}
|
|
3000
|
-
if (
|
|
3008
|
+
if (S(s, "settings.comp")) {
|
|
3001
3009
|
let e = o.value?.view.nodeLites.find((e) => e.id === a);
|
|
3002
3010
|
e ? e.compId = t : console.assert(!1);
|
|
3003
3011
|
}
|
|
3004
3012
|
}
|
|
3005
3013
|
}
|
|
3006
|
-
async function
|
|
3014
|
+
async function ee(e, t, n) {
|
|
3007
3015
|
_.vm && (await _.triggerEvent(nu("stateChangeEvent", "globality", e), [t, n]), o.value?.code.reactivity && pn(_, o.value.code.reactivity, uu("stateTrigger", e)));
|
|
3008
3016
|
}
|
|
3009
3017
|
Fe(o, () => {
|
|
@@ -3012,13 +3020,13 @@ function Wn(e, t, n, r, i, a, o, s, c) {
|
|
|
3012
3020
|
"runtime.darkMode": m.value
|
|
3013
3021
|
});
|
|
3014
3022
|
}, { immediate: !0 });
|
|
3015
|
-
let { property:
|
|
3023
|
+
let { property: te } = Un(_, s, "runtime.breakpoint");
|
|
3016
3024
|
Fe(p, () => {
|
|
3017
|
-
_.vm && (
|
|
3025
|
+
_.vm && (te.value = ht(p.value.width));
|
|
3018
3026
|
});
|
|
3019
|
-
let { property:
|
|
3027
|
+
let { property: ne } = Un(_, s, "runtime.darkMode");
|
|
3020
3028
|
return Fe(m, async () => {
|
|
3021
|
-
_.vm && (
|
|
3029
|
+
_.vm && (ne.value = m.value);
|
|
3022
3030
|
}), { sandbox: _ };
|
|
3023
3031
|
}
|
|
3024
3032
|
//#endregion
|
|
@@ -3097,7 +3105,7 @@ function Yn(e, t, n, r) {
|
|
|
3097
3105
|
},
|
|
3098
3106
|
set(t) {
|
|
3099
3107
|
let r = s[e][n];
|
|
3100
|
-
|
|
3108
|
+
S(t, r) || (s[e][n] = t, z(i) && c?.hooks.onPropertyChange(Wl("elementProperty", e, n), t, r));
|
|
3101
3109
|
}
|
|
3102
3110
|
}) };
|
|
3103
3111
|
}
|
|
@@ -3182,7 +3190,7 @@ function $n(e, t, n) {
|
|
|
3182
3190
|
}
|
|
3183
3191
|
}
|
|
3184
3192
|
function i() {
|
|
3185
|
-
let { i18n: i } =
|
|
3193
|
+
let { i18n: i } = C;
|
|
3186
3194
|
if (Xe(e, t)) return A("div", null, i.global.t("x-runtime-lib.circularReference"));
|
|
3187
3195
|
if (!n.value) return;
|
|
3188
3196
|
let a = {};
|
|
@@ -3273,16 +3281,16 @@ function er(e) {
|
|
|
3273
3281
|
scale: f
|
|
3274
3282
|
};
|
|
3275
3283
|
}
|
|
3276
|
-
|
|
3284
|
+
a([
|
|
3277
3285
|
m,
|
|
3278
|
-
|
|
3286
|
+
u,
|
|
3279
3287
|
g,
|
|
3280
|
-
|
|
3281
|
-
_,
|
|
3288
|
+
r,
|
|
3282
3289
|
y,
|
|
3283
|
-
|
|
3284
|
-
|
|
3285
|
-
|
|
3290
|
+
_,
|
|
3291
|
+
o,
|
|
3292
|
+
v
|
|
3293
|
+
]), d("dark", {
|
|
3286
3294
|
color: [
|
|
3287
3295
|
"#dd6b66",
|
|
3288
3296
|
"#759aa0",
|
|
@@ -3563,7 +3571,7 @@ l([
|
|
|
3563
3571
|
label: { color: "#eee" },
|
|
3564
3572
|
emphasis: { label: { color: "#eee" } }
|
|
3565
3573
|
}
|
|
3566
|
-
}),
|
|
3574
|
+
}), d("light", {
|
|
3567
3575
|
color: [
|
|
3568
3576
|
"#dd6b66",
|
|
3569
3577
|
"#759aa0",
|
|
@@ -3845,7 +3853,7 @@ l([
|
|
|
3845
3853
|
emphasis: { label: { color: "#eee" } }
|
|
3846
3854
|
}
|
|
3847
3855
|
});
|
|
3848
|
-
var tr =
|
|
3856
|
+
var tr = p;
|
|
3849
3857
|
//#endregion
|
|
3850
3858
|
//#region src/composables/element/piece/chart/legend/v1/index.ts
|
|
3851
3859
|
function nr(e) {
|
|
@@ -4033,20 +4041,20 @@ var dr = [
|
|
|
4033
4041
|
refContext: {}
|
|
4034
4042
|
},
|
|
4035
4043
|
setup(e) {
|
|
4036
|
-
let { node: t } = J(e.nodeId), n = $(), { position: r, rotation: i, scale: a } = er(t), { property: o } = Y(t, ["settings", "left"]), { property: s } = Y(t, ["settings", "right"]), { property:
|
|
4044
|
+
let { node: t } = J(e.nodeId), n = $(), { position: r, rotation: i, scale: a } = er(t), { property: o } = Y(t, ["settings", "left"]), { property: s } = Y(t, ["settings", "right"]), { property: l } = Y(t, ["settings", "top"]), { property: u } = Y(t, ["settings", "bottom"]), { property: d } = Y(t, ["settings", "near"]), { property: f } = Y(t, ["settings", "far"]);
|
|
4037
4045
|
return (e, t) => (N(), E("TresOrthographicCamera", {
|
|
4038
|
-
bottom: L(
|
|
4039
|
-
far: L(
|
|
4046
|
+
bottom: L(u),
|
|
4047
|
+
far: L(f),
|
|
4040
4048
|
left: L(o),
|
|
4041
|
-
near: L(
|
|
4049
|
+
near: L(d),
|
|
4042
4050
|
position: L(r),
|
|
4043
4051
|
right: L(s),
|
|
4044
4052
|
rotation: L(i),
|
|
4045
4053
|
scale: L(a),
|
|
4046
|
-
top: L(
|
|
4054
|
+
top: L(l)
|
|
4047
4055
|
}, [
|
|
4048
4056
|
O(L(jn)),
|
|
4049
|
-
L(n) === "editor" ? (N(), T(L(
|
|
4057
|
+
L(n) === "editor" ? (N(), T(L(c), {
|
|
4050
4058
|
key: 0,
|
|
4051
4059
|
type: L(ze)
|
|
4052
4060
|
}, null, 8, ["type"])) : pe("", !0),
|
|
@@ -4069,18 +4077,18 @@ var dr = [
|
|
|
4069
4077
|
refContext: {}
|
|
4070
4078
|
},
|
|
4071
4079
|
setup(e) {
|
|
4072
|
-
let { node: t } = J(e.nodeId), n = $(), { position: r, rotation: i, scale: a } = er(t), { property: o } = Y(t, ["settings", "fov"]), { property: s } = Y(t, ["settings", "aspect"]), { property:
|
|
4080
|
+
let { node: t } = J(e.nodeId), n = $(), { position: r, rotation: i, scale: a } = er(t), { property: o } = Y(t, ["settings", "fov"]), { property: s } = Y(t, ["settings", "aspect"]), { property: l } = Y(t, ["settings", "near"]), { property: u } = Y(t, ["settings", "far"]);
|
|
4073
4081
|
return (e, t) => (N(), E("TresPerspectiveCamera", {
|
|
4074
4082
|
aspect: L(s),
|
|
4075
|
-
far: L(
|
|
4083
|
+
far: L(u),
|
|
4076
4084
|
fov: L(o),
|
|
4077
|
-
near: L(
|
|
4085
|
+
near: L(l),
|
|
4078
4086
|
position: L(r),
|
|
4079
4087
|
rotation: L(i),
|
|
4080
4088
|
scale: L(a)
|
|
4081
4089
|
}, [
|
|
4082
4090
|
O(L(jn)),
|
|
4083
|
-
L(n) === "editor" ? (N(), T(L(
|
|
4091
|
+
L(n) === "editor" ? (N(), T(L(c), {
|
|
4084
4092
|
key: 0,
|
|
4085
4093
|
type: L(ze)
|
|
4086
4094
|
}, null, 8, ["type"])) : pe("", !0),
|
|
@@ -4091,19 +4099,19 @@ var dr = [
|
|
|
4091
4099
|
__name: "index",
|
|
4092
4100
|
setup(e) {
|
|
4093
4101
|
let t = $();
|
|
4094
|
-
return (e, n) => L(t) === "editor" ? pe("", !0) : (N(), T(L(
|
|
4102
|
+
return (e, n) => L(t) === "editor" ? pe("", !0) : (N(), T(L(h), { key: 0 }));
|
|
4095
4103
|
}
|
|
4096
4104
|
}), gr = /* @__PURE__ */ k({
|
|
4097
4105
|
__name: "index",
|
|
4098
4106
|
setup(e) {
|
|
4099
4107
|
let t = $();
|
|
4100
|
-
return (e, n) => L(t) === "editor" ? pe("", !0) : (N(), T(L(
|
|
4108
|
+
return (e, n) => L(t) === "editor" ? pe("", !0) : (N(), T(L(f), { key: 0 }));
|
|
4101
4109
|
}
|
|
4102
4110
|
}), _r = /* @__PURE__ */ k({
|
|
4103
4111
|
__name: "index",
|
|
4104
4112
|
setup(e) {
|
|
4105
4113
|
let t = $();
|
|
4106
|
-
return (e, n) => L(t) === "editor" ? pe("", !0) : (N(), T(L(
|
|
4114
|
+
return (e, n) => L(t) === "editor" ? pe("", !0) : (N(), T(L(l), { key: 0 }));
|
|
4107
4115
|
}
|
|
4108
4116
|
}), vr = ["args"], yr = /* @__PURE__ */ k({
|
|
4109
4117
|
__name: "index",
|
|
@@ -4192,7 +4200,7 @@ var dr = [
|
|
|
4192
4200
|
scale: L(a)
|
|
4193
4201
|
}, [
|
|
4194
4202
|
O(L(jn)),
|
|
4195
|
-
L(n) === "editor" ? (N(), T(L(
|
|
4203
|
+
L(n) === "editor" ? (N(), T(L(c), {
|
|
4196
4204
|
key: 0,
|
|
4197
4205
|
type: L(Be)
|
|
4198
4206
|
}, null, 8, ["type"])) : pe("", !0),
|
|
@@ -4215,18 +4223,18 @@ var dr = [
|
|
|
4215
4223
|
refContext: {}
|
|
4216
4224
|
},
|
|
4217
4225
|
setup(e) {
|
|
4218
|
-
let { node: t } = J(e.nodeId), n = $(), { position: r, rotation: i, scale: a } = er(t), { property: o } = X(t, ["settings", "color"]), { property: s } = Y(t, ["settings", "intensity"]), { property:
|
|
4226
|
+
let { node: t } = J(e.nodeId), n = $(), { position: r, rotation: i, scale: a } = er(t), { property: o } = X(t, ["settings", "color"]), { property: s } = Y(t, ["settings", "intensity"]), { property: l } = Y(t, ["settings", "distance"]), { property: u } = Y(t, ["settings", "decay"]);
|
|
4219
4227
|
return (e, t) => (N(), E("TresPointLight", {
|
|
4220
4228
|
color: L(o),
|
|
4221
|
-
decay: L(
|
|
4222
|
-
distance: L(
|
|
4229
|
+
decay: L(u),
|
|
4230
|
+
distance: L(l),
|
|
4223
4231
|
intensity: L(s),
|
|
4224
4232
|
position: L(r),
|
|
4225
4233
|
rotation: L(i),
|
|
4226
4234
|
scale: L(a)
|
|
4227
4235
|
}, [
|
|
4228
4236
|
O(L(jn)),
|
|
4229
|
-
L(n) === "editor" ? (N(), T(L(
|
|
4237
|
+
L(n) === "editor" ? (N(), T(L(c), {
|
|
4230
4238
|
key: 0,
|
|
4231
4239
|
type: L(Ve)
|
|
4232
4240
|
}, null, 8, ["type"])) : pe("", !0),
|
|
@@ -4251,14 +4259,14 @@ var dr = [
|
|
|
4251
4259
|
refContext: {}
|
|
4252
4260
|
},
|
|
4253
4261
|
setup(e) {
|
|
4254
|
-
let { node: t } = J(e.nodeId), n = $(), { position: r, rotation: i, scale: a } = er(t), { property: o } = X(t, ["settings", "color"]), { property: s } = Y(t, ["settings", "intensity"]), { property:
|
|
4262
|
+
let { node: t } = J(e.nodeId), n = $(), { position: r, rotation: i, scale: a } = er(t), { property: o } = X(t, ["settings", "color"]), { property: s } = Y(t, ["settings", "intensity"]), { property: l } = Y(t, ["settings", "distance"]), { property: u } = Y(t, ["settings", "angle"]), { property: d } = Y(t, ["settings", "penumbra"]), { property: f } = Y(t, ["settings", "decay"]);
|
|
4255
4263
|
return (e, t) => (N(), E("TresSpotLight", {
|
|
4256
|
-
angle: L(
|
|
4264
|
+
angle: L(u),
|
|
4257
4265
|
color: L(o),
|
|
4258
|
-
decay: L(
|
|
4259
|
-
distance: L(
|
|
4266
|
+
decay: L(f),
|
|
4267
|
+
distance: L(l),
|
|
4260
4268
|
intensity: L(s),
|
|
4261
|
-
penumbra: L(
|
|
4269
|
+
penumbra: L(d),
|
|
4262
4270
|
position: L(n) === "editor" ? [
|
|
4263
4271
|
0,
|
|
4264
4272
|
0,
|
|
@@ -4276,7 +4284,7 @@ var dr = [
|
|
|
4276
4284
|
] : L(a)
|
|
4277
4285
|
}, [
|
|
4278
4286
|
O(L(jn)),
|
|
4279
|
-
L(n) === "editor" ? (N(), T(L(
|
|
4287
|
+
L(n) === "editor" ? (N(), T(L(c), {
|
|
4280
4288
|
key: 0,
|
|
4281
4289
|
type: L(He)
|
|
4282
4290
|
}, null, 8, ["type"])) : pe("", !0),
|
|
@@ -4432,7 +4440,7 @@ var Hr = /* @__PURE__ */ br(Br, [["render", Vr]]), Ur = [
|
|
|
4432
4440
|
position: e.position,
|
|
4433
4441
|
rotation: e.rotation,
|
|
4434
4442
|
scale: e.scale
|
|
4435
|
-
}, [e.label ? (N(), T(L(
|
|
4443
|
+
}, [e.label ? (N(), T(L(s), {
|
|
4436
4444
|
key: 0,
|
|
4437
4445
|
center: "",
|
|
4438
4446
|
transform: ""
|
|
@@ -4449,46 +4457,46 @@ var Hr = /* @__PURE__ */ br(Br, [["render", Vr]]), Ur = [
|
|
|
4449
4457
|
refContext: {},
|
|
4450
4458
|
instance: {}
|
|
4451
4459
|
},
|
|
4452
|
-
setup(
|
|
4453
|
-
console.log(`<element/${
|
|
4454
|
-
console.log(`<element/${
|
|
4460
|
+
setup(t) {
|
|
4461
|
+
console.log(`<element/${t.nodeId}/multiple_ref_v1/${t.instance}> created`), Ce(() => {
|
|
4462
|
+
console.log(`<element/${t.nodeId}/multiple_ref_v1/${t.instance}> destroyed`);
|
|
4455
4463
|
});
|
|
4456
|
-
let
|
|
4464
|
+
let n = $(), r = wl(), i = El(), a = w(() => e(r.value)), o = w(() => e(i.value));
|
|
4457
4465
|
Tl(o);
|
|
4458
4466
|
let s = Te({});
|
|
4459
|
-
Dl(s), z(
|
|
4460
|
-
function c(
|
|
4461
|
-
let r = dt(
|
|
4462
|
-
if (!r) return console.error(`multipleRefV1/renderNode element not found key = ${
|
|
4463
|
-
if (qt(
|
|
4464
|
-
if (!
|
|
4465
|
-
let
|
|
4466
|
-
for (let n of
|
|
4467
|
-
return
|
|
4468
|
-
} else if (Kt(
|
|
4469
|
-
if (!
|
|
4470
|
-
let
|
|
4471
|
-
for (let r of
|
|
4472
|
-
return
|
|
4467
|
+
Dl(s), z(n) && Wn("multipleRef", t.nodeId, "", t.instance, Pl(), a, o, s);
|
|
4468
|
+
function c(e, n) {
|
|
4469
|
+
let r = dt(e.key);
|
|
4470
|
+
if (!r) return console.error(`multipleRefV1/renderNode element not found key = ${e.key}`), {};
|
|
4471
|
+
if (qt(e.key)) {
|
|
4472
|
+
if (!e.inlineSlot || !e.children) return {};
|
|
4473
|
+
let t = {};
|
|
4474
|
+
for (let n of e.children) Qt(t, c(n, e.inlineSlot));
|
|
4475
|
+
return t;
|
|
4476
|
+
} else if (Kt(e.key)) {
|
|
4477
|
+
if (!e.render || !e.children) return {};
|
|
4478
|
+
let t = {};
|
|
4479
|
+
for (let r of e.children) Qt(t, c(r, n));
|
|
4480
|
+
return t;
|
|
4473
4481
|
} else {
|
|
4474
|
-
let i = { nodeId:
|
|
4475
|
-
Zt(
|
|
4476
|
-
parent:
|
|
4477
|
-
compId:
|
|
4482
|
+
let i = { nodeId: e.id };
|
|
4483
|
+
Zt(e.key) && (i.refContext = {
|
|
4484
|
+
parent: t.refContext,
|
|
4485
|
+
compId: e.compId
|
|
4478
4486
|
});
|
|
4479
4487
|
let a = {};
|
|
4480
|
-
if (Yt(r) &&
|
|
4488
|
+
if (Yt(r) && e.children) for (let t of e.children) Qt(a, c(t, "default"));
|
|
4481
4489
|
return { [n]: [A(r.comp, {
|
|
4482
|
-
key:
|
|
4490
|
+
key: e.id,
|
|
4483
4491
|
...i
|
|
4484
4492
|
}, $t(a))] };
|
|
4485
4493
|
}
|
|
4486
4494
|
}
|
|
4487
4495
|
function l() {
|
|
4488
|
-
let
|
|
4489
|
-
if (o.value) for (let
|
|
4490
|
-
if (
|
|
4491
|
-
if (
|
|
4496
|
+
let e = {};
|
|
4497
|
+
if (o.value) for (let t of o.value.view.nodeLites) Qt(e, c(t, "default"));
|
|
4498
|
+
if (t.subtype === "ui") return A("div", null, $t(e));
|
|
4499
|
+
if (t.subtype === "3d") return A("TresGroup", null, $t(e));
|
|
4492
4500
|
}
|
|
4493
4501
|
return (e, t) => (N(), T(l));
|
|
4494
4502
|
}
|
|
@@ -4546,7 +4554,7 @@ var Hr = /* @__PURE__ */ br(Br, [["render", Vr]]), Ur = [
|
|
|
4546
4554
|
console.assert(!1, "invalid data");
|
|
4547
4555
|
return;
|
|
4548
4556
|
}
|
|
4549
|
-
let { i18n: n } =
|
|
4557
|
+
let { i18n: n } = C;
|
|
4550
4558
|
if (Xe(e.refContext, r)) return i.value.type === "ui" ? A("div", {
|
|
4551
4559
|
id: t.id,
|
|
4552
4560
|
style: u.value
|
|
@@ -4592,46 +4600,46 @@ var Hr = /* @__PURE__ */ br(Br, [["render", Vr]]), Ur = [
|
|
|
4592
4600
|
refContext: {},
|
|
4593
4601
|
instance: {}
|
|
4594
4602
|
},
|
|
4595
|
-
setup(
|
|
4596
|
-
console.log(`<element/${
|
|
4597
|
-
console.log(`<element/${
|
|
4603
|
+
setup(t) {
|
|
4604
|
+
console.log(`<element/${t.nodeId}/multiple_slot_v1/${t.instance}> created`), Ce(() => {
|
|
4605
|
+
console.log(`<element/${t.nodeId}/multiple_slot_v1/${t.instance}> destroyed`);
|
|
4598
4606
|
});
|
|
4599
|
-
let
|
|
4607
|
+
let n = $(), r = wl(), i = El(), a = w(() => e(r.value)), o = w(() => e(i.value));
|
|
4600
4608
|
Tl(o);
|
|
4601
4609
|
let s = Te({});
|
|
4602
|
-
Dl(s), z(
|
|
4603
|
-
function c(
|
|
4604
|
-
let r = dt(
|
|
4605
|
-
if (!r) return console.error(`multipleSlotV1/renderNode element not found key=${
|
|
4606
|
-
if (qt(
|
|
4607
|
-
if (!
|
|
4608
|
-
let
|
|
4609
|
-
for (let n of
|
|
4610
|
-
return
|
|
4611
|
-
} else if (Kt(
|
|
4612
|
-
if (!
|
|
4613
|
-
let
|
|
4614
|
-
for (let r of
|
|
4615
|
-
return
|
|
4610
|
+
Dl(s), z(n) && Wn("multipleCustomSlot", t.nodeId, "", t.instance, Pl(), a, o, s);
|
|
4611
|
+
function c(e, n) {
|
|
4612
|
+
let r = dt(e.key);
|
|
4613
|
+
if (!r) return console.error(`multipleSlotV1/renderNode element not found key=${e.key}`), {};
|
|
4614
|
+
if (qt(e.key)) {
|
|
4615
|
+
if (!e.inlineSlot || !e.children) return {};
|
|
4616
|
+
let t = {};
|
|
4617
|
+
for (let n of e.children) Qt(t, c(n, e.inlineSlot));
|
|
4618
|
+
return t;
|
|
4619
|
+
} else if (Kt(e.key)) {
|
|
4620
|
+
if (!e.render || !e.children) return {};
|
|
4621
|
+
let t = {};
|
|
4622
|
+
for (let r of e.children) Qt(t, c(r, n));
|
|
4623
|
+
return t;
|
|
4616
4624
|
} else {
|
|
4617
|
-
let i = { nodeId:
|
|
4618
|
-
Zt(
|
|
4619
|
-
parent:
|
|
4620
|
-
compId:
|
|
4625
|
+
let i = { nodeId: e.id };
|
|
4626
|
+
Zt(e.key) && (i.refContext = {
|
|
4627
|
+
parent: t.refContext,
|
|
4628
|
+
compId: e.compId
|
|
4621
4629
|
});
|
|
4622
4630
|
let a = {};
|
|
4623
|
-
if (Yt(r) &&
|
|
4631
|
+
if (Yt(r) && e.children) for (let t of e.children) Qt(a, c(t, "default"));
|
|
4624
4632
|
return { [n]: [A(r.comp, {
|
|
4625
|
-
key:
|
|
4633
|
+
key: e.id,
|
|
4626
4634
|
...i
|
|
4627
4635
|
}, $t(a))] };
|
|
4628
4636
|
}
|
|
4629
4637
|
}
|
|
4630
4638
|
function l() {
|
|
4631
|
-
let
|
|
4632
|
-
if (o.value) for (let
|
|
4633
|
-
if (
|
|
4634
|
-
if (
|
|
4639
|
+
let e = {};
|
|
4640
|
+
if (o.value) for (let t of o.value.view.nodeLites) Qt(e, c(t, "default"));
|
|
4641
|
+
if (t.subtype === "ui") return A("div", null, $t(e));
|
|
4642
|
+
if (t.subtype === "3d") return A("TresGroup", null, $t(e));
|
|
4635
4643
|
}
|
|
4636
4644
|
return (e, t) => (N(), T(l));
|
|
4637
4645
|
}
|
|
@@ -4691,7 +4699,7 @@ var Hr = /* @__PURE__ */ br(Br, [["render", Vr]]), Ur = [
|
|
|
4691
4699
|
console.assert(!1, "invalid data");
|
|
4692
4700
|
return;
|
|
4693
4701
|
}
|
|
4694
|
-
let { i18n: n } =
|
|
4702
|
+
let { i18n: n } = C;
|
|
4695
4703
|
if (Xe(e.refContext, r)) return i.value.type === "ui" ? A("div", {
|
|
4696
4704
|
id: t.id,
|
|
4697
4705
|
style: l.value
|
|
@@ -4801,7 +4809,7 @@ var Hr = /* @__PURE__ */ br(Br, [["render", Vr]]), Ur = [
|
|
|
4801
4809
|
console.error("refV1/render invalid data");
|
|
4802
4810
|
return;
|
|
4803
4811
|
}
|
|
4804
|
-
let { i18n: n } =
|
|
4812
|
+
let { i18n: n } = C;
|
|
4805
4813
|
if (Xe(e.refContext, i)) return a.value.type === "ui" ? A("div", {
|
|
4806
4814
|
id: t.id,
|
|
4807
4815
|
style: f.value
|
|
@@ -4916,7 +4924,7 @@ var $r = /* @__PURE__ */ br(Zr, [["render", Qr]]), ei = /* @__PURE__ */ k({
|
|
|
4916
4924
|
console.error("slotV1/render invalid data");
|
|
4917
4925
|
return;
|
|
4918
4926
|
}
|
|
4919
|
-
let { i18n: n } =
|
|
4927
|
+
let { i18n: n } = C;
|
|
4920
4928
|
if (Xe(e.refContext, i)) return a.value.type === "ui" ? A("div", {
|
|
4921
4929
|
id: t.id,
|
|
4922
4930
|
style: d.value
|
|
@@ -5203,25 +5211,25 @@ var $r = /* @__PURE__ */ br(Zr, [["render", Qr]]), ei = /* @__PURE__ */ k({
|
|
|
5203
5211
|
"settings",
|
|
5204
5212
|
"style",
|
|
5205
5213
|
"block"
|
|
5206
|
-
]), { property:
|
|
5214
|
+
]), { property: ee } = Y(n, [
|
|
5207
5215
|
"settings",
|
|
5208
5216
|
"style",
|
|
5209
5217
|
"stacked"
|
|
5210
|
-
]), { property:
|
|
5218
|
+
]), { property: te } = Y(n, [
|
|
5211
5219
|
"settings",
|
|
5212
5220
|
"style",
|
|
5213
5221
|
"tile"
|
|
5214
|
-
]), { property:
|
|
5222
|
+
]), { property: ne } = Y(n, [
|
|
5215
5223
|
"settings",
|
|
5216
5224
|
"style",
|
|
5217
5225
|
"ripple"
|
|
5218
|
-
]), { property:
|
|
5226
|
+
]), { property: re } = Z(n, [
|
|
5219
5227
|
"settings",
|
|
5220
5228
|
"style",
|
|
5221
5229
|
"decoration",
|
|
5222
5230
|
"icon",
|
|
5223
5231
|
"prepend"
|
|
5224
|
-
]), { property:
|
|
5232
|
+
]), { property: C } = Z(n, [
|
|
5225
5233
|
"settings",
|
|
5226
5234
|
"style",
|
|
5227
5235
|
"decoration",
|
|
@@ -5271,7 +5279,7 @@ var $r = /* @__PURE__ */ br(Zr, [["render", Qr]]), ei = /* @__PURE__ */ k({
|
|
|
5271
5279
|
let a = I("v-btn");
|
|
5272
5280
|
return N(), T(a, _e(L(r), {
|
|
5273
5281
|
"active-color": L(se),
|
|
5274
|
-
"append-icon": L(
|
|
5282
|
+
"append-icon": L(C),
|
|
5275
5283
|
"base-color": L(oe),
|
|
5276
5284
|
block: L(S),
|
|
5277
5285
|
color: L(ae),
|
|
@@ -5285,16 +5293,16 @@ var $r = /* @__PURE__ */ br(Zr, [["render", Qr]]), ei = /* @__PURE__ */ k({
|
|
|
5285
5293
|
"max-width": L(d),
|
|
5286
5294
|
"min-height": L(p),
|
|
5287
5295
|
"min-width": L(u),
|
|
5288
|
-
"prepend-icon": L(
|
|
5296
|
+
"prepend-icon": L(re),
|
|
5289
5297
|
readonly: L(ue),
|
|
5290
|
-
ripple: L(
|
|
5298
|
+
ripple: L(ne),
|
|
5291
5299
|
size: L(b),
|
|
5292
5300
|
spaced: L(ie),
|
|
5293
|
-
stacked: L(
|
|
5301
|
+
stacked: L(ee),
|
|
5294
5302
|
style: c.value,
|
|
5295
5303
|
text: L(g),
|
|
5296
5304
|
theme: L(t),
|
|
5297
|
-
tile: L(
|
|
5305
|
+
tile: L(te),
|
|
5298
5306
|
type: L(de),
|
|
5299
5307
|
value: L(h),
|
|
5300
5308
|
variant: L(v),
|
|
@@ -5432,27 +5440,27 @@ var $r = /* @__PURE__ */ br(Zr, [["render", Qr]]), ei = /* @__PURE__ */ k({
|
|
|
5432
5440
|
"settings",
|
|
5433
5441
|
"style",
|
|
5434
5442
|
"tile"
|
|
5435
|
-
]), { property:
|
|
5443
|
+
]), { property: ee } = Y(n, [
|
|
5436
5444
|
"settings",
|
|
5437
5445
|
"style",
|
|
5438
5446
|
"hover"
|
|
5439
|
-
]), { property:
|
|
5447
|
+
]), { property: te } = Z(n, [
|
|
5440
5448
|
"settings",
|
|
5441
5449
|
"style",
|
|
5442
5450
|
"decoration",
|
|
5443
5451
|
"icon",
|
|
5444
5452
|
"prepend"
|
|
5445
|
-
]), { property:
|
|
5453
|
+
]), { property: ne } = Z(n, [
|
|
5446
5454
|
"settings",
|
|
5447
5455
|
"style",
|
|
5448
5456
|
"decoration",
|
|
5449
5457
|
"icon",
|
|
5450
5458
|
"append"
|
|
5451
|
-
]), { property:
|
|
5459
|
+
]), { property: re } = X(n, [
|
|
5452
5460
|
"settings",
|
|
5453
5461
|
"style",
|
|
5454
5462
|
"color"
|
|
5455
|
-
]), { property:
|
|
5463
|
+
]), { property: C } = Y(n, [
|
|
5456
5464
|
"settings",
|
|
5457
5465
|
"misc",
|
|
5458
5466
|
"loading"
|
|
@@ -5467,20 +5475,20 @@ var $r = /* @__PURE__ */ br(Zr, [["render", Qr]]), ei = /* @__PURE__ */ k({
|
|
|
5467
5475
|
return (e, n) => {
|
|
5468
5476
|
let a = I("v-card");
|
|
5469
5477
|
return N(), T(a, _e(L(r), {
|
|
5470
|
-
"append-icon": L(
|
|
5471
|
-
color: L(
|
|
5478
|
+
"append-icon": L(ne),
|
|
5479
|
+
color: L(re),
|
|
5472
5480
|
density: L(b),
|
|
5473
5481
|
disabled: L(ie),
|
|
5474
5482
|
elevation: L(x),
|
|
5475
5483
|
height: L(f),
|
|
5476
|
-
hover: L(
|
|
5484
|
+
hover: L(ee),
|
|
5477
5485
|
image: L(v),
|
|
5478
|
-
loading: L(
|
|
5486
|
+
loading: L(C),
|
|
5479
5487
|
"max-height": L(m),
|
|
5480
5488
|
"max-width": L(d),
|
|
5481
5489
|
"min-height": L(p),
|
|
5482
5490
|
"min-width": L(u),
|
|
5483
|
-
"prepend-icon": L(
|
|
5491
|
+
"prepend-icon": L(te),
|
|
5484
5492
|
style: c.value,
|
|
5485
5493
|
subtitle: L(g),
|
|
5486
5494
|
text: L(_),
|
|
@@ -5781,29 +5789,29 @@ var $r = /* @__PURE__ */ br(Zr, [["render", Qr]]), ei = /* @__PURE__ */ k({
|
|
|
5781
5789
|
"decoration",
|
|
5782
5790
|
"avatar",
|
|
5783
5791
|
"append"
|
|
5784
|
-
]), { property:
|
|
5792
|
+
]), { property: ee } = Z(n, [
|
|
5785
5793
|
"settings",
|
|
5786
5794
|
"style",
|
|
5787
5795
|
"decoration",
|
|
5788
5796
|
"icon",
|
|
5789
5797
|
"prepend"
|
|
5790
|
-
]), { property:
|
|
5798
|
+
]), { property: te } = Z(n, [
|
|
5791
5799
|
"settings",
|
|
5792
5800
|
"style",
|
|
5793
5801
|
"decoration",
|
|
5794
5802
|
"icon",
|
|
5795
5803
|
"append"
|
|
5796
|
-
]), { property:
|
|
5804
|
+
]), { property: ne } = X(n, [
|
|
5797
5805
|
"settings",
|
|
5798
5806
|
"style",
|
|
5799
5807
|
"color",
|
|
5800
5808
|
"color"
|
|
5801
|
-
]), { property:
|
|
5809
|
+
]), { property: re } = X(n, [
|
|
5802
5810
|
"settings",
|
|
5803
5811
|
"style",
|
|
5804
5812
|
"color",
|
|
5805
5813
|
"baseColor"
|
|
5806
|
-
]), { property:
|
|
5814
|
+
]), { property: C } = Y(n, [
|
|
5807
5815
|
"settings",
|
|
5808
5816
|
"misc",
|
|
5809
5817
|
"disabled"
|
|
@@ -5818,19 +5826,19 @@ var $r = /* @__PURE__ */ br(Zr, [["render", Qr]]), ei = /* @__PURE__ */ k({
|
|
|
5818
5826
|
let a = I("v-chip");
|
|
5819
5827
|
return N(), T(a, _e(L(r), {
|
|
5820
5828
|
"append-avatar": L(S),
|
|
5821
|
-
"append-icon": L(
|
|
5822
|
-
"base-color": L(
|
|
5829
|
+
"append-icon": L(te),
|
|
5830
|
+
"base-color": L(re),
|
|
5823
5831
|
closable: L(d),
|
|
5824
5832
|
"close-icon": L(f),
|
|
5825
|
-
color: L(
|
|
5833
|
+
color: L(ne),
|
|
5826
5834
|
density: L(m),
|
|
5827
|
-
disabled: L(
|
|
5835
|
+
disabled: L(C),
|
|
5828
5836
|
draggable: L(u),
|
|
5829
5837
|
elevation: L(g),
|
|
5830
5838
|
label: L(v),
|
|
5831
5839
|
"on-click": L(l) ? ie : void 0,
|
|
5832
5840
|
"prepend-avatar": L(x),
|
|
5833
|
-
"prepend-icon": L(
|
|
5841
|
+
"prepend-icon": L(ee),
|
|
5834
5842
|
ripple: L(b),
|
|
5835
5843
|
rounded: L(_),
|
|
5836
5844
|
size: L(h),
|
|
@@ -6079,21 +6087,21 @@ var $r = /* @__PURE__ */ br(Zr, [["render", Qr]]), ei = /* @__PURE__ */ k({
|
|
|
6079
6087
|
"detail",
|
|
6080
6088
|
"counter",
|
|
6081
6089
|
"enable"
|
|
6082
|
-
]), { property:
|
|
6090
|
+
]), { property: ee } = Y(n, [
|
|
6083
6091
|
"settings",
|
|
6084
6092
|
"detail",
|
|
6085
6093
|
"counter",
|
|
6086
6094
|
"max"
|
|
6087
|
-
]),
|
|
6095
|
+
]), te = w(() => S.value ? ee.value : !1), { property: ne } = Y(n, [
|
|
6088
6096
|
"settings",
|
|
6089
6097
|
"detail",
|
|
6090
6098
|
"counter",
|
|
6091
6099
|
"persistent"
|
|
6092
|
-
]), { property:
|
|
6100
|
+
]), { property: re } = Jn(n, [
|
|
6093
6101
|
"settings",
|
|
6094
6102
|
"detail",
|
|
6095
6103
|
"rules"
|
|
6096
|
-
]), { property:
|
|
6104
|
+
]), { property: C } = Y(n, [
|
|
6097
6105
|
"settings",
|
|
6098
6106
|
"style",
|
|
6099
6107
|
"variant"
|
|
@@ -6203,7 +6211,7 @@ var $r = /* @__PURE__ */ br(Zr, [["render", Qr]]), ei = /* @__PURE__ */ k({
|
|
|
6203
6211
|
clearable: L(f),
|
|
6204
6212
|
"closable-chips": L(ce),
|
|
6205
6213
|
color: L(me),
|
|
6206
|
-
counter:
|
|
6214
|
+
counter: te.value,
|
|
6207
6215
|
density: L(ie),
|
|
6208
6216
|
disabled: L(j),
|
|
6209
6217
|
"error-messages": L(b),
|
|
@@ -6220,7 +6228,7 @@ var $r = /* @__PURE__ */ br(Zr, [["render", Qr]]), ei = /* @__PURE__ */ k({
|
|
|
6220
6228
|
multiple: L(c),
|
|
6221
6229
|
"open-on-clear": L(m),
|
|
6222
6230
|
"persistent-clear": L(p),
|
|
6223
|
-
"persistent-counter": L(
|
|
6231
|
+
"persistent-counter": L(ne),
|
|
6224
6232
|
"persistent-hint": L(v),
|
|
6225
6233
|
"persistent-placeholder": L(d),
|
|
6226
6234
|
placeholder: L(u),
|
|
@@ -6229,11 +6237,11 @@ var $r = /* @__PURE__ */ br(Zr, [["render", Qr]]), ei = /* @__PURE__ */ k({
|
|
|
6229
6237
|
"prepend-inner-icon": L(fe),
|
|
6230
6238
|
readonly: L(ge),
|
|
6231
6239
|
reverse: L(oe),
|
|
6232
|
-
rules: L(
|
|
6240
|
+
rules: L(re),
|
|
6233
6241
|
"single-line": L(ae),
|
|
6234
6242
|
suffix: L(ue),
|
|
6235
6243
|
theme: L(t),
|
|
6236
|
-
variant: L(
|
|
6244
|
+
variant: L(C),
|
|
6237
6245
|
width: L(r)
|
|
6238
6246
|
}, 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.rules.single-line.suffix.theme.variant.width".split("."))]),
|
|
6239
6247
|
_: 1
|
|
@@ -6363,21 +6371,21 @@ var $r = /* @__PURE__ */ br(Zr, [["render", Qr]]), ei = /* @__PURE__ */ k({
|
|
|
6363
6371
|
"settings",
|
|
6364
6372
|
"style",
|
|
6365
6373
|
"density"
|
|
6366
|
-
]), { property:
|
|
6374
|
+
]), { property: ee } = Y(n, [
|
|
6367
6375
|
"settings",
|
|
6368
6376
|
"style",
|
|
6369
6377
|
"hover"
|
|
6370
|
-
]), { property:
|
|
6378
|
+
]), { property: te } = X(n, [
|
|
6371
6379
|
"settings",
|
|
6372
6380
|
"style",
|
|
6373
6381
|
"color"
|
|
6374
|
-
]), { property:
|
|
6382
|
+
]), { property: ne } = Y(n, [
|
|
6375
6383
|
"settings",
|
|
6376
6384
|
"misc",
|
|
6377
6385
|
"loading"
|
|
6378
|
-
]),
|
|
6386
|
+
]), re = P([]), { property: C } = Y(n, ["slots", "items"]);
|
|
6379
6387
|
z(i) && Ie(() => {
|
|
6380
|
-
|
|
6388
|
+
re.value = C.value;
|
|
6381
6389
|
});
|
|
6382
6390
|
let { property: ie } = Yn(n.value.basic.id, n.value.basic.key, "runtime.selections");
|
|
6383
6391
|
return (n, i) => {
|
|
@@ -6389,7 +6397,7 @@ var $r = /* @__PURE__ */ br(Zr, [["render", Qr]]), ei = /* @__PURE__ */ k({
|
|
|
6389
6397
|
"onUpdate:itemsPerPage": i[1] ||= (e) => M(_) ? _.value = e : null,
|
|
6390
6398
|
page: L(h),
|
|
6391
6399
|
"onUpdate:page": i[2] ||= (e) => M(h) ? h.value = e : null,
|
|
6392
|
-
color: L(
|
|
6400
|
+
color: L(te),
|
|
6393
6401
|
density: L(S),
|
|
6394
6402
|
"disable-sort": L(y),
|
|
6395
6403
|
"fixed-footer": L(p),
|
|
@@ -6398,11 +6406,11 @@ var $r = /* @__PURE__ */ br(Zr, [["render", Qr]]), ei = /* @__PURE__ */ k({
|
|
|
6398
6406
|
height: L(o),
|
|
6399
6407
|
"hide-default-footer": L(m),
|
|
6400
6408
|
"hide-default-header": L(f),
|
|
6401
|
-
hover: L(
|
|
6409
|
+
hover: L(ee),
|
|
6402
6410
|
"item-value": L(u),
|
|
6403
6411
|
items: L(l),
|
|
6404
6412
|
"items-per-page-options": L(v),
|
|
6405
|
-
loading: L(
|
|
6413
|
+
loading: L(ne),
|
|
6406
6414
|
"multi-sort": L(b),
|
|
6407
6415
|
"show-current-page": L(g),
|
|
6408
6416
|
"show-select": L(x),
|
|
@@ -6429,7 +6437,7 @@ var $r = /* @__PURE__ */ br(Zr, [["render", Qr]]), ei = /* @__PURE__ */ k({
|
|
|
6429
6437
|
fn: R(() => [F(n.$slots, "loading")]),
|
|
6430
6438
|
key: "3"
|
|
6431
6439
|
} : void 0,
|
|
6432
|
-
De(
|
|
6440
|
+
De(re.value, ({ key: t, comp: n }) => ({
|
|
6433
6441
|
name: `item.${t}`,
|
|
6434
6442
|
fn: R(({ value: r }) => [n ? (N(), T(gi, {
|
|
6435
6443
|
key: 0,
|
|
@@ -6567,24 +6575,24 @@ var $r = /* @__PURE__ */ br(Zr, [["render", Qr]]), ei = /* @__PURE__ */ k({
|
|
|
6567
6575
|
"main",
|
|
6568
6576
|
"sort",
|
|
6569
6577
|
"multiSort"
|
|
6570
|
-
]), { property:
|
|
6578
|
+
]), { property: ee } = Y(n, [
|
|
6571
6579
|
"settings",
|
|
6572
6580
|
"main",
|
|
6573
6581
|
"select",
|
|
6574
6582
|
"enable"
|
|
6575
|
-
]), { property:
|
|
6583
|
+
]), { property: te } = Y(n, [
|
|
6576
6584
|
"settings",
|
|
6577
6585
|
"style",
|
|
6578
6586
|
"density"
|
|
6579
|
-
]), { property:
|
|
6587
|
+
]), { property: ne } = Y(n, [
|
|
6580
6588
|
"settings",
|
|
6581
6589
|
"style",
|
|
6582
6590
|
"hover"
|
|
6583
|
-
]), { property:
|
|
6591
|
+
]), { property: re } = X(n, [
|
|
6584
6592
|
"settings",
|
|
6585
6593
|
"style",
|
|
6586
6594
|
"color"
|
|
6587
|
-
]), { property:
|
|
6595
|
+
]), { property: C } = Y(n, [
|
|
6588
6596
|
"settings",
|
|
6589
6597
|
"misc",
|
|
6590
6598
|
"loading"
|
|
@@ -6605,8 +6613,8 @@ var $r = /* @__PURE__ */ br(Zr, [["render", Qr]]), ei = /* @__PURE__ */ k({
|
|
|
6605
6613
|
"onUpdate:itemsPerPage": i[1] ||= (e) => M(y) ? y.value = e : null,
|
|
6606
6614
|
page: L(_),
|
|
6607
6615
|
"onUpdate:page": i[2] ||= (e) => M(_) ? _.value = e : null,
|
|
6608
|
-
color: L(
|
|
6609
|
-
density: L(
|
|
6616
|
+
color: L(re),
|
|
6617
|
+
density: L(te),
|
|
6610
6618
|
"disable-sort": L(x),
|
|
6611
6619
|
"fixed-footer": L(h),
|
|
6612
6620
|
"fixed-header": L(p),
|
|
@@ -6614,15 +6622,15 @@ var $r = /* @__PURE__ */ br(Zr, [["render", Qr]]), ei = /* @__PURE__ */ k({
|
|
|
6614
6622
|
height: L(s),
|
|
6615
6623
|
"hide-default-footer": L(g),
|
|
6616
6624
|
"hide-default-header": L(m),
|
|
6617
|
-
hover: L(
|
|
6625
|
+
hover: L(ne),
|
|
6618
6626
|
"item-value": L(f),
|
|
6619
6627
|
items: L(u),
|
|
6620
6628
|
"items-length": L(d),
|
|
6621
6629
|
"items-per-page-options": L(b),
|
|
6622
|
-
loading: L(
|
|
6630
|
+
loading: L(C),
|
|
6623
6631
|
"multi-sort": L(S),
|
|
6624
6632
|
"show-current-page": L(v),
|
|
6625
|
-
"show-select": L(
|
|
6633
|
+
"show-select": L(ee),
|
|
6626
6634
|
theme: L(t),
|
|
6627
6635
|
width: L(o),
|
|
6628
6636
|
"onUpdate:options": se
|
|
@@ -6931,16 +6939,16 @@ var wi = /* @__PURE__ */ k({
|
|
|
6931
6939
|
"settings",
|
|
6932
6940
|
"misc",
|
|
6933
6941
|
"readonly"
|
|
6934
|
-
]), { property: y } = Y(n, ["slots", "title"]), b = w(() => z(r) ? !!y.value : !1), { property: x } = Y(n, ["slots", "text"]), S = w(() => z(r) ? !!x.value : !1),
|
|
6942
|
+
]), { property: y } = Y(n, ["slots", "title"]), b = w(() => z(r) ? !!y.value : !1), { property: x } = Y(n, ["slots", "text"]), S = w(() => z(r) ? !!x.value : !1), ee = Pe("target");
|
|
6935
6943
|
return In(e.nodeId, "prev", () => {
|
|
6936
|
-
|
|
6944
|
+
ee.value?.prev();
|
|
6937
6945
|
}), In(e.nodeId, "next", () => {
|
|
6938
|
-
|
|
6946
|
+
ee.value?.next();
|
|
6939
6947
|
}), (n, r) => {
|
|
6940
|
-
let
|
|
6941
|
-
return N(), T(
|
|
6948
|
+
let te = I("v-expansion-panel"), ne = I("v-expansion-panels");
|
|
6949
|
+
return N(), T(ne, {
|
|
6942
6950
|
ref_key: "target",
|
|
6943
|
-
ref:
|
|
6951
|
+
ref: ee,
|
|
6944
6952
|
modelValue: L(i),
|
|
6945
6953
|
"onUpdate:modelValue": r[0] ||= (e) => M(i) ? i.value = e : null,
|
|
6946
6954
|
"bg-color": L(h),
|
|
@@ -6958,7 +6966,7 @@ var wi = /* @__PURE__ */ k({
|
|
|
6958
6966
|
tile: L(f),
|
|
6959
6967
|
variant: L(l)
|
|
6960
6968
|
}, {
|
|
6961
|
-
default: R(() => [(N(!0), E(fe, null, De(L(a), (t) => (N(), T(
|
|
6969
|
+
default: R(() => [(N(!0), E(fe, null, De(L(a), (t) => (N(), T(te, {
|
|
6962
6970
|
key: t.value,
|
|
6963
6971
|
text: t.text,
|
|
6964
6972
|
title: t.title,
|
|
@@ -7119,25 +7127,25 @@ var wi = /* @__PURE__ */ k({
|
|
|
7119
7127
|
"settings",
|
|
7120
7128
|
"style",
|
|
7121
7129
|
"singleLine"
|
|
7122
|
-
]), { property:
|
|
7130
|
+
]), { property: ee } = Y(t, [
|
|
7123
7131
|
"settings",
|
|
7124
7132
|
"style",
|
|
7125
7133
|
"reverse"
|
|
7126
|
-
]), { property:
|
|
7134
|
+
]), { property: te } = Y(t, [
|
|
7127
7135
|
"settings",
|
|
7128
7136
|
"style",
|
|
7129
7137
|
"tile"
|
|
7130
|
-
]), { property:
|
|
7138
|
+
]), { property: ne } = Y(t, [
|
|
7131
7139
|
"settings",
|
|
7132
7140
|
"style",
|
|
7133
7141
|
"chip"
|
|
7134
|
-
]), { property:
|
|
7142
|
+
]), { property: re } = Z(t, [
|
|
7135
7143
|
"settings",
|
|
7136
7144
|
"style",
|
|
7137
7145
|
"decoration",
|
|
7138
7146
|
"icon",
|
|
7139
7147
|
"prepend"
|
|
7140
|
-
]), { property:
|
|
7148
|
+
]), { property: C } = Z(t, [
|
|
7141
7149
|
"settings",
|
|
7142
7150
|
"style",
|
|
7143
7151
|
"decoration",
|
|
@@ -7198,7 +7206,7 @@ var wi = /* @__PURE__ */ k({
|
|
|
7198
7206
|
"append-inner-icon": L(ae),
|
|
7199
7207
|
"base-color": L(ce),
|
|
7200
7208
|
"bg-color": L(se),
|
|
7201
|
-
chips: L(
|
|
7209
|
+
chips: L(ne),
|
|
7202
7210
|
"clear-icon": L(u),
|
|
7203
7211
|
clearable: L(c),
|
|
7204
7212
|
color: L(oe),
|
|
@@ -7219,13 +7227,13 @@ var wi = /* @__PURE__ */ k({
|
|
|
7219
7227
|
multiple: L(o),
|
|
7220
7228
|
"persistent-clear": L(l),
|
|
7221
7229
|
"persistent-hint": L(h),
|
|
7222
|
-
"prepend-icon": L(
|
|
7223
|
-
"prepend-inner-icon": L(
|
|
7230
|
+
"prepend-icon": L(re),
|
|
7231
|
+
"prepend-inner-icon": L(C),
|
|
7224
7232
|
readonly: L(fe),
|
|
7225
|
-
reverse: L(
|
|
7233
|
+
reverse: L(ee),
|
|
7226
7234
|
"show-size": L(f),
|
|
7227
7235
|
"single-line": L(S),
|
|
7228
|
-
tile: L(
|
|
7236
|
+
tile: L(te),
|
|
7229
7237
|
variant: L(b),
|
|
7230
7238
|
width: L(n)
|
|
7231
7239
|
}, 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("."))]),
|
|
@@ -7706,22 +7714,22 @@ var wi = /* @__PURE__ */ k({
|
|
|
7706
7714
|
"detail",
|
|
7707
7715
|
"error",
|
|
7708
7716
|
"errorMessages"
|
|
7709
|
-
]), { property:
|
|
7717
|
+
]), { property: ee } = Y(n, [
|
|
7710
7718
|
"settings",
|
|
7711
7719
|
"detail",
|
|
7712
7720
|
"error",
|
|
7713
7721
|
"maxErrors"
|
|
7714
|
-
]), { property:
|
|
7722
|
+
]), { property: te } = Y(n, [
|
|
7715
7723
|
"settings",
|
|
7716
7724
|
"detail",
|
|
7717
7725
|
"counter",
|
|
7718
7726
|
"enable"
|
|
7719
|
-
]), { property:
|
|
7727
|
+
]), { property: ne } = Y(n, [
|
|
7720
7728
|
"settings",
|
|
7721
7729
|
"detail",
|
|
7722
7730
|
"counter",
|
|
7723
7731
|
"max"
|
|
7724
|
-
]),
|
|
7732
|
+
]), re = w(() => te.value ? ne.value : !1), { property: C } = Y(n, [
|
|
7725
7733
|
"settings",
|
|
7726
7734
|
"detail",
|
|
7727
7735
|
"counter",
|
|
@@ -7824,9 +7832,9 @@ var wi = /* @__PURE__ */ k({
|
|
|
7824
7832
|
"readonly"
|
|
7825
7833
|
]);
|
|
7826
7834
|
return (e, n) => {
|
|
7827
|
-
let
|
|
7835
|
+
let te = I("v-number-input");
|
|
7828
7836
|
return N(), T(L(Mn), null, {
|
|
7829
|
-
default: R(() => [O(
|
|
7837
|
+
default: R(() => [O(te, {
|
|
7830
7838
|
modelValue: L(s),
|
|
7831
7839
|
"onUpdate:modelValue": n[0] ||= (e) => M(s) ? s.value = e : null,
|
|
7832
7840
|
"append-icon": L(me),
|
|
@@ -7837,7 +7845,7 @@ var wi = /* @__PURE__ */ k({
|
|
|
7837
7845
|
clearable: L(h),
|
|
7838
7846
|
color: L(k),
|
|
7839
7847
|
"control-variant": L(oe),
|
|
7840
|
-
counter:
|
|
7848
|
+
counter: re.value,
|
|
7841
7849
|
density: L(se),
|
|
7842
7850
|
disabled: L(ve),
|
|
7843
7851
|
"error-messages": L(S),
|
|
@@ -7848,13 +7856,13 @@ var wi = /* @__PURE__ */ k({
|
|
|
7848
7856
|
label: L(f),
|
|
7849
7857
|
loading: L(_e),
|
|
7850
7858
|
max: L(u),
|
|
7851
|
-
"max-errors": L(
|
|
7859
|
+
"max-errors": L(ee),
|
|
7852
7860
|
"max-width": L(o),
|
|
7853
7861
|
messages: L(x),
|
|
7854
7862
|
min: L(l),
|
|
7855
7863
|
"min-width": L(a),
|
|
7856
7864
|
"persistent-clear": L(g),
|
|
7857
|
-
"persistent-counter": L(
|
|
7865
|
+
"persistent-counter": L(C),
|
|
7858
7866
|
"persistent-hint": L(b),
|
|
7859
7867
|
"persistent-placeholder": L(m),
|
|
7860
7868
|
placeholder: L(p),
|
|
@@ -8459,14 +8467,14 @@ var wi = /* @__PURE__ */ k({
|
|
|
8459
8467
|
"settings",
|
|
8460
8468
|
"misc",
|
|
8461
8469
|
"disabled"
|
|
8462
|
-
]), { property:
|
|
8470
|
+
]), { property: ee } = Y(n, [
|
|
8463
8471
|
"settings",
|
|
8464
8472
|
"misc",
|
|
8465
8473
|
"readonly"
|
|
8466
8474
|
]);
|
|
8467
8475
|
return Vl({
|
|
8468
8476
|
disabled: S,
|
|
8469
|
-
readonly:
|
|
8477
|
+
readonly: ee
|
|
8470
8478
|
}), In(e.nodeId, "reset", () => {
|
|
8471
8479
|
z(i) && a.value?.reset();
|
|
8472
8480
|
}), In(e.nodeId, "resetValidation", () => {
|
|
@@ -8497,7 +8505,7 @@ var wi = /* @__PURE__ */ k({
|
|
|
8497
8505
|
"min-width": L(s),
|
|
8498
8506
|
"persistent-hint": L(p),
|
|
8499
8507
|
"prepend-icon": L(y),
|
|
8500
|
-
readonly: L(
|
|
8508
|
+
readonly: L(ee),
|
|
8501
8509
|
rules: L(_),
|
|
8502
8510
|
theme: L(t),
|
|
8503
8511
|
width: L(o)
|
|
@@ -8555,11 +8563,11 @@ var wi = /* @__PURE__ */ k({
|
|
|
8555
8563
|
refContext: {}
|
|
8556
8564
|
},
|
|
8557
8565
|
setup(e) {
|
|
8558
|
-
let { theme:
|
|
8566
|
+
let { theme: n, node: r } = J(e.nodeId), { width: i, minWidth: a, maxWidth: o } = Q(r), { property: s } = Y(r, [
|
|
8559
8567
|
"settings",
|
|
8560
8568
|
"value",
|
|
8561
8569
|
"start"
|
|
8562
|
-
]), { property: c } = Y(
|
|
8570
|
+
]), { property: c } = Y(r, [
|
|
8563
8571
|
"settings",
|
|
8564
8572
|
"value",
|
|
8565
8573
|
"end"
|
|
@@ -8568,16 +8576,16 @@ var wi = /* @__PURE__ */ k({
|
|
|
8568
8576
|
set: ([e, t]) => {
|
|
8569
8577
|
s.value = e, c.value = t;
|
|
8570
8578
|
}
|
|
8571
|
-
}), { property: u } = Y(
|
|
8579
|
+
}), { property: u } = Y(r, ["settings", "min"]), { property: d } = Y(r, ["settings", "max"]), { property: f } = Y(r, ["settings", "step"]), { property: p } = Y(r, [
|
|
8572
8580
|
"settings",
|
|
8573
8581
|
"main",
|
|
8574
8582
|
"label"
|
|
8575
|
-
]), { property: m } = Y(
|
|
8583
|
+
]), { property: m } = Y(r, [
|
|
8576
8584
|
"settings",
|
|
8577
8585
|
"main",
|
|
8578
8586
|
"track",
|
|
8579
8587
|
"size"
|
|
8580
|
-
]), { property: h } = Y(
|
|
8588
|
+
]), { property: h } = Y(r, [
|
|
8581
8589
|
"settings",
|
|
8582
8590
|
"main",
|
|
8583
8591
|
"tick",
|
|
@@ -8585,7 +8593,7 @@ var wi = /* @__PURE__ */ k({
|
|
|
8585
8593
|
]), g = w(() => {
|
|
8586
8594
|
if (h.value === "always") return "always";
|
|
8587
8595
|
if (h.value === "show") return !0;
|
|
8588
|
-
}), { property: _ } = Y(
|
|
8596
|
+
}), { property: _ } = Y(r, [
|
|
8589
8597
|
"settings",
|
|
8590
8598
|
"main",
|
|
8591
8599
|
"tick",
|
|
@@ -8594,13 +8602,13 @@ var wi = /* @__PURE__ */ k({
|
|
|
8594
8602
|
if (!_.value) return;
|
|
8595
8603
|
let e = {};
|
|
8596
8604
|
for (let { value: t, label: n } of _.value) e[t] = n;
|
|
8597
|
-
if (!
|
|
8598
|
-
}), { property: y } = Y(
|
|
8605
|
+
if (!t(e)) return e;
|
|
8606
|
+
}), { property: y } = Y(r, [
|
|
8599
8607
|
"settings",
|
|
8600
8608
|
"main",
|
|
8601
8609
|
"tick",
|
|
8602
8610
|
"size"
|
|
8603
|
-
]), { property: b } = Y(
|
|
8611
|
+
]), { property: b } = Y(r, [
|
|
8604
8612
|
"settings",
|
|
8605
8613
|
"main",
|
|
8606
8614
|
"thumb",
|
|
@@ -8608,120 +8616,120 @@ var wi = /* @__PURE__ */ k({
|
|
|
8608
8616
|
]), x = w(() => {
|
|
8609
8617
|
if (b.value === "always") return "always";
|
|
8610
8618
|
if (b.value === "show") return !0;
|
|
8611
|
-
}), { property: S } = Y(
|
|
8619
|
+
}), { property: S } = Y(r, [
|
|
8612
8620
|
"settings",
|
|
8613
8621
|
"main",
|
|
8614
8622
|
"thumb",
|
|
8615
8623
|
"size"
|
|
8616
|
-
]), { property:
|
|
8624
|
+
]), { property: ee } = Y(r, [
|
|
8617
8625
|
"settings",
|
|
8618
8626
|
"detail",
|
|
8619
8627
|
"hide"
|
|
8620
|
-
]), { property:
|
|
8628
|
+
]), { property: te } = Y(r, [
|
|
8621
8629
|
"settings",
|
|
8622
8630
|
"detail",
|
|
8623
8631
|
"hint",
|
|
8624
8632
|
"content"
|
|
8625
|
-
]), { property:
|
|
8633
|
+
]), { property: ne } = Y(r, [
|
|
8626
8634
|
"settings",
|
|
8627
8635
|
"detail",
|
|
8628
8636
|
"hint",
|
|
8629
8637
|
"persistent"
|
|
8630
|
-
]), { property:
|
|
8638
|
+
]), { property: re } = Y(r, [
|
|
8631
8639
|
"settings",
|
|
8632
8640
|
"detail",
|
|
8633
8641
|
"messages"
|
|
8634
|
-
]), { property:
|
|
8642
|
+
]), { property: C } = Y(r, [
|
|
8635
8643
|
"settings",
|
|
8636
8644
|
"detail",
|
|
8637
8645
|
"error",
|
|
8638
8646
|
"errorMessages"
|
|
8639
|
-
]), { property: ie } = Y(
|
|
8647
|
+
]), { property: ie } = Y(r, [
|
|
8640
8648
|
"settings",
|
|
8641
8649
|
"detail",
|
|
8642
8650
|
"error",
|
|
8643
8651
|
"maxErrors"
|
|
8644
|
-
]), { property: ae } = Jn(
|
|
8652
|
+
]), { property: ae } = Jn(r, [
|
|
8645
8653
|
"settings",
|
|
8646
8654
|
"detail",
|
|
8647
8655
|
"rules"
|
|
8648
|
-
]), { property: oe } = Y(
|
|
8656
|
+
]), { property: oe } = Y(r, [
|
|
8649
8657
|
"settings",
|
|
8650
8658
|
"style",
|
|
8651
8659
|
"density"
|
|
8652
|
-
]), { property: se } = Y(
|
|
8660
|
+
]), { property: se } = Y(r, [
|
|
8653
8661
|
"settings",
|
|
8654
8662
|
"style",
|
|
8655
8663
|
"direction"
|
|
8656
|
-
]), { property: ce } = Y(
|
|
8664
|
+
]), { property: ce } = Y(r, [
|
|
8657
8665
|
"settings",
|
|
8658
8666
|
"style",
|
|
8659
8667
|
"reverse"
|
|
8660
|
-
]), { property: le } = Kn(
|
|
8668
|
+
]), { property: le } = Kn(r, [
|
|
8661
8669
|
"settings",
|
|
8662
8670
|
"style",
|
|
8663
8671
|
"elevation"
|
|
8664
|
-
]), { property: ue } = Y(
|
|
8672
|
+
]), { property: ue } = Y(r, [
|
|
8665
8673
|
"settings",
|
|
8666
8674
|
"style",
|
|
8667
8675
|
"ripple"
|
|
8668
|
-
]), { property: de } = Z(
|
|
8676
|
+
]), { property: de } = Z(r, [
|
|
8669
8677
|
"settings",
|
|
8670
8678
|
"style",
|
|
8671
8679
|
"decoration",
|
|
8672
8680
|
"icon",
|
|
8673
8681
|
"prepend"
|
|
8674
|
-
]), { property: fe } = Z(
|
|
8682
|
+
]), { property: fe } = Z(r, [
|
|
8675
8683
|
"settings",
|
|
8676
8684
|
"style",
|
|
8677
8685
|
"decoration",
|
|
8678
8686
|
"icon",
|
|
8679
8687
|
"append"
|
|
8680
|
-
]), { property: pe } = X(
|
|
8688
|
+
]), { property: pe } = X(r, [
|
|
8681
8689
|
"settings",
|
|
8682
8690
|
"style",
|
|
8683
8691
|
"color",
|
|
8684
8692
|
"color"
|
|
8685
|
-
]), { property: E } = X(
|
|
8693
|
+
]), { property: E } = X(r, [
|
|
8686
8694
|
"settings",
|
|
8687
8695
|
"style",
|
|
8688
8696
|
"color",
|
|
8689
8697
|
"baseColor"
|
|
8690
|
-
]), { property: me } = X(
|
|
8698
|
+
]), { property: me } = X(r, [
|
|
8691
8699
|
"settings",
|
|
8692
8700
|
"style",
|
|
8693
8701
|
"color",
|
|
8694
8702
|
"trackColor"
|
|
8695
|
-
]), { property: D } = X(
|
|
8703
|
+
]), { property: D } = X(r, [
|
|
8696
8704
|
"settings",
|
|
8697
8705
|
"style",
|
|
8698
8706
|
"color",
|
|
8699
8707
|
"trackFillColor"
|
|
8700
|
-
]), { property: he } = X(
|
|
8708
|
+
]), { property: he } = X(r, [
|
|
8701
8709
|
"settings",
|
|
8702
8710
|
"style",
|
|
8703
8711
|
"color",
|
|
8704
8712
|
"thumbColor"
|
|
8705
|
-
]), { property: k } = X(
|
|
8713
|
+
]), { property: k } = X(r, [
|
|
8706
8714
|
"settings",
|
|
8707
8715
|
"style",
|
|
8708
8716
|
"color",
|
|
8709
8717
|
"iconColor"
|
|
8710
|
-
]), { property: A } = Y(
|
|
8718
|
+
]), { property: A } = Y(r, [
|
|
8711
8719
|
"settings",
|
|
8712
8720
|
"misc",
|
|
8713
8721
|
"disabled"
|
|
8714
|
-
]), { property: j } = Y(
|
|
8722
|
+
]), { property: j } = Y(r, [
|
|
8715
8723
|
"settings",
|
|
8716
8724
|
"misc",
|
|
8717
8725
|
"readonly"
|
|
8718
8726
|
]);
|
|
8719
|
-
return (e,
|
|
8720
|
-
let
|
|
8727
|
+
return (e, t) => {
|
|
8728
|
+
let r = I("v-range-slider");
|
|
8721
8729
|
return N(), T(L(Mn), null, {
|
|
8722
|
-
default: R(() => [O(
|
|
8730
|
+
default: R(() => [O(r, {
|
|
8723
8731
|
modelValue: l.value,
|
|
8724
|
-
"onUpdate:modelValue":
|
|
8732
|
+
"onUpdate:modelValue": t[0] ||= (e) => l.value = e,
|
|
8725
8733
|
"append-icon": L(fe),
|
|
8726
8734
|
"base-color": L(E),
|
|
8727
8735
|
color: L(pe),
|
|
@@ -8729,18 +8737,18 @@ var wi = /* @__PURE__ */ k({
|
|
|
8729
8737
|
direction: L(se),
|
|
8730
8738
|
disabled: L(A),
|
|
8731
8739
|
elevation: L(le),
|
|
8732
|
-
"error-messages": L(
|
|
8733
|
-
"hide-details": L(
|
|
8734
|
-
hint: L(
|
|
8740
|
+
"error-messages": L(C),
|
|
8741
|
+
"hide-details": L(ee),
|
|
8742
|
+
hint: L(te),
|
|
8735
8743
|
"icon-color": L(k),
|
|
8736
8744
|
label: L(p),
|
|
8737
8745
|
max: L(d),
|
|
8738
8746
|
"max-errors": L(ie),
|
|
8739
8747
|
"max-width": L(o),
|
|
8740
|
-
messages: L(
|
|
8748
|
+
messages: L(re),
|
|
8741
8749
|
min: L(u),
|
|
8742
8750
|
"min-width": L(a),
|
|
8743
|
-
"persistent-hint": L(
|
|
8751
|
+
"persistent-hint": L(ne),
|
|
8744
8752
|
"prepend-icon": L(de),
|
|
8745
8753
|
readonly: L(j),
|
|
8746
8754
|
reverse: L(ce),
|
|
@@ -8748,7 +8756,7 @@ var wi = /* @__PURE__ */ k({
|
|
|
8748
8756
|
rules: L(ae),
|
|
8749
8757
|
"show-ticks": g.value,
|
|
8750
8758
|
step: L(f),
|
|
8751
|
-
theme: L(
|
|
8759
|
+
theme: L(n),
|
|
8752
8760
|
"thumb-color": L(he),
|
|
8753
8761
|
"thumb-label": x.value,
|
|
8754
8762
|
"thumb-size": L(S),
|
|
@@ -8757,7 +8765,7 @@ var wi = /* @__PURE__ */ k({
|
|
|
8757
8765
|
"track-color": L(me),
|
|
8758
8766
|
"track-fill-color": L(D),
|
|
8759
8767
|
"track-size": L(m),
|
|
8760
|
-
width: L(
|
|
8768
|
+
width: L(i)
|
|
8761
8769
|
}, null, 8, /* @__PURE__ */ "modelValue.append-icon.base-color.color.density.direction.disabled.elevation.error-messages.hide-details.hint.icon-color.label.max.max-errors.max-width.messages.min.min-width.persistent-hint.prepend-icon.readonly.reverse.ripple.rules.show-ticks.step.theme.thumb-color.thumb-label.thumb-size.tick-size.ticks.track-color.track-fill-color.track-size.width".split("."))]),
|
|
8762
8770
|
_: 1
|
|
8763
8771
|
});
|
|
@@ -8944,20 +8952,20 @@ var wi = /* @__PURE__ */ k({
|
|
|
8944
8952
|
"detail",
|
|
8945
8953
|
"counter",
|
|
8946
8954
|
"max"
|
|
8947
|
-
]),
|
|
8955
|
+
]), ee = w(() => x.value ? S.value : !1), { property: te } = Y(n, [
|
|
8948
8956
|
"settings",
|
|
8949
8957
|
"detail",
|
|
8950
8958
|
"counter",
|
|
8951
8959
|
"persistent"
|
|
8952
|
-
]), { property:
|
|
8960
|
+
]), { property: ne } = Jn(n, [
|
|
8953
8961
|
"settings",
|
|
8954
8962
|
"detail",
|
|
8955
8963
|
"rules"
|
|
8956
|
-
]), { property:
|
|
8964
|
+
]), { property: re } = Y(n, [
|
|
8957
8965
|
"settings",
|
|
8958
8966
|
"style",
|
|
8959
8967
|
"variant"
|
|
8960
|
-
]), { property:
|
|
8968
|
+
]), { property: C } = Y(n, [
|
|
8961
8969
|
"settings",
|
|
8962
8970
|
"style",
|
|
8963
8971
|
"density"
|
|
@@ -9063,8 +9071,8 @@ var wi = /* @__PURE__ */ k({
|
|
|
9063
9071
|
clearable: L(f),
|
|
9064
9072
|
"closable-chips": L(se),
|
|
9065
9073
|
color: L(E),
|
|
9066
|
-
counter:
|
|
9067
|
-
density: L(
|
|
9074
|
+
counter: ee.value,
|
|
9075
|
+
density: L(C),
|
|
9068
9076
|
disabled: L(A),
|
|
9069
9077
|
"error-messages": L(y),
|
|
9070
9078
|
"hide-details": L(h),
|
|
@@ -9079,7 +9087,7 @@ var wi = /* @__PURE__ */ k({
|
|
|
9079
9087
|
"min-width": L(i),
|
|
9080
9088
|
multiple: L(c),
|
|
9081
9089
|
"persistent-clear": L(p),
|
|
9082
|
-
"persistent-counter": L(
|
|
9090
|
+
"persistent-counter": L(te),
|
|
9083
9091
|
"persistent-hint": L(_),
|
|
9084
9092
|
"persistent-placeholder": L(d),
|
|
9085
9093
|
placeholder: L(u),
|
|
@@ -9088,11 +9096,11 @@ var wi = /* @__PURE__ */ k({
|
|
|
9088
9096
|
"prepend-inner-icon": L(de),
|
|
9089
9097
|
readonly: L(j),
|
|
9090
9098
|
reverse: L(ie),
|
|
9091
|
-
rules: L(
|
|
9099
|
+
rules: L(ne),
|
|
9092
9100
|
"single-line": L(ae),
|
|
9093
9101
|
suffix: L(le),
|
|
9094
9102
|
theme: L(t),
|
|
9095
|
-
variant: L(
|
|
9103
|
+
variant: L(re),
|
|
9096
9104
|
width: L(r)
|
|
9097
9105
|
}, 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.rules.single-line.suffix.theme.variant.width".split("."))]),
|
|
9098
9106
|
_: 1
|
|
@@ -9254,16 +9262,16 @@ var wi = /* @__PURE__ */ k({
|
|
|
9254
9262
|
refContext: {}
|
|
9255
9263
|
},
|
|
9256
9264
|
setup(e) {
|
|
9257
|
-
let { theme:
|
|
9265
|
+
let { theme: n, node: r } = J(e.nodeId), { width: i, minWidth: a, maxWidth: o } = Q(r), { property: s } = Y(r, ["settings", "value"]), { property: c } = Y(r, ["settings", "min"]), { property: l } = Y(r, ["settings", "max"]), { property: u } = Y(r, ["settings", "step"]), { property: d } = Y(r, [
|
|
9258
9266
|
"settings",
|
|
9259
9267
|
"main",
|
|
9260
9268
|
"label"
|
|
9261
|
-
]), { property: f } = Y(
|
|
9269
|
+
]), { property: f } = Y(r, [
|
|
9262
9270
|
"settings",
|
|
9263
9271
|
"main",
|
|
9264
9272
|
"track",
|
|
9265
9273
|
"size"
|
|
9266
|
-
]), { property: p } = Y(
|
|
9274
|
+
]), { property: p } = Y(r, [
|
|
9267
9275
|
"settings",
|
|
9268
9276
|
"main",
|
|
9269
9277
|
"tick",
|
|
@@ -9271,7 +9279,7 @@ var wi = /* @__PURE__ */ k({
|
|
|
9271
9279
|
]), m = w(() => {
|
|
9272
9280
|
if (p.value === "always") return "always";
|
|
9273
9281
|
if (p.value === "show") return !0;
|
|
9274
|
-
}), { property: h } = Y(
|
|
9282
|
+
}), { property: h } = Y(r, [
|
|
9275
9283
|
"settings",
|
|
9276
9284
|
"main",
|
|
9277
9285
|
"tick",
|
|
@@ -9280,13 +9288,13 @@ var wi = /* @__PURE__ */ k({
|
|
|
9280
9288
|
if (!h.value) return;
|
|
9281
9289
|
let e = {};
|
|
9282
9290
|
for (let { value: t, label: n } of h.value) e[t] = n;
|
|
9283
|
-
if (!
|
|
9284
|
-
}), { property: _ } = Y(
|
|
9291
|
+
if (!t(e)) return e;
|
|
9292
|
+
}), { property: _ } = Y(r, [
|
|
9285
9293
|
"settings",
|
|
9286
9294
|
"main",
|
|
9287
9295
|
"tick",
|
|
9288
9296
|
"size"
|
|
9289
|
-
]), { property: v } = Y(
|
|
9297
|
+
]), { property: v } = Y(r, [
|
|
9290
9298
|
"settings",
|
|
9291
9299
|
"main",
|
|
9292
9300
|
"thumb",
|
|
@@ -9294,120 +9302,120 @@ var wi = /* @__PURE__ */ k({
|
|
|
9294
9302
|
]), y = w(() => {
|
|
9295
9303
|
if (v.value === "always") return "always";
|
|
9296
9304
|
if (v.value === "show") return !0;
|
|
9297
|
-
}), { property: b } = Y(
|
|
9305
|
+
}), { property: b } = Y(r, [
|
|
9298
9306
|
"settings",
|
|
9299
9307
|
"main",
|
|
9300
9308
|
"thumb",
|
|
9301
9309
|
"size"
|
|
9302
|
-
]), { property: x } = Y(
|
|
9310
|
+
]), { property: x } = Y(r, [
|
|
9303
9311
|
"settings",
|
|
9304
9312
|
"detail",
|
|
9305
9313
|
"hide"
|
|
9306
|
-
]), { property: S } = Y(
|
|
9314
|
+
]), { property: S } = Y(r, [
|
|
9307
9315
|
"settings",
|
|
9308
9316
|
"detail",
|
|
9309
9317
|
"hint",
|
|
9310
9318
|
"content"
|
|
9311
|
-
]), { property:
|
|
9319
|
+
]), { property: ee } = Y(r, [
|
|
9312
9320
|
"settings",
|
|
9313
9321
|
"detail",
|
|
9314
9322
|
"hint",
|
|
9315
9323
|
"persistent"
|
|
9316
|
-
]), { property:
|
|
9324
|
+
]), { property: te } = Y(r, [
|
|
9317
9325
|
"settings",
|
|
9318
9326
|
"detail",
|
|
9319
9327
|
"messages"
|
|
9320
|
-
]), { property:
|
|
9328
|
+
]), { property: ne } = Y(r, [
|
|
9321
9329
|
"settings",
|
|
9322
9330
|
"detail",
|
|
9323
9331
|
"error",
|
|
9324
9332
|
"errorMessages"
|
|
9325
|
-
]), { property:
|
|
9333
|
+
]), { property: re } = Y(r, [
|
|
9326
9334
|
"settings",
|
|
9327
9335
|
"detail",
|
|
9328
9336
|
"error",
|
|
9329
9337
|
"maxErrors"
|
|
9330
|
-
]), { property:
|
|
9338
|
+
]), { property: C } = Jn(r, [
|
|
9331
9339
|
"settings",
|
|
9332
9340
|
"detail",
|
|
9333
9341
|
"rules"
|
|
9334
|
-
]), { property: ie } = Y(
|
|
9342
|
+
]), { property: ie } = Y(r, [
|
|
9335
9343
|
"settings",
|
|
9336
9344
|
"style",
|
|
9337
9345
|
"density"
|
|
9338
|
-
]), { property: ae } = Y(
|
|
9346
|
+
]), { property: ae } = Y(r, [
|
|
9339
9347
|
"settings",
|
|
9340
9348
|
"style",
|
|
9341
9349
|
"direction"
|
|
9342
|
-
]), { property: oe } = Y(
|
|
9350
|
+
]), { property: oe } = Y(r, [
|
|
9343
9351
|
"settings",
|
|
9344
9352
|
"style",
|
|
9345
9353
|
"reverse"
|
|
9346
|
-
]), { property: se } = Kn(
|
|
9354
|
+
]), { property: se } = Kn(r, [
|
|
9347
9355
|
"settings",
|
|
9348
9356
|
"style",
|
|
9349
9357
|
"elevation"
|
|
9350
|
-
]), { property: ce } = Y(
|
|
9358
|
+
]), { property: ce } = Y(r, [
|
|
9351
9359
|
"settings",
|
|
9352
9360
|
"style",
|
|
9353
9361
|
"ripple"
|
|
9354
|
-
]), { property: le } = Z(
|
|
9362
|
+
]), { property: le } = Z(r, [
|
|
9355
9363
|
"settings",
|
|
9356
9364
|
"style",
|
|
9357
9365
|
"decoration",
|
|
9358
9366
|
"icon",
|
|
9359
9367
|
"prepend"
|
|
9360
|
-
]), { property: ue } = Z(
|
|
9368
|
+
]), { property: ue } = Z(r, [
|
|
9361
9369
|
"settings",
|
|
9362
9370
|
"style",
|
|
9363
9371
|
"decoration",
|
|
9364
9372
|
"icon",
|
|
9365
9373
|
"append"
|
|
9366
|
-
]), { property: de } = X(
|
|
9374
|
+
]), { property: de } = X(r, [
|
|
9367
9375
|
"settings",
|
|
9368
9376
|
"style",
|
|
9369
9377
|
"color",
|
|
9370
9378
|
"color"
|
|
9371
|
-
]), { property: fe } = X(
|
|
9379
|
+
]), { property: fe } = X(r, [
|
|
9372
9380
|
"settings",
|
|
9373
9381
|
"style",
|
|
9374
9382
|
"color",
|
|
9375
9383
|
"baseColor"
|
|
9376
|
-
]), { property: pe } = X(
|
|
9384
|
+
]), { property: pe } = X(r, [
|
|
9377
9385
|
"settings",
|
|
9378
9386
|
"style",
|
|
9379
9387
|
"color",
|
|
9380
9388
|
"trackColor"
|
|
9381
|
-
]), { property: E } = X(
|
|
9389
|
+
]), { property: E } = X(r, [
|
|
9382
9390
|
"settings",
|
|
9383
9391
|
"style",
|
|
9384
9392
|
"color",
|
|
9385
9393
|
"trackFillColor"
|
|
9386
|
-
]), { property: me } = X(
|
|
9394
|
+
]), { property: me } = X(r, [
|
|
9387
9395
|
"settings",
|
|
9388
9396
|
"style",
|
|
9389
9397
|
"color",
|
|
9390
9398
|
"thumbColor"
|
|
9391
|
-
]), { property: D } = X(
|
|
9399
|
+
]), { property: D } = X(r, [
|
|
9392
9400
|
"settings",
|
|
9393
9401
|
"style",
|
|
9394
9402
|
"color",
|
|
9395
9403
|
"iconColor"
|
|
9396
|
-
]), { property: he } = Y(
|
|
9404
|
+
]), { property: he } = Y(r, [
|
|
9397
9405
|
"settings",
|
|
9398
9406
|
"misc",
|
|
9399
9407
|
"disabled"
|
|
9400
|
-
]), { property: k } = Y(
|
|
9408
|
+
]), { property: k } = Y(r, [
|
|
9401
9409
|
"settings",
|
|
9402
9410
|
"misc",
|
|
9403
9411
|
"readonly"
|
|
9404
9412
|
]);
|
|
9405
|
-
return (e,
|
|
9406
|
-
let
|
|
9413
|
+
return (e, t) => {
|
|
9414
|
+
let r = I("v-slider");
|
|
9407
9415
|
return N(), T(L(Mn), null, {
|
|
9408
|
-
default: R(() => [O(
|
|
9416
|
+
default: R(() => [O(r, {
|
|
9409
9417
|
modelValue: L(s),
|
|
9410
|
-
"onUpdate:modelValue":
|
|
9418
|
+
"onUpdate:modelValue": t[0] ||= (e) => M(s) ? s.value = e : null,
|
|
9411
9419
|
"append-icon": L(ue),
|
|
9412
9420
|
"base-color": L(fe),
|
|
9413
9421
|
color: L(de),
|
|
@@ -9415,26 +9423,26 @@ var wi = /* @__PURE__ */ k({
|
|
|
9415
9423
|
direction: L(ae),
|
|
9416
9424
|
disabled: L(he),
|
|
9417
9425
|
elevation: L(se),
|
|
9418
|
-
"error-messages": L(
|
|
9426
|
+
"error-messages": L(ne),
|
|
9419
9427
|
"hide-details": L(x),
|
|
9420
9428
|
hint: L(S),
|
|
9421
9429
|
"icon-color": L(D),
|
|
9422
9430
|
label: L(d),
|
|
9423
9431
|
max: L(l),
|
|
9424
|
-
"max-errors": L(
|
|
9432
|
+
"max-errors": L(re),
|
|
9425
9433
|
"max-width": L(o),
|
|
9426
|
-
messages: L(
|
|
9434
|
+
messages: L(te),
|
|
9427
9435
|
min: L(c),
|
|
9428
9436
|
"min-width": L(a),
|
|
9429
|
-
"persistent-hint": L(
|
|
9437
|
+
"persistent-hint": L(ee),
|
|
9430
9438
|
"prepend-icon": L(le),
|
|
9431
9439
|
readonly: L(k),
|
|
9432
9440
|
reverse: L(oe),
|
|
9433
9441
|
ripple: L(ce),
|
|
9434
|
-
rules: L(
|
|
9442
|
+
rules: L(C),
|
|
9435
9443
|
"show-ticks": m.value,
|
|
9436
9444
|
step: L(u),
|
|
9437
|
-
theme: L(
|
|
9445
|
+
theme: L(n),
|
|
9438
9446
|
"thumb-color": L(me),
|
|
9439
9447
|
"thumb-label": y.value,
|
|
9440
9448
|
"thumb-size": L(b),
|
|
@@ -9443,7 +9451,7 @@ var wi = /* @__PURE__ */ k({
|
|
|
9443
9451
|
"track-color": L(pe),
|
|
9444
9452
|
"track-fill-color": L(E),
|
|
9445
9453
|
"track-size": L(f),
|
|
9446
|
-
width: L(
|
|
9454
|
+
width: L(i)
|
|
9447
9455
|
}, null, 8, /* @__PURE__ */ "modelValue.append-icon.base-color.color.density.direction.disabled.elevation.error-messages.hide-details.hint.icon-color.label.max.max-errors.max-width.messages.min.min-width.persistent-hint.prepend-icon.readonly.reverse.ripple.rules.show-ticks.step.theme.thumb-color.thumb-label.thumb-size.tick-size.ticks.track-color.track-fill-color.track-size.width".split("."))]),
|
|
9448
9456
|
_: 1
|
|
9449
9457
|
});
|
|
@@ -9635,28 +9643,28 @@ var pa = /* @__PURE__ */ br(da, [["render", fa]]), ma = /* @__PURE__ */ k({
|
|
|
9635
9643
|
"style",
|
|
9636
9644
|
"color",
|
|
9637
9645
|
"baseColor"
|
|
9638
|
-
]), { property:
|
|
9646
|
+
]), { property: ee } = X(n, [
|
|
9639
9647
|
"settings",
|
|
9640
9648
|
"style",
|
|
9641
9649
|
"color",
|
|
9642
9650
|
"iconColor"
|
|
9643
|
-
]), { property:
|
|
9651
|
+
]), { property: te } = Y(n, [
|
|
9644
9652
|
"settings",
|
|
9645
9653
|
"misc",
|
|
9646
9654
|
"loading"
|
|
9647
|
-
]), { property:
|
|
9655
|
+
]), { property: ne } = Y(n, [
|
|
9648
9656
|
"settings",
|
|
9649
9657
|
"misc",
|
|
9650
9658
|
"disabled"
|
|
9651
|
-
]), { property:
|
|
9659
|
+
]), { property: re } = Y(n, [
|
|
9652
9660
|
"settings",
|
|
9653
9661
|
"misc",
|
|
9654
9662
|
"readonly"
|
|
9655
9663
|
]);
|
|
9656
9664
|
return (e, n) => {
|
|
9657
|
-
let
|
|
9665
|
+
let C = I("v-switch");
|
|
9658
9666
|
return N(), T(L(Mn), null, {
|
|
9659
|
-
default: R(() => [O(
|
|
9667
|
+
default: R(() => [O(C, {
|
|
9660
9668
|
modelValue: L(s),
|
|
9661
9669
|
"onUpdate:modelValue": n[0] ||= (e) => M(s) ? s.value = e : null,
|
|
9662
9670
|
indeterminate: L(c),
|
|
@@ -9666,20 +9674,20 @@ var pa = /* @__PURE__ */ br(da, [["render", fa]]), ma = /* @__PURE__ */ k({
|
|
|
9666
9674
|
color: L(x),
|
|
9667
9675
|
density: L(h),
|
|
9668
9676
|
direction: L(g),
|
|
9669
|
-
disabled: L(
|
|
9677
|
+
disabled: L(ne),
|
|
9670
9678
|
"hide-details": L(u),
|
|
9671
9679
|
hint: L(d),
|
|
9672
|
-
"icon-color": L(
|
|
9680
|
+
"icon-color": L(ee),
|
|
9673
9681
|
inline: L(_),
|
|
9674
9682
|
inset: L(v),
|
|
9675
9683
|
label: L(l),
|
|
9676
|
-
loading: L(
|
|
9684
|
+
loading: L(te),
|
|
9677
9685
|
"max-width": L(o),
|
|
9678
9686
|
messages: L(p),
|
|
9679
9687
|
"min-width": L(a),
|
|
9680
9688
|
"persistent-hint": L(f),
|
|
9681
9689
|
"prepend-icon": L(y),
|
|
9682
|
-
readonly: L(
|
|
9690
|
+
readonly: L(re),
|
|
9683
9691
|
rules: L(m),
|
|
9684
9692
|
theme: L(t),
|
|
9685
9693
|
width: L(i)
|
|
@@ -10027,21 +10035,21 @@ var Ma = /* @__PURE__ */ br(Aa, [["render", ja]]), Na = /* @__PURE__ */ k({
|
|
|
10027
10035
|
"detail",
|
|
10028
10036
|
"counter",
|
|
10029
10037
|
"enable"
|
|
10030
|
-
]), { property:
|
|
10038
|
+
]), { property: ee } = Y(n, [
|
|
10031
10039
|
"settings",
|
|
10032
10040
|
"detail",
|
|
10033
10041
|
"counter",
|
|
10034
10042
|
"max"
|
|
10035
|
-
]),
|
|
10043
|
+
]), te = w(() => S.value ? ee.value : !1), { property: ne } = Y(n, [
|
|
10036
10044
|
"settings",
|
|
10037
10045
|
"detail",
|
|
10038
10046
|
"counter",
|
|
10039
10047
|
"persistent"
|
|
10040
|
-
]), { property:
|
|
10048
|
+
]), { property: re } = Jn(n, [
|
|
10041
10049
|
"settings",
|
|
10042
10050
|
"detail",
|
|
10043
10051
|
"rules"
|
|
10044
|
-
]), { property:
|
|
10052
|
+
]), { property: C } = Y(n, [
|
|
10045
10053
|
"settings",
|
|
10046
10054
|
"style",
|
|
10047
10055
|
"variant"
|
|
@@ -10173,7 +10181,7 @@ var Ma = /* @__PURE__ */ br(Aa, [["render", ja]]), Na = /* @__PURE__ */ k({
|
|
|
10173
10181
|
"clear-icon": L(h),
|
|
10174
10182
|
clearable: L(p),
|
|
10175
10183
|
color: L(he),
|
|
10176
|
-
counter:
|
|
10184
|
+
counter: te.value,
|
|
10177
10185
|
density: L(ie),
|
|
10178
10186
|
disabled: L(ge),
|
|
10179
10187
|
"error-messages": L(b),
|
|
@@ -10188,7 +10196,7 @@ var Ma = /* @__PURE__ */ br(Aa, [["render", ja]]), Na = /* @__PURE__ */ k({
|
|
|
10188
10196
|
messages: L(y),
|
|
10189
10197
|
"min-width": L(s),
|
|
10190
10198
|
"persistent-clear": L(m),
|
|
10191
|
-
"persistent-counter": L(
|
|
10199
|
+
"persistent-counter": L(ne),
|
|
10192
10200
|
"persistent-hint": L(v),
|
|
10193
10201
|
"persistent-placeholder": L(f),
|
|
10194
10202
|
placeholder: L(d),
|
|
@@ -10198,11 +10206,11 @@ var Ma = /* @__PURE__ */ br(Aa, [["render", ja]]), Na = /* @__PURE__ */ k({
|
|
|
10198
10206
|
readonly: L(_e),
|
|
10199
10207
|
reverse: L(ae),
|
|
10200
10208
|
rows: L(se),
|
|
10201
|
-
rules: L(
|
|
10209
|
+
rules: L(re),
|
|
10202
10210
|
"single-line": L(oe),
|
|
10203
10211
|
suffix: L(de),
|
|
10204
10212
|
theme: L(t),
|
|
10205
|
-
variant: L(
|
|
10213
|
+
variant: L(C),
|
|
10206
10214
|
width: L(o)
|
|
10207
10215
|
}, D({ _: 2 }, [
|
|
10208
10216
|
L(r)("label") ? {
|
|
@@ -10335,22 +10343,22 @@ var Ma = /* @__PURE__ */ br(Aa, [["render", ja]]), Na = /* @__PURE__ */ k({
|
|
|
10335
10343
|
"detail",
|
|
10336
10344
|
"error",
|
|
10337
10345
|
"errorMessages"
|
|
10338
|
-
]), { property:
|
|
10346
|
+
]), { property: ee } = Y(n, [
|
|
10339
10347
|
"settings",
|
|
10340
10348
|
"detail",
|
|
10341
10349
|
"error",
|
|
10342
10350
|
"maxErrors"
|
|
10343
|
-
]), { property:
|
|
10351
|
+
]), { property: te } = Y(n, [
|
|
10344
10352
|
"settings",
|
|
10345
10353
|
"detail",
|
|
10346
10354
|
"counter",
|
|
10347
10355
|
"enable"
|
|
10348
|
-
]), { property:
|
|
10356
|
+
]), { property: ne } = Y(n, [
|
|
10349
10357
|
"settings",
|
|
10350
10358
|
"detail",
|
|
10351
10359
|
"counter",
|
|
10352
10360
|
"max"
|
|
10353
|
-
]),
|
|
10361
|
+
]), re = w(() => te.value ? ne.value : !1), { property: C } = Y(n, [
|
|
10354
10362
|
"settings",
|
|
10355
10363
|
"detail",
|
|
10356
10364
|
"counter",
|
|
@@ -10464,7 +10472,7 @@ var Ma = /* @__PURE__ */ br(Aa, [["render", ja]]), Na = /* @__PURE__ */ k({
|
|
|
10464
10472
|
let n = await o.value?.validate(e.silent);
|
|
10465
10473
|
n ? t.result = n.length <= 0 : t.result = !0;
|
|
10466
10474
|
}), (e, n) => {
|
|
10467
|
-
let a = I("v-text-field"),
|
|
10475
|
+
let a = I("v-text-field"), te = Oe("mutate");
|
|
10468
10476
|
return N(), T(L(Mn), null, {
|
|
10469
10477
|
default: R(() => [Le((N(), T(a, _e({
|
|
10470
10478
|
ref_key: "target",
|
|
@@ -10477,7 +10485,7 @@ var Ma = /* @__PURE__ */ br(Aa, [["render", ja]]), Na = /* @__PURE__ */ k({
|
|
|
10477
10485
|
"clear-icon": L(_),
|
|
10478
10486
|
clearable: L(h),
|
|
10479
10487
|
color: L(me),
|
|
10480
|
-
counter:
|
|
10488
|
+
counter: re.value,
|
|
10481
10489
|
density: L(oe),
|
|
10482
10490
|
disabled: L(j),
|
|
10483
10491
|
"error-messages": L(S),
|
|
@@ -10486,13 +10494,13 @@ var Ma = /* @__PURE__ */ br(Aa, [["render", ja]]), Na = /* @__PURE__ */ k({
|
|
|
10486
10494
|
"icon-color": L(k),
|
|
10487
10495
|
label: L(f),
|
|
10488
10496
|
loading: L(A),
|
|
10489
|
-
"max-errors": L(
|
|
10497
|
+
"max-errors": L(ee),
|
|
10490
10498
|
"max-width": L(l),
|
|
10491
10499
|
messages: L(x),
|
|
10492
10500
|
"min-width": L(c),
|
|
10493
10501
|
"model-value": L(u),
|
|
10494
10502
|
"persistent-clear": L(g),
|
|
10495
|
-
"persistent-counter": L(
|
|
10503
|
+
"persistent-counter": L(C),
|
|
10496
10504
|
"persistent-hint": L(b),
|
|
10497
10505
|
"persistent-placeholder": L(m),
|
|
10498
10506
|
placeholder: L(p),
|
|
@@ -10566,7 +10574,7 @@ var Ma = /* @__PURE__ */ br(Aa, [["render", ja]]), Na = /* @__PURE__ */ k({
|
|
|
10566
10574
|
key: "10"
|
|
10567
10575
|
} : void 0
|
|
10568
10576
|
]), 1040, /* @__PURE__ */ "append-icon.append-inner-icon.base-color.bg-color.clear-icon.clearable.color.counter.density.disabled.error-messages.hide-details.hint.icon-color.label.loading.max-errors.max-width.messages.min-width.model-value.persistent-clear.persistent-counter.persistent-hint.persistent-placeholder.placeholder.prefix.prepend-icon.prepend-inner-icon.readonly.reverse.rules.single-line.suffix.theme.type.variant.width".split("."))), [[
|
|
10569
|
-
|
|
10577
|
+
te,
|
|
10570
10578
|
{
|
|
10571
10579
|
handler: xe,
|
|
10572
10580
|
options: { attributeFilter: ["class"] }
|
|
@@ -20530,22 +20538,22 @@ V({
|
|
|
20530
20538
|
});
|
|
20531
20539
|
//#endregion
|
|
20532
20540
|
//#region src/element/finalProperties.ts
|
|
20533
|
-
function Xc(
|
|
20534
|
-
let
|
|
20535
|
-
if (i !== "" && (i += "."), i +=
|
|
20541
|
+
function Xc(t) {
|
|
20542
|
+
let n = [], r = (t, i, a) => {
|
|
20543
|
+
if (i !== "" && (i += "."), i += t.key, a = e(a), a.push(t.name), !t.ui && !t.array) t.children.forEach((e) => r(e, i, a));
|
|
20536
20544
|
else {
|
|
20537
|
-
if (
|
|
20538
|
-
let
|
|
20545
|
+
if (t.ui === "text" && t.static) return;
|
|
20546
|
+
let e = {
|
|
20539
20547
|
keys: i,
|
|
20540
20548
|
names: a,
|
|
20541
|
-
raw:
|
|
20549
|
+
raw: t
|
|
20542
20550
|
};
|
|
20543
|
-
|
|
20551
|
+
n.push(e);
|
|
20544
20552
|
}
|
|
20545
20553
|
};
|
|
20546
|
-
return
|
|
20554
|
+
return t.forEach((e) => {
|
|
20547
20555
|
r(e, "", []);
|
|
20548
|
-
}),
|
|
20556
|
+
}), n;
|
|
20549
20557
|
}
|
|
20550
20558
|
function Zc() {
|
|
20551
20559
|
let e = {}, t = ut();
|
|
@@ -20591,7 +20599,7 @@ function $c(e) {
|
|
|
20591
20599
|
console.log(r, ...i);
|
|
20592
20600
|
}).consume((e) => t.setProp(t.global, "__consoleLogV1__", e)), t.newFunction("__debugTraceV1__", (e) => {
|
|
20593
20601
|
let n = t.dump(e);
|
|
20594
|
-
|
|
20602
|
+
ne.emit("consoleAppend", n);
|
|
20595
20603
|
}).consume((e) => t.setProp(t.global, "__debugTraceV1__", e)), t.newFunction("__messageV1__", (e, n) => {
|
|
20596
20604
|
let r = t.getString(e), i = t.dump(n), a;
|
|
20597
20605
|
a = typeof i == "object" ? JSON.stringify(i) : String(i), r === "info" ? ae(a) : r === "success" ? oe(a) : r === "warning" ? se(a) : r === "error" && ie(a);
|
|
@@ -20618,7 +20626,7 @@ function $c(e) {
|
|
|
20618
20626
|
}
|
|
20619
20627
|
//#endregion
|
|
20620
20628
|
//#region src/api/computebase/instance.ts
|
|
20621
|
-
var el =
|
|
20629
|
+
var el = te({
|
|
20622
20630
|
baseUrl: "http://localhost/computebase/",
|
|
20623
20631
|
onError: (e) => {
|
|
20624
20632
|
ie(Ge(e));
|
|
@@ -20696,11 +20704,11 @@ function il(e) {
|
|
|
20696
20704
|
appId: `${i}${e.env}`,
|
|
20697
20705
|
pageId: a
|
|
20698
20706
|
};
|
|
20699
|
-
|
|
20707
|
+
C.router.replace({
|
|
20700
20708
|
path: t,
|
|
20701
20709
|
query: n
|
|
20702
20710
|
});
|
|
20703
|
-
} else e.mode === "preview" && se(
|
|
20711
|
+
} else e.mode === "preview" && se(C.i18n.global.t("x-runtime-lib.msg.takeEffectOnlyAfterReleased"));
|
|
20704
20712
|
}).consume((e) => t.setProp(t.global, "__navigateToV1__", e)), t.newFunction("__openConfirmDlgV1__", (n, r) => {
|
|
20705
20713
|
let i = t.getString(n), a = t.getString(r), { promise: o, resolve: s } = e.promiseManager.create();
|
|
20706
20714
|
return ce({
|
|
@@ -20760,7 +20768,7 @@ var ol = "\nlet __events__ = {}\n\nfunction __onEventV1__(id, callback) {\n if
|
|
|
20760
20768
|
env;
|
|
20761
20769
|
mode;
|
|
20762
20770
|
type;
|
|
20763
|
-
eventBus =
|
|
20771
|
+
eventBus = n();
|
|
20764
20772
|
hooks;
|
|
20765
20773
|
vm;
|
|
20766
20774
|
promiseManager;
|
|
@@ -20872,12 +20880,12 @@ var ol = "\nlet __events__ = {}\n\nfunction __onEventV1__(id, callback) {\n if
|
|
|
20872
20880
|
customProperties = {};
|
|
20873
20881
|
customSlotProperties = {};
|
|
20874
20882
|
resetCustomProperties(e) {
|
|
20875
|
-
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] =
|
|
20883
|
+
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]);
|
|
20876
20884
|
}
|
|
20877
20885
|
resetCustomSlotProperties(e) {
|
|
20878
20886
|
if (this.customSlotProperties = {}, this.kind !== "customSlot" && this.kind !== "multipleCustomSlot" || !this.parent?.meta.value?.slots) return;
|
|
20879
20887
|
let t = this.parent.meta.value.slots.find((e) => e.id === this.slotId);
|
|
20880
|
-
if (!(!t || !t.properties)) for (let { id: n, type: r } of t.properties) this.customSlotProperties[n] =
|
|
20888
|
+
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]);
|
|
20881
20889
|
}
|
|
20882
20890
|
getMetaOfElementProperty(e, t) {
|
|
20883
20891
|
if (!this.data.value) return;
|
|
@@ -20969,21 +20977,21 @@ var ol = "\nlet __events__ = {}\n\nfunction __onEventV1__(id, callback) {\n if
|
|
|
20969
20977
|
if (!this.isValidOfCustomSlotProperty(n, r, i)) throw console.warn(`Sandbox/getCustomAdaptSlotProperty invalid custom slot property id=${e}`), W.invalidCustomSlotProperty;
|
|
20970
20978
|
return this.customSlotProperties[i];
|
|
20971
20979
|
}
|
|
20972
|
-
async setProperty(
|
|
20973
|
-
let { kind: i, nodeId: a, propertyKey: o } = Gl(
|
|
20980
|
+
async setProperty(t, n, r) {
|
|
20981
|
+
let { kind: i, nodeId: a, propertyKey: o } = Gl(t), s = this.getNode(a);
|
|
20974
20982
|
if (!s) throw W.nodeNotFound;
|
|
20975
|
-
|
|
20983
|
+
n = e(n), i === "elementProperty" ? await this.setElementProperty(t, n, o, s) : i === "refProperty" ? await this.setRefProperty(t, n, a, o) : i === "multipleRefProperty" ? await this.setMultipleRefProperty(t, n, a, o, r) : i === "customSlotProperty" ? await this.setCustomSlotProperty(t, n, a, o) : i === "multipleCustomSlotProperty" ? await this.setMultipleCustomSlotProperty(t, n, a, o, r) : i === "customProperty" ? await this.setCustomProperty(t, n, o) : i === "elementAdaptSlotProperty" ? await this.setElementAdaptSlotProperty(t, n, o) : i === "customAdaptSlotProperty" ? await this.setCustomAdaptSlotProperty(t, n, o) : console.assert(!1), await ve();
|
|
20976
20984
|
}
|
|
20977
20985
|
async setElementProperty(e, t, n, r) {
|
|
20978
20986
|
let i = this.getMetaOfElementProperty(r.basic.key, n);
|
|
20979
20987
|
if (!i) throw console.warn(`Sandbox/setElementProperty invalid element property id=${e}`), W.invalidElementProperty;
|
|
20980
20988
|
if (i.ui === "transient") {
|
|
20981
20989
|
let i = this.transients.value[r.basic.id][n];
|
|
20982
|
-
if (
|
|
20990
|
+
if (S(t, i)) return;
|
|
20983
20991
|
this.transients.value[r.basic.id][n] = t, await this.hooks.onPropertyChange(e, t, i);
|
|
20984
20992
|
} else {
|
|
20985
20993
|
let i = Ft(r, n);
|
|
20986
|
-
if (
|
|
20994
|
+
if (S(t, i)) return;
|
|
20987
20995
|
It(r, n, t), await this.hooks.onPropertyChange(e, t, i);
|
|
20988
20996
|
}
|
|
20989
20997
|
}
|
|
@@ -20992,7 +21000,7 @@ var ol = "\nlet __events__ = {}\n\nfunction __onEventV1__(id, callback) {\n if
|
|
|
20992
21000
|
if (!i) throw W.sandboxNotFound;
|
|
20993
21001
|
if (!i.isValidOfCustomProperty(r)) throw console.warn(`Sandbox/setRefProperty invalid custom property id=${e}`), W.invalidCustomProperty;
|
|
20994
21002
|
let a = i.customProperties[r];
|
|
20995
|
-
|
|
21003
|
+
S(t, a) || (i.customProperties[r] = t, await i.hooks.onPropertyChange(Wl("customProperty", "globality", r), t, a), await this.hooks.onPropertyChange(e, t, a));
|
|
20996
21004
|
}
|
|
20997
21005
|
async setMultipleRefProperty(e, t, n, r, i) {
|
|
20998
21006
|
if (!i) throw W.instanceNotAvailable;
|
|
@@ -21000,7 +21008,7 @@ var ol = "\nlet __events__ = {}\n\nfunction __onEventV1__(id, callback) {\n if
|
|
|
21000
21008
|
if (!a) throw W.sandboxNotFound;
|
|
21001
21009
|
if (!a.isValidOfCustomProperty(r)) throw console.warn(`Sandbox/setMultipleRefProperty invalid custom property id=${e}`), W.invalidCustomProperty;
|
|
21002
21010
|
let o = a.customProperties[r];
|
|
21003
|
-
|
|
21011
|
+
S(t, o) || (a.customProperties[r] = t, await a.hooks.onPropertyChange(Wl("customProperty", "globality", r), t, o, i), await this.hooks.onPropertyChange(e, t, o, i));
|
|
21004
21012
|
}
|
|
21005
21013
|
async setCustomSlotProperty(e, t, n, r) {
|
|
21006
21014
|
let { compId: i, slotId: a, propertyId: o } = Yl(r);
|
|
@@ -21008,7 +21016,7 @@ var ol = "\nlet __events__ = {}\n\nfunction __onEventV1__(id, callback) {\n if
|
|
|
21008
21016
|
let s = this.children[n];
|
|
21009
21017
|
if (!s) throw W.sandboxNotFound;
|
|
21010
21018
|
let c = s.customSlotProperties[o];
|
|
21011
|
-
|
|
21019
|
+
S(t, c) || (s.customSlotProperties[o] = t, await s.hooks.onPropertyChange(Wl("customAdaptSlotProperty", "globality", r), t, c), await this.hooks.onPropertyChange(e, t, c));
|
|
21012
21020
|
}
|
|
21013
21021
|
async setMultipleCustomSlotProperty(e, t, n, r, i) {
|
|
21014
21022
|
if (!i) throw W.instanceNotAvailable;
|
|
@@ -21017,12 +21025,12 @@ var ol = "\nlet __events__ = {}\n\nfunction __onEventV1__(id, callback) {\n if
|
|
|
21017
21025
|
let c = this.children[`${n}/${i}`];
|
|
21018
21026
|
if (!c) throw W.sandboxNotFound;
|
|
21019
21027
|
let l = c.customSlotProperties[s];
|
|
21020
|
-
|
|
21028
|
+
S(t, l) || (c.customSlotProperties[s] = t, await c.hooks.onPropertyChange(Wl("customAdaptSlotProperty", "globality", r), t, l, i), await this.hooks.onPropertyChange(e, t, l, i));
|
|
21021
21029
|
}
|
|
21022
21030
|
async setCustomProperty(e, t, n) {
|
|
21023
21031
|
if (!this.isValidOfCustomProperty(n)) throw console.warn(`Sandbox/setCustomProperty invalid custom property id=${e}`), W.invalidCustomProperty;
|
|
21024
21032
|
let r = this.customProperties[n];
|
|
21025
|
-
|
|
21033
|
+
S(t, r) || (this.customProperties[n] = t, await this.hooks.onPropertyChange(e, t, r), this.parent && (this.instance ? await this.parent.hooks.onPropertyChange(Wl("multipleRefProperty", this.nodeId, n), t, r, this.instance) : await this.parent.hooks.onPropertyChange(Wl("refProperty", this.nodeId, n), t, r)));
|
|
21026
21034
|
}
|
|
21027
21035
|
async setElementAdaptSlotProperty(e, t, n) {
|
|
21028
21036
|
if (!this.parent) throw W.notInSlot;
|
|
@@ -21032,7 +21040,7 @@ var ol = "\nlet __events__ = {}\n\nfunction __onEventV1__(id, callback) {\n if
|
|
|
21032
21040
|
let o = { value: void 0 };
|
|
21033
21041
|
this.eventBus.emit(`property/${a}/get`, { result: o });
|
|
21034
21042
|
let s = o.value;
|
|
21035
|
-
|
|
21043
|
+
S(t, s) || (this.eventBus.emit(`property/${a}/set`, t), await this.hooks.onPropertyChange(e, t, s), this.kind === "elementSlot" ? await this.parent.hooks.onPropertyChange(Wl("elementSlotProperty", this.nodeId, n), t, s) : this.kind === "multipleElementSlot" && await this.parent.hooks.onPropertyChange(Wl("multipleElementSlotProperty", this.nodeId, n), t, s, this.instance));
|
|
21036
21044
|
}
|
|
21037
21045
|
async setCustomAdaptSlotProperty(e, t, n) {
|
|
21038
21046
|
if (!this.parent) throw W.notInSlot;
|
|
@@ -21040,7 +21048,7 @@ var ol = "\nlet __events__ = {}\n\nfunction __onEventV1__(id, callback) {\n if
|
|
|
21040
21048
|
if (!this.isEqualOfCustomSlot(r, i)) throw W.slotIncompatible;
|
|
21041
21049
|
if (!this.isValidOfCustomSlotProperty(r, i, a)) throw console.warn(`Sandbox/setCustomAdaptSlotProperty invalid custom slot property id=${e}`), W.invalidCustomSlotProperty;
|
|
21042
21050
|
let o = this.customSlotProperties[a];
|
|
21043
|
-
|
|
21051
|
+
S(t, o) || (this.customSlotProperties[a] = t, await this.hooks.onPropertyChange(e, t, o), this.kind === "customSlot" ? await this.parent.hooks.onPropertyChange(Wl("customSlotProperty", this.nodeId, n), t, o) : this.kind === "multipleCustomSlot" && await this.parent.hooks.onPropertyChange(Wl("multipleCustomSlotProperty", this.nodeId, n), t, o, this.instance));
|
|
21044
21052
|
}
|
|
21045
21053
|
isValidOfElementMethod(e, t) {
|
|
21046
21054
|
let n = dt(e);
|
|
@@ -21267,7 +21275,7 @@ var ol = "\nlet __events__ = {}\n\nfunction __onEventV1__(id, callback) {\n if
|
|
|
21267
21275
|
}
|
|
21268
21276
|
states = {};
|
|
21269
21277
|
resetStates() {
|
|
21270
|
-
if (this.states = {}, this.meta.value?.states) for (let { id: e, type: t } of this.meta.value.states) this.states[e] =
|
|
21278
|
+
if (this.states = {}, this.meta.value?.states) for (let { id: e, type: t } of this.meta.value.states) this.states[e] = re(t);
|
|
21271
21279
|
}
|
|
21272
21280
|
isValidOfState(e) {
|
|
21273
21281
|
return this.meta.value ? !!this.meta.value.states?.find((t) => t.id === e) : !1;
|
|
@@ -21275,10 +21283,10 @@ var ol = "\nlet __events__ = {}\n\nfunction __onEventV1__(id, callback) {\n if
|
|
|
21275
21283
|
async getState(e) {
|
|
21276
21284
|
return this.states[e];
|
|
21277
21285
|
}
|
|
21278
|
-
async setState(
|
|
21279
|
-
if (this.debugTrace("setState",
|
|
21280
|
-
let r = this.states[
|
|
21281
|
-
|
|
21286
|
+
async setState(t, n) {
|
|
21287
|
+
if (this.debugTrace("setState", t, n), !this.isValidOfState(t)) throw console.warn(`Sandbox/setState invalid state id=${t}`), W.invalidState;
|
|
21288
|
+
let r = this.states[t];
|
|
21289
|
+
S(n, r) || (this.states[t] = e(n), await this.hooks.onStateChange(t, n, r), await ve());
|
|
21282
21290
|
}
|
|
21283
21291
|
};
|
|
21284
21292
|
//#endregion
|
|
@@ -21691,8 +21699,8 @@ var Cu = (e, t, n) => {
|
|
|
21691
21699
|
//#region src/i18n/index.ts
|
|
21692
21700
|
async function wu(e) {
|
|
21693
21701
|
return (await Cu(/* @__PURE__ */ Object.assign({
|
|
21694
|
-
"./locales/en/index.ts": () => import("./i18n-en.
|
|
21695
|
-
"./locales/zhHans/index.ts": () => import("./i18n-zhHans.
|
|
21702
|
+
"./locales/en/index.ts": () => import("./i18n-en.o3ksxu9f.js").then((e) => e.t),
|
|
21703
|
+
"./locales/zhHans/index.ts": () => import("./i18n-zhHans.micb9uug.js").then((e) => e.t)
|
|
21696
21704
|
}), `./locales/${e}/index.ts`, 4)).default;
|
|
21697
21705
|
}
|
|
21698
21706
|
//#endregion
|