x-runtime-lib 0.8.107 → 0.8.109
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +96 -104
- package/dist/types/basic.d.ts +0 -3
- package/dist/types/element.d.ts +1 -1
- package/dist/types/meta.d.ts +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -124,22 +124,7 @@ function Xc(t, n = 2) {
|
|
|
124
124
|
function ne(t) {
|
|
125
125
|
return t === "runtime" || t === "preview";
|
|
126
126
|
}
|
|
127
|
-
|
|
128
|
-
function Zc(t) {
|
|
129
|
-
switch (t) {
|
|
130
|
-
case "string":
|
|
131
|
-
return "#5ba58c";
|
|
132
|
-
case "number":
|
|
133
|
-
return "#5b67a5";
|
|
134
|
-
case "boolean":
|
|
135
|
-
return "#5b80a5";
|
|
136
|
-
case "array":
|
|
137
|
-
return "#745ba5";
|
|
138
|
-
case "object":
|
|
139
|
-
return "#80a55b";
|
|
140
|
-
}
|
|
141
|
-
}
|
|
142
|
-
function Qc(t, n, e, o, s) {
|
|
127
|
+
function Yc(t, n, e, o, s) {
|
|
143
128
|
let r = t;
|
|
144
129
|
for (let c = 0; c < n.length; c++)
|
|
145
130
|
if (r = r.children[n[c]], !r) {
|
|
@@ -174,19 +159,28 @@ function E(t, n) {
|
|
|
174
159
|
};
|
|
175
160
|
}
|
|
176
161
|
const $i = ["common", "scene"], Ci = ["common", "scene"];
|
|
177
|
-
function
|
|
178
|
-
const
|
|
162
|
+
function Zc({ type: t, version: n, view: e, code: o }) {
|
|
163
|
+
const s = (c, u) => {
|
|
164
|
+
const p = { id: u.id };
|
|
165
|
+
u.children && (p.children = [], u.children.forEach((d) => {
|
|
166
|
+
s(p.children, d);
|
|
167
|
+
})), c.push(p);
|
|
168
|
+
}, r = [];
|
|
169
|
+
e.nodeLites.forEach((c) => {
|
|
170
|
+
s(r, c);
|
|
171
|
+
});
|
|
172
|
+
const a = {
|
|
179
173
|
type: t,
|
|
180
174
|
version: n,
|
|
181
175
|
view: {
|
|
182
|
-
nodeLites:
|
|
176
|
+
nodeLites: r,
|
|
183
177
|
nodes: e.nodes
|
|
184
178
|
},
|
|
185
179
|
code: o
|
|
186
180
|
};
|
|
187
|
-
return JSON.stringify(
|
|
181
|
+
return JSON.stringify(a);
|
|
188
182
|
}
|
|
189
|
-
function
|
|
183
|
+
function Qc(t) {
|
|
190
184
|
const { type: n, version: e, view: o, code: s } = JSON.parse(t), r = {
|
|
191
185
|
type: n,
|
|
192
186
|
version: e,
|
|
@@ -201,7 +195,7 @@ function tu(t) {
|
|
|
201
195
|
a(c, r.view.nodes[c.id]);
|
|
202
196
|
}), r;
|
|
203
197
|
}
|
|
204
|
-
const
|
|
198
|
+
const eu = [
|
|
205
199
|
"globality_v1",
|
|
206
200
|
"multiple_ref_v1",
|
|
207
201
|
"reference_v1",
|
|
@@ -310,23 +304,23 @@ function Pi(t) {
|
|
|
310
304
|
}
|
|
311
305
|
return !0;
|
|
312
306
|
}
|
|
313
|
-
function
|
|
307
|
+
function tu(t) {
|
|
314
308
|
switch (t) {
|
|
315
309
|
case "customSlot":
|
|
316
310
|
return !1;
|
|
317
311
|
}
|
|
318
312
|
return !0;
|
|
319
313
|
}
|
|
320
|
-
function
|
|
314
|
+
function nu(t) {
|
|
321
315
|
return JSON.stringify(t);
|
|
322
316
|
}
|
|
323
|
-
function
|
|
317
|
+
function ou(t) {
|
|
324
318
|
return JSON.parse(t);
|
|
325
319
|
}
|
|
326
|
-
function
|
|
320
|
+
function iu(t) {
|
|
327
321
|
return JSON.stringify(t);
|
|
328
322
|
}
|
|
329
|
-
function
|
|
323
|
+
function ru(t) {
|
|
330
324
|
return JSON.parse(t);
|
|
331
325
|
}
|
|
332
326
|
function $o(t) {
|
|
@@ -345,17 +339,17 @@ function Ht(t, n, e) {
|
|
|
345
339
|
a > 0 && (s += " - "), e ? s += o.global.t(r) : s += r;
|
|
346
340
|
}), s;
|
|
347
341
|
}
|
|
348
|
-
function
|
|
342
|
+
function su(t, n) {
|
|
349
343
|
const { i18n: e } = we;
|
|
350
344
|
let o = "";
|
|
351
345
|
return t === "elementProperty" || (t === "referenceProperty" || t === "multipleRefProperty" || t === "customProperty" ? o = e.global.t("x-runtime-lib.custom") : t === "customSlotProperty" ? o = e.global.t("x-runtime-lib.customSlot") : t === "adaptSlotElementProperty" || t === "adaptSlotCustomProperty" ? o = e.global.t("x-runtime-lib.adaptSlot") : console.assert(!1)), Ht(o, n, Ii(t));
|
|
352
346
|
}
|
|
353
|
-
function
|
|
347
|
+
function lu(t, n) {
|
|
354
348
|
const { i18n: e } = we;
|
|
355
349
|
let o = "";
|
|
356
350
|
return t === "elementMethod" || (t === "referenceMethod" || t === "multipleRefMethod" || t === "customMethod" ? o = e.global.t("x-runtime-lib.custom") : t === "customSlotMethod" ? o = e.global.t("x-runtime-lib.customSlot") : t === "adaptSlotElementMethod" || t === "adaptSlotCustomMethod" ? o = e.global.t("x-runtime-lib.adaptSlot") : console.assert(!1)), Ht(o, n, Vi(t));
|
|
357
351
|
}
|
|
358
|
-
function
|
|
352
|
+
function au(t, n) {
|
|
359
353
|
const { i18n: e } = we;
|
|
360
354
|
let o = "";
|
|
361
355
|
return t === "elementEvent" || (t === "referenceEvent" || t === "multipleRefEvent" || t === "customEvent" ? o = e.global.t("x-runtime-lib.custom") : t === "customSlotEvent" ? o = e.global.t("x-runtime-lib.customSlot") : t === "adaptSlotElementEvent" || t === "adaptSlotCustomEvent" ? o = e.global.t("x-runtime-lib.adaptSlot") : t === "elementPropertyChangeEvent" ? o = e.global.t("x-runtime-lib.propertyChange") : t === "referencePropertyChangeEvent" ? o = e.global.t("x-runtime-lib.referencePropertyChange") : t === "multipleRefPropertyChangeEvent" ? o = e.global.t("x-runtime-lib.multipleRefPropertyChange") : t === "customPropertyChangeEvent" ? o = e.global.t("x-runtime-lib.customPropertyChange") : t === "customSlotPropertyChangeEvent" ? o = e.global.t("x-runtime-lib.customSlotPropertyChange") : t === "adaptSlotElementPropertyChangeEvent" || t === "adaptSlotCustomPropertyChangeEvent" ? o = e.global.t("x-runtime-lib.adaptSlotPropertyChange") : t === "stateChangeEvent" ? o = e.global.t("x-runtime-lib.stateChange") : console.assert(!1)), Ht(o, n, Pi(t));
|
|
@@ -5206,7 +5200,7 @@ const Mn = {
|
|
|
5206
5200
|
key: "settings",
|
|
5207
5201
|
name: "x-runtime-lib.settings",
|
|
5208
5202
|
children: []
|
|
5209
|
-
},
|
|
5203
|
+
}, cu = {
|
|
5210
5204
|
key: "common_file_input_v1",
|
|
5211
5205
|
name: "x-runtime-lib.fileInput",
|
|
5212
5206
|
comp: Es,
|
|
@@ -8352,7 +8346,7 @@ function A(t, n) {
|
|
|
8352
8346
|
}
|
|
8353
8347
|
n.forEach((o) => e(t, o));
|
|
8354
8348
|
}
|
|
8355
|
-
function
|
|
8349
|
+
function uu(t, n, e, o, s) {
|
|
8356
8350
|
const r = `type=${t} subtype=${n} version=${e} ref=${o} keyOrRefId=${s}`, a = B(t, n);
|
|
8357
8351
|
if (!a) {
|
|
8358
8352
|
console.error(`spawnNode property tag not found, ${r}`);
|
|
@@ -8419,7 +8413,7 @@ function pu(t, n, e, o, s) {
|
|
|
8419
8413
|
}
|
|
8420
8414
|
}
|
|
8421
8415
|
}
|
|
8422
|
-
function
|
|
8416
|
+
function mu(t, n) {
|
|
8423
8417
|
function e(o) {
|
|
8424
8418
|
if (o.id === n)
|
|
8425
8419
|
return o;
|
|
@@ -8448,59 +8442,59 @@ function wc(t) {
|
|
|
8448
8442
|
a.basic.id = n[a.basic.id], s[a.basic.id] = a;
|
|
8449
8443
|
}), { nodeLite: o, nodes: s };
|
|
8450
8444
|
}
|
|
8451
|
-
function
|
|
8445
|
+
function pu(t) {
|
|
8452
8446
|
return t.map((n) => wc(n));
|
|
8453
8447
|
}
|
|
8454
8448
|
const To = "runtimeOrg", Eo = "runtimeEnv", Ao = "runtimeMode", Mo = "runtimeDevice", Bo = "runtimeDark", Wo = "runtimeType", Ro = "runtimeData", Ko = "runtimeDepends", Do = "runtimeRuntime", Oo = "runtimeSandbox";
|
|
8455
|
-
function
|
|
8449
|
+
function du(t) {
|
|
8456
8450
|
me(To, t);
|
|
8457
8451
|
}
|
|
8458
8452
|
function Sc() {
|
|
8459
8453
|
return ue(To);
|
|
8460
8454
|
}
|
|
8461
|
-
function
|
|
8455
|
+
function fu(t) {
|
|
8462
8456
|
me(Eo, t);
|
|
8463
8457
|
}
|
|
8464
8458
|
function $c() {
|
|
8465
8459
|
return ue(Eo);
|
|
8466
8460
|
}
|
|
8467
|
-
function
|
|
8461
|
+
function yu(t) {
|
|
8468
8462
|
me(Ao, t);
|
|
8469
8463
|
}
|
|
8470
8464
|
function J() {
|
|
8471
8465
|
return ue(Ao);
|
|
8472
8466
|
}
|
|
8473
|
-
function
|
|
8467
|
+
function bu(t) {
|
|
8474
8468
|
me(Mo, Nt(t));
|
|
8475
8469
|
}
|
|
8476
8470
|
function Be() {
|
|
8477
8471
|
return ue(Mo);
|
|
8478
8472
|
}
|
|
8479
|
-
function
|
|
8473
|
+
function gu(t) {
|
|
8480
8474
|
me(Bo, Nt(t));
|
|
8481
8475
|
}
|
|
8482
8476
|
function Ue() {
|
|
8483
8477
|
return ue(Bo);
|
|
8484
8478
|
}
|
|
8485
|
-
function
|
|
8479
|
+
function hu(t) {
|
|
8486
8480
|
me(Wo, t);
|
|
8487
8481
|
}
|
|
8488
8482
|
function he() {
|
|
8489
8483
|
return ue(Wo);
|
|
8490
8484
|
}
|
|
8491
|
-
function
|
|
8485
|
+
function _u(t) {
|
|
8492
8486
|
me(Ro, t);
|
|
8493
8487
|
}
|
|
8494
8488
|
function _e() {
|
|
8495
8489
|
return ue(Ro);
|
|
8496
8490
|
}
|
|
8497
|
-
function
|
|
8491
|
+
function vu(t) {
|
|
8498
8492
|
me(Ko, Nt(t));
|
|
8499
8493
|
}
|
|
8500
8494
|
function Cc() {
|
|
8501
8495
|
return ue(Ko);
|
|
8502
8496
|
}
|
|
8503
|
-
function
|
|
8497
|
+
function xu(t) {
|
|
8504
8498
|
me(Do, t);
|
|
8505
8499
|
}
|
|
8506
8500
|
function Ic() {
|
|
@@ -8604,7 +8598,7 @@ function qe(t, n, e, o, s) {
|
|
|
8604
8598
|
}
|
|
8605
8599
|
}
|
|
8606
8600
|
}
|
|
8607
|
-
function
|
|
8601
|
+
function ku(t, n, e) {
|
|
8608
8602
|
return `${t}/${n}/${e}`;
|
|
8609
8603
|
}
|
|
8610
8604
|
function ao(t) {
|
|
@@ -8616,10 +8610,10 @@ function ao(t) {
|
|
|
8616
8610
|
let s = "";
|
|
8617
8611
|
return n.length > 2 ? s = n[2] : console.error(`unwrapPropertyId invalid propertyKey id=${t}`), { kind: e, nodeId: o, propertyKey: s };
|
|
8618
8612
|
}
|
|
8619
|
-
function
|
|
8613
|
+
function wu(t, n, e) {
|
|
8620
8614
|
return `${t}.${n}.${e}`;
|
|
8621
8615
|
}
|
|
8622
|
-
function
|
|
8616
|
+
function Su(t) {
|
|
8623
8617
|
const n = t.split(".");
|
|
8624
8618
|
let e = "";
|
|
8625
8619
|
n.length > 0 ? e = n[0] : console.error(
|
|
@@ -8636,10 +8630,10 @@ function Cu(t) {
|
|
|
8636
8630
|
propertyKey: s
|
|
8637
8631
|
};
|
|
8638
8632
|
}
|
|
8639
|
-
function
|
|
8633
|
+
function $u(t, n, e) {
|
|
8640
8634
|
return `${t}.${n}.${e}`;
|
|
8641
8635
|
}
|
|
8642
|
-
function
|
|
8636
|
+
function Cu(t) {
|
|
8643
8637
|
const n = t.split(".");
|
|
8644
8638
|
let e = "";
|
|
8645
8639
|
n.length > 0 ? e = n[0] : console.error(`unwrapPropertyKeyOfCustomSlot invalid compId key=${t}`);
|
|
@@ -8660,10 +8654,10 @@ function Fo(t) {
|
|
|
8660
8654
|
let s = "";
|
|
8661
8655
|
return n.length > 2 ? s = n[2] : console.error(`unwrapMethodId invalid methodKey id=${t}`), { kind: e, nodeId: o, methodKey: s };
|
|
8662
8656
|
}
|
|
8663
|
-
function
|
|
8657
|
+
function Iu(t, n, e) {
|
|
8664
8658
|
return `${t}.${n}.${e}`;
|
|
8665
8659
|
}
|
|
8666
|
-
function
|
|
8660
|
+
function Vu(t) {
|
|
8667
8661
|
const n = t.split(".");
|
|
8668
8662
|
let e = "";
|
|
8669
8663
|
n.length > 0 ? e = n[0] : console.error(`unwrapMethodKeyOfElementSlot invalid elementKey key=${t}`);
|
|
@@ -8672,10 +8666,10 @@ function Lu(t) {
|
|
|
8672
8666
|
let s = "";
|
|
8673
8667
|
return n.length > 2 ? s = n[2] : console.error(`unwrapMethodKeyOfElementSlot invalid methodKey key=${t}`), { elementKey: e, slotKey: o, methodKey: s };
|
|
8674
8668
|
}
|
|
8675
|
-
function
|
|
8669
|
+
function Pu(t, n, e) {
|
|
8676
8670
|
return `${t}.${n}.${e}`;
|
|
8677
8671
|
}
|
|
8678
|
-
function
|
|
8672
|
+
function Lu(t) {
|
|
8679
8673
|
const n = t.split(".");
|
|
8680
8674
|
let e = "";
|
|
8681
8675
|
n.length > 0 ? e = n[0] : console.error(`unwrapMethodKeyOfCustomSlot invalid compId key=${t}`);
|
|
@@ -8696,10 +8690,10 @@ function Lc(t) {
|
|
|
8696
8690
|
let s = "";
|
|
8697
8691
|
return n.length > 2 ? s = n[2] : console.error(`unwrapEventId invalid eventKey id=${t}`), { kind: e, nodeId: o, eventKey: s };
|
|
8698
8692
|
}
|
|
8699
|
-
function
|
|
8693
|
+
function zu(t, n, e) {
|
|
8700
8694
|
return `${t}.${n}.${e}`;
|
|
8701
8695
|
}
|
|
8702
|
-
function
|
|
8696
|
+
function Tu(t) {
|
|
8703
8697
|
const n = t.split(".");
|
|
8704
8698
|
let e = "";
|
|
8705
8699
|
n.length > 0 ? e = n[0] : console.error(`unwrapEventKeyOfElementSlot invalid elementKey key=${t}`);
|
|
@@ -8708,10 +8702,10 @@ function Au(t) {
|
|
|
8708
8702
|
let s = "";
|
|
8709
8703
|
return n.length > 2 ? s = n[2] : console.error(`unwrapEventKeyOfElementSlot invalid eventKey key=${t}`), { elementKey: e, slotKey: o, eventKey: s };
|
|
8710
8704
|
}
|
|
8711
|
-
function
|
|
8705
|
+
function Eu(t, n, e) {
|
|
8712
8706
|
return `${t}.${n}.${e}`;
|
|
8713
8707
|
}
|
|
8714
|
-
function
|
|
8708
|
+
function Au(t) {
|
|
8715
8709
|
const n = t.split(".");
|
|
8716
8710
|
let e = "";
|
|
8717
8711
|
n.length > 0 ? e = n[0] : console.error(`makeEventKeyOfCustomSlot invalid compId key=${t}`);
|
|
@@ -8720,10 +8714,10 @@ function Bu(t) {
|
|
|
8720
8714
|
let s = "";
|
|
8721
8715
|
return n.length > 2 ? s = n[2] : console.error(`makeEventKeyOfCustomSlot invalid eventId key=${t}`), { compId: e, slotId: o, eventId: s };
|
|
8722
8716
|
}
|
|
8723
|
-
function
|
|
8717
|
+
function Mu(t, n, e) {
|
|
8724
8718
|
return `${t}/${n}/${e}`;
|
|
8725
8719
|
}
|
|
8726
|
-
function
|
|
8720
|
+
function Bu(t) {
|
|
8727
8721
|
const n = t.split("/");
|
|
8728
8722
|
let e = "elementSlot";
|
|
8729
8723
|
n.length > 0 ? e = n[0] : console.error(`unwrapSlotId invalid kind id=${t}`);
|
|
@@ -8743,7 +8737,7 @@ function rn(t, n) {
|
|
|
8743
8737
|
o.value !== s.dataSeq && (o.value = s.dataSeq, n.value = K(s.data));
|
|
8744
8738
|
});
|
|
8745
8739
|
}
|
|
8746
|
-
function
|
|
8740
|
+
function Wu() {
|
|
8747
8741
|
let t;
|
|
8748
8742
|
const n = async () => (t = (await vi()).newRuntime(), console.log("runtime created"), t);
|
|
8749
8743
|
return Ge(() => {
|
|
@@ -9369,7 +9363,7 @@ const Dc = (t, n, e) => {
|
|
|
9369
9363
|
(typeof queueMicrotask == "function" ? queueMicrotask : setTimeout)(r.bind(null, /* @__PURE__ */ new Error("Unknown variable dynamic import: " + n + (n.split("/").length !== e ? ". Note that variables only represent file names one level deep." : ""))));
|
|
9370
9364
|
});
|
|
9371
9365
|
};
|
|
9372
|
-
async function
|
|
9366
|
+
async function Ru(t) {
|
|
9373
9367
|
return (await Dc(/* @__PURE__ */ Object.assign({ "./locales/en/index.ts": () => import("./i18n-en.fcu7dx2e.js"), "./locales/zhHans/index.ts": () => import("./i18n-zhHans.ab9hc9dj.js") }), `./locales/${t}/index.ts`, 4)).default;
|
|
9374
9368
|
}
|
|
9375
9369
|
export {
|
|
@@ -9389,20 +9383,20 @@ export {
|
|
|
9389
9383
|
vt as chipV1,
|
|
9390
9384
|
na as colorPickerV1,
|
|
9391
9385
|
oa as comboboxV1,
|
|
9392
|
-
|
|
9386
|
+
iu as compMetaStringify,
|
|
9393
9387
|
Ci as compTypes,
|
|
9394
9388
|
kt as containerV1,
|
|
9395
|
-
|
|
9389
|
+
Zc as dataStringify,
|
|
9396
9390
|
ia as dataTableV1,
|
|
9397
9391
|
ra as datePickerV1,
|
|
9398
9392
|
sa as dialogV1,
|
|
9399
9393
|
Ll as directionalLightV1,
|
|
9400
9394
|
wc as duplicateNodePair,
|
|
9401
|
-
|
|
9402
|
-
|
|
9395
|
+
pu as duplicateNodePairs,
|
|
9396
|
+
eu as elementKeys,
|
|
9403
9397
|
Ke as elements,
|
|
9404
|
-
|
|
9405
|
-
|
|
9398
|
+
Yc as ensureContext,
|
|
9399
|
+
cu as fileInputV1,
|
|
9406
9400
|
wt as flexLayoutEntryV1,
|
|
9407
9401
|
Ne as flexLayoutV1,
|
|
9408
9402
|
Ct as formV1,
|
|
@@ -9410,10 +9404,9 @@ export {
|
|
|
9410
9404
|
We as getBreakpointProp,
|
|
9411
9405
|
xe as getField,
|
|
9412
9406
|
un as getIndexOfBreakpoint,
|
|
9413
|
-
|
|
9407
|
+
mu as getNodeLite,
|
|
9414
9408
|
lo as getPropertyDefault,
|
|
9415
9409
|
B as getPropertyTag,
|
|
9416
|
-
Zc as getTypeColor,
|
|
9417
9410
|
Hl as globalityV1,
|
|
9418
9411
|
El as groupV1,
|
|
9419
9412
|
pa as iconV1,
|
|
@@ -9434,22 +9427,22 @@ export {
|
|
|
9434
9427
|
Pi as isLocaleOfEventKind,
|
|
9435
9428
|
Vi as isLocaleOfMethodKind,
|
|
9436
9429
|
Ii as isLocaleOfPropertyKind,
|
|
9437
|
-
|
|
9430
|
+
tu as isLocaleOfSlotKind,
|
|
9438
9431
|
jt as isPercentStr,
|
|
9439
9432
|
nt as isPixelStr,
|
|
9440
9433
|
vl as keyboardControlsV1,
|
|
9441
9434
|
ht as lineChartV1,
|
|
9442
|
-
|
|
9435
|
+
Ru as loadLocaleMessageRuntime,
|
|
9443
9436
|
oe as makeEventId,
|
|
9444
|
-
|
|
9445
|
-
|
|
9437
|
+
Eu as makeEventKeyOfCustomSlot,
|
|
9438
|
+
zu as makeEventKeyOfElementSlot,
|
|
9446
9439
|
Pc as makeMethodId,
|
|
9447
|
-
|
|
9448
|
-
|
|
9449
|
-
|
|
9450
|
-
|
|
9451
|
-
|
|
9452
|
-
|
|
9440
|
+
Pu as makeMethodKeyOfCustomSlot,
|
|
9441
|
+
Iu as makeMethodKeyOfElementSlot,
|
|
9442
|
+
ku as makePropertyId,
|
|
9443
|
+
$u as makePropertyKeyOfCustomSlot,
|
|
9444
|
+
wu as makePropertyKeyOfElementSlot,
|
|
9445
|
+
Mu as makeSlotId,
|
|
9453
9446
|
Re as makeTriggerId,
|
|
9454
9447
|
xl as mapControlsV1,
|
|
9455
9448
|
da as menuV1,
|
|
@@ -9459,27 +9452,27 @@ export {
|
|
|
9459
9452
|
It as numberInputV1,
|
|
9460
9453
|
kl as orbitControlsV1,
|
|
9461
9454
|
hl as orthographicCameraV1,
|
|
9462
|
-
|
|
9455
|
+
nu as pageMetaStringify,
|
|
9463
9456
|
$i as pageTypes,
|
|
9464
9457
|
ya as paginationV1,
|
|
9465
|
-
|
|
9466
|
-
|
|
9467
|
-
|
|
9458
|
+
ru as parseCompMeta,
|
|
9459
|
+
Qc as parseData,
|
|
9460
|
+
ou as parsePageMeta,
|
|
9468
9461
|
at as parsePercentStr,
|
|
9469
9462
|
qc as parsePixelStr,
|
|
9470
9463
|
_l as perspectiveCameraV1,
|
|
9471
9464
|
kc as pkgs,
|
|
9472
9465
|
zl as pointLightV1,
|
|
9473
|
-
|
|
9474
|
-
|
|
9475
|
-
|
|
9476
|
-
|
|
9477
|
-
|
|
9478
|
-
|
|
9479
|
-
|
|
9480
|
-
|
|
9466
|
+
gu as provideDark,
|
|
9467
|
+
_u as provideData,
|
|
9468
|
+
vu as provideDepends,
|
|
9469
|
+
bu as provideDevice,
|
|
9470
|
+
fu as provideEnv,
|
|
9471
|
+
yu as provideMode,
|
|
9472
|
+
du as provideOrg,
|
|
9473
|
+
xu as provideRuntime,
|
|
9481
9474
|
Vc as provideSandbox,
|
|
9482
|
-
|
|
9475
|
+
hu as provideType,
|
|
9483
9476
|
Pt as radioGroupV1,
|
|
9484
9477
|
Vt as radioV1,
|
|
9485
9478
|
ha as rangeSliderV1,
|
|
@@ -9490,7 +9483,7 @@ export {
|
|
|
9490
9483
|
va as selectV1,
|
|
9491
9484
|
Gt as setField,
|
|
9492
9485
|
xa as sliderV1,
|
|
9493
|
-
|
|
9486
|
+
uu as spawnNode,
|
|
9494
9487
|
bt as sphereGeometryV1,
|
|
9495
9488
|
Tl as spotLightV1,
|
|
9496
9489
|
Lt as stepperHeaderV1,
|
|
@@ -9506,24 +9499,23 @@ export {
|
|
|
9506
9499
|
Wt as textareaV1,
|
|
9507
9500
|
Rt as timelineItemV1,
|
|
9508
9501
|
Kt as timelineV1,
|
|
9509
|
-
|
|
9510
|
-
|
|
9502
|
+
au as toEventName,
|
|
9503
|
+
lu as toMethodName,
|
|
9511
9504
|
E as toNodeLite,
|
|
9512
|
-
|
|
9505
|
+
su as toPropertyName,
|
|
9513
9506
|
qe as triggerReactivity,
|
|
9514
|
-
Yc as types,
|
|
9515
9507
|
Lc as unwrapEventId,
|
|
9516
|
-
|
|
9517
|
-
|
|
9508
|
+
Au as unwrapEventKeyOfCustomSlot,
|
|
9509
|
+
Tu as unwrapEventKeyOfElementSlot,
|
|
9518
9510
|
Fo as unwrapMethodId,
|
|
9519
|
-
|
|
9520
|
-
|
|
9511
|
+
Lu as unwrapMethodKeyOfCustomSlot,
|
|
9512
|
+
Vu as unwrapMethodKeyOfElementSlot,
|
|
9521
9513
|
ao as unwrapPropertyId,
|
|
9522
|
-
|
|
9523
|
-
|
|
9524
|
-
|
|
9514
|
+
Cu as unwrapPropertyKeyOfCustomSlot,
|
|
9515
|
+
Su as unwrapPropertyKeyOfElementSlot,
|
|
9516
|
+
Bu as unwrapSlotId,
|
|
9525
9517
|
rn as useDepend,
|
|
9526
|
-
|
|
9518
|
+
Wu as useRuntime,
|
|
9527
9519
|
sn as useSandbox,
|
|
9528
9520
|
Dt as windowItemV1,
|
|
9529
9521
|
Ot as windowV1
|
package/dist/types/basic.d.ts
CHANGED
|
@@ -1,6 +1,3 @@
|
|
|
1
1
|
export type Env = 'dev' | 'prod';
|
|
2
2
|
export type Mode = 'runtime' | 'preview' | 'editor';
|
|
3
3
|
export declare function isExecutableMode(mode: Mode): mode is "runtime" | "preview";
|
|
4
|
-
export declare const types: readonly ["string", "number", "boolean", "array", "object"];
|
|
5
|
-
export type Type = (typeof types)[number];
|
|
6
|
-
export declare function getTypeColor(type: Type): string;
|
package/dist/types/element.d.ts
CHANGED
package/dist/types/meta.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "x-runtime-lib",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.8.
|
|
4
|
+
"version": "0.8.109",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "dist/index.js",
|
|
7
7
|
"types": "dist/index.d.ts",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"vue-i18n": "^11.2.1",
|
|
36
36
|
"vuetify": "^3.11.1",
|
|
37
37
|
"x-error-lib": "^0.5.10",
|
|
38
|
-
"x-essential-lib": "^0.9.
|
|
38
|
+
"x-essential-lib": "^0.9.18"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
41
|
"@eslint/js": "^9.39.1",
|