x-runtime-lib 0.8.219 → 0.8.221

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
@@ -3347,62 +3347,62 @@ var echarts_default = core_exports, v1_default$49 = /* @__PURE__ */ defineCompon
3347
3347
  refContext: {}
3348
3348
  },
3349
3349
  setup(e) {
3350
- let u = e, { node: d } = useElementBase(u), f = injectSandbox(), { property: p } = useElementProperty(d, [
3350
+ let u = e, { node: d } = useElementBase(u), f = injectSandbox(), { theme: p } = useTheme(), { property: m } = useElementProperty(d, ["size", "width"]), { property: g } = useElementProperty(d, ["size", "minWidth"]), { property: _ } = useElementProperty(d, ["size", "maxWidth"]), { property: v } = useElementProperty(d, ["size", "height"]), { property: y } = useElementProperty(d, ["size", "minHeight"]), { property: b } = useElementProperty(d, ["size", "maxHeight"]), { property: x } = useElementProperty(d, ["common", "loading"]), { property: S } = useElementProperty(d, ["common", "disabled"]), { property: C } = useElementProperty(d, ["common", "readonly"]), { property: w } = useElementProperty(d, ["settings", "text"]), { property: T } = useElementProperty(d, ["settings", "block"]), { property: E } = useElementProperty(d, ["settings", "stacked"]), { property: D } = useElementProperty(d, [
3351
3351
  "settings",
3352
- "addIcon",
3352
+ "icon",
3353
3353
  "append"
3354
- ]), { property: m } = useElementProperty(d, ["settings", "block"]), { property: g } = useElementProperty(d, [
3354
+ ]), { property: O } = useElementProperty(d, [
3355
3355
  "settings",
3356
+ "icon",
3357
+ "prepend"
3358
+ ]), { property: k } = useElementProperty(d, ["look", "variant"]), { property: A } = useElementProperty(d, ["look", "density"]), { property: j } = useElementProperty(d, ["look", "size"]), { property: M } = useElementProperty(d, ["look", "ripple"]), { property: N } = useElementProperty(d, [
3359
+ "look",
3356
3360
  "color",
3357
3361
  "mode"
3358
- ]), { property: _ } = useElementProperty(d, [
3359
- "settings",
3362
+ ]), { property: P } = useElementProperty(d, [
3363
+ "look",
3360
3364
  "color",
3361
3365
  "theme"
3362
- ]), { property: v } = useElementProperty(d, [
3363
- "settings",
3366
+ ]), { property: I } = useElementProperty(d, [
3367
+ "look",
3364
3368
  "color",
3365
3369
  "custom",
3366
3370
  "light"
3367
- ]), { property: y } = useElementProperty(d, [
3368
- "settings",
3371
+ ]), { property: L } = useElementProperty(d, [
3372
+ "look",
3369
3373
  "color",
3370
3374
  "custom",
3371
3375
  "dark"
3372
- ]), { color: b } = useColorV1(g, _, v, y), { property: x } = useElementProperty(d, ["settings", "density"]), { property: S } = useElementProperty(d, ["settings", "disabled"]), { property: C } = useElementProperty(d, ["size", "height"]), { property: w } = useElementProperty(d, ["settings", "loading"]), { property: T } = useElementProperty(d, ["size", "maxHeight"]), { property: E } = useElementProperty(d, ["size", "maxWidth"]), { property: D } = useElementProperty(d, ["size", "minHeight"]), { property: O } = useElementProperty(d, ["size", "minWidth"]), { property: k } = useElementProperty(d, [
3373
- "settings",
3374
- "addIcon",
3375
- "prepend"
3376
- ]), { property: A } = useElementProperty(d, ["settings", "readonly"]), { property: j } = useElementProperty(d, ["settings", "ripple"]), { property: M } = useElementProperty(d, ["settings", "size"]), { property: N } = useElementProperty(d, ["settings", "stacked"]), { property: P } = useElementProperty(d, ["settings", "text"]), { theme: I } = useTheme(), { property: L } = useElementProperty(d, ["settings", "variant"]), { property: R } = useElementProperty(d, ["size", "width"]), z = async (e) => {
3376
+ ]), { color: R } = useColorV1(N, P, I, L), z = async (e) => {
3377
3377
  !f || !f.vm || (f.setGlobalVariable("__pointerPosX__", e.clientX), f.setGlobalVariable("__pointerPosY__", e.clientY), await f.triggerEvent(makeEventId("elementEvent", u.nodeId, "click"), []));
3378
3378
  };
3379
3379
  return (e, u) => {
3380
3380
  let d = resolveComponent("v-btn");
3381
3381
  return openBlock(), createBlock(unref(wrap_default), {
3382
- block: unref(m),
3382
+ block: unref(T),
3383
3383
  mask: ""
3384
3384
  }, {
3385
3385
  default: withCtx(() => [createVNode(d, {
3386
- "append-icon": unref(p),
3387
- block: unref(m),
3388
- color: unref(b),
3389
- density: unref(x),
3386
+ "append-icon": unref(D),
3387
+ block: unref(T),
3388
+ color: unref(R),
3389
+ density: unref(A),
3390
3390
  disabled: unref(S),
3391
- height: unref(C),
3392
- loading: unref(w),
3393
- "max-height": unref(T),
3394
- "max-width": unref(E),
3395
- "min-height": unref(D),
3396
- "min-width": unref(O),
3397
- "prepend-icon": unref(k),
3398
- readonly: unref(A),
3399
- ripple: unref(j),
3400
- size: unref(M),
3401
- stacked: unref(N),
3402
- text: unref(P),
3403
- theme: unref(I),
3404
- variant: unref(L),
3405
- width: unref(R),
3391
+ height: unref(v),
3392
+ loading: unref(x),
3393
+ "max-height": unref(b),
3394
+ "max-width": unref(_),
3395
+ "min-height": unref(y),
3396
+ "min-width": unref(g),
3397
+ "prepend-icon": unref(O),
3398
+ readonly: unref(C),
3399
+ ripple: unref(M),
3400
+ size: unref(j),
3401
+ stacked: unref(E),
3402
+ text: unref(w),
3403
+ theme: unref(p),
3404
+ variant: unref(k),
3405
+ width: unref(m),
3406
3406
  onClick: z
3407
3407
  }, null, 8, [
3408
3408
  "append-icon",
@@ -3887,6 +3887,26 @@ var echarts_default = core_exports, v1_default$49 = /* @__PURE__ */ defineCompon
3887
3887
  });
3888
3888
  };
3889
3889
  }
3890
+ }), content_default$1 = /* @__PURE__ */ defineComponent({
3891
+ __name: "content",
3892
+ props: /* @__PURE__ */ mergeModels({ refContext: {} }, {
3893
+ open: {
3894
+ type: Boolean,
3895
+ required: !0
3896
+ },
3897
+ openModifiers: {}
3898
+ }),
3899
+ emits: ["update:open"],
3900
+ setup(e) {
3901
+ let u = useModel(e, "open"), d = injectId(), f = injectNode(), p = ref();
3902
+ provideMeta(p);
3903
+ let m = ref();
3904
+ provideData(m), useDepend(computed(() => e.refContext.compId), p, m);
3905
+ let { sandbox: g } = useSandbox("elementSlot", f.value.basic.id, "content", "", injectSandbox(), p, m);
3906
+ useElementSlotProperty(g, f, "open", u);
3907
+ let { render: _ } = useElementSlotRender(e.refContext, d, m);
3908
+ return (e, u) => (openBlock(), createBlock(unref(_)));
3909
+ }
3890
3910
  }), _hoisted_1$1 = ["id"], v1_default$29 = /* @__PURE__ */ defineComponent({
3891
3911
  __name: "index",
3892
3912
  props: {
@@ -3895,24 +3915,34 @@ var echarts_default = core_exports, v1_default$49 = /* @__PURE__ */ defineCompon
3895
3915
  refContext: {}
3896
3916
  },
3897
3917
  setup(e) {
3898
- let u = e, d = injectMode(), { open: f } = useViewStack(`runtimeDlg/${useId()}`);
3918
+ let u = e, { node: d } = useElementBase(u);
3919
+ provideNode(d);
3920
+ let f = injectMode(), { property: p } = useElementProperty(d, ["settings", "content"]), { open: m } = useViewStack(`runtimeDialog/${useId()}`);
3899
3921
  return useElementMethod(u.nodeId, "open", () => {
3900
- f.value = !0;
3922
+ m.value = !0;
3901
3923
  }), useElementMethod(u.nodeId, "close", () => {
3902
- f.value = !1;
3903
- }), (e, p) => {
3904
- let m = resolveComponent("v-dialog");
3905
- return openBlock(), createBlock(m, {
3906
- modelValue: unref(f),
3907
- "onUpdate:modelValue": p[0] ||= (e) => isRef(f) ? f.value = e : null,
3924
+ m.value = !1;
3925
+ }), (e, d) => {
3926
+ let g = resolveComponent("v-dialog");
3927
+ return openBlock(), createBlock(g, {
3928
+ modelValue: unref(m),
3929
+ "onUpdate:modelValue": d[1] ||= (e) => isRef(m) ? m.value = e : null,
3908
3930
  attach: "#dialogContainer"
3909
3931
  }, {
3910
- activator: withCtx(() => [unref(d) === "editor" ? (openBlock(), createElementBlock("div", {
3932
+ activator: withCtx(() => [unref(f) === "editor" ? (openBlock(), createElementBlock("div", {
3911
3933
  key: 0,
3912
3934
  id: `__node__@${u.nodeId}`
3913
3935
  }, null, 8, _hoisted_1$1)) : createCommentVNode("", !0)]),
3914
- default: withCtx(() => [renderSlot(e.$slots, "default")]),
3915
- _: 3
3936
+ default: withCtx(() => [unref(p) ? (openBlock(), createBlock(content_default$1, {
3937
+ key: 0,
3938
+ open: unref(m),
3939
+ "onUpdate:open": d[0] ||= (e) => isRef(m) ? m.value = e : null,
3940
+ "ref-context": {
3941
+ parent: u.refContext,
3942
+ compId: unref(p)
3943
+ }
3944
+ }, null, 8, ["open", "ref-context"])) : createCommentVNode("", !0)]),
3945
+ _: 1
3916
3946
  }, 8, ["modelValue"]);
3917
3947
  };
3918
3948
  }
@@ -4186,6 +4216,26 @@ var echarts_default = core_exports, v1_default$49 = /* @__PURE__ */ defineCompon
4186
4216
  ]);
4187
4217
  };
4188
4218
  }
4219
+ }), content_default = /* @__PURE__ */ defineComponent({
4220
+ __name: "content",
4221
+ props: /* @__PURE__ */ mergeModels({ refContext: {} }, {
4222
+ open: {
4223
+ type: Boolean,
4224
+ required: !0
4225
+ },
4226
+ openModifiers: {}
4227
+ }),
4228
+ emits: ["update:open"],
4229
+ setup(e) {
4230
+ let u = useModel(e, "open"), d = injectId(), f = injectNode(), p = ref();
4231
+ provideMeta(p);
4232
+ let m = ref();
4233
+ provideData(m), useDepend(computed(() => e.refContext.compId), p, m);
4234
+ let { sandbox: g } = useSandbox("elementSlot", f.value.basic.id, "content", "", injectSandbox(), p, m);
4235
+ useElementSlotProperty(g, f, "open", u);
4236
+ let { render: _ } = useElementSlotRender(e.refContext, d, m);
4237
+ return (e, u) => (openBlock(), createBlock(unref(_)));
4238
+ }
4189
4239
  }), _hoisted_1 = ["id"], v1_default$23 = /* @__PURE__ */ defineComponent({
4190
4240
  __name: "index",
4191
4241
  props: {
@@ -4194,29 +4244,39 @@ var echarts_default = core_exports, v1_default$49 = /* @__PURE__ */ defineCompon
4194
4244
  refContext: {}
4195
4245
  },
4196
4246
  setup(e) {
4197
- let u = e, d = injectMode(), f = injectSandbox(), p = ref(0), m = ref(0), g = computed(() => [p.value, m.value]), { open: _ } = useViewStack(`runtimeMenu/${useId()}`);
4247
+ let u = e, { node: d } = useElementBase(u);
4248
+ provideNode(d);
4249
+ let f = injectMode(), p = injectSandbox(), { property: m } = useElementProperty(d, ["settings", "content"]), g = ref(0), _ = ref(0), v = computed(() => [g.value, _.value]), { open: y } = useViewStack(`runtimeMenu/${useId()}`);
4198
4250
  return useElementMethod(u.nodeId, "open", () => {
4199
- if (!f || !f.vm) return;
4200
- let { vm: e } = f, u = e.getProp(e.global, "__pointerPosX__"), d = e.getProp(e.global, "__pointerPosY__");
4201
- p.value = e.getNumber(u), m.value = e.getNumber(d), u.dispose(), d.dispose(), _.value = !0;
4251
+ if (!p || !p.vm) return;
4252
+ let { vm: e } = p, u = e.getProp(e.global, "__pointerPosX__"), d = e.getProp(e.global, "__pointerPosY__");
4253
+ g.value = e.getNumber(u), _.value = e.getNumber(d), u.dispose(), d.dispose(), y.value = !0;
4202
4254
  }), useElementMethod(u.nodeId, "close", () => {
4203
- f && (_.value = !1);
4204
- }), (e, f) => {
4255
+ p && (y.value = !1);
4256
+ }), (e, d) => {
4205
4257
  let p = resolveComponent("v-menu");
4206
4258
  return openBlock(), createBlock(p, {
4207
- modelValue: unref(_),
4208
- "onUpdate:modelValue": f[0] ||= (e) => isRef(_) ? _.value = e : null,
4209
- attach: "menuContainer",
4259
+ modelValue: unref(y),
4260
+ "onUpdate:modelValue": d[1] ||= (e) => isRef(y) ? y.value = e : null,
4261
+ attach: "#menuContainer",
4210
4262
  "location-strategy": "connected",
4211
4263
  scrim: "transparent",
4212
- target: g.value
4264
+ target: v.value
4213
4265
  }, {
4214
- activator: withCtx(() => [unref(d) === "editor" ? (openBlock(), createElementBlock("div", {
4266
+ activator: withCtx(() => [unref(f) === "editor" ? (openBlock(), createElementBlock("div", {
4215
4267
  key: 0,
4216
4268
  id: `__node__@${u.nodeId}`
4217
4269
  }, null, 8, _hoisted_1)) : createCommentVNode("", !0)]),
4218
- default: withCtx(() => [renderSlot(e.$slots, "default")]),
4219
- _: 3
4270
+ default: withCtx(() => [unref(m) ? (openBlock(), createBlock(content_default, {
4271
+ key: 0,
4272
+ open: unref(y),
4273
+ "onUpdate:open": d[0] ||= (e) => isRef(y) ? y.value = e : null,
4274
+ "ref-context": {
4275
+ parent: u.refContext,
4276
+ compId: unref(m)
4277
+ }
4278
+ }, null, 8, ["open", "ref-context"])) : createCommentVNode("", !0)]),
4279
+ _: 1
4220
4280
  }, 8, ["modelValue", "target"]);
4221
4281
  };
4222
4282
  }
@@ -5619,12 +5679,12 @@ const basicV1 = {
5619
5679
  key: "light",
5620
5680
  name: "x-runtime-lib.light",
5621
5681
  ui: "colorPicker",
5622
- default: void 0
5682
+ default: ""
5623
5683
  }, {
5624
5684
  key: "dark",
5625
5685
  name: "x-runtime-lib.dark",
5626
5686
  ui: "colorPicker",
5627
- default: void 0
5687
+ default: ""
5628
5688
  }]
5629
5689
  }
5630
5690
  ]
@@ -5991,7 +6051,7 @@ const basicV1 = {
5991
6051
  }
5992
6052
  ]
5993
6053
  };
5994
- var settings$47 = {
6054
+ var settings$49 = {
5995
6055
  key: "settings",
5996
6056
  name: "x-runtime-lib.settings",
5997
6057
  children: [
@@ -6047,12 +6107,12 @@ const orthographicCameraV1 = {
6047
6107
  page3d: [
6048
6108
  basicV1,
6049
6109
  transformV1,
6050
- settings$47
6110
+ settings$49
6051
6111
  ],
6052
6112
  comp3d: [
6053
6113
  basicV1,
6054
6114
  transformV1,
6055
- settings$47
6115
+ settings$49
6056
6116
  ]
6057
6117
  },
6058
6118
  events: [],
@@ -6060,7 +6120,7 @@ const orthographicCameraV1 = {
6060
6120
  slots: []
6061
6121
  };
6062
6122
  regElement(orthographicCameraV1);
6063
- var settings$46 = {
6123
+ var settings$48 = {
6064
6124
  key: "settings",
6065
6125
  name: "x-runtime-lib.settings",
6066
6126
  children: [
@@ -6102,12 +6162,12 @@ const perspectiveCameraV1 = {
6102
6162
  page3d: [
6103
6163
  basicV1,
6104
6164
  transformV1,
6105
- settings$46
6165
+ settings$48
6106
6166
  ],
6107
6167
  comp3d: [
6108
6168
  basicV1,
6109
6169
  transformV1,
6110
- settings$46
6170
+ settings$48
6111
6171
  ]
6112
6172
  },
6113
6173
  events: [],
@@ -6207,7 +6267,7 @@ function spawnMeshBasicMaterial$1(e, u) {
6207
6267
  nodes: { [d.basic.id]: d }
6208
6268
  };
6209
6269
  }
6210
- var settings$45 = {
6270
+ var settings$47 = {
6211
6271
  key: "settings",
6212
6272
  name: "x-runtime-lib.settings",
6213
6273
  children: [
@@ -6257,8 +6317,8 @@ const boxGeometryV1 = {
6257
6317
  name: "x-runtime-lib.boxGeometry",
6258
6318
  comp: v1_default$58,
6259
6319
  properties: {
6260
- page3d: [basicV1, settings$45],
6261
- comp3d: [basicV1, settings$45]
6320
+ page3d: [basicV1, settings$47],
6321
+ comp3d: [basicV1, settings$47]
6262
6322
  },
6263
6323
  events: [],
6264
6324
  methods: [],
@@ -6318,7 +6378,7 @@ function spawnMeshBasicMaterial(e, u) {
6318
6378
  nodes: { [d.basic.id]: d }
6319
6379
  };
6320
6380
  }
6321
- var settings$44 = {
6381
+ var settings$46 = {
6322
6382
  key: "settings",
6323
6383
  name: "x-runtime-lib.settings",
6324
6384
  children: [
@@ -6376,8 +6436,8 @@ const sphereGeometryV1 = {
6376
6436
  name: "x-runtime-lib.sphereGeometry",
6377
6437
  comp: v1_default$57,
6378
6438
  properties: {
6379
- page3d: [basicV1, settings$44],
6380
- comp3d: [basicV1, settings$44]
6439
+ page3d: [basicV1, settings$46],
6440
+ comp3d: [basicV1, settings$46]
6381
6441
  },
6382
6442
  events: [],
6383
6443
  methods: [],
@@ -6386,12 +6446,12 @@ const sphereGeometryV1 = {
6386
6446
  spawn: spawn$19
6387
6447
  };
6388
6448
  regElement(sphereGeometryV1);
6389
- var color$4 = cloneDeep_default(colorV1);
6390
- color$4.children[0].default = "custom", color$4.children[2].children[0].default = "0xffffff", color$4.children[2].children[1].default = "0xffffff";
6391
- var settings$43 = {
6449
+ var color$5 = cloneDeep_default(colorV1);
6450
+ color$5.children[0].default = "custom", color$5.children[2].children[0].default = "0xffffff", color$5.children[2].children[1].default = "0xffffff";
6451
+ var settings$45 = {
6392
6452
  key: "settings",
6393
6453
  name: "x-runtime-lib.settings",
6394
- children: [color$4, {
6454
+ children: [color$5, {
6395
6455
  key: "intensity",
6396
6456
  name: "x-runtime-lib.intensity",
6397
6457
  ui: "numInput",
@@ -6407,12 +6467,12 @@ const ambientLightV1 = {
6407
6467
  page3d: [
6408
6468
  basicV1,
6409
6469
  transformV1,
6410
- settings$43
6470
+ settings$45
6411
6471
  ],
6412
6472
  comp3d: [
6413
6473
  basicV1,
6414
6474
  transformV1,
6415
- settings$43
6475
+ settings$45
6416
6476
  ]
6417
6477
  },
6418
6478
  events: [],
@@ -6420,12 +6480,12 @@ const ambientLightV1 = {
6420
6480
  slots: []
6421
6481
  };
6422
6482
  regElement(ambientLightV1);
6423
- var color$3 = cloneDeep_default(colorV1);
6424
- color$3.children[0].default = "custom", color$3.children[2].children[0].default = "0xffffff", color$3.children[2].children[1].default = "0xffffff";
6425
- var settings$42 = {
6483
+ var color$4 = cloneDeep_default(colorV1);
6484
+ color$4.children[0].default = "custom", color$4.children[2].children[0].default = "0xffffff", color$4.children[2].children[1].default = "0xffffff";
6485
+ var settings$44 = {
6426
6486
  key: "settings",
6427
6487
  name: "x-runtime-lib.settings",
6428
- children: [color$3, {
6488
+ children: [color$4, {
6429
6489
  key: "intensity",
6430
6490
  name: "x-runtime-lib.intensity",
6431
6491
  ui: "numInput",
@@ -6441,12 +6501,12 @@ const directionalLightV1 = {
6441
6501
  page3d: [
6442
6502
  basicV1,
6443
6503
  transformV1,
6444
- settings$42
6504
+ settings$44
6445
6505
  ],
6446
6506
  comp3d: [
6447
6507
  basicV1,
6448
6508
  transformV1,
6449
- settings$42
6509
+ settings$44
6450
6510
  ]
6451
6511
  },
6452
6512
  events: [],
@@ -6454,13 +6514,13 @@ const directionalLightV1 = {
6454
6514
  slots: []
6455
6515
  };
6456
6516
  regElement(directionalLightV1);
6457
- var color$2 = cloneDeep_default(colorV1);
6458
- color$2.children[0].default = "custom", color$2.children[2].children[0].default = "0xffffff", color$2.children[2].children[1].default = "0xffffff";
6459
- var settings$41 = {
6517
+ var color$3 = cloneDeep_default(colorV1);
6518
+ color$3.children[0].default = "custom", color$3.children[2].children[0].default = "0xffffff", color$3.children[2].children[1].default = "0xffffff";
6519
+ var settings$43 = {
6460
6520
  key: "settings",
6461
6521
  name: "x-runtime-lib.settings",
6462
6522
  children: [
6463
- color$2,
6523
+ color$3,
6464
6524
  {
6465
6525
  key: "intensity",
6466
6526
  name: "x-runtime-lib.intensity",
@@ -6492,12 +6552,12 @@ const pointLightV1 = {
6492
6552
  page3d: [
6493
6553
  basicV1,
6494
6554
  transformV1,
6495
- settings$41
6555
+ settings$43
6496
6556
  ],
6497
6557
  comp3d: [
6498
6558
  basicV1,
6499
6559
  transformV1,
6500
- settings$41
6560
+ settings$43
6501
6561
  ]
6502
6562
  },
6503
6563
  events: [],
@@ -6505,13 +6565,13 @@ const pointLightV1 = {
6505
6565
  slots: []
6506
6566
  };
6507
6567
  regElement(pointLightV1);
6508
- var color$1 = cloneDeep_default(colorV1);
6509
- color$1.children[0].default = "custom", color$1.children[2].children[0].default = "0xffffff", color$1.children[2].children[1].default = "0xffffff";
6510
- var settings$40 = {
6568
+ var color$2 = cloneDeep_default(colorV1);
6569
+ color$2.children[0].default = "custom", color$2.children[2].children[0].default = "0xffffff", color$2.children[2].children[1].default = "0xffffff";
6570
+ var settings$42 = {
6511
6571
  key: "settings",
6512
6572
  name: "x-runtime-lib.settings",
6513
6573
  children: [
6514
- color$1,
6574
+ color$2,
6515
6575
  {
6516
6576
  key: "intensity",
6517
6577
  name: "x-runtime-lib.intensity",
@@ -6560,12 +6620,12 @@ const spotLightV1 = {
6560
6620
  page3d: [
6561
6621
  basicV1,
6562
6622
  transformV1,
6563
- settings$40
6623
+ settings$42
6564
6624
  ],
6565
6625
  comp3d: [
6566
6626
  basicV1,
6567
6627
  transformV1,
6568
- settings$40
6628
+ settings$42
6569
6629
  ]
6570
6630
  },
6571
6631
  events: [],
@@ -6759,14 +6819,14 @@ const lineChartV1 = {
6759
6819
  spawn: spawn$17
6760
6820
  };
6761
6821
  regElement(lineChartV1);
6762
- var settings$39 = {
6822
+ var settings$41 = {
6763
6823
  key: "settings",
6764
6824
  name: "x-runtime-lib.settings",
6765
6825
  children: [{
6766
6826
  key: "comp",
6767
6827
  name: "x-runtime-lib.comp",
6768
6828
  ui: "selectComp",
6769
- default: void 0
6829
+ default: ""
6770
6830
  }]
6771
6831
  }, instances$1 = {
6772
6832
  key: "instances",
@@ -6784,44 +6844,44 @@ const multipleRefV1 = {
6784
6844
  pageUi: [
6785
6845
  basicV1,
6786
6846
  sizeV1,
6787
- settings$39,
6847
+ settings$41,
6788
6848
  instances$1
6789
6849
  ],
6790
6850
  compUi: [
6791
6851
  basicV1,
6792
6852
  sizeV1,
6793
- settings$39,
6853
+ settings$41,
6794
6854
  instances$1
6795
6855
  ],
6796
6856
  page3d: [
6797
6857
  basicV1,
6798
6858
  transformV1,
6799
- settings$39,
6859
+ settings$41,
6800
6860
  instances$1
6801
6861
  ],
6802
6862
  comp3d: [
6803
6863
  basicV1,
6804
6864
  transformV1,
6805
- settings$39,
6865
+ settings$41,
6806
6866
  instances$1
6807
6867
  ]
6808
6868
  },
6809
6869
  leaf: !0
6810
6870
  };
6811
6871
  regElement(multipleRefV1);
6812
- var settings$38 = {
6872
+ var settings$40 = {
6813
6873
  key: "settings",
6814
6874
  name: "x-runtime-lib.settings",
6815
6875
  children: [{
6816
6876
  key: "slot",
6817
6877
  name: "x-runtime-lib.slot",
6818
6878
  ui: "selectSlot",
6819
- default: void 0
6879
+ default: ""
6820
6880
  }, {
6821
6881
  key: "comp",
6822
6882
  name: "x-runtime-lib.comp",
6823
6883
  ui: "selectComp",
6824
- default: void 0
6884
+ default: ""
6825
6885
  }]
6826
6886
  }, instances = {
6827
6887
  key: "instances",
@@ -6839,39 +6899,39 @@ const multipleSlotV1 = {
6839
6899
  pageUi: [
6840
6900
  basicV1,
6841
6901
  sizeV1,
6842
- settings$38,
6902
+ settings$40,
6843
6903
  instances
6844
6904
  ],
6845
6905
  compUi: [
6846
6906
  basicV1,
6847
6907
  sizeV1,
6848
- settings$38,
6908
+ settings$40,
6849
6909
  instances
6850
6910
  ],
6851
6911
  page3d: [
6852
6912
  basicV1,
6853
6913
  transformV1,
6854
- settings$38,
6914
+ settings$40,
6855
6915
  instances
6856
6916
  ],
6857
6917
  comp3d: [
6858
6918
  basicV1,
6859
6919
  transformV1,
6860
- settings$38,
6920
+ settings$40,
6861
6921
  instances
6862
6922
  ]
6863
6923
  },
6864
6924
  leaf: !0
6865
6925
  };
6866
6926
  regElement(multipleSlotV1);
6867
- var settings$37 = {
6927
+ var settings$39 = {
6868
6928
  key: "settings",
6869
6929
  name: "x-runtime-lib.settings",
6870
6930
  children: [{
6871
6931
  key: "comp",
6872
6932
  name: "x-runtime-lib.comp",
6873
6933
  ui: "selectComp",
6874
- default: void 0
6934
+ default: ""
6875
6935
  }]
6876
6936
  };
6877
6937
  const referenceV1 = {
@@ -6882,28 +6942,28 @@ const referenceV1 = {
6882
6942
  pageUi: [
6883
6943
  basicV1,
6884
6944
  sizeV1,
6885
- settings$37
6945
+ settings$39
6886
6946
  ],
6887
6947
  compUi: [
6888
6948
  basicV1,
6889
6949
  sizeV1,
6890
- settings$37
6950
+ settings$39
6891
6951
  ],
6892
6952
  page3d: [
6893
6953
  basicV1,
6894
6954
  transformV1,
6895
- settings$37
6955
+ settings$39
6896
6956
  ],
6897
6957
  comp3d: [
6898
6958
  basicV1,
6899
6959
  transformV1,
6900
- settings$37
6960
+ settings$39
6901
6961
  ]
6902
6962
  },
6903
6963
  leaf: !0
6904
6964
  };
6905
6965
  regElement(referenceV1);
6906
- var settings$36 = {
6966
+ var settings$38 = {
6907
6967
  key: "settings",
6908
6968
  name: "x-runtime-lib.settings",
6909
6969
  children: [{
@@ -6918,24 +6978,24 @@ const renderSwitchV1 = {
6918
6978
  name: "x-runtime-lib.renderSwitch",
6919
6979
  comp: v1_default$44,
6920
6980
  properties: {
6921
- pageUi: [basicV1, settings$36],
6922
- compUi: [basicV1, settings$36]
6981
+ pageUi: [basicV1, settings$38],
6982
+ compUi: [basicV1, settings$38]
6923
6983
  }
6924
6984
  };
6925
6985
  regElement(renderSwitchV1);
6926
- var settings$35 = {
6986
+ var settings$37 = {
6927
6987
  key: "settings",
6928
6988
  name: "x-runtime-lib.settings",
6929
6989
  children: [{
6930
6990
  key: "slot",
6931
6991
  name: "x-runtime-lib.slot",
6932
6992
  ui: "selectSlot",
6933
- default: void 0
6993
+ default: ""
6934
6994
  }, {
6935
6995
  key: "comp",
6936
6996
  name: "x-runtime-lib.comp",
6937
6997
  ui: "selectComp",
6938
- default: void 0
6998
+ default: ""
6939
6999
  }]
6940
7000
  };
6941
7001
  const slotV1 = {
@@ -6946,22 +7006,22 @@ const slotV1 = {
6946
7006
  pageUi: [
6947
7007
  basicV1,
6948
7008
  sizeV1,
6949
- settings$35
7009
+ settings$37
6950
7010
  ],
6951
7011
  compUi: [
6952
7012
  basicV1,
6953
7013
  sizeV1,
6954
- settings$35
7014
+ settings$37
6955
7015
  ],
6956
7016
  page3d: [
6957
7017
  basicV1,
6958
7018
  transformV1,
6959
- settings$35
7019
+ settings$37
6960
7020
  ],
6961
7021
  comp3d: [
6962
7022
  basicV1,
6963
7023
  transformV1,
6964
- settings$35
7024
+ settings$37
6965
7025
  ]
6966
7026
  },
6967
7027
  leaf: !0
@@ -6973,7 +7033,7 @@ var adaptSLot = {
6973
7033
  key: "adaptSlot",
6974
7034
  name: "x-runtime-lib.adaptSlot",
6975
7035
  ui: "selectAdaptSlot",
6976
- default: void 0
7036
+ default: ""
6977
7037
  };
6978
7038
  const globalityV1 = {
6979
7039
  key: "globality_v1",
@@ -7051,7 +7111,7 @@ function spawnButton(e, u) {
7051
7111
  nodes: { [d.basic.id]: d }
7052
7112
  };
7053
7113
  }
7054
- var settings$34 = {
7114
+ var settings$36 = {
7055
7115
  key: "settings",
7056
7116
  name: "x-runtime-lib.settings",
7057
7117
  children: [
@@ -7107,8 +7167,8 @@ const badgeV1 = {
7107
7167
  name: "x-runtime-lib.badge",
7108
7168
  comp: v1_default$42,
7109
7169
  properties: {
7110
- pageUi: [basicV1, settings$34],
7111
- compUi: [basicV1, settings$34]
7170
+ pageUi: [basicV1, settings$36],
7171
+ compUi: [basicV1, settings$36]
7112
7172
  },
7113
7173
  spawn: spawn$16
7114
7174
  };
@@ -7120,10 +7180,16 @@ function spawn$15(e, u) {
7120
7180
  nodes: { [d.basic.id]: d }
7121
7181
  };
7122
7182
  }
7123
- var settings$33 = {
7124
- key: "settings",
7125
- name: "x-runtime-lib.settings",
7183
+ var color$1 = cloneDeep_default(colorV1), common = {
7184
+ key: "common",
7185
+ name: "x-runtime-lib.common",
7126
7186
  children: [
7187
+ {
7188
+ key: "loading",
7189
+ name: "x-runtime-lib.loading",
7190
+ ui: "switch",
7191
+ default: !1
7192
+ },
7127
7193
  {
7128
7194
  key: "disabled",
7129
7195
  name: "x-runtime-lib.disabled",
@@ -7135,19 +7201,50 @@ var settings$33 = {
7135
7201
  name: "x-runtime-lib.readonly",
7136
7202
  ui: "switch",
7137
7203
  default: !1
7204
+ }
7205
+ ]
7206
+ }, settings$35 = {
7207
+ key: "settings",
7208
+ name: "x-runtime-lib.settings",
7209
+ children: [
7210
+ {
7211
+ key: "text",
7212
+ name: "x-runtime-lib.text",
7213
+ ui: "strInput",
7214
+ default: ""
7138
7215
  },
7139
7216
  {
7140
- key: "loading",
7141
- name: "x-runtime-lib.loading",
7217
+ key: "block",
7218
+ name: "x-runtime-lib.block",
7142
7219
  ui: "switch",
7143
7220
  default: !1
7144
7221
  },
7145
7222
  {
7146
- key: "text",
7147
- name: "x-runtime-lib.text",
7148
- ui: "strInput",
7149
- default: "button"
7223
+ key: "stacked",
7224
+ name: "x-runtime-lib.stacked",
7225
+ ui: "switch",
7226
+ default: !1
7150
7227
  },
7228
+ {
7229
+ key: "icon",
7230
+ name: "x-runtime-lib.icon",
7231
+ children: [{
7232
+ key: "prepend",
7233
+ name: "x-runtime-lib.prepend",
7234
+ ui: "strInput",
7235
+ default: ""
7236
+ }, {
7237
+ key: "append",
7238
+ name: "x-runtime-lib.append",
7239
+ ui: "strInput",
7240
+ default: ""
7241
+ }]
7242
+ }
7243
+ ]
7244
+ }, look = {
7245
+ key: "look",
7246
+ name: "x-runtime-lib.look",
7247
+ children: [
7151
7248
  {
7152
7249
  key: "variant",
7153
7250
  name: "x-runtime-lib.variant",
@@ -7169,40 +7266,13 @@ var settings$33 = {
7169
7266
  items: "sizeItemsV1",
7170
7267
  default: "default"
7171
7268
  },
7172
- {
7173
- key: "addIcon",
7174
- name: "x-runtime-lib.addIcon",
7175
- children: [{
7176
- key: "append",
7177
- name: "x-runtime-lib.append",
7178
- ui: "strInput",
7179
- default: ""
7180
- }, {
7181
- key: "prepend",
7182
- name: "x-runtime-lib.prepend",
7183
- ui: "strInput",
7184
- default: ""
7185
- }]
7186
- },
7187
- {
7188
- key: "stacked",
7189
- name: "x-runtime-lib.stacked",
7190
- ui: "switch",
7191
- default: !1
7192
- },
7193
- {
7194
- key: "block",
7195
- name: "x-runtime-lib.block",
7196
- ui: "switch",
7197
- default: !1
7198
- },
7199
- cloneDeep_default(colorV1),
7200
7269
  {
7201
7270
  key: "ripple",
7202
7271
  name: "x-runtime-lib.ripple",
7203
7272
  ui: "switch",
7204
7273
  default: !0
7205
- }
7274
+ },
7275
+ color$1
7206
7276
  ]
7207
7277
  };
7208
7278
  const btnV1 = {
@@ -7213,12 +7283,16 @@ const btnV1 = {
7213
7283
  pageUi: [
7214
7284
  basicV1,
7215
7285
  sizeV1,
7216
- settings$33
7286
+ common,
7287
+ settings$35,
7288
+ look
7217
7289
  ],
7218
7290
  compUi: [
7219
7291
  basicV1,
7220
7292
  sizeV1,
7221
- settings$33
7293
+ common,
7294
+ settings$35,
7295
+ look
7222
7296
  ]
7223
7297
  },
7224
7298
  events: [{
@@ -7266,7 +7340,7 @@ function spawnIcon(e, u, d) {
7266
7340
  nodes: { [f.basic.id]: f }
7267
7341
  };
7268
7342
  }
7269
- var settings$32 = {
7343
+ var settings$34 = {
7270
7344
  key: "settings",
7271
7345
  name: "x-runtime-lib.settings",
7272
7346
  children: [
@@ -7346,13 +7420,13 @@ const btnToggleV1 = {
7346
7420
  name: "x-runtime-lib.buttonToggle",
7347
7421
  comp: v1_default$40,
7348
7422
  properties: {
7349
- pageUi: [basicV1, settings$32],
7350
- compUi: [basicV1, settings$32]
7423
+ pageUi: [basicV1, settings$34],
7424
+ compUi: [basicV1, settings$34]
7351
7425
  },
7352
7426
  spawn: spawn$14
7353
7427
  };
7354
7428
  regElement(btnToggleV1);
7355
- var settings$31 = {
7429
+ var settings$33 = {
7356
7430
  key: "settings",
7357
7431
  name: "x-runtime-lib.settings",
7358
7432
  children: [{
@@ -7367,8 +7441,8 @@ const btnToggleEntryV1 = {
7367
7441
  name: "x-runtime-lib.buttonToggleEntry",
7368
7442
  comp: v1_default$39,
7369
7443
  properties: {
7370
- pageUi: [basicV1, settings$31],
7371
- compUi: [basicV1, settings$31]
7444
+ pageUi: [basicV1, settings$33],
7445
+ compUi: [basicV1, settings$33]
7372
7446
  }
7373
7447
  };
7374
7448
  regElement(btnToggleEntryV1);
@@ -7379,7 +7453,7 @@ function spawn$13(e, u) {
7379
7453
  nodes: { [d.basic.id]: d }
7380
7454
  };
7381
7455
  }
7382
- var settings$30 = {
7456
+ var settings$32 = {
7383
7457
  key: "settings",
7384
7458
  name: "x-runtime-lib.settings",
7385
7459
  children: [
@@ -7443,18 +7517,18 @@ const cardV1 = {
7443
7517
  pageUi: [
7444
7518
  basicV1,
7445
7519
  sizeV1,
7446
- settings$30
7520
+ settings$32
7447
7521
  ],
7448
7522
  compUi: [
7449
7523
  basicV1,
7450
7524
  sizeV1,
7451
- settings$30
7525
+ settings$32
7452
7526
  ]
7453
7527
  },
7454
7528
  spawn: spawn$13
7455
7529
  };
7456
7530
  regElement(cardV1);
7457
- var settings$29 = {
7531
+ var settings$31 = {
7458
7532
  key: "settings",
7459
7533
  name: "x-runtime-lib.settings",
7460
7534
  children: [{
@@ -7474,8 +7548,8 @@ const checkboxV1 = {
7474
7548
  name: "x-runtime-lib.checkbox",
7475
7549
  comp: v1_default$37,
7476
7550
  properties: {
7477
- pageUi: [basicV1, settings$29],
7478
- compUi: [basicV1, settings$29]
7551
+ pageUi: [basicV1, settings$31],
7552
+ compUi: [basicV1, settings$31]
7479
7553
  },
7480
7554
  leaf: !0
7481
7555
  };
@@ -7487,7 +7561,7 @@ function spawn$12(e, u) {
7487
7561
  nodes: { [d.basic.id]: d }
7488
7562
  };
7489
7563
  }
7490
- var settings$28 = {
7564
+ var settings$30 = {
7491
7565
  key: "settings",
7492
7566
  name: "x-runtime-lib.settings",
7493
7567
  children: [
@@ -7568,8 +7642,8 @@ const chipV1 = {
7568
7642
  name: "x-runtime-lib.chip",
7569
7643
  comp: v1_default$36,
7570
7644
  properties: {
7571
- pageUi: [basicV1, settings$28],
7572
- compUi: [basicV1, settings$28]
7645
+ pageUi: [basicV1, settings$30],
7646
+ compUi: [basicV1, settings$30]
7573
7647
  },
7574
7648
  leaf: !0,
7575
7649
  spawn: spawn$12
@@ -7604,7 +7678,7 @@ function spawnChip(e, u, d, f) {
7604
7678
  nodes: { [p.basic.id]: p }
7605
7679
  };
7606
7680
  }
7607
- var settings$27 = {
7681
+ var settings$29 = {
7608
7682
  key: "settings",
7609
7683
  name: "x-runtime-lib.settings",
7610
7684
  children: [
@@ -7664,8 +7738,8 @@ const chipGroupV1 = {
7664
7738
  name: "x-runtime-lib.chipGroup",
7665
7739
  comp: v1_default$35,
7666
7740
  properties: {
7667
- pageUi: [basicV1, settings$27],
7668
- compUi: [basicV1, settings$27]
7741
+ pageUi: [basicV1, settings$29],
7742
+ compUi: [basicV1, settings$29]
7669
7743
  },
7670
7744
  spawn: spawn$11
7671
7745
  };
@@ -7681,7 +7755,7 @@ const colorPickerV1 = {
7681
7755
  leaf: !0
7682
7756
  };
7683
7757
  regElement(colorPickerV1);
7684
- var settings$26 = {
7758
+ var settings$28 = {
7685
7759
  key: "settings",
7686
7760
  name: "x-runtime-lib.settings",
7687
7761
  children: [
@@ -7728,15 +7802,15 @@ const comboboxV1 = {
7728
7802
  name: "x-runtime-lib.combobox",
7729
7803
  comp: v1_default$33,
7730
7804
  properties: {
7731
- pageUi: [basicV1, settings$26],
7732
- compUi: [basicV1, settings$26]
7805
+ pageUi: [basicV1, settings$28],
7806
+ compUi: [basicV1, settings$28]
7733
7807
  },
7734
7808
  leaf: !0
7735
7809
  };
7736
7810
  regElement(comboboxV1);
7737
7811
  var backgroundColor$2 = cloneDeep_default(colorV1);
7738
7812
  backgroundColor$2.key = "backgroundColor", backgroundColor$2.name = "x-runtime-lib.backgroundColor";
7739
- var settings$25 = {
7813
+ var settings$27 = {
7740
7814
  key: "settings",
7741
7815
  name: "x-runtime-lib.settings",
7742
7816
  children: [backgroundColor$2]
@@ -7752,7 +7826,7 @@ const containerV1 = {
7752
7826
  borderV1,
7753
7827
  marginV1,
7754
7828
  paddingV1,
7755
- settings$25
7829
+ settings$27
7756
7830
  ],
7757
7831
  compUi: [
7758
7832
  basicV1,
@@ -7760,7 +7834,7 @@ const containerV1 = {
7760
7834
  borderV1,
7761
7835
  marginV1,
7762
7836
  paddingV1,
7763
- settings$25
7837
+ settings$27
7764
7838
  ]
7765
7839
  },
7766
7840
  events: [{
@@ -7800,7 +7874,7 @@ var size$1 = {
7800
7874
  types: "sizeTypesV1",
7801
7875
  default: ""
7802
7876
  }]
7803
- }, settings$24 = {
7877
+ }, settings$26 = {
7804
7878
  key: "settings",
7805
7879
  name: "x-runtime-lib.settings",
7806
7880
  children: [
@@ -7929,7 +8003,7 @@ var size$1 = {
7929
8003
  key: "comp",
7930
8004
  name: "x-runtime-lib.comp",
7931
8005
  ui: "selectComp",
7932
- default: void 0
8006
+ default: ""
7933
8007
  }],
7934
8008
  array: !0,
7935
8009
  defaultArray: []
@@ -7943,13 +8017,13 @@ const dataTableV1 = {
7943
8017
  pageUi: [
7944
8018
  basicV1,
7945
8019
  size$1,
7946
- settings$24,
8020
+ settings$26,
7947
8021
  slots$2
7948
8022
  ],
7949
8023
  compUi: [
7950
8024
  basicV1,
7951
8025
  size$1,
7952
- settings$24,
8026
+ settings$26,
7953
8027
  slots$2
7954
8028
  ]
7955
8029
  },
@@ -7979,13 +8053,23 @@ const datePickerV1 = {
7979
8053
  leaf: !0
7980
8054
  };
7981
8055
  regElement(datePickerV1);
8056
+ var settings$25 = {
8057
+ key: "settings",
8058
+ name: "x-runtime-lib.settings",
8059
+ children: [{
8060
+ key: "content",
8061
+ name: "x-runtime-lib.comp",
8062
+ ui: "selectComp",
8063
+ default: ""
8064
+ }]
8065
+ };
7982
8066
  const dialogV1 = {
7983
8067
  key: "ui_dialog_v1",
7984
8068
  name: "x-runtime-lib.dialog",
7985
8069
  comp: v1_default$29,
7986
8070
  properties: {
7987
- pageUi: [basicV1],
7988
- compUi: [basicV1]
8071
+ pageUi: [basicV1, settings$25],
8072
+ compUi: [basicV1, settings$25]
7989
8073
  },
7990
8074
  methods: [{
7991
8075
  key: "open",
@@ -7994,10 +8078,20 @@ const dialogV1 = {
7994
8078
  key: "close",
7995
8079
  name: "x-runtime-lib.close"
7996
8080
  }],
7997
- teleport: !0
8081
+ slots: [{
8082
+ key: "content",
8083
+ name: "x-runtime-lib.content",
8084
+ properties: [{
8085
+ key: "open",
8086
+ name: "x-runtime-lib.open",
8087
+ type: "boolean"
8088
+ }]
8089
+ }],
8090
+ teleport: !0,
8091
+ leaf: !0
7998
8092
  };
7999
8093
  regElement(dialogV1);
8000
- var settings$23 = {
8094
+ var settings$24 = {
8001
8095
  key: "settings",
8002
8096
  name: "x-runtime-lib.settings",
8003
8097
  children: []
@@ -8007,8 +8101,8 @@ const fileInputV1 = {
8007
8101
  name: "x-runtime-lib.fileInput",
8008
8102
  comp: v1_default$28,
8009
8103
  properties: {
8010
- pageUi: [basicV1, settings$23],
8011
- compUi: [basicV1, settings$23]
8104
+ pageUi: [basicV1, settings$24],
8105
+ compUi: [basicV1, settings$24]
8012
8106
  },
8013
8107
  leaf: !0
8014
8108
  };
@@ -8047,7 +8141,7 @@ function spawnContainer(e, u, d, f, p, m, g, _, v) {
8047
8141
  }
8048
8142
  var backgroundColor$1 = cloneDeep_default(colorV1);
8049
8143
  backgroundColor$1.key = "backgroundColor", backgroundColor$1.name = "x-runtime-lib.backgroundColor";
8050
- var settings$22 = {
8144
+ var settings$23 = {
8051
8145
  key: "settings",
8052
8146
  name: "x-runtime-lib.settings",
8053
8147
  children: [
@@ -8229,7 +8323,7 @@ const flexLayoutV1 = {
8229
8323
  borderV1,
8230
8324
  marginV1,
8231
8325
  paddingV1,
8232
- settings$22
8326
+ settings$23
8233
8327
  ],
8234
8328
  compUi: [
8235
8329
  basicV1,
@@ -8237,7 +8331,7 @@ const flexLayoutV1 = {
8237
8331
  borderV1,
8238
8332
  marginV1,
8239
8333
  paddingV1,
8240
- settings$22
8334
+ settings$23
8241
8335
  ]
8242
8336
  },
8243
8337
  events: [{
@@ -8247,7 +8341,7 @@ const flexLayoutV1 = {
8247
8341
  spawn: spawn$9
8248
8342
  };
8249
8343
  regElement(flexLayoutV1);
8250
- var settings$21 = {
8344
+ var settings$22 = {
8251
8345
  key: "settings",
8252
8346
  name: "x-runtime-lib.settings",
8253
8347
  children: [{
@@ -8270,12 +8364,12 @@ const flexLayoutEntryV1 = {
8270
8364
  pageUi: [
8271
8365
  basicV1,
8272
8366
  sizeV1,
8273
- settings$21
8367
+ settings$22
8274
8368
  ],
8275
8369
  compUi: [
8276
8370
  basicV1,
8277
8371
  sizeV1,
8278
- settings$21
8372
+ settings$22
8279
8373
  ]
8280
8374
  }
8281
8375
  };
@@ -8297,7 +8391,7 @@ function spawnTextField(e, u) {
8297
8391
  nodes: { [d.basic.id]: d }
8298
8392
  };
8299
8393
  }
8300
- var settings$20 = {
8394
+ var settings$21 = {
8301
8395
  key: "settings",
8302
8396
  name: "x-runtime-lib.settings",
8303
8397
  children: [{
@@ -8324,7 +8418,7 @@ const formV1 = {
8324
8418
  borderV1,
8325
8419
  marginV1,
8326
8420
  paddingV1,
8327
- settings$20
8421
+ settings$21
8328
8422
  ],
8329
8423
  compUi: [
8330
8424
  basicV1,
@@ -8332,7 +8426,7 @@ const formV1 = {
8332
8426
  borderV1,
8333
8427
  marginV1,
8334
8428
  paddingV1,
8335
- settings$20
8429
+ settings$21
8336
8430
  ]
8337
8431
  },
8338
8432
  events: [{
@@ -8342,7 +8436,7 @@ const formV1 = {
8342
8436
  spawn: spawn$8
8343
8437
  };
8344
8438
  regElement(formV1);
8345
- var settings$19 = {
8439
+ var settings$20 = {
8346
8440
  key: "settings",
8347
8441
  name: "x-runtime-lib.settings",
8348
8442
  children: [
@@ -8373,19 +8467,29 @@ const iconV1 = {
8373
8467
  name: "x-runtime-lib.icon",
8374
8468
  comp: v1_default$24,
8375
8469
  properties: {
8376
- pageUi: [basicV1, settings$19],
8377
- compUi: [basicV1, settings$19]
8470
+ pageUi: [basicV1, settings$20],
8471
+ compUi: [basicV1, settings$20]
8378
8472
  },
8379
8473
  leaf: !0
8380
8474
  };
8381
8475
  regElement(iconV1);
8476
+ var settings$19 = {
8477
+ key: "settings",
8478
+ name: "x-runtime-lib.settings",
8479
+ children: [{
8480
+ key: "content",
8481
+ name: "x-runtime-lib.comp",
8482
+ ui: "selectComp",
8483
+ default: ""
8484
+ }]
8485
+ };
8382
8486
  const menuV1 = {
8383
8487
  key: "ui_menu_v1",
8384
8488
  name: "x-runtime-lib.menu",
8385
8489
  comp: v1_default$23,
8386
8490
  properties: {
8387
- pageUi: [basicV1],
8388
- compUi: [basicV1]
8491
+ pageUi: [basicV1, settings$19],
8492
+ compUi: [basicV1, settings$19]
8389
8493
  },
8390
8494
  methods: [{
8391
8495
  key: "open",
@@ -8394,7 +8498,17 @@ const menuV1 = {
8394
8498
  key: "close",
8395
8499
  name: "x-runtime-lib.close"
8396
8500
  }],
8397
- teleport: !0
8501
+ slots: [{
8502
+ key: "content",
8503
+ name: "x-runtime-lib.content",
8504
+ properties: [{
8505
+ key: "open",
8506
+ name: "x-runtime-lib.open",
8507
+ type: "boolean"
8508
+ }]
8509
+ }],
8510
+ teleport: !0,
8511
+ leaf: !0
8398
8512
  };
8399
8513
  regElement(menuV1);
8400
8514
  function spawn$7(e, u) {
@@ -9203,12 +9317,12 @@ var settings$11 = {
9203
9317
  key: "append",
9204
9318
  name: "x-runtime-lib.append",
9205
9319
  ui: "selectComp",
9206
- default: void 0
9320
+ default: ""
9207
9321
  }, {
9208
9322
  key: "prepend",
9209
9323
  name: "x-runtime-lib.prepend",
9210
9324
  ui: "selectComp",
9211
- default: void 0
9325
+ default: ""
9212
9326
  }]
9213
9327
  };
9214
9328
  const sliderV1 = {
@@ -9985,25 +10099,25 @@ var settings$2 = {
9985
10099
  key: "append",
9986
10100
  name: "x-runtime-lib.append",
9987
10101
  ui: "selectComp",
9988
- default: void 0
10102
+ default: ""
9989
10103
  },
9990
10104
  {
9991
10105
  key: "appendInner",
9992
10106
  name: "x-runtime-lib.appendInner",
9993
10107
  ui: "selectComp",
9994
- default: void 0
10108
+ default: ""
9995
10109
  },
9996
10110
  {
9997
10111
  key: "prepend",
9998
10112
  name: "x-runtime-lib.prepend",
9999
10113
  ui: "selectComp",
10000
- default: void 0
10114
+ default: ""
10001
10115
  },
10002
10116
  {
10003
10117
  key: "prependInner",
10004
10118
  name: "x-runtime-lib.prependInner",
10005
10119
  ui: "selectComp",
10006
- default: void 0
10120
+ default: ""
10007
10121
  }
10008
10122
  ]
10009
10123
  };
@@ -11273,21 +11387,21 @@ var PromiseManager = class {
11273
11387
  this.debugTrace(makeFuncInfo("callMethod", e, u, d));
11274
11388
  let { kind: f, nodeId: p, methodKey: m } = unwrapMethodId(e), g = this.getNode(p);
11275
11389
  if (!g) throw errors.nodeNotFound;
11276
- if (f === "elementMethod") return await this.callElementMethod(e, d, g.basic.key, m);
11390
+ if (f === "elementMethod") return await this.callElementMethod(e, d, p, g.basic.key, m);
11277
11391
  if (f === "refMethod") return await this.callRefMethod(e, d, p, m);
11278
11392
  if (f === "multipleRefMethod") return await this.callMultipleRefMethod(e, u, d, p, m);
11279
11393
  if (f === "elementAdaptSlotMethod") return await this.callElementAdaptSlotMethod(e, d, m);
11280
11394
  if (f === "customAdaptSlotMethod") return await this.callCustomAdaptSlotMethod(e, d, m);
11281
11395
  console.assert(!1);
11282
11396
  }
11283
- async callElementMethod(e, u, d, f) {
11284
- if (!this.isValidOfElementMethod(d, f)) throw console.log(`Sandbox/callElementMethod invalid element method id=${e}`), errors.invalidElementMethod;
11285
- let p = {};
11286
- return this.eventBus.emit(e, {
11287
- key: f,
11397
+ async callElementMethod(e, u, d, f, p) {
11398
+ if (!this.isValidOfElementMethod(f, p)) throw console.log(`Sandbox/callElementMethod invalid element method id=${e}`), errors.invalidElementMethod;
11399
+ let m = {};
11400
+ return this.eventBus.emit(`method/${d}/${p}`, {
11401
+ key: p,
11288
11402
  inputs: u,
11289
- outputs: p
11290
- }), p;
11403
+ outputs: m
11404
+ }), m;
11291
11405
  }
11292
11406
  async callRefMethod(e, u, d, f) {
11293
11407
  let p = this.children[d];
@@ -11598,8 +11712,8 @@ var __rolldown_dynamic_import_helper_default = (e, u, d) => {
11598
11712
  };
11599
11713
  async function loadLocaleMessageRuntime(e) {
11600
11714
  return (await __rolldown_dynamic_import_helper_default({
11601
- "./locales/en/index.ts": () => import("./en.otnq7oq6.js"),
11602
- "./locales/zhHans/index.ts": () => import("./zhHans.b7y34n3l.js")
11715
+ "./locales/en/index.ts": () => import("./en.cud1nmyi.js"),
11716
+ "./locales/zhHans/index.ts": () => import("./zhHans.cvquec3k.js")
11603
11717
  }, `./locales/${e}/index.ts`, 4)).default;
11604
11718
  }
11605
11719
  export { addIndent, ambientLightV1, badgeV1, barChartV1, boxGeometryV1, breakpoints, btnToggleEntryV1, btnToggleV1, btnV1, calcBreakpoint, cardV1, checkboxV1, chipGroupV1, chipV1, colorPickerV1, comboboxV1, compTypes, containerV1, createNode, dataStringify, dataTableV1, datePickerV1, dialogV1, directionalLightV1, duplicateNodePair, duplicateNodePairs, elementKeys, fileInputV1, finalProperties, flexLayoutEntryV1, flexLayoutV1, formV1, fromDotString, genId, getAllElements, getBreakpointPropString, getElement, getField, getImplementMethodName, getIndexOfBreakpoint, getNodeLite, getPropertyDefault, getPropertyDefaultArray, getTag, globalityV1, groupV1, hasComp, hasSlot, iconV1, initProperties, injectDark, injectData, injectDepends, injectDevice, injectEnv, injectId, injectMeta, injectMode, injectNode, injectOrg, injectRuntime, injectSandbox, injectType, isCircularReference, isExecutableMode, 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, unwrapEventId, unwrapEventKeyOfCustomSlot, unwrapEventKeyOfElementSlot, unwrapMethodId, unwrapMethodKeyOfCustomSlot, unwrapMethodKeyOfElementSlot, unwrapPropertyId, unwrapPropertyKeyOfCustomSlot, unwrapPropertyKeyOfElementSlot, unwrapSlotId, unwrapTriggerId, useDepend, useRuntime, useSandbox, useTheme, windowItemV1, windowV1 };