x-runtime-lib 0.8.211 → 0.8.212

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,7 +1,7 @@
1
1
  import { ElementProps } from '@/types';
2
- declare var __VLS_14: {};
2
+ declare var __VLS_8: {};
3
3
  type __VLS_Slots = {} & {
4
- default?: (props: typeof __VLS_14) => any;
4
+ default?: (props: typeof __VLS_8) => any;
5
5
  };
6
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
7
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
@@ -1,7 +1,7 @@
1
1
  import { ElementProps } from '@/types';
2
- declare var __VLS_8: {};
2
+ declare var __VLS_14: {};
3
3
  type __VLS_Slots = {} & {
4
- default?: (props: typeof __VLS_8) => any;
4
+ default?: (props: typeof __VLS_14) => any;
5
5
  };
6
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
7
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
@@ -1,7 +1,7 @@
1
1
  import { ElementProps } from '@/types';
2
- declare var __VLS_8: {};
2
+ declare var __VLS_14: {};
3
3
  type __VLS_Slots = {} & {
4
- default?: (props: typeof __VLS_8) => any;
4
+ default?: (props: typeof __VLS_14) => any;
5
5
  };
6
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
7
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
@@ -1,7 +1,7 @@
1
1
  import { ElementProps } from '@/types';
2
- declare var __VLS_8: {};
2
+ declare var __VLS_14: {};
3
3
  type __VLS_Slots = {} & {
4
- default?: (props: typeof __VLS_8) => any;
4
+ default?: (props: typeof __VLS_14) => any;
5
5
  };
6
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
7
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
@@ -1,7 +1,7 @@
1
1
  import { ElementProps } from '@/types';
2
- declare var __VLS_8: {};
2
+ declare var __VLS_14: {};
3
3
  type __VLS_Slots = {} & {
4
- default?: (props: typeof __VLS_8) => any;
4
+ default?: (props: typeof __VLS_14) => any;
5
5
  };
6
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
7
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
@@ -0,0 +1,3 @@
1
+ import { NodePair } from '@/types';
2
+ export declare function spawn(type: string, subtype: string): NodePair;
3
+ export declare function spawnButton(type: string, subtype: string): NodePair;
@@ -0,0 +1,2 @@
1
+ import { t as en_default } from "./i18n-en.oe62c4of.js";
2
+ export { en_default as default };
@@ -80,6 +80,7 @@ var en_default = { "x-runtime-lib": {
80
80
  compNotAvail: "Comp Not Available",
81
81
  container: "Container",
82
82
  containment: "Containment",
83
+ content: "Content",
83
84
  continuous: "Continuous",
84
85
  controls: "Controls",
85
86
  crossAxisAlign: "Cross Axis Align",
@@ -133,6 +134,7 @@ var en_default = { "x-runtime-lib": {
133
134
  flat: "Flat",
134
135
  flexLayout: "Flex Layout",
135
136
  flexLayoutEntry: "Flex Layout Entry",
137
+ floating: "Floating",
136
138
  focus: "Focus",
137
139
  form: "Form",
138
140
  formRelated: "Form Related",
@@ -221,6 +223,7 @@ var en_default = { "x-runtime-lib": {
221
223
  notSet: "Not Set",
222
224
  numberInput: "Number Input",
223
225
  objects: "Objects",
226
+ offset: "Offset",
224
227
  oldScreenSize: "Old Screen Size",
225
228
  oldValue: "Old Value",
226
229
  open: "Open",
@@ -80,6 +80,7 @@ var zhHans_default = { "x-runtime-lib": {
80
80
  compNotAvail: "组件不可用",
81
81
  container: "容器",
82
82
  containment: "容器类",
83
+ content: "内容",
83
84
  continuous: "连续",
84
85
  controls: "控制",
85
86
  crossAxisAlign: "交叉轴对齐",
@@ -133,6 +134,7 @@ var zhHans_default = { "x-runtime-lib": {
133
134
  flat: "扁平",
134
135
  flexLayout: "弹性布局",
135
136
  flexLayoutEntry: "弹性布局条目",
137
+ floating: "漂浮",
136
138
  focus: "聚焦",
137
139
  form: "表单",
138
140
  formRelated: "表单相关",
@@ -221,6 +223,7 @@ var zhHans_default = { "x-runtime-lib": {
221
223
  notSet: "未设置",
222
224
  numberInput: "数字输入",
223
225
  objects: "对象",
226
+ offset: "偏移",
224
227
  oldScreenSize: "旧屏幕大小",
225
228
  oldValue: "旧值",
226
229
  open: "打开",
package/dist/index.js CHANGED
@@ -1019,7 +1019,6 @@ const compUi = [
1019
1019
  "ui_combobox_v1",
1020
1020
  "ui_switch_v1",
1021
1021
  "ui_radio_group_v1",
1022
- "ui_checkbox_v1",
1023
1022
  "ui_slider_v1",
1024
1023
  "ui_range_slider_v1",
1025
1024
  "ui_file_input_v1"
@@ -1062,7 +1061,7 @@ const compUi = [
1062
1061
  {
1063
1062
  key: "pickers",
1064
1063
  name: "x-runtime-lib.pickers",
1065
- items: ["ui_color_picker_v1", "ui_date_picker_v1"]
1064
+ items: []
1066
1065
  },
1067
1066
  {
1068
1067
  key: "dynamic",
@@ -1157,7 +1156,6 @@ const compUi = [
1157
1156
  "ui_combobox_v1",
1158
1157
  "ui_switch_v1",
1159
1158
  "ui_radio_group_v1",
1160
- "ui_checkbox_v1",
1161
1159
  "ui_slider_v1",
1162
1160
  "ui_range_slider_v1",
1163
1161
  "ui_file_input_v1"
@@ -1200,7 +1198,7 @@ const compUi = [
1200
1198
  {
1201
1199
  key: "pickers",
1202
1200
  name: "x-runtime-lib.pickers",
1203
- items: ["ui_color_picker_v1", "ui_date_picker_v1"]
1201
+ items: []
1204
1202
  },
1205
1203
  {
1206
1204
  key: "dynamic",
@@ -3312,25 +3310,22 @@ var echarts_default = core_exports, v1_default$49 = /* @__PURE__ */ defineCompon
3312
3310
  ]);
3313
3311
  return (e, p) => {
3314
3312
  let b = resolveComponent("v-badge");
3315
- return openBlock(), createBlock(unref(wrap_default), null, {
3316
- default: withCtx(() => [createVNode(b, {
3317
- content: unref(m),
3318
- dot: unref(g),
3319
- "offset-x": unref(v),
3320
- "offset-y": unref(y),
3321
- theme: unref(_)
3322
- }, {
3323
- default: withCtx(() => [renderSlot(e.$slots, "default")]),
3324
- _: 3
3325
- }, 8, [
3326
- "content",
3327
- "dot",
3328
- "offset-x",
3329
- "offset-y",
3330
- "theme"
3331
- ])]),
3313
+ return openBlock(), createBlock(b, {
3314
+ content: unref(m),
3315
+ dot: unref(g),
3316
+ "offset-x": unref(v),
3317
+ "offset-y": unref(y),
3318
+ theme: unref(_)
3319
+ }, {
3320
+ default: withCtx(() => [renderSlot(e.$slots, "default")]),
3332
3321
  _: 3
3333
- });
3322
+ }, 8, [
3323
+ "content",
3324
+ "dot",
3325
+ "offset-x",
3326
+ "offset-y",
3327
+ "theme"
3328
+ ]);
3334
3329
  };
3335
3330
  }
3336
3331
  }), v1_default$41 = /* @__PURE__ */ defineComponent({
@@ -3634,31 +3629,34 @@ var echarts_default = core_exports, v1_default$49 = /* @__PURE__ */ defineCompon
3634
3629
  let { node: p } = useElementBase(e), { property: m } = useElementProperty(p, ["settings", "column"]), { property: g } = useElementProperty(p, ["settings", "direction"]), { property: _ } = useElementProperty(p, ["settings", "disabled"]), { property: v } = useElementProperty(p, ["settings", "filter"]), { property: y } = useElementProperty(p, ["settings", "mandatory"]), { property: b } = useElementProperty(p, ["settings", "multiple"]), { property: x } = useElementProperty(p, ["settings", "showArrows"]), { theme: S } = useTheme(), { property: C } = useElementProperty(p, ["settings", "value"]);
3635
3630
  return (e, p) => {
3636
3631
  let w = resolveComponent("v-chip-group");
3637
- return openBlock(), createBlock(w, {
3638
- modelValue: unref(C),
3639
- "onUpdate:modelValue": p[0] ||= (e) => isRef(C) ? C.value = e : null,
3640
- column: unref(m),
3641
- direction: unref(g),
3642
- disabled: unref(_),
3643
- filter: unref(v),
3644
- mandatory: unref(y),
3645
- multiple: unref(b),
3646
- "show-arrows": unref(x),
3647
- theme: unref(S)
3648
- }, {
3649
- default: withCtx(() => [renderSlot(e.$slots, "default")]),
3632
+ return openBlock(), createBlock(unref(wrap_default), { mask: "" }, {
3633
+ default: withCtx(() => [createVNode(w, {
3634
+ modelValue: unref(C),
3635
+ "onUpdate:modelValue": p[0] ||= (e) => isRef(C) ? C.value = e : null,
3636
+ column: unref(m),
3637
+ direction: unref(g),
3638
+ disabled: unref(_),
3639
+ filter: unref(v),
3640
+ mandatory: unref(y),
3641
+ multiple: unref(b),
3642
+ "show-arrows": unref(x),
3643
+ theme: unref(S)
3644
+ }, {
3645
+ default: withCtx(() => [renderSlot(e.$slots, "default")]),
3646
+ _: 3
3647
+ }, 8, [
3648
+ "modelValue",
3649
+ "column",
3650
+ "direction",
3651
+ "disabled",
3652
+ "filter",
3653
+ "mandatory",
3654
+ "multiple",
3655
+ "show-arrows",
3656
+ "theme"
3657
+ ])]),
3650
3658
  _: 3
3651
- }, 8, [
3652
- "modelValue",
3653
- "column",
3654
- "direction",
3655
- "disabled",
3656
- "filter",
3657
- "mandatory",
3658
- "multiple",
3659
- "show-arrows",
3660
- "theme"
3661
- ]);
3659
+ });
3662
3660
  };
3663
3661
  }
3664
3662
  }), v1_default$34 = /* @__PURE__ */ defineComponent({
@@ -4328,18 +4326,38 @@ var echarts_default = core_exports, v1_default$49 = /* @__PURE__ */ defineCompon
4328
4326
  refContext: {}
4329
4327
  },
4330
4328
  setup(e) {
4331
- let { node: p } = useElementBase(e), { property: g } = useElementProperty(p, ["settings", "density"]), { property: _ } = useElementProperty(p, ["settings", "direction"]), { property: v } = useElementProperty(p, ["settings", "disabled"]), { property: y } = useElementProperty(p, ["settings", "hideDetails"]), { property: b } = useElementProperty(p, ["settings", "label"]), { property: x } = useElementProperty(p, ["settings", "max"]), { property: S } = useElementProperty(p, ["settings", "min"]), { property: C } = useElementProperty(p, ["settings", "readonly"]), { property: w } = useElementProperty(p, ["settings", "showTicks"]), T = computed(() => {
4329
+ let { node: p } = useElementBase(e), { property: g } = useElementProperty(p, ["settings", "density"]), { property: _ } = useElementProperty(p, ["settings", "direction"]), { property: v } = useElementProperty(p, ["settings", "disabled"]), { property: y } = useElementProperty(p, ["settings", "hideDetails"]), { property: b } = useElementProperty(p, ["settings", "label"]), { property: x } = useElementProperty(p, ["settings", "max"]), { property: S } = useElementProperty(p, ["settings", "min"]), { property: C } = useElementProperty(p, ["settings", "readonly"]), { property: w } = useElementProperty(p, [
4330
+ "settings",
4331
+ "tick",
4332
+ "show"
4333
+ ]), T = computed(() => {
4332
4334
  if (w.value === "always") return "always";
4333
4335
  if (w.value === "show") return !0;
4334
- }), { property: E } = useElementProperty(p, ["settings", "step"]), { theme: D } = useTheme(), { property: O } = useElementProperty(p, ["settings", "thumbLabel"]), k = computed(() => {
4336
+ }), { property: E } = useElementProperty(p, ["settings", "step"]), { theme: D } = useTheme(), { property: O } = useElementProperty(p, [
4337
+ "settings",
4338
+ "thumb",
4339
+ "showLabel"
4340
+ ]), k = computed(() => {
4335
4341
  if (O.value === "always") return "always";
4336
4342
  if (O.value === "show") return !0;
4337
- }), { property: A } = useElementProperty(p, ["settings", "thumbSize"]), { property: j } = useElementProperty(p, ["settings", "ticks"]), M = computed(() => {
4343
+ }), { property: A } = useElementProperty(p, [
4344
+ "settings",
4345
+ "thumb",
4346
+ "size"
4347
+ ]), { property: j } = useElementProperty(p, [
4348
+ "settings",
4349
+ "tick",
4350
+ "ticks"
4351
+ ]), M = computed(() => {
4338
4352
  if (!j.value) return;
4339
4353
  let e = {};
4340
4354
  for (let { value: p, label: m } of j.value) e[p] = m;
4341
4355
  if (!isEmpty_default(e)) return e;
4342
- }), { property: N } = useElementProperty(p, ["settings", "tickSize"]), { property: P } = useElementProperty(p, [
4356
+ }), { property: N } = useElementProperty(p, [
4357
+ "settings",
4358
+ "tick",
4359
+ "size"
4360
+ ]), { property: P } = useElementProperty(p, [
4343
4361
  "settings",
4344
4362
  "value",
4345
4363
  "start"
@@ -4627,19 +4645,25 @@ var echarts_default = core_exports, v1_default$49 = /* @__PURE__ */ defineCompon
4627
4645
  let { node: p } = useElementBase(e), { property: m } = useElementProperty(p, ["settings", "hideActions"]), { theme: g } = useTheme(), { property: _ } = useElementProperty(p, ["settings", "value"]);
4628
4646
  return (e, p) => {
4629
4647
  let v = resolveComponent("v-stepper");
4630
- return openBlock(), createBlock(v, {
4631
- modelValue: unref(_),
4632
- "onUpdate:modelValue": p[0] ||= (e) => isRef(_) ? _.value = e : null,
4633
- "hide-actions": unref(m),
4634
- theme: unref(g)
4648
+ return openBlock(), createBlock(unref(wrap_default), {
4649
+ block: "",
4650
+ mask: ""
4635
4651
  }, {
4636
- default: withCtx(() => [renderSlot(e.$slots, "default")]),
4652
+ default: withCtx(() => [createVNode(v, {
4653
+ modelValue: unref(_),
4654
+ "onUpdate:modelValue": p[0] ||= (e) => isRef(_) ? _.value = e : null,
4655
+ "hide-actions": unref(m),
4656
+ theme: unref(g)
4657
+ }, {
4658
+ default: withCtx(() => [renderSlot(e.$slots, "default")]),
4659
+ _: 3
4660
+ }, 8, [
4661
+ "modelValue",
4662
+ "hide-actions",
4663
+ "theme"
4664
+ ])]),
4637
4665
  _: 3
4638
- }, 8, [
4639
- "modelValue",
4640
- "hide-actions",
4641
- "theme"
4642
- ]);
4666
+ });
4643
4667
  };
4644
4668
  }
4645
4669
  }), _sfc_main$3 = {};
@@ -5293,36 +5317,42 @@ var v1_default$11 = /* @__PURE__ */ __plugin_vue_export_helper_default(_sfc_main
5293
5317
  ]), { theme: P } = useTheme();
5294
5318
  return (e, p) => {
5295
5319
  let v = resolveComponent("v-timeline");
5296
- return openBlock(), createBlock(v, {
5297
- align: unref(m),
5298
- density: unref(g),
5299
- direction: unref(_),
5300
- "dot-color": unref(S),
5301
- "fill-dot": unref(C),
5302
- "hide-opposite": unref(w),
5303
- "line-color": unref(k),
5304
- "line-inset": unref(A),
5305
- "line-thickness": unref(j),
5306
- side: unref(M),
5307
- theme: unref(P),
5308
- "truncate-line": unref(N)
5320
+ return openBlock(), createBlock(unref(wrap_default), {
5321
+ block: "",
5322
+ mask: ""
5309
5323
  }, {
5310
- default: withCtx(() => [renderSlot(e.$slots, "default")]),
5324
+ default: withCtx(() => [createVNode(v, {
5325
+ align: unref(m),
5326
+ density: unref(g),
5327
+ direction: unref(_),
5328
+ "dot-color": unref(S),
5329
+ "fill-dot": unref(C),
5330
+ "hide-opposite": unref(w),
5331
+ "line-color": unref(k),
5332
+ "line-inset": unref(A),
5333
+ "line-thickness": unref(j),
5334
+ side: unref(M),
5335
+ theme: unref(P),
5336
+ "truncate-line": unref(N)
5337
+ }, {
5338
+ default: withCtx(() => [renderSlot(e.$slots, "default")]),
5339
+ _: 3
5340
+ }, 8, [
5341
+ "align",
5342
+ "density",
5343
+ "direction",
5344
+ "dot-color",
5345
+ "fill-dot",
5346
+ "hide-opposite",
5347
+ "line-color",
5348
+ "line-inset",
5349
+ "line-thickness",
5350
+ "side",
5351
+ "theme",
5352
+ "truncate-line"
5353
+ ])]),
5311
5354
  _: 3
5312
- }, 8, [
5313
- "align",
5314
- "density",
5315
- "direction",
5316
- "dot-color",
5317
- "fill-dot",
5318
- "hide-opposite",
5319
- "line-color",
5320
- "line-inset",
5321
- "line-thickness",
5322
- "side",
5323
- "theme",
5324
- "truncate-line"
5325
- ]);
5355
+ });
5326
5356
  };
5327
5357
  }
5328
5358
  }), _sfc_main$1 = {};
@@ -5344,29 +5374,35 @@ var v1_default$2 = /* @__PURE__ */ __plugin_vue_export_helper_default(_sfc_main$
5344
5374
  let { node: p } = useElementBase(e), { property: m } = useElementProperty(p, ["settings", "continuous"]), { property: g } = useElementProperty(p, ["settings", "disabled"]), { property: _ } = useElementProperty(p, ["settings", "direction"]), { property: v } = useElementProperty(p, ["settings", "reverse"]), { property: y } = useElementProperty(p, ["settings", "showArrows"]), { property: b } = useElementProperty(p, ["settings", "touch"]), { theme: x } = useTheme(), { property: S } = useElementProperty(p, ["settings", "value"]);
5345
5375
  return (e, p) => {
5346
5376
  let C = resolveComponent("v-window");
5347
- return openBlock(), createBlock(C, {
5348
- modelValue: unref(S),
5349
- "onUpdate:modelValue": p[0] ||= (e) => isRef(S) ? S.value = e : null,
5350
- continuous: unref(m),
5351
- direction: unref(_),
5352
- disabled: unref(g),
5353
- reverse: unref(v),
5354
- "show-arrows": unref(y),
5355
- theme: unref(x),
5356
- touch: unref(b)
5377
+ return openBlock(), createBlock(unref(wrap_default), {
5378
+ block: "",
5379
+ mask: ""
5357
5380
  }, {
5358
- default: withCtx(() => [renderSlot(e.$slots, "default")]),
5381
+ default: withCtx(() => [createVNode(C, {
5382
+ modelValue: unref(S),
5383
+ "onUpdate:modelValue": p[0] ||= (e) => isRef(S) ? S.value = e : null,
5384
+ continuous: unref(m),
5385
+ direction: unref(_),
5386
+ disabled: unref(g),
5387
+ reverse: unref(v),
5388
+ "show-arrows": unref(y),
5389
+ theme: unref(x),
5390
+ touch: unref(b)
5391
+ }, {
5392
+ default: withCtx(() => [renderSlot(e.$slots, "default")]),
5393
+ _: 3
5394
+ }, 8, [
5395
+ "modelValue",
5396
+ "continuous",
5397
+ "direction",
5398
+ "disabled",
5399
+ "reverse",
5400
+ "show-arrows",
5401
+ "theme",
5402
+ "touch"
5403
+ ])]),
5359
5404
  _: 3
5360
- }, 8, [
5361
- "modelValue",
5362
- "continuous",
5363
- "direction",
5364
- "disabled",
5365
- "reverse",
5366
- "show-arrows",
5367
- "theme",
5368
- "touch"
5369
- ]);
5405
+ });
5370
5406
  };
5371
5407
  }
5372
5408
  }), _sfc_main = {};
@@ -5966,7 +6002,7 @@ const orbitControlsV1 = {
5966
6002
  leaf: !0
5967
6003
  };
5968
6004
  regElement(orbitControlsV1);
5969
- function spawn$19(e, p) {
6005
+ function spawn$20(e, p) {
5970
6006
  let m = createNode(e, p, "3d_mesh_v1");
5971
6007
  m.transform = {
5972
6008
  position: {
@@ -6073,10 +6109,10 @@ const boxGeometryV1 = {
6073
6109
  methods: [],
6074
6110
  slots: [],
6075
6111
  leaf: !0,
6076
- spawn: spawn$19
6112
+ spawn: spawn$20
6077
6113
  };
6078
6114
  regElement(boxGeometryV1);
6079
- function spawn$18(e, p) {
6115
+ function spawn$19(e, p) {
6080
6116
  let m = createNode(e, p, "3d_mesh_v1");
6081
6117
  m.transform = {
6082
6118
  position: {
@@ -6192,7 +6228,7 @@ const sphereGeometryV1 = {
6192
6228
  methods: [],
6193
6229
  slots: [],
6194
6230
  leaf: !0,
6195
- spawn: spawn$18
6231
+ spawn: spawn$19
6196
6232
  };
6197
6233
  regElement(sphereGeometryV1);
6198
6234
  var color$4 = cloneDeep_default(colorV1);
@@ -6422,7 +6458,7 @@ const meshV1 = {
6422
6458
  slots: []
6423
6459
  };
6424
6460
  regElement(meshV1);
6425
- function spawn$17(e, p) {
6461
+ function spawn$18(e, p) {
6426
6462
  let m = createNode(e, p, "ui_bar_chart_v1");
6427
6463
  return m.size.height = "300px", m.xAxis.data = [
6428
6464
  "Mon",
@@ -6492,10 +6528,10 @@ const barChartV1 = {
6492
6528
  ]
6493
6529
  },
6494
6530
  leaf: !0,
6495
- spawn: spawn$17
6531
+ spawn: spawn$18
6496
6532
  };
6497
6533
  regElement(barChartV1);
6498
- function spawn$16(e, p) {
6534
+ function spawn$17(e, p) {
6499
6535
  let m = createNode(e, p, "ui_line_chart_v1");
6500
6536
  return m.size.height = "300px", m.xAxis.data = [
6501
6537
  "Mon",
@@ -6565,7 +6601,7 @@ const lineChartV1 = {
6565
6601
  ]
6566
6602
  },
6567
6603
  leaf: !0,
6568
- spawn: spawn$16
6604
+ spawn: spawn$17
6569
6605
  };
6570
6606
  regElement(lineChartV1);
6571
6607
  var settings$39 = {
@@ -6841,6 +6877,25 @@ const globalityV1 = {
6841
6877
  internal: !0
6842
6878
  };
6843
6879
  regElement(globalityV1);
6880
+ function spawn$16(e, p) {
6881
+ let m = createNode(e, p, "ui_badge_v1");
6882
+ m.settings.content = "99";
6883
+ let g = spawnButton(e, p);
6884
+ return {
6885
+ nodeLite: toNodeLite(m, [g.nodeLite]),
6886
+ nodes: {
6887
+ [m.basic.id]: m,
6888
+ ...g.nodes
6889
+ }
6890
+ };
6891
+ }
6892
+ function spawnButton(e, p) {
6893
+ let m = createNode(e, p, "ui_btn_v1");
6894
+ return {
6895
+ nodeLite: toNodeLite(m),
6896
+ nodes: { [m.basic.id]: m }
6897
+ };
6898
+ }
6844
6899
  var settings$34 = {
6845
6900
  key: "settings",
6846
6901
  name: "x-runtime-lib.settings",
@@ -6874,6 +6929,21 @@ var settings$34 = {
6874
6929
  name: "x-runtime-lib.tile",
6875
6930
  ui: "switch",
6876
6931
  default: !1
6932
+ },
6933
+ {
6934
+ key: "offset",
6935
+ name: "x-runtime-lib.offset",
6936
+ children: [{
6937
+ key: "x",
6938
+ name: "x-runtime-lib.x",
6939
+ ui: "numInput",
6940
+ default: 0
6941
+ }, {
6942
+ key: "y",
6943
+ name: "x-runtime-lib.y",
6944
+ ui: "numInput",
6945
+ default: 0
6946
+ }]
6877
6947
  }
6878
6948
  ]
6879
6949
  };
@@ -6884,7 +6954,8 @@ const badgeV1 = {
6884
6954
  properties: {
6885
6955
  pageUi: [basicV1, settings$34],
6886
6956
  compUi: [basicV1, settings$34]
6887
- }
6957
+ },
6958
+ spawn: spawn$16
6888
6959
  };
6889
6960
  regElement(badgeV1);
6890
6961
  function spawn$15(e, p) {
@@ -8639,6 +8710,26 @@ var settings$14 = {
8639
8710
  ui: "numInput",
8640
8711
  default: 0
8641
8712
  },
8713
+ {
8714
+ key: "density",
8715
+ name: "x-runtime-lib.density",
8716
+ ui: "select",
8717
+ items: "densityItemsV1",
8718
+ default: "default"
8719
+ },
8720
+ {
8721
+ key: "direction",
8722
+ name: "x-runtime-lib.direction",
8723
+ ui: "select",
8724
+ items: "directionItemsV1",
8725
+ default: "horizontal"
8726
+ },
8727
+ {
8728
+ key: "label",
8729
+ name: "x-runtime-lib.label",
8730
+ ui: "strInput",
8731
+ default: ""
8732
+ },
8642
8733
  {
8643
8734
  key: "thumb",
8644
8735
  name: "x-runtime-lib.thumb",
@@ -8876,6 +8967,12 @@ var settings$11 = {
8876
8967
  ui: "numInput",
8877
8968
  default: 0
8878
8969
  },
8970
+ {
8971
+ key: "label",
8972
+ name: "x-runtime-lib.label",
8973
+ ui: "strInput",
8974
+ default: ""
8975
+ },
8879
8976
  {
8880
8977
  key: "thumbLabel",
8881
8978
  name: "x-runtime-lib.thumbLabel",
@@ -11336,8 +11433,8 @@ var __rolldown_dynamic_import_helper_default = (e, p, m) => {
11336
11433
  };
11337
11434
  async function loadLocaleMessageRuntime(e) {
11338
11435
  return (await __rolldown_dynamic_import_helper_default({
11339
- "./locales/en/index.ts": () => import("./en.i697tnok.js"),
11340
- "./locales/zhHans/index.ts": () => import("./zhHans.gqwi88s9.js")
11436
+ "./locales/en/index.ts": () => import("./en.b9dg6336.js"),
11437
+ "./locales/zhHans/index.ts": () => import("./zhHans.bg2jjusk.js")
11341
11438
  }, `./locales/${e}/index.ts`, 4)).default;
11342
11439
  }
11343
11440
  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, getBreakpointProp, getElement, getField, getImplementMethodName, getIndexOfBreakpoint, getNodeLite, getPropertyDefault, 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.eas9f0cs.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.211",
4
+ "version": "0.8.212",
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.diyn4ujs.js";
2
- export { en_default as default };
@@ -1,2 +0,0 @@
1
- import { t as zhHans_default } from "./i18n-zhHans.iv8hqbkx.js";
2
- export { zhHans_default as default };