x-runtime-lib 0.8.190 → 0.8.192

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
@@ -230,9 +230,109 @@ function toEventName(e, C) {
230
230
  }
231
231
  return joinNames(w, C, T);
232
232
  }
233
- const elements = {}, regElement = (e) => {
233
+ function isExecutableMode(e) {
234
+ return e === "runtime" || e === "preview";
235
+ }
236
+ function isCircularReference(e, C) {
237
+ if (e.compId === C) return !0;
238
+ let w = e;
239
+ for (; w;) {
240
+ if (w.parent && w.compId === w.parent.compId) return !0;
241
+ w = w.parent;
242
+ }
243
+ return !1;
244
+ }
245
+ function initNode() {
246
+ return { basic: {
247
+ id: "",
248
+ key: ""
249
+ } };
250
+ }
251
+ function toNodeLite(e, C) {
252
+ return {
253
+ id: e.basic.id,
254
+ key: e.basic.key,
255
+ slotId: e.settings?.slot,
256
+ compId: e.settings?.comp,
257
+ children: C
258
+ };
259
+ }
260
+ function dataStringify({ type: e, version: C, view: w, code: T }) {
261
+ let E = (e, C) => {
262
+ let w = { id: C.id };
263
+ C.children && (w.children = [], C.children.forEach((e) => {
264
+ E(w.children, e);
265
+ })), e.push(w);
266
+ }, D = [];
267
+ w.nodeLites.forEach((e) => {
268
+ E(D, e);
269
+ });
270
+ let O = {
271
+ type: e,
272
+ version: C,
273
+ view: {
274
+ nodeLites: D,
275
+ nodes: w.nodes
276
+ },
277
+ code: T
278
+ };
279
+ return JSON.stringify(O);
280
+ }
281
+ function parseData(e) {
282
+ let C = JSON.parse(e), w = (e, T) => {
283
+ e.key = T.basic.key, e.alias = T.basic.alias, e.slotId = T.settings?.slot, e.compId = T.settings?.comp, e.children?.forEach((e) => {
284
+ w(e, C.view.nodes[e.id]);
285
+ });
286
+ };
287
+ return C.view.nodeLites.forEach((e) => {
288
+ w(e, C.view.nodes[e.id]);
289
+ }), C;
290
+ }
291
+ function metaStringify(e) {
292
+ return JSON.stringify(e);
293
+ }
294
+ function parseMeta(e) {
295
+ return JSON.parse(e);
296
+ }
297
+ const pageTypes = [
298
+ "ui",
299
+ "2d",
300
+ "3d"
301
+ ], compTypes = [
302
+ "ui",
303
+ "2d",
304
+ "3d"
305
+ ];
306
+ function getTag(e, C) {
307
+ if (e === "page") {
308
+ if (!pageTypes.includes(C)) throw Error("invalid page type");
309
+ } else if (e === "comp") {
310
+ if (!compTypes.includes(C)) throw Error("invalid comp type");
311
+ } else throw Error("invalid type");
312
+ return `${e}${capitalize_default(C)}`;
313
+ }
314
+ const elementKeys = /* @__PURE__ */ "globality_v1.multiple_ref_v1.multiple_slot_v1.ref_v1.render_switch_v1.slot_v1.ui_badge_v1.ui_breadcrumbs_v1.ui_bar_chart_v1.ui_btn_v1.ui_btn_group_v1.ui_btn_toggle_v1.ui_card_v1.ui_checkbox_v1.ui_chip_v1.ui_chip_group_v1.ui_color_picker_v1.ui_combobox_v1.ui_container_v1.ui_data_table_v1.ui_date_picker_v1.ui_dialog_v1.ui_file_input_v1.ui_flex_layout_v1.ui_flex_layout_entry_v1.ui_form_v1.ui_icon_v1.ui_line_chart_v1.ui_menu_v1.ui_number_input_v1.ui_pagination_v1.ui_radio_v1.ui_radio_group_v1.ui_range_slider_v1.ui_rating_v1.ui_select_v1.ui_slider_v1.ui_stepper_v1.ui_stepper_header_v1.ui_stepper_item_v1.ui_stepper_window_v1.ui_stepper_window_item_v1.ui_switch_v1.ui_tab_v1.ui_table_v1.ui_tabs_v1.ui_text_v1.ui_textarea_v1.ui_text_field_v1.ui_timeline_v1.ui_timeline_item_v1.ui_window_v1.ui_window_item_v1.3d_ambient_light_v1.3d_box_geometry_v1.3d_directional_light_v1.3d_group_v1.3d_keyboard_controls_v1.3d_map_controls_v1.3d_mesh_v1.3d_mesh_basic_material_v1.3d_orbit_controls_v1.3d_orthographic_camera_v1.3d_perspective_camera_v1.3d_point_light_v1.3d_sphere_geometry_v1.3d_spot_light_v1".split(".");
315
+ var elements = {};
316
+ const regElement = (e) => {
234
317
  elements[e.key] = e;
235
- }, alignTabsItemsV1 = [
318
+ };
319
+ function getAllElements() {
320
+ return elements;
321
+ }
322
+ function getElement(e) {
323
+ return elements[e];
324
+ }
325
+ function getElementMust(e) {
326
+ let C = elements[e];
327
+ if (!C) throw Error(`element not found key=${e}`);
328
+ return C;
329
+ }
330
+ function getProperties(e, C, w) {
331
+ let T = e.properties[getTag(C, w)];
332
+ if (!T) throw Error(`properties not found key=${e.key} type=${C} subtype=${w}`);
333
+ return T;
334
+ }
335
+ const alignTabsItemsV1 = [
236
336
  {
237
337
  title: "x-runtime-lib.title",
238
338
  value: "title"
@@ -1403,91 +1503,9 @@ function useElementSlotProperty(e, C, w, T) {
1403
1503
  E.hooks.onElementSlotPropertyChange(e.value.basic.id, e.value.basic.key, C, w, T, D);
1404
1504
  }));
1405
1505
  }
1406
- function isExecutableMode(e) {
1407
- return e === "runtime" || e === "preview";
1408
- }
1409
- function isCircularReference(e, C) {
1410
- if (e.compId === C) return !0;
1411
- let w = e;
1412
- for (; w;) {
1413
- if (w.parent && w.compId === w.parent.compId) return !0;
1414
- w = w.parent;
1415
- }
1416
- return !1;
1417
- }
1418
- function initNode() {
1419
- return { basic: {
1420
- id: "",
1421
- key: ""
1422
- } };
1423
- }
1424
- function toNodeLite(e, C) {
1425
- return {
1426
- id: e.basic.id,
1427
- key: e.basic.key,
1428
- slotId: e.settings?.slot,
1429
- compId: e.settings?.comp,
1430
- children: C
1431
- };
1432
- }
1433
- function dataStringify({ type: e, version: C, view: w, code: T }) {
1434
- let E = (e, C) => {
1435
- let w = { id: C.id };
1436
- C.children && (w.children = [], C.children.forEach((e) => {
1437
- E(w.children, e);
1438
- })), e.push(w);
1439
- }, D = [];
1440
- w.nodeLites.forEach((e) => {
1441
- E(D, e);
1442
- });
1443
- let O = {
1444
- type: e,
1445
- version: C,
1446
- view: {
1447
- nodeLites: D,
1448
- nodes: w.nodes
1449
- },
1450
- code: T
1451
- };
1452
- return JSON.stringify(O);
1453
- }
1454
- function parseData(e) {
1455
- let C = JSON.parse(e), w = (e, T) => {
1456
- e.key = T.basic.key, e.alias = T.basic.alias, e.slotId = T.settings?.slot, e.compId = T.settings?.comp, e.children?.forEach((e) => {
1457
- w(e, C.view.nodes[e.id]);
1458
- });
1459
- };
1460
- return C.view.nodeLites.forEach((e) => {
1461
- w(e, C.view.nodes[e.id]);
1462
- }), C;
1463
- }
1464
- function metaStringify(e) {
1465
- return JSON.stringify(e);
1466
- }
1467
- function parseMeta(e) {
1468
- return JSON.parse(e);
1469
- }
1470
- const pageTypes = [
1471
- "ui",
1472
- "2d",
1473
- "3d"
1474
- ], compTypes = [
1475
- "ui",
1476
- "2d",
1477
- "3d"
1478
- ];
1479
- function getTag(e, C) {
1480
- if (e === "page") {
1481
- if (!pageTypes.includes(C)) throw Error("invalid page type");
1482
- } else if (e === "comp") {
1483
- if (!compTypes.includes(C)) throw Error("invalid comp type");
1484
- } else throw Error("invalid type");
1485
- return `${e}${capitalize_default(C)}`;
1486
- }
1487
- const elementKeys = /* @__PURE__ */ "globality_v1.multiple_ref_v1.multiple_slot_v1.ref_v1.render_switch_v1.slot_v1.ui_badge_v1.ui_breadcrumbs_v1.ui_bar_chart_v1.ui_btn_v1.ui_btn_group_v1.ui_btn_toggle_v1.ui_card_v1.ui_checkbox_v1.ui_chip_v1.ui_chip_group_v1.ui_color_picker_v1.ui_combobox_v1.ui_container_v1.ui_data_table_v1.ui_date_picker_v1.ui_dialog_v1.ui_file_input_v1.ui_flex_layout_v1.ui_flex_layout_entry_v1.ui_form_v1.ui_icon_v1.ui_line_chart_v1.ui_menu_v1.ui_number_input_v1.ui_pagination_v1.ui_radio_v1.ui_radio_group_v1.ui_range_slider_v1.ui_rating_v1.ui_select_v1.ui_slider_v1.ui_stepper_v1.ui_stepper_header_v1.ui_stepper_item_v1.ui_stepper_window_v1.ui_stepper_window_item_v1.ui_switch_v1.ui_tab_v1.ui_table_v1.ui_tabs_v1.ui_text_v1.ui_textarea_v1.ui_text_field_v1.ui_timeline_v1.ui_timeline_item_v1.ui_window_v1.ui_window_item_v1.3d_ambient_light_v1.3d_box_geometry_v1.3d_directional_light_v1.3d_group_v1.3d_keyboard_controls_v1.3d_map_controls_v1.3d_mesh_v1.3d_mesh_basic_material_v1.3d_orbit_controls_v1.3d_orthographic_camera_v1.3d_perspective_camera_v1.3d_point_light_v1.3d_sphere_geometry_v1.3d_spot_light_v1".split(".");
1488
1506
  function useElementSlotRender(e, C, w) {
1489
1507
  function T(C) {
1490
- let w = elements[C.key];
1508
+ let w = getElement(C.key);
1491
1509
  if (!w) {
1492
1510
  console.assert(!1, `element not found key=${C.key}`);
1493
1511
  return;
@@ -2763,7 +2781,7 @@ var echarts_default = core_exports, v1_default$49 = /* @__PURE__ */ defineCompon
2763
2781
  let C = injectMeta(), w = injectData(), T = computed(() => cloneDeep_default(C.value)), D = computed(() => cloneDeep_default(w.value));
2764
2782
  provideData(D), useSandbox("multipleRef", e.nodeId, e.instance, injectSandbox(), T, D);
2765
2783
  let O = (C) => {
2766
- let w = elements[C.key];
2784
+ let w = getElement(C.key);
2767
2785
  if (!w) {
2768
2786
  console.assert(!1, `element not found key=${C.key}`);
2769
2787
  return;
@@ -2900,7 +2918,7 @@ var echarts_default = core_exports, v1_default$49 = /* @__PURE__ */ defineCompon
2900
2918
  let C = injectMeta(), w = injectData(), T = computed(() => cloneDeep_default(C.value)), D = computed(() => cloneDeep_default(w.value));
2901
2919
  provideData(D), useSandbox("multipleCustomSlot", e.nodeId, e.instance, injectSandbox(), T, D);
2902
2920
  let O = (C) => {
2903
- let w = elements[C.key];
2921
+ let w = getElement(C.key);
2904
2922
  if (!w) {
2905
2923
  console.assert(!1, `element not found key=${C.key}`);
2906
2924
  return;
@@ -3012,7 +3030,7 @@ var echarts_default = core_exports, v1_default$49 = /* @__PURE__ */ defineCompon
3012
3030
  let e = {};
3013
3031
  return D.value?.type === "ui" && A(e), e;
3014
3032
  }), { position: M, rotation: N, scale: P } = useTransformV1(T), F = (e) => {
3015
- let C = elements[e.key];
3033
+ let C = getElement(e.key);
3016
3034
  if (!C) {
3017
3035
  console.assert(!1, `element not found key=${e.key}`);
3018
3036
  return;
@@ -3105,7 +3123,7 @@ var echarts_default = core_exports, v1_default$49 = /* @__PURE__ */ defineCompon
3105
3123
  return k.value?.type === "ui" && A(e), e;
3106
3124
  }), { position: M, rotation: N, scale: P } = useTransformV1(T);
3107
3125
  function F(e) {
3108
- let C = elements[e.key];
3126
+ let C = getElement(e.key);
3109
3127
  if (!C) {
3110
3128
  console.assert(!1, `element not found key=${e.key}`);
3111
3129
  return;
@@ -3736,7 +3754,7 @@ var v1_default$40 = /* @__PURE__ */ __plugin_vue_export_helper_default(_sfc_main
3736
3754
  });
3737
3755
  };
3738
3756
  }
3739
- }), v1_default$26 = /* @__PURE__ */ defineComponent({
3757
+ }), v1_default$27 = /* @__PURE__ */ defineComponent({
3740
3758
  __name: "index",
3741
3759
  props: {
3742
3760
  nodeId: {},
@@ -3760,7 +3778,7 @@ var v1_default$40 = /* @__PURE__ */ __plugin_vue_export_helper_default(_sfc_main
3760
3778
  });
3761
3779
  return (e, C) => (openBlock(), createElementBlock("div", { style: normalizeStyle(F.value) }, [renderSlot(e.$slots, "default")], 4));
3762
3780
  }
3763
- }), v1_default$27 = /* @__PURE__ */ defineComponent({
3781
+ }), v1_default$26 = /* @__PURE__ */ defineComponent({
3764
3782
  __name: "index",
3765
3783
  props: {
3766
3784
  nodeId: {},
@@ -3774,7 +3792,7 @@ var v1_default$40 = /* @__PURE__ */ __plugin_vue_export_helper_default(_sfc_main
3774
3792
  });
3775
3793
  return (e, C) => (openBlock(), createElementBlock("div", { style: normalizeStyle(A.value) }, [renderSlot(e.$slots, "default")], 4));
3776
3794
  }
3777
- }), v1_default$24 = /* @__PURE__ */ defineComponent({
3795
+ }), v1_default$25 = /* @__PURE__ */ defineComponent({
3778
3796
  __name: "index",
3779
3797
  props: {
3780
3798
  nodeId: {},
@@ -3806,7 +3824,7 @@ var v1_default$40 = /* @__PURE__ */ __plugin_vue_export_helper_default(_sfc_main
3806
3824
  ]);
3807
3825
  };
3808
3826
  }
3809
- }), v1_default$23 = /* @__PURE__ */ defineComponent({
3827
+ }), v1_default$24 = /* @__PURE__ */ defineComponent({
3810
3828
  __name: "index",
3811
3829
  props: {
3812
3830
  nodeId: {},
@@ -3832,7 +3850,7 @@ var v1_default$40 = /* @__PURE__ */ __plugin_vue_export_helper_default(_sfc_main
3832
3850
  ]);
3833
3851
  };
3834
3852
  }
3835
- }), _hoisted_1 = ["id"], v1_default$22 = /* @__PURE__ */ defineComponent({
3853
+ }), _hoisted_1 = ["id"], v1_default$23 = /* @__PURE__ */ defineComponent({
3836
3854
  __name: "index",
3837
3855
  props: {
3838
3856
  nodeId: {},
@@ -3866,7 +3884,7 @@ var v1_default$40 = /* @__PURE__ */ __plugin_vue_export_helper_default(_sfc_main
3866
3884
  }, 8, ["modelValue", "target"]);
3867
3885
  };
3868
3886
  }
3869
- }), v1_default$21 = /* @__PURE__ */ defineComponent({
3887
+ }), v1_default$22 = /* @__PURE__ */ defineComponent({
3870
3888
  __name: "index",
3871
3889
  props: {
3872
3890
  nodeId: {},
@@ -3953,7 +3971,7 @@ var v1_default$40 = /* @__PURE__ */ __plugin_vue_export_helper_default(_sfc_main
3953
3971
  });
3954
3972
  };
3955
3973
  }
3956
- }), v1_default$20 = /* @__PURE__ */ defineComponent({
3974
+ }), v1_default$21 = /* @__PURE__ */ defineComponent({
3957
3975
  __name: "index",
3958
3976
  props: {
3959
3977
  nodeId: {},
@@ -4001,7 +4019,7 @@ var v1_default$40 = /* @__PURE__ */ __plugin_vue_export_helper_default(_sfc_main
4001
4019
  });
4002
4020
  };
4003
4021
  }
4004
- }), v1_default$19 = /* @__PURE__ */ defineComponent({
4022
+ }), v1_default$20 = /* @__PURE__ */ defineComponent({
4005
4023
  __name: "index",
4006
4024
  props: {
4007
4025
  nodeId: {},
@@ -4031,7 +4049,7 @@ var v1_default$40 = /* @__PURE__ */ __plugin_vue_export_helper_default(_sfc_main
4031
4049
  ]);
4032
4050
  };
4033
4051
  }
4034
- }), v1_default$18 = /* @__PURE__ */ defineComponent({
4052
+ }), v1_default$19 = /* @__PURE__ */ defineComponent({
4035
4053
  __name: "index",
4036
4054
  props: {
4037
4055
  nodeId: {},
@@ -4068,7 +4086,7 @@ var v1_default$40 = /* @__PURE__ */ __plugin_vue_export_helper_default(_sfc_main
4068
4086
  });
4069
4087
  };
4070
4088
  }
4071
- }), v1_default$17 = /* @__PURE__ */ defineComponent({
4089
+ }), v1_default$18 = /* @__PURE__ */ defineComponent({
4072
4090
  __name: "index",
4073
4091
  props: {
4074
4092
  nodeId: {},
@@ -4147,7 +4165,7 @@ var v1_default$40 = /* @__PURE__ */ __plugin_vue_export_helper_default(_sfc_main
4147
4165
  });
4148
4166
  };
4149
4167
  }
4150
- }), v1_default$16 = /* @__PURE__ */ defineComponent({
4168
+ }), v1_default$17 = /* @__PURE__ */ defineComponent({
4151
4169
  __name: "index",
4152
4170
  props: {
4153
4171
  nodeId: {},
@@ -4185,7 +4203,7 @@ var v1_default$40 = /* @__PURE__ */ __plugin_vue_export_helper_default(_sfc_main
4185
4203
  });
4186
4204
  };
4187
4205
  }
4188
- }), v1_default$15 = /* @__PURE__ */ defineComponent({
4206
+ }), v1_default$16 = /* @__PURE__ */ defineComponent({
4189
4207
  __name: "index",
4190
4208
  props: {
4191
4209
  nodeId: {},
@@ -4222,7 +4240,7 @@ var v1_default$40 = /* @__PURE__ */ __plugin_vue_export_helper_default(_sfc_main
4222
4240
  });
4223
4241
  };
4224
4242
  }
4225
- }), v1_default$14 = /* @__PURE__ */ defineComponent({
4243
+ }), v1_default$15 = /* @__PURE__ */ defineComponent({
4226
4244
  __name: "index",
4227
4245
  props: {
4228
4246
  nodeId: {},
@@ -4310,7 +4328,7 @@ var v1_default$40 = /* @__PURE__ */ __plugin_vue_export_helper_default(_sfc_main
4310
4328
  });
4311
4329
  };
4312
4330
  }
4313
- }), v1_default$9 = /* @__PURE__ */ defineComponent({
4331
+ }), v1_default$14 = /* @__PURE__ */ defineComponent({
4314
4332
  __name: "index",
4315
4333
  props: {
4316
4334
  nodeId: {},
@@ -4386,7 +4404,7 @@ var v1_default$11 = /* @__PURE__ */ __plugin_vue_export_helper_default(_sfc_main
4386
4404
  }, 8, ["value"]);
4387
4405
  };
4388
4406
  }
4389
- }), v1_default$8 = /* @__PURE__ */ defineComponent({
4407
+ }), v1_default$9 = /* @__PURE__ */ defineComponent({
4390
4408
  __name: "index",
4391
4409
  props: {
4392
4410
  nodeId: {},
@@ -4428,7 +4446,7 @@ var v1_default$11 = /* @__PURE__ */ __plugin_vue_export_helper_default(_sfc_main
4428
4446
  });
4429
4447
  };
4430
4448
  }
4431
- }), v1_default$7 = /* @__PURE__ */ defineComponent({
4449
+ }), v1_default$8 = /* @__PURE__ */ defineComponent({
4432
4450
  __name: "index",
4433
4451
  props: {
4434
4452
  nodeId: {},
@@ -4458,7 +4476,7 @@ var v1_default$11 = /* @__PURE__ */ __plugin_vue_export_helper_default(_sfc_main
4458
4476
  });
4459
4477
  };
4460
4478
  }
4461
- }), v1_default$6 = /* @__PURE__ */ defineComponent({
4479
+ }), v1_default$7 = /* @__PURE__ */ defineComponent({
4462
4480
  __name: "index",
4463
4481
  props: {
4464
4482
  nodeId: {},
@@ -4530,7 +4548,7 @@ var v1_default$11 = /* @__PURE__ */ __plugin_vue_export_helper_default(_sfc_main
4530
4548
  });
4531
4549
  };
4532
4550
  }
4533
- }), v1_default$5 = /* @__PURE__ */ defineComponent({
4551
+ }), v1_default$6 = /* @__PURE__ */ defineComponent({
4534
4552
  __name: "index",
4535
4553
  props: {
4536
4554
  nodeId: {},
@@ -4547,7 +4565,7 @@ var v1_default$11 = /* @__PURE__ */ __plugin_vue_export_helper_default(_sfc_main
4547
4565
  _: 1
4548
4566
  }));
4549
4567
  }
4550
- }), v1_default$4 = /* @__PURE__ */ defineComponent({
4568
+ }), v1_default$5 = /* @__PURE__ */ defineComponent({
4551
4569
  __name: "index",
4552
4570
  props: {
4553
4571
  nodeId: {},
@@ -4706,7 +4724,7 @@ var v1_default$11 = /* @__PURE__ */ __plugin_vue_export_helper_default(_sfc_main
4706
4724
  let { render: O } = useElementSlotRender(C.refContext, w, D);
4707
4725
  return (e, C) => (openBlock(), createBlock(unref(O)));
4708
4726
  }
4709
- }), v1_default$25 = /* @__PURE__ */ defineComponent({
4727
+ }), v1_default$4 = /* @__PURE__ */ defineComponent({
4710
4728
  __name: "index",
4711
4729
  props: {
4712
4730
  nodeId: {},
@@ -4856,7 +4874,7 @@ var v1_default$11 = /* @__PURE__ */ __plugin_vue_export_helper_default(_sfc_main
4856
4874
  });
4857
4875
  };
4858
4876
  }
4859
- }), v1_default$2 = /* @__PURE__ */ defineComponent({
4877
+ }), v1_default$3 = /* @__PURE__ */ defineComponent({
4860
4878
  __name: "index",
4861
4879
  props: {
4862
4880
  nodeId: {},
@@ -4931,7 +4949,7 @@ function _sfc_render$1(e, C) {
4931
4949
  _: 3
4932
4950
  });
4933
4951
  }
4934
- var v1_default$3 = /* @__PURE__ */ __plugin_vue_export_helper_default(_sfc_main$1, [["render", _sfc_render$1]]), v1_default = /* @__PURE__ */ defineComponent({
4952
+ var v1_default$2 = /* @__PURE__ */ __plugin_vue_export_helper_default(_sfc_main$1, [["render", _sfc_render$1]]), v1_default$1 = /* @__PURE__ */ defineComponent({
4935
4953
  __name: "index",
4936
4954
  props: {
4937
4955
  nodeId: {},
@@ -4975,7 +4993,7 @@ function _sfc_render(e, C) {
4975
4993
  _: 3
4976
4994
  });
4977
4995
  }
4978
- var v1_default$1 = /* @__PURE__ */ __plugin_vue_export_helper_default(_sfc_main, [["render", _sfc_render]]);
4996
+ var v1_default = /* @__PURE__ */ __plugin_vue_export_helper_default(_sfc_main, [["render", _sfc_render]]);
4979
4997
  const basicV1 = {
4980
4998
  key: "basic",
4981
4999
  name: "x-runtime-lib.basic",
@@ -5565,8 +5583,8 @@ const orbitControlsV1 = {
5565
5583
  };
5566
5584
  regElement(orbitControlsV1);
5567
5585
  function spawn$16(e, C) {
5568
- let w = getTag(e, C), T = meshV1.properties[w], E = initNode();
5569
- initProperties(E, T), E.basic.id = genId(16), E.basic.key = meshV1.key, E.transform = {
5586
+ let w = getElementMust("3d_mesh_v1"), T = getProperties(w, e, C), E = initNode();
5587
+ initProperties(E, T), E.basic.id = genId(16), E.basic.key = w.key, E.transform = {
5570
5588
  position: {
5571
5589
  x: 0,
5572
5590
  y: 0,
@@ -5594,8 +5612,8 @@ function spawn$16(e, C) {
5594
5612
  };
5595
5613
  }
5596
5614
  function spawnBoxGeometry(e, C) {
5597
- let w = getTag(e, C), T = boxGeometryV1.properties[w], E = initNode();
5598
- return initProperties(E, T), E.basic.id = genId(16), E.basic.key = boxGeometryV1.key, E.settings = {
5615
+ let w = getElementMust("3d_box_geometry_v1"), T = getProperties(w, e, C), E = initNode();
5616
+ return initProperties(E, T), E.basic.id = genId(16), E.basic.key = w.key, E.settings = {
5599
5617
  width: 1,
5600
5618
  height: 1,
5601
5619
  depth: 1,
@@ -5608,8 +5626,8 @@ function spawnBoxGeometry(e, C) {
5608
5626
  };
5609
5627
  }
5610
5628
  function spawnMeshBasicMaterial$1(e, C) {
5611
- let w = getTag(e, C), T = meshBasicMaterialV1.properties[w], E = initNode();
5612
- return initProperties(E, T), E.basic.id = genId(16), E.basic.key = meshBasicMaterialV1.key, {
5629
+ let w = getElementMust("3d_mesh_basic_material_v1"), T = getProperties(w, e, C), E = initNode();
5630
+ return initProperties(E, T), E.basic.id = genId(16), E.basic.key = w.key, {
5613
5631
  nodeLite: toNodeLite(E),
5614
5632
  nodes: { [E.basic.id]: E }
5615
5633
  };
@@ -5675,8 +5693,8 @@ const boxGeometryV1 = {
5675
5693
  };
5676
5694
  regElement(boxGeometryV1);
5677
5695
  function spawn$15(e, C) {
5678
- let w = getTag(e, C), T = meshV1.properties[w], E = initNode();
5679
- initProperties(E, T), E.basic.id = genId(16), E.basic.key = meshV1.key, E.transform = {
5696
+ let w = getElementMust("3d_mesh_v1"), T = getProperties(w, e, C), E = initNode();
5697
+ initProperties(E, T), E.basic.id = genId(16), E.basic.key = w.key, E.transform = {
5680
5698
  position: {
5681
5699
  x: 0,
5682
5700
  y: 0,
@@ -5704,8 +5722,8 @@ function spawn$15(e, C) {
5704
5722
  };
5705
5723
  }
5706
5724
  function spawnSphereGeometry(e, C) {
5707
- let w = getTag(e, C), T = sphereGeometryV1.properties[w], E = initNode();
5708
- return initProperties(E, T), E.basic.id = genId(16), E.basic.key = sphereGeometryV1.key, E.settings = {
5725
+ let w = getElementMust("3d_sphere_geometry_v1"), T = getProperties(w, e, C), E = initNode();
5726
+ return initProperties(E, T), E.basic.id = genId(16), E.basic.key = w.key, E.settings = {
5709
5727
  radius: 1,
5710
5728
  widthSegements: 32,
5711
5729
  heightSegements: 16,
@@ -5719,8 +5737,8 @@ function spawnSphereGeometry(e, C) {
5719
5737
  };
5720
5738
  }
5721
5739
  function spawnMeshBasicMaterial(e, C) {
5722
- let w = getTag(e, C), T = meshBasicMaterialV1.properties[w], E = initNode();
5723
- return initProperties(E, T), E.basic.id = genId(16), E.basic.key = meshBasicMaterialV1.key, {
5740
+ let w = getElementMust("3d_mesh_basic_material_v1"), T = getProperties(w, e, C), E = initNode();
5741
+ return initProperties(E, T), E.basic.id = genId(16), E.basic.key = w.key, {
5724
5742
  nodeLite: toNodeLite(E),
5725
5743
  nodes: { [E.basic.id]: E }
5726
5744
  };
@@ -6021,8 +6039,8 @@ const meshV1 = {
6021
6039
  };
6022
6040
  regElement(meshV1);
6023
6041
  function spawn$14(e, C) {
6024
- let w = getTag(e, C), T = barChartV1.properties[w], E = initNode();
6025
- return initProperties(E, T), E.basic.id = genId(16), E.basic.key = barChartV1.key, E.size.height = "300px", E.xAxis.data = [
6042
+ let w = getElementMust("ui_bar_chart_v1"), T = getProperties(w, e, C), E = initNode();
6043
+ return initProperties(E, T), E.basic.id = genId(16), E.basic.key = w.key, E.size.height = "300px", E.xAxis.data = [
6026
6044
  "Mon",
6027
6045
  "Tue",
6028
6046
  "Wed",
@@ -6094,8 +6112,8 @@ const barChartV1 = {
6094
6112
  };
6095
6113
  regElement(barChartV1);
6096
6114
  function spawn$13(e, C) {
6097
- let w = getTag(e, C), T = lineChartV1.properties[w], E = initNode();
6098
- return initProperties(E, T), E.basic.id = genId(16), E.basic.key = lineChartV1.key, E.size.height = "300px", E.xAxis.data = [
6115
+ let w = getElementMust("ui_line_chart_v1"), T = getProperties(w, e, C), E = initNode();
6116
+ return initProperties(E, T), E.basic.id = genId(16), E.basic.key = w.key, E.size.height = "300px", E.xAxis.data = [
6099
6117
  "Mon",
6100
6118
  "Tue",
6101
6119
  "Wed",
@@ -6486,8 +6504,8 @@ const badgeV1 = {
6486
6504
  };
6487
6505
  regElement(badgeV1);
6488
6506
  function spawn$12(e, C) {
6489
- let w = getTag(e, C), T = btnV1.properties[w], E = initNode();
6490
- return initProperties(E, T), E.basic.id = genId(16), E.basic.key = btnV1.key, E.settings.text = "button", {
6507
+ let w = getElementMust("ui_btn_v1"), T = getProperties(w, e, C), E = initNode();
6508
+ return initProperties(E, T), E.basic.id = genId(16), E.basic.key = w.key, E.settings.text = "button", {
6491
6509
  nodeLite: toNodeLite(E),
6492
6510
  nodes: { [E.basic.id]: E }
6493
6511
  };
@@ -6684,8 +6702,8 @@ const btnToggleV1 = {
6684
6702
  };
6685
6703
  regElement(btnToggleV1);
6686
6704
  function spawn$11(e, C) {
6687
- let w = getTag(e, C), T = cardV1.properties[w], E = initNode();
6688
- return initProperties(E, T), E.basic.id = genId(16), E.basic.key = cardV1.key, E.children = [], E.settings.title = "title", E.settings.subtitle = "subtitle", E.settings.text = "text", {
6705
+ let w = getElementMust("ui_card_v1"), T = getProperties(w, e, C), E = initNode();
6706
+ return initProperties(E, T), E.basic.id = genId(16), E.basic.key = w.key, E.children = [], E.settings.title = "title", E.settings.subtitle = "subtitle", E.settings.text = "text", {
6689
6707
  nodeLite: toNodeLite(E),
6690
6708
  nodes: { [E.basic.id]: E }
6691
6709
  };
@@ -6879,8 +6897,8 @@ const chipV1 = {
6879
6897
  };
6880
6898
  regElement(chipV1);
6881
6899
  function spawn$10(e, C) {
6882
- let w = getTag(e, C), T = chipGroupV1.properties[w], E = initNode();
6883
- initProperties(E, T), E.basic.id = genId(16), E.basic.key = chipGroupV1.key;
6900
+ let w = getElementMust("ui_chip_group_v1"), T = getProperties(w, e, C), E = initNode();
6901
+ initProperties(E, T), E.basic.id = genId(16), E.basic.key = w.key;
6884
6902
  let D = spawnChip(e, C, "chip1", "chip 1"), O = spawnChip(e, C, "chip2", "chip 2"), k = spawnChip(e, C, "chip3", "chip 3"), A = spawnChip(e, C, "chip4", "chip 4"), j = spawnChip(e, C, "chip5", "chip 5"), M = spawnChip(e, C, "chip6", "chip 6");
6885
6903
  return {
6886
6904
  nodeLite: toNodeLite(E, [
@@ -6903,8 +6921,8 @@ function spawn$10(e, C) {
6903
6921
  };
6904
6922
  }
6905
6923
  function spawnChip(e, C, w, T) {
6906
- let E = getTag(e, C), D = chipV1.properties[E], O = initNode();
6907
- return initProperties(O, D), O.basic.id = genId(16), O.basic.key = chipV1.key, O.settings.value = w, O.settings.text = T, {
6924
+ let E = getElementMust("ui_chip_v1"), D = getProperties(E, e, C), O = initNode();
6925
+ return initProperties(O, D), O.basic.id = genId(16), O.basic.key = E.key, O.settings.value = w, O.settings.text = T, {
6908
6926
  nodeLite: toNodeLite(O),
6909
6927
  nodes: { [O.basic.id]: O }
6910
6928
  };
@@ -7295,42 +7313,9 @@ const fileInputV1 = {
7295
7313
  },
7296
7314
  leaf: !0
7297
7315
  };
7298
- var settings$21 = {
7299
- key: "settings",
7300
- name: "x-runtime-lib.settings",
7301
- children: [{
7302
- key: "grow",
7303
- name: "x-runtime-lib.grow",
7304
- ui: "switch",
7305
- default: !1
7306
- }, {
7307
- key: "shrink",
7308
- name: "x-runtime-lib.shrink",
7309
- ui: "switch",
7310
- default: !1
7311
- }]
7312
- };
7313
- const flexLayoutEntryV1 = {
7314
- key: "ui_flex_layout_entry_v1",
7315
- name: "x-runtime-lib.flexLayoutEntry",
7316
- comp: v1_default$27,
7317
- properties: {
7318
- pageUi: [
7319
- basicV1,
7320
- sizeV1,
7321
- settings$21
7322
- ],
7323
- compUi: [
7324
- basicV1,
7325
- sizeV1,
7326
- settings$21
7327
- ]
7328
- }
7329
- };
7330
- regElement(flexLayoutEntryV1);
7331
7316
  function spawn$9(e, C) {
7332
- let w = getTag(e, C), T = flexLayoutV1.properties[w], E = initNode();
7333
- initProperties(E, T), E.basic.id = genId(16), E.basic.key = flexLayoutV1.key;
7317
+ let w = getElementMust("ui_flex_layout_v1"), T = getProperties(w, e, C), E = initNode();
7318
+ initProperties(E, T), E.basic.id = genId(16), E.basic.key = w.key;
7334
7319
  let D = spawnContainer(e, C, "#ff0000", "40px", void 0, void 0, "40px", void 0, void 0), O = spawnContainer(e, C, "#00ff00", "60px", void 0, void 0, "60px", void 0, void 0), k = spawnEntry$3(e, C);
7335
7320
  return {
7336
7321
  nodeLite: toNodeLite(E, [
@@ -7347,8 +7332,8 @@ function spawn$9(e, C) {
7347
7332
  };
7348
7333
  }
7349
7334
  function spawnEntry$3(e, C) {
7350
- let w = getTag(e, C), T = flexLayoutEntryV1.properties[w], E = initNode();
7351
- initProperties(E, T), E.basic.id = genId(16), E.basic.key = flexLayoutEntryV1.key;
7335
+ let w = getElementMust("ui_flex_layout_entry_v1"), T = getProperties(w, e, C), E = initNode();
7336
+ initProperties(E, T), E.basic.id = genId(16), E.basic.key = w.key;
7352
7337
  let D = spawnContainer(e, C, "#0000ff", void 0, "80px", void 0, void 0, "80px", void 0);
7353
7338
  return {
7354
7339
  nodeLite: toNodeLite(E, [D.nodeLite]),
@@ -7359,15 +7344,15 @@ function spawnEntry$3(e, C) {
7359
7344
  };
7360
7345
  }
7361
7346
  function spawnContainer(e, C, w, T, E, D, O, k, A) {
7362
- let j = getTag(e, C), M = containerV1.properties[j], N = initNode();
7363
- return initProperties(N, M), N.basic.id = genId(16), N.basic.key = containerV1.key, T && (N.size.width = T), E && (N.size.minWidth = E), D && (N.size.maxWidth = D), O && (N.size.height = O), k && (N.size.minHeight = k), A && (N.size.maxHeight = A), w && (N.settings.backgroundColor.mode = "custom", N.settings.backgroundColor.custom.light = w, N.settings.backgroundColor.custom.dark = w), {
7347
+ let j = getElementMust("ui_container_v1"), M = getProperties(j, e, C), N = initNode();
7348
+ return initProperties(N, M), N.basic.id = genId(16), N.basic.key = j.key, T && (N.size.width = T), E && (N.size.minWidth = E), D && (N.size.maxWidth = D), O && (N.size.height = O), k && (N.size.minHeight = k), A && (N.size.maxHeight = A), w && (N.settings.backgroundColor.mode = "custom", N.settings.backgroundColor.custom.light = w, N.settings.backgroundColor.custom.dark = w), {
7364
7349
  nodeLite: toNodeLite(N, []),
7365
7350
  nodes: { [N.basic.id]: N }
7366
7351
  };
7367
7352
  }
7368
7353
  var backgroundColor$1 = cloneDeep_default(colorV1);
7369
7354
  backgroundColor$1.key = "backgroundColor", backgroundColor$1.name = "x-runtime-lib.backgroundColor";
7370
- var settings$20 = {
7355
+ var settings$21 = {
7371
7356
  key: "settings",
7372
7357
  name: "x-runtime-lib.settings",
7373
7358
  children: [
@@ -7541,7 +7526,7 @@ var settings$20 = {
7541
7526
  const flexLayoutV1 = {
7542
7527
  key: "ui_flex_layout_v1",
7543
7528
  name: "x-runtime-lib.flexLayout",
7544
- comp: v1_default$26,
7529
+ comp: v1_default$27,
7545
7530
  properties: {
7546
7531
  pageUi: [
7547
7532
  basicV1,
@@ -7549,7 +7534,7 @@ const flexLayoutV1 = {
7549
7534
  borderV1,
7550
7535
  marginV1,
7551
7536
  paddingV1,
7552
- settings$20
7537
+ settings$21
7553
7538
  ],
7554
7539
  compUi: [
7555
7540
  basicV1,
@@ -7557,7 +7542,7 @@ const flexLayoutV1 = {
7557
7542
  borderV1,
7558
7543
  marginV1,
7559
7544
  paddingV1,
7560
- settings$20
7545
+ settings$21
7561
7546
  ]
7562
7547
  },
7563
7548
  events: [{
@@ -7567,263 +7552,42 @@ const flexLayoutV1 = {
7567
7552
  spawn: spawn$9
7568
7553
  };
7569
7554
  regElement(flexLayoutV1);
7570
- var settings$19 = {
7555
+ var settings$20 = {
7571
7556
  key: "settings",
7572
7557
  name: "x-runtime-lib.settings",
7573
- children: [
7574
- {
7575
- key: "disabled",
7576
- name: "x-runtime-lib.disabled",
7577
- ui: "switch",
7578
- default: !1
7579
- },
7580
- {
7581
- key: "readonly",
7582
- name: "x-runtime-lib.readonly",
7583
- ui: "switch",
7584
- default: !1
7585
- },
7586
- {
7587
- key: "loading",
7588
- name: "x-runtime-lib.loading",
7589
- ui: "switch",
7590
- default: !1
7591
- },
7592
- {
7593
- key: "value",
7594
- name: "x-runtime-lib.value",
7595
- ui: "strInput",
7596
- default: ""
7597
- },
7598
- {
7599
- key: "variant",
7600
- name: "x-runtime-lib.variant",
7601
- ui: "select",
7602
- items: "fieldVariantItemsV1",
7603
- default: "filled"
7604
- },
7605
- {
7606
- key: "density",
7607
- name: "x-runtime-lib.density",
7608
- ui: "select",
7609
- items: "densityItemsV1",
7610
- default: "default"
7611
- },
7612
- {
7613
- key: "label",
7614
- name: "x-runtime-lib.label",
7615
- ui: "strInput",
7616
- default: "label"
7617
- },
7618
- {
7619
- key: "placeholder",
7620
- name: "x-runtime-lib.placeholder",
7621
- ui: "strInput",
7622
- default: ""
7623
- },
7624
- {
7625
- key: "hideDetails",
7626
- name: "x-runtime-lib.hideDetails",
7627
- ui: "switch",
7628
- default: !1
7629
- },
7630
- {
7631
- key: "singleLine",
7632
- name: "x-runtime-lib.singleLine",
7633
- ui: "switch",
7634
- default: !1
7635
- },
7636
- {
7637
- key: "autofocus",
7638
- name: "x-runtime-lib.autofocus",
7639
- ui: "switch",
7640
- default: !1
7641
- },
7642
- {
7643
- key: "clearable",
7644
- name: "x-runtime-lib.clearable",
7645
- ui: "switch",
7646
- default: !1
7647
- },
7648
- {
7649
- key: "prefix",
7650
- name: "x-runtime-lib.prefix",
7651
- ui: "strInput",
7652
- default: ""
7653
- },
7654
- {
7655
- key: "suffix",
7656
- name: "x-runtime-lib.suffix",
7657
- ui: "strInput",
7658
- default: ""
7659
- },
7660
- {
7661
- key: "reverse",
7662
- name: "x-runtime-lib.reverse",
7663
- ui: "switch",
7664
- default: !1
7665
- },
7666
- {
7667
- key: "appendIcon",
7668
- name: "x-runtime-lib.appendIcon",
7669
- ui: "strInput",
7670
- default: ""
7671
- },
7672
- {
7673
- key: "appendInnerIcon",
7674
- name: "x-runtime-lib.appendInnerIcon",
7675
- ui: "strInput",
7676
- default: ""
7677
- },
7678
- {
7679
- key: "prependIcon",
7680
- name: "x-runtime-lib.prependIcon",
7681
- ui: "strInput",
7682
- default: ""
7683
- },
7684
- {
7685
- key: "prependInnerIcon",
7686
- name: "x-runtime-lib.prependInnerIcon",
7687
- ui: "strInput",
7688
- default: ""
7689
- }
7690
- ]
7691
- }, slots$1 = {
7692
- key: "slots",
7693
- name: "x-runtime-lib.slots",
7694
- children: [
7695
- {
7696
- key: "append",
7697
- name: "x-runtime-lib.append",
7698
- ui: "selectComp",
7699
- default: void 0
7700
- },
7701
- {
7702
- key: "appendInner",
7703
- name: "x-runtime-lib.appendInner",
7704
- ui: "selectComp",
7705
- default: void 0
7706
- },
7707
- {
7708
- key: "prepend",
7709
- name: "x-runtime-lib.prepend",
7710
- ui: "selectComp",
7711
- default: void 0
7712
- },
7713
- {
7714
- key: "prependInner",
7715
- name: "x-runtime-lib.prependInner",
7716
- ui: "selectComp",
7717
- default: void 0
7718
- }
7719
- ]
7558
+ children: [{
7559
+ key: "grow",
7560
+ name: "x-runtime-lib.grow",
7561
+ ui: "switch",
7562
+ default: !1
7563
+ }, {
7564
+ key: "shrink",
7565
+ name: "x-runtime-lib.shrink",
7566
+ ui: "switch",
7567
+ default: !1
7568
+ }]
7720
7569
  };
7721
- const textFieldV1 = {
7722
- key: "ui_text_field_v1",
7723
- name: "x-runtime-lib.textField",
7724
- comp: v1_default$25,
7570
+ const flexLayoutEntryV1 = {
7571
+ key: "ui_flex_layout_entry_v1",
7572
+ name: "x-runtime-lib.flexLayoutEntry",
7573
+ comp: v1_default$26,
7725
7574
  properties: {
7726
7575
  pageUi: [
7727
7576
  basicV1,
7728
- settings$19,
7729
- slots$1
7577
+ sizeV1,
7578
+ settings$20
7730
7579
  ],
7731
7580
  compUi: [
7732
7581
  basicV1,
7733
- settings$19,
7734
- slots$1
7582
+ sizeV1,
7583
+ settings$20
7735
7584
  ]
7736
- },
7737
- events: [],
7738
- methods: [],
7739
- slots: [
7740
- {
7741
- key: "append",
7742
- name: "x-runtime-lib.append",
7743
- methods: [
7744
- {
7745
- key: "reset",
7746
- name: "x-runtime-lib.reset"
7747
- },
7748
- {
7749
- key: "resetValidation",
7750
- name: "x-runtime-lib.resetValidation"
7751
- },
7752
- {
7753
- key: "validate",
7754
- name: "x-runtime-lib.validate"
7755
- }
7756
- ]
7757
- },
7758
- {
7759
- key: "appendInner",
7760
- name: "x-runtime-lib.appendInner",
7761
- properties: [{
7762
- key: "isActive",
7763
- name: "x-runtime-lib.isActive",
7764
- type: "boolean",
7765
- readonly: !0
7766
- }, {
7767
- key: "isFocused",
7768
- name: "x-runtime-lib.isFocused",
7769
- type: "boolean",
7770
- readonly: !0
7771
- }],
7772
- methods: [{
7773
- key: "focus",
7774
- name: "x-runtime-lib.focus"
7775
- }, {
7776
- key: "blur",
7777
- name: "x-runtime-lib.blur"
7778
- }]
7779
- },
7780
- {
7781
- key: "prepend",
7782
- name: "x-runtime-lib.prepend",
7783
- methods: [
7784
- {
7785
- key: "reset",
7786
- name: "x-runtime-lib.reset"
7787
- },
7788
- {
7789
- key: "resetValidation",
7790
- name: "x-runtime-lib.resetValidation"
7791
- },
7792
- {
7793
- key: "validate",
7794
- name: "x-runtime-lib.validate"
7795
- }
7796
- ]
7797
- },
7798
- {
7799
- key: "prependInner",
7800
- name: "x-runtime-lib.prependInner",
7801
- properties: [{
7802
- key: "isActive",
7803
- name: "x-runtime-lib.isActive",
7804
- type: "boolean",
7805
- readonly: !0
7806
- }, {
7807
- key: "isFocused",
7808
- name: "x-runtime-lib.isFocused",
7809
- type: "boolean",
7810
- readonly: !0
7811
- }],
7812
- methods: [{
7813
- key: "focus",
7814
- name: "x-runtime-lib.focus"
7815
- }, {
7816
- key: "blur",
7817
- name: "x-runtime-lib.blur"
7818
- }]
7819
- }
7820
- ],
7821
- leaf: !0
7585
+ }
7822
7586
  };
7823
- regElement(textFieldV1);
7587
+ regElement(flexLayoutEntryV1);
7824
7588
  function spawn$8(e, C) {
7825
- let w = getTag(e, C), T = formV1.properties[w], E = initNode();
7826
- initProperties(E, T), E.basic.id = genId(16), E.basic.key = formV1.key;
7589
+ let w = getElementMust("ui_form_v1"), T = getProperties(w, e, C), E = initNode();
7590
+ initProperties(E, T), E.basic.id = genId(16), E.basic.key = w.key;
7827
7591
  let D = spawnTextField(e, C);
7828
7592
  return {
7829
7593
  nodeLite: toNodeLite(E, [D.nodeLite]),
@@ -7834,13 +7598,13 @@ function spawn$8(e, C) {
7834
7598
  };
7835
7599
  }
7836
7600
  function spawnTextField(e, C) {
7837
- let w = getTag(e, C), T = textFieldV1.properties[w], E = initNode();
7838
- return initProperties(E, T), E.basic.id = genId(16), E.basic.key = textFieldV1.key, {
7601
+ let w = getElementMust("ui_text_field_v1"), T = getProperties(w, e, C), E = initNode();
7602
+ return initProperties(E, T), E.basic.id = genId(16), E.basic.key = w.key, {
7839
7603
  nodeLite: toNodeLite(E),
7840
7604
  nodes: { [E.basic.id]: E }
7841
7605
  };
7842
7606
  }
7843
- var settings$18 = {
7607
+ var settings$19 = {
7844
7608
  key: "settings",
7845
7609
  name: "x-runtime-lib.settings",
7846
7610
  children: [{
@@ -7859,7 +7623,7 @@ var settings$18 = {
7859
7623
  const formV1 = {
7860
7624
  key: "ui_form_v1",
7861
7625
  name: "x-runtime-lib.form",
7862
- comp: v1_default$24,
7626
+ comp: v1_default$25,
7863
7627
  properties: {
7864
7628
  pageUi: [
7865
7629
  basicV1,
@@ -7867,7 +7631,7 @@ const formV1 = {
7867
7631
  borderV1,
7868
7632
  marginV1,
7869
7633
  paddingV1,
7870
- settings$18
7634
+ settings$19
7871
7635
  ],
7872
7636
  compUi: [
7873
7637
  basicV1,
@@ -7875,7 +7639,7 @@ const formV1 = {
7875
7639
  borderV1,
7876
7640
  marginV1,
7877
7641
  paddingV1,
7878
- settings$18
7642
+ settings$19
7879
7643
  ]
7880
7644
  },
7881
7645
  events: [{
@@ -7885,7 +7649,7 @@ const formV1 = {
7885
7649
  spawn: spawn$8
7886
7650
  };
7887
7651
  regElement(formV1);
7888
- var settings$17 = {
7652
+ var settings$18 = {
7889
7653
  key: "settings",
7890
7654
  name: "x-runtime-lib.settings",
7891
7655
  children: [
@@ -7914,10 +7678,10 @@ var settings$17 = {
7914
7678
  const iconV1 = {
7915
7679
  key: "ui_icon_v1",
7916
7680
  name: "x-runtime-lib.icon",
7917
- comp: v1_default$23,
7681
+ comp: v1_default$24,
7918
7682
  properties: {
7919
- pageUi: [basicV1, settings$17],
7920
- compUi: [basicV1, settings$17]
7683
+ pageUi: [basicV1, settings$18],
7684
+ compUi: [basicV1, settings$18]
7921
7685
  },
7922
7686
  leaf: !0
7923
7687
  };
@@ -7925,7 +7689,7 @@ regElement(iconV1);
7925
7689
  const menuV1 = {
7926
7690
  key: "ui_menu_v1",
7927
7691
  name: "x-runtime-lib.menu",
7928
- comp: v1_default$22,
7692
+ comp: v1_default$23,
7929
7693
  properties: {
7930
7694
  pageUi: [basicV1],
7931
7695
  compUi: [basicV1]
@@ -7941,8 +7705,8 @@ const menuV1 = {
7941
7705
  };
7942
7706
  regElement(menuV1);
7943
7707
  function spawn$7(e, C) {
7944
- let w = getTag(e, C), T = numberInputV1.properties[w], E = initNode();
7945
- return initProperties(E, T), E.basic.id = genId(16), E.basic.key = numberInputV1.key, E.settings.label = "label", E.settings.placeholder = "placeholder", {
7708
+ let w = getElementMust("ui_number_input_v1"), T = getProperties(w, e, C), E = initNode();
7709
+ return initProperties(E, T), E.basic.id = genId(16), E.basic.key = w.key, E.settings.label = "label", E.settings.placeholder = "placeholder", {
7946
7710
  nodeLite: toNodeLite(E),
7947
7711
  nodes: { [E.basic.id]: E }
7948
7712
  };
@@ -7973,7 +7737,7 @@ var size = {
7973
7737
  default: ""
7974
7738
  }
7975
7739
  ]
7976
- }, settings$16 = {
7740
+ }, settings$17 = {
7977
7741
  key: "settings",
7978
7742
  name: "x-runtime-lib.settings",
7979
7743
  children: [
@@ -8118,17 +7882,17 @@ var size = {
8118
7882
  const numberInputV1 = {
8119
7883
  key: "ui_number_input_v1",
8120
7884
  name: "x-runtime-lib.numberInput",
8121
- comp: v1_default$21,
7885
+ comp: v1_default$22,
8122
7886
  properties: {
8123
7887
  pageUi: [
8124
7888
  basicV1,
8125
7889
  size,
8126
- settings$16
7890
+ settings$17
8127
7891
  ],
8128
7892
  compUi: [
8129
7893
  basicV1,
8130
7894
  size,
8131
- settings$16
7895
+ settings$17
8132
7896
  ]
8133
7897
  },
8134
7898
  events: [
@@ -8157,7 +7921,7 @@ const numberInputV1 = {
8157
7921
  spawn: spawn$7
8158
7922
  };
8159
7923
  regElement(numberInputV1);
8160
- var settings$15 = {
7924
+ var settings$16 = {
8161
7925
  key: "settings",
8162
7926
  name: "x-runtime-lib.settings",
8163
7927
  children: [
@@ -8224,15 +7988,15 @@ var settings$15 = {
8224
7988
  const paginationV1 = {
8225
7989
  key: "ui_pagination_v1",
8226
7990
  name: "x-runtime-lib.pagination",
8227
- comp: v1_default$20,
7991
+ comp: v1_default$21,
8228
7992
  properties: {
8229
- pageUi: [basicV1, settings$15],
8230
- compUi: [basicV1, settings$15]
7993
+ pageUi: [basicV1, settings$16],
7994
+ compUi: [basicV1, settings$16]
8231
7995
  },
8232
7996
  leaf: !0
8233
7997
  };
8234
7998
  regElement(paginationV1);
8235
- var settings$14 = {
7999
+ var settings$15 = {
8236
8000
  key: "settings",
8237
8001
  name: "x-runtime-lib.settings",
8238
8002
  children: [
@@ -8273,17 +8037,17 @@ var settings$14 = {
8273
8037
  const radioV1 = {
8274
8038
  key: "ui_radio_v1",
8275
8039
  name: "x-runtime-lib.radio",
8276
- comp: v1_default$19,
8040
+ comp: v1_default$20,
8277
8041
  properties: {
8278
- pageUi: [basicV1, settings$14],
8279
- compUi: [basicV1, settings$14]
8042
+ pageUi: [basicV1, settings$15],
8043
+ compUi: [basicV1, settings$15]
8280
8044
  },
8281
8045
  leaf: !0
8282
8046
  };
8283
8047
  regElement(radioV1);
8284
8048
  function spawn$6(e, C) {
8285
- let w = getTag(e, C), T = radioGroupV1.properties[w], E = initNode();
8286
- initProperties(E, T), E.basic.id = genId(16), E.basic.key = radioGroupV1.key, E.settings.value = "option1";
8049
+ let w = getElementMust("ui_radio_group_v1"), T = getProperties(w, e, C), E = initNode();
8050
+ initProperties(E, T), E.basic.id = genId(16), E.basic.key = w.key, E.settings.value = "option1";
8287
8051
  let D = spawnEntry$2(e, C, "option1", "Option 1"), O = spawnEntry$2(e, C, "option2", "Option 2"), k = spawnEntry$2(e, C, "option3", "Option 3");
8288
8052
  return {
8289
8053
  nodeLite: toNodeLite(E, [
@@ -8300,13 +8064,13 @@ function spawn$6(e, C) {
8300
8064
  };
8301
8065
  }
8302
8066
  function spawnEntry$2(e, C, w, T) {
8303
- let E = getTag(e, C), D = radioV1.properties[E], O = initNode();
8304
- return initProperties(O, D), O.basic.id = genId(16), O.basic.key = radioV1.key, O.settings.value = w, O.settings.label = T, {
8067
+ let E = getElementMust("ui_radio_v1"), D = getProperties(E, e, C), O = initNode();
8068
+ return initProperties(O, D), O.basic.id = genId(16), O.basic.key = E.key, O.settings.value = w, O.settings.label = T, {
8305
8069
  nodeLite: toNodeLite(O),
8306
8070
  nodes: { [O.basic.id]: O }
8307
8071
  };
8308
8072
  }
8309
- var settings$13 = {
8073
+ var settings$14 = {
8310
8074
  key: "settings",
8311
8075
  name: "x-runtime-lib.settings",
8312
8076
  children: [
@@ -8353,15 +8117,15 @@ var settings$13 = {
8353
8117
  const radioGroupV1 = {
8354
8118
  key: "ui_radio_group_v1",
8355
8119
  name: "x-runtime-lib.radioGroup",
8356
- comp: v1_default$18,
8120
+ comp: v1_default$19,
8357
8121
  properties: {
8358
- pageUi: [basicV1, settings$13],
8359
- compUi: [basicV1, settings$13]
8122
+ pageUi: [basicV1, settings$14],
8123
+ compUi: [basicV1, settings$14]
8360
8124
  },
8361
8125
  spawn: spawn$6
8362
8126
  };
8363
8127
  regElement(radioGroupV1);
8364
- var settings$12 = {
8128
+ var settings$13 = {
8365
8129
  key: "settings",
8366
8130
  name: "x-runtime-lib.settings",
8367
8131
  children: [
@@ -8473,15 +8237,15 @@ var settings$12 = {
8473
8237
  const rangeSliderV1 = {
8474
8238
  key: "ui_range_slider_v1",
8475
8239
  name: "x-runtime-lib.rangeSlider",
8476
- comp: v1_default$17,
8240
+ comp: v1_default$18,
8477
8241
  properties: {
8478
- pageUi: [basicV1, settings$12],
8479
- compUi: [basicV1, settings$12]
8242
+ pageUi: [basicV1, settings$13],
8243
+ compUi: [basicV1, settings$13]
8480
8244
  },
8481
8245
  leaf: !0
8482
8246
  };
8483
8247
  regElement(rangeSliderV1);
8484
- var settings$11 = {
8248
+ var settings$12 = {
8485
8249
  key: "settings",
8486
8250
  name: "x-runtime-lib.settings",
8487
8251
  children: [
@@ -8540,15 +8304,15 @@ var settings$11 = {
8540
8304
  const ratingV1 = {
8541
8305
  key: "ui_rating_v1",
8542
8306
  name: "x-runtime-lib.rating",
8543
- comp: v1_default$16,
8307
+ comp: v1_default$17,
8544
8308
  properties: {
8545
- pageUi: [basicV1, settings$11],
8546
- compUi: [basicV1, settings$11]
8309
+ pageUi: [basicV1, settings$12],
8310
+ compUi: [basicV1, settings$12]
8547
8311
  },
8548
8312
  leaf: !0
8549
8313
  };
8550
8314
  regElement(ratingV1);
8551
- var settings$10 = {
8315
+ var settings$11 = {
8552
8316
  key: "settings",
8553
8317
  name: "x-runtime-lib.settings",
8554
8318
  children: [
@@ -8593,10 +8357,10 @@ var settings$10 = {
8593
8357
  const selectV1 = {
8594
8358
  key: "ui_select_v1",
8595
8359
  name: "x-runtime-lib.select",
8596
- comp: v1_default$15,
8360
+ comp: v1_default$16,
8597
8361
  properties: {
8598
- pageUi: [basicV1, settings$10],
8599
- compUi: [basicV1, settings$10]
8362
+ pageUi: [basicV1, settings$11],
8363
+ compUi: [basicV1, settings$11]
8600
8364
  },
8601
8365
  leaf: !0
8602
8366
  };
@@ -8607,7 +8371,7 @@ var trackColor = cloneDeep_default(colorV1);
8607
8371
  trackColor.key = "trackColor", trackColor.name = "x-runtime-lib.trackColor";
8608
8372
  var thumbColor = cloneDeep_default(colorV1);
8609
8373
  thumbColor.key = "thumbColor", thumbColor.name = "x-runtime-lib.thumbColor";
8610
- var settings$9 = {
8374
+ var settings$10 = {
8611
8375
  key: "settings",
8612
8376
  name: "x-runtime-lib.settings",
8613
8377
  children: [
@@ -8713,7 +8477,7 @@ var settings$9 = {
8713
8477
  trackColor,
8714
8478
  thumbColor
8715
8479
  ]
8716
- }, slots = {
8480
+ }, slots$1 = {
8717
8481
  key: "slots",
8718
8482
  name: "x-runtime-lib.slots",
8719
8483
  children: [{
@@ -8731,85 +8495,25 @@ var settings$9 = {
8731
8495
  const sliderV1 = {
8732
8496
  key: "ui_slider_v1",
8733
8497
  name: "x-runtime-lib.slider",
8734
- comp: v1_default$14,
8498
+ comp: v1_default$15,
8735
8499
  properties: {
8736
8500
  pageUi: [
8737
8501
  basicV1,
8738
- settings$9,
8739
- slots
8502
+ settings$10,
8503
+ slots$1
8740
8504
  ],
8741
8505
  compUi: [
8742
8506
  basicV1,
8743
- settings$9,
8744
- slots
8507
+ settings$10,
8508
+ slots$1
8745
8509
  ]
8746
8510
  },
8747
8511
  leaf: !0
8748
8512
  };
8749
8513
  regElement(sliderV1);
8750
- const stepperHeaderV1 = {
8751
- key: "ui_stepper_header_v1",
8752
- name: "x-runtime-lib.stepperHeader",
8753
- comp: v1_default$13,
8754
- properties: {
8755
- pageUi: [basicV1],
8756
- compUi: [basicV1]
8757
- }
8758
- };
8759
- regElement(stepperHeaderV1);
8760
- var settings$8 = {
8761
- key: "settings",
8762
- name: "x-runtime-lib.settings",
8763
- children: [{
8764
- key: "value",
8765
- name: "x-runtime-lib.value",
8766
- ui: "strInput",
8767
- default: ""
8768
- }]
8769
- };
8770
- const stepperItemV1 = {
8771
- key: "ui_stepper_item_v1",
8772
- name: "x-runtime-lib.stepperItem",
8773
- comp: v1_default$12,
8774
- properties: {
8775
- pageUi: [basicV1, settings$8],
8776
- compUi: [basicV1, settings$8]
8777
- }
8778
- };
8779
- regElement(stepperItemV1);
8780
- const stepperWindowV1 = {
8781
- key: "ui_stepper_window_v1",
8782
- name: "x-runtime-lib.stepperWindow",
8783
- comp: v1_default$11,
8784
- properties: {
8785
- pageUi: [basicV1],
8786
- compUi: [basicV1]
8787
- }
8788
- };
8789
- regElement(stepperWindowV1);
8790
- var settings$7 = {
8791
- key: "settings",
8792
- name: "x-runtime-lib.settings",
8793
- children: [{
8794
- key: "value",
8795
- name: "x-runtime-lib.value",
8796
- ui: "strInput",
8797
- default: ""
8798
- }]
8799
- };
8800
- const stepperWindowItemV1 = {
8801
- key: "ui_stepper_window_item_v1",
8802
- name: "x-runtime-lib.stepperWindowItem",
8803
- comp: v1_default$10,
8804
- properties: {
8805
- pageUi: [basicV1, settings$7],
8806
- compUi: [basicV1, settings$7]
8807
- }
8808
- };
8809
- regElement(stepperWindowItemV1);
8810
8514
  function spawn$5(e, C) {
8811
- let w = getTag(e, C), T = stepperV1.properties[w], E = initNode();
8812
- initProperties(E, T), E.basic.id = genId(16), E.basic.key = stepperV1.key;
8515
+ let w = getElementMust("ui_stepper_v1"), T = getProperties(w, e, C), E = initNode();
8516
+ initProperties(E, T), E.basic.id = genId(16), E.basic.key = w.key;
8813
8517
  let D = spawnHeader(e, C), O = spawnWindow(e, C);
8814
8518
  return {
8815
8519
  nodeLite: toNodeLite(E, [D.nodeLite, O.nodeLite]),
@@ -8821,8 +8525,8 @@ function spawn$5(e, C) {
8821
8525
  };
8822
8526
  }
8823
8527
  function spawnHeader(e, C) {
8824
- let w = getTag(e, C), T = stepperHeaderV1.properties[w], E = initNode();
8825
- initProperties(E, T), E.basic.id = genId(16), E.basic.key = stepperHeaderV1.key;
8528
+ let w = getElementMust("ui_stepper_header_v1"), T = getProperties(w, e, C), E = initNode();
8529
+ initProperties(E, T), E.basic.id = genId(16), E.basic.key = w.key;
8826
8530
  let D = spawnItem(e, C, "step1"), O = spawnItem(e, C, "step2"), k = spawnItem(e, C, "step3");
8827
8531
  return {
8828
8532
  nodeLite: toNodeLite(E, [
@@ -8839,15 +8543,15 @@ function spawnHeader(e, C) {
8839
8543
  };
8840
8544
  }
8841
8545
  function spawnItem(e, C, w) {
8842
- let T = getTag(e, C), E = stepperItemV1.properties[T], D = initNode();
8843
- return initProperties(D, E), D.basic.id = genId(16), D.basic.key = stepperItemV1.key, D.settings.value = w, {
8546
+ let T = getElementMust("ui_stepper_item_v1"), E = getProperties(T, e, C), D = initNode();
8547
+ return initProperties(D, E), D.basic.id = genId(16), D.basic.key = T.key, D.settings.value = w, {
8844
8548
  nodeLite: toNodeLite(D, []),
8845
8549
  nodes: { [D.basic.id]: D }
8846
8550
  };
8847
8551
  }
8848
8552
  function spawnWindow(e, C) {
8849
- let w = getTag(e, C), T = stepperWindowV1.properties[w], E = initNode();
8850
- initProperties(E, T), E.basic.id = genId(16), E.basic.key = stepperWindowV1.key;
8553
+ let w = getElementMust("ui_stepper_window_v1"), T = getProperties(w, e, C), E = initNode();
8554
+ initProperties(E, T), E.basic.id = genId(16), E.basic.key = w.key;
8851
8555
  let D = spawnWindowItem(e, C, "step1", "step 1"), O = spawnWindowItem(e, C, "step2", "step 2"), k = spawnWindowItem(e, C, "step3", "step 3");
8852
8556
  return {
8853
8557
  nodeLite: toNodeLite(E, [
@@ -8864,8 +8568,8 @@ function spawnWindow(e, C) {
8864
8568
  };
8865
8569
  }
8866
8570
  function spawnWindowItem(e, C, w, T) {
8867
- let E = getTag(e, C), D = stepperWindowItemV1.properties[E], O = initNode();
8868
- initProperties(O, D), O.basic.id = genId(16), O.basic.key = stepperWindowItemV1.key, O.settings.value = w;
8571
+ let E = getElementMust("ui_stepper_window_item_v1"), D = getProperties(E, e, C), O = initNode();
8572
+ initProperties(O, D), O.basic.id = genId(16), O.basic.key = E.key, O.settings.value = w;
8869
8573
  let k = spawnCard(e, C, T);
8870
8574
  return {
8871
8575
  nodeLite: toNodeLite(O, [k.nodeLite]),
@@ -8876,13 +8580,13 @@ function spawnWindowItem(e, C, w, T) {
8876
8580
  };
8877
8581
  }
8878
8582
  function spawnCard(e, C, w) {
8879
- let T = getTag(e, C), E = cardV1.properties[T], D = initNode();
8880
- return initProperties(D, E), D.basic.id = genId(16), D.basic.key = cardV1.key, D.settings.title = w, {
8583
+ let T = getElementMust("ui_card_v1"), E = getProperties(T, e, C), D = initNode();
8584
+ return initProperties(D, E), D.basic.id = genId(16), D.basic.key = T.key, D.settings.title = w, {
8881
8585
  nodeLite: toNodeLite(D, []),
8882
8586
  nodes: { [D.basic.id]: D }
8883
8587
  };
8884
8588
  }
8885
- var settings$6 = {
8589
+ var settings$9 = {
8886
8590
  key: "settings",
8887
8591
  name: "x-runtime-lib.settings",
8888
8592
  children: [{
@@ -8900,18 +8604,78 @@ var settings$6 = {
8900
8604
  const stepperV1 = {
8901
8605
  key: "ui_stepper_v1",
8902
8606
  name: "x-runtime-lib.stepper",
8903
- comp: v1_default$9,
8607
+ comp: v1_default$14,
8904
8608
  properties: {
8905
- pageUi: [basicV1, settings$6],
8906
- compUi: [basicV1, settings$6]
8609
+ pageUi: [basicV1, settings$9],
8610
+ compUi: [basicV1, settings$9]
8907
8611
  },
8908
8612
  spawn: spawn$5
8909
8613
  };
8910
8614
  regElement(stepperV1);
8615
+ const stepperHeaderV1 = {
8616
+ key: "ui_stepper_header_v1",
8617
+ name: "x-runtime-lib.stepperHeader",
8618
+ comp: v1_default$13,
8619
+ properties: {
8620
+ pageUi: [basicV1],
8621
+ compUi: [basicV1]
8622
+ }
8623
+ };
8624
+ regElement(stepperHeaderV1);
8625
+ var settings$8 = {
8626
+ key: "settings",
8627
+ name: "x-runtime-lib.settings",
8628
+ children: [{
8629
+ key: "value",
8630
+ name: "x-runtime-lib.value",
8631
+ ui: "strInput",
8632
+ default: ""
8633
+ }]
8634
+ };
8635
+ const stepperItemV1 = {
8636
+ key: "ui_stepper_item_v1",
8637
+ name: "x-runtime-lib.stepperItem",
8638
+ comp: v1_default$12,
8639
+ properties: {
8640
+ pageUi: [basicV1, settings$8],
8641
+ compUi: [basicV1, settings$8]
8642
+ }
8643
+ };
8644
+ regElement(stepperItemV1);
8645
+ const stepperWindowV1 = {
8646
+ key: "ui_stepper_window_v1",
8647
+ name: "x-runtime-lib.stepperWindow",
8648
+ comp: v1_default$11,
8649
+ properties: {
8650
+ pageUi: [basicV1],
8651
+ compUi: [basicV1]
8652
+ }
8653
+ };
8654
+ regElement(stepperWindowV1);
8655
+ var settings$7 = {
8656
+ key: "settings",
8657
+ name: "x-runtime-lib.settings",
8658
+ children: [{
8659
+ key: "value",
8660
+ name: "x-runtime-lib.value",
8661
+ ui: "strInput",
8662
+ default: ""
8663
+ }]
8664
+ };
8665
+ const stepperWindowItemV1 = {
8666
+ key: "ui_stepper_window_item_v1",
8667
+ name: "x-runtime-lib.stepperWindowItem",
8668
+ comp: v1_default$10,
8669
+ properties: {
8670
+ pageUi: [basicV1, settings$7],
8671
+ compUi: [basicV1, settings$7]
8672
+ }
8673
+ };
8674
+ regElement(stepperWindowItemV1);
8911
8675
  const switchV1 = {
8912
8676
  key: "ui_switch_v1",
8913
8677
  name: "x-runtime-lib.switch",
8914
- comp: v1_default$8,
8678
+ comp: v1_default$9,
8915
8679
  properties: {
8916
8680
  pageUi: [basicV1],
8917
8681
  compUi: [basicV1]
@@ -8919,7 +8683,7 @@ const switchV1 = {
8919
8683
  leaf: !0
8920
8684
  };
8921
8685
  regElement(switchV1);
8922
- var settings$5 = {
8686
+ var settings$6 = {
8923
8687
  key: "settings",
8924
8688
  name: "x-runtime-lib.settings",
8925
8689
  children: [{
@@ -8937,17 +8701,17 @@ var settings$5 = {
8937
8701
  const tabV1 = {
8938
8702
  key: "ui_tab_v1",
8939
8703
  name: "x-runtime-lib.tab",
8940
- comp: v1_default$7,
8704
+ comp: v1_default$8,
8941
8705
  properties: {
8942
- pageUi: [basicV1, settings$5],
8943
- compUi: [basicV1, settings$5]
8706
+ pageUi: [basicV1, settings$6],
8707
+ compUi: [basicV1, settings$6]
8944
8708
  },
8945
8709
  leaf: !0
8946
8710
  };
8947
8711
  regElement(tabV1);
8948
8712
  function spawn$4(e, C) {
8949
- let w = getTag(e, C), T = tabsV1.properties[w], E = initNode();
8950
- initProperties(E, T), E.basic.id = genId(16), E.basic.key = tabsV1.key;
8713
+ let w = getElementMust("ui_tabs_v1"), T = getProperties(w, e, C), E = initNode();
8714
+ initProperties(E, T), E.basic.id = genId(16), E.basic.key = w.key;
8951
8715
  let D = spawnTab(e, C, "tab1", "tab 1"), O = spawnTab(e, C, "tab2", "tab 2"), k = spawnTab(e, C, "tab3", "tab 3");
8952
8716
  return {
8953
8717
  nodeLite: toNodeLite(E, [
@@ -8964,8 +8728,8 @@ function spawn$4(e, C) {
8964
8728
  };
8965
8729
  }
8966
8730
  function spawnTab(e, C, w, T) {
8967
- let E = getTag(e, C), D = tabV1.properties[E], O = initNode();
8968
- return initProperties(O, D), O.basic.id = genId(16), O.basic.key = tabV1.key, O.settings.value = w, O.settings.text = T, {
8731
+ let E = getElementMust("ui_tab_v1"), D = getProperties(E, e, C), O = initNode();
8732
+ return initProperties(O, D), O.basic.id = genId(16), O.basic.key = E.key, O.settings.value = w, O.settings.text = T, {
8969
8733
  nodeLite: toNodeLite(O),
8970
8734
  nodes: { [O.basic.id]: O }
8971
8735
  };
@@ -8976,7 +8740,7 @@ var selectedColor = cloneDeep_default(colorV1);
8976
8740
  selectedColor.key = "selectedColor", selectedColor.name = "x-runtime-lib.selectedColor";
8977
8741
  var sliderColor = cloneDeep_default(colorV1);
8978
8742
  sliderColor.key = "sliderColor", sliderColor.name = "x-runtime-lib.sliderColor";
8979
- var settings$4 = {
8743
+ var settings$5 = {
8980
8744
  key: "settings",
8981
8745
  name: "x-runtime-lib.settings",
8982
8746
  children: [
@@ -9063,22 +8827,22 @@ var settings$4 = {
9063
8827
  const tabsV1 = {
9064
8828
  key: "ui_tabs_v1",
9065
8829
  name: "x-runtime-lib.tabs",
9066
- comp: v1_default$6,
8830
+ comp: v1_default$7,
9067
8831
  properties: {
9068
- pageUi: [basicV1, settings$4],
9069
- compUi: [basicV1, settings$4]
8832
+ pageUi: [basicV1, settings$5],
8833
+ compUi: [basicV1, settings$5]
9070
8834
  },
9071
8835
  spawn: spawn$4
9072
8836
  };
9073
8837
  regElement(tabsV1);
9074
8838
  function spawn$3(e, C) {
9075
- let w = getTag(e, C), T = textV1.properties[w], E = initNode();
9076
- return initProperties(E, T), E.basic.id = genId(16), E.basic.key = textV1.key, E.settings.text = "text", {
8839
+ let w = getElementMust("ui_text_v1"), T = getProperties(w, e, C), E = initNode();
8840
+ return initProperties(E, T), E.basic.id = genId(16), E.basic.key = w.key, E.settings.text = "text", {
9077
8841
  nodeLite: toNodeLite(E),
9078
8842
  nodes: { [E.basic.id]: E }
9079
8843
  };
9080
8844
  }
9081
- var settings$3 = {
8845
+ var settings$4 = {
9082
8846
  key: "settings",
9083
8847
  name: "x-runtime-lib.settings",
9084
8848
  children: [
@@ -9168,22 +8932,106 @@ var settings$3 = {
9168
8932
  const textV1 = {
9169
8933
  key: "ui_text_v1",
9170
8934
  name: "x-runtime-lib.text",
8935
+ comp: v1_default$6,
8936
+ properties: {
8937
+ pageUi: [basicV1, settings$4],
8938
+ compUi: [basicV1, settings$4]
8939
+ },
8940
+ leaf: !0,
8941
+ spawn: spawn$3
8942
+ };
8943
+ regElement(textV1);
8944
+ function spawn$2(e, C) {
8945
+ let w = getElementMust("ui_textarea_v1"), T = getProperties(w, e, C), E = initNode();
8946
+ return initProperties(E, T), E.basic.id = genId(16), E.basic.key = w.key, E.settings.label = "label", {
8947
+ nodeLite: toNodeLite(E),
8948
+ nodes: { [E.basic.id]: E }
8949
+ };
8950
+ }
8951
+ var settings$3 = {
8952
+ key: "settings",
8953
+ name: "x-runtime-lib.settings",
8954
+ children: [
8955
+ {
8956
+ key: "disabled",
8957
+ name: "x-runtime-lib.disabled",
8958
+ ui: "switch",
8959
+ default: !1
8960
+ },
8961
+ {
8962
+ key: "readonly",
8963
+ name: "x-runtime-lib.readonly",
8964
+ ui: "switch",
8965
+ default: !1
8966
+ },
8967
+ {
8968
+ key: "loading",
8969
+ name: "x-runtime-lib.loading",
8970
+ ui: "switch",
8971
+ default: !1
8972
+ },
8973
+ {
8974
+ key: "value",
8975
+ name: "x-runtime-lib.value",
8976
+ ui: "strInput",
8977
+ default: ""
8978
+ },
8979
+ {
8980
+ key: "label",
8981
+ name: "x-runtime-lib.label",
8982
+ ui: "strInput",
8983
+ default: ""
8984
+ },
8985
+ {
8986
+ key: "placeholder",
8987
+ name: "x-runtime-lib.placeholder",
8988
+ ui: "strInput",
8989
+ default: ""
8990
+ },
8991
+ {
8992
+ key: "reverse",
8993
+ name: "x-runtime-lib.reverse",
8994
+ ui: "switch",
8995
+ default: !1
8996
+ },
8997
+ {
8998
+ key: "clearable",
8999
+ name: "x-runtime-lib.clearable",
9000
+ ui: "switch",
9001
+ default: !1
9002
+ },
9003
+ {
9004
+ key: "rows",
9005
+ name: "x-runtime-lib.rows",
9006
+ ui: "numInput",
9007
+ default: 5
9008
+ },
9009
+ {
9010
+ key: "autoGrow",
9011
+ name: "x-runtime-lib.autoGrow",
9012
+ ui: "switch",
9013
+ default: !1
9014
+ },
9015
+ {
9016
+ key: "maxRows",
9017
+ name: "x-runtime-lib.maxRows",
9018
+ ui: "numInput",
9019
+ default: 0
9020
+ }
9021
+ ]
9022
+ };
9023
+ const textareaV1 = {
9024
+ key: "ui_textarea_v1",
9025
+ name: "x-runtime-lib.textarea",
9171
9026
  comp: v1_default$5,
9172
9027
  properties: {
9173
9028
  pageUi: [basicV1, settings$3],
9174
9029
  compUi: [basicV1, settings$3]
9175
9030
  },
9176
9031
  leaf: !0,
9177
- spawn: spawn$3
9032
+ spawn: spawn$2
9178
9033
  };
9179
- regElement(textV1);
9180
- function spawn$2(e, C) {
9181
- let w = getTag(e, C), T = textareaV1.properties[w], E = initNode();
9182
- return initProperties(E, T), E.basic.id = genId(16), E.basic.key = textareaV1.key, E.settings.label = "label", {
9183
- nodeLite: toNodeLite(E),
9184
- nodes: { [E.basic.id]: E }
9185
- };
9186
- }
9034
+ regElement(textareaV1);
9187
9035
  var settings$2 = {
9188
9036
  key: "settings",
9189
9037
  name: "x-runtime-lib.settings",
@@ -9212,11 +9060,25 @@ var settings$2 = {
9212
9060
  ui: "strInput",
9213
9061
  default: ""
9214
9062
  },
9063
+ {
9064
+ key: "variant",
9065
+ name: "x-runtime-lib.variant",
9066
+ ui: "select",
9067
+ items: "fieldVariantItemsV1",
9068
+ default: "filled"
9069
+ },
9070
+ {
9071
+ key: "density",
9072
+ name: "x-runtime-lib.density",
9073
+ ui: "select",
9074
+ items: "densityItemsV1",
9075
+ default: "default"
9076
+ },
9215
9077
  {
9216
9078
  key: "label",
9217
9079
  name: "x-runtime-lib.label",
9218
9080
  ui: "strInput",
9219
- default: ""
9081
+ default: "label"
9220
9082
  },
9221
9083
  {
9222
9084
  key: "placeholder",
@@ -9225,8 +9087,20 @@ var settings$2 = {
9225
9087
  default: ""
9226
9088
  },
9227
9089
  {
9228
- key: "reverse",
9229
- name: "x-runtime-lib.reverse",
9090
+ key: "hideDetails",
9091
+ name: "x-runtime-lib.hideDetails",
9092
+ ui: "switch",
9093
+ default: !1
9094
+ },
9095
+ {
9096
+ key: "singleLine",
9097
+ name: "x-runtime-lib.singleLine",
9098
+ ui: "switch",
9099
+ default: !1
9100
+ },
9101
+ {
9102
+ key: "autofocus",
9103
+ name: "x-runtime-lib.autofocus",
9230
9104
  ui: "switch",
9231
9105
  default: !1
9232
9106
  },
@@ -9237,50 +9111,184 @@ var settings$2 = {
9237
9111
  default: !1
9238
9112
  },
9239
9113
  {
9240
- key: "rows",
9241
- name: "x-runtime-lib.rows",
9242
- ui: "numInput",
9243
- default: 5
9114
+ key: "prefix",
9115
+ name: "x-runtime-lib.prefix",
9116
+ ui: "strInput",
9117
+ default: ""
9244
9118
  },
9245
9119
  {
9246
- key: "autoGrow",
9247
- name: "x-runtime-lib.autoGrow",
9120
+ key: "suffix",
9121
+ name: "x-runtime-lib.suffix",
9122
+ ui: "strInput",
9123
+ default: ""
9124
+ },
9125
+ {
9126
+ key: "reverse",
9127
+ name: "x-runtime-lib.reverse",
9248
9128
  ui: "switch",
9249
9129
  default: !1
9250
9130
  },
9251
9131
  {
9252
- key: "maxRows",
9253
- name: "x-runtime-lib.maxRows",
9254
- ui: "numInput",
9255
- default: 0
9132
+ key: "appendIcon",
9133
+ name: "x-runtime-lib.appendIcon",
9134
+ ui: "strInput",
9135
+ default: ""
9136
+ },
9137
+ {
9138
+ key: "appendInnerIcon",
9139
+ name: "x-runtime-lib.appendInnerIcon",
9140
+ ui: "strInput",
9141
+ default: ""
9142
+ },
9143
+ {
9144
+ key: "prependIcon",
9145
+ name: "x-runtime-lib.prependIcon",
9146
+ ui: "strInput",
9147
+ default: ""
9148
+ },
9149
+ {
9150
+ key: "prependInnerIcon",
9151
+ name: "x-runtime-lib.prependInnerIcon",
9152
+ ui: "strInput",
9153
+ default: ""
9154
+ }
9155
+ ]
9156
+ }, slots = {
9157
+ key: "slots",
9158
+ name: "x-runtime-lib.slots",
9159
+ children: [
9160
+ {
9161
+ key: "append",
9162
+ name: "x-runtime-lib.append",
9163
+ ui: "selectComp",
9164
+ default: void 0
9165
+ },
9166
+ {
9167
+ key: "appendInner",
9168
+ name: "x-runtime-lib.appendInner",
9169
+ ui: "selectComp",
9170
+ default: void 0
9171
+ },
9172
+ {
9173
+ key: "prepend",
9174
+ name: "x-runtime-lib.prepend",
9175
+ ui: "selectComp",
9176
+ default: void 0
9177
+ },
9178
+ {
9179
+ key: "prependInner",
9180
+ name: "x-runtime-lib.prependInner",
9181
+ ui: "selectComp",
9182
+ default: void 0
9256
9183
  }
9257
9184
  ]
9258
9185
  };
9259
- const textareaV1 = {
9260
- key: "ui_textarea_v1",
9261
- name: "x-runtime-lib.textarea",
9186
+ const textFieldV1 = {
9187
+ key: "ui_text_field_v1",
9188
+ name: "x-runtime-lib.textField",
9262
9189
  comp: v1_default$4,
9263
9190
  properties: {
9264
- pageUi: [basicV1, settings$2],
9265
- compUi: [basicV1, settings$2]
9191
+ pageUi: [
9192
+ basicV1,
9193
+ settings$2,
9194
+ slots
9195
+ ],
9196
+ compUi: [
9197
+ basicV1,
9198
+ settings$2,
9199
+ slots
9200
+ ]
9266
9201
  },
9267
- leaf: !0,
9268
- spawn: spawn$2
9269
- };
9270
- regElement(textareaV1);
9271
- const timelineItemV1 = {
9272
- key: "ui_timeline_item_v1",
9273
- name: "x-runtime-lib.timelineItem",
9274
- comp: v1_default$3,
9275
- properties: {
9276
- pageUi: [basicV1],
9277
- compUi: [basicV1]
9278
- }
9202
+ events: [],
9203
+ methods: [],
9204
+ slots: [
9205
+ {
9206
+ key: "append",
9207
+ name: "x-runtime-lib.append",
9208
+ methods: [
9209
+ {
9210
+ key: "reset",
9211
+ name: "x-runtime-lib.reset"
9212
+ },
9213
+ {
9214
+ key: "resetValidation",
9215
+ name: "x-runtime-lib.resetValidation"
9216
+ },
9217
+ {
9218
+ key: "validate",
9219
+ name: "x-runtime-lib.validate"
9220
+ }
9221
+ ]
9222
+ },
9223
+ {
9224
+ key: "appendInner",
9225
+ name: "x-runtime-lib.appendInner",
9226
+ properties: [{
9227
+ key: "isActive",
9228
+ name: "x-runtime-lib.isActive",
9229
+ type: "boolean",
9230
+ readonly: !0
9231
+ }, {
9232
+ key: "isFocused",
9233
+ name: "x-runtime-lib.isFocused",
9234
+ type: "boolean",
9235
+ readonly: !0
9236
+ }],
9237
+ methods: [{
9238
+ key: "focus",
9239
+ name: "x-runtime-lib.focus"
9240
+ }, {
9241
+ key: "blur",
9242
+ name: "x-runtime-lib.blur"
9243
+ }]
9244
+ },
9245
+ {
9246
+ key: "prepend",
9247
+ name: "x-runtime-lib.prepend",
9248
+ methods: [
9249
+ {
9250
+ key: "reset",
9251
+ name: "x-runtime-lib.reset"
9252
+ },
9253
+ {
9254
+ key: "resetValidation",
9255
+ name: "x-runtime-lib.resetValidation"
9256
+ },
9257
+ {
9258
+ key: "validate",
9259
+ name: "x-runtime-lib.validate"
9260
+ }
9261
+ ]
9262
+ },
9263
+ {
9264
+ key: "prependInner",
9265
+ name: "x-runtime-lib.prependInner",
9266
+ properties: [{
9267
+ key: "isActive",
9268
+ name: "x-runtime-lib.isActive",
9269
+ type: "boolean",
9270
+ readonly: !0
9271
+ }, {
9272
+ key: "isFocused",
9273
+ name: "x-runtime-lib.isFocused",
9274
+ type: "boolean",
9275
+ readonly: !0
9276
+ }],
9277
+ methods: [{
9278
+ key: "focus",
9279
+ name: "x-runtime-lib.focus"
9280
+ }, {
9281
+ key: "blur",
9282
+ name: "x-runtime-lib.blur"
9283
+ }]
9284
+ }
9285
+ ],
9286
+ leaf: !0
9279
9287
  };
9280
- regElement(timelineItemV1);
9288
+ regElement(textFieldV1);
9281
9289
  function spawn$1(e, C) {
9282
- let w = getTag(e, C), T = timelineV1.properties[w], E = initNode();
9283
- initProperties(E, T), E.basic.id = genId(16), E.basic.key = timelineV1.key;
9290
+ let w = getElementMust("ui_timeline_v1"), T = getProperties(w, e, C), E = initNode();
9291
+ initProperties(E, T), E.basic.id = genId(16), E.basic.key = w.key;
9284
9292
  let D = spawnEntry$1(e, C, "timeline 1"), O = spawnEntry$1(e, C, "timeline 2"), k = spawnEntry$1(e, C, "timeline 3");
9285
9293
  return {
9286
9294
  nodeLite: toNodeLite(E, [
@@ -9297,8 +9305,8 @@ function spawn$1(e, C) {
9297
9305
  };
9298
9306
  }
9299
9307
  function spawnEntry$1(e, C, w) {
9300
- let T = getTag(e, C), E = timelineItemV1.properties[T], D = initNode();
9301
- initProperties(D, E), D.basic.id = genId(16), D.basic.key = timelineItemV1.key;
9308
+ let T = getElementMust("ui_timeline_item_v1"), E = getProperties(T, e, C), D = initNode();
9309
+ initProperties(D, E), D.basic.id = genId(16), D.basic.key = T.key;
9302
9310
  let O = spawnText$1(e, C, w);
9303
9311
  return {
9304
9312
  nodeLite: toNodeLite(D, [O.nodeLite]),
@@ -9309,8 +9317,8 @@ function spawnEntry$1(e, C, w) {
9309
9317
  };
9310
9318
  }
9311
9319
  function spawnText$1(e, C, w) {
9312
- let T = getTag(e, C), E = textV1.properties[T], D = initNode();
9313
- return initProperties(D, E), D.basic.id = genId(16), D.basic.key = textV1.key, D.settings.text = w, {
9320
+ let T = getElementMust("ui_text_v1"), E = getProperties(T, e, C), D = initNode();
9321
+ return initProperties(D, E), D.basic.id = genId(16), D.basic.key = T.key, D.settings.text = w, {
9314
9322
  nodeLite: toNodeLite(D),
9315
9323
  nodes: { [D.basic.id]: D }
9316
9324
  };
@@ -9394,7 +9402,7 @@ var dotColor = cloneDeep_default(colorV1), lineColor = cloneDeep_default(colorV1
9394
9402
  const timelineV1 = {
9395
9403
  key: "ui_timeline_v1",
9396
9404
  name: "x-runtime-lib.timeline",
9397
- comp: v1_default$2,
9405
+ comp: v1_default$3,
9398
9406
  properties: {
9399
9407
  pageUi: [basicV1, settings$1],
9400
9408
  compUi: [basicV1, settings$1]
@@ -9402,19 +9410,19 @@ const timelineV1 = {
9402
9410
  spawn: spawn$1
9403
9411
  };
9404
9412
  regElement(timelineV1);
9405
- const windowItemV1 = {
9406
- key: "ui_window_item_v1",
9407
- name: "x-runtime-lib.windowItem",
9408
- comp: v1_default$1,
9413
+ const timelineItemV1 = {
9414
+ key: "ui_timeline_item_v1",
9415
+ name: "x-runtime-lib.timelineItem",
9416
+ comp: v1_default$2,
9409
9417
  properties: {
9410
9418
  pageUi: [basicV1],
9411
9419
  compUi: [basicV1]
9412
9420
  }
9413
9421
  };
9414
- regElement(windowItemV1);
9422
+ regElement(timelineItemV1);
9415
9423
  function spawn(e, C) {
9416
- let w = getTag(e, C), T = windowV1.properties[w], E = initNode();
9417
- initProperties(E, T), E.basic.id = genId(16), E.basic.key = windowV1.key;
9424
+ let w = getElementMust("ui_window_v1"), T = getProperties(w, e, C), E = initNode();
9425
+ initProperties(E, T), E.basic.id = genId(16), E.basic.key = w.key;
9418
9426
  let D = spawnEntry(e, C, "window 1"), O = spawnEntry(e, C, "window 2"), k = spawnEntry(e, C, "window 3");
9419
9427
  return {
9420
9428
  nodeLite: toNodeLite(E, [
@@ -9431,8 +9439,8 @@ function spawn(e, C) {
9431
9439
  };
9432
9440
  }
9433
9441
  function spawnEntry(e, C, w) {
9434
- let T = getTag(e, C), E = windowItemV1.properties[T], D = initNode();
9435
- initProperties(D, E), D.basic.id = genId(16), D.basic.key = windowItemV1.key;
9442
+ let T = getElementMust("ui_window_item_v1"), E = getProperties(T, e, C), D = initNode();
9443
+ initProperties(D, E), D.basic.id = genId(16), D.basic.key = T.key;
9436
9444
  let O = spawnFlexLayout(e, C, w);
9437
9445
  return {
9438
9446
  nodeLite: toNodeLite(D, [O.nodeLite]),
@@ -9443,8 +9451,8 @@ function spawnEntry(e, C, w) {
9443
9451
  };
9444
9452
  }
9445
9453
  function spawnFlexLayout(e, C, w) {
9446
- let T = getTag(e, C), E = flexLayoutV1.properties[T], D = initNode();
9447
- initProperties(D, E), D.basic.id = genId(16), D.basic.key = flexLayoutV1.key, D.size.height = "200px", D.settings.mainAlign.xs = "center", D.settings.crossAlign.xs = "center", D.settings.backgroundColor.mode = "theme", D.settings.backgroundColor.theme = "background2";
9454
+ let T = getElementMust("ui_flex_layout_v1"), E = getProperties(T, e, C), D = initNode();
9455
+ initProperties(D, E), D.basic.id = genId(16), D.basic.key = T.key, D.size.height = "200px", D.settings.mainAlign.xs = "center", D.settings.crossAlign.xs = "center", D.settings.backgroundColor.mode = "theme", D.settings.backgroundColor.theme = "background2";
9448
9456
  let O = spawnText(e, C, w);
9449
9457
  return {
9450
9458
  nodeLite: toNodeLite(D, [O.nodeLite]),
@@ -9455,8 +9463,8 @@ function spawnFlexLayout(e, C, w) {
9455
9463
  };
9456
9464
  }
9457
9465
  function spawnText(e, C, w) {
9458
- let T = getTag(e, C), E = textV1.properties[T], D = initNode();
9459
- return initProperties(D, E), D.basic.id = genId(16), D.basic.key = textV1.key, D.settings.text = w, D.settings.style.xs = "h6", {
9466
+ let T = getElementMust("ui_text_v1"), E = getProperties(T, e, C), D = initNode();
9467
+ return initProperties(D, E), D.basic.id = genId(16), D.basic.key = T.key, D.settings.text = w, D.settings.style.xs = "h6", {
9460
9468
  nodeLite: toNodeLite(D),
9461
9469
  nodes: { [D.basic.id]: D }
9462
9470
  };
@@ -9513,7 +9521,7 @@ var settings = {
9513
9521
  const windowV1 = {
9514
9522
  key: "ui_window_v1",
9515
9523
  name: "x-runtime-lib.window",
9516
- comp: v1_default,
9524
+ comp: v1_default$1,
9517
9525
  properties: {
9518
9526
  pageUi: [basicV1, settings],
9519
9527
  compUi: [basicV1, settings]
@@ -9521,6 +9529,16 @@ const windowV1 = {
9521
9529
  spawn
9522
9530
  };
9523
9531
  regElement(windowV1);
9532
+ const windowItemV1 = {
9533
+ key: "ui_window_item_v1",
9534
+ name: "x-runtime-lib.windowItem",
9535
+ comp: v1_default,
9536
+ properties: {
9537
+ pageUi: [basicV1],
9538
+ compUi: [basicV1]
9539
+ }
9540
+ };
9541
+ regElement(windowItemV1);
9524
9542
  function convertProperties(e) {
9525
9543
  let C = [], w = (e, T, D) => {
9526
9544
  if (T !== "" && (T += "."), T += e.key, D = cloneDeep_default(D), D.push(e.name), !e.ui && !e.array) e.children.forEach((e) => w(e, T, D));
@@ -9539,11 +9557,11 @@ function convertProperties(e) {
9539
9557
  }), C;
9540
9558
  }
9541
9559
  function buildProperties() {
9542
- let e = {};
9543
- for (let C in elements) {
9544
- let w = {}, T = elements[C];
9545
- for (let e in T.properties) w[e] = convertProperties(T.properties[e]);
9546
- e[C] = w;
9560
+ let e = {}, C = getAllElements();
9561
+ for (let w in C) {
9562
+ let T = {}, E = C[w];
9563
+ for (let e in E.properties) T[e] = convertProperties(E.properties[e]);
9564
+ e[w] = T;
9547
9565
  }
9548
9566
  return e;
9549
9567
  }
@@ -9582,7 +9600,7 @@ function spawnNode(e, C, w, T, E) {
9582
9600
  console.error(`spawnNode [ref] element not found in pkg, ${D}`);
9583
9601
  return;
9584
9602
  }
9585
- let w = elements[e];
9603
+ let w = getElement(e);
9586
9604
  if (!w) {
9587
9605
  console.error(`spawnNode [ref] element not found in global, ${D}`);
9588
9606
  return;
@@ -9603,7 +9621,7 @@ function spawnNode(e, C, w, T, E) {
9603
9621
  console.error(`spawnNode [key] element not found in pkg, ${D}`);
9604
9622
  return;
9605
9623
  }
9606
- let T = elements[w];
9624
+ let T = getElement(w);
9607
9625
  if (!T) {
9608
9626
  console.error(`spawnNode [key] element not found in global, ${D}`);
9609
9627
  return;
@@ -9867,7 +9885,7 @@ function unwrapTriggerId(e) {
9867
9885
  if (C.length < 1) throw Error("unwrap trigger id failed");
9868
9886
  let w = C[0];
9869
9887
  if (w === "property") {
9870
- if (C.length < 2) throw Error("unwrap trigger id of property failed");
9888
+ if (C.length !== 3) throw Error("unwrap trigger id of property failed");
9871
9889
  return {
9872
9890
  type: w,
9873
9891
  propertyId: C[1],
@@ -10375,7 +10393,7 @@ var PromiseManager = class {
10375
10393
  isEqual_default(w, D) || (setField(E, C, w), this.hooks.onElementPropertyChange(E.basic.id, C, w, D), await nextTick());
10376
10394
  }
10377
10395
  isValidOfElementSlotProperty(e) {
10378
- let { elementKey: C, slotKey: w, propertyKey: T } = unwrapPropertyKeyOfElementSlot(e), E = elements[C];
10396
+ let { elementKey: C, slotKey: w, propertyKey: T } = unwrapPropertyKeyOfElementSlot(e), E = getElement(C);
10379
10397
  if (!E || !E.slots) return !1;
10380
10398
  let D = E.slots.find((e) => e.key === w);
10381
10399
  return !(!D || !D.properties || !D.properties.find((e) => e.key === T));
@@ -10389,7 +10407,7 @@ var PromiseManager = class {
10389
10407
  this.eventBus.emit(`${E}/set`, C), await nextTick();
10390
10408
  }
10391
10409
  isValidOfMultipleElementSlotProperty(e) {
10392
- let { elementKey: C, slotKey: w, propertyKey: T } = unwrapPropertyKeyOfElementSlot(e), E = elements[C];
10410
+ let { elementKey: C, slotKey: w, propertyKey: T } = unwrapPropertyKeyOfElementSlot(e), E = getElement(C);
10393
10411
  if (!E || !E.slots) return !1;
10394
10412
  let D = E.slots.find((e) => e.key === w);
10395
10413
  return !(!D || !D.multiple || !D.properties || !D.properties.find((e) => e.key === T));
@@ -10509,7 +10527,8 @@ function useSandbox(e, C, w, E, D, O, k) {
10509
10527
  }
10510
10528
  await L.callFunctionAsync("__triggerEventV1__", makeEventId("elementPropertyChangeEvent", e, toDotString(C)), "", w, E ?? w), O.value?.code.reactivity && triggerReactivity(L, O.value.code.reactivity, makeTriggerId({
10511
10529
  type: "property",
10512
- propertyId: toDotString(C)
10530
+ propertyId: toDotString(C),
10531
+ spec: ""
10513
10532
  }), w, E);
10514
10533
  }
10515
10534
  }
@@ -10524,19 +10543,22 @@ function useSandbox(e, C, w, E, D, O, k) {
10524
10543
  async function W(e, C, w) {
10525
10544
  L.vm && O.value?.code.reactivity && triggerReactivity(L, O.value.code.reactivity, makeTriggerId({
10526
10545
  type: "property",
10527
- propertyId: e
10546
+ propertyId: e,
10547
+ spec: ""
10528
10548
  }), C, w);
10529
10549
  }
10530
10550
  async function G(e, C, w, T) {
10531
10551
  L.vm && O.value?.code.reactivity && triggerReactivity(L, O.value.code.reactivity, makeTriggerId({
10532
10552
  type: "property",
10533
- propertyId: C
10553
+ propertyId: C,
10554
+ spec: ""
10534
10555
  }), w, T);
10535
10556
  }
10536
10557
  async function K(e, C, w) {
10537
10558
  L.vm && (await L.callFunctionAsync("__triggerEventV1__", makeEventId("customPropertyChangeEvent", "globality", e), "", C, w ?? C), O.value?.code.reactivity && triggerReactivity(L, O.value.code.reactivity, makeTriggerId({
10538
10559
  type: "property",
10539
- propertyId: e
10560
+ propertyId: e,
10561
+ spec: ""
10540
10562
  }), C, w), await L.parent.callFunctionAsync("__triggerEventV1__", makeEventId("refPropertyChangeEvent", L.nodeId, e), "", C, w ?? C), await L.parent.callFunctionAsync("__triggerEventV1__", makeEventId("multipleRefPropertyChangeEvent", L.nodeId, e), "", C, w ?? C));
10541
10563
  }
10542
10564
  async function q(e, C, w) {
@@ -10569,4 +10591,4 @@ async function loadLocaleMessageRuntime(e) {
10569
10591
  "./locales/zhHans/index.ts": () => import("./zhHans.fnhe4fpm.js")
10570
10592
  }, `./locales/${e}/index.ts`, 4)).default;
10571
10593
  }
10572
- export { addIndent, ambientLightV1, badgeV1, barChartV1, boxGeometryV1, breakpoints, btnGroupV1, btnToggleV1, btnV1, calcBreakpoint, cardV1, checkboxV1, chipGroupV1, chipV1, colorPickerV1, comboboxV1, compTypes, containerV1, dataStringify, dataTableV1, datePickerV1, dialogV1, directionalLightV1, duplicateNodePair, duplicateNodePairs, elementKeys, elements, fileInputV1, finalProperties, flexLayoutEntryV1, flexLayoutV1, formV1, fromDotString, genId, getBreakpointProp, getField, getImplementMethodName, getIndexOfBreakpoint, getNodeLite, getPropertyDefault, getTag, globalityV1, groupV1, hasComp, hasSlot, iconV1, initNode, initProperties, injectDark, injectData, injectDepends, injectDevice, injectEnv, injectId, injectMeta, injectMode, injectNode, injectOrg, injectRuntime, injectSandbox, injectType, isCircularReference, isExecutableMode, isLeafOfPropertyKeys, isPercentStr, isPixelStr, keyboardControlsV1, lineChartV1, loadLocaleMessageRuntime, makeEventId, makeEventKeyOfCustomSlot, makeEventKeyOfElementSlot, makeMethodId, makeMethodKeyOfCustomSlot, makeMethodKeyOfElementSlot, makePropertyId, makePropertyKeyOfCustomSlot, makePropertyKeyOfElementSlot, makeSlotId, makeTriggerId, mapControlsV1, menuV1, meshBasicMaterialV1, meshV1, metaStringify, multipleRefV1, multipleSlotV1, numberInputV1, orbitControlsV1, orthographicCameraV1, pageTypes, paginationV1, parseData, parseMeta, parsePercentStr, parsePixelStr, perspectiveCameraV1, pkgs, pointLightV1, provideDark, provideData, provideDepends, provideDevice, provideEnv, provideId, provideMeta, provideMode, provideNode, provideOrg, provideRuntime, provideSandbox, provideType, radioGroupV1, radioV1, rangeSliderV1, ratingV1, referenceV1, regElement, renderSwitchV1, reverseBreakpoints, selectV1, setField, sliderV1, slotV1, spawnNode, sphereGeometryV1, spotLightV1, stepperHeaderV1, stepperItemV1, stepperV1, stepperWindowItemV1, stepperWindowV1, switchV1, tabV1, tabsV1, textFieldV1, textV1, textareaV1, timelineItemV1, timelineV1, toDotString, toEventName, toMethodName, toNodeLite, toPropertyName, triggerReactivity, unwrapEventId, unwrapEventKeyOfCustomSlot, unwrapEventKeyOfElementSlot, unwrapMethodId, unwrapMethodKeyOfCustomSlot, unwrapMethodKeyOfElementSlot, unwrapPropertyId, unwrapPropertyKeyOfCustomSlot, unwrapPropertyKeyOfElementSlot, unwrapSlotId, unwrapTriggerId, useDepend, useRuntime, useSandbox, useTheme, windowItemV1, windowV1 };
10594
+ export { addIndent, ambientLightV1, badgeV1, barChartV1, boxGeometryV1, breakpoints, btnGroupV1, btnToggleV1, btnV1, calcBreakpoint, cardV1, checkboxV1, chipGroupV1, chipV1, colorPickerV1, comboboxV1, compTypes, containerV1, dataStringify, dataTableV1, datePickerV1, dialogV1, directionalLightV1, duplicateNodePair, duplicateNodePairs, elementKeys, fileInputV1, finalProperties, flexLayoutEntryV1, flexLayoutV1, formV1, fromDotString, genId, getAllElements, getBreakpointProp, getElement, getElementMust, getField, getImplementMethodName, getIndexOfBreakpoint, getNodeLite, getProperties, getPropertyDefault, getTag, globalityV1, groupV1, hasComp, hasSlot, iconV1, initNode, initProperties, injectDark, injectData, injectDepends, injectDevice, injectEnv, injectId, injectMeta, injectMode, injectNode, injectOrg, injectRuntime, injectSandbox, injectType, isCircularReference, isExecutableMode, isLeafOfPropertyKeys, isPercentStr, isPixelStr, keyboardControlsV1, lineChartV1, loadLocaleMessageRuntime, makeEventId, makeEventKeyOfCustomSlot, makeEventKeyOfElementSlot, makeMethodId, makeMethodKeyOfCustomSlot, makeMethodKeyOfElementSlot, makePropertyId, makePropertyKeyOfCustomSlot, makePropertyKeyOfElementSlot, makeSlotId, makeTriggerId, mapControlsV1, menuV1, meshBasicMaterialV1, meshV1, metaStringify, multipleRefV1, multipleSlotV1, numberInputV1, orbitControlsV1, orthographicCameraV1, pageTypes, paginationV1, parseData, parseMeta, parsePercentStr, parsePixelStr, perspectiveCameraV1, pkgs, pointLightV1, provideDark, provideData, provideDepends, provideDevice, provideEnv, provideId, provideMeta, provideMode, provideNode, provideOrg, provideRuntime, provideSandbox, provideType, radioGroupV1, radioV1, rangeSliderV1, ratingV1, referenceV1, regElement, renderSwitchV1, reverseBreakpoints, selectV1, setField, sliderV1, slotV1, spawnNode, sphereGeometryV1, spotLightV1, stepperHeaderV1, stepperItemV1, stepperV1, stepperWindowItemV1, stepperWindowV1, switchV1, tabV1, tabsV1, textFieldV1, textV1, textareaV1, timelineItemV1, timelineV1, toDotString, toEventName, toMethodName, toNodeLite, toPropertyName, triggerReactivity, unwrapEventId, unwrapEventKeyOfCustomSlot, unwrapEventKeyOfElementSlot, unwrapMethodId, unwrapMethodKeyOfCustomSlot, unwrapMethodKeyOfElementSlot, unwrapPropertyId, unwrapPropertyKeyOfCustomSlot, unwrapPropertyKeyOfElementSlot, unwrapSlotId, unwrapTriggerId, useDepend, useRuntime, useSandbox, useTheme, windowItemV1, windowV1 };