x-runtime-lib 0.8.107 → 0.8.108
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 +84 -101
- 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,7 +159,7 @@ function E(t, n) {
|
|
|
174
159
|
};
|
|
175
160
|
}
|
|
176
161
|
const $i = ["common", "scene"], Ci = ["common", "scene"];
|
|
177
|
-
function
|
|
162
|
+
function Zc({ type: t, version: n, view: e, code: o }) {
|
|
178
163
|
const r = {
|
|
179
164
|
type: t,
|
|
180
165
|
version: n,
|
|
@@ -186,7 +171,7 @@ function eu({ type: t, version: n, view: e, code: o }) {
|
|
|
186
171
|
};
|
|
187
172
|
return JSON.stringify(r);
|
|
188
173
|
}
|
|
189
|
-
function
|
|
174
|
+
function Qc(t) {
|
|
190
175
|
const { type: n, version: e, view: o, code: s } = JSON.parse(t), r = {
|
|
191
176
|
type: n,
|
|
192
177
|
version: e,
|
|
@@ -201,7 +186,7 @@ function tu(t) {
|
|
|
201
186
|
a(c, r.view.nodes[c.id]);
|
|
202
187
|
}), r;
|
|
203
188
|
}
|
|
204
|
-
const
|
|
189
|
+
const eu = [
|
|
205
190
|
"globality_v1",
|
|
206
191
|
"multiple_ref_v1",
|
|
207
192
|
"reference_v1",
|
|
@@ -310,23 +295,23 @@ function Pi(t) {
|
|
|
310
295
|
}
|
|
311
296
|
return !0;
|
|
312
297
|
}
|
|
313
|
-
function
|
|
298
|
+
function tu(t) {
|
|
314
299
|
switch (t) {
|
|
315
300
|
case "customSlot":
|
|
316
301
|
return !1;
|
|
317
302
|
}
|
|
318
303
|
return !0;
|
|
319
304
|
}
|
|
320
|
-
function
|
|
305
|
+
function nu(t) {
|
|
321
306
|
return JSON.stringify(t);
|
|
322
307
|
}
|
|
323
|
-
function
|
|
308
|
+
function ou(t) {
|
|
324
309
|
return JSON.parse(t);
|
|
325
310
|
}
|
|
326
|
-
function
|
|
311
|
+
function iu(t) {
|
|
327
312
|
return JSON.stringify(t);
|
|
328
313
|
}
|
|
329
|
-
function
|
|
314
|
+
function ru(t) {
|
|
330
315
|
return JSON.parse(t);
|
|
331
316
|
}
|
|
332
317
|
function $o(t) {
|
|
@@ -345,17 +330,17 @@ function Ht(t, n, e) {
|
|
|
345
330
|
a > 0 && (s += " - "), e ? s += o.global.t(r) : s += r;
|
|
346
331
|
}), s;
|
|
347
332
|
}
|
|
348
|
-
function
|
|
333
|
+
function su(t, n) {
|
|
349
334
|
const { i18n: e } = we;
|
|
350
335
|
let o = "";
|
|
351
336
|
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
337
|
}
|
|
353
|
-
function
|
|
338
|
+
function lu(t, n) {
|
|
354
339
|
const { i18n: e } = we;
|
|
355
340
|
let o = "";
|
|
356
341
|
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
342
|
}
|
|
358
|
-
function
|
|
343
|
+
function au(t, n) {
|
|
359
344
|
const { i18n: e } = we;
|
|
360
345
|
let o = "";
|
|
361
346
|
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 +5191,7 @@ const Mn = {
|
|
|
5206
5191
|
key: "settings",
|
|
5207
5192
|
name: "x-runtime-lib.settings",
|
|
5208
5193
|
children: []
|
|
5209
|
-
},
|
|
5194
|
+
}, cu = {
|
|
5210
5195
|
key: "common_file_input_v1",
|
|
5211
5196
|
name: "x-runtime-lib.fileInput",
|
|
5212
5197
|
comp: Es,
|
|
@@ -8352,7 +8337,7 @@ function A(t, n) {
|
|
|
8352
8337
|
}
|
|
8353
8338
|
n.forEach((o) => e(t, o));
|
|
8354
8339
|
}
|
|
8355
|
-
function
|
|
8340
|
+
function uu(t, n, e, o, s) {
|
|
8356
8341
|
const r = `type=${t} subtype=${n} version=${e} ref=${o} keyOrRefId=${s}`, a = B(t, n);
|
|
8357
8342
|
if (!a) {
|
|
8358
8343
|
console.error(`spawnNode property tag not found, ${r}`);
|
|
@@ -8419,7 +8404,7 @@ function pu(t, n, e, o, s) {
|
|
|
8419
8404
|
}
|
|
8420
8405
|
}
|
|
8421
8406
|
}
|
|
8422
|
-
function
|
|
8407
|
+
function mu(t, n) {
|
|
8423
8408
|
function e(o) {
|
|
8424
8409
|
if (o.id === n)
|
|
8425
8410
|
return o;
|
|
@@ -8448,59 +8433,59 @@ function wc(t) {
|
|
|
8448
8433
|
a.basic.id = n[a.basic.id], s[a.basic.id] = a;
|
|
8449
8434
|
}), { nodeLite: o, nodes: s };
|
|
8450
8435
|
}
|
|
8451
|
-
function
|
|
8436
|
+
function pu(t) {
|
|
8452
8437
|
return t.map((n) => wc(n));
|
|
8453
8438
|
}
|
|
8454
8439
|
const To = "runtimeOrg", Eo = "runtimeEnv", Ao = "runtimeMode", Mo = "runtimeDevice", Bo = "runtimeDark", Wo = "runtimeType", Ro = "runtimeData", Ko = "runtimeDepends", Do = "runtimeRuntime", Oo = "runtimeSandbox";
|
|
8455
|
-
function
|
|
8440
|
+
function du(t) {
|
|
8456
8441
|
me(To, t);
|
|
8457
8442
|
}
|
|
8458
8443
|
function Sc() {
|
|
8459
8444
|
return ue(To);
|
|
8460
8445
|
}
|
|
8461
|
-
function
|
|
8446
|
+
function fu(t) {
|
|
8462
8447
|
me(Eo, t);
|
|
8463
8448
|
}
|
|
8464
8449
|
function $c() {
|
|
8465
8450
|
return ue(Eo);
|
|
8466
8451
|
}
|
|
8467
|
-
function
|
|
8452
|
+
function yu(t) {
|
|
8468
8453
|
me(Ao, t);
|
|
8469
8454
|
}
|
|
8470
8455
|
function J() {
|
|
8471
8456
|
return ue(Ao);
|
|
8472
8457
|
}
|
|
8473
|
-
function
|
|
8458
|
+
function bu(t) {
|
|
8474
8459
|
me(Mo, Nt(t));
|
|
8475
8460
|
}
|
|
8476
8461
|
function Be() {
|
|
8477
8462
|
return ue(Mo);
|
|
8478
8463
|
}
|
|
8479
|
-
function
|
|
8464
|
+
function gu(t) {
|
|
8480
8465
|
me(Bo, Nt(t));
|
|
8481
8466
|
}
|
|
8482
8467
|
function Ue() {
|
|
8483
8468
|
return ue(Bo);
|
|
8484
8469
|
}
|
|
8485
|
-
function
|
|
8470
|
+
function hu(t) {
|
|
8486
8471
|
me(Wo, t);
|
|
8487
8472
|
}
|
|
8488
8473
|
function he() {
|
|
8489
8474
|
return ue(Wo);
|
|
8490
8475
|
}
|
|
8491
|
-
function
|
|
8476
|
+
function _u(t) {
|
|
8492
8477
|
me(Ro, t);
|
|
8493
8478
|
}
|
|
8494
8479
|
function _e() {
|
|
8495
8480
|
return ue(Ro);
|
|
8496
8481
|
}
|
|
8497
|
-
function
|
|
8482
|
+
function vu(t) {
|
|
8498
8483
|
me(Ko, Nt(t));
|
|
8499
8484
|
}
|
|
8500
8485
|
function Cc() {
|
|
8501
8486
|
return ue(Ko);
|
|
8502
8487
|
}
|
|
8503
|
-
function
|
|
8488
|
+
function xu(t) {
|
|
8504
8489
|
me(Do, t);
|
|
8505
8490
|
}
|
|
8506
8491
|
function Ic() {
|
|
@@ -8604,7 +8589,7 @@ function qe(t, n, e, o, s) {
|
|
|
8604
8589
|
}
|
|
8605
8590
|
}
|
|
8606
8591
|
}
|
|
8607
|
-
function
|
|
8592
|
+
function ku(t, n, e) {
|
|
8608
8593
|
return `${t}/${n}/${e}`;
|
|
8609
8594
|
}
|
|
8610
8595
|
function ao(t) {
|
|
@@ -8616,10 +8601,10 @@ function ao(t) {
|
|
|
8616
8601
|
let s = "";
|
|
8617
8602
|
return n.length > 2 ? s = n[2] : console.error(`unwrapPropertyId invalid propertyKey id=${t}`), { kind: e, nodeId: o, propertyKey: s };
|
|
8618
8603
|
}
|
|
8619
|
-
function
|
|
8604
|
+
function wu(t, n, e) {
|
|
8620
8605
|
return `${t}.${n}.${e}`;
|
|
8621
8606
|
}
|
|
8622
|
-
function
|
|
8607
|
+
function Su(t) {
|
|
8623
8608
|
const n = t.split(".");
|
|
8624
8609
|
let e = "";
|
|
8625
8610
|
n.length > 0 ? e = n[0] : console.error(
|
|
@@ -8636,10 +8621,10 @@ function Cu(t) {
|
|
|
8636
8621
|
propertyKey: s
|
|
8637
8622
|
};
|
|
8638
8623
|
}
|
|
8639
|
-
function
|
|
8624
|
+
function $u(t, n, e) {
|
|
8640
8625
|
return `${t}.${n}.${e}`;
|
|
8641
8626
|
}
|
|
8642
|
-
function
|
|
8627
|
+
function Cu(t) {
|
|
8643
8628
|
const n = t.split(".");
|
|
8644
8629
|
let e = "";
|
|
8645
8630
|
n.length > 0 ? e = n[0] : console.error(`unwrapPropertyKeyOfCustomSlot invalid compId key=${t}`);
|
|
@@ -8660,10 +8645,10 @@ function Fo(t) {
|
|
|
8660
8645
|
let s = "";
|
|
8661
8646
|
return n.length > 2 ? s = n[2] : console.error(`unwrapMethodId invalid methodKey id=${t}`), { kind: e, nodeId: o, methodKey: s };
|
|
8662
8647
|
}
|
|
8663
|
-
function
|
|
8648
|
+
function Iu(t, n, e) {
|
|
8664
8649
|
return `${t}.${n}.${e}`;
|
|
8665
8650
|
}
|
|
8666
|
-
function
|
|
8651
|
+
function Vu(t) {
|
|
8667
8652
|
const n = t.split(".");
|
|
8668
8653
|
let e = "";
|
|
8669
8654
|
n.length > 0 ? e = n[0] : console.error(`unwrapMethodKeyOfElementSlot invalid elementKey key=${t}`);
|
|
@@ -8672,10 +8657,10 @@ function Lu(t) {
|
|
|
8672
8657
|
let s = "";
|
|
8673
8658
|
return n.length > 2 ? s = n[2] : console.error(`unwrapMethodKeyOfElementSlot invalid methodKey key=${t}`), { elementKey: e, slotKey: o, methodKey: s };
|
|
8674
8659
|
}
|
|
8675
|
-
function
|
|
8660
|
+
function Pu(t, n, e) {
|
|
8676
8661
|
return `${t}.${n}.${e}`;
|
|
8677
8662
|
}
|
|
8678
|
-
function
|
|
8663
|
+
function Lu(t) {
|
|
8679
8664
|
const n = t.split(".");
|
|
8680
8665
|
let e = "";
|
|
8681
8666
|
n.length > 0 ? e = n[0] : console.error(`unwrapMethodKeyOfCustomSlot invalid compId key=${t}`);
|
|
@@ -8696,10 +8681,10 @@ function Lc(t) {
|
|
|
8696
8681
|
let s = "";
|
|
8697
8682
|
return n.length > 2 ? s = n[2] : console.error(`unwrapEventId invalid eventKey id=${t}`), { kind: e, nodeId: o, eventKey: s };
|
|
8698
8683
|
}
|
|
8699
|
-
function
|
|
8684
|
+
function zu(t, n, e) {
|
|
8700
8685
|
return `${t}.${n}.${e}`;
|
|
8701
8686
|
}
|
|
8702
|
-
function
|
|
8687
|
+
function Tu(t) {
|
|
8703
8688
|
const n = t.split(".");
|
|
8704
8689
|
let e = "";
|
|
8705
8690
|
n.length > 0 ? e = n[0] : console.error(`unwrapEventKeyOfElementSlot invalid elementKey key=${t}`);
|
|
@@ -8708,10 +8693,10 @@ function Au(t) {
|
|
|
8708
8693
|
let s = "";
|
|
8709
8694
|
return n.length > 2 ? s = n[2] : console.error(`unwrapEventKeyOfElementSlot invalid eventKey key=${t}`), { elementKey: e, slotKey: o, eventKey: s };
|
|
8710
8695
|
}
|
|
8711
|
-
function
|
|
8696
|
+
function Eu(t, n, e) {
|
|
8712
8697
|
return `${t}.${n}.${e}`;
|
|
8713
8698
|
}
|
|
8714
|
-
function
|
|
8699
|
+
function Au(t) {
|
|
8715
8700
|
const n = t.split(".");
|
|
8716
8701
|
let e = "";
|
|
8717
8702
|
n.length > 0 ? e = n[0] : console.error(`makeEventKeyOfCustomSlot invalid compId key=${t}`);
|
|
@@ -8720,10 +8705,10 @@ function Bu(t) {
|
|
|
8720
8705
|
let s = "";
|
|
8721
8706
|
return n.length > 2 ? s = n[2] : console.error(`makeEventKeyOfCustomSlot invalid eventId key=${t}`), { compId: e, slotId: o, eventId: s };
|
|
8722
8707
|
}
|
|
8723
|
-
function
|
|
8708
|
+
function Mu(t, n, e) {
|
|
8724
8709
|
return `${t}/${n}/${e}`;
|
|
8725
8710
|
}
|
|
8726
|
-
function
|
|
8711
|
+
function Bu(t) {
|
|
8727
8712
|
const n = t.split("/");
|
|
8728
8713
|
let e = "elementSlot";
|
|
8729
8714
|
n.length > 0 ? e = n[0] : console.error(`unwrapSlotId invalid kind id=${t}`);
|
|
@@ -8743,7 +8728,7 @@ function rn(t, n) {
|
|
|
8743
8728
|
o.value !== s.dataSeq && (o.value = s.dataSeq, n.value = K(s.data));
|
|
8744
8729
|
});
|
|
8745
8730
|
}
|
|
8746
|
-
function
|
|
8731
|
+
function Wu() {
|
|
8747
8732
|
let t;
|
|
8748
8733
|
const n = async () => (t = (await vi()).newRuntime(), console.log("runtime created"), t);
|
|
8749
8734
|
return Ge(() => {
|
|
@@ -9369,7 +9354,7 @@ const Dc = (t, n, e) => {
|
|
|
9369
9354
|
(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
9355
|
});
|
|
9371
9356
|
};
|
|
9372
|
-
async function
|
|
9357
|
+
async function Ru(t) {
|
|
9373
9358
|
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
9359
|
}
|
|
9375
9360
|
export {
|
|
@@ -9389,20 +9374,20 @@ export {
|
|
|
9389
9374
|
vt as chipV1,
|
|
9390
9375
|
na as colorPickerV1,
|
|
9391
9376
|
oa as comboboxV1,
|
|
9392
|
-
|
|
9377
|
+
iu as compMetaStringify,
|
|
9393
9378
|
Ci as compTypes,
|
|
9394
9379
|
kt as containerV1,
|
|
9395
|
-
|
|
9380
|
+
Zc as dataStringify,
|
|
9396
9381
|
ia as dataTableV1,
|
|
9397
9382
|
ra as datePickerV1,
|
|
9398
9383
|
sa as dialogV1,
|
|
9399
9384
|
Ll as directionalLightV1,
|
|
9400
9385
|
wc as duplicateNodePair,
|
|
9401
|
-
|
|
9402
|
-
|
|
9386
|
+
pu as duplicateNodePairs,
|
|
9387
|
+
eu as elementKeys,
|
|
9403
9388
|
Ke as elements,
|
|
9404
|
-
|
|
9405
|
-
|
|
9389
|
+
Yc as ensureContext,
|
|
9390
|
+
cu as fileInputV1,
|
|
9406
9391
|
wt as flexLayoutEntryV1,
|
|
9407
9392
|
Ne as flexLayoutV1,
|
|
9408
9393
|
Ct as formV1,
|
|
@@ -9410,10 +9395,9 @@ export {
|
|
|
9410
9395
|
We as getBreakpointProp,
|
|
9411
9396
|
xe as getField,
|
|
9412
9397
|
un as getIndexOfBreakpoint,
|
|
9413
|
-
|
|
9398
|
+
mu as getNodeLite,
|
|
9414
9399
|
lo as getPropertyDefault,
|
|
9415
9400
|
B as getPropertyTag,
|
|
9416
|
-
Zc as getTypeColor,
|
|
9417
9401
|
Hl as globalityV1,
|
|
9418
9402
|
El as groupV1,
|
|
9419
9403
|
pa as iconV1,
|
|
@@ -9434,22 +9418,22 @@ export {
|
|
|
9434
9418
|
Pi as isLocaleOfEventKind,
|
|
9435
9419
|
Vi as isLocaleOfMethodKind,
|
|
9436
9420
|
Ii as isLocaleOfPropertyKind,
|
|
9437
|
-
|
|
9421
|
+
tu as isLocaleOfSlotKind,
|
|
9438
9422
|
jt as isPercentStr,
|
|
9439
9423
|
nt as isPixelStr,
|
|
9440
9424
|
vl as keyboardControlsV1,
|
|
9441
9425
|
ht as lineChartV1,
|
|
9442
|
-
|
|
9426
|
+
Ru as loadLocaleMessageRuntime,
|
|
9443
9427
|
oe as makeEventId,
|
|
9444
|
-
|
|
9445
|
-
|
|
9428
|
+
Eu as makeEventKeyOfCustomSlot,
|
|
9429
|
+
zu as makeEventKeyOfElementSlot,
|
|
9446
9430
|
Pc as makeMethodId,
|
|
9447
|
-
|
|
9448
|
-
|
|
9449
|
-
|
|
9450
|
-
|
|
9451
|
-
|
|
9452
|
-
|
|
9431
|
+
Pu as makeMethodKeyOfCustomSlot,
|
|
9432
|
+
Iu as makeMethodKeyOfElementSlot,
|
|
9433
|
+
ku as makePropertyId,
|
|
9434
|
+
$u as makePropertyKeyOfCustomSlot,
|
|
9435
|
+
wu as makePropertyKeyOfElementSlot,
|
|
9436
|
+
Mu as makeSlotId,
|
|
9453
9437
|
Re as makeTriggerId,
|
|
9454
9438
|
xl as mapControlsV1,
|
|
9455
9439
|
da as menuV1,
|
|
@@ -9459,27 +9443,27 @@ export {
|
|
|
9459
9443
|
It as numberInputV1,
|
|
9460
9444
|
kl as orbitControlsV1,
|
|
9461
9445
|
hl as orthographicCameraV1,
|
|
9462
|
-
|
|
9446
|
+
nu as pageMetaStringify,
|
|
9463
9447
|
$i as pageTypes,
|
|
9464
9448
|
ya as paginationV1,
|
|
9465
|
-
|
|
9466
|
-
|
|
9467
|
-
|
|
9449
|
+
ru as parseCompMeta,
|
|
9450
|
+
Qc as parseData,
|
|
9451
|
+
ou as parsePageMeta,
|
|
9468
9452
|
at as parsePercentStr,
|
|
9469
9453
|
qc as parsePixelStr,
|
|
9470
9454
|
_l as perspectiveCameraV1,
|
|
9471
9455
|
kc as pkgs,
|
|
9472
9456
|
zl as pointLightV1,
|
|
9473
|
-
|
|
9474
|
-
|
|
9475
|
-
|
|
9476
|
-
|
|
9477
|
-
|
|
9478
|
-
|
|
9479
|
-
|
|
9480
|
-
|
|
9457
|
+
gu as provideDark,
|
|
9458
|
+
_u as provideData,
|
|
9459
|
+
vu as provideDepends,
|
|
9460
|
+
bu as provideDevice,
|
|
9461
|
+
fu as provideEnv,
|
|
9462
|
+
yu as provideMode,
|
|
9463
|
+
du as provideOrg,
|
|
9464
|
+
xu as provideRuntime,
|
|
9481
9465
|
Vc as provideSandbox,
|
|
9482
|
-
|
|
9466
|
+
hu as provideType,
|
|
9483
9467
|
Pt as radioGroupV1,
|
|
9484
9468
|
Vt as radioV1,
|
|
9485
9469
|
ha as rangeSliderV1,
|
|
@@ -9490,7 +9474,7 @@ export {
|
|
|
9490
9474
|
va as selectV1,
|
|
9491
9475
|
Gt as setField,
|
|
9492
9476
|
xa as sliderV1,
|
|
9493
|
-
|
|
9477
|
+
uu as spawnNode,
|
|
9494
9478
|
bt as sphereGeometryV1,
|
|
9495
9479
|
Tl as spotLightV1,
|
|
9496
9480
|
Lt as stepperHeaderV1,
|
|
@@ -9506,24 +9490,23 @@ export {
|
|
|
9506
9490
|
Wt as textareaV1,
|
|
9507
9491
|
Rt as timelineItemV1,
|
|
9508
9492
|
Kt as timelineV1,
|
|
9509
|
-
|
|
9510
|
-
|
|
9493
|
+
au as toEventName,
|
|
9494
|
+
lu as toMethodName,
|
|
9511
9495
|
E as toNodeLite,
|
|
9512
|
-
|
|
9496
|
+
su as toPropertyName,
|
|
9513
9497
|
qe as triggerReactivity,
|
|
9514
|
-
Yc as types,
|
|
9515
9498
|
Lc as unwrapEventId,
|
|
9516
|
-
|
|
9517
|
-
|
|
9499
|
+
Au as unwrapEventKeyOfCustomSlot,
|
|
9500
|
+
Tu as unwrapEventKeyOfElementSlot,
|
|
9518
9501
|
Fo as unwrapMethodId,
|
|
9519
|
-
|
|
9520
|
-
|
|
9502
|
+
Lu as unwrapMethodKeyOfCustomSlot,
|
|
9503
|
+
Vu as unwrapMethodKeyOfElementSlot,
|
|
9521
9504
|
ao as unwrapPropertyId,
|
|
9522
|
-
|
|
9523
|
-
|
|
9524
|
-
|
|
9505
|
+
Cu as unwrapPropertyKeyOfCustomSlot,
|
|
9506
|
+
Su as unwrapPropertyKeyOfElementSlot,
|
|
9507
|
+
Bu as unwrapSlotId,
|
|
9525
9508
|
rn as useDepend,
|
|
9526
|
-
|
|
9509
|
+
Wu as useRuntime,
|
|
9527
9510
|
sn as useSandbox,
|
|
9528
9511
|
Dt as windowItemV1,
|
|
9529
9512
|
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.108",
|
|
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",
|