x-runtime-lib 0.9.42 → 0.9.43

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.d.ts CHANGED
@@ -8,6 +8,7 @@ import { Reactive } from 'vue';
8
8
  import { Ref } from 'vue';
9
9
  import { ShallowRef } from 'vue';
10
10
  import { Type } from 'x-essential-lib';
11
+ import { VNode } from 'vue';
11
12
  import { WritableComputedRef } from 'vue';
12
13
 
13
14
  export declare interface ActivatorContext {
@@ -310,6 +311,8 @@ export declare function makeSlotId(kind: SlotKind, mainKey: string, slotKey: str
310
311
 
311
312
  export declare function makeTriggerId(kind: TriggerKind, triggerKey: string): string;
312
313
 
314
+ export declare function mergeRenderResult(main: RenderResult, part: RenderResult): void;
315
+
313
316
  export declare type Meta = {
314
317
  version: string;
315
318
  states?: Field[];
@@ -493,6 +496,14 @@ export declare function regItems(key: ZItemsKey, items: ZItem[]): void;
493
496
 
494
497
  export declare function regTypes(key: ZTypesKey, types: ZType[]): void;
495
498
 
499
+ export declare interface RenderResult {
500
+ [slot: string]: VNode[];
501
+ }
502
+
503
+ export declare interface RenderSlots {
504
+ [slot: string]: () => VNode[];
505
+ }
506
+
496
507
  export declare const reverseBreakpoints: readonly ["xl", "lg", "md", "sm", "xs"];
497
508
 
498
509
  export declare const rules: readonly ["required", "email", "minLength", "maxLength", "length"];
@@ -644,11 +655,7 @@ export declare function toNodeLite(node: Node_2, children?: NodeLite[]): NodeLit
644
655
 
645
656
  export declare function toPropertyName(kind: PropertyKind, names: string[]): string;
646
657
 
647
- export declare function toRenderDefault(children: NodeLite[] | undefined, renderNode: (n: NodeLite, ...params: any[]) => any, ...params: any[]): any[];
648
-
649
- export declare function toRenderSlots(children: NodeLite[] | undefined, renderNode: (n: NodeLite, ...params: any[]) => any, ...params: any[]): {
650
- [key: string]: any;
651
- };
658
+ export declare function toRenderSlots(result: RenderResult): RenderSlots;
652
659
 
653
660
  export declare interface Transients {
654
661
  [nodeId: string]: {
package/dist/index.js CHANGED
@@ -427,20 +427,13 @@ function qt(e) {
427
427
  function Jt(e) {
428
428
  return e.startsWith("ref_v") || e.startsWith("multiple_ref_v") || e.startsWith("slot_v") || e.startsWith("multiple_slot_v");
429
429
  }
430
- function Yt(e, t, ...n) {
431
- let r = [];
432
- return e?.forEach((e) => {
433
- Gt(e.key) ? e.inlineSlot === "default" && e.children && r.push(...e.children.map((e) => t(e, ...n))) : Wt(e.key) ? e.render && e.children && r.push(...e.children.map((e) => t(e, ...n))) : r.push(t(e, ...n));
434
- }), r;
430
+ function Yt(e, t) {
431
+ for (let n in t) e[n] || (e[n] = []), e[n].push(...t[n]);
435
432
  }
436
- function Xt(e, t, ...n) {
437
- let r = {};
438
- e?.forEach((e) => {
439
- Gt(e.key) ? e.inlineSlot && e.children && (r[e.inlineSlot] || (r[e.inlineSlot] = []), r[e.inlineSlot].push(...e.children.map((e) => t(e, ...n)))) : Wt(e.key) ? e.render && e.children && (r.default ||= [], r.default.push(...e.children.map((e) => t(e, ...n)))) : (r.default ||= [], r.default.push(t(e, ...n)));
440
- });
441
- let i = {};
442
- for (let e in r) r[e].length > 0 && (i[e] = () => r[e]);
443
- return i;
433
+ function Xt(e) {
434
+ let t = {};
435
+ for (let n in e) t[n] = () => e[n];
436
+ return t;
444
437
  }
445
438
  //#endregion
446
439
  //#region src/utils/node.ts
@@ -2881,28 +2874,42 @@ function qn(e, t, n, r) {
2881
2874
  //#endregion
2882
2875
  //#region src/composables/element/core/elementSlotRender.ts
2883
2876
  function Jn(e, t, n) {
2884
- function r(t) {
2885
- let n = ft(t.key);
2886
- if (!n) {
2887
- console.assert(!1, `element not found key=${t.key}`);
2888
- return;
2877
+ function r(t, n) {
2878
+ let i = ft(t.key);
2879
+ if (!i) return console.error(`elementSlotRender/renderNode element not found key=${t.key}`), {};
2880
+ if (Gt(t.key)) {
2881
+ if (!t.inlineSlot || !t.children) return {};
2882
+ let e = {};
2883
+ for (let n of t.children) Yt(e, r(n, t.inlineSlot));
2884
+ return e;
2885
+ } else if (Wt(t.key)) {
2886
+ if (!t.render || !t.children) return {};
2887
+ let e = {};
2888
+ for (let i of t.children) Yt(e, r(i, n));
2889
+ return e;
2890
+ } else {
2891
+ let a = { nodeId: t.id };
2892
+ Jt(t.key) && (a.refContext = {
2893
+ parent: e,
2894
+ compId: t.compId
2895
+ });
2896
+ let o = {};
2897
+ if (Kt(i) && t.children) for (let e of t.children) Yt(o, r(e, "default"));
2898
+ return { [n]: [A(i.comp, {
2899
+ key: t.id,
2900
+ ...a
2901
+ }, Xt(o))] };
2889
2902
  }
2890
- let i = { nodeId: t.id };
2891
- Jt(t.key) && (i.refContext = {
2892
- parent: e,
2893
- compId: t.compId
2894
- });
2895
- let a = {};
2896
- return Kt(n) && t.children && (a = Xt(t.children, r)), A(n.comp, {
2897
- key: t.id,
2898
- ...i
2899
- }, a);
2900
2903
  }
2901
- return { render: () => {
2904
+ function i() {
2902
2905
  let { i18n: i } = re;
2903
2906
  if (Ze(e, t)) return A("div", null, i.global.t("x-runtime-lib.circularReference"));
2904
- if (n.value && n.value.type === "ui") return A("div", {}, Yt(n.value.view.nodeLites, r));
2905
- } };
2907
+ if (!n.value) return;
2908
+ let a = {};
2909
+ for (let e of n.value.view.nodeLites) Yt(a, r(e, "default"));
2910
+ if (n.value.type === "ui") return A("div", {}, Xt(a));
2911
+ }
2912
+ return { render: i };
2906
2913
  }
2907
2914
  //#endregion
2908
2915
  //#region src/composables/element/piece/3d/transform/v1/index.ts
@@ -4177,26 +4184,39 @@ var Lr = /* @__PURE__ */ hr(Fr, [["render", Ir]]), Rr = [
4177
4184
  wl(a);
4178
4185
  let o = Ee({});
4179
4186
  El(o), Hn("multipleRef", e.nodeId, "", e.instance, Nl(), i, a, o);
4180
- let s = (t) => {
4181
- let n = ft(t.key);
4182
- if (!n) {
4183
- console.assert(!1, `element not found key=${t.key}`);
4184
- return;
4187
+ function s(t, n) {
4188
+ let r = ft(t.key);
4189
+ if (!r) return console.error(`multipleRefV1/renderNode element not found key = ${t.key}`), {};
4190
+ if (Gt(t.key)) {
4191
+ if (!t.inlineSlot || !t.children) return {};
4192
+ let e = {};
4193
+ for (let n of t.children) Yt(e, s(n, t.inlineSlot));
4194
+ return e;
4195
+ } else if (Wt(t.key)) {
4196
+ if (!t.render || !t.children) return {};
4197
+ let e = {};
4198
+ for (let r of t.children) Yt(e, s(r, n));
4199
+ return e;
4200
+ } else {
4201
+ let i = { nodeId: t.id };
4202
+ Jt(t.key) && (i.refContext = {
4203
+ parent: e.refContext,
4204
+ compId: t.compId
4205
+ });
4206
+ let a = {};
4207
+ if (Kt(r) && t.children) for (let e of t.children) Yt(a, s(e, "default"));
4208
+ return { [n]: [A(r.comp, {
4209
+ key: t.id,
4210
+ ...i
4211
+ }, Xt(a))] };
4185
4212
  }
4186
- let r = { nodeId: t.id };
4187
- Jt(t.key) && (r.refContext = {
4188
- parent: e.refContext,
4189
- compId: t.compId
4190
- });
4191
- let i = {};
4192
- return Kt(n) && t.children && (i = Xt(t.children, s)), A(n.comp, {
4193
- key: t.id,
4194
- ...r
4195
- }, i);
4196
- }, c = () => {
4197
- if (e.subtype === "ui") return A("div", null, { default: () => Yt(a.value?.view.nodeLites, s) });
4198
- if (e.subtype === "3d") return A("TresGroup", null, { default: () => Yt(a.value?.view.nodeLites, s) });
4199
- };
4213
+ }
4214
+ function c() {
4215
+ let t = {};
4216
+ if (a.value) for (let e of a.value.view.nodeLites) Yt(t, s(e, "default"));
4217
+ if (e.subtype === "ui") return A("div", null, Xt(t));
4218
+ if (e.subtype === "3d") return A("TresGroup", null, Xt(t));
4219
+ }
4200
4220
  return (e, t) => (M(), T(c));
4201
4221
  }
4202
4222
  }), Hr = /* @__PURE__ */ k({
@@ -4309,26 +4329,39 @@ var Lr = /* @__PURE__ */ hr(Fr, [["render", Ir]]), Rr = [
4309
4329
  wl(a);
4310
4330
  let o = Ee({});
4311
4331
  El(o), Hn("multipleCustomSlot", e.nodeId, "", e.instance, Nl(), i, a, o);
4312
- let s = (t) => {
4313
- let n = ft(t.key);
4314
- if (!n) {
4315
- console.assert(!1, `element not found key=${t.key}`);
4316
- return;
4332
+ function s(t, n) {
4333
+ let r = ft(t.key);
4334
+ if (!r) return console.error(`multipleSlotV1/renderNode element not found key=${t.key}`), {};
4335
+ if (Gt(t.key)) {
4336
+ if (!t.inlineSlot || !t.children) return {};
4337
+ let e = {};
4338
+ for (let n of t.children) Yt(e, s(n, t.inlineSlot));
4339
+ return e;
4340
+ } else if (Wt(t.key)) {
4341
+ if (!t.render || !t.children) return {};
4342
+ let e = {};
4343
+ for (let r of t.children) Yt(e, s(r, n));
4344
+ return e;
4345
+ } else {
4346
+ let i = { nodeId: t.id };
4347
+ Jt(t.key) && (i.refContext = {
4348
+ parent: e.refContext,
4349
+ compId: t.compId
4350
+ });
4351
+ let a = {};
4352
+ if (Kt(r) && t.children) for (let e of t.children) Yt(a, s(e, "default"));
4353
+ return { [n]: [A(r.comp, {
4354
+ key: t.id,
4355
+ ...i
4356
+ }, Xt(a))] };
4317
4357
  }
4318
- let r = { nodeId: t.id };
4319
- Jt(t.key) && (r.refContext = {
4320
- parent: e.refContext,
4321
- compId: t.compId
4322
- });
4323
- let i = {};
4324
- return Kt(n) && t.children && (i = Xt(t.children, s)), A(n.comp, {
4325
- key: t.id,
4326
- ...r
4327
- }, i);
4328
- }, c = () => {
4329
- if (e.subtype === "ui") return A("div", null, { default: () => Yt(a.value?.view.nodeLites, s) });
4330
- if (e.subtype === "3d") return A("TresGroup", null, { default: () => Yt(a.value?.view.nodeLites, s) });
4331
- };
4358
+ }
4359
+ function c() {
4360
+ let t = {};
4361
+ if (a.value) for (let e of a.value.view.nodeLites) Yt(t, s(e, "default"));
4362
+ if (e.subtype === "ui") return A("div", null, Xt(t));
4363
+ if (e.subtype === "3d") return A("TresGroup", null, Xt(t));
4364
+ }
4332
4365
  return (e, t) => (M(), T(c));
4333
4366
  }
4334
4367
  }), Wr = /* @__PURE__ */ k({
@@ -4461,29 +4494,40 @@ var Lr = /* @__PURE__ */ hr(Fr, [["render", Ir]]), Rr = [
4461
4494
  f.value = e.value, p.value = t.value, m.value = r.value;
4462
4495
  });
4463
4496
  }
4464
- let h = (t) => {
4465
- let n = ft(t.key);
4466
- if (!n) {
4467
- console.assert(!1, `element not found key=${t.key}`);
4468
- return;
4497
+ function h(t, n) {
4498
+ let r = ft(t.key);
4499
+ if (!r) return console.error(`refV1/renderNode element not found key=${t.key}`), {};
4500
+ if (Gt(t.key)) {
4501
+ if (!t.inlineSlot || !t.children) return {};
4502
+ let e = {};
4503
+ for (let n of t.children) Yt(e, h(n, t.inlineSlot));
4504
+ return e;
4505
+ } else if (Wt(t.key)) {
4506
+ if (!t.render || !t.children) return {};
4507
+ let e = {};
4508
+ for (let r of t.children) Yt(e, h(r, n));
4509
+ return e;
4510
+ } else {
4511
+ let i = { nodeId: t.id };
4512
+ Jt(t.key) && (i.refContext = {
4513
+ parent: e.refContext,
4514
+ compId: t.compId
4515
+ });
4516
+ let a = {};
4517
+ if (Kt(r) && t.children) for (let e of t.children) Yt(a, h(e, "default"));
4518
+ return { [n]: [A(r.comp, {
4519
+ key: t.id,
4520
+ ...i
4521
+ }, Xt(a))] };
4469
4522
  }
4470
- let r = { nodeId: t.id };
4471
- Jt(t.key) && (r.refContext = {
4472
- parent: e.refContext,
4473
- compId: t.compId
4474
- });
4475
- let i = {};
4476
- return Kt(n) && t.children && (i = Xt(t.children, h)), A(n.comp, {
4477
- key: t.id,
4478
- ...r
4479
- }, i);
4480
- }, g = () => {
4523
+ }
4524
+ function g() {
4481
4525
  if (!e.refContext) {
4482
- console.assert(!1, "invalid ref context");
4526
+ console.error("refV1/render invalid ref context");
4483
4527
  return;
4484
4528
  }
4485
4529
  if (!i.value) {
4486
- console.assert(!1, "invalid data");
4530
+ console.error("refV1/render invalid data");
4487
4531
  return;
4488
4532
  }
4489
4533
  let { i18n: n } = re;
@@ -4507,20 +4551,22 @@ var Lr = /* @__PURE__ */ hr(Fr, [["render", Ir]]), Rr = [
4507
4551
  scale: m.value
4508
4552
  }) : void 0;
4509
4553
  if (o.value.type !== i.value.type) {
4510
- console.assert(!1, "subtype not match");
4554
+ console.error("refV1/render subtype not match");
4511
4555
  return;
4512
4556
  }
4557
+ let a = {};
4558
+ for (let e of o.value.view.nodeLites) Yt(a, h(e, "default"));
4513
4559
  if (o.value.type === "ui") return A("div", {
4514
4560
  id: t.id,
4515
4561
  style: d.value
4516
- }, { default: () => Yt(o.value?.view.nodeLites, h) });
4562
+ }, Xt(a));
4517
4563
  if (o.value.type === "3d") return A(Br, {
4518
4564
  name: t.name,
4519
4565
  position: f.value,
4520
4566
  rotation: p.value,
4521
4567
  scale: m.value
4522
- }, { default: () => Yt(o.value?.view.nodeLites, h) });
4523
- };
4568
+ }, Xt(a));
4569
+ }
4524
4570
  return (e, t) => (M(), T(g));
4525
4571
  }
4526
4572
  }), Kr = {};
@@ -4563,30 +4609,40 @@ var Jr = /* @__PURE__ */ hr(Kr, [["render", qr]]), Yr = /* @__PURE__ */ k({
4563
4609
  d.value = e.value, f.value = t.value, p.value = r.value;
4564
4610
  });
4565
4611
  }
4566
- function m(t) {
4567
- let n = ft(t.key);
4568
- if (!n) {
4569
- console.assert(!1, `element not found key=${t.key}`);
4570
- return;
4612
+ function m(t, n) {
4613
+ let r = ft(t.key);
4614
+ if (!r) return console.error(`slotV1/renderNode element not found key=${t.key}`), {};
4615
+ if (Gt(t.key)) {
4616
+ if (!t.inlineSlot || !t.children) return {};
4617
+ let e = {};
4618
+ for (let n of t.children) Yt(e, m(n, t.inlineSlot));
4619
+ return e;
4620
+ } else if (Wt(t.key)) {
4621
+ if (!t.render || !t.children) return {};
4622
+ let e = {};
4623
+ for (let r of t.children) Yt(e, m(r, n));
4624
+ return e;
4625
+ } else {
4626
+ let i = { nodeId: t.id };
4627
+ Jt(t.key) && (i.refContext = {
4628
+ parent: e.refContext,
4629
+ compId: t.compId
4630
+ });
4631
+ let a = {};
4632
+ if (Kt(r) && t.children) for (let e of t.children) Yt(a, m(e, "default"));
4633
+ return { [n]: [A(r.comp, {
4634
+ key: t.id,
4635
+ ...i
4636
+ }, Xt(a))] };
4571
4637
  }
4572
- let r = { nodeId: t.id };
4573
- Jt(t.key) && (r.refContext = {
4574
- parent: e.refContext,
4575
- compId: t.compId
4576
- });
4577
- let i = {};
4578
- return Kt(n) && t.children && (i = Xt(t.children, m)), A(n.comp, {
4579
- key: t.id,
4580
- ...r
4581
- }, i);
4582
4638
  }
4583
- let h = () => {
4639
+ function h() {
4584
4640
  if (!e.refContext) {
4585
- console.assert(!1, "invalid ref context");
4641
+ console.error("slotV1/render invalid ref context");
4586
4642
  return;
4587
4643
  }
4588
4644
  if (!i.value) {
4589
- console.assert(!1, "invalid data");
4645
+ console.error("slotV1/render invalid data");
4590
4646
  return;
4591
4647
  }
4592
4648
  let { i18n: n } = re;
@@ -4610,20 +4666,22 @@ var Jr = /* @__PURE__ */ hr(Kr, [["render", qr]]), Yr = /* @__PURE__ */ k({
4610
4666
  scale: p.value
4611
4667
  }) : void 0;
4612
4668
  if (o.value.type !== i.value.type) {
4613
- console.assert(!1, "subtype not match");
4669
+ console.error("slotV1/render subtype not match");
4614
4670
  return;
4615
4671
  }
4672
+ let a = {};
4673
+ for (let e of o.value.view.nodeLites) Yt(a, m(e, "default"));
4616
4674
  if (o.value.type === "ui") return A("div", {
4617
4675
  id: t.id,
4618
4676
  style: u.value
4619
- }, { default: () => Yt(o.value?.view.nodeLites, m) });
4677
+ }, Xt(a));
4620
4678
  if (o.value.type === "3d") return A(Br, {
4621
4679
  name: t.name,
4622
4680
  position: d.value,
4623
4681
  rotation: f.value,
4624
4682
  scale: p.value
4625
- }, { default: () => Yt(o.value?.view.nodeLites, m) });
4626
- };
4683
+ }, Xt(a));
4684
+ }
4627
4685
  return (e, t) => (M(), T(h));
4628
4686
  }
4629
4687
  }), Xr = /* @__PURE__ */ k({
@@ -14260,7 +14318,7 @@ function xs(e, t) {
14260
14318
  type: "set_app_property_v1",
14261
14319
  binds: ["card", "elementProperty/placeholder/settings.style.color"],
14262
14320
  inputs: { VALUE: { block: {
14263
- type: "color_types_v1",
14321
+ type: "color_v1",
14264
14322
  extraState: { value: "primary" },
14265
14323
  fields: { TYPE: "theme" }
14266
14324
  } } }
@@ -14269,8 +14327,8 @@ function xs(e, t) {
14269
14327
  type: "set_app_property_v1",
14270
14328
  binds: ["card", "elementProperty/placeholder/settings.style.color"],
14271
14329
  inputs: { VALUE: { shadow: {
14272
- type: "color_types_v1",
14273
- extraState: { value: "" }
14330
+ type: "color_v1",
14331
+ extraState: { value: null }
14274
14332
  } } }
14275
14333
  } }
14276
14334
  }
@@ -19946,4 +20004,4 @@ async function xu(e) {
19946
20004
  }), `./locales/${e}/index.ts`, 4)).default;
19947
20005
  }
19948
20006
  //#endregion
19949
- export { It as addIndent, yu as applyBlockBind, pt as breakpoints, gt as calcBreakpoint, $e as compTypes, yt as createBreakpointProperty, H as createMakeNode, Zt as createNode, du as dataStringify, en as duplicateNodePair, tn as duplicateNodePairs, lt as elementKeys, Fc as finalProperties, Nt as fromDotString, xt as genId, dt as getAllElements, ht as getBreakpointName, vt as getBreakpointProperty, ft as getElement, Pt as getField, Bl as getImplementMethodName, _t as getIndexOfBreakpoint, rt as getItems, Qt as getNodeLite, Ht as getPropertyDefault, Vt as getPropertyDefaultArray, jt as getRadius, et as getTag, ct as getTypes, Jt as hasComp, Kt as hasInlineSlot, qt as hasSlot, Ut as initProperties, Rn as initQuickJS, _l as injectDark, Tl as injectData, kl as injectDepends, hl as injectDevice, fl as injectEnv, yl as injectId, Cl as injectMeta, $ as injectMode, Ll as injectNode, Fl as injectNodeLite, ul as injectOrg, jl as injectRuntime, Nl as injectSandbox, zl as injectSlotProps, Dl as injectTransients, xl as injectType, Ze as isCircularReference, R as isExecutableMode, Ot as isHexColor, Gt as isInlineSlot, St as isNull, Ct as isNumber, Et as isPercent, wt as isPixel, Wt as isRenderSwitch, At as isThemeColor, tt as itemsKeys, xu as loadLocaleMessageRuntime, $l as makeEventId, ru as makeEventKeyOfCustomSlot, tu as makeEventKeyOfElementSlot, ql as makeMethodId, Zl as makeMethodKeyOfCustomSlot, Yl as makeMethodKeyOfElementSlot, $t as makeNodePair, Vl as makePropertyId, Gl as makePropertyKeyOfCustomSlot, Ul as makePropertyKeyOfElementSlot, au as makeSlotId, su as makeTriggerId, pu as metaStringify, Qe as pageTypes, fu as parseData, mu as parseMeta, Dt as parsePercent, Tt as parsePixel, En as pkgs, gl as provideDark, wl as provideData, Ol as provideDepends, ml as provideDevice, dl as provideEnv, vl as provideId, Sl as provideMeta, pl as provideMode, Il as provideNode, Pl as provideNodeLite, ll as provideOrg, Al as provideRuntime, Ml as provideSandbox, Rl as provideSlotProps, El as provideTransients, bl as provideType, vu as regBindHandles, B as regElement, z as regItems, st as regTypes, mt as reverseBreakpoints, it as rules, Ft as setField, gu as setupHooks, lu as syncNodeLite, kt as themeColors, Mt as toDotString, Bt as toEventName, zt as toMethodName, uu as toNodeLite, Rt as toPropertyName, Yt as toRenderDefault, Xt as toRenderSlots, at as typesKeys, eu as unwrapEventId, iu as unwrapEventKeyOfCustomSlot, nu as unwrapEventKeyOfElementSlot, Jl as unwrapMethodId, Ql as unwrapMethodKeyOfCustomSlot, Xl as unwrapMethodKeyOfElementSlot, Hl as unwrapPropertyId, Kl as unwrapPropertyKeyOfCustomSlot, Wl as unwrapPropertyKeyOfElementSlot, ou as unwrapSlotId, cu as unwrapTriggerId, In as useColor, Ln as useDepend, Vn as useGlobalTransient, zn as useRuntime, Hn as useSandbox };
20007
+ export { It as addIndent, yu as applyBlockBind, pt as breakpoints, gt as calcBreakpoint, $e as compTypes, yt as createBreakpointProperty, H as createMakeNode, Zt as createNode, du as dataStringify, en as duplicateNodePair, tn as duplicateNodePairs, lt as elementKeys, Fc as finalProperties, Nt as fromDotString, xt as genId, dt as getAllElements, ht as getBreakpointName, vt as getBreakpointProperty, ft as getElement, Pt as getField, Bl as getImplementMethodName, _t as getIndexOfBreakpoint, rt as getItems, Qt as getNodeLite, Ht as getPropertyDefault, Vt as getPropertyDefaultArray, jt as getRadius, et as getTag, ct as getTypes, Jt as hasComp, Kt as hasInlineSlot, qt as hasSlot, Ut as initProperties, Rn as initQuickJS, _l as injectDark, Tl as injectData, kl as injectDepends, hl as injectDevice, fl as injectEnv, yl as injectId, Cl as injectMeta, $ as injectMode, Ll as injectNode, Fl as injectNodeLite, ul as injectOrg, jl as injectRuntime, Nl as injectSandbox, zl as injectSlotProps, Dl as injectTransients, xl as injectType, Ze as isCircularReference, R as isExecutableMode, Ot as isHexColor, Gt as isInlineSlot, St as isNull, Ct as isNumber, Et as isPercent, wt as isPixel, Wt as isRenderSwitch, At as isThemeColor, tt as itemsKeys, xu as loadLocaleMessageRuntime, $l as makeEventId, ru as makeEventKeyOfCustomSlot, tu as makeEventKeyOfElementSlot, ql as makeMethodId, Zl as makeMethodKeyOfCustomSlot, Yl as makeMethodKeyOfElementSlot, $t as makeNodePair, Vl as makePropertyId, Gl as makePropertyKeyOfCustomSlot, Ul as makePropertyKeyOfElementSlot, au as makeSlotId, su as makeTriggerId, Yt as mergeRenderResult, pu as metaStringify, Qe as pageTypes, fu as parseData, mu as parseMeta, Dt as parsePercent, Tt as parsePixel, En as pkgs, gl as provideDark, wl as provideData, Ol as provideDepends, ml as provideDevice, dl as provideEnv, vl as provideId, Sl as provideMeta, pl as provideMode, Il as provideNode, Pl as provideNodeLite, ll as provideOrg, Al as provideRuntime, Ml as provideSandbox, Rl as provideSlotProps, El as provideTransients, bl as provideType, vu as regBindHandles, B as regElement, z as regItems, st as regTypes, mt as reverseBreakpoints, it as rules, Ft as setField, gu as setupHooks, lu as syncNodeLite, kt as themeColors, Mt as toDotString, Bt as toEventName, zt as toMethodName, uu as toNodeLite, Rt as toPropertyName, Xt as toRenderSlots, at as typesKeys, eu as unwrapEventId, iu as unwrapEventKeyOfCustomSlot, nu as unwrapEventKeyOfElementSlot, Jl as unwrapMethodId, Ql as unwrapMethodKeyOfCustomSlot, Xl as unwrapMethodKeyOfElementSlot, Hl as unwrapPropertyId, Kl as unwrapPropertyKeyOfCustomSlot, Wl as unwrapPropertyKeyOfElementSlot, ou as unwrapSlotId, cu as unwrapTriggerId, In as useColor, Ln as useDepend, Vn as useGlobalTransient, zn as useRuntime, Hn as useSandbox };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "x-runtime-lib",
3
3
  "private": false,
4
- "version": "0.9.42",
4
+ "version": "0.9.43",
5
5
  "type": "module",
6
6
  "module": "dist/index.js",
7
7
  "types": "dist/index.d.ts",