x-runtime-lib 0.8.218 → 0.8.220

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.
@@ -0,0 +1,15 @@
1
+ import { RefContext } from '@/types';
2
+ type __VLS_Props = {
3
+ refContext: RefContext;
4
+ };
5
+ type __VLS_ModelProps = {
6
+ 'open': boolean;
7
+ };
8
+ type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
9
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
10
+ "update:open": (value: boolean) => any;
11
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
12
+ "onUpdate:open"?: ((value: boolean) => any) | undefined;
13
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
14
+ declare const _default: typeof __VLS_export;
15
+ export default _default;
@@ -1,14 +1,4 @@
1
1
  import { ElementProps } from '@/types';
2
- declare var __VLS_9: {};
3
- type __VLS_Slots = {} & {
4
- default?: (props: typeof __VLS_9) => any;
5
- };
6
- declare const __VLS_base: import("vue").DefineComponent<ElementProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ElementProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
7
- declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
2
+ declare const __VLS_export: import("vue").DefineComponent<ElementProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ElementProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
8
3
  declare const _default: typeof __VLS_export;
9
4
  export default _default;
10
- type __VLS_WithSlots<T, S> = T & {
11
- new (): {
12
- $slots: S;
13
- };
14
- };
@@ -0,0 +1,15 @@
1
+ import { RefContext } from '@/types';
2
+ type __VLS_Props = {
3
+ refContext: RefContext;
4
+ };
5
+ type __VLS_ModelProps = {
6
+ 'open': boolean;
7
+ };
8
+ type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
9
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
10
+ "update:open": (value: boolean) => any;
11
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
12
+ "onUpdate:open"?: ((value: boolean) => any) | undefined;
13
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
14
+ declare const _default: typeof __VLS_export;
15
+ export default _default;
@@ -1,14 +1,4 @@
1
1
  import { ElementProps } from '@/types';
2
- declare var __VLS_9: {};
3
- type __VLS_Slots = {} & {
4
- default?: (props: typeof __VLS_9) => any;
5
- };
6
- declare const __VLS_base: import("vue").DefineComponent<ElementProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ElementProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
7
- declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
2
+ declare const __VLS_export: import("vue").DefineComponent<ElementProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ElementProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
8
3
  declare const _default: typeof __VLS_export;
9
4
  export default _default;
10
- type __VLS_WithSlots<T, S> = T & {
11
- new (): {
12
- $slots: S;
13
- };
14
- };
@@ -0,0 +1,2 @@
1
+ import { t as en_default } from "./i18n-en.jkuvala9.js";
2
+ export { en_default as default };
@@ -102,6 +102,7 @@ var en_default = { "x-runtime-lib": {
102
102
  density: "Density",
103
103
  depth: "Depth",
104
104
  depthSegements: "Depth Segements",
105
+ detail: "Detail",
105
106
  dialog: "Dialog",
106
107
  direction: "Direction",
107
108
  directionalLight: "Directional Light",
@@ -102,6 +102,7 @@ var zhHans_default = { "x-runtime-lib": {
102
102
  density: "密度",
103
103
  depth: "深度",
104
104
  depthSegements: "深度分段(s)",
105
+ detail: "细节",
105
106
  dialog: "对话框",
106
107
  direction: "方向",
107
108
  directionalLight: "平行光",
package/dist/index.js CHANGED
@@ -3812,11 +3812,19 @@ var echarts_default = core_exports, v1_default$49 = /* @__PURE__ */ defineCompon
3812
3812
  setup(e) {
3813
3813
  let u = e, { node: d } = useElementBase(u);
3814
3814
  provideNode(d);
3815
- let f = injectMode(), { property: p } = useElementProperty(d, ["settings", "density"]), { property: m } = useElementProperty(d, ["settings", "fixedFooter"]), { property: g } = useElementProperty(d, ["settings", "fixedHeader"]), { property: _ } = useElementProperty(d, ["settings", "headers"]), { property: v } = useElementProperty(d, ["size", "height"]), { property: y } = useElementProperty(d, ["settings", "hover"]), { property: b } = useElementProperty(d, ["settings", "data"], !0), { property: x } = useElementProperty(d, ["settings", "loading"]), { property: S } = useElementProperty(d, ["settings", "multiSort"]), { theme: C } = useTheme(), { property: w } = useElementProperty(d, ["size", "width"]), T = ref([]);
3815
+ let f = injectMode(), { property: p } = useElementProperty(d, ["settings", "density"]), { property: m } = useElementProperty(d, ["settings", "fixedFooter"]), { property: g } = useElementProperty(d, ["settings", "fixedHeader"]), { property: _ } = useElementProperty(d, ["settings", "headers"]), v = computed(() => {
3816
+ let e = [];
3817
+ for (let { value: u, title: d, detail: f } of _.value) e.push({
3818
+ value: u,
3819
+ title: d,
3820
+ ...f
3821
+ });
3822
+ return e;
3823
+ }), { property: y } = useElementProperty(d, ["size", "height"]), { property: b } = useElementProperty(d, ["settings", "hover"]), { property: x } = useElementProperty(d, ["settings", "data"], !0), { property: S } = useElementProperty(d, ["settings", "loading"]), { property: C } = useElementProperty(d, ["settings", "multiSort"]), { theme: w } = useTheme(), { property: T } = useElementProperty(d, ["size", "width"]), E = ref([]);
3816
3824
  if (isExecutableMode(f)) {
3817
3825
  let { property: e } = useElementProperty(d, ["slots", "columns"]);
3818
3826
  watchEffect(() => {
3819
- T.value = e.value;
3827
+ E.value = e.value;
3820
3828
  });
3821
3829
  }
3822
3830
  return (e, d) => {
@@ -3829,15 +3837,15 @@ var echarts_default = core_exports, v1_default$49 = /* @__PURE__ */ defineCompon
3829
3837
  density: unref(p),
3830
3838
  "fixed-footer": unref(m),
3831
3839
  "fixed-header": unref(g),
3832
- headers: unref(_),
3833
- height: unref(v),
3834
- hover: unref(y),
3835
- items: unref(b),
3836
- loading: unref(x),
3837
- "multi-sort": unref(S),
3838
- theme: unref(C),
3839
- width: unref(w)
3840
- }, createSlots({ _: 2 }, [renderList(T.value, ({ key: e, comp: d }) => ({
3840
+ headers: v.value,
3841
+ height: unref(y),
3842
+ hover: unref(b),
3843
+ items: unref(x),
3844
+ loading: unref(S),
3845
+ "multi-sort": unref(C),
3846
+ theme: unref(w),
3847
+ width: unref(T)
3848
+ }, createSlots({ _: 2 }, [renderList(E.value, ({ key: e, comp: d }) => ({
3841
3849
  name: `item.${e}`,
3842
3850
  fn: withCtx(({ value: f }) => [createVNode(columnSlot_default, {
3843
3851
  instance: e,
@@ -3879,6 +3887,26 @@ var echarts_default = core_exports, v1_default$49 = /* @__PURE__ */ defineCompon
3879
3887
  });
3880
3888
  };
3881
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
+ }
3882
3910
  }), _hoisted_1$1 = ["id"], v1_default$29 = /* @__PURE__ */ defineComponent({
3883
3911
  __name: "index",
3884
3912
  props: {
@@ -3887,24 +3915,34 @@ var echarts_default = core_exports, v1_default$49 = /* @__PURE__ */ defineCompon
3887
3915
  refContext: {}
3888
3916
  },
3889
3917
  setup(e) {
3890
- 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", "comp"]), { open: m } = useViewStack(`runtimeDialog/${useId()}`);
3891
3921
  return useElementMethod(u.nodeId, "open", () => {
3892
- f.value = !0;
3922
+ m.value = !0;
3893
3923
  }), useElementMethod(u.nodeId, "close", () => {
3894
- f.value = !1;
3895
- }), (e, p) => {
3896
- let m = resolveComponent("v-dialog");
3897
- return openBlock(), createBlock(m, {
3898
- modelValue: unref(f),
3899
- "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,
3900
3930
  attach: "#dialogContainer"
3901
3931
  }, {
3902
- activator: withCtx(() => [unref(d) === "editor" ? (openBlock(), createElementBlock("div", {
3932
+ activator: withCtx(() => [unref(f) === "editor" ? (openBlock(), createElementBlock("div", {
3903
3933
  key: 0,
3904
3934
  id: `__node__@${u.nodeId}`
3905
3935
  }, null, 8, _hoisted_1$1)) : createCommentVNode("", !0)]),
3906
- default: withCtx(() => [renderSlot(e.$slots, "default")]),
3907
- _: 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
3908
3946
  }, 8, ["modelValue"]);
3909
3947
  };
3910
3948
  }
@@ -4178,6 +4216,26 @@ var echarts_default = core_exports, v1_default$49 = /* @__PURE__ */ defineCompon
4178
4216
  ]);
4179
4217
  };
4180
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
+ }
4181
4239
  }), _hoisted_1 = ["id"], v1_default$23 = /* @__PURE__ */ defineComponent({
4182
4240
  __name: "index",
4183
4241
  props: {
@@ -4186,29 +4244,39 @@ var echarts_default = core_exports, v1_default$49 = /* @__PURE__ */ defineCompon
4186
4244
  refContext: {}
4187
4245
  },
4188
4246
  setup(e) {
4189
- 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", "comp"]), g = ref(0), _ = ref(0), v = computed(() => [g.value, _.value]), { open: y } = useViewStack(`runtimeMenu/${useId()}`);
4190
4250
  return useElementMethod(u.nodeId, "open", () => {
4191
- if (!f || !f.vm) return;
4192
- let { vm: e } = f, u = e.getProp(e.global, "__pointerPosX__"), d = e.getProp(e.global, "__pointerPosY__");
4193
- 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;
4194
4254
  }), useElementMethod(u.nodeId, "close", () => {
4195
- f && (_.value = !1);
4196
- }), (e, f) => {
4255
+ p && (y.value = !1);
4256
+ }), (e, d) => {
4197
4257
  let p = resolveComponent("v-menu");
4198
4258
  return openBlock(), createBlock(p, {
4199
- modelValue: unref(_),
4200
- "onUpdate:modelValue": f[0] ||= (e) => isRef(_) ? _.value = e : null,
4201
- attach: "menuContainer",
4259
+ modelValue: unref(y),
4260
+ "onUpdate:modelValue": d[1] ||= (e) => isRef(y) ? y.value = e : null,
4261
+ attach: "#menuContainer",
4202
4262
  "location-strategy": "connected",
4203
4263
  scrim: "transparent",
4204
- target: g.value
4264
+ target: v.value
4205
4265
  }, {
4206
- activator: withCtx(() => [unref(d) === "editor" ? (openBlock(), createElementBlock("div", {
4266
+ activator: withCtx(() => [unref(f) === "editor" ? (openBlock(), createElementBlock("div", {
4207
4267
  key: 0,
4208
4268
  id: `__node__@${u.nodeId}`
4209
4269
  }, null, 8, _hoisted_1)) : createCommentVNode("", !0)]),
4210
- default: withCtx(() => [renderSlot(e.$slots, "default")]),
4211
- _: 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
4212
4280
  }, 8, ["modelValue", "target"]);
4213
4281
  };
4214
4282
  }
@@ -5983,7 +6051,7 @@ const basicV1 = {
5983
6051
  }
5984
6052
  ]
5985
6053
  };
5986
- var settings$47 = {
6054
+ var settings$49 = {
5987
6055
  key: "settings",
5988
6056
  name: "x-runtime-lib.settings",
5989
6057
  children: [
@@ -6039,12 +6107,12 @@ const orthographicCameraV1 = {
6039
6107
  page3d: [
6040
6108
  basicV1,
6041
6109
  transformV1,
6042
- settings$47
6110
+ settings$49
6043
6111
  ],
6044
6112
  comp3d: [
6045
6113
  basicV1,
6046
6114
  transformV1,
6047
- settings$47
6115
+ settings$49
6048
6116
  ]
6049
6117
  },
6050
6118
  events: [],
@@ -6052,7 +6120,7 @@ const orthographicCameraV1 = {
6052
6120
  slots: []
6053
6121
  };
6054
6122
  regElement(orthographicCameraV1);
6055
- var settings$46 = {
6123
+ var settings$48 = {
6056
6124
  key: "settings",
6057
6125
  name: "x-runtime-lib.settings",
6058
6126
  children: [
@@ -6094,12 +6162,12 @@ const perspectiveCameraV1 = {
6094
6162
  page3d: [
6095
6163
  basicV1,
6096
6164
  transformV1,
6097
- settings$46
6165
+ settings$48
6098
6166
  ],
6099
6167
  comp3d: [
6100
6168
  basicV1,
6101
6169
  transformV1,
6102
- settings$46
6170
+ settings$48
6103
6171
  ]
6104
6172
  },
6105
6173
  events: [],
@@ -6199,7 +6267,7 @@ function spawnMeshBasicMaterial$1(e, u) {
6199
6267
  nodes: { [d.basic.id]: d }
6200
6268
  };
6201
6269
  }
6202
- var settings$45 = {
6270
+ var settings$47 = {
6203
6271
  key: "settings",
6204
6272
  name: "x-runtime-lib.settings",
6205
6273
  children: [
@@ -6249,8 +6317,8 @@ const boxGeometryV1 = {
6249
6317
  name: "x-runtime-lib.boxGeometry",
6250
6318
  comp: v1_default$58,
6251
6319
  properties: {
6252
- page3d: [basicV1, settings$45],
6253
- comp3d: [basicV1, settings$45]
6320
+ page3d: [basicV1, settings$47],
6321
+ comp3d: [basicV1, settings$47]
6254
6322
  },
6255
6323
  events: [],
6256
6324
  methods: [],
@@ -6310,7 +6378,7 @@ function spawnMeshBasicMaterial(e, u) {
6310
6378
  nodes: { [d.basic.id]: d }
6311
6379
  };
6312
6380
  }
6313
- var settings$44 = {
6381
+ var settings$46 = {
6314
6382
  key: "settings",
6315
6383
  name: "x-runtime-lib.settings",
6316
6384
  children: [
@@ -6368,8 +6436,8 @@ const sphereGeometryV1 = {
6368
6436
  name: "x-runtime-lib.sphereGeometry",
6369
6437
  comp: v1_default$57,
6370
6438
  properties: {
6371
- page3d: [basicV1, settings$44],
6372
- comp3d: [basicV1, settings$44]
6439
+ page3d: [basicV1, settings$46],
6440
+ comp3d: [basicV1, settings$46]
6373
6441
  },
6374
6442
  events: [],
6375
6443
  methods: [],
@@ -6380,7 +6448,7 @@ const sphereGeometryV1 = {
6380
6448
  regElement(sphereGeometryV1);
6381
6449
  var color$4 = cloneDeep_default(colorV1);
6382
6450
  color$4.children[0].default = "custom", color$4.children[2].children[0].default = "0xffffff", color$4.children[2].children[1].default = "0xffffff";
6383
- var settings$43 = {
6451
+ var settings$45 = {
6384
6452
  key: "settings",
6385
6453
  name: "x-runtime-lib.settings",
6386
6454
  children: [color$4, {
@@ -6399,12 +6467,12 @@ const ambientLightV1 = {
6399
6467
  page3d: [
6400
6468
  basicV1,
6401
6469
  transformV1,
6402
- settings$43
6470
+ settings$45
6403
6471
  ],
6404
6472
  comp3d: [
6405
6473
  basicV1,
6406
6474
  transformV1,
6407
- settings$43
6475
+ settings$45
6408
6476
  ]
6409
6477
  },
6410
6478
  events: [],
@@ -6414,7 +6482,7 @@ const ambientLightV1 = {
6414
6482
  regElement(ambientLightV1);
6415
6483
  var color$3 = cloneDeep_default(colorV1);
6416
6484
  color$3.children[0].default = "custom", color$3.children[2].children[0].default = "0xffffff", color$3.children[2].children[1].default = "0xffffff";
6417
- var settings$42 = {
6485
+ var settings$44 = {
6418
6486
  key: "settings",
6419
6487
  name: "x-runtime-lib.settings",
6420
6488
  children: [color$3, {
@@ -6433,12 +6501,12 @@ const directionalLightV1 = {
6433
6501
  page3d: [
6434
6502
  basicV1,
6435
6503
  transformV1,
6436
- settings$42
6504
+ settings$44
6437
6505
  ],
6438
6506
  comp3d: [
6439
6507
  basicV1,
6440
6508
  transformV1,
6441
- settings$42
6509
+ settings$44
6442
6510
  ]
6443
6511
  },
6444
6512
  events: [],
@@ -6448,7 +6516,7 @@ const directionalLightV1 = {
6448
6516
  regElement(directionalLightV1);
6449
6517
  var color$2 = cloneDeep_default(colorV1);
6450
6518
  color$2.children[0].default = "custom", color$2.children[2].children[0].default = "0xffffff", color$2.children[2].children[1].default = "0xffffff";
6451
- var settings$41 = {
6519
+ var settings$43 = {
6452
6520
  key: "settings",
6453
6521
  name: "x-runtime-lib.settings",
6454
6522
  children: [
@@ -6484,12 +6552,12 @@ const pointLightV1 = {
6484
6552
  page3d: [
6485
6553
  basicV1,
6486
6554
  transformV1,
6487
- settings$41
6555
+ settings$43
6488
6556
  ],
6489
6557
  comp3d: [
6490
6558
  basicV1,
6491
6559
  transformV1,
6492
- settings$41
6560
+ settings$43
6493
6561
  ]
6494
6562
  },
6495
6563
  events: [],
@@ -6499,7 +6567,7 @@ const pointLightV1 = {
6499
6567
  regElement(pointLightV1);
6500
6568
  var color$1 = cloneDeep_default(colorV1);
6501
6569
  color$1.children[0].default = "custom", color$1.children[2].children[0].default = "0xffffff", color$1.children[2].children[1].default = "0xffffff";
6502
- var settings$40 = {
6570
+ var settings$42 = {
6503
6571
  key: "settings",
6504
6572
  name: "x-runtime-lib.settings",
6505
6573
  children: [
@@ -6552,12 +6620,12 @@ const spotLightV1 = {
6552
6620
  page3d: [
6553
6621
  basicV1,
6554
6622
  transformV1,
6555
- settings$40
6623
+ settings$42
6556
6624
  ],
6557
6625
  comp3d: [
6558
6626
  basicV1,
6559
6627
  transformV1,
6560
- settings$40
6628
+ settings$42
6561
6629
  ]
6562
6630
  },
6563
6631
  events: [],
@@ -6751,7 +6819,7 @@ const lineChartV1 = {
6751
6819
  spawn: spawn$17
6752
6820
  };
6753
6821
  regElement(lineChartV1);
6754
- var settings$39 = {
6822
+ var settings$41 = {
6755
6823
  key: "settings",
6756
6824
  name: "x-runtime-lib.settings",
6757
6825
  children: [{
@@ -6776,32 +6844,32 @@ const multipleRefV1 = {
6776
6844
  pageUi: [
6777
6845
  basicV1,
6778
6846
  sizeV1,
6779
- settings$39,
6847
+ settings$41,
6780
6848
  instances$1
6781
6849
  ],
6782
6850
  compUi: [
6783
6851
  basicV1,
6784
6852
  sizeV1,
6785
- settings$39,
6853
+ settings$41,
6786
6854
  instances$1
6787
6855
  ],
6788
6856
  page3d: [
6789
6857
  basicV1,
6790
6858
  transformV1,
6791
- settings$39,
6859
+ settings$41,
6792
6860
  instances$1
6793
6861
  ],
6794
6862
  comp3d: [
6795
6863
  basicV1,
6796
6864
  transformV1,
6797
- settings$39,
6865
+ settings$41,
6798
6866
  instances$1
6799
6867
  ]
6800
6868
  },
6801
6869
  leaf: !0
6802
6870
  };
6803
6871
  regElement(multipleRefV1);
6804
- var settings$38 = {
6872
+ var settings$40 = {
6805
6873
  key: "settings",
6806
6874
  name: "x-runtime-lib.settings",
6807
6875
  children: [{
@@ -6831,32 +6899,32 @@ const multipleSlotV1 = {
6831
6899
  pageUi: [
6832
6900
  basicV1,
6833
6901
  sizeV1,
6834
- settings$38,
6902
+ settings$40,
6835
6903
  instances
6836
6904
  ],
6837
6905
  compUi: [
6838
6906
  basicV1,
6839
6907
  sizeV1,
6840
- settings$38,
6908
+ settings$40,
6841
6909
  instances
6842
6910
  ],
6843
6911
  page3d: [
6844
6912
  basicV1,
6845
6913
  transformV1,
6846
- settings$38,
6914
+ settings$40,
6847
6915
  instances
6848
6916
  ],
6849
6917
  comp3d: [
6850
6918
  basicV1,
6851
6919
  transformV1,
6852
- settings$38,
6920
+ settings$40,
6853
6921
  instances
6854
6922
  ]
6855
6923
  },
6856
6924
  leaf: !0
6857
6925
  };
6858
6926
  regElement(multipleSlotV1);
6859
- var settings$37 = {
6927
+ var settings$39 = {
6860
6928
  key: "settings",
6861
6929
  name: "x-runtime-lib.settings",
6862
6930
  children: [{
@@ -6874,28 +6942,28 @@ const referenceV1 = {
6874
6942
  pageUi: [
6875
6943
  basicV1,
6876
6944
  sizeV1,
6877
- settings$37
6945
+ settings$39
6878
6946
  ],
6879
6947
  compUi: [
6880
6948
  basicV1,
6881
6949
  sizeV1,
6882
- settings$37
6950
+ settings$39
6883
6951
  ],
6884
6952
  page3d: [
6885
6953
  basicV1,
6886
6954
  transformV1,
6887
- settings$37
6955
+ settings$39
6888
6956
  ],
6889
6957
  comp3d: [
6890
6958
  basicV1,
6891
6959
  transformV1,
6892
- settings$37
6960
+ settings$39
6893
6961
  ]
6894
6962
  },
6895
6963
  leaf: !0
6896
6964
  };
6897
6965
  regElement(referenceV1);
6898
- var settings$36 = {
6966
+ var settings$38 = {
6899
6967
  key: "settings",
6900
6968
  name: "x-runtime-lib.settings",
6901
6969
  children: [{
@@ -6910,12 +6978,12 @@ const renderSwitchV1 = {
6910
6978
  name: "x-runtime-lib.renderSwitch",
6911
6979
  comp: v1_default$44,
6912
6980
  properties: {
6913
- pageUi: [basicV1, settings$36],
6914
- compUi: [basicV1, settings$36]
6981
+ pageUi: [basicV1, settings$38],
6982
+ compUi: [basicV1, settings$38]
6915
6983
  }
6916
6984
  };
6917
6985
  regElement(renderSwitchV1);
6918
- var settings$35 = {
6986
+ var settings$37 = {
6919
6987
  key: "settings",
6920
6988
  name: "x-runtime-lib.settings",
6921
6989
  children: [{
@@ -6938,22 +7006,22 @@ const slotV1 = {
6938
7006
  pageUi: [
6939
7007
  basicV1,
6940
7008
  sizeV1,
6941
- settings$35
7009
+ settings$37
6942
7010
  ],
6943
7011
  compUi: [
6944
7012
  basicV1,
6945
7013
  sizeV1,
6946
- settings$35
7014
+ settings$37
6947
7015
  ],
6948
7016
  page3d: [
6949
7017
  basicV1,
6950
7018
  transformV1,
6951
- settings$35
7019
+ settings$37
6952
7020
  ],
6953
7021
  comp3d: [
6954
7022
  basicV1,
6955
7023
  transformV1,
6956
- settings$35
7024
+ settings$37
6957
7025
  ]
6958
7026
  },
6959
7027
  leaf: !0
@@ -7043,7 +7111,7 @@ function spawnButton(e, u) {
7043
7111
  nodes: { [d.basic.id]: d }
7044
7112
  };
7045
7113
  }
7046
- var settings$34 = {
7114
+ var settings$36 = {
7047
7115
  key: "settings",
7048
7116
  name: "x-runtime-lib.settings",
7049
7117
  children: [
@@ -7099,8 +7167,8 @@ const badgeV1 = {
7099
7167
  name: "x-runtime-lib.badge",
7100
7168
  comp: v1_default$42,
7101
7169
  properties: {
7102
- pageUi: [basicV1, settings$34],
7103
- compUi: [basicV1, settings$34]
7170
+ pageUi: [basicV1, settings$36],
7171
+ compUi: [basicV1, settings$36]
7104
7172
  },
7105
7173
  spawn: spawn$16
7106
7174
  };
@@ -7112,7 +7180,7 @@ function spawn$15(e, u) {
7112
7180
  nodes: { [d.basic.id]: d }
7113
7181
  };
7114
7182
  }
7115
- var settings$33 = {
7183
+ var settings$35 = {
7116
7184
  key: "settings",
7117
7185
  name: "x-runtime-lib.settings",
7118
7186
  children: [
@@ -7205,12 +7273,12 @@ const btnV1 = {
7205
7273
  pageUi: [
7206
7274
  basicV1,
7207
7275
  sizeV1,
7208
- settings$33
7276
+ settings$35
7209
7277
  ],
7210
7278
  compUi: [
7211
7279
  basicV1,
7212
7280
  sizeV1,
7213
- settings$33
7281
+ settings$35
7214
7282
  ]
7215
7283
  },
7216
7284
  events: [{
@@ -7258,7 +7326,7 @@ function spawnIcon(e, u, d) {
7258
7326
  nodes: { [f.basic.id]: f }
7259
7327
  };
7260
7328
  }
7261
- var settings$32 = {
7329
+ var settings$34 = {
7262
7330
  key: "settings",
7263
7331
  name: "x-runtime-lib.settings",
7264
7332
  children: [
@@ -7338,13 +7406,13 @@ const btnToggleV1 = {
7338
7406
  name: "x-runtime-lib.buttonToggle",
7339
7407
  comp: v1_default$40,
7340
7408
  properties: {
7341
- pageUi: [basicV1, settings$32],
7342
- compUi: [basicV1, settings$32]
7409
+ pageUi: [basicV1, settings$34],
7410
+ compUi: [basicV1, settings$34]
7343
7411
  },
7344
7412
  spawn: spawn$14
7345
7413
  };
7346
7414
  regElement(btnToggleV1);
7347
- var settings$31 = {
7415
+ var settings$33 = {
7348
7416
  key: "settings",
7349
7417
  name: "x-runtime-lib.settings",
7350
7418
  children: [{
@@ -7359,8 +7427,8 @@ const btnToggleEntryV1 = {
7359
7427
  name: "x-runtime-lib.buttonToggleEntry",
7360
7428
  comp: v1_default$39,
7361
7429
  properties: {
7362
- pageUi: [basicV1, settings$31],
7363
- compUi: [basicV1, settings$31]
7430
+ pageUi: [basicV1, settings$33],
7431
+ compUi: [basicV1, settings$33]
7364
7432
  }
7365
7433
  };
7366
7434
  regElement(btnToggleEntryV1);
@@ -7371,7 +7439,7 @@ function spawn$13(e, u) {
7371
7439
  nodes: { [d.basic.id]: d }
7372
7440
  };
7373
7441
  }
7374
- var settings$30 = {
7442
+ var settings$32 = {
7375
7443
  key: "settings",
7376
7444
  name: "x-runtime-lib.settings",
7377
7445
  children: [
@@ -7435,18 +7503,18 @@ const cardV1 = {
7435
7503
  pageUi: [
7436
7504
  basicV1,
7437
7505
  sizeV1,
7438
- settings$30
7506
+ settings$32
7439
7507
  ],
7440
7508
  compUi: [
7441
7509
  basicV1,
7442
7510
  sizeV1,
7443
- settings$30
7511
+ settings$32
7444
7512
  ]
7445
7513
  },
7446
7514
  spawn: spawn$13
7447
7515
  };
7448
7516
  regElement(cardV1);
7449
- var settings$29 = {
7517
+ var settings$31 = {
7450
7518
  key: "settings",
7451
7519
  name: "x-runtime-lib.settings",
7452
7520
  children: [{
@@ -7466,8 +7534,8 @@ const checkboxV1 = {
7466
7534
  name: "x-runtime-lib.checkbox",
7467
7535
  comp: v1_default$37,
7468
7536
  properties: {
7469
- pageUi: [basicV1, settings$29],
7470
- compUi: [basicV1, settings$29]
7537
+ pageUi: [basicV1, settings$31],
7538
+ compUi: [basicV1, settings$31]
7471
7539
  },
7472
7540
  leaf: !0
7473
7541
  };
@@ -7479,7 +7547,7 @@ function spawn$12(e, u) {
7479
7547
  nodes: { [d.basic.id]: d }
7480
7548
  };
7481
7549
  }
7482
- var settings$28 = {
7550
+ var settings$30 = {
7483
7551
  key: "settings",
7484
7552
  name: "x-runtime-lib.settings",
7485
7553
  children: [
@@ -7560,8 +7628,8 @@ const chipV1 = {
7560
7628
  name: "x-runtime-lib.chip",
7561
7629
  comp: v1_default$36,
7562
7630
  properties: {
7563
- pageUi: [basicV1, settings$28],
7564
- compUi: [basicV1, settings$28]
7631
+ pageUi: [basicV1, settings$30],
7632
+ compUi: [basicV1, settings$30]
7565
7633
  },
7566
7634
  leaf: !0,
7567
7635
  spawn: spawn$12
@@ -7596,7 +7664,7 @@ function spawnChip(e, u, d, f) {
7596
7664
  nodes: { [p.basic.id]: p }
7597
7665
  };
7598
7666
  }
7599
- var settings$27 = {
7667
+ var settings$29 = {
7600
7668
  key: "settings",
7601
7669
  name: "x-runtime-lib.settings",
7602
7670
  children: [
@@ -7656,8 +7724,8 @@ const chipGroupV1 = {
7656
7724
  name: "x-runtime-lib.chipGroup",
7657
7725
  comp: v1_default$35,
7658
7726
  properties: {
7659
- pageUi: [basicV1, settings$27],
7660
- compUi: [basicV1, settings$27]
7727
+ pageUi: [basicV1, settings$29],
7728
+ compUi: [basicV1, settings$29]
7661
7729
  },
7662
7730
  spawn: spawn$11
7663
7731
  };
@@ -7673,7 +7741,7 @@ const colorPickerV1 = {
7673
7741
  leaf: !0
7674
7742
  };
7675
7743
  regElement(colorPickerV1);
7676
- var settings$26 = {
7744
+ var settings$28 = {
7677
7745
  key: "settings",
7678
7746
  name: "x-runtime-lib.settings",
7679
7747
  children: [
@@ -7720,15 +7788,15 @@ const comboboxV1 = {
7720
7788
  name: "x-runtime-lib.combobox",
7721
7789
  comp: v1_default$33,
7722
7790
  properties: {
7723
- pageUi: [basicV1, settings$26],
7724
- compUi: [basicV1, settings$26]
7791
+ pageUi: [basicV1, settings$28],
7792
+ compUi: [basicV1, settings$28]
7725
7793
  },
7726
7794
  leaf: !0
7727
7795
  };
7728
7796
  regElement(comboboxV1);
7729
7797
  var backgroundColor$2 = cloneDeep_default(colorV1);
7730
7798
  backgroundColor$2.key = "backgroundColor", backgroundColor$2.name = "x-runtime-lib.backgroundColor";
7731
- var settings$25 = {
7799
+ var settings$27 = {
7732
7800
  key: "settings",
7733
7801
  name: "x-runtime-lib.settings",
7734
7802
  children: [backgroundColor$2]
@@ -7744,7 +7812,7 @@ const containerV1 = {
7744
7812
  borderV1,
7745
7813
  marginV1,
7746
7814
  paddingV1,
7747
- settings$25
7815
+ settings$27
7748
7816
  ],
7749
7817
  compUi: [
7750
7818
  basicV1,
@@ -7752,7 +7820,7 @@ const containerV1 = {
7752
7820
  borderV1,
7753
7821
  marginV1,
7754
7822
  paddingV1,
7755
- settings$25
7823
+ settings$27
7756
7824
  ]
7757
7825
  },
7758
7826
  events: [{
@@ -7765,10 +7833,12 @@ function spawn$10(e, u) {
7765
7833
  let d = createNode(e, u, "ui_data_table_v1");
7766
7834
  return d.settings.headers = [{
7767
7835
  value: "name",
7768
- title: "Name"
7836
+ title: "Name",
7837
+ detail: {}
7769
7838
  }, {
7770
7839
  value: "price",
7771
- title: "Price"
7840
+ title: "Price",
7841
+ detail: {}
7772
7842
  }], d.settings.data = "[\n { \"name\": \"Apple\", \"price\": 5.5 },\n { \"name\": \"Orange\", \"price\": 3.0 },\n { \"name\": \"Berry\", \"price\": 13.5 }\n]", {
7773
7843
  nodeLite: toNodeLite(d),
7774
7844
  nodes: { [d.basic.id]: d }
@@ -7790,7 +7860,7 @@ var size$1 = {
7790
7860
  types: "sizeTypesV1",
7791
7861
  default: ""
7792
7862
  }]
7793
- }, settings$24 = {
7863
+ }, settings$26 = {
7794
7864
  key: "settings",
7795
7865
  name: "x-runtime-lib.settings",
7796
7866
  children: [
@@ -7817,44 +7887,50 @@ var size$1 = {
7817
7887
  default: ""
7818
7888
  },
7819
7889
  {
7820
- key: "fixed",
7821
- name: "x-runtime-lib.fixed",
7822
- ui: "switch",
7823
- default: !1
7824
- },
7825
- {
7826
- key: "align",
7827
- name: "x-runtime-lib.align",
7828
- ui: "multiTypes",
7829
- types: "tableColumnAlignTypesV1",
7830
- default: "start"
7831
- },
7832
- {
7833
- key: "width",
7834
- name: "x-runtime-lib.width",
7835
- ui: "multiTypes",
7836
- types: "sizeTypesV1",
7837
- default: ""
7838
- },
7839
- {
7840
- key: "minWidth",
7841
- name: "x-runtime-lib.minWidth",
7842
- ui: "multiTypes",
7843
- types: "sizeTypesV1",
7844
- default: ""
7845
- },
7846
- {
7847
- key: "maxWidth",
7848
- name: "x-runtime-lib.maxWidth",
7849
- ui: "multiTypes",
7850
- types: "sizeTypesV1",
7851
- default: ""
7852
- },
7853
- {
7854
- key: "sortable",
7855
- name: "x-runtime-lib.sortable",
7856
- ui: "switch",
7857
- default: !1
7890
+ key: "detail",
7891
+ name: "x-runtime-lib.detail",
7892
+ children: [
7893
+ {
7894
+ key: "fixed",
7895
+ name: "x-runtime-lib.fixed",
7896
+ ui: "switch",
7897
+ default: !1
7898
+ },
7899
+ {
7900
+ key: "align",
7901
+ name: "x-runtime-lib.align",
7902
+ ui: "multiTypes",
7903
+ types: "tableColumnAlignTypesV1",
7904
+ default: "start"
7905
+ },
7906
+ {
7907
+ key: "width",
7908
+ name: "x-runtime-lib.width",
7909
+ ui: "multiTypes",
7910
+ types: "sizeTypesV1",
7911
+ default: ""
7912
+ },
7913
+ {
7914
+ key: "minWidth",
7915
+ name: "x-runtime-lib.minWidth",
7916
+ ui: "multiTypes",
7917
+ types: "sizeTypesV1",
7918
+ default: ""
7919
+ },
7920
+ {
7921
+ key: "maxWidth",
7922
+ name: "x-runtime-lib.maxWidth",
7923
+ ui: "multiTypes",
7924
+ types: "sizeTypesV1",
7925
+ default: ""
7926
+ },
7927
+ {
7928
+ key: "sortable",
7929
+ name: "x-runtime-lib.sortable",
7930
+ ui: "switch",
7931
+ default: !1
7932
+ }
7933
+ ]
7858
7934
  }
7859
7935
  ],
7860
7936
  array: !0,
@@ -7927,13 +8003,13 @@ const dataTableV1 = {
7927
8003
  pageUi: [
7928
8004
  basicV1,
7929
8005
  size$1,
7930
- settings$24,
8006
+ settings$26,
7931
8007
  slots$2
7932
8008
  ],
7933
8009
  compUi: [
7934
8010
  basicV1,
7935
8011
  size$1,
7936
- settings$24,
8012
+ settings$26,
7937
8013
  slots$2
7938
8014
  ]
7939
8015
  },
@@ -7963,13 +8039,23 @@ const datePickerV1 = {
7963
8039
  leaf: !0
7964
8040
  };
7965
8041
  regElement(datePickerV1);
8042
+ var settings$25 = {
8043
+ key: "settings",
8044
+ name: "x-runtime-lib.settings",
8045
+ children: [{
8046
+ key: "comp",
8047
+ name: "x-runtime-lib.comp",
8048
+ ui: "selectComp",
8049
+ default: void 0
8050
+ }]
8051
+ };
7966
8052
  const dialogV1 = {
7967
8053
  key: "ui_dialog_v1",
7968
8054
  name: "x-runtime-lib.dialog",
7969
8055
  comp: v1_default$29,
7970
8056
  properties: {
7971
- pageUi: [basicV1],
7972
- compUi: [basicV1]
8057
+ pageUi: [basicV1, settings$25],
8058
+ compUi: [basicV1, settings$25]
7973
8059
  },
7974
8060
  methods: [{
7975
8061
  key: "open",
@@ -7978,10 +8064,20 @@ const dialogV1 = {
7978
8064
  key: "close",
7979
8065
  name: "x-runtime-lib.close"
7980
8066
  }],
7981
- teleport: !0
8067
+ slots: [{
8068
+ key: "content",
8069
+ name: "x-runtime-lib.content",
8070
+ properties: [{
8071
+ key: "open",
8072
+ name: "x-runtime-lib.open",
8073
+ type: "boolean"
8074
+ }]
8075
+ }],
8076
+ teleport: !0,
8077
+ leaf: !0
7982
8078
  };
7983
8079
  regElement(dialogV1);
7984
- var settings$23 = {
8080
+ var settings$24 = {
7985
8081
  key: "settings",
7986
8082
  name: "x-runtime-lib.settings",
7987
8083
  children: []
@@ -7991,8 +8087,8 @@ const fileInputV1 = {
7991
8087
  name: "x-runtime-lib.fileInput",
7992
8088
  comp: v1_default$28,
7993
8089
  properties: {
7994
- pageUi: [basicV1, settings$23],
7995
- compUi: [basicV1, settings$23]
8090
+ pageUi: [basicV1, settings$24],
8091
+ compUi: [basicV1, settings$24]
7996
8092
  },
7997
8093
  leaf: !0
7998
8094
  };
@@ -8031,7 +8127,7 @@ function spawnContainer(e, u, d, f, p, m, g, _, v) {
8031
8127
  }
8032
8128
  var backgroundColor$1 = cloneDeep_default(colorV1);
8033
8129
  backgroundColor$1.key = "backgroundColor", backgroundColor$1.name = "x-runtime-lib.backgroundColor";
8034
- var settings$22 = {
8130
+ var settings$23 = {
8035
8131
  key: "settings",
8036
8132
  name: "x-runtime-lib.settings",
8037
8133
  children: [
@@ -8213,7 +8309,7 @@ const flexLayoutV1 = {
8213
8309
  borderV1,
8214
8310
  marginV1,
8215
8311
  paddingV1,
8216
- settings$22
8312
+ settings$23
8217
8313
  ],
8218
8314
  compUi: [
8219
8315
  basicV1,
@@ -8221,7 +8317,7 @@ const flexLayoutV1 = {
8221
8317
  borderV1,
8222
8318
  marginV1,
8223
8319
  paddingV1,
8224
- settings$22
8320
+ settings$23
8225
8321
  ]
8226
8322
  },
8227
8323
  events: [{
@@ -8231,7 +8327,7 @@ const flexLayoutV1 = {
8231
8327
  spawn: spawn$9
8232
8328
  };
8233
8329
  regElement(flexLayoutV1);
8234
- var settings$21 = {
8330
+ var settings$22 = {
8235
8331
  key: "settings",
8236
8332
  name: "x-runtime-lib.settings",
8237
8333
  children: [{
@@ -8254,12 +8350,12 @@ const flexLayoutEntryV1 = {
8254
8350
  pageUi: [
8255
8351
  basicV1,
8256
8352
  sizeV1,
8257
- settings$21
8353
+ settings$22
8258
8354
  ],
8259
8355
  compUi: [
8260
8356
  basicV1,
8261
8357
  sizeV1,
8262
- settings$21
8358
+ settings$22
8263
8359
  ]
8264
8360
  }
8265
8361
  };
@@ -8281,7 +8377,7 @@ function spawnTextField(e, u) {
8281
8377
  nodes: { [d.basic.id]: d }
8282
8378
  };
8283
8379
  }
8284
- var settings$20 = {
8380
+ var settings$21 = {
8285
8381
  key: "settings",
8286
8382
  name: "x-runtime-lib.settings",
8287
8383
  children: [{
@@ -8308,7 +8404,7 @@ const formV1 = {
8308
8404
  borderV1,
8309
8405
  marginV1,
8310
8406
  paddingV1,
8311
- settings$20
8407
+ settings$21
8312
8408
  ],
8313
8409
  compUi: [
8314
8410
  basicV1,
@@ -8316,7 +8412,7 @@ const formV1 = {
8316
8412
  borderV1,
8317
8413
  marginV1,
8318
8414
  paddingV1,
8319
- settings$20
8415
+ settings$21
8320
8416
  ]
8321
8417
  },
8322
8418
  events: [{
@@ -8326,7 +8422,7 @@ const formV1 = {
8326
8422
  spawn: spawn$8
8327
8423
  };
8328
8424
  regElement(formV1);
8329
- var settings$19 = {
8425
+ var settings$20 = {
8330
8426
  key: "settings",
8331
8427
  name: "x-runtime-lib.settings",
8332
8428
  children: [
@@ -8357,19 +8453,29 @@ const iconV1 = {
8357
8453
  name: "x-runtime-lib.icon",
8358
8454
  comp: v1_default$24,
8359
8455
  properties: {
8360
- pageUi: [basicV1, settings$19],
8361
- compUi: [basicV1, settings$19]
8456
+ pageUi: [basicV1, settings$20],
8457
+ compUi: [basicV1, settings$20]
8362
8458
  },
8363
8459
  leaf: !0
8364
8460
  };
8365
8461
  regElement(iconV1);
8462
+ var settings$19 = {
8463
+ key: "settings",
8464
+ name: "x-runtime-lib.settings",
8465
+ children: [{
8466
+ key: "comp",
8467
+ name: "x-runtime-lib.comp",
8468
+ ui: "selectComp",
8469
+ default: void 0
8470
+ }]
8471
+ };
8366
8472
  const menuV1 = {
8367
8473
  key: "ui_menu_v1",
8368
8474
  name: "x-runtime-lib.menu",
8369
8475
  comp: v1_default$23,
8370
8476
  properties: {
8371
- pageUi: [basicV1],
8372
- compUi: [basicV1]
8477
+ pageUi: [basicV1, settings$19],
8478
+ compUi: [basicV1, settings$19]
8373
8479
  },
8374
8480
  methods: [{
8375
8481
  key: "open",
@@ -8378,7 +8484,17 @@ const menuV1 = {
8378
8484
  key: "close",
8379
8485
  name: "x-runtime-lib.close"
8380
8486
  }],
8381
- teleport: !0
8487
+ slots: [{
8488
+ key: "content",
8489
+ name: "x-runtime-lib.content",
8490
+ properties: [{
8491
+ key: "open",
8492
+ name: "x-runtime-lib.open",
8493
+ type: "boolean"
8494
+ }]
8495
+ }],
8496
+ teleport: !0,
8497
+ leaf: !0
8382
8498
  };
8383
8499
  regElement(menuV1);
8384
8500
  function spawn$7(e, u) {
@@ -11257,21 +11373,21 @@ var PromiseManager = class {
11257
11373
  this.debugTrace(makeFuncInfo("callMethod", e, u, d));
11258
11374
  let { kind: f, nodeId: p, methodKey: m } = unwrapMethodId(e), g = this.getNode(p);
11259
11375
  if (!g) throw errors.nodeNotFound;
11260
- if (f === "elementMethod") return await this.callElementMethod(e, d, g.basic.key, m);
11376
+ if (f === "elementMethod") return await this.callElementMethod(e, d, p, g.basic.key, m);
11261
11377
  if (f === "refMethod") return await this.callRefMethod(e, d, p, m);
11262
11378
  if (f === "multipleRefMethod") return await this.callMultipleRefMethod(e, u, d, p, m);
11263
11379
  if (f === "elementAdaptSlotMethod") return await this.callElementAdaptSlotMethod(e, d, m);
11264
11380
  if (f === "customAdaptSlotMethod") return await this.callCustomAdaptSlotMethod(e, d, m);
11265
11381
  console.assert(!1);
11266
11382
  }
11267
- async callElementMethod(e, u, d, f) {
11268
- if (!this.isValidOfElementMethod(d, f)) throw console.log(`Sandbox/callElementMethod invalid element method id=${e}`), errors.invalidElementMethod;
11269
- let p = {};
11270
- return this.eventBus.emit(e, {
11271
- key: f,
11383
+ async callElementMethod(e, u, d, f, p) {
11384
+ if (!this.isValidOfElementMethod(f, p)) throw console.log(`Sandbox/callElementMethod invalid element method id=${e}`), errors.invalidElementMethod;
11385
+ let m = {};
11386
+ return this.eventBus.emit(`method/${d}/${p}`, {
11387
+ key: p,
11272
11388
  inputs: u,
11273
- outputs: p
11274
- }), p;
11389
+ outputs: m
11390
+ }), m;
11275
11391
  }
11276
11392
  async callRefMethod(e, u, d, f) {
11277
11393
  let p = this.children[d];
@@ -11582,8 +11698,8 @@ var __rolldown_dynamic_import_helper_default = (e, u, d) => {
11582
11698
  };
11583
11699
  async function loadLocaleMessageRuntime(e) {
11584
11700
  return (await __rolldown_dynamic_import_helper_default({
11585
- "./locales/en/index.ts": () => import("./en.ir8xuv6o.js"),
11586
- "./locales/zhHans/index.ts": () => import("./zhHans.hkzhvcpm.js")
11701
+ "./locales/en/index.ts": () => import("./en.otnq7oq6.js"),
11702
+ "./locales/zhHans/index.ts": () => import("./zhHans.b7y34n3l.js")
11587
11703
  }, `./locales/${e}/index.ts`, 4)).default;
11588
11704
  }
11589
11705
  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 };
@@ -0,0 +1,2 @@
1
+ import { t as zhHans_default } from "./i18n-zhHans.cd57r6e5.js";
2
+ export { zhHans_default as default };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "x-runtime-lib",
3
3
  "private": false,
4
- "version": "0.8.218",
4
+ "version": "0.8.220",
5
5
  "type": "module",
6
6
  "module": "dist/index.js",
7
7
  "types": "dist/index.d.ts",
@@ -1,2 +0,0 @@
1
- import { t as en_default } from "./i18n-en.ddwcejba.js";
2
- export { en_default as default };
@@ -1,2 +0,0 @@
1
- import { t as zhHans_default } from "./i18n-zhHans.owbcmvq0.js";
2
- export { zhHans_default as default };