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