x-runtime-lib 0.9.52 → 0.9.53
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.n2njk5co.js} +1 -1
- package/dist/{i18n-zhHans.jgc17e4x.js → i18n-zhHans.cd4r40v6.js} +1 -1
- package/dist/index.js +399 -399
- 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) {
|
|
@@ -501,16 +501,16 @@ function nn(e, t) {
|
|
|
501
501
|
nodes: { [e.basic.id]: e }
|
|
502
502
|
};
|
|
503
503
|
}
|
|
504
|
-
function rn(
|
|
505
|
-
let
|
|
506
|
-
let
|
|
507
|
-
|
|
508
|
-
}, i =
|
|
504
|
+
function rn(t) {
|
|
505
|
+
let n = {}, r = (e) => {
|
|
506
|
+
let t = bt(16);
|
|
507
|
+
n[e.id] = t, e.id = t, e.children?.map((e) => r(e));
|
|
508
|
+
}, i = e(t.nodeLite);
|
|
509
509
|
r(i);
|
|
510
510
|
let a = {};
|
|
511
|
-
return Object.values(
|
|
512
|
-
let r =
|
|
513
|
-
r.basic.id =
|
|
511
|
+
return Object.values(t.nodes).forEach((t) => {
|
|
512
|
+
let r = e(t);
|
|
513
|
+
r.basic.id = n[r.basic.id], a[r.basic.id] = r;
|
|
514
514
|
}), {
|
|
515
515
|
nodeLite: i,
|
|
516
516
|
nodes: a
|
|
@@ -558,7 +558,7 @@ function U(e, t) {
|
|
|
558
558
|
};
|
|
559
559
|
}
|
|
560
560
|
//#endregion
|
|
561
|
-
//#region \0@oxc-project+runtime@0.
|
|
561
|
+
//#region \0@oxc-project+runtime@0.132.0/helpers/usingCtx.js
|
|
562
562
|
function sn() {
|
|
563
563
|
var e = typeof SuppressedError == "function" ? SuppressedError : function(e, t) {
|
|
564
564
|
var n = Error();
|
|
@@ -673,7 +673,7 @@ async function un(e, t) {
|
|
|
673
673
|
async function dn(e, t) {
|
|
674
674
|
let { watchEffect: n } = t;
|
|
675
675
|
for (let t of n.ids) {
|
|
676
|
-
let n =
|
|
676
|
+
let n = b(t);
|
|
677
677
|
await e.callFunctionAsync(`__watchEffect$${n}__`);
|
|
678
678
|
}
|
|
679
679
|
}
|
|
@@ -696,7 +696,7 @@ async function pn(e, t, n) {
|
|
|
696
696
|
async function mn(e, t, n) {
|
|
697
697
|
let { watchEffect: r } = t;
|
|
698
698
|
if (r.triggers[n]) for (let t of r.triggers[n]) {
|
|
699
|
-
let n =
|
|
699
|
+
let n = b(t);
|
|
700
700
|
await e.callFunctionAsync(`__watchEffect$${n}__`);
|
|
701
701
|
}
|
|
702
702
|
}
|
|
@@ -1533,18 +1533,18 @@ var vn = [
|
|
|
1533
1533
|
}
|
|
1534
1534
|
];
|
|
1535
1535
|
function yn() {
|
|
1536
|
-
let
|
|
1536
|
+
let t = {
|
|
1537
1537
|
key: "",
|
|
1538
1538
|
name: "",
|
|
1539
1539
|
ui: "multiTypes",
|
|
1540
1540
|
types: "borderRadiusV1",
|
|
1541
1541
|
default: null
|
|
1542
|
-
},
|
|
1542
|
+
}, n = [];
|
|
1543
1543
|
for (let { key: r, name: i } of vn) {
|
|
1544
|
-
let a =
|
|
1545
|
-
a.key = r, a.name = i,
|
|
1544
|
+
let a = e(t);
|
|
1545
|
+
a.key = r, a.name = i, n.push(a);
|
|
1546
1546
|
}
|
|
1547
|
-
return
|
|
1547
|
+
return n;
|
|
1548
1548
|
}
|
|
1549
1549
|
var bn = {
|
|
1550
1550
|
key: "border",
|
|
@@ -2882,7 +2882,7 @@ function Y(e, t, n) {
|
|
|
2882
2882
|
async set(a) {
|
|
2883
2883
|
n && typeof a == "object" && (a = JSON.stringify(a, null, 2));
|
|
2884
2884
|
let o = Ft(e.value, t);
|
|
2885
|
-
|
|
2885
|
+
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
2886
|
}
|
|
2887
2887
|
}) };
|
|
2888
2888
|
}
|
|
@@ -2909,35 +2909,35 @@ function Rn(e) {
|
|
|
2909
2909
|
}
|
|
2910
2910
|
//#endregion
|
|
2911
2911
|
//#region src/composables/runtime/depend.ts
|
|
2912
|
-
function zn(
|
|
2912
|
+
function zn(t, n, r) {
|
|
2913
2913
|
let i = Al(), a = P(-1), o = P(-1);
|
|
2914
2914
|
Ie(() => {
|
|
2915
|
-
if (!
|
|
2916
|
-
a.value = -1,
|
|
2915
|
+
if (!t.value) {
|
|
2916
|
+
a.value = -1, n.value = void 0, o.value = -1, r.value = void 0;
|
|
2917
2917
|
return;
|
|
2918
2918
|
}
|
|
2919
|
-
let s = i.value[
|
|
2919
|
+
let s = i.value[t.value];
|
|
2920
2920
|
if (!s) {
|
|
2921
|
-
a.value = -1,
|
|
2921
|
+
a.value = -1, n.value = void 0, o.value = -1, r.value = void 0, ne.emit("compNotAvail", t.value);
|
|
2922
2922
|
return;
|
|
2923
2923
|
}
|
|
2924
|
-
a.value !== s.metaSeq && (a.value = s.metaSeq,
|
|
2924
|
+
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
2925
|
});
|
|
2926
2926
|
}
|
|
2927
2927
|
//#endregion
|
|
2928
2928
|
//#region src/composables/runtime/runtime.ts
|
|
2929
2929
|
async function Bn() {
|
|
2930
|
-
await
|
|
2930
|
+
await ee();
|
|
2931
2931
|
}
|
|
2932
2932
|
function Vn() {
|
|
2933
|
-
let
|
|
2933
|
+
let e;
|
|
2934
2934
|
xe(() => {
|
|
2935
|
-
|
|
2935
|
+
e = i().newRuntime({
|
|
2936
2936
|
memoryLimitBytes: 32 * 1024 * 1024,
|
|
2937
2937
|
maxStackSizeBytes: 1 * 1024 * 1024
|
|
2938
|
-
}), jl(
|
|
2938
|
+
}), jl(e), console.log("runtime created");
|
|
2939
2939
|
}), Ce(async () => {
|
|
2940
|
-
await ve(),
|
|
2940
|
+
await ve(), e && (e.dispose(), console.log("runtime dispose"));
|
|
2941
2941
|
});
|
|
2942
2942
|
}
|
|
2943
2943
|
//#endregion
|
|
@@ -2955,7 +2955,7 @@ function Un(e, t, n) {
|
|
|
2955
2955
|
},
|
|
2956
2956
|
set(r) {
|
|
2957
2957
|
let i = t.globality[n];
|
|
2958
|
-
|
|
2958
|
+
S(r, i) || (t.globality[n] = r, e.hooks.onPropertyChange(Wl("elementProperty", "globality", n), r, i));
|
|
2959
2959
|
}
|
|
2960
2960
|
}) };
|
|
2961
2961
|
}
|
|
@@ -2963,8 +2963,8 @@ function Wn(e, t, n, r, i, a, o, s, c) {
|
|
|
2963
2963
|
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
2964
|
onReady: y,
|
|
2965
2965
|
onDestroy: b,
|
|
2966
|
-
onPropertyChange:
|
|
2967
|
-
onStateChange:
|
|
2966
|
+
onPropertyChange: x,
|
|
2967
|
+
onStateChange: ee
|
|
2968
2968
|
});
|
|
2969
2969
|
Nl(_), Ce(() => {
|
|
2970
2970
|
_.dispose();
|
|
@@ -2981,29 +2981,29 @@ function Wn(e, t, n, r, i, a, o, s, c) {
|
|
|
2981
2981
|
async function b() {
|
|
2982
2982
|
_.callFunctionSync("__destroy__");
|
|
2983
2983
|
}
|
|
2984
|
-
async function
|
|
2984
|
+
async function x(e, t, n, r) {
|
|
2985
2985
|
if (!_.vm) return;
|
|
2986
2986
|
let { kind: i, nodeId: a, propertyKey: s } = Gl(e);
|
|
2987
2987
|
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 (
|
|
2988
|
+
if (S(s, "settings.value")) {
|
|
2989
2989
|
let e = o.value?.view.nodeLites.find((e) => e.id === a);
|
|
2990
2990
|
e ? qt(e.key) && (e.inlineSlot = t) : console.assert(!1);
|
|
2991
2991
|
}
|
|
2992
|
-
if (
|
|
2992
|
+
if (S(s, "settings.open")) {
|
|
2993
2993
|
let e = o.value?.view.nodeLites.find((e) => e.id === a);
|
|
2994
2994
|
e ? Kt(e.key) && (e.render = t) : console.assert(!1);
|
|
2995
2995
|
}
|
|
2996
|
-
if (
|
|
2996
|
+
if (S(s, "settings.slot")) {
|
|
2997
2997
|
let e = o.value?.view.nodeLites.find((e) => e.id === a);
|
|
2998
2998
|
e ? e.slotId = t : console.assert(!1);
|
|
2999
2999
|
}
|
|
3000
|
-
if (
|
|
3000
|
+
if (S(s, "settings.comp")) {
|
|
3001
3001
|
let e = o.value?.view.nodeLites.find((e) => e.id === a);
|
|
3002
3002
|
e ? e.compId = t : console.assert(!1);
|
|
3003
3003
|
}
|
|
3004
3004
|
}
|
|
3005
3005
|
}
|
|
3006
|
-
async function
|
|
3006
|
+
async function ee(e, t, n) {
|
|
3007
3007
|
_.vm && (await _.triggerEvent(nu("stateChangeEvent", "globality", e), [t, n]), o.value?.code.reactivity && pn(_, o.value.code.reactivity, uu("stateTrigger", e)));
|
|
3008
3008
|
}
|
|
3009
3009
|
Fe(o, () => {
|
|
@@ -3012,13 +3012,13 @@ function Wn(e, t, n, r, i, a, o, s, c) {
|
|
|
3012
3012
|
"runtime.darkMode": m.value
|
|
3013
3013
|
});
|
|
3014
3014
|
}, { immediate: !0 });
|
|
3015
|
-
let { property:
|
|
3015
|
+
let { property: te } = Un(_, s, "runtime.breakpoint");
|
|
3016
3016
|
Fe(p, () => {
|
|
3017
|
-
_.vm && (
|
|
3017
|
+
_.vm && (te.value = ht(p.value.width));
|
|
3018
3018
|
});
|
|
3019
|
-
let { property:
|
|
3019
|
+
let { property: ne } = Un(_, s, "runtime.darkMode");
|
|
3020
3020
|
return Fe(m, async () => {
|
|
3021
|
-
_.vm && (
|
|
3021
|
+
_.vm && (ne.value = m.value);
|
|
3022
3022
|
}), { sandbox: _ };
|
|
3023
3023
|
}
|
|
3024
3024
|
//#endregion
|
|
@@ -3097,7 +3097,7 @@ function Yn(e, t, n, r) {
|
|
|
3097
3097
|
},
|
|
3098
3098
|
set(t) {
|
|
3099
3099
|
let r = s[e][n];
|
|
3100
|
-
|
|
3100
|
+
S(t, r) || (s[e][n] = t, z(i) && c?.hooks.onPropertyChange(Wl("elementProperty", e, n), t, r));
|
|
3101
3101
|
}
|
|
3102
3102
|
}) };
|
|
3103
3103
|
}
|
|
@@ -3182,7 +3182,7 @@ function $n(e, t, n) {
|
|
|
3182
3182
|
}
|
|
3183
3183
|
}
|
|
3184
3184
|
function i() {
|
|
3185
|
-
let { i18n: i } =
|
|
3185
|
+
let { i18n: i } = C;
|
|
3186
3186
|
if (Xe(e, t)) return A("div", null, i.global.t("x-runtime-lib.circularReference"));
|
|
3187
3187
|
if (!n.value) return;
|
|
3188
3188
|
let a = {};
|
|
@@ -3273,16 +3273,16 @@ function er(e) {
|
|
|
3273
3273
|
scale: f
|
|
3274
3274
|
};
|
|
3275
3275
|
}
|
|
3276
|
-
|
|
3276
|
+
a([
|
|
3277
3277
|
m,
|
|
3278
|
-
|
|
3278
|
+
u,
|
|
3279
3279
|
g,
|
|
3280
|
-
|
|
3281
|
-
_,
|
|
3280
|
+
r,
|
|
3282
3281
|
y,
|
|
3283
|
-
|
|
3284
|
-
|
|
3285
|
-
|
|
3282
|
+
_,
|
|
3283
|
+
o,
|
|
3284
|
+
v
|
|
3285
|
+
]), d("dark", {
|
|
3286
3286
|
color: [
|
|
3287
3287
|
"#dd6b66",
|
|
3288
3288
|
"#759aa0",
|
|
@@ -3563,7 +3563,7 @@ l([
|
|
|
3563
3563
|
label: { color: "#eee" },
|
|
3564
3564
|
emphasis: { label: { color: "#eee" } }
|
|
3565
3565
|
}
|
|
3566
|
-
}),
|
|
3566
|
+
}), d("light", {
|
|
3567
3567
|
color: [
|
|
3568
3568
|
"#dd6b66",
|
|
3569
3569
|
"#759aa0",
|
|
@@ -3845,7 +3845,7 @@ l([
|
|
|
3845
3845
|
emphasis: { label: { color: "#eee" } }
|
|
3846
3846
|
}
|
|
3847
3847
|
});
|
|
3848
|
-
var tr =
|
|
3848
|
+
var tr = p;
|
|
3849
3849
|
//#endregion
|
|
3850
3850
|
//#region src/composables/element/piece/chart/legend/v1/index.ts
|
|
3851
3851
|
function nr(e) {
|
|
@@ -4033,20 +4033,20 @@ var dr = [
|
|
|
4033
4033
|
refContext: {}
|
|
4034
4034
|
},
|
|
4035
4035
|
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:
|
|
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: l } = Y(t, ["settings", "top"]), { property: u } = Y(t, ["settings", "bottom"]), { property: d } = Y(t, ["settings", "near"]), { property: f } = Y(t, ["settings", "far"]);
|
|
4037
4037
|
return (e, t) => (N(), E("TresOrthographicCamera", {
|
|
4038
|
-
bottom: L(
|
|
4039
|
-
far: L(
|
|
4038
|
+
bottom: L(u),
|
|
4039
|
+
far: L(f),
|
|
4040
4040
|
left: L(o),
|
|
4041
|
-
near: L(
|
|
4041
|
+
near: L(d),
|
|
4042
4042
|
position: L(r),
|
|
4043
4043
|
right: L(s),
|
|
4044
4044
|
rotation: L(i),
|
|
4045
4045
|
scale: L(a),
|
|
4046
|
-
top: L(
|
|
4046
|
+
top: L(l)
|
|
4047
4047
|
}, [
|
|
4048
4048
|
O(L(jn)),
|
|
4049
|
-
L(n) === "editor" ? (N(), T(L(
|
|
4049
|
+
L(n) === "editor" ? (N(), T(L(c), {
|
|
4050
4050
|
key: 0,
|
|
4051
4051
|
type: L(ze)
|
|
4052
4052
|
}, null, 8, ["type"])) : pe("", !0),
|
|
@@ -4069,18 +4069,18 @@ var dr = [
|
|
|
4069
4069
|
refContext: {}
|
|
4070
4070
|
},
|
|
4071
4071
|
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:
|
|
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: l } = Y(t, ["settings", "near"]), { property: u } = Y(t, ["settings", "far"]);
|
|
4073
4073
|
return (e, t) => (N(), E("TresPerspectiveCamera", {
|
|
4074
4074
|
aspect: L(s),
|
|
4075
|
-
far: L(
|
|
4075
|
+
far: L(u),
|
|
4076
4076
|
fov: L(o),
|
|
4077
|
-
near: L(
|
|
4077
|
+
near: L(l),
|
|
4078
4078
|
position: L(r),
|
|
4079
4079
|
rotation: L(i),
|
|
4080
4080
|
scale: L(a)
|
|
4081
4081
|
}, [
|
|
4082
4082
|
O(L(jn)),
|
|
4083
|
-
L(n) === "editor" ? (N(), T(L(
|
|
4083
|
+
L(n) === "editor" ? (N(), T(L(c), {
|
|
4084
4084
|
key: 0,
|
|
4085
4085
|
type: L(ze)
|
|
4086
4086
|
}, null, 8, ["type"])) : pe("", !0),
|
|
@@ -4091,19 +4091,19 @@ var dr = [
|
|
|
4091
4091
|
__name: "index",
|
|
4092
4092
|
setup(e) {
|
|
4093
4093
|
let t = $();
|
|
4094
|
-
return (e, n) => L(t) === "editor" ? pe("", !0) : (N(), T(L(
|
|
4094
|
+
return (e, n) => L(t) === "editor" ? pe("", !0) : (N(), T(L(h), { key: 0 }));
|
|
4095
4095
|
}
|
|
4096
4096
|
}), gr = /* @__PURE__ */ k({
|
|
4097
4097
|
__name: "index",
|
|
4098
4098
|
setup(e) {
|
|
4099
4099
|
let t = $();
|
|
4100
|
-
return (e, n) => L(t) === "editor" ? pe("", !0) : (N(), T(L(
|
|
4100
|
+
return (e, n) => L(t) === "editor" ? pe("", !0) : (N(), T(L(f), { key: 0 }));
|
|
4101
4101
|
}
|
|
4102
4102
|
}), _r = /* @__PURE__ */ k({
|
|
4103
4103
|
__name: "index",
|
|
4104
4104
|
setup(e) {
|
|
4105
4105
|
let t = $();
|
|
4106
|
-
return (e, n) => L(t) === "editor" ? pe("", !0) : (N(), T(L(
|
|
4106
|
+
return (e, n) => L(t) === "editor" ? pe("", !0) : (N(), T(L(l), { key: 0 }));
|
|
4107
4107
|
}
|
|
4108
4108
|
}), vr = ["args"], yr = /* @__PURE__ */ k({
|
|
4109
4109
|
__name: "index",
|
|
@@ -4192,7 +4192,7 @@ var dr = [
|
|
|
4192
4192
|
scale: L(a)
|
|
4193
4193
|
}, [
|
|
4194
4194
|
O(L(jn)),
|
|
4195
|
-
L(n) === "editor" ? (N(), T(L(
|
|
4195
|
+
L(n) === "editor" ? (N(), T(L(c), {
|
|
4196
4196
|
key: 0,
|
|
4197
4197
|
type: L(Be)
|
|
4198
4198
|
}, null, 8, ["type"])) : pe("", !0),
|
|
@@ -4215,18 +4215,18 @@ var dr = [
|
|
|
4215
4215
|
refContext: {}
|
|
4216
4216
|
},
|
|
4217
4217
|
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:
|
|
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: l } = Y(t, ["settings", "distance"]), { property: u } = Y(t, ["settings", "decay"]);
|
|
4219
4219
|
return (e, t) => (N(), E("TresPointLight", {
|
|
4220
4220
|
color: L(o),
|
|
4221
|
-
decay: L(
|
|
4222
|
-
distance: L(
|
|
4221
|
+
decay: L(u),
|
|
4222
|
+
distance: L(l),
|
|
4223
4223
|
intensity: L(s),
|
|
4224
4224
|
position: L(r),
|
|
4225
4225
|
rotation: L(i),
|
|
4226
4226
|
scale: L(a)
|
|
4227
4227
|
}, [
|
|
4228
4228
|
O(L(jn)),
|
|
4229
|
-
L(n) === "editor" ? (N(), T(L(
|
|
4229
|
+
L(n) === "editor" ? (N(), T(L(c), {
|
|
4230
4230
|
key: 0,
|
|
4231
4231
|
type: L(Ve)
|
|
4232
4232
|
}, null, 8, ["type"])) : pe("", !0),
|
|
@@ -4251,14 +4251,14 @@ var dr = [
|
|
|
4251
4251
|
refContext: {}
|
|
4252
4252
|
},
|
|
4253
4253
|
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:
|
|
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: l } = Y(t, ["settings", "distance"]), { property: u } = Y(t, ["settings", "angle"]), { property: d } = Y(t, ["settings", "penumbra"]), { property: f } = Y(t, ["settings", "decay"]);
|
|
4255
4255
|
return (e, t) => (N(), E("TresSpotLight", {
|
|
4256
|
-
angle: L(
|
|
4256
|
+
angle: L(u),
|
|
4257
4257
|
color: L(o),
|
|
4258
|
-
decay: L(
|
|
4259
|
-
distance: L(
|
|
4258
|
+
decay: L(f),
|
|
4259
|
+
distance: L(l),
|
|
4260
4260
|
intensity: L(s),
|
|
4261
|
-
penumbra: L(
|
|
4261
|
+
penumbra: L(d),
|
|
4262
4262
|
position: L(n) === "editor" ? [
|
|
4263
4263
|
0,
|
|
4264
4264
|
0,
|
|
@@ -4276,7 +4276,7 @@ var dr = [
|
|
|
4276
4276
|
] : L(a)
|
|
4277
4277
|
}, [
|
|
4278
4278
|
O(L(jn)),
|
|
4279
|
-
L(n) === "editor" ? (N(), T(L(
|
|
4279
|
+
L(n) === "editor" ? (N(), T(L(c), {
|
|
4280
4280
|
key: 0,
|
|
4281
4281
|
type: L(He)
|
|
4282
4282
|
}, null, 8, ["type"])) : pe("", !0),
|
|
@@ -4432,7 +4432,7 @@ var Hr = /* @__PURE__ */ br(Br, [["render", Vr]]), Ur = [
|
|
|
4432
4432
|
position: e.position,
|
|
4433
4433
|
rotation: e.rotation,
|
|
4434
4434
|
scale: e.scale
|
|
4435
|
-
}, [e.label ? (N(), T(L(
|
|
4435
|
+
}, [e.label ? (N(), T(L(s), {
|
|
4436
4436
|
key: 0,
|
|
4437
4437
|
center: "",
|
|
4438
4438
|
transform: ""
|
|
@@ -4449,46 +4449,46 @@ var Hr = /* @__PURE__ */ br(Br, [["render", Vr]]), Ur = [
|
|
|
4449
4449
|
refContext: {},
|
|
4450
4450
|
instance: {}
|
|
4451
4451
|
},
|
|
4452
|
-
setup(
|
|
4453
|
-
console.log(`<element/${
|
|
4454
|
-
console.log(`<element/${
|
|
4452
|
+
setup(t) {
|
|
4453
|
+
console.log(`<element/${t.nodeId}/multiple_ref_v1/${t.instance}> created`), Ce(() => {
|
|
4454
|
+
console.log(`<element/${t.nodeId}/multiple_ref_v1/${t.instance}> destroyed`);
|
|
4455
4455
|
});
|
|
4456
|
-
let
|
|
4456
|
+
let n = $(), r = wl(), i = El(), a = w(() => e(r.value)), o = w(() => e(i.value));
|
|
4457
4457
|
Tl(o);
|
|
4458
4458
|
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
|
|
4459
|
+
Dl(s), z(n) && Wn("multipleRef", t.nodeId, "", t.instance, Pl(), a, o, s);
|
|
4460
|
+
function c(e, n) {
|
|
4461
|
+
let r = dt(e.key);
|
|
4462
|
+
if (!r) return console.error(`multipleRefV1/renderNode element not found key = ${e.key}`), {};
|
|
4463
|
+
if (qt(e.key)) {
|
|
4464
|
+
if (!e.inlineSlot || !e.children) return {};
|
|
4465
|
+
let t = {};
|
|
4466
|
+
for (let n of e.children) Qt(t, c(n, e.inlineSlot));
|
|
4467
|
+
return t;
|
|
4468
|
+
} else if (Kt(e.key)) {
|
|
4469
|
+
if (!e.render || !e.children) return {};
|
|
4470
|
+
let t = {};
|
|
4471
|
+
for (let r of e.children) Qt(t, c(r, n));
|
|
4472
|
+
return t;
|
|
4473
4473
|
} else {
|
|
4474
|
-
let i = { nodeId:
|
|
4475
|
-
Zt(
|
|
4476
|
-
parent:
|
|
4477
|
-
compId:
|
|
4474
|
+
let i = { nodeId: e.id };
|
|
4475
|
+
Zt(e.key) && (i.refContext = {
|
|
4476
|
+
parent: t.refContext,
|
|
4477
|
+
compId: e.compId
|
|
4478
4478
|
});
|
|
4479
4479
|
let a = {};
|
|
4480
|
-
if (Yt(r) &&
|
|
4480
|
+
if (Yt(r) && e.children) for (let t of e.children) Qt(a, c(t, "default"));
|
|
4481
4481
|
return { [n]: [A(r.comp, {
|
|
4482
|
-
key:
|
|
4482
|
+
key: e.id,
|
|
4483
4483
|
...i
|
|
4484
4484
|
}, $t(a))] };
|
|
4485
4485
|
}
|
|
4486
4486
|
}
|
|
4487
4487
|
function l() {
|
|
4488
|
-
let
|
|
4489
|
-
if (o.value) for (let
|
|
4490
|
-
if (
|
|
4491
|
-
if (
|
|
4488
|
+
let e = {};
|
|
4489
|
+
if (o.value) for (let t of o.value.view.nodeLites) Qt(e, c(t, "default"));
|
|
4490
|
+
if (t.subtype === "ui") return A("div", null, $t(e));
|
|
4491
|
+
if (t.subtype === "3d") return A("TresGroup", null, $t(e));
|
|
4492
4492
|
}
|
|
4493
4493
|
return (e, t) => (N(), T(l));
|
|
4494
4494
|
}
|
|
@@ -4546,7 +4546,7 @@ var Hr = /* @__PURE__ */ br(Br, [["render", Vr]]), Ur = [
|
|
|
4546
4546
|
console.assert(!1, "invalid data");
|
|
4547
4547
|
return;
|
|
4548
4548
|
}
|
|
4549
|
-
let { i18n: n } =
|
|
4549
|
+
let { i18n: n } = C;
|
|
4550
4550
|
if (Xe(e.refContext, r)) return i.value.type === "ui" ? A("div", {
|
|
4551
4551
|
id: t.id,
|
|
4552
4552
|
style: u.value
|
|
@@ -4592,46 +4592,46 @@ var Hr = /* @__PURE__ */ br(Br, [["render", Vr]]), Ur = [
|
|
|
4592
4592
|
refContext: {},
|
|
4593
4593
|
instance: {}
|
|
4594
4594
|
},
|
|
4595
|
-
setup(
|
|
4596
|
-
console.log(`<element/${
|
|
4597
|
-
console.log(`<element/${
|
|
4595
|
+
setup(t) {
|
|
4596
|
+
console.log(`<element/${t.nodeId}/multiple_slot_v1/${t.instance}> created`), Ce(() => {
|
|
4597
|
+
console.log(`<element/${t.nodeId}/multiple_slot_v1/${t.instance}> destroyed`);
|
|
4598
4598
|
});
|
|
4599
|
-
let
|
|
4599
|
+
let n = $(), r = wl(), i = El(), a = w(() => e(r.value)), o = w(() => e(i.value));
|
|
4600
4600
|
Tl(o);
|
|
4601
4601
|
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
|
|
4602
|
+
Dl(s), z(n) && Wn("multipleCustomSlot", t.nodeId, "", t.instance, Pl(), a, o, s);
|
|
4603
|
+
function c(e, n) {
|
|
4604
|
+
let r = dt(e.key);
|
|
4605
|
+
if (!r) return console.error(`multipleSlotV1/renderNode element not found key=${e.key}`), {};
|
|
4606
|
+
if (qt(e.key)) {
|
|
4607
|
+
if (!e.inlineSlot || !e.children) return {};
|
|
4608
|
+
let t = {};
|
|
4609
|
+
for (let n of e.children) Qt(t, c(n, e.inlineSlot));
|
|
4610
|
+
return t;
|
|
4611
|
+
} else if (Kt(e.key)) {
|
|
4612
|
+
if (!e.render || !e.children) return {};
|
|
4613
|
+
let t = {};
|
|
4614
|
+
for (let r of e.children) Qt(t, c(r, n));
|
|
4615
|
+
return t;
|
|
4616
4616
|
} else {
|
|
4617
|
-
let i = { nodeId:
|
|
4618
|
-
Zt(
|
|
4619
|
-
parent:
|
|
4620
|
-
compId:
|
|
4617
|
+
let i = { nodeId: e.id };
|
|
4618
|
+
Zt(e.key) && (i.refContext = {
|
|
4619
|
+
parent: t.refContext,
|
|
4620
|
+
compId: e.compId
|
|
4621
4621
|
});
|
|
4622
4622
|
let a = {};
|
|
4623
|
-
if (Yt(r) &&
|
|
4623
|
+
if (Yt(r) && e.children) for (let t of e.children) Qt(a, c(t, "default"));
|
|
4624
4624
|
return { [n]: [A(r.comp, {
|
|
4625
|
-
key:
|
|
4625
|
+
key: e.id,
|
|
4626
4626
|
...i
|
|
4627
4627
|
}, $t(a))] };
|
|
4628
4628
|
}
|
|
4629
4629
|
}
|
|
4630
4630
|
function l() {
|
|
4631
|
-
let
|
|
4632
|
-
if (o.value) for (let
|
|
4633
|
-
if (
|
|
4634
|
-
if (
|
|
4631
|
+
let e = {};
|
|
4632
|
+
if (o.value) for (let t of o.value.view.nodeLites) Qt(e, c(t, "default"));
|
|
4633
|
+
if (t.subtype === "ui") return A("div", null, $t(e));
|
|
4634
|
+
if (t.subtype === "3d") return A("TresGroup", null, $t(e));
|
|
4635
4635
|
}
|
|
4636
4636
|
return (e, t) => (N(), T(l));
|
|
4637
4637
|
}
|
|
@@ -4691,7 +4691,7 @@ var Hr = /* @__PURE__ */ br(Br, [["render", Vr]]), Ur = [
|
|
|
4691
4691
|
console.assert(!1, "invalid data");
|
|
4692
4692
|
return;
|
|
4693
4693
|
}
|
|
4694
|
-
let { i18n: n } =
|
|
4694
|
+
let { i18n: n } = C;
|
|
4695
4695
|
if (Xe(e.refContext, r)) return i.value.type === "ui" ? A("div", {
|
|
4696
4696
|
id: t.id,
|
|
4697
4697
|
style: l.value
|
|
@@ -4801,7 +4801,7 @@ var Hr = /* @__PURE__ */ br(Br, [["render", Vr]]), Ur = [
|
|
|
4801
4801
|
console.error("refV1/render invalid data");
|
|
4802
4802
|
return;
|
|
4803
4803
|
}
|
|
4804
|
-
let { i18n: n } =
|
|
4804
|
+
let { i18n: n } = C;
|
|
4805
4805
|
if (Xe(e.refContext, i)) return a.value.type === "ui" ? A("div", {
|
|
4806
4806
|
id: t.id,
|
|
4807
4807
|
style: f.value
|
|
@@ -4916,7 +4916,7 @@ var $r = /* @__PURE__ */ br(Zr, [["render", Qr]]), ei = /* @__PURE__ */ k({
|
|
|
4916
4916
|
console.error("slotV1/render invalid data");
|
|
4917
4917
|
return;
|
|
4918
4918
|
}
|
|
4919
|
-
let { i18n: n } =
|
|
4919
|
+
let { i18n: n } = C;
|
|
4920
4920
|
if (Xe(e.refContext, i)) return a.value.type === "ui" ? A("div", {
|
|
4921
4921
|
id: t.id,
|
|
4922
4922
|
style: d.value
|
|
@@ -5203,25 +5203,25 @@ var $r = /* @__PURE__ */ br(Zr, [["render", Qr]]), ei = /* @__PURE__ */ k({
|
|
|
5203
5203
|
"settings",
|
|
5204
5204
|
"style",
|
|
5205
5205
|
"block"
|
|
5206
|
-
]), { property:
|
|
5206
|
+
]), { property: ee } = Y(n, [
|
|
5207
5207
|
"settings",
|
|
5208
5208
|
"style",
|
|
5209
5209
|
"stacked"
|
|
5210
|
-
]), { property:
|
|
5210
|
+
]), { property: te } = Y(n, [
|
|
5211
5211
|
"settings",
|
|
5212
5212
|
"style",
|
|
5213
5213
|
"tile"
|
|
5214
|
-
]), { property:
|
|
5214
|
+
]), { property: ne } = Y(n, [
|
|
5215
5215
|
"settings",
|
|
5216
5216
|
"style",
|
|
5217
5217
|
"ripple"
|
|
5218
|
-
]), { property:
|
|
5218
|
+
]), { property: re } = Z(n, [
|
|
5219
5219
|
"settings",
|
|
5220
5220
|
"style",
|
|
5221
5221
|
"decoration",
|
|
5222
5222
|
"icon",
|
|
5223
5223
|
"prepend"
|
|
5224
|
-
]), { property:
|
|
5224
|
+
]), { property: C } = Z(n, [
|
|
5225
5225
|
"settings",
|
|
5226
5226
|
"style",
|
|
5227
5227
|
"decoration",
|
|
@@ -5271,7 +5271,7 @@ var $r = /* @__PURE__ */ br(Zr, [["render", Qr]]), ei = /* @__PURE__ */ k({
|
|
|
5271
5271
|
let a = I("v-btn");
|
|
5272
5272
|
return N(), T(a, _e(L(r), {
|
|
5273
5273
|
"active-color": L(se),
|
|
5274
|
-
"append-icon": L(
|
|
5274
|
+
"append-icon": L(C),
|
|
5275
5275
|
"base-color": L(oe),
|
|
5276
5276
|
block: L(S),
|
|
5277
5277
|
color: L(ae),
|
|
@@ -5285,16 +5285,16 @@ var $r = /* @__PURE__ */ br(Zr, [["render", Qr]]), ei = /* @__PURE__ */ k({
|
|
|
5285
5285
|
"max-width": L(d),
|
|
5286
5286
|
"min-height": L(p),
|
|
5287
5287
|
"min-width": L(u),
|
|
5288
|
-
"prepend-icon": L(
|
|
5288
|
+
"prepend-icon": L(re),
|
|
5289
5289
|
readonly: L(ue),
|
|
5290
|
-
ripple: L(
|
|
5290
|
+
ripple: L(ne),
|
|
5291
5291
|
size: L(b),
|
|
5292
5292
|
spaced: L(ie),
|
|
5293
|
-
stacked: L(
|
|
5293
|
+
stacked: L(ee),
|
|
5294
5294
|
style: c.value,
|
|
5295
5295
|
text: L(g),
|
|
5296
5296
|
theme: L(t),
|
|
5297
|
-
tile: L(
|
|
5297
|
+
tile: L(te),
|
|
5298
5298
|
type: L(de),
|
|
5299
5299
|
value: L(h),
|
|
5300
5300
|
variant: L(v),
|
|
@@ -5432,27 +5432,27 @@ var $r = /* @__PURE__ */ br(Zr, [["render", Qr]]), ei = /* @__PURE__ */ k({
|
|
|
5432
5432
|
"settings",
|
|
5433
5433
|
"style",
|
|
5434
5434
|
"tile"
|
|
5435
|
-
]), { property:
|
|
5435
|
+
]), { property: ee } = Y(n, [
|
|
5436
5436
|
"settings",
|
|
5437
5437
|
"style",
|
|
5438
5438
|
"hover"
|
|
5439
|
-
]), { property:
|
|
5439
|
+
]), { property: te } = Z(n, [
|
|
5440
5440
|
"settings",
|
|
5441
5441
|
"style",
|
|
5442
5442
|
"decoration",
|
|
5443
5443
|
"icon",
|
|
5444
5444
|
"prepend"
|
|
5445
|
-
]), { property:
|
|
5445
|
+
]), { property: ne } = Z(n, [
|
|
5446
5446
|
"settings",
|
|
5447
5447
|
"style",
|
|
5448
5448
|
"decoration",
|
|
5449
5449
|
"icon",
|
|
5450
5450
|
"append"
|
|
5451
|
-
]), { property:
|
|
5451
|
+
]), { property: re } = X(n, [
|
|
5452
5452
|
"settings",
|
|
5453
5453
|
"style",
|
|
5454
5454
|
"color"
|
|
5455
|
-
]), { property:
|
|
5455
|
+
]), { property: C } = Y(n, [
|
|
5456
5456
|
"settings",
|
|
5457
5457
|
"misc",
|
|
5458
5458
|
"loading"
|
|
@@ -5467,20 +5467,20 @@ var $r = /* @__PURE__ */ br(Zr, [["render", Qr]]), ei = /* @__PURE__ */ k({
|
|
|
5467
5467
|
return (e, n) => {
|
|
5468
5468
|
let a = I("v-card");
|
|
5469
5469
|
return N(), T(a, _e(L(r), {
|
|
5470
|
-
"append-icon": L(
|
|
5471
|
-
color: L(
|
|
5470
|
+
"append-icon": L(ne),
|
|
5471
|
+
color: L(re),
|
|
5472
5472
|
density: L(b),
|
|
5473
5473
|
disabled: L(ie),
|
|
5474
5474
|
elevation: L(x),
|
|
5475
5475
|
height: L(f),
|
|
5476
|
-
hover: L(
|
|
5476
|
+
hover: L(ee),
|
|
5477
5477
|
image: L(v),
|
|
5478
|
-
loading: L(
|
|
5478
|
+
loading: L(C),
|
|
5479
5479
|
"max-height": L(m),
|
|
5480
5480
|
"max-width": L(d),
|
|
5481
5481
|
"min-height": L(p),
|
|
5482
5482
|
"min-width": L(u),
|
|
5483
|
-
"prepend-icon": L(
|
|
5483
|
+
"prepend-icon": L(te),
|
|
5484
5484
|
style: c.value,
|
|
5485
5485
|
subtitle: L(g),
|
|
5486
5486
|
text: L(_),
|
|
@@ -5781,29 +5781,29 @@ var $r = /* @__PURE__ */ br(Zr, [["render", Qr]]), ei = /* @__PURE__ */ k({
|
|
|
5781
5781
|
"decoration",
|
|
5782
5782
|
"avatar",
|
|
5783
5783
|
"append"
|
|
5784
|
-
]), { property:
|
|
5784
|
+
]), { property: ee } = Z(n, [
|
|
5785
5785
|
"settings",
|
|
5786
5786
|
"style",
|
|
5787
5787
|
"decoration",
|
|
5788
5788
|
"icon",
|
|
5789
5789
|
"prepend"
|
|
5790
|
-
]), { property:
|
|
5790
|
+
]), { property: te } = Z(n, [
|
|
5791
5791
|
"settings",
|
|
5792
5792
|
"style",
|
|
5793
5793
|
"decoration",
|
|
5794
5794
|
"icon",
|
|
5795
5795
|
"append"
|
|
5796
|
-
]), { property:
|
|
5796
|
+
]), { property: ne } = X(n, [
|
|
5797
5797
|
"settings",
|
|
5798
5798
|
"style",
|
|
5799
5799
|
"color",
|
|
5800
5800
|
"color"
|
|
5801
|
-
]), { property:
|
|
5801
|
+
]), { property: re } = X(n, [
|
|
5802
5802
|
"settings",
|
|
5803
5803
|
"style",
|
|
5804
5804
|
"color",
|
|
5805
5805
|
"baseColor"
|
|
5806
|
-
]), { property:
|
|
5806
|
+
]), { property: C } = Y(n, [
|
|
5807
5807
|
"settings",
|
|
5808
5808
|
"misc",
|
|
5809
5809
|
"disabled"
|
|
@@ -5818,19 +5818,19 @@ var $r = /* @__PURE__ */ br(Zr, [["render", Qr]]), ei = /* @__PURE__ */ k({
|
|
|
5818
5818
|
let a = I("v-chip");
|
|
5819
5819
|
return N(), T(a, _e(L(r), {
|
|
5820
5820
|
"append-avatar": L(S),
|
|
5821
|
-
"append-icon": L(
|
|
5822
|
-
"base-color": L(
|
|
5821
|
+
"append-icon": L(te),
|
|
5822
|
+
"base-color": L(re),
|
|
5823
5823
|
closable: L(d),
|
|
5824
5824
|
"close-icon": L(f),
|
|
5825
|
-
color: L(
|
|
5825
|
+
color: L(ne),
|
|
5826
5826
|
density: L(m),
|
|
5827
|
-
disabled: L(
|
|
5827
|
+
disabled: L(C),
|
|
5828
5828
|
draggable: L(u),
|
|
5829
5829
|
elevation: L(g),
|
|
5830
5830
|
label: L(v),
|
|
5831
5831
|
"on-click": L(l) ? ie : void 0,
|
|
5832
5832
|
"prepend-avatar": L(x),
|
|
5833
|
-
"prepend-icon": L(
|
|
5833
|
+
"prepend-icon": L(ee),
|
|
5834
5834
|
ripple: L(b),
|
|
5835
5835
|
rounded: L(_),
|
|
5836
5836
|
size: L(h),
|
|
@@ -6079,21 +6079,21 @@ var $r = /* @__PURE__ */ br(Zr, [["render", Qr]]), ei = /* @__PURE__ */ k({
|
|
|
6079
6079
|
"detail",
|
|
6080
6080
|
"counter",
|
|
6081
6081
|
"enable"
|
|
6082
|
-
]), { property:
|
|
6082
|
+
]), { property: ee } = Y(n, [
|
|
6083
6083
|
"settings",
|
|
6084
6084
|
"detail",
|
|
6085
6085
|
"counter",
|
|
6086
6086
|
"max"
|
|
6087
|
-
]),
|
|
6087
|
+
]), te = w(() => S.value ? ee.value : !1), { property: ne } = Y(n, [
|
|
6088
6088
|
"settings",
|
|
6089
6089
|
"detail",
|
|
6090
6090
|
"counter",
|
|
6091
6091
|
"persistent"
|
|
6092
|
-
]), { property:
|
|
6092
|
+
]), { property: re } = Jn(n, [
|
|
6093
6093
|
"settings",
|
|
6094
6094
|
"detail",
|
|
6095
6095
|
"rules"
|
|
6096
|
-
]), { property:
|
|
6096
|
+
]), { property: C } = Y(n, [
|
|
6097
6097
|
"settings",
|
|
6098
6098
|
"style",
|
|
6099
6099
|
"variant"
|
|
@@ -6203,7 +6203,7 @@ var $r = /* @__PURE__ */ br(Zr, [["render", Qr]]), ei = /* @__PURE__ */ k({
|
|
|
6203
6203
|
clearable: L(f),
|
|
6204
6204
|
"closable-chips": L(ce),
|
|
6205
6205
|
color: L(me),
|
|
6206
|
-
counter:
|
|
6206
|
+
counter: te.value,
|
|
6207
6207
|
density: L(ie),
|
|
6208
6208
|
disabled: L(j),
|
|
6209
6209
|
"error-messages": L(b),
|
|
@@ -6220,7 +6220,7 @@ var $r = /* @__PURE__ */ br(Zr, [["render", Qr]]), ei = /* @__PURE__ */ k({
|
|
|
6220
6220
|
multiple: L(c),
|
|
6221
6221
|
"open-on-clear": L(m),
|
|
6222
6222
|
"persistent-clear": L(p),
|
|
6223
|
-
"persistent-counter": L(
|
|
6223
|
+
"persistent-counter": L(ne),
|
|
6224
6224
|
"persistent-hint": L(v),
|
|
6225
6225
|
"persistent-placeholder": L(d),
|
|
6226
6226
|
placeholder: L(u),
|
|
@@ -6229,11 +6229,11 @@ var $r = /* @__PURE__ */ br(Zr, [["render", Qr]]), ei = /* @__PURE__ */ k({
|
|
|
6229
6229
|
"prepend-inner-icon": L(fe),
|
|
6230
6230
|
readonly: L(ge),
|
|
6231
6231
|
reverse: L(oe),
|
|
6232
|
-
rules: L(
|
|
6232
|
+
rules: L(re),
|
|
6233
6233
|
"single-line": L(ae),
|
|
6234
6234
|
suffix: L(ue),
|
|
6235
6235
|
theme: L(t),
|
|
6236
|
-
variant: L(
|
|
6236
|
+
variant: L(C),
|
|
6237
6237
|
width: L(r)
|
|
6238
6238
|
}, 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
6239
|
_: 1
|
|
@@ -6363,21 +6363,21 @@ var $r = /* @__PURE__ */ br(Zr, [["render", Qr]]), ei = /* @__PURE__ */ k({
|
|
|
6363
6363
|
"settings",
|
|
6364
6364
|
"style",
|
|
6365
6365
|
"density"
|
|
6366
|
-
]), { property:
|
|
6366
|
+
]), { property: ee } = Y(n, [
|
|
6367
6367
|
"settings",
|
|
6368
6368
|
"style",
|
|
6369
6369
|
"hover"
|
|
6370
|
-
]), { property:
|
|
6370
|
+
]), { property: te } = X(n, [
|
|
6371
6371
|
"settings",
|
|
6372
6372
|
"style",
|
|
6373
6373
|
"color"
|
|
6374
|
-
]), { property:
|
|
6374
|
+
]), { property: ne } = Y(n, [
|
|
6375
6375
|
"settings",
|
|
6376
6376
|
"misc",
|
|
6377
6377
|
"loading"
|
|
6378
|
-
]),
|
|
6378
|
+
]), re = P([]), { property: C } = Y(n, ["slots", "items"]);
|
|
6379
6379
|
z(i) && Ie(() => {
|
|
6380
|
-
|
|
6380
|
+
re.value = C.value;
|
|
6381
6381
|
});
|
|
6382
6382
|
let { property: ie } = Yn(n.value.basic.id, n.value.basic.key, "runtime.selections");
|
|
6383
6383
|
return (n, i) => {
|
|
@@ -6389,7 +6389,7 @@ var $r = /* @__PURE__ */ br(Zr, [["render", Qr]]), ei = /* @__PURE__ */ k({
|
|
|
6389
6389
|
"onUpdate:itemsPerPage": i[1] ||= (e) => M(_) ? _.value = e : null,
|
|
6390
6390
|
page: L(h),
|
|
6391
6391
|
"onUpdate:page": i[2] ||= (e) => M(h) ? h.value = e : null,
|
|
6392
|
-
color: L(
|
|
6392
|
+
color: L(te),
|
|
6393
6393
|
density: L(S),
|
|
6394
6394
|
"disable-sort": L(y),
|
|
6395
6395
|
"fixed-footer": L(p),
|
|
@@ -6398,11 +6398,11 @@ var $r = /* @__PURE__ */ br(Zr, [["render", Qr]]), ei = /* @__PURE__ */ k({
|
|
|
6398
6398
|
height: L(o),
|
|
6399
6399
|
"hide-default-footer": L(m),
|
|
6400
6400
|
"hide-default-header": L(f),
|
|
6401
|
-
hover: L(
|
|
6401
|
+
hover: L(ee),
|
|
6402
6402
|
"item-value": L(u),
|
|
6403
6403
|
items: L(l),
|
|
6404
6404
|
"items-per-page-options": L(v),
|
|
6405
|
-
loading: L(
|
|
6405
|
+
loading: L(ne),
|
|
6406
6406
|
"multi-sort": L(b),
|
|
6407
6407
|
"show-current-page": L(g),
|
|
6408
6408
|
"show-select": L(x),
|
|
@@ -6429,7 +6429,7 @@ var $r = /* @__PURE__ */ br(Zr, [["render", Qr]]), ei = /* @__PURE__ */ k({
|
|
|
6429
6429
|
fn: R(() => [F(n.$slots, "loading")]),
|
|
6430
6430
|
key: "3"
|
|
6431
6431
|
} : void 0,
|
|
6432
|
-
De(
|
|
6432
|
+
De(re.value, ({ key: t, comp: n }) => ({
|
|
6433
6433
|
name: `item.${t}`,
|
|
6434
6434
|
fn: R(({ value: r }) => [n ? (N(), T(gi, {
|
|
6435
6435
|
key: 0,
|
|
@@ -6567,24 +6567,24 @@ var $r = /* @__PURE__ */ br(Zr, [["render", Qr]]), ei = /* @__PURE__ */ k({
|
|
|
6567
6567
|
"main",
|
|
6568
6568
|
"sort",
|
|
6569
6569
|
"multiSort"
|
|
6570
|
-
]), { property:
|
|
6570
|
+
]), { property: ee } = Y(n, [
|
|
6571
6571
|
"settings",
|
|
6572
6572
|
"main",
|
|
6573
6573
|
"select",
|
|
6574
6574
|
"enable"
|
|
6575
|
-
]), { property:
|
|
6575
|
+
]), { property: te } = Y(n, [
|
|
6576
6576
|
"settings",
|
|
6577
6577
|
"style",
|
|
6578
6578
|
"density"
|
|
6579
|
-
]), { property:
|
|
6579
|
+
]), { property: ne } = Y(n, [
|
|
6580
6580
|
"settings",
|
|
6581
6581
|
"style",
|
|
6582
6582
|
"hover"
|
|
6583
|
-
]), { property:
|
|
6583
|
+
]), { property: re } = X(n, [
|
|
6584
6584
|
"settings",
|
|
6585
6585
|
"style",
|
|
6586
6586
|
"color"
|
|
6587
|
-
]), { property:
|
|
6587
|
+
]), { property: C } = Y(n, [
|
|
6588
6588
|
"settings",
|
|
6589
6589
|
"misc",
|
|
6590
6590
|
"loading"
|
|
@@ -6605,8 +6605,8 @@ var $r = /* @__PURE__ */ br(Zr, [["render", Qr]]), ei = /* @__PURE__ */ k({
|
|
|
6605
6605
|
"onUpdate:itemsPerPage": i[1] ||= (e) => M(y) ? y.value = e : null,
|
|
6606
6606
|
page: L(_),
|
|
6607
6607
|
"onUpdate:page": i[2] ||= (e) => M(_) ? _.value = e : null,
|
|
6608
|
-
color: L(
|
|
6609
|
-
density: L(
|
|
6608
|
+
color: L(re),
|
|
6609
|
+
density: L(te),
|
|
6610
6610
|
"disable-sort": L(x),
|
|
6611
6611
|
"fixed-footer": L(h),
|
|
6612
6612
|
"fixed-header": L(p),
|
|
@@ -6614,15 +6614,15 @@ var $r = /* @__PURE__ */ br(Zr, [["render", Qr]]), ei = /* @__PURE__ */ k({
|
|
|
6614
6614
|
height: L(s),
|
|
6615
6615
|
"hide-default-footer": L(g),
|
|
6616
6616
|
"hide-default-header": L(m),
|
|
6617
|
-
hover: L(
|
|
6617
|
+
hover: L(ne),
|
|
6618
6618
|
"item-value": L(f),
|
|
6619
6619
|
items: L(u),
|
|
6620
6620
|
"items-length": L(d),
|
|
6621
6621
|
"items-per-page-options": L(b),
|
|
6622
|
-
loading: L(
|
|
6622
|
+
loading: L(C),
|
|
6623
6623
|
"multi-sort": L(S),
|
|
6624
6624
|
"show-current-page": L(v),
|
|
6625
|
-
"show-select": L(
|
|
6625
|
+
"show-select": L(ee),
|
|
6626
6626
|
theme: L(t),
|
|
6627
6627
|
width: L(o),
|
|
6628
6628
|
"onUpdate:options": se
|
|
@@ -6931,16 +6931,16 @@ var wi = /* @__PURE__ */ k({
|
|
|
6931
6931
|
"settings",
|
|
6932
6932
|
"misc",
|
|
6933
6933
|
"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),
|
|
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), ee = Pe("target");
|
|
6935
6935
|
return In(e.nodeId, "prev", () => {
|
|
6936
|
-
|
|
6936
|
+
ee.value?.prev();
|
|
6937
6937
|
}), In(e.nodeId, "next", () => {
|
|
6938
|
-
|
|
6938
|
+
ee.value?.next();
|
|
6939
6939
|
}), (n, r) => {
|
|
6940
|
-
let
|
|
6941
|
-
return N(), T(
|
|
6940
|
+
let te = I("v-expansion-panel"), ne = I("v-expansion-panels");
|
|
6941
|
+
return N(), T(ne, {
|
|
6942
6942
|
ref_key: "target",
|
|
6943
|
-
ref:
|
|
6943
|
+
ref: ee,
|
|
6944
6944
|
modelValue: L(i),
|
|
6945
6945
|
"onUpdate:modelValue": r[0] ||= (e) => M(i) ? i.value = e : null,
|
|
6946
6946
|
"bg-color": L(h),
|
|
@@ -6958,7 +6958,7 @@ var wi = /* @__PURE__ */ k({
|
|
|
6958
6958
|
tile: L(f),
|
|
6959
6959
|
variant: L(l)
|
|
6960
6960
|
}, {
|
|
6961
|
-
default: R(() => [(N(!0), E(fe, null, De(L(a), (t) => (N(), T(
|
|
6961
|
+
default: R(() => [(N(!0), E(fe, null, De(L(a), (t) => (N(), T(te, {
|
|
6962
6962
|
key: t.value,
|
|
6963
6963
|
text: t.text,
|
|
6964
6964
|
title: t.title,
|
|
@@ -7119,25 +7119,25 @@ var wi = /* @__PURE__ */ k({
|
|
|
7119
7119
|
"settings",
|
|
7120
7120
|
"style",
|
|
7121
7121
|
"singleLine"
|
|
7122
|
-
]), { property:
|
|
7122
|
+
]), { property: ee } = Y(t, [
|
|
7123
7123
|
"settings",
|
|
7124
7124
|
"style",
|
|
7125
7125
|
"reverse"
|
|
7126
|
-
]), { property:
|
|
7126
|
+
]), { property: te } = Y(t, [
|
|
7127
7127
|
"settings",
|
|
7128
7128
|
"style",
|
|
7129
7129
|
"tile"
|
|
7130
|
-
]), { property:
|
|
7130
|
+
]), { property: ne } = Y(t, [
|
|
7131
7131
|
"settings",
|
|
7132
7132
|
"style",
|
|
7133
7133
|
"chip"
|
|
7134
|
-
]), { property:
|
|
7134
|
+
]), { property: re } = Z(t, [
|
|
7135
7135
|
"settings",
|
|
7136
7136
|
"style",
|
|
7137
7137
|
"decoration",
|
|
7138
7138
|
"icon",
|
|
7139
7139
|
"prepend"
|
|
7140
|
-
]), { property:
|
|
7140
|
+
]), { property: C } = Z(t, [
|
|
7141
7141
|
"settings",
|
|
7142
7142
|
"style",
|
|
7143
7143
|
"decoration",
|
|
@@ -7198,7 +7198,7 @@ var wi = /* @__PURE__ */ k({
|
|
|
7198
7198
|
"append-inner-icon": L(ae),
|
|
7199
7199
|
"base-color": L(ce),
|
|
7200
7200
|
"bg-color": L(se),
|
|
7201
|
-
chips: L(
|
|
7201
|
+
chips: L(ne),
|
|
7202
7202
|
"clear-icon": L(u),
|
|
7203
7203
|
clearable: L(c),
|
|
7204
7204
|
color: L(oe),
|
|
@@ -7219,13 +7219,13 @@ var wi = /* @__PURE__ */ k({
|
|
|
7219
7219
|
multiple: L(o),
|
|
7220
7220
|
"persistent-clear": L(l),
|
|
7221
7221
|
"persistent-hint": L(h),
|
|
7222
|
-
"prepend-icon": L(
|
|
7223
|
-
"prepend-inner-icon": L(
|
|
7222
|
+
"prepend-icon": L(re),
|
|
7223
|
+
"prepend-inner-icon": L(C),
|
|
7224
7224
|
readonly: L(fe),
|
|
7225
|
-
reverse: L(
|
|
7225
|
+
reverse: L(ee),
|
|
7226
7226
|
"show-size": L(f),
|
|
7227
7227
|
"single-line": L(S),
|
|
7228
|
-
tile: L(
|
|
7228
|
+
tile: L(te),
|
|
7229
7229
|
variant: L(b),
|
|
7230
7230
|
width: L(n)
|
|
7231
7231
|
}, 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 +7706,22 @@ var wi = /* @__PURE__ */ k({
|
|
|
7706
7706
|
"detail",
|
|
7707
7707
|
"error",
|
|
7708
7708
|
"errorMessages"
|
|
7709
|
-
]), { property:
|
|
7709
|
+
]), { property: ee } = Y(n, [
|
|
7710
7710
|
"settings",
|
|
7711
7711
|
"detail",
|
|
7712
7712
|
"error",
|
|
7713
7713
|
"maxErrors"
|
|
7714
|
-
]), { property:
|
|
7714
|
+
]), { property: te } = Y(n, [
|
|
7715
7715
|
"settings",
|
|
7716
7716
|
"detail",
|
|
7717
7717
|
"counter",
|
|
7718
7718
|
"enable"
|
|
7719
|
-
]), { property:
|
|
7719
|
+
]), { property: ne } = Y(n, [
|
|
7720
7720
|
"settings",
|
|
7721
7721
|
"detail",
|
|
7722
7722
|
"counter",
|
|
7723
7723
|
"max"
|
|
7724
|
-
]),
|
|
7724
|
+
]), re = w(() => te.value ? ne.value : !1), { property: C } = Y(n, [
|
|
7725
7725
|
"settings",
|
|
7726
7726
|
"detail",
|
|
7727
7727
|
"counter",
|
|
@@ -7824,9 +7824,9 @@ var wi = /* @__PURE__ */ k({
|
|
|
7824
7824
|
"readonly"
|
|
7825
7825
|
]);
|
|
7826
7826
|
return (e, n) => {
|
|
7827
|
-
let
|
|
7827
|
+
let te = I("v-number-input");
|
|
7828
7828
|
return N(), T(L(Mn), null, {
|
|
7829
|
-
default: R(() => [O(
|
|
7829
|
+
default: R(() => [O(te, {
|
|
7830
7830
|
modelValue: L(s),
|
|
7831
7831
|
"onUpdate:modelValue": n[0] ||= (e) => M(s) ? s.value = e : null,
|
|
7832
7832
|
"append-icon": L(me),
|
|
@@ -7837,7 +7837,7 @@ var wi = /* @__PURE__ */ k({
|
|
|
7837
7837
|
clearable: L(h),
|
|
7838
7838
|
color: L(k),
|
|
7839
7839
|
"control-variant": L(oe),
|
|
7840
|
-
counter:
|
|
7840
|
+
counter: re.value,
|
|
7841
7841
|
density: L(se),
|
|
7842
7842
|
disabled: L(ve),
|
|
7843
7843
|
"error-messages": L(S),
|
|
@@ -7848,13 +7848,13 @@ var wi = /* @__PURE__ */ k({
|
|
|
7848
7848
|
label: L(f),
|
|
7849
7849
|
loading: L(_e),
|
|
7850
7850
|
max: L(u),
|
|
7851
|
-
"max-errors": L(
|
|
7851
|
+
"max-errors": L(ee),
|
|
7852
7852
|
"max-width": L(o),
|
|
7853
7853
|
messages: L(x),
|
|
7854
7854
|
min: L(l),
|
|
7855
7855
|
"min-width": L(a),
|
|
7856
7856
|
"persistent-clear": L(g),
|
|
7857
|
-
"persistent-counter": L(
|
|
7857
|
+
"persistent-counter": L(C),
|
|
7858
7858
|
"persistent-hint": L(b),
|
|
7859
7859
|
"persistent-placeholder": L(m),
|
|
7860
7860
|
placeholder: L(p),
|
|
@@ -8459,14 +8459,14 @@ var wi = /* @__PURE__ */ k({
|
|
|
8459
8459
|
"settings",
|
|
8460
8460
|
"misc",
|
|
8461
8461
|
"disabled"
|
|
8462
|
-
]), { property:
|
|
8462
|
+
]), { property: ee } = Y(n, [
|
|
8463
8463
|
"settings",
|
|
8464
8464
|
"misc",
|
|
8465
8465
|
"readonly"
|
|
8466
8466
|
]);
|
|
8467
8467
|
return Vl({
|
|
8468
8468
|
disabled: S,
|
|
8469
|
-
readonly:
|
|
8469
|
+
readonly: ee
|
|
8470
8470
|
}), In(e.nodeId, "reset", () => {
|
|
8471
8471
|
z(i) && a.value?.reset();
|
|
8472
8472
|
}), In(e.nodeId, "resetValidation", () => {
|
|
@@ -8497,7 +8497,7 @@ var wi = /* @__PURE__ */ k({
|
|
|
8497
8497
|
"min-width": L(s),
|
|
8498
8498
|
"persistent-hint": L(p),
|
|
8499
8499
|
"prepend-icon": L(y),
|
|
8500
|
-
readonly: L(
|
|
8500
|
+
readonly: L(ee),
|
|
8501
8501
|
rules: L(_),
|
|
8502
8502
|
theme: L(t),
|
|
8503
8503
|
width: L(o)
|
|
@@ -8555,11 +8555,11 @@ var wi = /* @__PURE__ */ k({
|
|
|
8555
8555
|
refContext: {}
|
|
8556
8556
|
},
|
|
8557
8557
|
setup(e) {
|
|
8558
|
-
let { theme:
|
|
8558
|
+
let { theme: n, node: r } = J(e.nodeId), { width: i, minWidth: a, maxWidth: o } = Q(r), { property: s } = Y(r, [
|
|
8559
8559
|
"settings",
|
|
8560
8560
|
"value",
|
|
8561
8561
|
"start"
|
|
8562
|
-
]), { property: c } = Y(
|
|
8562
|
+
]), { property: c } = Y(r, [
|
|
8563
8563
|
"settings",
|
|
8564
8564
|
"value",
|
|
8565
8565
|
"end"
|
|
@@ -8568,16 +8568,16 @@ var wi = /* @__PURE__ */ k({
|
|
|
8568
8568
|
set: ([e, t]) => {
|
|
8569
8569
|
s.value = e, c.value = t;
|
|
8570
8570
|
}
|
|
8571
|
-
}), { property: u } = Y(
|
|
8571
|
+
}), { property: u } = Y(r, ["settings", "min"]), { property: d } = Y(r, ["settings", "max"]), { property: f } = Y(r, ["settings", "step"]), { property: p } = Y(r, [
|
|
8572
8572
|
"settings",
|
|
8573
8573
|
"main",
|
|
8574
8574
|
"label"
|
|
8575
|
-
]), { property: m } = Y(
|
|
8575
|
+
]), { property: m } = Y(r, [
|
|
8576
8576
|
"settings",
|
|
8577
8577
|
"main",
|
|
8578
8578
|
"track",
|
|
8579
8579
|
"size"
|
|
8580
|
-
]), { property: h } = Y(
|
|
8580
|
+
]), { property: h } = Y(r, [
|
|
8581
8581
|
"settings",
|
|
8582
8582
|
"main",
|
|
8583
8583
|
"tick",
|
|
@@ -8585,7 +8585,7 @@ var wi = /* @__PURE__ */ k({
|
|
|
8585
8585
|
]), g = w(() => {
|
|
8586
8586
|
if (h.value === "always") return "always";
|
|
8587
8587
|
if (h.value === "show") return !0;
|
|
8588
|
-
}), { property: _ } = Y(
|
|
8588
|
+
}), { property: _ } = Y(r, [
|
|
8589
8589
|
"settings",
|
|
8590
8590
|
"main",
|
|
8591
8591
|
"tick",
|
|
@@ -8594,13 +8594,13 @@ var wi = /* @__PURE__ */ k({
|
|
|
8594
8594
|
if (!_.value) return;
|
|
8595
8595
|
let e = {};
|
|
8596
8596
|
for (let { value: t, label: n } of _.value) e[t] = n;
|
|
8597
|
-
if (!
|
|
8598
|
-
}), { property: y } = Y(
|
|
8597
|
+
if (!t(e)) return e;
|
|
8598
|
+
}), { property: y } = Y(r, [
|
|
8599
8599
|
"settings",
|
|
8600
8600
|
"main",
|
|
8601
8601
|
"tick",
|
|
8602
8602
|
"size"
|
|
8603
|
-
]), { property: b } = Y(
|
|
8603
|
+
]), { property: b } = Y(r, [
|
|
8604
8604
|
"settings",
|
|
8605
8605
|
"main",
|
|
8606
8606
|
"thumb",
|
|
@@ -8608,120 +8608,120 @@ var wi = /* @__PURE__ */ k({
|
|
|
8608
8608
|
]), x = w(() => {
|
|
8609
8609
|
if (b.value === "always") return "always";
|
|
8610
8610
|
if (b.value === "show") return !0;
|
|
8611
|
-
}), { property: S } = Y(
|
|
8611
|
+
}), { property: S } = Y(r, [
|
|
8612
8612
|
"settings",
|
|
8613
8613
|
"main",
|
|
8614
8614
|
"thumb",
|
|
8615
8615
|
"size"
|
|
8616
|
-
]), { property:
|
|
8616
|
+
]), { property: ee } = Y(r, [
|
|
8617
8617
|
"settings",
|
|
8618
8618
|
"detail",
|
|
8619
8619
|
"hide"
|
|
8620
|
-
]), { property:
|
|
8620
|
+
]), { property: te } = Y(r, [
|
|
8621
8621
|
"settings",
|
|
8622
8622
|
"detail",
|
|
8623
8623
|
"hint",
|
|
8624
8624
|
"content"
|
|
8625
|
-
]), { property:
|
|
8625
|
+
]), { property: ne } = Y(r, [
|
|
8626
8626
|
"settings",
|
|
8627
8627
|
"detail",
|
|
8628
8628
|
"hint",
|
|
8629
8629
|
"persistent"
|
|
8630
|
-
]), { property:
|
|
8630
|
+
]), { property: re } = Y(r, [
|
|
8631
8631
|
"settings",
|
|
8632
8632
|
"detail",
|
|
8633
8633
|
"messages"
|
|
8634
|
-
]), { property:
|
|
8634
|
+
]), { property: C } = Y(r, [
|
|
8635
8635
|
"settings",
|
|
8636
8636
|
"detail",
|
|
8637
8637
|
"error",
|
|
8638
8638
|
"errorMessages"
|
|
8639
|
-
]), { property: ie } = Y(
|
|
8639
|
+
]), { property: ie } = Y(r, [
|
|
8640
8640
|
"settings",
|
|
8641
8641
|
"detail",
|
|
8642
8642
|
"error",
|
|
8643
8643
|
"maxErrors"
|
|
8644
|
-
]), { property: ae } = Jn(
|
|
8644
|
+
]), { property: ae } = Jn(r, [
|
|
8645
8645
|
"settings",
|
|
8646
8646
|
"detail",
|
|
8647
8647
|
"rules"
|
|
8648
|
-
]), { property: oe } = Y(
|
|
8648
|
+
]), { property: oe } = Y(r, [
|
|
8649
8649
|
"settings",
|
|
8650
8650
|
"style",
|
|
8651
8651
|
"density"
|
|
8652
|
-
]), { property: se } = Y(
|
|
8652
|
+
]), { property: se } = Y(r, [
|
|
8653
8653
|
"settings",
|
|
8654
8654
|
"style",
|
|
8655
8655
|
"direction"
|
|
8656
|
-
]), { property: ce } = Y(
|
|
8656
|
+
]), { property: ce } = Y(r, [
|
|
8657
8657
|
"settings",
|
|
8658
8658
|
"style",
|
|
8659
8659
|
"reverse"
|
|
8660
|
-
]), { property: le } = Kn(
|
|
8660
|
+
]), { property: le } = Kn(r, [
|
|
8661
8661
|
"settings",
|
|
8662
8662
|
"style",
|
|
8663
8663
|
"elevation"
|
|
8664
|
-
]), { property: ue } = Y(
|
|
8664
|
+
]), { property: ue } = Y(r, [
|
|
8665
8665
|
"settings",
|
|
8666
8666
|
"style",
|
|
8667
8667
|
"ripple"
|
|
8668
|
-
]), { property: de } = Z(
|
|
8668
|
+
]), { property: de } = Z(r, [
|
|
8669
8669
|
"settings",
|
|
8670
8670
|
"style",
|
|
8671
8671
|
"decoration",
|
|
8672
8672
|
"icon",
|
|
8673
8673
|
"prepend"
|
|
8674
|
-
]), { property: fe } = Z(
|
|
8674
|
+
]), { property: fe } = Z(r, [
|
|
8675
8675
|
"settings",
|
|
8676
8676
|
"style",
|
|
8677
8677
|
"decoration",
|
|
8678
8678
|
"icon",
|
|
8679
8679
|
"append"
|
|
8680
|
-
]), { property: pe } = X(
|
|
8680
|
+
]), { property: pe } = X(r, [
|
|
8681
8681
|
"settings",
|
|
8682
8682
|
"style",
|
|
8683
8683
|
"color",
|
|
8684
8684
|
"color"
|
|
8685
|
-
]), { property: E } = X(
|
|
8685
|
+
]), { property: E } = X(r, [
|
|
8686
8686
|
"settings",
|
|
8687
8687
|
"style",
|
|
8688
8688
|
"color",
|
|
8689
8689
|
"baseColor"
|
|
8690
|
-
]), { property: me } = X(
|
|
8690
|
+
]), { property: me } = X(r, [
|
|
8691
8691
|
"settings",
|
|
8692
8692
|
"style",
|
|
8693
8693
|
"color",
|
|
8694
8694
|
"trackColor"
|
|
8695
|
-
]), { property: D } = X(
|
|
8695
|
+
]), { property: D } = X(r, [
|
|
8696
8696
|
"settings",
|
|
8697
8697
|
"style",
|
|
8698
8698
|
"color",
|
|
8699
8699
|
"trackFillColor"
|
|
8700
|
-
]), { property: he } = X(
|
|
8700
|
+
]), { property: he } = X(r, [
|
|
8701
8701
|
"settings",
|
|
8702
8702
|
"style",
|
|
8703
8703
|
"color",
|
|
8704
8704
|
"thumbColor"
|
|
8705
|
-
]), { property: k } = X(
|
|
8705
|
+
]), { property: k } = X(r, [
|
|
8706
8706
|
"settings",
|
|
8707
8707
|
"style",
|
|
8708
8708
|
"color",
|
|
8709
8709
|
"iconColor"
|
|
8710
|
-
]), { property: A } = Y(
|
|
8710
|
+
]), { property: A } = Y(r, [
|
|
8711
8711
|
"settings",
|
|
8712
8712
|
"misc",
|
|
8713
8713
|
"disabled"
|
|
8714
|
-
]), { property: j } = Y(
|
|
8714
|
+
]), { property: j } = Y(r, [
|
|
8715
8715
|
"settings",
|
|
8716
8716
|
"misc",
|
|
8717
8717
|
"readonly"
|
|
8718
8718
|
]);
|
|
8719
|
-
return (e,
|
|
8720
|
-
let
|
|
8719
|
+
return (e, t) => {
|
|
8720
|
+
let r = I("v-range-slider");
|
|
8721
8721
|
return N(), T(L(Mn), null, {
|
|
8722
|
-
default: R(() => [O(
|
|
8722
|
+
default: R(() => [O(r, {
|
|
8723
8723
|
modelValue: l.value,
|
|
8724
|
-
"onUpdate:modelValue":
|
|
8724
|
+
"onUpdate:modelValue": t[0] ||= (e) => l.value = e,
|
|
8725
8725
|
"append-icon": L(fe),
|
|
8726
8726
|
"base-color": L(E),
|
|
8727
8727
|
color: L(pe),
|
|
@@ -8729,18 +8729,18 @@ var wi = /* @__PURE__ */ k({
|
|
|
8729
8729
|
direction: L(se),
|
|
8730
8730
|
disabled: L(A),
|
|
8731
8731
|
elevation: L(le),
|
|
8732
|
-
"error-messages": L(
|
|
8733
|
-
"hide-details": L(
|
|
8734
|
-
hint: L(
|
|
8732
|
+
"error-messages": L(C),
|
|
8733
|
+
"hide-details": L(ee),
|
|
8734
|
+
hint: L(te),
|
|
8735
8735
|
"icon-color": L(k),
|
|
8736
8736
|
label: L(p),
|
|
8737
8737
|
max: L(d),
|
|
8738
8738
|
"max-errors": L(ie),
|
|
8739
8739
|
"max-width": L(o),
|
|
8740
|
-
messages: L(
|
|
8740
|
+
messages: L(re),
|
|
8741
8741
|
min: L(u),
|
|
8742
8742
|
"min-width": L(a),
|
|
8743
|
-
"persistent-hint": L(
|
|
8743
|
+
"persistent-hint": L(ne),
|
|
8744
8744
|
"prepend-icon": L(de),
|
|
8745
8745
|
readonly: L(j),
|
|
8746
8746
|
reverse: L(ce),
|
|
@@ -8748,7 +8748,7 @@ var wi = /* @__PURE__ */ k({
|
|
|
8748
8748
|
rules: L(ae),
|
|
8749
8749
|
"show-ticks": g.value,
|
|
8750
8750
|
step: L(f),
|
|
8751
|
-
theme: L(
|
|
8751
|
+
theme: L(n),
|
|
8752
8752
|
"thumb-color": L(he),
|
|
8753
8753
|
"thumb-label": x.value,
|
|
8754
8754
|
"thumb-size": L(S),
|
|
@@ -8757,7 +8757,7 @@ var wi = /* @__PURE__ */ k({
|
|
|
8757
8757
|
"track-color": L(me),
|
|
8758
8758
|
"track-fill-color": L(D),
|
|
8759
8759
|
"track-size": L(m),
|
|
8760
|
-
width: L(
|
|
8760
|
+
width: L(i)
|
|
8761
8761
|
}, 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
8762
|
_: 1
|
|
8763
8763
|
});
|
|
@@ -8944,20 +8944,20 @@ var wi = /* @__PURE__ */ k({
|
|
|
8944
8944
|
"detail",
|
|
8945
8945
|
"counter",
|
|
8946
8946
|
"max"
|
|
8947
|
-
]),
|
|
8947
|
+
]), ee = w(() => x.value ? S.value : !1), { property: te } = Y(n, [
|
|
8948
8948
|
"settings",
|
|
8949
8949
|
"detail",
|
|
8950
8950
|
"counter",
|
|
8951
8951
|
"persistent"
|
|
8952
|
-
]), { property:
|
|
8952
|
+
]), { property: ne } = Jn(n, [
|
|
8953
8953
|
"settings",
|
|
8954
8954
|
"detail",
|
|
8955
8955
|
"rules"
|
|
8956
|
-
]), { property:
|
|
8956
|
+
]), { property: re } = Y(n, [
|
|
8957
8957
|
"settings",
|
|
8958
8958
|
"style",
|
|
8959
8959
|
"variant"
|
|
8960
|
-
]), { property:
|
|
8960
|
+
]), { property: C } = Y(n, [
|
|
8961
8961
|
"settings",
|
|
8962
8962
|
"style",
|
|
8963
8963
|
"density"
|
|
@@ -9063,8 +9063,8 @@ var wi = /* @__PURE__ */ k({
|
|
|
9063
9063
|
clearable: L(f),
|
|
9064
9064
|
"closable-chips": L(se),
|
|
9065
9065
|
color: L(E),
|
|
9066
|
-
counter:
|
|
9067
|
-
density: L(
|
|
9066
|
+
counter: ee.value,
|
|
9067
|
+
density: L(C),
|
|
9068
9068
|
disabled: L(A),
|
|
9069
9069
|
"error-messages": L(y),
|
|
9070
9070
|
"hide-details": L(h),
|
|
@@ -9079,7 +9079,7 @@ var wi = /* @__PURE__ */ k({
|
|
|
9079
9079
|
"min-width": L(i),
|
|
9080
9080
|
multiple: L(c),
|
|
9081
9081
|
"persistent-clear": L(p),
|
|
9082
|
-
"persistent-counter": L(
|
|
9082
|
+
"persistent-counter": L(te),
|
|
9083
9083
|
"persistent-hint": L(_),
|
|
9084
9084
|
"persistent-placeholder": L(d),
|
|
9085
9085
|
placeholder: L(u),
|
|
@@ -9088,11 +9088,11 @@ var wi = /* @__PURE__ */ k({
|
|
|
9088
9088
|
"prepend-inner-icon": L(de),
|
|
9089
9089
|
readonly: L(j),
|
|
9090
9090
|
reverse: L(ie),
|
|
9091
|
-
rules: L(
|
|
9091
|
+
rules: L(ne),
|
|
9092
9092
|
"single-line": L(ae),
|
|
9093
9093
|
suffix: L(le),
|
|
9094
9094
|
theme: L(t),
|
|
9095
|
-
variant: L(
|
|
9095
|
+
variant: L(re),
|
|
9096
9096
|
width: L(r)
|
|
9097
9097
|
}, 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
9098
|
_: 1
|
|
@@ -9254,16 +9254,16 @@ var wi = /* @__PURE__ */ k({
|
|
|
9254
9254
|
refContext: {}
|
|
9255
9255
|
},
|
|
9256
9256
|
setup(e) {
|
|
9257
|
-
let { theme:
|
|
9257
|
+
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
9258
|
"settings",
|
|
9259
9259
|
"main",
|
|
9260
9260
|
"label"
|
|
9261
|
-
]), { property: f } = Y(
|
|
9261
|
+
]), { property: f } = Y(r, [
|
|
9262
9262
|
"settings",
|
|
9263
9263
|
"main",
|
|
9264
9264
|
"track",
|
|
9265
9265
|
"size"
|
|
9266
|
-
]), { property: p } = Y(
|
|
9266
|
+
]), { property: p } = Y(r, [
|
|
9267
9267
|
"settings",
|
|
9268
9268
|
"main",
|
|
9269
9269
|
"tick",
|
|
@@ -9271,7 +9271,7 @@ var wi = /* @__PURE__ */ k({
|
|
|
9271
9271
|
]), m = w(() => {
|
|
9272
9272
|
if (p.value === "always") return "always";
|
|
9273
9273
|
if (p.value === "show") return !0;
|
|
9274
|
-
}), { property: h } = Y(
|
|
9274
|
+
}), { property: h } = Y(r, [
|
|
9275
9275
|
"settings",
|
|
9276
9276
|
"main",
|
|
9277
9277
|
"tick",
|
|
@@ -9280,13 +9280,13 @@ var wi = /* @__PURE__ */ k({
|
|
|
9280
9280
|
if (!h.value) return;
|
|
9281
9281
|
let e = {};
|
|
9282
9282
|
for (let { value: t, label: n } of h.value) e[t] = n;
|
|
9283
|
-
if (!
|
|
9284
|
-
}), { property: _ } = Y(
|
|
9283
|
+
if (!t(e)) return e;
|
|
9284
|
+
}), { property: _ } = Y(r, [
|
|
9285
9285
|
"settings",
|
|
9286
9286
|
"main",
|
|
9287
9287
|
"tick",
|
|
9288
9288
|
"size"
|
|
9289
|
-
]), { property: v } = Y(
|
|
9289
|
+
]), { property: v } = Y(r, [
|
|
9290
9290
|
"settings",
|
|
9291
9291
|
"main",
|
|
9292
9292
|
"thumb",
|
|
@@ -9294,120 +9294,120 @@ var wi = /* @__PURE__ */ k({
|
|
|
9294
9294
|
]), y = w(() => {
|
|
9295
9295
|
if (v.value === "always") return "always";
|
|
9296
9296
|
if (v.value === "show") return !0;
|
|
9297
|
-
}), { property: b } = Y(
|
|
9297
|
+
}), { property: b } = Y(r, [
|
|
9298
9298
|
"settings",
|
|
9299
9299
|
"main",
|
|
9300
9300
|
"thumb",
|
|
9301
9301
|
"size"
|
|
9302
|
-
]), { property: x } = Y(
|
|
9302
|
+
]), { property: x } = Y(r, [
|
|
9303
9303
|
"settings",
|
|
9304
9304
|
"detail",
|
|
9305
9305
|
"hide"
|
|
9306
|
-
]), { property: S } = Y(
|
|
9306
|
+
]), { property: S } = Y(r, [
|
|
9307
9307
|
"settings",
|
|
9308
9308
|
"detail",
|
|
9309
9309
|
"hint",
|
|
9310
9310
|
"content"
|
|
9311
|
-
]), { property:
|
|
9311
|
+
]), { property: ee } = Y(r, [
|
|
9312
9312
|
"settings",
|
|
9313
9313
|
"detail",
|
|
9314
9314
|
"hint",
|
|
9315
9315
|
"persistent"
|
|
9316
|
-
]), { property:
|
|
9316
|
+
]), { property: te } = Y(r, [
|
|
9317
9317
|
"settings",
|
|
9318
9318
|
"detail",
|
|
9319
9319
|
"messages"
|
|
9320
|
-
]), { property:
|
|
9320
|
+
]), { property: ne } = Y(r, [
|
|
9321
9321
|
"settings",
|
|
9322
9322
|
"detail",
|
|
9323
9323
|
"error",
|
|
9324
9324
|
"errorMessages"
|
|
9325
|
-
]), { property:
|
|
9325
|
+
]), { property: re } = Y(r, [
|
|
9326
9326
|
"settings",
|
|
9327
9327
|
"detail",
|
|
9328
9328
|
"error",
|
|
9329
9329
|
"maxErrors"
|
|
9330
|
-
]), { property:
|
|
9330
|
+
]), { property: C } = Jn(r, [
|
|
9331
9331
|
"settings",
|
|
9332
9332
|
"detail",
|
|
9333
9333
|
"rules"
|
|
9334
|
-
]), { property: ie } = Y(
|
|
9334
|
+
]), { property: ie } = Y(r, [
|
|
9335
9335
|
"settings",
|
|
9336
9336
|
"style",
|
|
9337
9337
|
"density"
|
|
9338
|
-
]), { property: ae } = Y(
|
|
9338
|
+
]), { property: ae } = Y(r, [
|
|
9339
9339
|
"settings",
|
|
9340
9340
|
"style",
|
|
9341
9341
|
"direction"
|
|
9342
|
-
]), { property: oe } = Y(
|
|
9342
|
+
]), { property: oe } = Y(r, [
|
|
9343
9343
|
"settings",
|
|
9344
9344
|
"style",
|
|
9345
9345
|
"reverse"
|
|
9346
|
-
]), { property: se } = Kn(
|
|
9346
|
+
]), { property: se } = Kn(r, [
|
|
9347
9347
|
"settings",
|
|
9348
9348
|
"style",
|
|
9349
9349
|
"elevation"
|
|
9350
|
-
]), { property: ce } = Y(
|
|
9350
|
+
]), { property: ce } = Y(r, [
|
|
9351
9351
|
"settings",
|
|
9352
9352
|
"style",
|
|
9353
9353
|
"ripple"
|
|
9354
|
-
]), { property: le } = Z(
|
|
9354
|
+
]), { property: le } = Z(r, [
|
|
9355
9355
|
"settings",
|
|
9356
9356
|
"style",
|
|
9357
9357
|
"decoration",
|
|
9358
9358
|
"icon",
|
|
9359
9359
|
"prepend"
|
|
9360
|
-
]), { property: ue } = Z(
|
|
9360
|
+
]), { property: ue } = Z(r, [
|
|
9361
9361
|
"settings",
|
|
9362
9362
|
"style",
|
|
9363
9363
|
"decoration",
|
|
9364
9364
|
"icon",
|
|
9365
9365
|
"append"
|
|
9366
|
-
]), { property: de } = X(
|
|
9366
|
+
]), { property: de } = X(r, [
|
|
9367
9367
|
"settings",
|
|
9368
9368
|
"style",
|
|
9369
9369
|
"color",
|
|
9370
9370
|
"color"
|
|
9371
|
-
]), { property: fe } = X(
|
|
9371
|
+
]), { property: fe } = X(r, [
|
|
9372
9372
|
"settings",
|
|
9373
9373
|
"style",
|
|
9374
9374
|
"color",
|
|
9375
9375
|
"baseColor"
|
|
9376
|
-
]), { property: pe } = X(
|
|
9376
|
+
]), { property: pe } = X(r, [
|
|
9377
9377
|
"settings",
|
|
9378
9378
|
"style",
|
|
9379
9379
|
"color",
|
|
9380
9380
|
"trackColor"
|
|
9381
|
-
]), { property: E } = X(
|
|
9381
|
+
]), { property: E } = X(r, [
|
|
9382
9382
|
"settings",
|
|
9383
9383
|
"style",
|
|
9384
9384
|
"color",
|
|
9385
9385
|
"trackFillColor"
|
|
9386
|
-
]), { property: me } = X(
|
|
9386
|
+
]), { property: me } = X(r, [
|
|
9387
9387
|
"settings",
|
|
9388
9388
|
"style",
|
|
9389
9389
|
"color",
|
|
9390
9390
|
"thumbColor"
|
|
9391
|
-
]), { property: D } = X(
|
|
9391
|
+
]), { property: D } = X(r, [
|
|
9392
9392
|
"settings",
|
|
9393
9393
|
"style",
|
|
9394
9394
|
"color",
|
|
9395
9395
|
"iconColor"
|
|
9396
|
-
]), { property: he } = Y(
|
|
9396
|
+
]), { property: he } = Y(r, [
|
|
9397
9397
|
"settings",
|
|
9398
9398
|
"misc",
|
|
9399
9399
|
"disabled"
|
|
9400
|
-
]), { property: k } = Y(
|
|
9400
|
+
]), { property: k } = Y(r, [
|
|
9401
9401
|
"settings",
|
|
9402
9402
|
"misc",
|
|
9403
9403
|
"readonly"
|
|
9404
9404
|
]);
|
|
9405
|
-
return (e,
|
|
9406
|
-
let
|
|
9405
|
+
return (e, t) => {
|
|
9406
|
+
let r = I("v-slider");
|
|
9407
9407
|
return N(), T(L(Mn), null, {
|
|
9408
|
-
default: R(() => [O(
|
|
9408
|
+
default: R(() => [O(r, {
|
|
9409
9409
|
modelValue: L(s),
|
|
9410
|
-
"onUpdate:modelValue":
|
|
9410
|
+
"onUpdate:modelValue": t[0] ||= (e) => M(s) ? s.value = e : null,
|
|
9411
9411
|
"append-icon": L(ue),
|
|
9412
9412
|
"base-color": L(fe),
|
|
9413
9413
|
color: L(de),
|
|
@@ -9415,26 +9415,26 @@ var wi = /* @__PURE__ */ k({
|
|
|
9415
9415
|
direction: L(ae),
|
|
9416
9416
|
disabled: L(he),
|
|
9417
9417
|
elevation: L(se),
|
|
9418
|
-
"error-messages": L(
|
|
9418
|
+
"error-messages": L(ne),
|
|
9419
9419
|
"hide-details": L(x),
|
|
9420
9420
|
hint: L(S),
|
|
9421
9421
|
"icon-color": L(D),
|
|
9422
9422
|
label: L(d),
|
|
9423
9423
|
max: L(l),
|
|
9424
|
-
"max-errors": L(
|
|
9424
|
+
"max-errors": L(re),
|
|
9425
9425
|
"max-width": L(o),
|
|
9426
|
-
messages: L(
|
|
9426
|
+
messages: L(te),
|
|
9427
9427
|
min: L(c),
|
|
9428
9428
|
"min-width": L(a),
|
|
9429
|
-
"persistent-hint": L(
|
|
9429
|
+
"persistent-hint": L(ee),
|
|
9430
9430
|
"prepend-icon": L(le),
|
|
9431
9431
|
readonly: L(k),
|
|
9432
9432
|
reverse: L(oe),
|
|
9433
9433
|
ripple: L(ce),
|
|
9434
|
-
rules: L(
|
|
9434
|
+
rules: L(C),
|
|
9435
9435
|
"show-ticks": m.value,
|
|
9436
9436
|
step: L(u),
|
|
9437
|
-
theme: L(
|
|
9437
|
+
theme: L(n),
|
|
9438
9438
|
"thumb-color": L(me),
|
|
9439
9439
|
"thumb-label": y.value,
|
|
9440
9440
|
"thumb-size": L(b),
|
|
@@ -9443,7 +9443,7 @@ var wi = /* @__PURE__ */ k({
|
|
|
9443
9443
|
"track-color": L(pe),
|
|
9444
9444
|
"track-fill-color": L(E),
|
|
9445
9445
|
"track-size": L(f),
|
|
9446
|
-
width: L(
|
|
9446
|
+
width: L(i)
|
|
9447
9447
|
}, 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
9448
|
_: 1
|
|
9449
9449
|
});
|
|
@@ -9635,28 +9635,28 @@ var pa = /* @__PURE__ */ br(da, [["render", fa]]), ma = /* @__PURE__ */ k({
|
|
|
9635
9635
|
"style",
|
|
9636
9636
|
"color",
|
|
9637
9637
|
"baseColor"
|
|
9638
|
-
]), { property:
|
|
9638
|
+
]), { property: ee } = X(n, [
|
|
9639
9639
|
"settings",
|
|
9640
9640
|
"style",
|
|
9641
9641
|
"color",
|
|
9642
9642
|
"iconColor"
|
|
9643
|
-
]), { property:
|
|
9643
|
+
]), { property: te } = Y(n, [
|
|
9644
9644
|
"settings",
|
|
9645
9645
|
"misc",
|
|
9646
9646
|
"loading"
|
|
9647
|
-
]), { property:
|
|
9647
|
+
]), { property: ne } = Y(n, [
|
|
9648
9648
|
"settings",
|
|
9649
9649
|
"misc",
|
|
9650
9650
|
"disabled"
|
|
9651
|
-
]), { property:
|
|
9651
|
+
]), { property: re } = Y(n, [
|
|
9652
9652
|
"settings",
|
|
9653
9653
|
"misc",
|
|
9654
9654
|
"readonly"
|
|
9655
9655
|
]);
|
|
9656
9656
|
return (e, n) => {
|
|
9657
|
-
let
|
|
9657
|
+
let C = I("v-switch");
|
|
9658
9658
|
return N(), T(L(Mn), null, {
|
|
9659
|
-
default: R(() => [O(
|
|
9659
|
+
default: R(() => [O(C, {
|
|
9660
9660
|
modelValue: L(s),
|
|
9661
9661
|
"onUpdate:modelValue": n[0] ||= (e) => M(s) ? s.value = e : null,
|
|
9662
9662
|
indeterminate: L(c),
|
|
@@ -9666,20 +9666,20 @@ var pa = /* @__PURE__ */ br(da, [["render", fa]]), ma = /* @__PURE__ */ k({
|
|
|
9666
9666
|
color: L(x),
|
|
9667
9667
|
density: L(h),
|
|
9668
9668
|
direction: L(g),
|
|
9669
|
-
disabled: L(
|
|
9669
|
+
disabled: L(ne),
|
|
9670
9670
|
"hide-details": L(u),
|
|
9671
9671
|
hint: L(d),
|
|
9672
|
-
"icon-color": L(
|
|
9672
|
+
"icon-color": L(ee),
|
|
9673
9673
|
inline: L(_),
|
|
9674
9674
|
inset: L(v),
|
|
9675
9675
|
label: L(l),
|
|
9676
|
-
loading: L(
|
|
9676
|
+
loading: L(te),
|
|
9677
9677
|
"max-width": L(o),
|
|
9678
9678
|
messages: L(p),
|
|
9679
9679
|
"min-width": L(a),
|
|
9680
9680
|
"persistent-hint": L(f),
|
|
9681
9681
|
"prepend-icon": L(y),
|
|
9682
|
-
readonly: L(
|
|
9682
|
+
readonly: L(re),
|
|
9683
9683
|
rules: L(m),
|
|
9684
9684
|
theme: L(t),
|
|
9685
9685
|
width: L(i)
|
|
@@ -10027,21 +10027,21 @@ var Ma = /* @__PURE__ */ br(Aa, [["render", ja]]), Na = /* @__PURE__ */ k({
|
|
|
10027
10027
|
"detail",
|
|
10028
10028
|
"counter",
|
|
10029
10029
|
"enable"
|
|
10030
|
-
]), { property:
|
|
10030
|
+
]), { property: ee } = Y(n, [
|
|
10031
10031
|
"settings",
|
|
10032
10032
|
"detail",
|
|
10033
10033
|
"counter",
|
|
10034
10034
|
"max"
|
|
10035
|
-
]),
|
|
10035
|
+
]), te = w(() => S.value ? ee.value : !1), { property: ne } = Y(n, [
|
|
10036
10036
|
"settings",
|
|
10037
10037
|
"detail",
|
|
10038
10038
|
"counter",
|
|
10039
10039
|
"persistent"
|
|
10040
|
-
]), { property:
|
|
10040
|
+
]), { property: re } = Jn(n, [
|
|
10041
10041
|
"settings",
|
|
10042
10042
|
"detail",
|
|
10043
10043
|
"rules"
|
|
10044
|
-
]), { property:
|
|
10044
|
+
]), { property: C } = Y(n, [
|
|
10045
10045
|
"settings",
|
|
10046
10046
|
"style",
|
|
10047
10047
|
"variant"
|
|
@@ -10173,7 +10173,7 @@ var Ma = /* @__PURE__ */ br(Aa, [["render", ja]]), Na = /* @__PURE__ */ k({
|
|
|
10173
10173
|
"clear-icon": L(h),
|
|
10174
10174
|
clearable: L(p),
|
|
10175
10175
|
color: L(he),
|
|
10176
|
-
counter:
|
|
10176
|
+
counter: te.value,
|
|
10177
10177
|
density: L(ie),
|
|
10178
10178
|
disabled: L(ge),
|
|
10179
10179
|
"error-messages": L(b),
|
|
@@ -10188,7 +10188,7 @@ var Ma = /* @__PURE__ */ br(Aa, [["render", ja]]), Na = /* @__PURE__ */ k({
|
|
|
10188
10188
|
messages: L(y),
|
|
10189
10189
|
"min-width": L(s),
|
|
10190
10190
|
"persistent-clear": L(m),
|
|
10191
|
-
"persistent-counter": L(
|
|
10191
|
+
"persistent-counter": L(ne),
|
|
10192
10192
|
"persistent-hint": L(v),
|
|
10193
10193
|
"persistent-placeholder": L(f),
|
|
10194
10194
|
placeholder: L(d),
|
|
@@ -10198,11 +10198,11 @@ var Ma = /* @__PURE__ */ br(Aa, [["render", ja]]), Na = /* @__PURE__ */ k({
|
|
|
10198
10198
|
readonly: L(_e),
|
|
10199
10199
|
reverse: L(ae),
|
|
10200
10200
|
rows: L(se),
|
|
10201
|
-
rules: L(
|
|
10201
|
+
rules: L(re),
|
|
10202
10202
|
"single-line": L(oe),
|
|
10203
10203
|
suffix: L(de),
|
|
10204
10204
|
theme: L(t),
|
|
10205
|
-
variant: L(
|
|
10205
|
+
variant: L(C),
|
|
10206
10206
|
width: L(o)
|
|
10207
10207
|
}, D({ _: 2 }, [
|
|
10208
10208
|
L(r)("label") ? {
|
|
@@ -10335,22 +10335,22 @@ var Ma = /* @__PURE__ */ br(Aa, [["render", ja]]), Na = /* @__PURE__ */ k({
|
|
|
10335
10335
|
"detail",
|
|
10336
10336
|
"error",
|
|
10337
10337
|
"errorMessages"
|
|
10338
|
-
]), { property:
|
|
10338
|
+
]), { property: ee } = Y(n, [
|
|
10339
10339
|
"settings",
|
|
10340
10340
|
"detail",
|
|
10341
10341
|
"error",
|
|
10342
10342
|
"maxErrors"
|
|
10343
|
-
]), { property:
|
|
10343
|
+
]), { property: te } = Y(n, [
|
|
10344
10344
|
"settings",
|
|
10345
10345
|
"detail",
|
|
10346
10346
|
"counter",
|
|
10347
10347
|
"enable"
|
|
10348
|
-
]), { property:
|
|
10348
|
+
]), { property: ne } = Y(n, [
|
|
10349
10349
|
"settings",
|
|
10350
10350
|
"detail",
|
|
10351
10351
|
"counter",
|
|
10352
10352
|
"max"
|
|
10353
|
-
]),
|
|
10353
|
+
]), re = w(() => te.value ? ne.value : !1), { property: C } = Y(n, [
|
|
10354
10354
|
"settings",
|
|
10355
10355
|
"detail",
|
|
10356
10356
|
"counter",
|
|
@@ -10464,7 +10464,7 @@ var Ma = /* @__PURE__ */ br(Aa, [["render", ja]]), Na = /* @__PURE__ */ k({
|
|
|
10464
10464
|
let n = await o.value?.validate(e.silent);
|
|
10465
10465
|
n ? t.result = n.length <= 0 : t.result = !0;
|
|
10466
10466
|
}), (e, n) => {
|
|
10467
|
-
let a = I("v-text-field"),
|
|
10467
|
+
let a = I("v-text-field"), te = Oe("mutate");
|
|
10468
10468
|
return N(), T(L(Mn), null, {
|
|
10469
10469
|
default: R(() => [Le((N(), T(a, _e({
|
|
10470
10470
|
ref_key: "target",
|
|
@@ -10477,7 +10477,7 @@ var Ma = /* @__PURE__ */ br(Aa, [["render", ja]]), Na = /* @__PURE__ */ k({
|
|
|
10477
10477
|
"clear-icon": L(_),
|
|
10478
10478
|
clearable: L(h),
|
|
10479
10479
|
color: L(me),
|
|
10480
|
-
counter:
|
|
10480
|
+
counter: re.value,
|
|
10481
10481
|
density: L(oe),
|
|
10482
10482
|
disabled: L(j),
|
|
10483
10483
|
"error-messages": L(S),
|
|
@@ -10486,13 +10486,13 @@ var Ma = /* @__PURE__ */ br(Aa, [["render", ja]]), Na = /* @__PURE__ */ k({
|
|
|
10486
10486
|
"icon-color": L(k),
|
|
10487
10487
|
label: L(f),
|
|
10488
10488
|
loading: L(A),
|
|
10489
|
-
"max-errors": L(
|
|
10489
|
+
"max-errors": L(ee),
|
|
10490
10490
|
"max-width": L(l),
|
|
10491
10491
|
messages: L(x),
|
|
10492
10492
|
"min-width": L(c),
|
|
10493
10493
|
"model-value": L(u),
|
|
10494
10494
|
"persistent-clear": L(g),
|
|
10495
|
-
"persistent-counter": L(
|
|
10495
|
+
"persistent-counter": L(C),
|
|
10496
10496
|
"persistent-hint": L(b),
|
|
10497
10497
|
"persistent-placeholder": L(m),
|
|
10498
10498
|
placeholder: L(p),
|
|
@@ -10566,7 +10566,7 @@ var Ma = /* @__PURE__ */ br(Aa, [["render", ja]]), Na = /* @__PURE__ */ k({
|
|
|
10566
10566
|
key: "10"
|
|
10567
10567
|
} : void 0
|
|
10568
10568
|
]), 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
|
-
|
|
10569
|
+
te,
|
|
10570
10570
|
{
|
|
10571
10571
|
handler: xe,
|
|
10572
10572
|
options: { attributeFilter: ["class"] }
|
|
@@ -20530,22 +20530,22 @@ V({
|
|
|
20530
20530
|
});
|
|
20531
20531
|
//#endregion
|
|
20532
20532
|
//#region src/element/finalProperties.ts
|
|
20533
|
-
function Xc(
|
|
20534
|
-
let
|
|
20535
|
-
if (i !== "" && (i += "."), i +=
|
|
20533
|
+
function Xc(t) {
|
|
20534
|
+
let n = [], r = (t, i, a) => {
|
|
20535
|
+
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
20536
|
else {
|
|
20537
|
-
if (
|
|
20538
|
-
let
|
|
20537
|
+
if (t.ui === "text" && t.static) return;
|
|
20538
|
+
let e = {
|
|
20539
20539
|
keys: i,
|
|
20540
20540
|
names: a,
|
|
20541
|
-
raw:
|
|
20541
|
+
raw: t
|
|
20542
20542
|
};
|
|
20543
|
-
|
|
20543
|
+
n.push(e);
|
|
20544
20544
|
}
|
|
20545
20545
|
};
|
|
20546
|
-
return
|
|
20546
|
+
return t.forEach((e) => {
|
|
20547
20547
|
r(e, "", []);
|
|
20548
|
-
}),
|
|
20548
|
+
}), n;
|
|
20549
20549
|
}
|
|
20550
20550
|
function Zc() {
|
|
20551
20551
|
let e = {}, t = ut();
|
|
@@ -20591,7 +20591,7 @@ function $c(e) {
|
|
|
20591
20591
|
console.log(r, ...i);
|
|
20592
20592
|
}).consume((e) => t.setProp(t.global, "__consoleLogV1__", e)), t.newFunction("__debugTraceV1__", (e) => {
|
|
20593
20593
|
let n = t.dump(e);
|
|
20594
|
-
|
|
20594
|
+
ne.emit("consoleAppend", n);
|
|
20595
20595
|
}).consume((e) => t.setProp(t.global, "__debugTraceV1__", e)), t.newFunction("__messageV1__", (e, n) => {
|
|
20596
20596
|
let r = t.getString(e), i = t.dump(n), a;
|
|
20597
20597
|
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 +20618,7 @@ function $c(e) {
|
|
|
20618
20618
|
}
|
|
20619
20619
|
//#endregion
|
|
20620
20620
|
//#region src/api/computebase/instance.ts
|
|
20621
|
-
var el =
|
|
20621
|
+
var el = te({
|
|
20622
20622
|
baseUrl: "http://localhost/computebase/",
|
|
20623
20623
|
onError: (e) => {
|
|
20624
20624
|
ie(Ge(e));
|
|
@@ -20696,11 +20696,11 @@ function il(e) {
|
|
|
20696
20696
|
appId: `${i}${e.env}`,
|
|
20697
20697
|
pageId: a
|
|
20698
20698
|
};
|
|
20699
|
-
|
|
20699
|
+
C.router.replace({
|
|
20700
20700
|
path: t,
|
|
20701
20701
|
query: n
|
|
20702
20702
|
});
|
|
20703
|
-
} else e.mode === "preview" && se(
|
|
20703
|
+
} else e.mode === "preview" && se(C.i18n.global.t("x-runtime-lib.msg.takeEffectOnlyAfterReleased"));
|
|
20704
20704
|
}).consume((e) => t.setProp(t.global, "__navigateToV1__", e)), t.newFunction("__openConfirmDlgV1__", (n, r) => {
|
|
20705
20705
|
let i = t.getString(n), a = t.getString(r), { promise: o, resolve: s } = e.promiseManager.create();
|
|
20706
20706
|
return ce({
|
|
@@ -20760,7 +20760,7 @@ var ol = "\nlet __events__ = {}\n\nfunction __onEventV1__(id, callback) {\n if
|
|
|
20760
20760
|
env;
|
|
20761
20761
|
mode;
|
|
20762
20762
|
type;
|
|
20763
|
-
eventBus =
|
|
20763
|
+
eventBus = n();
|
|
20764
20764
|
hooks;
|
|
20765
20765
|
vm;
|
|
20766
20766
|
promiseManager;
|
|
@@ -20872,12 +20872,12 @@ var ol = "\nlet __events__ = {}\n\nfunction __onEventV1__(id, callback) {\n if
|
|
|
20872
20872
|
customProperties = {};
|
|
20873
20873
|
customSlotProperties = {};
|
|
20874
20874
|
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] =
|
|
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] = re(n), !(!e || e[t] === void 0) && typeof this.customProperties[t] == typeof e[t] && (this.customProperties[t] = e[t]);
|
|
20876
20876
|
}
|
|
20877
20877
|
resetCustomSlotProperties(e) {
|
|
20878
20878
|
if (this.customSlotProperties = {}, this.kind !== "customSlot" && this.kind !== "multipleCustomSlot" || !this.parent?.meta.value?.slots) return;
|
|
20879
20879
|
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] =
|
|
20880
|
+
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
20881
|
}
|
|
20882
20882
|
getMetaOfElementProperty(e, t) {
|
|
20883
20883
|
if (!this.data.value) return;
|
|
@@ -20969,21 +20969,21 @@ var ol = "\nlet __events__ = {}\n\nfunction __onEventV1__(id, callback) {\n if
|
|
|
20969
20969
|
if (!this.isValidOfCustomSlotProperty(n, r, i)) throw console.warn(`Sandbox/getCustomAdaptSlotProperty invalid custom slot property id=${e}`), W.invalidCustomSlotProperty;
|
|
20970
20970
|
return this.customSlotProperties[i];
|
|
20971
20971
|
}
|
|
20972
|
-
async setProperty(
|
|
20973
|
-
let { kind: i, nodeId: a, propertyKey: o } = Gl(
|
|
20972
|
+
async setProperty(t, n, r) {
|
|
20973
|
+
let { kind: i, nodeId: a, propertyKey: o } = Gl(t), s = this.getNode(a);
|
|
20974
20974
|
if (!s) throw W.nodeNotFound;
|
|
20975
|
-
|
|
20975
|
+
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
20976
|
}
|
|
20977
20977
|
async setElementProperty(e, t, n, r) {
|
|
20978
20978
|
let i = this.getMetaOfElementProperty(r.basic.key, n);
|
|
20979
20979
|
if (!i) throw console.warn(`Sandbox/setElementProperty invalid element property id=${e}`), W.invalidElementProperty;
|
|
20980
20980
|
if (i.ui === "transient") {
|
|
20981
20981
|
let i = this.transients.value[r.basic.id][n];
|
|
20982
|
-
if (
|
|
20982
|
+
if (S(t, i)) return;
|
|
20983
20983
|
this.transients.value[r.basic.id][n] = t, await this.hooks.onPropertyChange(e, t, i);
|
|
20984
20984
|
} else {
|
|
20985
20985
|
let i = Ft(r, n);
|
|
20986
|
-
if (
|
|
20986
|
+
if (S(t, i)) return;
|
|
20987
20987
|
It(r, n, t), await this.hooks.onPropertyChange(e, t, i);
|
|
20988
20988
|
}
|
|
20989
20989
|
}
|
|
@@ -20992,7 +20992,7 @@ var ol = "\nlet __events__ = {}\n\nfunction __onEventV1__(id, callback) {\n if
|
|
|
20992
20992
|
if (!i) throw W.sandboxNotFound;
|
|
20993
20993
|
if (!i.isValidOfCustomProperty(r)) throw console.warn(`Sandbox/setRefProperty invalid custom property id=${e}`), W.invalidCustomProperty;
|
|
20994
20994
|
let a = i.customProperties[r];
|
|
20995
|
-
|
|
20995
|
+
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
20996
|
}
|
|
20997
20997
|
async setMultipleRefProperty(e, t, n, r, i) {
|
|
20998
20998
|
if (!i) throw W.instanceNotAvailable;
|
|
@@ -21000,7 +21000,7 @@ var ol = "\nlet __events__ = {}\n\nfunction __onEventV1__(id, callback) {\n if
|
|
|
21000
21000
|
if (!a) throw W.sandboxNotFound;
|
|
21001
21001
|
if (!a.isValidOfCustomProperty(r)) throw console.warn(`Sandbox/setMultipleRefProperty invalid custom property id=${e}`), W.invalidCustomProperty;
|
|
21002
21002
|
let o = a.customProperties[r];
|
|
21003
|
-
|
|
21003
|
+
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
21004
|
}
|
|
21005
21005
|
async setCustomSlotProperty(e, t, n, r) {
|
|
21006
21006
|
let { compId: i, slotId: a, propertyId: o } = Yl(r);
|
|
@@ -21008,7 +21008,7 @@ var ol = "\nlet __events__ = {}\n\nfunction __onEventV1__(id, callback) {\n if
|
|
|
21008
21008
|
let s = this.children[n];
|
|
21009
21009
|
if (!s) throw W.sandboxNotFound;
|
|
21010
21010
|
let c = s.customSlotProperties[o];
|
|
21011
|
-
|
|
21011
|
+
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
21012
|
}
|
|
21013
21013
|
async setMultipleCustomSlotProperty(e, t, n, r, i) {
|
|
21014
21014
|
if (!i) throw W.instanceNotAvailable;
|
|
@@ -21017,12 +21017,12 @@ var ol = "\nlet __events__ = {}\n\nfunction __onEventV1__(id, callback) {\n if
|
|
|
21017
21017
|
let c = this.children[`${n}/${i}`];
|
|
21018
21018
|
if (!c) throw W.sandboxNotFound;
|
|
21019
21019
|
let l = c.customSlotProperties[s];
|
|
21020
|
-
|
|
21020
|
+
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
21021
|
}
|
|
21022
21022
|
async setCustomProperty(e, t, n) {
|
|
21023
21023
|
if (!this.isValidOfCustomProperty(n)) throw console.warn(`Sandbox/setCustomProperty invalid custom property id=${e}`), W.invalidCustomProperty;
|
|
21024
21024
|
let r = this.customProperties[n];
|
|
21025
|
-
|
|
21025
|
+
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
21026
|
}
|
|
21027
21027
|
async setElementAdaptSlotProperty(e, t, n) {
|
|
21028
21028
|
if (!this.parent) throw W.notInSlot;
|
|
@@ -21032,7 +21032,7 @@ var ol = "\nlet __events__ = {}\n\nfunction __onEventV1__(id, callback) {\n if
|
|
|
21032
21032
|
let o = { value: void 0 };
|
|
21033
21033
|
this.eventBus.emit(`property/${a}/get`, { result: o });
|
|
21034
21034
|
let s = o.value;
|
|
21035
|
-
|
|
21035
|
+
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
21036
|
}
|
|
21037
21037
|
async setCustomAdaptSlotProperty(e, t, n) {
|
|
21038
21038
|
if (!this.parent) throw W.notInSlot;
|
|
@@ -21040,7 +21040,7 @@ var ol = "\nlet __events__ = {}\n\nfunction __onEventV1__(id, callback) {\n if
|
|
|
21040
21040
|
if (!this.isEqualOfCustomSlot(r, i)) throw W.slotIncompatible;
|
|
21041
21041
|
if (!this.isValidOfCustomSlotProperty(r, i, a)) throw console.warn(`Sandbox/setCustomAdaptSlotProperty invalid custom slot property id=${e}`), W.invalidCustomSlotProperty;
|
|
21042
21042
|
let o = this.customSlotProperties[a];
|
|
21043
|
-
|
|
21043
|
+
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
21044
|
}
|
|
21045
21045
|
isValidOfElementMethod(e, t) {
|
|
21046
21046
|
let n = dt(e);
|
|
@@ -21267,7 +21267,7 @@ var ol = "\nlet __events__ = {}\n\nfunction __onEventV1__(id, callback) {\n if
|
|
|
21267
21267
|
}
|
|
21268
21268
|
states = {};
|
|
21269
21269
|
resetStates() {
|
|
21270
|
-
if (this.states = {}, this.meta.value?.states) for (let { id: e, type: t } of this.meta.value.states) this.states[e] =
|
|
21270
|
+
if (this.states = {}, this.meta.value?.states) for (let { id: e, type: t } of this.meta.value.states) this.states[e] = re(t);
|
|
21271
21271
|
}
|
|
21272
21272
|
isValidOfState(e) {
|
|
21273
21273
|
return this.meta.value ? !!this.meta.value.states?.find((t) => t.id === e) : !1;
|
|
@@ -21275,10 +21275,10 @@ var ol = "\nlet __events__ = {}\n\nfunction __onEventV1__(id, callback) {\n if
|
|
|
21275
21275
|
async getState(e) {
|
|
21276
21276
|
return this.states[e];
|
|
21277
21277
|
}
|
|
21278
|
-
async setState(
|
|
21279
|
-
if (this.debugTrace("setState",
|
|
21280
|
-
let r = this.states[
|
|
21281
|
-
|
|
21278
|
+
async setState(t, n) {
|
|
21279
|
+
if (this.debugTrace("setState", t, n), !this.isValidOfState(t)) throw console.warn(`Sandbox/setState invalid state id=${t}`), W.invalidState;
|
|
21280
|
+
let r = this.states[t];
|
|
21281
|
+
S(n, r) || (this.states[t] = e(n), await this.hooks.onStateChange(t, n, r), await ve());
|
|
21282
21282
|
}
|
|
21283
21283
|
};
|
|
21284
21284
|
//#endregion
|
|
@@ -21691,8 +21691,8 @@ var Cu = (e, t, n) => {
|
|
|
21691
21691
|
//#region src/i18n/index.ts
|
|
21692
21692
|
async function wu(e) {
|
|
21693
21693
|
return (await Cu(/* @__PURE__ */ Object.assign({
|
|
21694
|
-
"./locales/en/index.ts": () => import("./i18n-en.
|
|
21695
|
-
"./locales/zhHans/index.ts": () => import("./i18n-zhHans.
|
|
21694
|
+
"./locales/en/index.ts": () => import("./i18n-en.n2njk5co.js").then((e) => e.t),
|
|
21695
|
+
"./locales/zhHans/index.ts": () => import("./i18n-zhHans.cd4r40v6.js").then((e) => e.t)
|
|
21696
21696
|
}), `./locales/${e}/index.ts`, 4)).default;
|
|
21697
21697
|
}
|
|
21698
21698
|
//#endregion
|