x-runtime-lib 0.9.23 → 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.
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
  }
@@ -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);
@@ -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
  }
@@ -7045,6 +7045,10 @@ L({
7045
7045
  Ro
7046
7046
  ]
7047
7047
  },
7048
+ speedSlots: [{
7049
+ key: "default",
7050
+ name: "x-runtime-lib.default"
7051
+ }],
7048
7052
  spawn: Lo
7049
7053
  });
7050
7054
  //#endregion
@@ -7104,6 +7108,10 @@ L({
7104
7108
  Bo
7105
7109
  ]
7106
7110
  },
7111
+ speedSlots: [{
7112
+ key: "default",
7113
+ name: "x-runtime-lib.default"
7114
+ }],
7107
7115
  spawn: zo
7108
7116
  });
7109
7117
  //#endregion
@@ -7121,7 +7129,6 @@ L({
7121
7129
  page3d: [K],
7122
7130
  comp3d: [K]
7123
7131
  },
7124
- leaf: !0,
7125
7132
  spawn: Vo
7126
7133
  });
7127
7134
  //#endregion
@@ -7139,7 +7146,6 @@ L({
7139
7146
  page3d: [K],
7140
7147
  comp3d: [K]
7141
7148
  },
7142
- leaf: !0,
7143
7149
  spawn: Ho
7144
7150
  });
7145
7151
  //#endregion
@@ -7157,7 +7163,6 @@ L({
7157
7163
  page3d: [K],
7158
7164
  comp3d: [K]
7159
7165
  },
7160
- leaf: !0,
7161
7166
  spawn: Uo
7162
7167
  });
7163
7168
  //#endregion
@@ -7228,7 +7233,6 @@ L({
7228
7233
  page3d: [K, Go],
7229
7234
  comp3d: [K, Go]
7230
7235
  },
7231
- leaf: !0,
7232
7236
  spawn: Wo
7233
7237
  });
7234
7238
  //#endregion
@@ -7308,7 +7312,6 @@ L({
7308
7312
  page3d: [K, qo],
7309
7313
  comp3d: [K, qo]
7310
7314
  },
7311
- leaf: !0,
7312
7315
  spawn: Ko
7313
7316
  });
7314
7317
  //#endregion
@@ -7351,9 +7354,10 @@ L({
7351
7354
  Yo
7352
7355
  ]
7353
7356
  },
7354
- events: [],
7355
- methods: [],
7356
- slots: [],
7357
+ speedSlots: [{
7358
+ key: "default",
7359
+ name: "x-runtime-lib.default"
7360
+ }],
7357
7361
  spawn: Jo
7358
7362
  });
7359
7363
  //#endregion
@@ -7396,9 +7400,10 @@ L({
7396
7400
  Zo
7397
7401
  ]
7398
7402
  },
7399
- events: [],
7400
- methods: [],
7401
- slots: [],
7403
+ speedSlots: [{
7404
+ key: "default",
7405
+ name: "x-runtime-lib.default"
7406
+ }],
7402
7407
  spawn: Xo
7403
7408
  });
7404
7409
  //#endregion
@@ -7458,9 +7463,10 @@ L({
7458
7463
  $o
7459
7464
  ]
7460
7465
  },
7461
- events: [],
7462
- methods: [],
7463
- slots: [],
7466
+ speedSlots: [{
7467
+ key: "default",
7468
+ name: "x-runtime-lib.default"
7469
+ }],
7464
7470
  spawn: Qo
7465
7471
  });
7466
7472
  //#endregion
@@ -7539,6 +7545,10 @@ L({
7539
7545
  ts
7540
7546
  ]
7541
7547
  },
7548
+ speedSlots: [{
7549
+ key: "default",
7550
+ name: "x-runtime-lib.default"
7551
+ }],
7542
7552
  spawn: es
7543
7553
  }), L({
7544
7554
  key: "3d_mesh_basic_material_v1",
@@ -7547,8 +7557,7 @@ L({
7547
7557
  properties: {
7548
7558
  page3d: [K],
7549
7559
  comp3d: [K]
7550
- },
7551
- leaf: !0
7560
+ }
7552
7561
  });
7553
7562
  //#endregion
7554
7563
  //#region src/element/3d/object/group/v1/spawn.ts
@@ -7565,6 +7574,10 @@ L({
7565
7574
  page3d: [K, J],
7566
7575
  comp3d: [K, J]
7567
7576
  },
7577
+ speedSlots: [{
7578
+ key: "default",
7579
+ name: "x-runtime-lib.default"
7580
+ }],
7568
7581
  spawn: ns
7569
7582
  });
7570
7583
  //#endregion
@@ -7582,6 +7595,10 @@ L({
7582
7595
  page3d: [K, J],
7583
7596
  comp3d: [K, J]
7584
7597
  },
7598
+ speedSlots: [{
7599
+ key: "default",
7600
+ name: "x-runtime-lib.default"
7601
+ }],
7585
7602
  spawn: rs
7586
7603
  });
7587
7604
  //#endregion
@@ -7657,7 +7674,6 @@ L({
7657
7674
  as
7658
7675
  ]
7659
7676
  },
7660
- leaf: !0,
7661
7677
  spawn: is
7662
7678
  });
7663
7679
  //#endregion
@@ -7733,7 +7749,6 @@ L({
7733
7749
  ss
7734
7750
  ]
7735
7751
  },
7736
- leaf: !0,
7737
7752
  spawn: os
7738
7753
  });
7739
7754
  //#endregion
@@ -7790,7 +7805,6 @@ L({
7790
7805
  us
7791
7806
  ]
7792
7807
  },
7793
- leaf: !0,
7794
7808
  spawn: cs
7795
7809
  });
7796
7810
  //#endregion
@@ -7846,8 +7860,7 @@ L({
7846
7860
  ds,
7847
7861
  fs
7848
7862
  ]
7849
- },
7850
- leaf: !0
7863
+ }
7851
7864
  });
7852
7865
  //#endregion
7853
7866
  //#region src/element/dynamic/ref/v1/spawn.ts
@@ -7892,7 +7905,6 @@ L({
7892
7905
  ms
7893
7906
  ]
7894
7907
  },
7895
- leaf: !0,
7896
7908
  spawn: ps
7897
7909
  });
7898
7910
  //#endregion
@@ -7997,7 +8009,6 @@ L({
7997
8009
  bs
7998
8010
  ]
7999
8011
  },
8000
- leaf: !0,
8001
8012
  spawn: ys
8002
8013
  });
8003
8014
  //#endregion
@@ -8064,7 +8075,11 @@ L({
8064
8075
  properties: {
8065
8076
  pageUi: [K],
8066
8077
  compUi: [K]
8067
- }
8078
+ },
8079
+ speedSlots: [{
8080
+ key: "default",
8081
+ name: "x-runtime-lib.default"
8082
+ }]
8068
8083
  });
8069
8084
  //#endregion
8070
8085
  //#region src/element/ui/badge/v1/spawn.ts
@@ -8133,6 +8148,10 @@ L({
8133
8148
  pageUi: [K, Ds],
8134
8149
  compUi: [K, Ds]
8135
8150
  },
8151
+ speedSlots: [{
8152
+ key: "default",
8153
+ name: "x-runtime-lib.default"
8154
+ }],
8136
8155
  spawn: Es
8137
8156
  });
8138
8157
  //#endregion
@@ -8349,7 +8368,6 @@ L({
8349
8368
  key: "click",
8350
8369
  name: "x-runtime-lib.click"
8351
8370
  }],
8352
- leaf: !0,
8353
8371
  spawn: js
8354
8372
  });
8355
8373
  //#endregion
@@ -8460,6 +8478,10 @@ L({
8460
8478
  pageUi: [K, Ls],
8461
8479
  compUi: [K, Ls]
8462
8480
  },
8481
+ speedSlots: [{
8482
+ key: "default",
8483
+ name: "x-runtime-lib.default"
8484
+ }],
8463
8485
  spawn: Is
8464
8486
  });
8465
8487
  //#endregion
@@ -8554,6 +8576,44 @@ L({
8554
8576
  zs
8555
8577
  ]
8556
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
+ ],
8557
8617
  spawn: Rs
8558
8618
  });
8559
8619
  //#endregion
@@ -8719,7 +8779,6 @@ L({
8719
8779
  pageUi: [K, Ws],
8720
8780
  compUi: [K, Ws]
8721
8781
  },
8722
- leaf: !0,
8723
8782
  spawn: Us
8724
8783
  });
8725
8784
  //#endregion
@@ -8808,6 +8867,10 @@ L({
8808
8867
  pageUi: [K, Ks],
8809
8868
  compUi: [K, Ks]
8810
8869
  },
8870
+ speedSlots: [{
8871
+ key: "default",
8872
+ name: "x-runtime-lib.default"
8873
+ }],
8811
8874
  spawn: Gs
8812
8875
  }), L({
8813
8876
  key: "ui_color_picker_v1",
@@ -8816,8 +8879,7 @@ L({
8816
8879
  properties: {
8817
8880
  pageUi: [K],
8818
8881
  compUi: [K]
8819
- },
8820
- leaf: !0
8882
+ }
8821
8883
  });
8822
8884
  //#endregion
8823
8885
  //#region src/element/ui/combobox/v1/spawn.ts
@@ -8876,7 +8938,6 @@ L({
8876
8938
  pageUi: [K, Js],
8877
8939
  compUi: [K, Js]
8878
8940
  },
8879
- leaf: !0,
8880
8941
  spawn: qs
8881
8942
  });
8882
8943
  //#endregion
@@ -8923,6 +8984,10 @@ L({
8923
8984
  key: "click",
8924
8985
  name: "x-runtime-lib.click"
8925
8986
  }],
8987
+ speedSlots: [{
8988
+ key: "default",
8989
+ name: "x-runtime-lib.default"
8990
+ }],
8926
8991
  spawn: Ys
8927
8992
  });
8928
8993
  //#endregion
@@ -9123,7 +9188,6 @@ L({
9123
9188
  readonly: !0
9124
9189
  }]
9125
9190
  }],
9126
- leaf: !0,
9127
9191
  spawn: Zs
9128
9192
  });
9129
9193
  //#endregion
@@ -9141,7 +9205,6 @@ L({
9141
9205
  pageUi: [K],
9142
9206
  compUi: [K]
9143
9207
  },
9144
- leaf: !0,
9145
9208
  spawn: tc
9146
9209
  }), L({
9147
9210
  key: "ui_date_picker_v1",
@@ -9150,8 +9213,7 @@ L({
9150
9213
  properties: {
9151
9214
  pageUi: [K],
9152
9215
  compUi: [K]
9153
- },
9154
- leaf: !0
9216
+ }
9155
9217
  });
9156
9218
  //#endregion
9157
9219
  //#region src/element/ui/dialog/v1/spawn.ts
@@ -9206,6 +9268,13 @@ L({
9206
9268
  key: "close",
9207
9269
  name: "x-runtime-lib.close"
9208
9270
  }],
9271
+ speedSlots: [{
9272
+ key: "activator",
9273
+ name: "x-runtime-lib.activator"
9274
+ }, {
9275
+ key: "default",
9276
+ name: "x-runtime-lib.default"
9277
+ }],
9209
9278
  teleport: !0,
9210
9279
  spawn: nc
9211
9280
  });
@@ -9253,7 +9322,6 @@ L({
9253
9322
  pageUi: [K, oc],
9254
9323
  compUi: [K, oc]
9255
9324
  },
9256
- leaf: !0,
9257
9325
  spawn: ac
9258
9326
  });
9259
9327
  //#endregion
@@ -9347,6 +9415,10 @@ L({
9347
9415
  key: "click",
9348
9416
  name: "x-runtime-lib.click"
9349
9417
  }],
9418
+ speedSlots: [{
9419
+ key: "default",
9420
+ name: "x-runtime-lib.default"
9421
+ }],
9350
9422
  spawn: sc
9351
9423
  });
9352
9424
  //#endregion
@@ -9381,7 +9453,11 @@ L({
9381
9453
  q,
9382
9454
  lc
9383
9455
  ]
9384
- }
9456
+ },
9457
+ speedSlots: [{
9458
+ key: "default",
9459
+ name: "x-runtime-lib.default"
9460
+ }]
9385
9461
  });
9386
9462
  //#endregion
9387
9463
  //#region src/element/ui/form/v1/spawn.ts
@@ -9433,6 +9509,10 @@ L({
9433
9509
  key: "submit",
9434
9510
  name: "x-runtime-lib.submit"
9435
9511
  }],
9512
+ speedSlots: [{
9513
+ key: "default",
9514
+ name: "x-runtime-lib.default"
9515
+ }],
9436
9516
  spawn: uc
9437
9517
  });
9438
9518
  //#endregion
@@ -9463,6 +9543,10 @@ L({
9463
9543
  pageUi: [K, pc],
9464
9544
  compUi: [K, pc]
9465
9545
  },
9546
+ speedSlots: [{
9547
+ key: "default",
9548
+ name: "x-runtime-lib.default"
9549
+ }],
9466
9550
  spawn: fc
9467
9551
  });
9468
9552
  //#endregion
@@ -9512,7 +9596,6 @@ L({
9512
9596
  pageUi: [K, hc],
9513
9597
  compUi: [K, hc]
9514
9598
  },
9515
- leaf: !0,
9516
9599
  spawn: mc
9517
9600
  });
9518
9601
  //#endregion
@@ -9629,6 +9712,10 @@ L({
9629
9712
  pageUi: [K, yc],
9630
9713
  compUi: [K, yc]
9631
9714
  },
9715
+ speedSlots: [{
9716
+ key: "default",
9717
+ name: "x-runtime-lib.default"
9718
+ }],
9632
9719
  spawn: vc
9633
9720
  });
9634
9721
  //#endregion
@@ -9660,6 +9747,10 @@ L({
9660
9747
  pageUi: [K],
9661
9748
  compUi: [K]
9662
9749
  },
9750
+ speedSlots: [{
9751
+ key: "default",
9752
+ name: "x-runtime-lib.default"
9753
+ }],
9663
9754
  spawn: bc
9664
9755
  });
9665
9756
  //#endregion
@@ -9743,6 +9834,13 @@ L({
9743
9834
  key: "close",
9744
9835
  name: "x-runtime-lib.close"
9745
9836
  }],
9837
+ speedSlots: [{
9838
+ key: "activator",
9839
+ name: "x-runtime-lib.activator"
9840
+ }, {
9841
+ key: "default",
9842
+ name: "x-runtime-lib.default"
9843
+ }],
9746
9844
  teleport: !0,
9747
9845
  spawn: Sc
9748
9846
  });
@@ -9962,7 +10060,6 @@ L({
9962
10060
  name: "x-runtime-lib.clickPrependInner"
9963
10061
  }
9964
10062
  ],
9965
- leaf: !0,
9966
10063
  spawn: wc
9967
10064
  });
9968
10065
  //#endregion
@@ -10096,7 +10193,6 @@ L({
10096
10193
  pageUi: [K, Ac],
10097
10194
  compUi: [K, Ac]
10098
10195
  },
10099
- leaf: !0,
10100
10196
  spawn: kc
10101
10197
  });
10102
10198
  //#endregion
@@ -10163,6 +10259,10 @@ L({
10163
10259
  Mc
10164
10260
  ]
10165
10261
  },
10262
+ speedSlots: [{
10263
+ key: "default",
10264
+ name: "x-runtime-lib.default"
10265
+ }],
10166
10266
  spawn: jc
10167
10267
  });
10168
10268
  //#endregion
@@ -10218,8 +10318,7 @@ L({
10218
10318
  properties: {
10219
10319
  pageUi: [K, Nc],
10220
10320
  compUi: [K, Nc]
10221
- },
10222
- leaf: !0
10321
+ }
10223
10322
  });
10224
10323
  //#endregion
10225
10324
  //#region src/element/ui/radioGroup/v1/spawn.ts
@@ -10294,6 +10393,10 @@ L({
10294
10393
  pageUi: [K, Fc],
10295
10394
  compUi: [K, Fc]
10296
10395
  },
10396
+ speedSlots: [{
10397
+ key: "default",
10398
+ name: "x-runtime-lib.default"
10399
+ }],
10297
10400
  spawn: Pc
10298
10401
  });
10299
10402
  //#endregion
@@ -10440,7 +10543,6 @@ L({
10440
10543
  pageUi: [K, Lc],
10441
10544
  compUi: [K, Lc]
10442
10545
  },
10443
- leaf: !0,
10444
10546
  spawn: Ic
10445
10547
  });
10446
10548
  //#endregion
@@ -10514,7 +10616,6 @@ L({
10514
10616
  pageUi: [K, zc],
10515
10617
  compUi: [K, zc]
10516
10618
  },
10517
- leaf: !0,
10518
10619
  spawn: Rc
10519
10620
  });
10520
10621
  //#endregion
@@ -10574,7 +10675,6 @@ L({
10574
10675
  pageUi: [K, Vc],
10575
10676
  compUi: [K, Vc]
10576
10677
  },
10577
- leaf: !0,
10578
10678
  spawn: Bc
10579
10679
  });
10580
10680
  //#endregion
@@ -10625,6 +10725,10 @@ L({
10625
10725
  Uc
10626
10726
  ]
10627
10727
  },
10728
+ speedSlots: [{
10729
+ key: "default",
10730
+ name: "x-runtime-lib.default"
10731
+ }],
10628
10732
  spawn: Hc
10629
10733
  });
10630
10734
  //#endregion
@@ -10647,6 +10751,10 @@ L({
10647
10751
  pageUi: [K],
10648
10752
  compUi: [K]
10649
10753
  },
10754
+ speedSlots: [{
10755
+ key: "default",
10756
+ name: "x-runtime-lib.default"
10757
+ }],
10650
10758
  spawn: Wc
10651
10759
  });
10652
10760
  //#endregion
@@ -10669,6 +10777,10 @@ L({
10669
10777
  pageUi: [K, Gc],
10670
10778
  compUi: [K, Gc]
10671
10779
  },
10780
+ speedSlots: [{
10781
+ key: "default",
10782
+ name: "x-runtime-lib.default"
10783
+ }],
10672
10784
  slots: [{
10673
10785
  key: "content",
10674
10786
  name: "x-runtime-lib.content",
@@ -10860,7 +10972,6 @@ L({
10860
10972
  Jc
10861
10973
  ]
10862
10974
  },
10863
- leaf: !0,
10864
10975
  spawn: Kc
10865
10976
  });
10866
10977
  //#endregion
@@ -10941,6 +11052,13 @@ L({
10941
11052
  Zc
10942
11053
  ]
10943
11054
  },
11055
+ speedSlots: [{
11056
+ key: "activator",
11057
+ name: "x-runtime-lib.activator"
11058
+ }, {
11059
+ key: "default",
11060
+ name: "x-runtime-lib.default"
11061
+ }],
10944
11062
  spawn: Yc
10945
11063
  });
10946
11064
  //#endregion
@@ -10984,6 +11102,10 @@ L({
10984
11102
  pageUi: [K, $c],
10985
11103
  compUi: [K, $c]
10986
11104
  },
11105
+ speedSlots: [{
11106
+ key: "default",
11107
+ name: "x-runtime-lib.default"
11108
+ }],
10987
11109
  spawn: Qc
10988
11110
  }), L({
10989
11111
  key: "ui_stepper_header_v1",
@@ -10992,7 +11114,11 @@ L({
10992
11114
  properties: {
10993
11115
  pageUi: [K],
10994
11116
  compUi: [K]
10995
- }
11117
+ },
11118
+ speedSlots: [{
11119
+ key: "default",
11120
+ name: "x-runtime-lib.default"
11121
+ }]
10996
11122
  });
10997
11123
  //#endregion
10998
11124
  //#region src/element/ui/stepperItem/v1/index.ts
@@ -11015,7 +11141,11 @@ L({
11015
11141
  properties: {
11016
11142
  pageUi: [K, el],
11017
11143
  compUi: [K, el]
11018
- }
11144
+ },
11145
+ speedSlots: [{
11146
+ key: "default",
11147
+ name: "x-runtime-lib.default"
11148
+ }]
11019
11149
  }), L({
11020
11150
  key: "ui_stepper_window_v1",
11021
11151
  name: "x-runtime-lib.stepperWindow",
@@ -11023,7 +11153,11 @@ L({
11023
11153
  properties: {
11024
11154
  pageUi: [K],
11025
11155
  compUi: [K]
11026
- }
11156
+ },
11157
+ speedSlots: [{
11158
+ key: "default",
11159
+ name: "x-runtime-lib.default"
11160
+ }]
11027
11161
  });
11028
11162
  //#endregion
11029
11163
  //#region src/element/ui/stepperWindowItem/v1/index.ts
@@ -11044,7 +11178,11 @@ L({
11044
11178
  properties: {
11045
11179
  pageUi: [K, tl],
11046
11180
  compUi: [K, tl]
11047
- }
11181
+ },
11182
+ speedSlots: [{
11183
+ key: "default",
11184
+ name: "x-runtime-lib.default"
11185
+ }]
11048
11186
  });
11049
11187
  //#endregion
11050
11188
  //#region src/element/ui/switch/v1/spawn.ts
@@ -11148,7 +11286,6 @@ L({
11148
11286
  pageUi: [K, rl],
11149
11287
  compUi: [K, rl]
11150
11288
  },
11151
- leaf: !0,
11152
11289
  spawn: nl
11153
11290
  });
11154
11291
  //#endregion
@@ -11175,8 +11312,7 @@ L({
11175
11312
  properties: {
11176
11313
  pageUi: [K, il],
11177
11314
  compUi: [K, il]
11178
- },
11179
- leaf: !0
11315
+ }
11180
11316
  });
11181
11317
  //#endregion
11182
11318
  //#region src/element/ui/table/v1/spawn.ts
@@ -11216,6 +11352,10 @@ L({
11216
11352
  pageUi: [K, ol],
11217
11353
  compUi: [K, ol]
11218
11354
  },
11355
+ speedSlots: [{
11356
+ key: "default",
11357
+ name: "x-runtime-lib.default"
11358
+ }],
11219
11359
  spawn: al
11220
11360
  }), L({
11221
11361
  key: "ui_table_body_v1",
@@ -11224,7 +11364,11 @@ L({
11224
11364
  properties: {
11225
11365
  pageUi: [K],
11226
11366
  compUi: [K]
11227
- }
11367
+ },
11368
+ speedSlots: [{
11369
+ key: "default",
11370
+ name: "x-runtime-lib.default"
11371
+ }]
11228
11372
  }), L({
11229
11373
  key: "ui_table_body_cell_v1",
11230
11374
  name: "x-runtime-lib.tableBodyCell",
@@ -11232,7 +11376,11 @@ L({
11232
11376
  properties: {
11233
11377
  pageUi: [K],
11234
11378
  compUi: [K]
11235
- }
11379
+ },
11380
+ speedSlots: [{
11381
+ key: "default",
11382
+ name: "x-runtime-lib.default"
11383
+ }]
11236
11384
  }), L({
11237
11385
  key: "ui_table_head_v1",
11238
11386
  name: "x-runtime-lib.tableHead",
@@ -11240,7 +11388,11 @@ L({
11240
11388
  properties: {
11241
11389
  pageUi: [K],
11242
11390
  compUi: [K]
11243
- }
11391
+ },
11392
+ speedSlots: [{
11393
+ key: "default",
11394
+ name: "x-runtime-lib.default"
11395
+ }]
11244
11396
  }), L({
11245
11397
  key: "ui_table_head_cell_v1",
11246
11398
  name: "x-runtime-lib.tableHeadCell",
@@ -11248,7 +11400,11 @@ L({
11248
11400
  properties: {
11249
11401
  pageUi: [K],
11250
11402
  compUi: [K]
11251
- }
11403
+ },
11404
+ speedSlots: [{
11405
+ key: "default",
11406
+ name: "x-runtime-lib.default"
11407
+ }]
11252
11408
  }), L({
11253
11409
  key: "ui_table_row_v1",
11254
11410
  name: "x-runtime-lib.tableRow",
@@ -11256,7 +11412,11 @@ L({
11256
11412
  properties: {
11257
11413
  pageUi: [K],
11258
11414
  compUi: [K]
11259
- }
11415
+ },
11416
+ speedSlots: [{
11417
+ key: "default",
11418
+ name: "x-runtime-lib.default"
11419
+ }]
11260
11420
  });
11261
11421
  //#endregion
11262
11422
  //#region src/element/ui/tabs/v1/spawn.ts
@@ -11395,6 +11555,10 @@ L({
11395
11555
  pageUi: [K, cl],
11396
11556
  compUi: [K, cl]
11397
11557
  },
11558
+ speedSlots: [{
11559
+ key: "default",
11560
+ name: "x-runtime-lib.default"
11561
+ }],
11398
11562
  spawn: sl
11399
11563
  });
11400
11564
  //#endregion
@@ -11472,7 +11636,6 @@ L({
11472
11636
  pageUi: [K, ul],
11473
11637
  compUi: [K, ul]
11474
11638
  },
11475
- leaf: !0,
11476
11639
  spawn: ll
11477
11640
  });
11478
11641
  //#endregion
@@ -11585,7 +11748,6 @@ L({
11585
11748
  pageUi: [K, fl],
11586
11749
  compUi: [K, fl]
11587
11750
  },
11588
- leaf: !0,
11589
11751
  spawn: dl
11590
11752
  });
11591
11753
  //#endregion
@@ -11892,7 +12054,6 @@ L({
11892
12054
  }]
11893
12055
  }
11894
12056
  ],
11895
- leaf: !0,
11896
12057
  spawn: pl
11897
12058
  });
11898
12059
  //#endregion
@@ -12005,6 +12166,10 @@ L({
12005
12166
  pageUi: [K, yl],
12006
12167
  compUi: [K, yl]
12007
12168
  },
12169
+ speedSlots: [{
12170
+ key: "default",
12171
+ name: "x-runtime-lib.default"
12172
+ }],
12008
12173
  spawn: vl
12009
12174
  }), L({
12010
12175
  key: "ui_timeline_item_v1",
@@ -12013,7 +12178,11 @@ L({
12013
12178
  properties: {
12014
12179
  pageUi: [K],
12015
12180
  compUi: [K]
12016
- }
12181
+ },
12182
+ speedSlots: [{
12183
+ key: "default",
12184
+ name: "x-runtime-lib.default"
12185
+ }]
12017
12186
  });
12018
12187
  //#endregion
12019
12188
  //#region src/element/ui/tooltip/v1/spawn.ts
@@ -12124,6 +12293,13 @@ L({
12124
12293
  key: "close",
12125
12294
  name: "x-runtime-lib.close"
12126
12295
  }],
12296
+ speedSlots: [{
12297
+ key: "activator",
12298
+ name: "x-runtime-lib.activator"
12299
+ }, {
12300
+ key: "default",
12301
+ name: "x-runtime-lib.default"
12302
+ }],
12127
12303
  teleport: !0,
12128
12304
  spawn: bl
12129
12305
  });
@@ -12222,6 +12398,10 @@ L({
12222
12398
  pageUi: [K, Cl],
12223
12399
  compUi: [K, Cl]
12224
12400
  },
12401
+ speedSlots: [{
12402
+ key: "default",
12403
+ name: "x-runtime-lib.default"
12404
+ }],
12225
12405
  spawn: Sl
12226
12406
  }), L({
12227
12407
  key: "ui_window_item_v1",
@@ -12230,7 +12410,11 @@ L({
12230
12410
  properties: {
12231
12411
  pageUi: [K],
12232
12412
  compUi: [K]
12233
- }
12413
+ },
12414
+ speedSlots: [{
12415
+ key: "default",
12416
+ name: "x-runtime-lib.default"
12417
+ }]
12234
12418
  });
12235
12419
  //#endregion
12236
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.23",
4
+ "version": "0.9.24",
5
5
  "type": "module",
6
6
  "module": "dist/index.js",
7
7
  "types": "dist/index.d.ts",