x-runtime-lib 0.9.22 → 0.9.24

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.
@@ -1,9 +1,23 @@
1
1
  import { ElementProps } from '@/types';
2
- declare var __VLS_15: {}, __VLS_17: {};
2
+ declare var __VLS_15: {}, __VLS_18: {}, __VLS_21: {}, __VLS_24: {}, __VLS_27: {}, __VLS_30: {}, __VLS_33: {}, __VLS_36: {}, __VLS_39: {};
3
3
  type __VLS_Slots = {} & {
4
- actions?: (props: typeof __VLS_15) => any;
4
+ title?: (props: typeof __VLS_15) => any;
5
5
  } & {
6
- default?: (props: typeof __VLS_17) => any;
6
+ subtitle?: (props: typeof __VLS_18) => any;
7
+ } & {
8
+ text?: (props: typeof __VLS_21) => any;
9
+ } & {
10
+ image?: (props: typeof __VLS_24) => any;
11
+ } & {
12
+ item?: (props: typeof __VLS_27) => any;
13
+ } & {
14
+ actions?: (props: typeof __VLS_30) => any;
15
+ } & {
16
+ default?: (props: typeof __VLS_33) => any;
17
+ } & {
18
+ prepend?: (props: typeof __VLS_36) => any;
19
+ } & {
20
+ append?: (props: typeof __VLS_39) => any;
7
21
  };
8
22
  declare const __VLS_base: import("vue").DefineComponent<ElementProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ElementProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
9
23
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
@@ -0,0 +1,5 @@
1
+ import { Ref } from 'vue';
2
+ import { Node } from '@/types';
3
+ export declare function useElementPropertyRuntime(node: Ref<Node>, keys: string[], initValue?: any): {
4
+ property: Ref<any, any>;
5
+ };
@@ -7,7 +7,7 @@ export * from './elementMethod';
7
7
  export * from './elementPropertyBreakpoint';
8
8
  export * from './elementPropertyColor';
9
9
  export * from './elementPropertyEager';
10
- export * from './elementPropertyTemp';
10
+ export * from './elementPropertyRuntime';
11
11
  export * from './elementProperty';
12
12
  export * from './elementSlotMethod';
13
13
  export * from './elementSlotProperty';
package/dist/index.js CHANGED
@@ -556,7 +556,7 @@ var Gt = class {
556
556
  }
557
557
  };
558
558
  } else return {
559
- nodeLite: Mt(i, r.leaf ? void 0 : []),
559
+ nodeLite: Mt(i, r.speedSlots ? [] : void 0),
560
560
  nodes: { [i.basic.id]: i }
561
561
  };
562
562
  }
@@ -2722,7 +2722,7 @@ function zr(e, t, n) {
2722
2722
  return { property: b(() => kt(r) ? i.value : !1) };
2723
2723
  }
2724
2724
  //#endregion
2725
- //#region src/composables/element/core/elementPropertyTemp.ts
2725
+ //#region src/composables/element/core/elementPropertyRuntime.ts
2726
2726
  function Br(e, t, n) {
2727
2727
  let r = H();
2728
2728
  r && r.initRuntimeProperty(e.value.basic.id, ot(t), n);
@@ -2730,7 +2730,7 @@ function Br(e, t, n) {
2730
2730
  return P(() => {
2731
2731
  r?.vm && (i.value = r.getProperty(U("elementProperty", e.value.basic.id, ot(t))));
2732
2732
  }), Ce(i, async () => {
2733
- r?.vm && (console.log("ffffffff", i.value), await r.setProperty(U("elementProperty", e.value.basic.id, ot(t)), i.value));
2733
+ r?.vm && await r.setProperty(U("elementProperty", e.value.basic.id, ot(t)), i.value);
2734
2734
  }), { property: i };
2735
2735
  }
2736
2736
  //#endregion
@@ -2774,7 +2774,7 @@ function Ur(e, t, n) {
2774
2774
  compId: t.compId
2775
2775
  });
2776
2776
  let a = {};
2777
- return !n.leaf && t.children && (a = Bn(t.children, r)), E(n.comp, {
2777
+ return n.speedSlots && t.children && (a = Bn(t.children, r)), E(n.comp, {
2778
2778
  key: t.id,
2779
2779
  ...i
2780
2780
  }, a);
@@ -3038,17 +3038,17 @@ var ei = [
3038
3038
  refContext: {}
3039
3039
  },
3040
3040
  setup(e) {
3041
- let { node: t } = X(e), n = B(), { position: r, rotation: i, scale: a } = Wr(t), { property: s } = Z(t, ["settings", "bottom"]), { property: c } = Z(t, ["settings", "far"]), { property: l } = Z(t, ["settings", "left"]), { property: u } = Z(t, ["settings", "near"]), { property: d } = Z(t, ["settings", "right"]), { property: f } = Z(t, ["settings", "top"]);
3041
+ let { node: t } = X(e), n = B(), { position: r, rotation: i, scale: a } = Wr(t), { property: s } = Z(t, ["settings", "left"]), { property: c } = Z(t, ["settings", "right"]), { property: l } = Z(t, ["settings", "top"]), { property: u } = Z(t, ["settings", "bottom"]), { property: d } = Z(t, ["settings", "near"]), { property: f } = Z(t, ["settings", "far"]);
3042
3042
  return (e, t) => (k(), C("TresOrthographicCamera", {
3043
- bottom: N(s),
3044
- far: N(c),
3045
- left: N(l),
3046
- near: N(u),
3043
+ bottom: N(u),
3044
+ far: N(f),
3045
+ left: N(s),
3046
+ near: N(d),
3047
3047
  position: N(r),
3048
- right: N(d),
3048
+ right: N(c),
3049
3049
  rotation: N(i),
3050
3050
  scale: N(a),
3051
- top: N(f)
3051
+ top: N(l)
3052
3052
  }, [
3053
3053
  w(N(Dr)),
3054
3054
  N(n) === "editor" ? (k(), x(N(o), {
@@ -3074,12 +3074,12 @@ var ei = [
3074
3074
  refContext: {}
3075
3075
  },
3076
3076
  setup(e) {
3077
- let { node: t } = X(e), n = B(), { position: r, rotation: i, scale: a } = Wr(t), { property: s } = Z(t, ["settings", "aspect"]), { property: c } = Z(t, ["settings", "far"]), { property: l } = Z(t, ["settings", "fov"]), { property: u } = Z(t, ["settings", "near"]);
3077
+ let { node: t } = X(e), n = B(), { position: r, rotation: i, scale: a } = Wr(t), { property: s } = Z(t, ["settings", "fov"]), { property: c } = Z(t, ["settings", "aspect"]), { property: l } = Z(t, ["settings", "near"]), { property: u } = Z(t, ["settings", "far"]);
3078
3078
  return (e, t) => (k(), C("TresPerspectiveCamera", {
3079
- aspect: N(s),
3080
- far: N(c),
3081
- fov: N(l),
3082
- near: N(u),
3079
+ aspect: N(c),
3080
+ far: N(u),
3081
+ fov: N(s),
3082
+ near: N(l),
3083
3083
  position: N(r),
3084
3084
  rotation: N(i),
3085
3085
  scale: N(a)
@@ -3118,14 +3118,14 @@ var ei = [
3118
3118
  refContext: {}
3119
3119
  },
3120
3120
  setup(e) {
3121
- let { node: t } = X(e), { property: n } = Z(t, ["settings", "depth"]), { property: r } = Z(t, ["settings", "depthSegements"]), { property: i } = Z(t, ["settings", "height"]), { property: a } = Z(t, ["settings", "heightSegements"]), { property: o } = Z(t, ["settings", "width"]), { property: s } = Z(t, ["settings", "widthSegements"]);
3121
+ let { node: t } = X(e), { property: n } = Z(t, ["settings", "width"]), { property: r } = Z(t, ["settings", "height"]), { property: i } = Z(t, ["settings", "depth"]), { property: a } = Z(t, ["settings", "widthSegements"]), { property: o } = Z(t, ["settings", "heightSegements"]), { property: s } = Z(t, ["settings", "depthSegements"]);
3122
3122
  return (e, t) => (k(), C("TresBoxGeometry", { args: [
3123
- N(o),
3124
- N(i),
3125
3123
  N(n),
3126
- N(s),
3124
+ N(r),
3125
+ N(i),
3127
3126
  N(a),
3128
- N(r)
3127
+ N(o),
3128
+ N(s)
3129
3129
  ] }, null, 8, si));
3130
3130
  }
3131
3131
  }), li = (e, t) => {
@@ -3140,15 +3140,15 @@ var ei = [
3140
3140
  refContext: {}
3141
3141
  },
3142
3142
  setup(e) {
3143
- let { node: t } = X(e), { property: n } = Z(t, ["settings", "heightSegments"]), { property: r } = Z(t, ["settings", "phiLength"]), { property: i } = Z(t, ["settings", "phiStart"]), { property: a } = Z(t, ["settings", "radius"]), { property: o } = Z(t, ["settings", "thetaLength"]), { property: s } = Z(t, ["settings", "thetaStart"]), { property: c } = Z(t, ["settings", "widthSegments"]);
3143
+ let { node: t } = X(e), { property: n } = Z(t, ["settings", "radius"]), { property: r } = Z(t, ["settings", "widthSegments"]), { property: i } = Z(t, ["settings", "heightSegments"]), { property: a } = Z(t, ["settings", "phiStart"]), { property: o } = Z(t, ["settings", "phiLength"]), { property: s } = Z(t, ["settings", "thetaStart"]), { property: c } = Z(t, ["settings", "thetaLength"]);
3144
3144
  return (e, t) => (k(), C("TresSphereGeometry", { args: [
3145
- N(a),
3146
- N(c),
3147
3145
  N(n),
3148
- N(i),
3149
3146
  N(r),
3147
+ N(i),
3148
+ N(a),
3149
+ N(o),
3150
3150
  N(s),
3151
- N(o)
3151
+ N(c)
3152
3152
  ] }, null, 8, ui));
3153
3153
  }
3154
3154
  }), fi = [
@@ -4027,13 +4027,13 @@ var Di = g, Oi = /* @__PURE__ */ T({
4027
4027
  compId: t.compId
4028
4028
  });
4029
4029
  let i = {};
4030
- return !n.leaf && t.children && (i = Bn(t.children, o)), E(n.comp, {
4030
+ return n.speedSlots && t.children && (i = Bn(t.children, o)), E(n.comp, {
4031
4031
  key: t.id,
4032
4032
  ...r
4033
4033
  }, i);
4034
4034
  }, s = () => {
4035
- if (e.subtype === "ui") return E("div", null, zn(a.value?.view.nodeLites, o));
4036
- if (e.subtype === "3d") return E("TresGroup", null, zn(a.value?.view.nodeLites, o));
4035
+ if (e.subtype === "ui") return E("div", null, { default: () => zn(a.value?.view.nodeLites, o) });
4036
+ if (e.subtype === "3d") return E("TresGroup", null, { default: () => zn(a.value?.view.nodeLites, o) });
4037
4037
  };
4038
4038
  return (e, t) => (k(), x(s));
4039
4039
  }
@@ -4183,13 +4183,13 @@ var Di = g, Oi = /* @__PURE__ */ T({
4183
4183
  compId: t.compId
4184
4184
  });
4185
4185
  let i = {};
4186
- return !n.leaf && t.children && (i = Bn(t.children, o)), E(n.comp, {
4186
+ return n.speedSlots && t.children && (i = Bn(t.children, o)), E(n.comp, {
4187
4187
  key: t.id,
4188
4188
  ...r
4189
4189
  }, i);
4190
4190
  }, s = () => {
4191
- if (e.subtype === "ui") return E("div", null, zn(a.value?.view.nodeLites, o));
4192
- if (e.subtype === "3d") return E("TresGroup", null, zn(a.value?.view.nodeLites, o));
4191
+ if (e.subtype === "ui") return E("div", null, { default: () => zn(a.value?.view.nodeLites, o) });
4192
+ if (e.subtype === "3d") return E("TresGroup", null, { default: () => zn(a.value?.view.nodeLites, o) });
4193
4193
  };
4194
4194
  return (e, t) => (k(), x(s));
4195
4195
  }
@@ -4333,7 +4333,7 @@ var Di = g, Oi = /* @__PURE__ */ T({
4333
4333
  compId: e.compId
4334
4334
  });
4335
4335
  let i = {};
4336
- return !t.leaf && e.children && (i = Bn(e.children, m)), E(t.comp, {
4336
+ return t.speedSlots && e.children && (i = Bn(e.children, m)), E(t.comp, {
4337
4337
  key: e.id,
4338
4338
  ...r
4339
4339
  }, i);
@@ -4373,13 +4373,13 @@ var Di = g, Oi = /* @__PURE__ */ T({
4373
4373
  if (s.value.type === "ui") return E("div", {
4374
4374
  id: t.id,
4375
4375
  style: u.value
4376
- }, zn(s.value.view.nodeLites, m));
4376
+ }, { default: () => zn(s.value?.view.nodeLites, m) });
4377
4377
  if (s.value.type === "3d") return E(Ni, {
4378
4378
  name: t.name,
4379
4379
  position: d.value,
4380
4380
  rotation: f.value,
4381
4381
  scale: p.value
4382
- }, zn(s.value.view.nodeLites, m));
4382
+ }, { default: () => zn(s.value?.view.nodeLites, m) });
4383
4383
  };
4384
4384
  return (e, t) => (k(), x(h));
4385
4385
  }
@@ -4437,7 +4437,7 @@ var Ui = /* @__PURE__ */ li(Vi, [["render", Hi]]), Wi = /* @__PURE__ */ T({
4437
4437
  compId: e.compId
4438
4438
  });
4439
4439
  let i = {};
4440
- return !t.leaf && e.children && (i = Bn(e.children, p)), E(t.comp, {
4440
+ return t.speedSlots && e.children && (i = Bn(e.children, p)), E(t.comp, {
4441
4441
  key: e.id,
4442
4442
  ...r
4443
4443
  }, i);
@@ -4478,13 +4478,13 @@ var Ui = /* @__PURE__ */ li(Vi, [["render", Hi]]), Wi = /* @__PURE__ */ T({
4478
4478
  if (s.value.type === "ui") return E("div", {
4479
4479
  id: t.id,
4480
4480
  style: l.value
4481
- }, zn(s.value.view.nodeLites, p));
4481
+ }, { default: () => zn(s.value?.view.nodeLites, p) });
4482
4482
  if (s.value.type === "3d") return E(Ni, {
4483
4483
  name: t.name,
4484
4484
  position: u.value,
4485
4485
  rotation: d.value,
4486
4486
  scale: f.value
4487
- }, zn(s.value.view.nodeLites, p));
4487
+ }, { default: () => zn(s.value?.view.nodeLites, p) });
4488
4488
  };
4489
4489
  return (e, t) => (k(), x(m));
4490
4490
  }
@@ -4764,31 +4764,73 @@ var Ui = /* @__PURE__ */ li(Vi, [["render", Hi]]), Wi = /* @__PURE__ */ T({
4764
4764
  refContext: {}
4765
4765
  },
4766
4766
  setup(e) {
4767
- let { node: t } = X(e), { activatorProps: n } = kr(), { property: r } = Z(t, ["settings", "density"]), { property: i } = Z(t, ["settings", "disabled"]), { property: a } = Z(t, ["size", "height"]), { property: o } = Z(t, ["settings", "hover"]), { property: s } = Z(t, ["settings", "loading"]), { property: c } = Z(t, ["size", "maxHeight"]), { property: l } = Z(t, ["size", "maxWidth"]), { property: u } = Z(t, ["size", "minHeight"]), { property: d } = Z(t, ["size", "minWidth"]), { property: f } = Z(t, ["settings", "subtitle"]), { property: p } = Z(t, ["settings", "text"]), { theme: m } = $(), { property: h } = Z(t, ["settings", "title"]), { property: g } = Z(t, ["settings", "variant"]), { property: _ } = Z(t, ["size", "width"]);
4767
+ let { node: t, hasRenderGroup: n } = X(e), { activatorProps: r } = kr(), { property: i } = Z(t, ["settings", "density"]), { property: a } = Z(t, ["settings", "disabled"]), { property: o } = Z(t, ["size", "height"]), { property: s } = Z(t, ["settings", "hover"]), { property: c } = Z(t, ["settings", "loading"]), { property: l } = Z(t, ["size", "maxHeight"]), { property: u } = Z(t, ["size", "maxWidth"]), { property: d } = Z(t, ["size", "minHeight"]), { property: f } = Z(t, ["size", "minWidth"]), { property: p } = Z(t, ["settings", "subtitle"]), { property: m } = Z(t, ["settings", "text"]), { theme: h } = $(), { property: g } = Z(t, ["settings", "title"]), { property: _ } = Z(t, ["settings", "variant"]), { property: v } = Z(t, ["size", "width"]);
4768
4768
  return (e, t) => {
4769
- let v = M("v-card");
4769
+ let y = M("v-card");
4770
4770
  return k(), x(N(Y), { block: "" }, {
4771
- default: F(() => [w(v, se(N(n), {
4772
- density: N(r),
4773
- disabled: N(i),
4774
- height: N(a),
4775
- hover: N(o),
4776
- loading: N(s),
4777
- "max-height": N(c),
4778
- "max-width": N(l),
4779
- "min-height": N(u),
4780
- "min-width": N(d),
4781
- subtitle: N(f),
4782
- text: N(p),
4783
- theme: N(m),
4784
- title: N(h),
4785
- variant: N(g),
4786
- width: N(_)
4787
- }), {
4788
- actions: F(() => [re("div", ea, [j(e.$slots, "actions")])]),
4789
- default: F(() => [j(e.$slots, "default")]),
4790
- _: 3
4791
- }, 16, [
4771
+ default: F(() => [w(y, se(N(r), {
4772
+ density: N(i),
4773
+ disabled: N(a),
4774
+ height: N(o),
4775
+ hover: N(s),
4776
+ loading: N(c),
4777
+ "max-height": N(l),
4778
+ "max-width": N(u),
4779
+ "min-height": N(d),
4780
+ "min-width": N(f),
4781
+ subtitle: N(p),
4782
+ text: N(m),
4783
+ theme: N(h),
4784
+ title: N(g),
4785
+ variant: N(_),
4786
+ width: N(v)
4787
+ }), ie({ _: 2 }, [
4788
+ N(n)("title") ? {
4789
+ name: "title",
4790
+ fn: F(() => [j(e.$slots, "title")]),
4791
+ key: "0"
4792
+ } : void 0,
4793
+ N(n)("subtitle") ? {
4794
+ name: "subtitle",
4795
+ fn: F(() => [j(e.$slots, "subtitle")]),
4796
+ key: "1"
4797
+ } : void 0,
4798
+ N(n)("text") ? {
4799
+ name: "text",
4800
+ fn: F(() => [j(e.$slots, "text")]),
4801
+ key: "2"
4802
+ } : void 0,
4803
+ N(n)("image") ? {
4804
+ name: "image",
4805
+ fn: F(() => [j(e.$slots, "image")]),
4806
+ key: "3"
4807
+ } : void 0,
4808
+ N(n)("item") ? {
4809
+ name: "item",
4810
+ fn: F(() => [j(e.$slots, "item")]),
4811
+ key: "4"
4812
+ } : void 0,
4813
+ N(n)("actions") ? {
4814
+ name: "actions",
4815
+ fn: F(() => [re("div", ea, [j(e.$slots, "actions")])]),
4816
+ key: "5"
4817
+ } : void 0,
4818
+ N(n)("default") ? {
4819
+ name: "default",
4820
+ fn: F(() => [j(e.$slots, "default")]),
4821
+ key: "6"
4822
+ } : void 0,
4823
+ N(n)("prepend") ? {
4824
+ name: "prepend",
4825
+ fn: F(() => [j(e.$slots, "prepend")]),
4826
+ key: "7"
4827
+ } : void 0,
4828
+ N(n)("append") ? {
4829
+ name: "append",
4830
+ fn: F(() => [j(e.$slots, "append")]),
4831
+ key: "8"
4832
+ } : void 0
4833
+ ]), 1040, [
4792
4834
  "density",
4793
4835
  "disabled",
4794
4836
  "height",
@@ -7003,6 +7045,10 @@ L({
7003
7045
  Ro
7004
7046
  ]
7005
7047
  },
7048
+ speedSlots: [{
7049
+ key: "default",
7050
+ name: "x-runtime-lib.default"
7051
+ }],
7006
7052
  spawn: Lo
7007
7053
  });
7008
7054
  //#endregion
@@ -7062,6 +7108,10 @@ L({
7062
7108
  Bo
7063
7109
  ]
7064
7110
  },
7111
+ speedSlots: [{
7112
+ key: "default",
7113
+ name: "x-runtime-lib.default"
7114
+ }],
7065
7115
  spawn: zo
7066
7116
  });
7067
7117
  //#endregion
@@ -7079,7 +7129,6 @@ L({
7079
7129
  page3d: [K],
7080
7130
  comp3d: [K]
7081
7131
  },
7082
- leaf: !0,
7083
7132
  spawn: Vo
7084
7133
  });
7085
7134
  //#endregion
@@ -7097,7 +7146,6 @@ L({
7097
7146
  page3d: [K],
7098
7147
  comp3d: [K]
7099
7148
  },
7100
- leaf: !0,
7101
7149
  spawn: Ho
7102
7150
  });
7103
7151
  //#endregion
@@ -7115,7 +7163,6 @@ L({
7115
7163
  page3d: [K],
7116
7164
  comp3d: [K]
7117
7165
  },
7118
- leaf: !0,
7119
7166
  spawn: Uo
7120
7167
  });
7121
7168
  //#endregion
@@ -7186,7 +7233,6 @@ L({
7186
7233
  page3d: [K, Go],
7187
7234
  comp3d: [K, Go]
7188
7235
  },
7189
- leaf: !0,
7190
7236
  spawn: Wo
7191
7237
  });
7192
7238
  //#endregion
@@ -7266,7 +7312,6 @@ L({
7266
7312
  page3d: [K, qo],
7267
7313
  comp3d: [K, qo]
7268
7314
  },
7269
- leaf: !0,
7270
7315
  spawn: Ko
7271
7316
  });
7272
7317
  //#endregion
@@ -7309,9 +7354,10 @@ L({
7309
7354
  Yo
7310
7355
  ]
7311
7356
  },
7312
- events: [],
7313
- methods: [],
7314
- slots: [],
7357
+ speedSlots: [{
7358
+ key: "default",
7359
+ name: "x-runtime-lib.default"
7360
+ }],
7315
7361
  spawn: Jo
7316
7362
  });
7317
7363
  //#endregion
@@ -7354,9 +7400,10 @@ L({
7354
7400
  Zo
7355
7401
  ]
7356
7402
  },
7357
- events: [],
7358
- methods: [],
7359
- slots: [],
7403
+ speedSlots: [{
7404
+ key: "default",
7405
+ name: "x-runtime-lib.default"
7406
+ }],
7360
7407
  spawn: Xo
7361
7408
  });
7362
7409
  //#endregion
@@ -7416,9 +7463,10 @@ L({
7416
7463
  $o
7417
7464
  ]
7418
7465
  },
7419
- events: [],
7420
- methods: [],
7421
- slots: [],
7466
+ speedSlots: [{
7467
+ key: "default",
7468
+ name: "x-runtime-lib.default"
7469
+ }],
7422
7470
  spawn: Qo
7423
7471
  });
7424
7472
  //#endregion
@@ -7497,6 +7545,10 @@ L({
7497
7545
  ts
7498
7546
  ]
7499
7547
  },
7548
+ speedSlots: [{
7549
+ key: "default",
7550
+ name: "x-runtime-lib.default"
7551
+ }],
7500
7552
  spawn: es
7501
7553
  }), L({
7502
7554
  key: "3d_mesh_basic_material_v1",
@@ -7505,8 +7557,7 @@ L({
7505
7557
  properties: {
7506
7558
  page3d: [K],
7507
7559
  comp3d: [K]
7508
- },
7509
- leaf: !0
7560
+ }
7510
7561
  });
7511
7562
  //#endregion
7512
7563
  //#region src/element/3d/object/group/v1/spawn.ts
@@ -7523,6 +7574,10 @@ L({
7523
7574
  page3d: [K, J],
7524
7575
  comp3d: [K, J]
7525
7576
  },
7577
+ speedSlots: [{
7578
+ key: "default",
7579
+ name: "x-runtime-lib.default"
7580
+ }],
7526
7581
  spawn: ns
7527
7582
  });
7528
7583
  //#endregion
@@ -7540,6 +7595,10 @@ L({
7540
7595
  page3d: [K, J],
7541
7596
  comp3d: [K, J]
7542
7597
  },
7598
+ speedSlots: [{
7599
+ key: "default",
7600
+ name: "x-runtime-lib.default"
7601
+ }],
7543
7602
  spawn: rs
7544
7603
  });
7545
7604
  //#endregion
@@ -7615,7 +7674,6 @@ L({
7615
7674
  as
7616
7675
  ]
7617
7676
  },
7618
- leaf: !0,
7619
7677
  spawn: is
7620
7678
  });
7621
7679
  //#endregion
@@ -7691,7 +7749,6 @@ L({
7691
7749
  ss
7692
7750
  ]
7693
7751
  },
7694
- leaf: !0,
7695
7752
  spawn: os
7696
7753
  });
7697
7754
  //#endregion
@@ -7748,7 +7805,6 @@ L({
7748
7805
  us
7749
7806
  ]
7750
7807
  },
7751
- leaf: !0,
7752
7808
  spawn: cs
7753
7809
  });
7754
7810
  //#endregion
@@ -7804,8 +7860,7 @@ L({
7804
7860
  ds,
7805
7861
  fs
7806
7862
  ]
7807
- },
7808
- leaf: !0
7863
+ }
7809
7864
  });
7810
7865
  //#endregion
7811
7866
  //#region src/element/dynamic/ref/v1/spawn.ts
@@ -7850,7 +7905,6 @@ L({
7850
7905
  ms
7851
7906
  ]
7852
7907
  },
7853
- leaf: !0,
7854
7908
  spawn: ps
7855
7909
  });
7856
7910
  //#endregion
@@ -7955,7 +8009,6 @@ L({
7955
8009
  bs
7956
8010
  ]
7957
8011
  },
7958
- leaf: !0,
7959
8012
  spawn: ys
7960
8013
  });
7961
8014
  //#endregion
@@ -8022,7 +8075,11 @@ L({
8022
8075
  properties: {
8023
8076
  pageUi: [K],
8024
8077
  compUi: [K]
8025
- }
8078
+ },
8079
+ speedSlots: [{
8080
+ key: "default",
8081
+ name: "x-runtime-lib.default"
8082
+ }]
8026
8083
  });
8027
8084
  //#endregion
8028
8085
  //#region src/element/ui/badge/v1/spawn.ts
@@ -8091,6 +8148,10 @@ L({
8091
8148
  pageUi: [K, Ds],
8092
8149
  compUi: [K, Ds]
8093
8150
  },
8151
+ speedSlots: [{
8152
+ key: "default",
8153
+ name: "x-runtime-lib.default"
8154
+ }],
8094
8155
  spawn: Es
8095
8156
  });
8096
8157
  //#endregion
@@ -8307,7 +8368,6 @@ L({
8307
8368
  key: "click",
8308
8369
  name: "x-runtime-lib.click"
8309
8370
  }],
8310
- leaf: !0,
8311
8371
  spawn: js
8312
8372
  });
8313
8373
  //#endregion
@@ -8418,6 +8478,10 @@ L({
8418
8478
  pageUi: [K, Ls],
8419
8479
  compUi: [K, Ls]
8420
8480
  },
8481
+ speedSlots: [{
8482
+ key: "default",
8483
+ name: "x-runtime-lib.default"
8484
+ }],
8421
8485
  spawn: Is
8422
8486
  });
8423
8487
  //#endregion
@@ -8512,6 +8576,44 @@ L({
8512
8576
  zs
8513
8577
  ]
8514
8578
  },
8579
+ speedSlots: [
8580
+ {
8581
+ key: "title",
8582
+ name: "x-runtime-lib.title"
8583
+ },
8584
+ {
8585
+ key: "subtitle",
8586
+ name: "x-runtime-lib.subtitle"
8587
+ },
8588
+ {
8589
+ key: "text",
8590
+ name: "x-runtime-lib.text"
8591
+ },
8592
+ {
8593
+ key: "image",
8594
+ name: "x-runtime-lib.image"
8595
+ },
8596
+ {
8597
+ key: "item",
8598
+ name: "x-runtime-lib.item"
8599
+ },
8600
+ {
8601
+ key: "actions",
8602
+ name: "x-runtime-lib.actions"
8603
+ },
8604
+ {
8605
+ key: "default",
8606
+ name: "x-runtime-lib.default"
8607
+ },
8608
+ {
8609
+ key: "prepend",
8610
+ name: "x-runtime-lib.prepend"
8611
+ },
8612
+ {
8613
+ key: "append",
8614
+ name: "x-runtime-lib.append"
8615
+ }
8616
+ ],
8515
8617
  spawn: Rs
8516
8618
  });
8517
8619
  //#endregion
@@ -8677,7 +8779,6 @@ L({
8677
8779
  pageUi: [K, Ws],
8678
8780
  compUi: [K, Ws]
8679
8781
  },
8680
- leaf: !0,
8681
8782
  spawn: Us
8682
8783
  });
8683
8784
  //#endregion
@@ -8766,6 +8867,10 @@ L({
8766
8867
  pageUi: [K, Ks],
8767
8868
  compUi: [K, Ks]
8768
8869
  },
8870
+ speedSlots: [{
8871
+ key: "default",
8872
+ name: "x-runtime-lib.default"
8873
+ }],
8769
8874
  spawn: Gs
8770
8875
  }), L({
8771
8876
  key: "ui_color_picker_v1",
@@ -8774,8 +8879,7 @@ L({
8774
8879
  properties: {
8775
8880
  pageUi: [K],
8776
8881
  compUi: [K]
8777
- },
8778
- leaf: !0
8882
+ }
8779
8883
  });
8780
8884
  //#endregion
8781
8885
  //#region src/element/ui/combobox/v1/spawn.ts
@@ -8834,7 +8938,6 @@ L({
8834
8938
  pageUi: [K, Js],
8835
8939
  compUi: [K, Js]
8836
8940
  },
8837
- leaf: !0,
8838
8941
  spawn: qs
8839
8942
  });
8840
8943
  //#endregion
@@ -8881,6 +8984,10 @@ L({
8881
8984
  key: "click",
8882
8985
  name: "x-runtime-lib.click"
8883
8986
  }],
8987
+ speedSlots: [{
8988
+ key: "default",
8989
+ name: "x-runtime-lib.default"
8990
+ }],
8884
8991
  spawn: Ys
8885
8992
  });
8886
8993
  //#endregion
@@ -9081,7 +9188,6 @@ L({
9081
9188
  readonly: !0
9082
9189
  }]
9083
9190
  }],
9084
- leaf: !0,
9085
9191
  spawn: Zs
9086
9192
  });
9087
9193
  //#endregion
@@ -9099,7 +9205,6 @@ L({
9099
9205
  pageUi: [K],
9100
9206
  compUi: [K]
9101
9207
  },
9102
- leaf: !0,
9103
9208
  spawn: tc
9104
9209
  }), L({
9105
9210
  key: "ui_date_picker_v1",
@@ -9108,8 +9213,7 @@ L({
9108
9213
  properties: {
9109
9214
  pageUi: [K],
9110
9215
  compUi: [K]
9111
- },
9112
- leaf: !0
9216
+ }
9113
9217
  });
9114
9218
  //#endregion
9115
9219
  //#region src/element/ui/dialog/v1/spawn.ts
@@ -9164,6 +9268,13 @@ L({
9164
9268
  key: "close",
9165
9269
  name: "x-runtime-lib.close"
9166
9270
  }],
9271
+ speedSlots: [{
9272
+ key: "activator",
9273
+ name: "x-runtime-lib.activator"
9274
+ }, {
9275
+ key: "default",
9276
+ name: "x-runtime-lib.default"
9277
+ }],
9167
9278
  teleport: !0,
9168
9279
  spawn: nc
9169
9280
  });
@@ -9211,7 +9322,6 @@ L({
9211
9322
  pageUi: [K, oc],
9212
9323
  compUi: [K, oc]
9213
9324
  },
9214
- leaf: !0,
9215
9325
  spawn: ac
9216
9326
  });
9217
9327
  //#endregion
@@ -9305,6 +9415,10 @@ L({
9305
9415
  key: "click",
9306
9416
  name: "x-runtime-lib.click"
9307
9417
  }],
9418
+ speedSlots: [{
9419
+ key: "default",
9420
+ name: "x-runtime-lib.default"
9421
+ }],
9308
9422
  spawn: sc
9309
9423
  });
9310
9424
  //#endregion
@@ -9339,7 +9453,11 @@ L({
9339
9453
  q,
9340
9454
  lc
9341
9455
  ]
9342
- }
9456
+ },
9457
+ speedSlots: [{
9458
+ key: "default",
9459
+ name: "x-runtime-lib.default"
9460
+ }]
9343
9461
  });
9344
9462
  //#endregion
9345
9463
  //#region src/element/ui/form/v1/spawn.ts
@@ -9391,6 +9509,10 @@ L({
9391
9509
  key: "submit",
9392
9510
  name: "x-runtime-lib.submit"
9393
9511
  }],
9512
+ speedSlots: [{
9513
+ key: "default",
9514
+ name: "x-runtime-lib.default"
9515
+ }],
9394
9516
  spawn: uc
9395
9517
  });
9396
9518
  //#endregion
@@ -9421,6 +9543,10 @@ L({
9421
9543
  pageUi: [K, pc],
9422
9544
  compUi: [K, pc]
9423
9545
  },
9546
+ speedSlots: [{
9547
+ key: "default",
9548
+ name: "x-runtime-lib.default"
9549
+ }],
9424
9550
  spawn: fc
9425
9551
  });
9426
9552
  //#endregion
@@ -9470,7 +9596,6 @@ L({
9470
9596
  pageUi: [K, hc],
9471
9597
  compUi: [K, hc]
9472
9598
  },
9473
- leaf: !0,
9474
9599
  spawn: mc
9475
9600
  });
9476
9601
  //#endregion
@@ -9587,6 +9712,10 @@ L({
9587
9712
  pageUi: [K, yc],
9588
9713
  compUi: [K, yc]
9589
9714
  },
9715
+ speedSlots: [{
9716
+ key: "default",
9717
+ name: "x-runtime-lib.default"
9718
+ }],
9590
9719
  spawn: vc
9591
9720
  });
9592
9721
  //#endregion
@@ -9618,6 +9747,10 @@ L({
9618
9747
  pageUi: [K],
9619
9748
  compUi: [K]
9620
9749
  },
9750
+ speedSlots: [{
9751
+ key: "default",
9752
+ name: "x-runtime-lib.default"
9753
+ }],
9621
9754
  spawn: bc
9622
9755
  });
9623
9756
  //#endregion
@@ -9701,6 +9834,13 @@ L({
9701
9834
  key: "close",
9702
9835
  name: "x-runtime-lib.close"
9703
9836
  }],
9837
+ speedSlots: [{
9838
+ key: "activator",
9839
+ name: "x-runtime-lib.activator"
9840
+ }, {
9841
+ key: "default",
9842
+ name: "x-runtime-lib.default"
9843
+ }],
9704
9844
  teleport: !0,
9705
9845
  spawn: Sc
9706
9846
  });
@@ -9920,7 +10060,6 @@ L({
9920
10060
  name: "x-runtime-lib.clickPrependInner"
9921
10061
  }
9922
10062
  ],
9923
- leaf: !0,
9924
10063
  spawn: wc
9925
10064
  });
9926
10065
  //#endregion
@@ -10054,7 +10193,6 @@ L({
10054
10193
  pageUi: [K, Ac],
10055
10194
  compUi: [K, Ac]
10056
10195
  },
10057
- leaf: !0,
10058
10196
  spawn: kc
10059
10197
  });
10060
10198
  //#endregion
@@ -10121,6 +10259,10 @@ L({
10121
10259
  Mc
10122
10260
  ]
10123
10261
  },
10262
+ speedSlots: [{
10263
+ key: "default",
10264
+ name: "x-runtime-lib.default"
10265
+ }],
10124
10266
  spawn: jc
10125
10267
  });
10126
10268
  //#endregion
@@ -10176,8 +10318,7 @@ L({
10176
10318
  properties: {
10177
10319
  pageUi: [K, Nc],
10178
10320
  compUi: [K, Nc]
10179
- },
10180
- leaf: !0
10321
+ }
10181
10322
  });
10182
10323
  //#endregion
10183
10324
  //#region src/element/ui/radioGroup/v1/spawn.ts
@@ -10252,6 +10393,10 @@ L({
10252
10393
  pageUi: [K, Fc],
10253
10394
  compUi: [K, Fc]
10254
10395
  },
10396
+ speedSlots: [{
10397
+ key: "default",
10398
+ name: "x-runtime-lib.default"
10399
+ }],
10255
10400
  spawn: Pc
10256
10401
  });
10257
10402
  //#endregion
@@ -10398,7 +10543,6 @@ L({
10398
10543
  pageUi: [K, Lc],
10399
10544
  compUi: [K, Lc]
10400
10545
  },
10401
- leaf: !0,
10402
10546
  spawn: Ic
10403
10547
  });
10404
10548
  //#endregion
@@ -10472,7 +10616,6 @@ L({
10472
10616
  pageUi: [K, zc],
10473
10617
  compUi: [K, zc]
10474
10618
  },
10475
- leaf: !0,
10476
10619
  spawn: Rc
10477
10620
  });
10478
10621
  //#endregion
@@ -10532,7 +10675,6 @@ L({
10532
10675
  pageUi: [K, Vc],
10533
10676
  compUi: [K, Vc]
10534
10677
  },
10535
- leaf: !0,
10536
10678
  spawn: Bc
10537
10679
  });
10538
10680
  //#endregion
@@ -10583,6 +10725,10 @@ L({
10583
10725
  Uc
10584
10726
  ]
10585
10727
  },
10728
+ speedSlots: [{
10729
+ key: "default",
10730
+ name: "x-runtime-lib.default"
10731
+ }],
10586
10732
  spawn: Hc
10587
10733
  });
10588
10734
  //#endregion
@@ -10605,6 +10751,10 @@ L({
10605
10751
  pageUi: [K],
10606
10752
  compUi: [K]
10607
10753
  },
10754
+ speedSlots: [{
10755
+ key: "default",
10756
+ name: "x-runtime-lib.default"
10757
+ }],
10608
10758
  spawn: Wc
10609
10759
  });
10610
10760
  //#endregion
@@ -10627,6 +10777,10 @@ L({
10627
10777
  pageUi: [K, Gc],
10628
10778
  compUi: [K, Gc]
10629
10779
  },
10780
+ speedSlots: [{
10781
+ key: "default",
10782
+ name: "x-runtime-lib.default"
10783
+ }],
10630
10784
  slots: [{
10631
10785
  key: "content",
10632
10786
  name: "x-runtime-lib.content",
@@ -10818,7 +10972,6 @@ L({
10818
10972
  Jc
10819
10973
  ]
10820
10974
  },
10821
- leaf: !0,
10822
10975
  spawn: Kc
10823
10976
  });
10824
10977
  //#endregion
@@ -10899,6 +11052,13 @@ L({
10899
11052
  Zc
10900
11053
  ]
10901
11054
  },
11055
+ speedSlots: [{
11056
+ key: "activator",
11057
+ name: "x-runtime-lib.activator"
11058
+ }, {
11059
+ key: "default",
11060
+ name: "x-runtime-lib.default"
11061
+ }],
10902
11062
  spawn: Yc
10903
11063
  });
10904
11064
  //#endregion
@@ -10942,6 +11102,10 @@ L({
10942
11102
  pageUi: [K, $c],
10943
11103
  compUi: [K, $c]
10944
11104
  },
11105
+ speedSlots: [{
11106
+ key: "default",
11107
+ name: "x-runtime-lib.default"
11108
+ }],
10945
11109
  spawn: Qc
10946
11110
  }), L({
10947
11111
  key: "ui_stepper_header_v1",
@@ -10950,7 +11114,11 @@ L({
10950
11114
  properties: {
10951
11115
  pageUi: [K],
10952
11116
  compUi: [K]
10953
- }
11117
+ },
11118
+ speedSlots: [{
11119
+ key: "default",
11120
+ name: "x-runtime-lib.default"
11121
+ }]
10954
11122
  });
10955
11123
  //#endregion
10956
11124
  //#region src/element/ui/stepperItem/v1/index.ts
@@ -10973,7 +11141,11 @@ L({
10973
11141
  properties: {
10974
11142
  pageUi: [K, el],
10975
11143
  compUi: [K, el]
10976
- }
11144
+ },
11145
+ speedSlots: [{
11146
+ key: "default",
11147
+ name: "x-runtime-lib.default"
11148
+ }]
10977
11149
  }), L({
10978
11150
  key: "ui_stepper_window_v1",
10979
11151
  name: "x-runtime-lib.stepperWindow",
@@ -10981,7 +11153,11 @@ L({
10981
11153
  properties: {
10982
11154
  pageUi: [K],
10983
11155
  compUi: [K]
10984
- }
11156
+ },
11157
+ speedSlots: [{
11158
+ key: "default",
11159
+ name: "x-runtime-lib.default"
11160
+ }]
10985
11161
  });
10986
11162
  //#endregion
10987
11163
  //#region src/element/ui/stepperWindowItem/v1/index.ts
@@ -11002,7 +11178,11 @@ L({
11002
11178
  properties: {
11003
11179
  pageUi: [K, tl],
11004
11180
  compUi: [K, tl]
11005
- }
11181
+ },
11182
+ speedSlots: [{
11183
+ key: "default",
11184
+ name: "x-runtime-lib.default"
11185
+ }]
11006
11186
  });
11007
11187
  //#endregion
11008
11188
  //#region src/element/ui/switch/v1/spawn.ts
@@ -11106,7 +11286,6 @@ L({
11106
11286
  pageUi: [K, rl],
11107
11287
  compUi: [K, rl]
11108
11288
  },
11109
- leaf: !0,
11110
11289
  spawn: nl
11111
11290
  });
11112
11291
  //#endregion
@@ -11133,8 +11312,7 @@ L({
11133
11312
  properties: {
11134
11313
  pageUi: [K, il],
11135
11314
  compUi: [K, il]
11136
- },
11137
- leaf: !0
11315
+ }
11138
11316
  });
11139
11317
  //#endregion
11140
11318
  //#region src/element/ui/table/v1/spawn.ts
@@ -11174,6 +11352,10 @@ L({
11174
11352
  pageUi: [K, ol],
11175
11353
  compUi: [K, ol]
11176
11354
  },
11355
+ speedSlots: [{
11356
+ key: "default",
11357
+ name: "x-runtime-lib.default"
11358
+ }],
11177
11359
  spawn: al
11178
11360
  }), L({
11179
11361
  key: "ui_table_body_v1",
@@ -11182,7 +11364,11 @@ L({
11182
11364
  properties: {
11183
11365
  pageUi: [K],
11184
11366
  compUi: [K]
11185
- }
11367
+ },
11368
+ speedSlots: [{
11369
+ key: "default",
11370
+ name: "x-runtime-lib.default"
11371
+ }]
11186
11372
  }), L({
11187
11373
  key: "ui_table_body_cell_v1",
11188
11374
  name: "x-runtime-lib.tableBodyCell",
@@ -11190,7 +11376,11 @@ L({
11190
11376
  properties: {
11191
11377
  pageUi: [K],
11192
11378
  compUi: [K]
11193
- }
11379
+ },
11380
+ speedSlots: [{
11381
+ key: "default",
11382
+ name: "x-runtime-lib.default"
11383
+ }]
11194
11384
  }), L({
11195
11385
  key: "ui_table_head_v1",
11196
11386
  name: "x-runtime-lib.tableHead",
@@ -11198,7 +11388,11 @@ L({
11198
11388
  properties: {
11199
11389
  pageUi: [K],
11200
11390
  compUi: [K]
11201
- }
11391
+ },
11392
+ speedSlots: [{
11393
+ key: "default",
11394
+ name: "x-runtime-lib.default"
11395
+ }]
11202
11396
  }), L({
11203
11397
  key: "ui_table_head_cell_v1",
11204
11398
  name: "x-runtime-lib.tableHeadCell",
@@ -11206,7 +11400,11 @@ L({
11206
11400
  properties: {
11207
11401
  pageUi: [K],
11208
11402
  compUi: [K]
11209
- }
11403
+ },
11404
+ speedSlots: [{
11405
+ key: "default",
11406
+ name: "x-runtime-lib.default"
11407
+ }]
11210
11408
  }), L({
11211
11409
  key: "ui_table_row_v1",
11212
11410
  name: "x-runtime-lib.tableRow",
@@ -11214,7 +11412,11 @@ L({
11214
11412
  properties: {
11215
11413
  pageUi: [K],
11216
11414
  compUi: [K]
11217
- }
11415
+ },
11416
+ speedSlots: [{
11417
+ key: "default",
11418
+ name: "x-runtime-lib.default"
11419
+ }]
11218
11420
  });
11219
11421
  //#endregion
11220
11422
  //#region src/element/ui/tabs/v1/spawn.ts
@@ -11353,6 +11555,10 @@ L({
11353
11555
  pageUi: [K, cl],
11354
11556
  compUi: [K, cl]
11355
11557
  },
11558
+ speedSlots: [{
11559
+ key: "default",
11560
+ name: "x-runtime-lib.default"
11561
+ }],
11356
11562
  spawn: sl
11357
11563
  });
11358
11564
  //#endregion
@@ -11430,7 +11636,6 @@ L({
11430
11636
  pageUi: [K, ul],
11431
11637
  compUi: [K, ul]
11432
11638
  },
11433
- leaf: !0,
11434
11639
  spawn: ll
11435
11640
  });
11436
11641
  //#endregion
@@ -11543,7 +11748,6 @@ L({
11543
11748
  pageUi: [K, fl],
11544
11749
  compUi: [K, fl]
11545
11750
  },
11546
- leaf: !0,
11547
11751
  spawn: dl
11548
11752
  });
11549
11753
  //#endregion
@@ -11850,7 +12054,6 @@ L({
11850
12054
  }]
11851
12055
  }
11852
12056
  ],
11853
- leaf: !0,
11854
12057
  spawn: pl
11855
12058
  });
11856
12059
  //#endregion
@@ -11963,6 +12166,10 @@ L({
11963
12166
  pageUi: [K, yl],
11964
12167
  compUi: [K, yl]
11965
12168
  },
12169
+ speedSlots: [{
12170
+ key: "default",
12171
+ name: "x-runtime-lib.default"
12172
+ }],
11966
12173
  spawn: vl
11967
12174
  }), L({
11968
12175
  key: "ui_timeline_item_v1",
@@ -11971,7 +12178,11 @@ L({
11971
12178
  properties: {
11972
12179
  pageUi: [K],
11973
12180
  compUi: [K]
11974
- }
12181
+ },
12182
+ speedSlots: [{
12183
+ key: "default",
12184
+ name: "x-runtime-lib.default"
12185
+ }]
11975
12186
  });
11976
12187
  //#endregion
11977
12188
  //#region src/element/ui/tooltip/v1/spawn.ts
@@ -12082,6 +12293,13 @@ L({
12082
12293
  key: "close",
12083
12294
  name: "x-runtime-lib.close"
12084
12295
  }],
12296
+ speedSlots: [{
12297
+ key: "activator",
12298
+ name: "x-runtime-lib.activator"
12299
+ }, {
12300
+ key: "default",
12301
+ name: "x-runtime-lib.default"
12302
+ }],
12085
12303
  teleport: !0,
12086
12304
  spawn: bl
12087
12305
  });
@@ -12180,6 +12398,10 @@ L({
12180
12398
  pageUi: [K, Cl],
12181
12399
  compUi: [K, Cl]
12182
12400
  },
12401
+ speedSlots: [{
12402
+ key: "default",
12403
+ name: "x-runtime-lib.default"
12404
+ }],
12183
12405
  spawn: Sl
12184
12406
  }), L({
12185
12407
  key: "ui_window_item_v1",
@@ -12188,7 +12410,11 @@ L({
12188
12410
  properties: {
12189
12411
  pageUi: [K],
12190
12412
  compUi: [K]
12191
- }
12413
+ },
12414
+ speedSlots: [{
12415
+ key: "default",
12416
+ name: "x-runtime-lib.default"
12417
+ }]
12192
12418
  });
12193
12419
  //#endregion
12194
12420
  //#region src/element/finalProperties.ts
@@ -32,6 +32,10 @@ export type ZEvent = {
32
32
  }[];
33
33
  desc?: string;
34
34
  };
35
+ export type ZSpeedSlot = {
36
+ key: string;
37
+ name: string;
38
+ };
35
39
  export type ZSlotProperty = {
36
40
  key: string;
37
41
  name: string;
@@ -76,6 +80,7 @@ export type ZSlot = {
76
80
  events?: ZSlotEvent[];
77
81
  desc?: string;
78
82
  };
83
+ export type ZSpawnFunc = (type: string, subtype: string, ...params: any[]) => NodePair;
79
84
  export type ZElement = {
80
85
  key: ZElementKey;
81
86
  name: string;
@@ -85,11 +90,14 @@ export type ZElement = {
85
90
  };
86
91
  methods?: ZMethod[];
87
92
  events?: ZEvent[];
93
+ speedSlots?: ZSpeedSlot[];
88
94
  slots?: ZSlot[];
89
- leaf?: boolean;
90
95
  internal?: boolean;
91
96
  teleport?: boolean;
92
- spawn?: (type: string, subtype: string, ...params: any[]) => NodePair;
97
+ spawn?: ZSpawnFunc | {
98
+ name: string;
99
+ func: ZSpawnFunc;
100
+ }[];
93
101
  };
94
102
  export declare function regElement(element: ZElement): void;
95
103
  export declare function getAllElements(): {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "x-runtime-lib",
3
3
  "private": false,
4
- "version": "0.9.22",
4
+ "version": "0.9.24",
5
5
  "type": "module",
6
6
  "module": "dist/index.js",
7
7
  "types": "dist/index.d.ts",
@@ -1,5 +0,0 @@
1
- import { Ref } from 'vue';
2
- import { Node } from '@/types';
3
- export declare function useElementPropertyTemp(node: Ref<Node>, keys: string[], initValue?: any): {
4
- property: Ref<any, any>;
5
- };