x-runtime-lib 0.7.12 → 0.7.13
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.
|
@@ -154,6 +154,9 @@ const e = {
|
|
|
154
154
|
minHeight: "Min Height",
|
|
155
155
|
minWidth: "Min Width",
|
|
156
156
|
mode: "Mode",
|
|
157
|
+
msg: {
|
|
158
|
+
takeEffectOnlyAfterReleased: "It shall take effect only after released"
|
|
159
|
+
},
|
|
157
160
|
multiple: "Multiple",
|
|
158
161
|
multiSort: "Multi Sort",
|
|
159
162
|
name: "Name",
|
package/dist/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { computed as n, inject as Q, provide as ee, readonly as Kt, onBeforeMount as
|
|
2
|
-
import { waitUtil as ri, eventBus as jt, messageInfo as
|
|
1
|
+
import { computed as n, inject as Q, provide as ee, readonly as Kt, onBeforeMount as Xi, onUnmounted as ge, defineComponent as T, useTemplateRef as ei, onMounted as ti, watch as le, nextTick as ni, createElementBlock as q, openBlock as V, normalizeStyle as ue, ref as ce, watchEffect as ii, createBlock as z, h as O, resolveComponent as A, withCtx as W, renderSlot as M, unref as D, createVNode as Z, createSlots as Ve, renderList as Yi, useId as oi, isRef as si, createCommentVNode as li, withModifiers as Ji, normalizeClass as Qi, toDisplayString as eo } from "vue";
|
|
2
|
+
import { waitUtil as ri, eventBus as jt, messageInfo as to, messageSuccess as no, messageWarning as ai, messageError as ui, createAxios as io, globalObjects as _e, openConfirmDlg as oo, openPromptDlg as so, useViewStack as di, injectDark as lo } from "x-essential-lib";
|
|
3
3
|
import { useTheme as ro } from "vuetify";
|
|
4
|
-
import { c as R, u as ao, r as
|
|
5
|
-
import { useI18n as
|
|
4
|
+
import { c as R, u as ao, r as ci, e as mi, i as uo, a as co, b as mo, d as po, f as fo, g as bo, h as vo, j as yo, I as ho, m as go, k as pi } from "./vendor.gekjccxc.js";
|
|
5
|
+
import { useI18n as fi } from "vue-i18n";
|
|
6
6
|
import { getErrorMessage as xo } from "x-error-lib";
|
|
7
7
|
const re = {}, ko = {
|
|
8
8
|
key: "add",
|
|
@@ -17,7 +17,7 @@ const re = {}, ko = {
|
|
|
17
17
|
}, I = (t) => {
|
|
18
18
|
t.slots.some((e) => e.key === "default") && t.methods.unshift(ko), re[t.key] = t;
|
|
19
19
|
};
|
|
20
|
-
function
|
|
20
|
+
function bi(t) {
|
|
21
21
|
const e = n(() => t.node.legend?.show), i = n(() => t.node.legend?.data);
|
|
22
22
|
function s(l) {
|
|
23
23
|
l.legend = {
|
|
@@ -27,14 +27,14 @@ function fi(t) {
|
|
|
27
27
|
}
|
|
28
28
|
return { show: e, data: i, applyLegend: s };
|
|
29
29
|
}
|
|
30
|
-
function
|
|
30
|
+
function vi(t) {
|
|
31
31
|
const e = n(() => t.node.series);
|
|
32
32
|
function i(s) {
|
|
33
33
|
s.series = e.value;
|
|
34
34
|
}
|
|
35
35
|
return { series: e, applySeries: i };
|
|
36
36
|
}
|
|
37
|
-
function
|
|
37
|
+
function yi(t) {
|
|
38
38
|
const e = n(() => t.node.title?.show), i = n(() => t.node.title?.text), s = n(() => t.node.title?.subtext);
|
|
39
39
|
function l(o) {
|
|
40
40
|
o.title = {
|
|
@@ -45,7 +45,7 @@ function vi(t) {
|
|
|
45
45
|
}
|
|
46
46
|
return { show: e, text: i, subtext: s, applyTitle: l };
|
|
47
47
|
}
|
|
48
|
-
function
|
|
48
|
+
function hi(t) {
|
|
49
49
|
const e = n(() => t.node.xAxis?.show), i = n(() => t.node.xAxis?.position), s = n(() => t.node.xAxis?.type), l = n(() => t.node.xAxis?.data);
|
|
50
50
|
function o(r) {
|
|
51
51
|
r.xAxis = {
|
|
@@ -57,7 +57,7 @@ function yi(t) {
|
|
|
57
57
|
}
|
|
58
58
|
return { show: e, position: i, type: s, data: l, applyXAxis: o };
|
|
59
59
|
}
|
|
60
|
-
function
|
|
60
|
+
function gi(t) {
|
|
61
61
|
const e = n(() => t.node.yAxis?.show), i = n(() => t.node.yAxis?.position), s = n(() => t.node.yAxis?.type), l = n(() => t.node.yAxis?.data);
|
|
62
62
|
function o(r) {
|
|
63
63
|
r.yAxis = {
|
|
@@ -106,7 +106,7 @@ function N(t) {
|
|
|
106
106
|
}
|
|
107
107
|
return e;
|
|
108
108
|
}
|
|
109
|
-
function
|
|
109
|
+
function Te(t) {
|
|
110
110
|
if (typeof t != "string" || !t.endsWith("px"))
|
|
111
111
|
return !1;
|
|
112
112
|
const e = t.substring(0, t.length - 2), i = parseFloat(e);
|
|
@@ -125,19 +125,19 @@ function Wa(t) {
|
|
|
125
125
|
if (!isNaN(i) && i % 1 === 0)
|
|
126
126
|
return i;
|
|
127
127
|
}
|
|
128
|
-
function
|
|
128
|
+
function Ae(t) {
|
|
129
129
|
if (typeof t != "string" || !t.endsWith("%"))
|
|
130
130
|
return;
|
|
131
131
|
const e = t.substring(0, t.length - 1), i = parseFloat(e);
|
|
132
132
|
if (!isNaN(i))
|
|
133
133
|
return i;
|
|
134
134
|
}
|
|
135
|
-
const
|
|
136
|
-
function
|
|
135
|
+
const xi = ["xs", "sm", "md", "lg", "xl"], _o = [...xi].reverse();
|
|
136
|
+
function ki(t) {
|
|
137
137
|
return t < 600 ? "xs" : t < 960 ? "sm" : t < 1280 ? "md" : t < 1920 ? "lg" : "xl";
|
|
138
138
|
}
|
|
139
139
|
function un(t) {
|
|
140
|
-
return
|
|
140
|
+
return xi.findIndex((e) => e === t);
|
|
141
141
|
}
|
|
142
142
|
function ve(t, e) {
|
|
143
143
|
let i;
|
|
@@ -276,79 +276,79 @@ function Da(t) {
|
|
|
276
276
|
e.push(Vo(i));
|
|
277
277
|
}), e;
|
|
278
278
|
}
|
|
279
|
-
const
|
|
279
|
+
const _i = "runtimeOrg", wi = "runtimeEnv", Vi = "runtimeMode", $i = "runtimeDevice", Ci = "runtimeDark", Ii = "runtimeType", Si = "runtimeData", Ti = "runtimeDepends", zi = "runtimeSandbox";
|
|
280
280
|
function Ra(t) {
|
|
281
|
-
ee(ki, t);
|
|
282
|
-
}
|
|
283
|
-
function zi() {
|
|
284
|
-
return Q(ki);
|
|
285
|
-
}
|
|
286
|
-
function Ma(t) {
|
|
287
281
|
ee(_i, t);
|
|
288
282
|
}
|
|
289
283
|
function Ai() {
|
|
290
284
|
return Q(_i);
|
|
291
285
|
}
|
|
292
|
-
function
|
|
286
|
+
function Ma(t) {
|
|
293
287
|
ee(wi, t);
|
|
294
288
|
}
|
|
295
|
-
function
|
|
289
|
+
function Ni() {
|
|
296
290
|
return Q(wi);
|
|
297
291
|
}
|
|
292
|
+
function Fa(t) {
|
|
293
|
+
ee(Vi, t);
|
|
294
|
+
}
|
|
295
|
+
function F() {
|
|
296
|
+
return Q(Vi);
|
|
297
|
+
}
|
|
298
298
|
function Ha(t) {
|
|
299
|
-
ee(
|
|
299
|
+
ee($i, Kt(t));
|
|
300
300
|
}
|
|
301
301
|
function te() {
|
|
302
|
-
return Q(
|
|
302
|
+
return Q($i);
|
|
303
303
|
}
|
|
304
304
|
function Oa(t) {
|
|
305
|
-
ee(
|
|
305
|
+
ee(Ci, Kt(t));
|
|
306
306
|
}
|
|
307
307
|
function B() {
|
|
308
|
-
return Q(
|
|
308
|
+
return Q(Ci);
|
|
309
309
|
}
|
|
310
310
|
function Ga(t) {
|
|
311
|
-
ee(
|
|
311
|
+
ee(Ii, t);
|
|
312
312
|
}
|
|
313
313
|
function ne() {
|
|
314
|
-
return Q(
|
|
314
|
+
return Q(Ii);
|
|
315
315
|
}
|
|
316
316
|
function Ka(t) {
|
|
317
|
-
ee(
|
|
317
|
+
ee(Si, t);
|
|
318
318
|
}
|
|
319
319
|
function ie() {
|
|
320
|
-
return Q(
|
|
320
|
+
return Q(Si);
|
|
321
321
|
}
|
|
322
322
|
function ja(t) {
|
|
323
|
-
ee(
|
|
323
|
+
ee(Ti, Kt(t));
|
|
324
324
|
}
|
|
325
|
-
function
|
|
326
|
-
return Q(
|
|
325
|
+
function Pi() {
|
|
326
|
+
return Q(Ti);
|
|
327
327
|
}
|
|
328
|
-
function
|
|
329
|
-
ee(
|
|
328
|
+
function Li(t) {
|
|
329
|
+
ee(zi, t);
|
|
330
330
|
}
|
|
331
|
-
function
|
|
332
|
-
return Q(
|
|
331
|
+
function ze() {
|
|
332
|
+
return Q(zi);
|
|
333
333
|
}
|
|
334
334
|
function se(t, e, i) {
|
|
335
335
|
const s = n(() => i.node.size?.width), l = n(() => i.node.size?.minWidth), o = n(() => i.node.size?.maxWidth), r = n(() => {
|
|
336
336
|
if (i.outer && t === "editor") {
|
|
337
|
-
const u =
|
|
337
|
+
const u = Ae(i.node.size?.height);
|
|
338
338
|
if (u)
|
|
339
339
|
return u / 100 * e.value.height + "px";
|
|
340
340
|
}
|
|
341
341
|
return i.node.size?.height;
|
|
342
342
|
}), a = n(() => {
|
|
343
343
|
if (i.outer && t === "editor") {
|
|
344
|
-
const u =
|
|
344
|
+
const u = Ae(i.node.size?.minHeight);
|
|
345
345
|
if (u)
|
|
346
346
|
return u / 100 * e.value.height + "px";
|
|
347
347
|
}
|
|
348
348
|
return i.node.size?.minHeight;
|
|
349
349
|
}), d = n(() => {
|
|
350
350
|
if (i.outer && t === "editor") {
|
|
351
|
-
const u =
|
|
351
|
+
const u = Ae(i.node.size?.maxHeight);
|
|
352
352
|
if (u)
|
|
353
353
|
return u / 100 * e.value.height + "px";
|
|
354
354
|
}
|
|
@@ -359,9 +359,9 @@ function se(t, e, i) {
|
|
|
359
359
|
}
|
|
360
360
|
return { width: s, minWidth: l, maxWidth: o, height: r, minHeight: a, maxHeight: d, applySize: p };
|
|
361
361
|
}
|
|
362
|
-
function
|
|
362
|
+
function Ei(t, e, i) {
|
|
363
363
|
const s = n(() => e.node.basic.id), l = n(() => `callMethod@${s.value}`);
|
|
364
|
-
|
|
364
|
+
Xi(() => {
|
|
365
365
|
t.eventBus?.on(l.value, i);
|
|
366
366
|
}), ge(() => {
|
|
367
367
|
t.eventBus?.off(l.value, i);
|
|
@@ -438,8 +438,8 @@ ao([
|
|
|
438
438
|
vo,
|
|
439
439
|
yo
|
|
440
440
|
]);
|
|
441
|
-
|
|
442
|
-
|
|
441
|
+
ci("dark", es);
|
|
442
|
+
ci("light", zs);
|
|
443
443
|
const As = /* @__PURE__ */ T({
|
|
444
444
|
__name: "index",
|
|
445
445
|
props: {
|
|
@@ -447,13 +447,13 @@ const As = /* @__PURE__ */ T({
|
|
|
447
447
|
outer: { type: Boolean }
|
|
448
448
|
},
|
|
449
449
|
setup(t) {
|
|
450
|
-
const e = t, i = F(), s = te(), l = B(), o = ne(), r = ie(), { width: a, minWidth: d, maxWidth: p, height: u, minHeight: m, maxHeight: c, applySize: v } = se(i, s, e), { applyTitle: h } =
|
|
450
|
+
const e = t, i = F(), s = te(), l = B(), o = ne(), r = ie(), { width: a, minWidth: d, maxWidth: p, height: u, minHeight: m, maxHeight: c, applySize: v } = se(i, s, e), { applyTitle: h } = yi(e), { applyXAxis: f } = hi(e), { applyYAxis: _ } = gi(e), { applyLegend: k } = bi(e), { applySeries: x } = vi(e), y = n(() => {
|
|
451
451
|
const C = {}, G = r.value.type;
|
|
452
452
|
return o === "page" ? G === "common" ? v(C) : console.assert(!1) : o === "comp" && G === "common" ? v(C) : console.assert(!1), C;
|
|
453
453
|
}), w = ei("chart");
|
|
454
454
|
let g;
|
|
455
455
|
const $ = () => {
|
|
456
|
-
g?.dispose(), g =
|
|
456
|
+
g?.dispose(), g = mi.init(w.value, l.value ? "dark" : "light");
|
|
457
457
|
const C = {};
|
|
458
458
|
g.setOption(C);
|
|
459
459
|
}, S = () => {
|
|
@@ -500,13 +500,13 @@ const As = /* @__PURE__ */ T({
|
|
|
500
500
|
outer: { type: Boolean }
|
|
501
501
|
},
|
|
502
502
|
setup(t) {
|
|
503
|
-
const e = t, i = F(), s = te(), l = B(), o = ne(), r = ie(), { width: a, minWidth: d, maxWidth: p, height: u, minHeight: m, maxHeight: c, applySize: v } = se(i, s, e), { applyTitle: h } =
|
|
503
|
+
const e = t, i = F(), s = te(), l = B(), o = ne(), r = ie(), { width: a, minWidth: d, maxWidth: p, height: u, minHeight: m, maxHeight: c, applySize: v } = se(i, s, e), { applyTitle: h } = yi(e), { applyXAxis: f } = hi(e), { applyYAxis: _ } = gi(e), { applyLegend: k } = bi(e), { applySeries: x } = vi(e), y = n(() => {
|
|
504
504
|
const C = {}, G = r.value.type;
|
|
505
505
|
return o === "page" ? G === "common" ? v(C) : console.assert(!1) : o === "comp" && G === "common" ? v(C) : console.assert(!1), C;
|
|
506
506
|
}), w = ei("chart");
|
|
507
507
|
let g;
|
|
508
508
|
const $ = () => {
|
|
509
|
-
g?.dispose(), g =
|
|
509
|
+
g?.dispose(), g = mi.init(w.value, l.value ? "dark" : "light");
|
|
510
510
|
const C = {};
|
|
511
511
|
g.setOption(C);
|
|
512
512
|
}, S = () => {
|
|
@@ -559,7 +559,7 @@ function Ps(t, e) {
|
|
|
559
559
|
}
|
|
560
560
|
function l(a, d) {
|
|
561
561
|
const p = t.pseudoToNative(a), u = t.pseudoToNative(d);
|
|
562
|
-
p === "info" ?
|
|
562
|
+
p === "info" ? to(u) : p === "success" ? no(u) : p === "warning" ? ai(u) : p === "error" && ui(u);
|
|
563
563
|
}
|
|
564
564
|
function o(a, d) {
|
|
565
565
|
const p = t.pseudoToNative(a), u = t.pseudoToNative(d);
|
|
@@ -595,16 +595,16 @@ function Ps(t, e) {
|
|
|
595
595
|
t.createAsyncFunction(r)
|
|
596
596
|
);
|
|
597
597
|
}
|
|
598
|
-
const
|
|
598
|
+
const Wi = io({
|
|
599
599
|
baseUrl: "http://localhost/computebase/",
|
|
600
600
|
onError: (t) => {
|
|
601
|
-
const { i18n: e } =
|
|
602
|
-
|
|
601
|
+
const { i18n: e } = _e;
|
|
602
|
+
ui(xo(e, t));
|
|
603
603
|
}
|
|
604
604
|
});
|
|
605
|
-
window.API_URL && (
|
|
605
|
+
window.API_URL && (Wi.defaults.baseURL = window.API_URL + "/computebase/");
|
|
606
606
|
function Ls(t) {
|
|
607
|
-
return
|
|
607
|
+
return Wi.post("callFunc", t);
|
|
608
608
|
}
|
|
609
609
|
function Es(t, e) {
|
|
610
610
|
async function i(s, l, o, r, a, d) {
|
|
@@ -724,13 +724,13 @@ function Bs(t, e, i) {
|
|
|
724
724
|
function p(c, v, h) {
|
|
725
725
|
const f = e.pseudoToNative(c), _ = e.pseudoToNative(v), k = e.pseudoToNative(h);
|
|
726
726
|
if (t.mode === "runtime") {
|
|
727
|
-
const x = "/main/" + Date.now(),
|
|
728
|
-
orgid:
|
|
729
|
-
appid: f
|
|
727
|
+
const x = "/main/" + Date.now(), y = {
|
|
728
|
+
orgid: t.org,
|
|
729
|
+
appid: `${f}${t.env}`,
|
|
730
730
|
pageid: _
|
|
731
731
|
};
|
|
732
|
-
k === "push" ?
|
|
733
|
-
} else t.mode === "preview" && console.log("navigateToV1", f, _, k);
|
|
732
|
+
k === "push" ? _e.router.push({ path: x, query: y }) : k === "replace" ? _e.router.replace({ path: x, query: y }) : console.assert(!1);
|
|
733
|
+
} else t.mode === "preview" && (ai(_e.i18n.t("x-runtime-lib.msg.takeEffectOnlyAfterReleased")), console.log("navigateToV1", f, _, k));
|
|
734
734
|
}
|
|
735
735
|
function u(c, v, h) {
|
|
736
736
|
const f = e.pseudoToNative(c), _ = e.pseudoToNative(v);
|
|
@@ -908,7 +908,7 @@ function __timeoutCallbackV1__(timerId) {
|
|
|
908
908
|
function __destroy__() {
|
|
909
909
|
}
|
|
910
910
|
`, Os = Rs + Ms + Fs + Hs;
|
|
911
|
-
function
|
|
911
|
+
function Bi(t, e) {
|
|
912
912
|
const i = new ho(
|
|
913
913
|
Os,
|
|
914
914
|
(s, l) => {
|
|
@@ -921,7 +921,7 @@ __mode__ = '${t.mode}';
|
|
|
921
921
|
__triggerEvent__('globality', 'startup');
|
|
922
922
|
`), i.run(), i;
|
|
923
923
|
}
|
|
924
|
-
function
|
|
924
|
+
function Di(t) {
|
|
925
925
|
t.appendCode("__destroy__();"), t.run();
|
|
926
926
|
}
|
|
927
927
|
function Ua(t, e, i, s, l) {
|
|
@@ -949,7 +949,7 @@ const Za = [
|
|
|
949
949
|
"list",
|
|
950
950
|
"object"
|
|
951
951
|
];
|
|
952
|
-
function
|
|
952
|
+
function Ri() {
|
|
953
953
|
return go();
|
|
954
954
|
}
|
|
955
955
|
const Gs = /* @__PURE__ */ T({
|
|
@@ -961,10 +961,10 @@ const Gs = /* @__PURE__ */ T({
|
|
|
961
961
|
outer: { type: Boolean }
|
|
962
962
|
},
|
|
963
963
|
setup(t) {
|
|
964
|
-
const { t: e } =
|
|
965
|
-
|
|
964
|
+
const { t: e } = fi(), i = t, s = Ai(), l = Ni(), o = F(), r = te(), a = ne(), d = ie(), p = Pi(), u = ce(-1), m = ce(), c = {};
|
|
965
|
+
Li(c);
|
|
966
966
|
const v = () => {
|
|
967
|
-
c.eventBus && (c.eventBus = void 0), c.interpreter && (
|
|
967
|
+
c.eventBus && (c.eventBus = void 0), c.interpreter && (Di(c.interpreter), c.interpreter = void 0);
|
|
968
968
|
};
|
|
969
969
|
ii(() => {
|
|
970
970
|
if (!i.refContext.refid) {
|
|
@@ -981,8 +981,8 @@ const Gs = /* @__PURE__ */ T({
|
|
|
981
981
|
v();
|
|
982
982
|
const $ = m.value, S = $.code.script;
|
|
983
983
|
if (S) {
|
|
984
|
-
const P =
|
|
985
|
-
c.eventBus = P, c.interpreter =
|
|
984
|
+
const P = Ri();
|
|
985
|
+
c.eventBus = P, c.interpreter = Bi(
|
|
986
986
|
{ org: s, env: l, mode: o, type: a, data: $, eventBus: P },
|
|
987
987
|
S
|
|
988
988
|
);
|
|
@@ -1049,10 +1049,10 @@ const Gs = /* @__PURE__ */ T({
|
|
|
1049
1049
|
state: {}
|
|
1050
1050
|
},
|
|
1051
1051
|
setup(t) {
|
|
1052
|
-
const { t: e } =
|
|
1053
|
-
|
|
1052
|
+
const { t: e } = fi(), i = t, s = Ai(), l = Ni(), o = F(), r = ne(), a = ie(), d = Pi(), p = ce(-1), u = ce(), m = {};
|
|
1053
|
+
Li(m);
|
|
1054
1054
|
const c = () => {
|
|
1055
|
-
m.eventBus && (m.eventBus = void 0), m.interpreter && (
|
|
1055
|
+
m.eventBus && (m.eventBus = void 0), m.interpreter && (Di(m.interpreter), m.interpreter = void 0);
|
|
1056
1056
|
};
|
|
1057
1057
|
ii(() => {
|
|
1058
1058
|
if (!i.refContext.refid) {
|
|
@@ -1069,8 +1069,8 @@ const Gs = /* @__PURE__ */ T({
|
|
|
1069
1069
|
c();
|
|
1070
1070
|
const w = u.value, g = w.code.script;
|
|
1071
1071
|
if (g) {
|
|
1072
|
-
const $ =
|
|
1073
|
-
m.eventBus = $, m.interpreter =
|
|
1072
|
+
const $ = Ri();
|
|
1073
|
+
m.eventBus = $, m.interpreter = Bi(
|
|
1074
1074
|
{ org: s, env: l, mode: o, type: r, data: w, eventBus: $ },
|
|
1075
1075
|
g
|
|
1076
1076
|
);
|
|
@@ -1166,7 +1166,7 @@ const Gs = /* @__PURE__ */ T({
|
|
|
1166
1166
|
outer: { type: Boolean }
|
|
1167
1167
|
},
|
|
1168
1168
|
setup(t) {
|
|
1169
|
-
const e = t, i = F(), s = B(), l =
|
|
1169
|
+
const e = t, i = F(), s = B(), l = ze(), o = n(() => e.node.settings?.addIcon?.append), r = n(() => e.node.settings?.block), a = n(() => e.node.settings?.color), { color: d } = j(s, a), p = n(() => e.node.settings?.density), u = n(() => e.node.settings?.disabled), m = n(() => e.node.size?.height), c = n(() => e.node.settings?.loading), v = n(() => e.node.size?.maxHeight), h = n(() => e.node.size?.maxWidth), f = n(() => e.node.size?.minHeight), _ = n(() => e.node.size?.minWidth), k = n(() => e.node.settings?.addIcon?.prepend), x = n(() => e.node.settings?.readonly), y = n(() => e.node.settings?.ripple), w = n(() => e.node.settings?.size), g = n(() => e.node.settings?.stacked), $ = n(() => e.node.settings?.text), S = n(() => s.value ? "dark" : "light"), P = n(() => e.node.settings?.variant), C = n(() => e.node.size?.width), G = (Y) => {
|
|
1170
1170
|
if (i !== "runtime" && i !== "preview")
|
|
1171
1171
|
return;
|
|
1172
1172
|
const K = l.interpreter;
|
|
@@ -1463,8 +1463,8 @@ const qs = /* @__PURE__ */ be(Us, [["render", Zs]]), Xs = /* @__PURE__ */ T({
|
|
|
1463
1463
|
"multi-sort": m.value,
|
|
1464
1464
|
theme: c.value,
|
|
1465
1465
|
width: v.value
|
|
1466
|
-
},
|
|
1467
|
-
|
|
1466
|
+
}, Ve({ _: 2 }, [
|
|
1467
|
+
Yi(h.value, (x) => ({
|
|
1468
1468
|
name: `item.${x.column}`,
|
|
1469
1469
|
fn: W(({ value: y }) => [
|
|
1470
1470
|
Z(J, {
|
|
@@ -1488,8 +1488,8 @@ const al = /* @__PURE__ */ be(ll, [["render", rl]]), ul = ["id"], dl = /* @__PUR
|
|
|
1488
1488
|
outer: { type: Boolean }
|
|
1489
1489
|
},
|
|
1490
1490
|
setup(t) {
|
|
1491
|
-
const e = t, i = F(), s =
|
|
1492
|
-
return
|
|
1491
|
+
const e = t, i = F(), s = ze(), l = n(() => e.node.basic?.id), { open: o } = di(`runtimeDlg/${oi()}`);
|
|
1492
|
+
return Ei(s, e, (a) => {
|
|
1493
1493
|
if (i !== "runtime" && i !== "preview" || !s.interpreter)
|
|
1494
1494
|
return;
|
|
1495
1495
|
const { name: p } = a;
|
|
@@ -1547,7 +1547,7 @@ const al = /* @__PURE__ */ be(ll, [["render", rl]]), ul = ["id"], dl = /* @__PUR
|
|
|
1547
1547
|
setup(t) {
|
|
1548
1548
|
const e = t, i = F(), s = te(), l = B(), o = ne(), r = ie(), { applySize: a } = se(i, s, e), { applyMargin: d } = Zt(e), { applyPadding: p } = qt(e), { applyBorder: u } = Ut(l, e), m = n(() => e.node.settings?.backgroundColor), { color: c } = j(l, m), v = (f) => {
|
|
1549
1549
|
c.value && (f.backgroundColor = c.value), f.display = "flex";
|
|
1550
|
-
const _ =
|
|
1550
|
+
const _ = ki(s.value.width), k = ve(_, e.node.settings?.direction);
|
|
1551
1551
|
k === "row" ? f.flexDirection = "row" : k === "rowReverse" ? f.flexDirection = "row-reverse" : k === "column" ? f.flexDirection = "column" : k === "columnReverse" && (f.flexDirection = "column-reverse");
|
|
1552
1552
|
const x = ve(_, e.node.settings?.wrap);
|
|
1553
1553
|
x === "no" ? f.flexWrap = "nowrap" : x === "yes" ? f.flexWrap = "wrap" : x === "reverse" && (f.flexWrap = "wrap-reverse");
|
|
@@ -1589,7 +1589,7 @@ const al = /* @__PURE__ */ be(ll, [["render", rl]]), ul = ["id"], dl = /* @__PUR
|
|
|
1589
1589
|
outer: { type: Boolean }
|
|
1590
1590
|
},
|
|
1591
1591
|
setup(t) {
|
|
1592
|
-
const e = t, i = F(), s = te(), l = B(), o = ne(), r = ie(), a =
|
|
1592
|
+
const e = t, i = F(), s = te(), l = B(), o = ne(), r = ie(), a = ze(), d = n({
|
|
1593
1593
|
get: () => e.node.settings?.valid,
|
|
1594
1594
|
set: (x) => {
|
|
1595
1595
|
e.node.settings && (e.node.settings.valid = !!x);
|
|
@@ -1613,7 +1613,7 @@ const al = /* @__PURE__ */ be(ll, [["render", rl]]), ul = ["id"], dl = /* @__PUR
|
|
|
1613
1613
|
"onUpdate:modelValue": y[0] || (y[0] = (g) => d.value = g),
|
|
1614
1614
|
style: ue(_.value),
|
|
1615
1615
|
"fast-fail": p.value,
|
|
1616
|
-
onSubmit:
|
|
1616
|
+
onSubmit: Ji(k, ["prevent"])
|
|
1617
1617
|
}, {
|
|
1618
1618
|
default: W(() => [
|
|
1619
1619
|
M(x.$slots, "default")
|
|
@@ -1648,8 +1648,8 @@ const al = /* @__PURE__ */ be(ll, [["render", rl]]), ul = ["id"], dl = /* @__PUR
|
|
|
1648
1648
|
outer: { type: Boolean }
|
|
1649
1649
|
},
|
|
1650
1650
|
setup(t) {
|
|
1651
|
-
const e = t, i = F(), s =
|
|
1652
|
-
return
|
|
1651
|
+
const e = t, i = F(), s = ze(), l = ce(0), o = ce(0), r = n(() => [l.value, o.value]), a = n(() => e.node.basic?.id), { open: d } = di(`runtimeMenu/${oi()}`);
|
|
1652
|
+
return Ei(s, e, (u) => {
|
|
1653
1653
|
if (i !== "runtime" && i !== "preview")
|
|
1654
1654
|
return;
|
|
1655
1655
|
const m = s.interpreter;
|
|
@@ -1836,7 +1836,7 @@ const al = /* @__PURE__ */ be(ll, [["render", rl]]), ul = ["id"], dl = /* @__PUR
|
|
|
1836
1836
|
const S = {};
|
|
1837
1837
|
for (const { value: P, label: C } of w.value)
|
|
1838
1838
|
S[P] = C;
|
|
1839
|
-
if (!
|
|
1839
|
+
if (!pi(S))
|
|
1840
1840
|
return S;
|
|
1841
1841
|
}), $ = n(() => t.node.settings?.tickSize);
|
|
1842
1842
|
return (S, P) => {
|
|
@@ -1966,7 +1966,7 @@ const al = /* @__PURE__ */ be(ll, [["render", rl]]), ul = ["id"], dl = /* @__PUR
|
|
|
1966
1966
|
const oe = {};
|
|
1967
1967
|
for (const { value: xe, label: ke } of S.value)
|
|
1968
1968
|
oe[xe] = ke;
|
|
1969
|
-
if (!
|
|
1969
|
+
if (!pi(oe))
|
|
1970
1970
|
return oe;
|
|
1971
1971
|
}), C = n(() => t.node.settings?.tickSize), G = n(() => t.node.settings?.trackColor), { color: Y } = j(i, G), K = n(() => t.node.slots?.append), X = n(() => t.node.slots?.prepend);
|
|
1972
1972
|
return (oe, xe) => {
|
|
@@ -1992,7 +1992,7 @@ const al = /* @__PURE__ */ be(ll, [["render", rl]]), ul = ["id"], dl = /* @__PUR
|
|
|
1992
1992
|
ticks: P.value,
|
|
1993
1993
|
"tick-size": C.value,
|
|
1994
1994
|
"track-color": D(Y)
|
|
1995
|
-
},
|
|
1995
|
+
}, Ve({ _: 2 }, [
|
|
1996
1996
|
K.value ? {
|
|
1997
1997
|
name: "append",
|
|
1998
1998
|
fn: W(() => [
|
|
@@ -2035,7 +2035,7 @@ const al = /* @__PURE__ */ be(ll, [["render", rl]]), ul = ["id"], dl = /* @__PUR
|
|
|
2035
2035
|
ticks: P.value,
|
|
2036
2036
|
"tick-size": C.value,
|
|
2037
2037
|
"track-color": D(Y)
|
|
2038
|
-
},
|
|
2038
|
+
}, Ve({ _: 2 }, [
|
|
2039
2039
|
K.value ? {
|
|
2040
2040
|
name: "append",
|
|
2041
2041
|
fn: W(() => [
|
|
@@ -2232,12 +2232,12 @@ const Bl = /* @__PURE__ */ be(El, [["render", Wl]]), Dl = /* @__PURE__ */ T({
|
|
|
2232
2232
|
},
|
|
2233
2233
|
setup(t) {
|
|
2234
2234
|
const e = t, i = te(), s = n(() => e.node.settings?.align), l = n(() => e.node.settings?.decoration), o = n(() => e.node.settings?.emphasis), r = n(() => e.node.settings?.italic), a = n(() => e.node.settings?.text), d = n(() => e.node.settings?.weight), p = n(() => {
|
|
2235
|
-
const u = [], m =
|
|
2235
|
+
const u = [], m = ki(i.value.width), c = ve(m, e.node.settings?.style);
|
|
2236
2236
|
return c && u.push(`text-${c}`), o.value === "high" ? u.push("text-high-emphasis") : o.value === "medium" ? u.push("text-medium-emphasis") : o.value === "disabled" && u.push("text-disabled"), s.value && u.push(`font-${s.value}`), l.value && u.push(`text-decoration-${l.value}`), d.value && u.push(`font-weight-${d.value}`), r.value && u.push("font-italic"), u.join(" ");
|
|
2237
2237
|
});
|
|
2238
2238
|
return (u, m) => (V(), q("span", {
|
|
2239
|
-
class:
|
|
2240
|
-
},
|
|
2239
|
+
class: Qi(p.value)
|
|
2240
|
+
}, eo(a.value), 3));
|
|
2241
2241
|
}
|
|
2242
2242
|
}), Gl = /* @__PURE__ */ T({
|
|
2243
2243
|
__name: "index",
|
|
@@ -2298,7 +2298,7 @@ const Bl = /* @__PURE__ */ be(El, [["render", Wl]]), Dl = /* @__PURE__ */ T({
|
|
|
2298
2298
|
suffix: w.value,
|
|
2299
2299
|
theme: g.value,
|
|
2300
2300
|
variant: $.value
|
|
2301
|
-
},
|
|
2301
|
+
}, Ve({ _: 2 }, [
|
|
2302
2302
|
S.value ? {
|
|
2303
2303
|
name: "append",
|
|
2304
2304
|
fn: W(() => [
|
|
@@ -2420,7 +2420,7 @@ function Jl(t, e) {
|
|
|
2420
2420
|
_: 3
|
|
2421
2421
|
});
|
|
2422
2422
|
}
|
|
2423
|
-
const Ql = /* @__PURE__ */ be(Yl, [["render", Jl]]),
|
|
2423
|
+
const Ql = /* @__PURE__ */ be(Yl, [["render", Jl]]), Mi = "badge_v1", cn = "breadcrumbs_v1", De = "bar_chart_v1", Re = "btn_v1", Me = "btn_group_v1", Fe = "btn_toggle_v1", He = "card_v1", Oe = "checkbox_v1", Ge = "chip_v1", Ke = "chip_group_v1", je = "color_picker_v1", Ue = "combobox_v1", Ze = "container_v1", qe = "data_table_v1", Xe = "date_picker_v1", Ye = "dialog_v1", Je = "file_input_v1", Qe = "flex_layout_v1", Fi = "flex_layout_entry_v1", et = "form_v1", tt = "icon_v1", nt = "globality_v1", it = "line_chart_v1", ot = "menu_v1", st = "number_input_v1", lt = "pagination_v1", Hi = "radio_v1", rt = "radio_group_v1", at = "range_slider_v1", ut = "rating_v1", we = "ref_v1", dt = "select_v1", ct = "slider_v1", mt = "stepper_v1", Oi = "stepper_header_v1", Gi = "stepper_item_v1", Ki = "stepper_window_v1", ji = "stepper_window_item_v1", pt = "switch_v1", Ui = "tab_v1", ft = "tabs_v1", bt = "text_v1", vt = "textarea_v1", yt = "text_field_v1", ht = "timeline_v1", Zi = "timeline_item_v1", gt = "window_v1", qi = "window_item_v1", b = {
|
|
2424
2424
|
key: "basic",
|
|
2425
2425
|
name: "x-runtime-lib.basic",
|
|
2426
2426
|
children: [
|
|
@@ -2536,7 +2536,7 @@ const Ql = /* @__PURE__ */ be(Yl, [["render", Jl]]), Ri = "badge_v1", cn = "brea
|
|
|
2536
2536
|
]
|
|
2537
2537
|
}
|
|
2538
2538
|
]
|
|
2539
|
-
},
|
|
2539
|
+
}, $e = {
|
|
2540
2540
|
key: "legend",
|
|
2541
2541
|
name: "x-runtime-lib.legend",
|
|
2542
2542
|
children: [
|
|
@@ -2674,7 +2674,7 @@ const Ql = /* @__PURE__ */ be(Yl, [["render", Jl]]), Ri = "badge_v1", cn = "brea
|
|
|
2674
2674
|
default: ""
|
|
2675
2675
|
}
|
|
2676
2676
|
]
|
|
2677
|
-
},
|
|
2677
|
+
}, Ce = {
|
|
2678
2678
|
key: "title",
|
|
2679
2679
|
name: "x-runtime-lib.title",
|
|
2680
2680
|
children: [
|
|
@@ -2697,7 +2697,7 @@ const Ql = /* @__PURE__ */ be(Yl, [["render", Jl]]), Ri = "badge_v1", cn = "brea
|
|
|
2697
2697
|
default: ""
|
|
2698
2698
|
}
|
|
2699
2699
|
]
|
|
2700
|
-
},
|
|
2700
|
+
}, Ie = {
|
|
2701
2701
|
key: "xAxis",
|
|
2702
2702
|
name: "x-runtime-lib.xAxis",
|
|
2703
2703
|
children: [
|
|
@@ -2730,7 +2730,7 @@ const Ql = /* @__PURE__ */ be(Yl, [["render", Jl]]), Ri = "badge_v1", cn = "brea
|
|
|
2730
2730
|
defaultArray: []
|
|
2731
2731
|
}
|
|
2732
2732
|
]
|
|
2733
|
-
},
|
|
2733
|
+
}, Se = {
|
|
2734
2734
|
key: "yAxis",
|
|
2735
2735
|
name: "x-runtime-lib.yAxis",
|
|
2736
2736
|
children: [
|
|
@@ -2812,8 +2812,8 @@ const mn = {
|
|
|
2812
2812
|
events: [],
|
|
2813
2813
|
methods: [],
|
|
2814
2814
|
props: {
|
|
2815
|
-
pageCommon: [b, H,
|
|
2816
|
-
compCommon: [b, H,
|
|
2815
|
+
pageCommon: [b, H, Ce, Ie, Se, $e, mn],
|
|
2816
|
+
compCommon: [b, H, Ce, Ie, Se, $e, mn]
|
|
2817
2817
|
},
|
|
2818
2818
|
spawn: tr
|
|
2819
2819
|
};
|
|
@@ -2866,8 +2866,8 @@ const pn = {
|
|
|
2866
2866
|
events: [],
|
|
2867
2867
|
methods: [],
|
|
2868
2868
|
props: {
|
|
2869
|
-
pageCommon: [b, H,
|
|
2870
|
-
compCommon: [b, H,
|
|
2869
|
+
pageCommon: [b, H, Ce, Ie, Se, $e, pn],
|
|
2870
|
+
compCommon: [b, H, Ce, Ie, Se, $e, pn]
|
|
2871
2871
|
},
|
|
2872
2872
|
spawn: nr
|
|
2873
2873
|
};
|
|
@@ -2940,7 +2940,7 @@ const bn = {
|
|
|
2940
2940
|
}
|
|
2941
2941
|
]
|
|
2942
2942
|
}, or = {
|
|
2943
|
-
key:
|
|
2943
|
+
key: we,
|
|
2944
2944
|
name: "x-runtime-lib.ref",
|
|
2945
2945
|
comp: Gs,
|
|
2946
2946
|
slots: [],
|
|
@@ -2988,7 +2988,7 @@ const vn = {
|
|
|
2988
2988
|
}
|
|
2989
2989
|
]
|
|
2990
2990
|
}, qa = {
|
|
2991
|
-
key:
|
|
2991
|
+
key: Mi,
|
|
2992
2992
|
name: "x-runtime-lib.badge",
|
|
2993
2993
|
comp: Ks,
|
|
2994
2994
|
slots: [
|
|
@@ -3877,7 +3877,7 @@ const Sn = {
|
|
|
3877
3877
|
}
|
|
3878
3878
|
]
|
|
3879
3879
|
}, Ct = {
|
|
3880
|
-
key:
|
|
3880
|
+
key: Fi,
|
|
3881
3881
|
name: "x-runtime-lib.flexLayoutEntry",
|
|
3882
3882
|
comp: pl,
|
|
3883
3883
|
slots: [
|
|
@@ -4830,7 +4830,7 @@ const Ir = R(U), Dn = {
|
|
|
4830
4830
|
Ir
|
|
4831
4831
|
]
|
|
4832
4832
|
}, At = {
|
|
4833
|
-
key:
|
|
4833
|
+
key: Hi,
|
|
4834
4834
|
name: "x-runtime-lib.radio",
|
|
4835
4835
|
comp: xl,
|
|
4836
4836
|
slots: [],
|
|
@@ -4855,12 +4855,12 @@ function Sr(t, e) {
|
|
|
4855
4855
|
}
|
|
4856
4856
|
const o = {};
|
|
4857
4857
|
return L(o, l), o.basic.id = N(16), o.basic.key = Nt.key, o.children = [
|
|
4858
|
-
|
|
4859
|
-
|
|
4860
|
-
|
|
4858
|
+
Ne(t, e, "option1", "Option 1"),
|
|
4859
|
+
Ne(t, e, "option2", "Option 2"),
|
|
4860
|
+
Ne(t, e, "option3", "Option 3")
|
|
4861
4861
|
], o.settings.value = "option1", o;
|
|
4862
4862
|
}
|
|
4863
|
-
function
|
|
4863
|
+
function Ne(t, e, i, s) {
|
|
4864
4864
|
const l = `type=${t} subtype=${e}`, o = E(t, e);
|
|
4865
4865
|
if (!o) {
|
|
4866
4866
|
console.error(`radioGroupV1/spawnEntry prop tag not found, ${l}`);
|
|
@@ -5337,7 +5337,7 @@ const On = {
|
|
|
5337
5337
|
};
|
|
5338
5338
|
I(Nr);
|
|
5339
5339
|
const Pt = {
|
|
5340
|
-
key:
|
|
5340
|
+
key: Oi,
|
|
5341
5341
|
name: "x-runtime-lib.stepperHeader",
|
|
5342
5342
|
comp: Pl,
|
|
5343
5343
|
slots: [
|
|
@@ -5366,7 +5366,7 @@ const Kn = {
|
|
|
5366
5366
|
}
|
|
5367
5367
|
]
|
|
5368
5368
|
}, Lt = {
|
|
5369
|
-
key:
|
|
5369
|
+
key: Gi,
|
|
5370
5370
|
name: "x-runtime-lib.stepperItem",
|
|
5371
5371
|
comp: Ll,
|
|
5372
5372
|
slots: [
|
|
@@ -5384,7 +5384,7 @@ const Kn = {
|
|
|
5384
5384
|
};
|
|
5385
5385
|
I(Lt);
|
|
5386
5386
|
const Et = {
|
|
5387
|
-
key:
|
|
5387
|
+
key: Ki,
|
|
5388
5388
|
name: "x-runtime-lib.stepperWindow",
|
|
5389
5389
|
comp: Bl,
|
|
5390
5390
|
slots: [
|
|
@@ -5413,7 +5413,7 @@ const jn = {
|
|
|
5413
5413
|
}
|
|
5414
5414
|
]
|
|
5415
5415
|
}, Wt = {
|
|
5416
|
-
key:
|
|
5416
|
+
key: ji,
|
|
5417
5417
|
name: "x-runtime-lib.stepperWindowItem",
|
|
5418
5418
|
comp: Dl,
|
|
5419
5419
|
slots: [
|
|
@@ -5457,12 +5457,12 @@ function Lr(t, e) {
|
|
|
5457
5457
|
}
|
|
5458
5458
|
const o = {};
|
|
5459
5459
|
return L(o, l), o.basic.id = N(16), o.basic.key = Pt.key, o.children = [
|
|
5460
|
-
|
|
5461
|
-
|
|
5462
|
-
|
|
5460
|
+
Pe(t, e, "step1"),
|
|
5461
|
+
Pe(t, e, "step2"),
|
|
5462
|
+
Pe(t, e, "step3")
|
|
5463
5463
|
], o;
|
|
5464
5464
|
}
|
|
5465
|
-
function
|
|
5465
|
+
function Pe(t, e, i) {
|
|
5466
5466
|
const s = `type=${t} subtype=${e}`, l = E(t, e);
|
|
5467
5467
|
if (!l) {
|
|
5468
5468
|
console.error(`stepperV1/spawnItem prop tag not found, ${s}`);
|
|
@@ -5489,12 +5489,12 @@ function Er(t, e) {
|
|
|
5489
5489
|
}
|
|
5490
5490
|
const o = {};
|
|
5491
5491
|
return L(o, l), o.basic.id = N(16), o.basic.key = Et.key, o.children = [
|
|
5492
|
-
|
|
5493
|
-
|
|
5494
|
-
|
|
5492
|
+
Le(t, e, "step1", "step 1"),
|
|
5493
|
+
Le(t, e, "step2", "step 2"),
|
|
5494
|
+
Le(t, e, "step3", "step 3")
|
|
5495
5495
|
], o;
|
|
5496
5496
|
}
|
|
5497
|
-
function
|
|
5497
|
+
function Le(t, e, i, s) {
|
|
5498
5498
|
const l = `type=${t} subtype=${e}`, o = E(t, e);
|
|
5499
5499
|
if (!o) {
|
|
5500
5500
|
console.error(`stepperV1/spawnWindowItem prop tag not found, ${l}`);
|
|
@@ -5589,7 +5589,7 @@ const Zn = {
|
|
|
5589
5589
|
}
|
|
5590
5590
|
]
|
|
5591
5591
|
}, Dt = {
|
|
5592
|
-
key:
|
|
5592
|
+
key: Ui,
|
|
5593
5593
|
name: "x-runtime-lib.tab",
|
|
5594
5594
|
comp: Fl,
|
|
5595
5595
|
slots: [],
|
|
@@ -5614,12 +5614,12 @@ function Dr(t, e) {
|
|
|
5614
5614
|
}
|
|
5615
5615
|
const o = {};
|
|
5616
5616
|
return L(o, l), o.basic.id = N(16), o.basic.key = Rt.key, o.children = [
|
|
5617
|
-
|
|
5618
|
-
|
|
5619
|
-
|
|
5617
|
+
Ee(t, e, "tab1", "tab 1"),
|
|
5618
|
+
Ee(t, e, "tab2", "tab 2"),
|
|
5619
|
+
Ee(t, e, "tab3", "tab 3")
|
|
5620
5620
|
], o;
|
|
5621
5621
|
}
|
|
5622
|
-
function
|
|
5622
|
+
function Ee(t, e, i, s) {
|
|
5623
5623
|
const l = `type=${t} subtype=${e}`, o = E(t, e);
|
|
5624
5624
|
if (!o) {
|
|
5625
5625
|
console.error(`tabsV1/spawnTab prop tag not found, ${l}`);
|
|
@@ -5954,7 +5954,7 @@ const Yn = {
|
|
|
5954
5954
|
};
|
|
5955
5955
|
I(Mt);
|
|
5956
5956
|
const Ft = {
|
|
5957
|
-
key:
|
|
5957
|
+
key: Zi,
|
|
5958
5958
|
name: "x-runtime-lib.timelineItem",
|
|
5959
5959
|
comp: ql,
|
|
5960
5960
|
slots: [
|
|
@@ -5984,12 +5984,12 @@ function Fr(t, e) {
|
|
|
5984
5984
|
}
|
|
5985
5985
|
const o = {};
|
|
5986
5986
|
return L(o, l), o.basic.id = N(16), o.basic.key = Ht.key, o.children = [
|
|
5987
|
-
|
|
5988
|
-
|
|
5989
|
-
|
|
5987
|
+
We(t, e, "timeline 1"),
|
|
5988
|
+
We(t, e, "timeline 2"),
|
|
5989
|
+
We(t, e, "timeline 3")
|
|
5990
5990
|
], o;
|
|
5991
5991
|
}
|
|
5992
|
-
function
|
|
5992
|
+
function We(t, e, i) {
|
|
5993
5993
|
const s = `type=${t} subtype=${e}`, l = E(t, e);
|
|
5994
5994
|
if (!l) {
|
|
5995
5995
|
console.error(`timelineV1/spawnEntry prop tag not found, ${s}`);
|
|
@@ -6115,7 +6115,7 @@ const Or = R(U), Gr = R(U), Jn = {
|
|
|
6115
6115
|
};
|
|
6116
6116
|
I(Ht);
|
|
6117
6117
|
const Ot = {
|
|
6118
|
-
key:
|
|
6118
|
+
key: qi,
|
|
6119
6119
|
name: "x-runtime-lib.windowItem",
|
|
6120
6120
|
comp: Ql,
|
|
6121
6121
|
slots: [
|
|
@@ -6145,12 +6145,12 @@ function Kr(t, e) {
|
|
|
6145
6145
|
}
|
|
6146
6146
|
const o = {};
|
|
6147
6147
|
return L(o, l), o.basic.id = N(16), o.basic.key = Gt.key, o.children = [
|
|
6148
|
-
|
|
6149
|
-
|
|
6150
|
-
|
|
6148
|
+
Be(t, e, "window 1"),
|
|
6149
|
+
Be(t, e, "window 2"),
|
|
6150
|
+
Be(t, e, "window 3")
|
|
6151
6151
|
], o;
|
|
6152
6152
|
}
|
|
6153
|
-
function
|
|
6153
|
+
function Be(t, e, i) {
|
|
6154
6154
|
const s = `type=${t} subtype=${e}`, l = E(t, e);
|
|
6155
6155
|
if (!l) {
|
|
6156
6156
|
console.error(`windowV1/spawnEntry prop tag not found, ${s}`);
|
|
@@ -6468,7 +6468,7 @@ const Zr = [
|
|
|
6468
6468
|
title: "x-runtime-lib.pixel",
|
|
6469
6469
|
value: "pixel",
|
|
6470
6470
|
ui: "pixelInput",
|
|
6471
|
-
validator:
|
|
6471
|
+
validator: Te,
|
|
6472
6472
|
default: "0px",
|
|
6473
6473
|
precision: 0,
|
|
6474
6474
|
min: 0,
|
|
@@ -6516,7 +6516,7 @@ const Zr = [
|
|
|
6516
6516
|
title: "x-runtime-lib.pixel",
|
|
6517
6517
|
value: "pixel",
|
|
6518
6518
|
ui: "pixelInput",
|
|
6519
|
-
validator:
|
|
6519
|
+
validator: Te,
|
|
6520
6520
|
default: "0px"
|
|
6521
6521
|
},
|
|
6522
6522
|
{
|
|
@@ -6539,7 +6539,7 @@ const Zr = [
|
|
|
6539
6539
|
title: "x-runtime-lib.pixel",
|
|
6540
6540
|
value: "pixel",
|
|
6541
6541
|
ui: "pixelInput",
|
|
6542
|
-
validator:
|
|
6542
|
+
validator: Te,
|
|
6543
6543
|
min: 0,
|
|
6544
6544
|
default: "0px"
|
|
6545
6545
|
},
|
|
@@ -6564,7 +6564,7 @@ const Zr = [
|
|
|
6564
6564
|
title: "x-runtime-lib.pixel",
|
|
6565
6565
|
value: "pixel",
|
|
6566
6566
|
ui: "pixelInput",
|
|
6567
|
-
validator:
|
|
6567
|
+
validator: Te,
|
|
6568
6568
|
min: 0,
|
|
6569
6569
|
default: "0px"
|
|
6570
6570
|
},
|
|
@@ -6640,7 +6640,7 @@ const Zr = [
|
|
|
6640
6640
|
}, Symbol.toStringTag, { value: "Module" })), Sa = {
|
|
6641
6641
|
version: "v1",
|
|
6642
6642
|
globalityKey: nt,
|
|
6643
|
-
refKey:
|
|
6643
|
+
refKey: we,
|
|
6644
6644
|
items: { ...ga },
|
|
6645
6645
|
types: { ...Ia },
|
|
6646
6646
|
elements: /* @__PURE__ */ new Set([
|
|
@@ -6661,7 +6661,7 @@ const Zr = [
|
|
|
6661
6661
|
Ye,
|
|
6662
6662
|
Je,
|
|
6663
6663
|
Qe,
|
|
6664
|
-
|
|
6664
|
+
Fi,
|
|
6665
6665
|
et,
|
|
6666
6666
|
nt,
|
|
6667
6667
|
tt,
|
|
@@ -6669,28 +6669,28 @@ const Zr = [
|
|
|
6669
6669
|
ot,
|
|
6670
6670
|
st,
|
|
6671
6671
|
lt,
|
|
6672
|
-
|
|
6672
|
+
Hi,
|
|
6673
6673
|
rt,
|
|
6674
6674
|
at,
|
|
6675
6675
|
ut,
|
|
6676
|
-
|
|
6676
|
+
we,
|
|
6677
6677
|
dt,
|
|
6678
6678
|
ct,
|
|
6679
6679
|
mt,
|
|
6680
|
-
Hi,
|
|
6681
6680
|
Oi,
|
|
6682
6681
|
Gi,
|
|
6683
6682
|
Ki,
|
|
6684
|
-
pt,
|
|
6685
6683
|
ji,
|
|
6684
|
+
pt,
|
|
6685
|
+
Ui,
|
|
6686
6686
|
ft,
|
|
6687
6687
|
bt,
|
|
6688
6688
|
vt,
|
|
6689
6689
|
yt,
|
|
6690
6690
|
ht,
|
|
6691
|
-
|
|
6691
|
+
Zi,
|
|
6692
6692
|
gt,
|
|
6693
|
-
|
|
6693
|
+
qi
|
|
6694
6694
|
]),
|
|
6695
6695
|
groups: [
|
|
6696
6696
|
{
|
|
@@ -6704,7 +6704,7 @@ const Zr = [
|
|
|
6704
6704
|
Qe,
|
|
6705
6705
|
Ye,
|
|
6706
6706
|
ot,
|
|
6707
|
-
|
|
6707
|
+
we
|
|
6708
6708
|
]
|
|
6709
6709
|
},
|
|
6710
6710
|
{
|
|
@@ -6750,7 +6750,7 @@ const Zr = [
|
|
|
6750
6750
|
{
|
|
6751
6751
|
key: "feedback",
|
|
6752
6752
|
name: "x-runtime-lib.feedback",
|
|
6753
|
-
items: [
|
|
6753
|
+
items: [Mi, ut, ht]
|
|
6754
6754
|
},
|
|
6755
6755
|
{
|
|
6756
6756
|
key: "imagesAndIcons",
|
|
@@ -6772,16 +6772,16 @@ const Zr = [
|
|
|
6772
6772
|
});
|
|
6773
6773
|
};
|
|
6774
6774
|
async function Ya(t) {
|
|
6775
|
-
return (await Ta(/* @__PURE__ */ Object.assign({ "./locales/en/index.ts": () => import("./i18n-en.
|
|
6775
|
+
return (await Ta(/* @__PURE__ */ Object.assign({ "./locales/en/index.ts": () => import("./i18n-en.kt9hy7ly.js"), "./locales/zhHans/index.ts": () => import("./i18n-zhHans.d5y1j94g.js") }), `./locales/${t}/index.ts`, 4)).default;
|
|
6776
6776
|
}
|
|
6777
6777
|
export {
|
|
6778
6778
|
qa as badgeV1,
|
|
6779
6779
|
xt as barChartV1,
|
|
6780
|
-
|
|
6780
|
+
xi as breakpoints,
|
|
6781
6781
|
rr as btnGroupV1,
|
|
6782
6782
|
ar as btnToggleV1,
|
|
6783
6783
|
_t as btnV1,
|
|
6784
|
-
|
|
6784
|
+
ki as calcBreakpoint,
|
|
6785
6785
|
ye as cardV1,
|
|
6786
6786
|
dr as checkboxV1,
|
|
6787
6787
|
Vt as chipGroupV1,
|
|
@@ -6812,22 +6812,22 @@ export {
|
|
|
6812
6812
|
L as initProps,
|
|
6813
6813
|
B as injectDark,
|
|
6814
6814
|
ie as injectData,
|
|
6815
|
-
|
|
6815
|
+
Pi as injectDepends,
|
|
6816
6816
|
te as injectDevice,
|
|
6817
|
-
|
|
6817
|
+
Ni as injectEnv,
|
|
6818
6818
|
F as injectMode,
|
|
6819
|
-
|
|
6820
|
-
|
|
6819
|
+
Ai as injectOrg,
|
|
6820
|
+
ze as injectSandbox,
|
|
6821
6821
|
ne as injectType,
|
|
6822
6822
|
Xt as isPercentStr,
|
|
6823
|
-
|
|
6823
|
+
Te as isPixelStr,
|
|
6824
6824
|
kt as lineChartV1,
|
|
6825
6825
|
Ya as loadLocaleMessageRuntime,
|
|
6826
6826
|
Vr as menuV1,
|
|
6827
|
-
|
|
6827
|
+
Ri as newEventBus,
|
|
6828
6828
|
zt as numberInputV1,
|
|
6829
6829
|
Cr as paginationV1,
|
|
6830
|
-
|
|
6830
|
+
Ae as parsePercentStr,
|
|
6831
6831
|
Wa as parsePixelStr,
|
|
6832
6832
|
rn as pkgs,
|
|
6833
6833
|
Oa as provideDark,
|
|
@@ -6837,7 +6837,7 @@ export {
|
|
|
6837
6837
|
Ma as provideEnv,
|
|
6838
6838
|
Fa as provideMode,
|
|
6839
6839
|
Ra as provideOrg,
|
|
6840
|
-
|
|
6840
|
+
Li as provideSandbox,
|
|
6841
6841
|
Ga as provideType,
|
|
6842
6842
|
Nt as radioGroupV1,
|
|
6843
6843
|
At as radioV1,
|
|
@@ -6848,13 +6848,13 @@ export {
|
|
|
6848
6848
|
Ar as selectV1,
|
|
6849
6849
|
Nr as sliderV1,
|
|
6850
6850
|
wo as spawnNode,
|
|
6851
|
-
|
|
6851
|
+
Bi as startInterpreter,
|
|
6852
6852
|
Pt as stepperHeaderV1,
|
|
6853
6853
|
Lt as stepperItemV1,
|
|
6854
6854
|
Bt as stepperV1,
|
|
6855
6855
|
Wt as stepperWindowItemV1,
|
|
6856
6856
|
Et as stepperWindowV1,
|
|
6857
|
-
|
|
6857
|
+
Di as stopInterpreter,
|
|
6858
6858
|
Br as switchV1,
|
|
6859
6859
|
Dt as tabV1,
|
|
6860
6860
|
Rt as tabsV1,
|