@vtj/designer 0.10.2 → 0.10.4

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.mjs CHANGED
@@ -16,10 +16,10 @@ import { PAGE_LIFE_CYCLES_LIST as po, APP_LIFE_CYCLE as mo, createUniAppComponen
16
16
  * Copyright (c) 2025, VTJ.PRO All rights reserved.
17
17
  * @name @vtj/designer
18
18
  * @author CHC chenhuachun1549@dingtalk.com
19
- * @version 0.10.2
19
+ * @version 0.10.4
20
20
  * @license <a href="https://vtj.pro/license.html">MIT License</a>
21
21
  */
22
- const kt = "0.10.2", hn = {
22
+ const kt = "0.10.4", hn = {
23
23
  width: 390,
24
24
  height: 844
25
25
  }, bn = {
@@ -2805,7 +2805,7 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
2805
2805
  _: 1
2806
2806
  }));
2807
2807
  }
2808
- }), Dd = /* @__PURE__ */ tt(Fr, [["__scopeId", "data-v-d44d0728"]]), Lr = /* @__PURE__ */ I({
2808
+ }), Id = /* @__PURE__ */ tt(Fr, [["__scopeId", "data-v-d44d0728"]]), Lr = /* @__PURE__ */ I({
2809
2809
  name: "PagesWidget",
2810
2810
  __name: "index",
2811
2811
  setup(i) {
@@ -8118,7 +8118,8 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
8118
8118
  modelValue: { default: () => ({
8119
8119
  type: "JSFunction",
8120
8120
  value: ""
8121
- }) }
8121
+ }) },
8122
+ defaultCode: { default: "" }
8122
8123
  },
8123
8124
  emits: ["change"],
8124
8125
  setup(i, { emit: t }) {
@@ -8175,7 +8176,7 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
8175
8176
  ref_key: "codeEditor",
8176
8177
  ref: l,
8177
8178
  height: "100%",
8178
- "model-value": a.value,
8179
+ "model-value": a.value || g.defaultCode,
8179
8180
  dark: ""
8180
8181
  }, null, 8, ["model-value"])
8181
8182
  ]),
@@ -8251,7 +8252,9 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
8251
8252
  }, 8, ["modelValue", "title"])) : E("", !0)
8252
8253
  ], 2));
8253
8254
  }
8254
- }), Mu = /* @__PURE__ */ I({
8255
+ }), Mu = `() => {
8256
+
8257
+ }`, Ju = /* @__PURE__ */ I({
8255
8258
  name: "UniConfigWidget",
8256
8259
  __name: "index",
8257
8260
  setup(i) {
@@ -8342,6 +8345,7 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
8342
8345
  default: h(() => [
8343
8346
  p(bl, {
8344
8347
  "model-value": l(o),
8348
+ "default-code": Mu,
8345
8349
  onChange: (u) => a(o, u)
8346
8350
  }, null, 8, ["model-value", "onChange"])
8347
8351
  ]),
@@ -8354,10 +8358,10 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
8354
8358
  _: 1
8355
8359
  }));
8356
8360
  }
8357
- }), Ju = {
8361
+ }), qu = {
8358
8362
  ref: "frame",
8359
8363
  src: "//localhost:9527/#/"
8360
- }, qu = /* @__PURE__ */ I({
8364
+ }, Hu = /* @__PURE__ */ I({
8361
8365
  name: "MarketWidget",
8362
8366
  __name: "index",
8363
8367
  setup(i, { expose: t }) {
@@ -8376,12 +8380,12 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
8376
8380
  ref: "panel"
8377
8381
  }, {
8378
8382
  default: h(() => [
8379
- j("iframe", Ju, null, 512)
8383
+ j("iframe", qu, null, 512)
8380
8384
  ]),
8381
8385
  _: 1
8382
8386
  }, 512));
8383
8387
  }
8384
- }), Hu = { class: "v-blocks__search" }, Gu = { class: "v-templates-widgets__title" }, Ku = { class: "v-box__name" }, Xu = { class: "v-box__label" }, Qu = { class: "use-handle" }, Yu = /* @__PURE__ */ I({
8388
+ }), Gu = { class: "v-blocks__search" }, Ku = { class: "v-templates-widgets__title" }, Xu = { class: "v-box__name" }, Qu = { class: "v-box__label" }, Yu = { class: "use-handle" }, Zu = /* @__PURE__ */ I({
8385
8389
  name: "TemplatesWidget",
8386
8390
  __name: "index",
8387
8391
  setup(i, { expose: t }) {
@@ -8433,7 +8437,7 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
8433
8437
  onRefresh: n(u)
8434
8438
  }, {
8435
8439
  default: h(() => [
8436
- j("div", Hu, [
8440
+ j("div", Gu, [
8437
8441
  p(n(ve), {
8438
8442
  size: "small",
8439
8443
  modelValue: g.value,
@@ -8502,11 +8506,11 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
8502
8506
  src: W.cover,
8503
8507
  fit: "contain"
8504
8508
  }, null, 8, ["src"]),
8505
- j("div", Gu, [
8506
- j("span", Ku, L(W.name), 1),
8507
- j("span", Xu, L(W.label), 1)
8509
+ j("div", Ku, [
8510
+ j("span", Xu, L(W.name), 1),
8511
+ j("span", Qu, L(W.label), 1)
8508
8512
  ]),
8509
- j("div", Qu, [
8513
+ j("div", Yu, [
8510
8514
  p(n(Z), {
8511
8515
  class: "v-templates-widgets__download",
8512
8516
  icon: n(Mt),
@@ -8547,7 +8551,7 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
8547
8551
  [n(Ol), n(v)]
8548
8552
  ]);
8549
8553
  }
8550
- }), Zu = /* @__PURE__ */ tt(Yu, [["__scopeId", "data-v-448e8cc7"]]), ec = /* @__PURE__ */ I({
8554
+ }), ec = /* @__PURE__ */ tt(Zu, [["__scopeId", "data-v-448e8cc7"]]), tc = /* @__PURE__ */ I({
8551
8555
  __name: "index",
8552
8556
  setup(i) {
8553
8557
  const t = de(), { access: e } = t.adapter || {};
@@ -8568,7 +8572,7 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
8568
8572
  src: l.value
8569
8573
  }, null, 8, ["icon", "src"]));
8570
8574
  }
8571
- }), tc = /* @__PURE__ */ tt(ec, [["__scopeId", "data-v-323306f2"]]), Q = {
8575
+ }), nc = /* @__PURE__ */ tt(tc, [["__scopeId", "data-v-323306f2"]]), Q = {
8572
8576
  Logo: qo,
8573
8577
  EmptyWidget: Go,
8574
8578
  Switcher: Qo,
@@ -8597,11 +8601,11 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
8597
8601
  Docs: $u,
8598
8602
  About: Nu,
8599
8603
  ProjectConfig: Wu,
8600
- UniConfig: Mu,
8601
- Market: qu,
8602
- Templates: Zu,
8603
- UserAvatar: tc
8604
- }, nc = [
8604
+ UniConfig: Ju,
8605
+ Market: Hu,
8606
+ Templates: ec,
8607
+ UserAvatar: nc
8608
+ }, lc = [
8605
8609
  {
8606
8610
  name: "Logo",
8607
8611
  region: "Brand",
@@ -8857,7 +8861,7 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
8857
8861
  region: "Status",
8858
8862
  component: Q.NodePath
8859
8863
  }
8860
- ], lc = [
8864
+ ], ac = [
8861
8865
  {
8862
8866
  package: "vue",
8863
8867
  version: "latest",
@@ -9063,7 +9067,7 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
9063
9067
  official: !0,
9064
9068
  enabled: !0
9065
9069
  }
9066
- ], ac = [
9070
+ ], sc = [
9067
9071
  {
9068
9072
  id: "html",
9069
9073
  category: "HTML"
@@ -9076,7 +9080,7 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
9076
9080
  id: "components",
9077
9081
  category: "内置组件"
9078
9082
  }
9079
- ], sc = [
9083
+ ], oc = [
9080
9084
  {
9081
9085
  name: "div",
9082
9086
  label: "容器",
@@ -9209,8 +9213,8 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
9209
9213
  children: "默认插槽内容"
9210
9214
  }
9211
9215
  }
9212
- ], oc = [
9213
- ...sc,
9216
+ ], rc = [
9217
+ ...oc,
9214
9218
  {
9215
9219
  name: "Transition",
9216
9220
  label: "过渡效果",
@@ -9550,23 +9554,23 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
9550
9554
  }
9551
9555
  }
9552
9556
  }
9553
- ], rc = [
9557
+ ], ic = [
9554
9558
  {
9555
9559
  name: _t,
9556
9560
  version: "latest",
9557
9561
  label: "内置",
9558
9562
  library: _t,
9559
9563
  order: 0,
9560
- categories: ac,
9561
- components: oc
9564
+ categories: sc,
9565
+ components: rc
9562
9566
  }
9563
- ], ic = /* @__PURE__ */ I({
9567
+ ], uc = /* @__PURE__ */ I({
9564
9568
  name: "StringSetter",
9565
9569
  __name: "string",
9566
9570
  setup(i) {
9567
9571
  return (t, e) => (c(), _(n(ve), ce({ clearable: "" }, t.$attrs), null, 16));
9568
9572
  }
9569
- }), uc = /* @__PURE__ */ I({
9573
+ }), cc = /* @__PURE__ */ I({
9570
9574
  name: "BooleanSetter",
9571
9575
  __name: "boolean",
9572
9576
  setup(i) {
@@ -9574,7 +9578,7 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
9574
9578
  "model-value": !!t.$attrs.modelValue
9575
9579
  }), null, 16, ["model-value"]));
9576
9580
  }
9577
- }), cc = "{{", dc = "}}", pc = /* @__PURE__ */ I({
9581
+ }), dc = "{{", pc = "}}", mc = /* @__PURE__ */ I({
9578
9582
  name: "ExpressionSetter",
9579
9583
  __name: "expression",
9580
9584
  props: {
@@ -9610,15 +9614,15 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
9610
9614
  onChange: o
9611
9615
  }, {
9612
9616
  prefix: h(() => [
9613
- M(L(cc))
9617
+ M(L(dc))
9614
9618
  ]),
9615
9619
  suffix: h(() => [
9616
- M(L(dc))
9620
+ M(L(pc))
9617
9621
  ]),
9618
9622
  _: 1
9619
9623
  }, 8, ["modelValue"]));
9620
9624
  }
9621
- }), mc = /* @__PURE__ */ I({
9625
+ }), vc = /* @__PURE__ */ I({
9622
9626
  name: "SelectSetter",
9623
9627
  __name: "select",
9624
9628
  props: {
@@ -9636,7 +9640,7 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
9636
9640
  _: 1
9637
9641
  }, 16));
9638
9642
  }
9639
- }), vc = /* @__PURE__ */ I({
9643
+ }), gc = /* @__PURE__ */ I({
9640
9644
  name: "NumberSetter",
9641
9645
  __name: "number",
9642
9646
  props: {
@@ -9653,13 +9657,13 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
9653
9657
  "model-value": a.value
9654
9658
  }, s.$attrs, { onChange: r }), null, 16, ["model-value"]));
9655
9659
  }
9656
- }), gc = /* @__PURE__ */ I({
9660
+ }), fc = /* @__PURE__ */ I({
9657
9661
  name: "ColorSetter",
9658
9662
  __name: "color",
9659
9663
  setup(i) {
9660
9664
  return (t, e) => (c(), _(n(Ul), An(En(t.$attrs)), null, 16));
9661
9665
  }
9662
- }), fc = /* @__PURE__ */ I({
9666
+ }), hc = /* @__PURE__ */ I({
9663
9667
  name: "RadioSetter",
9664
9668
  __name: "radio",
9665
9669
  props: {
@@ -9691,7 +9695,7 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
9691
9695
  _: 1
9692
9696
  }, 16));
9693
9697
  }
9694
- }), hc = ["label", "title", "onClick"], bc = /* @__PURE__ */ I({
9698
+ }), bc = ["label", "title", "onClick"], yc = /* @__PURE__ */ I({
9695
9699
  name: "TagSetter",
9696
9700
  __name: "tag",
9697
9701
  props: {
@@ -9722,7 +9726,7 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
9722
9726
  }, null, 8, ["src"])) : (c(), D(z, { key: 1 }, [
9723
9727
  M(L(o.label), 1)
9724
9728
  ], 64))
9725
- ], 10, hc))), 256))
9729
+ ], 10, bc))), 256))
9726
9730
  ], 16));
9727
9731
  }
9728
9732
  }), _l = /* @__PURE__ */ I({
@@ -9753,7 +9757,7 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
9753
9757
  onChange: o
9754
9758
  }, u.$attrs), null, 16, ["unit", "with-unit", "modelValue"]));
9755
9759
  }
9756
- }), yc = { class: "v-image-setter__plus" }, _c = /* @__PURE__ */ I({
9760
+ }), _c = { class: "v-image-setter__plus" }, wc = /* @__PURE__ */ I({
9757
9761
  name: "ImageSetter",
9758
9762
  __name: "image",
9759
9763
  props: {
@@ -9790,14 +9794,14 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
9790
9794
  "on-remove": o
9791
9795
  }, u.$attrs), {
9792
9796
  default: h(() => [
9793
- j("span", yc, [
9797
+ j("span", _c, [
9794
9798
  p(n(Ue), { icon: n(so) }, null, 8, ["icon"])
9795
9799
  ])
9796
9800
  ]),
9797
9801
  _: 1
9798
9802
  }, 16, ["class", "file-list"]));
9799
9803
  }
9800
- }), wc = { class: "v-section-setter" }, kc = /* @__PURE__ */ I({
9804
+ }), kc = { class: "v-section-setter" }, Sc = /* @__PURE__ */ I({
9801
9805
  name: "SectionSetter",
9802
9806
  __name: "section",
9803
9807
  props: {
@@ -9817,7 +9821,7 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
9817
9821
  const r = () => {
9818
9822
  l("change", a.value.join(" ").trim());
9819
9823
  };
9820
- return (s, o) => (c(), D("div", wc, [
9824
+ return (s, o) => (c(), D("div", kc, [
9821
9825
  (c(!0), D(z, null, U(e.sections, (u) => (c(), _(_l, {
9822
9826
  name: u - 1,
9823
9827
  modelValue: a.value[u - 1],
@@ -9827,7 +9831,7 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
9827
9831
  }, null, 8, ["name", "modelValue", "onUpdate:modelValue"]))), 256))
9828
9832
  ]));
9829
9833
  }
9830
- }), Sc = { class: "v-slider-setter" }, xc = /* @__PURE__ */ I({
9834
+ }), xc = { class: "v-slider-setter" }, Cc = /* @__PURE__ */ I({
9831
9835
  name: "SliderSetter",
9832
9836
  __name: "slider",
9833
9837
  props: {
@@ -9848,7 +9852,7 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
9848
9852
  const r = () => {
9849
9853
  a.value = void 0, l("change", void 0), l("update:modelValue", void 0);
9850
9854
  };
9851
- return (s, o) => (c(), D("div", Sc, [
9855
+ return (s, o) => (c(), D("div", xc, [
9852
9856
  p(n(Wl), ce({ size: "small" }, s.$attrs, {
9853
9857
  modelValue: a.value,
9854
9858
  "onUpdate:modelValue": o[0] || (o[0] = (u) => a.value = u)
@@ -10120,7 +10124,7 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
10120
10124
  "discount-o",
10121
10125
  "ecard-pay",
10122
10126
  "envelop-o"
10123
- ], Cc = { class: "van-icon-setter" }, Vc = { class: "van-icon-setter__body" }, jc = { class: "van-icon-setter__content" }, Ac = { class: "van-icon-setter__list" }, Ec = ["onClick"], Dc = /* @__PURE__ */ I({
10127
+ ], Vc = { class: "van-icon-setter" }, jc = { class: "van-icon-setter__body" }, Ac = { class: "van-icon-setter__content" }, Ec = { class: "van-icon-setter__list" }, Dc = ["onClick"], Ic = /* @__PURE__ */ I({
10124
10128
  name: "VanIconSetter",
10125
10129
  __name: "index",
10126
10130
  props: {
@@ -10143,7 +10147,7 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
10143
10147
  }, m = () => {
10144
10148
  a.value = !0;
10145
10149
  };
10146
- return (b, f) => (c(), D("div", Cc, [
10150
+ return (b, f) => (c(), D("div", Vc, [
10147
10151
  p(n(ve), {
10148
10152
  size: l.size,
10149
10153
  readonly: "",
@@ -10185,7 +10189,7 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
10185
10189
  })
10186
10190
  ]),
10187
10191
  default: h(() => [
10188
- j("div", Vc, [
10192
+ j("div", jc, [
10189
10193
  p(n(ve), {
10190
10194
  size: l.size,
10191
10195
  "prefix-icon": n(qe),
@@ -10195,8 +10199,8 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
10195
10199
  placeholder: "请输入查询关键字",
10196
10200
  class: "van-icon-setter__input"
10197
10201
  }, null, 8, ["size", "prefix-icon", "modelValue"]),
10198
- j("div", jc, [
10199
- j("div", Ac, [
10202
+ j("div", Ac, [
10203
+ j("div", Ec, [
10200
10204
  (c(!0), D(z, null, U(u.value, (w) => (c(), D("i", {
10201
10205
  onClick: (y) => v(w),
10202
10206
  class: X([
@@ -10205,7 +10209,7 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
10205
10209
  "van-icon",
10206
10210
  "van-icon-setter__item"
10207
10211
  ])
10208
- }, null, 10, Ec))), 256)),
10212
+ }, null, 10, Dc))), 256)),
10209
10213
  u.value.length === 0 ? (c(), _(n(ue), {
10210
10214
  key: 0,
10211
10215
  class: "empty-wrapper"
@@ -10218,30 +10222,30 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
10218
10222
  }, 8, ["modelValue"])) : E("", !0)
10219
10223
  ]));
10220
10224
  }
10221
- }), Ic = /* @__PURE__ */ tt(Dc, [["__scopeId", "data-v-b0e9c57b"]]), ee = {
10222
- StringSetter: ic,
10223
- BooleanSetter: uc,
10224
- ExpressionSetter: pc,
10225
- SelectSetter: mc,
10226
- NumberSetter: vc,
10227
- ColorSetter: gc,
10225
+ }), $c = /* @__PURE__ */ tt(Ic, [["__scopeId", "data-v-b0e9c57b"]]), ee = {
10226
+ StringSetter: uc,
10227
+ BooleanSetter: cc,
10228
+ ExpressionSetter: mc,
10229
+ SelectSetter: vc,
10230
+ NumberSetter: gc,
10231
+ ColorSetter: fc,
10228
10232
  IconSetter: vl,
10229
10233
  JsonSetter: qt,
10230
10234
  FunctionSetter: bl,
10231
- RadioSetter: fc,
10232
- TagSetter: bc,
10235
+ RadioSetter: hc,
10236
+ TagSetter: yc,
10233
10237
  SizeSetter: _l,
10234
- ImageSetter: _c,
10235
- SectionSetter: kc,
10236
- SliderSetter: xc,
10238
+ ImageSetter: wc,
10239
+ SectionSetter: Sc,
10240
+ SliderSetter: Cc,
10237
10241
  FileSetter: rn,
10238
- VanIconSetter: Ic,
10242
+ VanIconSetter: $c,
10239
10243
  CssSetter: yl
10240
- }, $c = {
10244
+ }, Tc = {
10241
10245
  name: "StringSetter",
10242
10246
  component: ee.StringSetter,
10243
10247
  type: "String"
10244
- }, Tc = [
10248
+ }, Pc = [
10245
10249
  {
10246
10250
  name: "InputSetter",
10247
10251
  component: ee.StringSetter,
@@ -10384,14 +10388,14 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
10384
10388
  type: "String"
10385
10389
  }
10386
10390
  ];
10387
- class Pc {
10391
+ class Rc {
10388
10392
  constructor() {
10389
10393
  F(this, "widgets", {});
10390
10394
  this.widgets = this.createWidgets();
10391
10395
  }
10392
10396
  createWidgets() {
10393
10397
  const t = {};
10394
- for (const e of nc)
10398
+ for (const e of lc)
10395
10399
  t[e.name] = e;
10396
10400
  return t;
10397
10401
  }
@@ -10437,9 +10441,9 @@ class Pc {
10437
10441
  ).map((a, r) => (a.order = a.order ?? r, a)).sort((a, r) => (a.order ?? 0) - (r.order ?? 0)) : l;
10438
10442
  }
10439
10443
  }
10440
- const un = new Pc();
10441
- class Rc {
10442
- constructor(t = lc) {
10444
+ const un = new Rc();
10445
+ class Bc {
10446
+ constructor(t = ac) {
10443
10447
  this.deps = t;
10444
10448
  }
10445
10449
  /**
@@ -10506,16 +10510,16 @@ class Rc {
10506
10510
  e > -1 && this.deps.splice(e, 1);
10507
10511
  }
10508
10512
  }
10509
- const Bc = new Rc();
10510
- class Oc {
10513
+ const Oc = new Bc();
10514
+ class zc {
10511
10515
  constructor() {
10512
10516
  F(this, "setters", {});
10513
- F(this, "defaultSetter", $c);
10517
+ F(this, "defaultSetter", Tc);
10514
10518
  this.setters = this.createSetters();
10515
10519
  }
10516
10520
  createSetters() {
10517
10521
  const t = {};
10518
- for (const e of Tc)
10522
+ for (const e of Pc)
10519
10523
  t[e.name] = e;
10520
10524
  return t;
10521
10525
  }
@@ -10552,8 +10556,8 @@ class Oc {
10552
10556
  return Object.values(this.setters).filter((l) => l.type.toLowerCase() === t.toLowerCase()).map((l) => l.name);
10553
10557
  }
10554
10558
  }
10555
- const at = new Oc();
10556
- class zc {
10559
+ const at = new zc();
10560
+ class Fc {
10557
10561
  constructor() {
10558
10562
  F(this, "window");
10559
10563
  F(this, "engine");
@@ -10625,7 +10629,7 @@ class zc {
10625
10629
  return t;
10626
10630
  }
10627
10631
  }
10628
- function Fc(i, t) {
10632
+ function Lc(i, t) {
10629
10633
  return new Promise((e, l) => {
10630
10634
  const a = In(zr, {
10631
10635
  name: i,
@@ -10640,7 +10644,7 @@ function Fc(i, t) {
10640
10644
  a.mount(document.createElement("div"));
10641
10645
  });
10642
10646
  }
10643
- class Lc {
10647
+ class Uc {
10644
10648
  constructor(t, e, l, a) {
10645
10649
  F(this, "proxied", {});
10646
10650
  F(this, "document", null);
@@ -10739,7 +10743,7 @@ class Lc {
10739
10743
  const { name: m, params: b = [] } = d[0];
10740
10744
  return m === "default" && !b.length ? void 0 : d[0];
10741
10745
  }
10742
- const g = await Fc(t.name, d).catch(() => null);
10746
+ const g = await Lc(t.name, d).catch(() => null);
10743
10747
  if (!(g && g.name === "default" && (!g.params || g.params?.length === 0)))
10744
10748
  return g;
10745
10749
  }
@@ -10960,7 +10964,7 @@ class Lc {
10960
10964
  this.setSelected(null), this.setHover(null), this.setDragging(null), this.lines.value = [], t && e && this.unbindEvents(t, e), this.document = null;
10961
10965
  }
10962
10966
  }
10963
- class Uc {
10967
+ class Nc {
10964
10968
  constructor(t, e, l, a = null, r = null) {
10965
10969
  F(this, "app", null);
10966
10970
  F(this, "dsl", null);
@@ -11089,7 +11093,7 @@ class Uc {
11089
11093
  this.dispose(), this.render(t, e), this.designer?.selected.value && this.designer.setSelected(t);
11090
11094
  }
11091
11095
  }
11092
- class Nc extends qn {
11096
+ class Wc extends qn {
11093
11097
  constructor(e) {
11094
11098
  super();
11095
11099
  F(this, "contentWindow", null);
@@ -11098,7 +11102,7 @@ class Nc extends qn {
11098
11102
  F(this, "engine");
11099
11103
  F(this, "materialPath");
11100
11104
  F(this, "rendered", C(Symbol()));
11101
- F(this, "devtools", new zc());
11105
+ F(this, "devtools", new Fc());
11102
11106
  const { engine: l, materialPath: a } = e;
11103
11107
  this.engine = l, this.materialPath = a, window.Mock = il, J(this.engine.current, () => {
11104
11108
  this.refresh();
@@ -11108,7 +11112,7 @@ class Nc extends qn {
11108
11112
  J(
11109
11113
  [e, l, a, r, s, o],
11110
11114
  () => {
11111
- e.value && l.value.length && (this.resetReady(), this.renderer?.dispose(), this.renderer = null, this.setup(e.value, l.value), this.contentWindow && (this.designer.value?.dispose(), this.designer.value = new Lc(
11115
+ e.value && l.value.length && (this.resetReady(), this.renderer?.dispose(), this.renderer = null, this.setup(e.value, l.value), this.contentWindow && (this.designer.value?.dispose(), this.designer.value = new Uc(
11112
11116
  this.engine,
11113
11117
  this.contentWindow,
11114
11118
  l,
@@ -11209,7 +11213,7 @@ class Nc extends qn {
11209
11213
  b,
11210
11214
  r
11211
11215
  );
11212
- this.devtools.init(s, this.engine), this.renderer = new Uc(
11216
+ this.devtools.init(s, this.engine), this.renderer = new Nc(
11213
11217
  f,
11214
11218
  u,
11215
11219
  d,
@@ -11278,7 +11282,7 @@ class Nc extends qn {
11278
11282
  this.renderer?.dispose(), this.designer.value?.dispose(), this.contentWindow = null, this.renderer = null, this.designer.value = null, this.resetReady();
11279
11283
  }
11280
11284
  }
11281
- class Wc {
11285
+ class Mc {
11282
11286
  constructor(t, e) {
11283
11287
  F(this, "components", []);
11284
11288
  F(this, "componentMap", /* @__PURE__ */ new Map());
@@ -11318,7 +11322,7 @@ class Wc {
11318
11322
  return e;
11319
11323
  }
11320
11324
  load(t) {
11321
- const e = [...rc, ...t].filter((l) => !!l);
11325
+ const e = [...ic, ...t].filter((l) => !!l);
11322
11326
  e.sort((l, a) => l.order - a.order);
11323
11327
  for (let l of e)
11324
11328
  l.components && (this.components = this.components.concat(l.components));
@@ -11367,7 +11371,7 @@ class Wc {
11367
11371
  }
11368
11372
  }
11369
11373
  const wl = Symbol("VtjEngine"), Ft = "SAVE_BLOCK_FILE_FINISH";
11370
- class Id extends qn {
11374
+ class $d extends qn {
11371
11375
  constructor(e) {
11372
11376
  super();
11373
11377
  F(this, "app");
@@ -11412,7 +11416,7 @@ class Id extends qn {
11412
11416
  adapter: g,
11413
11417
  pageRouteName: d,
11414
11418
  install: m
11415
- }), this.assets = new Wc(this.service, this.provider), this.simulator = new Nc({
11419
+ }), this.assets = new Mc(this.service, this.provider), this.simulator = new Wc({
11416
11420
  engine: this,
11417
11421
  materialPath: v
11418
11422
  }), this.bindEvents(), this.init(r).then(this.render.bind(this)), Dn(this.dispose.bind(this));
@@ -11423,13 +11427,13 @@ class Id extends qn {
11423
11427
  const a = l.platform || "web";
11424
11428
  a === "uniapp" && un.set("UniConfig", {
11425
11429
  invisible: !1
11426
- }), l.dependencies = Bc.merge(l.dependencies || [], a), this.project.value = new sa(l), this.saveMaterials(), this.triggerReady();
11430
+ }), l.dependencies = Oc.merge(l.dependencies || [], a), this.project.value = new sa(l), this.saveMaterials(), this.triggerReady();
11427
11431
  }
11428
11432
  }
11429
11433
  render() {
11430
11434
  const e = n(this.container);
11431
11435
  if (e) {
11432
- const l = In(Mc);
11436
+ const l = In(Jc);
11433
11437
  this.options.install && l.use(this.options.install, this), l.provide(wl, Il(this)), l.mount(e), this.app = l;
11434
11438
  } else
11435
11439
  Be.warn("VTJEngine constructor param [ container ] is undefined");
@@ -11641,7 +11645,7 @@ const ze = I({
11641
11645
  ref: "widgetRef"
11642
11646
  });
11643
11647
  }
11644
- }), Mc = I({
11648
+ }), Jc = I({
11645
11649
  name: "SkeletonWrapper",
11646
11650
  setup() {
11647
11651
  const i = C(), t = de(), e = C({});
@@ -11656,7 +11660,7 @@ const ze = I({
11656
11660
  },
11657
11661
  render() {
11658
11662
  const { $props: i = {}, $attrs: t = {} } = this;
11659
- return Fe(Jc, { ...i, ...t, ref: "skeletonRef" });
11663
+ return Fe(qc, { ...i, ...t, ref: "skeletonRef" });
11660
11664
  },
11661
11665
  methods: {
11662
11666
  /**
@@ -11806,7 +11810,7 @@ const ze = I({
11806
11810
  removable: g,
11807
11811
  onRemove: m
11808
11812
  } = this;
11809
- return Fe(Yc, {
11813
+ return Fe(Zc, {
11810
11814
  context: i,
11811
11815
  current: t,
11812
11816
  name: e,
@@ -11834,7 +11838,7 @@ const ze = I({
11834
11838
  this.$emit("remove", i);
11835
11839
  }
11836
11840
  }
11837
- }), Jc = /* @__PURE__ */ I({
11841
+ }), qc = /* @__PURE__ */ I({
11838
11842
  name: "Skeletion",
11839
11843
  __name: "skeleton",
11840
11844
  props: {
@@ -11987,10 +11991,10 @@ const ze = I({
11987
11991
  _: 1
11988
11992
  }, 8, ["locale"]));
11989
11993
  }
11990
- }), qc = ["title"], Hc = { class: "v-setter__content" }, Gc = {
11994
+ }), Hc = ["title"], Gc = { class: "v-setter__content" }, Kc = {
11991
11995
  key: 0,
11992
11996
  class: "v-setter__input"
11993
- }, Kc = { class: "v-setter__action" }, Xc = "{{", Qc = "}}", Yc = /* @__PURE__ */ I({
11997
+ }, Xc = { class: "v-setter__action" }, Qc = "{{", Yc = "}}", Zc = /* @__PURE__ */ I({
11994
11998
  __name: "setter",
11995
11999
  props: {
11996
12000
  context: {},
@@ -12056,11 +12060,11 @@ const ze = I({
12056
12060
  }, 8, ["content"])) : (c(), D("span", {
12057
12061
  key: 1,
12058
12062
  title: e.name
12059
- }, L(e.label || e.name), 9, qc))
12063
+ }, L(e.label || e.name), 9, Hc))
12060
12064
  ]),
12061
12065
  default: h(() => [
12062
- j("div", Hc, [
12063
- s.value ? (c(), D("div", Gc, [
12066
+ j("div", Gc, [
12067
+ s.value ? (c(), D("div", Kc, [
12064
12068
  u.value ? E("", !0) : (c(), _(jn(s.value.component), ce({
12065
12069
  key: 0,
12066
12070
  current: e.current,
@@ -12079,15 +12083,15 @@ const ze = I({
12079
12083
  "model-value": "JSExpression"
12080
12084
  }, {
12081
12085
  prefix: h(() => [
12082
- M(L(Xc))
12086
+ M(L(Qc))
12083
12087
  ]),
12084
12088
  suffix: h(() => [
12085
- M(L(Qc))
12089
+ M(L(Yc))
12086
12090
  ]),
12087
12091
  _: 1
12088
12092
  })) : E("", !0)
12089
12093
  ])) : E("", !0),
12090
- j("div", Kc, [
12094
+ j("div", Xc, [
12091
12095
  e.variable ? (c(), _(n(ro), {
12092
12096
  key: 0,
12093
12097
  onClick: b,
@@ -12148,16 +12152,16 @@ const ze = I({
12148
12152
  _: 1
12149
12153
  }));
12150
12154
  }
12151
- }), Zc = { class: "v-empty-region" }, ed = /* @__PURE__ */ I({
12155
+ }), ed = { class: "v-empty-region" }, td = /* @__PURE__ */ I({
12152
12156
  name: "EmptyRegion",
12153
12157
  __name: "empty",
12154
12158
  props: {
12155
12159
  region: {}
12156
12160
  },
12157
12161
  setup(i) {
12158
- return (t, e) => (c(), D("div", Zc, "找不到符合【" + L(t.region) + "】名称的区域组件", 1));
12162
+ return (t, e) => (c(), D("div", ed, "找不到符合【" + L(t.region) + "】名称的区域组件", 1));
12159
12163
  }
12160
- }), td = { class: "v-brand-region" }, nd = /* @__PURE__ */ I({
12164
+ }), nd = { class: "v-brand-region" }, ld = /* @__PURE__ */ I({
12161
12165
  name: "BrandRegion",
12162
12166
  inheritAttrs: !1,
12163
12167
  __name: "brand",
@@ -12169,7 +12173,7 @@ const ze = I({
12169
12173
  return t({
12170
12174
  widgets: l,
12171
12175
  widgetsRef: a
12172
- }), (r, s) => (c(), D("div", td, [
12176
+ }), (r, s) => (c(), D("div", nd, [
12173
12177
  (c(!0), D(z, null, U(n(l), (o) => (c(), _(n(We), {
12174
12178
  ref_for: !0,
12175
12179
  ref_key: "widgetsRef",
@@ -12179,7 +12183,7 @@ const ze = I({
12179
12183
  }, null, 8, ["region", "widget"]))), 256))
12180
12184
  ]));
12181
12185
  }
12182
- }), ld = { class: "v-toolbar-region" }, ad = /* @__PURE__ */ I({
12186
+ }), ad = { class: "v-toolbar-region" }, sd = /* @__PURE__ */ I({
12183
12187
  name: "ToolbarRegion",
12184
12188
  __name: "toolbar",
12185
12189
  props: {
@@ -12191,7 +12195,7 @@ const ze = I({
12191
12195
  return t({
12192
12196
  widgets: l,
12193
12197
  widgetsRef: a
12194
- }), (r, s) => (c(), D("div", ld, [
12198
+ }), (r, s) => (c(), D("div", ad, [
12195
12199
  (c(!0), D(z, null, U(n(l), (o) => (c(), _(n(We), {
12196
12200
  ref_for: !0,
12197
12201
  ref_key: "widgetsRef",
@@ -12202,7 +12206,7 @@ const ze = I({
12202
12206
  }, null, 8, ["region", "widget", "preview"]))), 256))
12203
12207
  ]));
12204
12208
  }
12205
- }), sd = { class: "v-actions-region" }, od = /* @__PURE__ */ I({
12209
+ }), od = { class: "v-actions-region" }, rd = /* @__PURE__ */ I({
12206
12210
  name: "ActionsRegion",
12207
12211
  inheritAttrs: !1,
12208
12212
  __name: "actions",
@@ -12214,7 +12218,7 @@ const ze = I({
12214
12218
  return t({
12215
12219
  widgets: l,
12216
12220
  widgetsRef: a
12217
- }), (r, s) => (c(), D("div", sd, [
12221
+ }), (r, s) => (c(), D("div", od, [
12218
12222
  (c(!0), D(z, null, U(n(l), (o) => (c(), _(n(We), {
12219
12223
  ref_for: !0,
12220
12224
  ref_key: "widgetsRef",
@@ -12224,7 +12228,7 @@ const ze = I({
12224
12228
  }, null, 8, ["region", "widget"]))), 256))
12225
12229
  ]));
12226
12230
  }
12227
- }), rd = { class: "v-apps-region" }, id = { class: "v-apps-region__header" }, ud = { class: "v-apps-region__top" }, cd = { class: "v-apps-region__bottom" }, dd = { class: "v-apps-region__panels" }, pd = /* @__PURE__ */ I({
12231
+ }), id = { class: "v-apps-region" }, ud = { class: "v-apps-region__header" }, cd = { class: "v-apps-region__top" }, dd = { class: "v-apps-region__bottom" }, pd = { class: "v-apps-region__panels" }, md = /* @__PURE__ */ I({
12228
12232
  name: "AppsRegion",
12229
12233
  inheritAttrs: !1,
12230
12234
  __name: "apps",
@@ -12252,9 +12256,9 @@ const ze = I({
12252
12256
  const S = u.value.find((k) => k.name === y);
12253
12257
  g.value = S, m.value = S;
12254
12258
  }
12255
- }), (y, S) => (c(), D("div", rd, [
12256
- j("div", id, [
12257
- j("div", ud, [
12259
+ }), (y, S) => (c(), D("div", id, [
12260
+ j("div", ud, [
12261
+ j("div", cd, [
12258
12262
  (c(!0), D(z, null, U(u.value, (k) => (c(), _(n(kn), {
12259
12263
  key: `icon-${k.name}`,
12260
12264
  icon: k.icon,
@@ -12264,7 +12268,7 @@ const ze = I({
12264
12268
  onClick: (x) => b(k)
12265
12269
  }, null, 8, ["icon", "label", "active", "open", "onClick"]))), 128))
12266
12270
  ]),
12267
- j("div", cd, [
12271
+ j("div", dd, [
12268
12272
  (c(!0), D(z, null, U(v.value, (k) => (c(), _(n(kn), {
12269
12273
  key: `icon-${k.name}`,
12270
12274
  icon: k.icon,
@@ -12273,7 +12277,7 @@ const ze = I({
12273
12277
  }, null, 8, ["icon", "label", "onClick"]))), 128))
12274
12278
  ])
12275
12279
  ]),
12276
- j("div", dd, [
12280
+ j("div", pd, [
12277
12281
  (c(!0), D(z, null, U(u.value, (k) => (c(), _($n, {
12278
12282
  key: k.name
12279
12283
  }, [
@@ -12289,7 +12293,7 @@ const ze = I({
12289
12293
  ])
12290
12294
  ]));
12291
12295
  }
12292
- }), md = /* @__PURE__ */ I({
12296
+ }), vd = /* @__PURE__ */ I({
12293
12297
  name: "WorkspaceRegion",
12294
12298
  __name: "workspace",
12295
12299
  props: {
@@ -12368,7 +12372,7 @@ const ze = I({
12368
12372
  _: 1
12369
12373
  }, 8, ["items", "menus", "modelValue"]));
12370
12374
  }
12371
- }), vd = /* @__PURE__ */ I({
12375
+ }), gd = /* @__PURE__ */ I({
12372
12376
  name: "SettingsRegion",
12373
12377
  __name: "settings",
12374
12378
  props: {
@@ -12500,7 +12504,7 @@ const ze = I({
12500
12504
  _: 1
12501
12505
  })) : E("", !0);
12502
12506
  }
12503
- }), gd = { class: "v-status-region" }, fd = /* @__PURE__ */ I({
12507
+ }), fd = { class: "v-status-region" }, hd = /* @__PURE__ */ I({
12504
12508
  name: "StatusRegion",
12505
12509
  inheritAttrs: !1,
12506
12510
  __name: "status",
@@ -12512,7 +12516,7 @@ const ze = I({
12512
12516
  return t({
12513
12517
  widgets: l,
12514
12518
  widgetsRef: a
12515
- }), (r, s) => (c(), D("div", gd, [
12519
+ }), (r, s) => (c(), D("div", fd, [
12516
12520
  (c(!0), D(z, null, U(n(l), (o) => (c(), _(n(We), {
12517
12521
  ref_for: !0,
12518
12522
  ref_key: "widgetsRef",
@@ -12522,7 +12526,7 @@ const ze = I({
12522
12526
  }, null, 8, ["region", "widget"]))), 256))
12523
12527
  ]));
12524
12528
  }
12525
- }), hd = /* @__PURE__ */ I({
12529
+ }), bd = /* @__PURE__ */ I({
12526
12530
  name: "PreviewRegion",
12527
12531
  __name: "preview",
12528
12532
  props: {
@@ -12566,46 +12570,46 @@ const ze = I({
12566
12570
  }, 8, ["items", "modelValue"]));
12567
12571
  }
12568
12572
  }), xn = {
12569
- EmptyRegion: ed,
12570
- Brand: nd,
12571
- Toolbar: ad,
12572
- Actions: od,
12573
- Apps: pd,
12574
- Workspace: md,
12575
- Settings: vd,
12576
- Status: fd,
12577
- Preview: hd
12573
+ EmptyRegion: td,
12574
+ Brand: ld,
12575
+ Toolbar: sd,
12576
+ Actions: rd,
12577
+ Apps: md,
12578
+ Workspace: vd,
12579
+ Settings: gd,
12580
+ Status: hd,
12581
+ Preview: bd
12578
12582
  };
12579
12583
  export {
12580
12584
  yo as API_METHOD_TYPES,
12581
- Wc as Assets,
12585
+ Mc as Assets,
12582
12586
  on as Binder,
12583
12587
  St as Box,
12584
- Lc as Designer,
12585
- zc as DevTools,
12588
+ Uc as Designer,
12589
+ Fc as DevTools,
12586
12590
  _o as EVENT_MODIFIERS,
12587
12591
  ae as Editor,
12588
- Id as Engine,
12592
+ $d as Engine,
12589
12593
  hi as EventBinder,
12590
12594
  kn as Icon,
12591
12595
  fe as Item,
12592
12596
  bo as KEYBOARD_EVENT_LIST,
12593
12597
  hn as MOBILE_SIZE,
12594
12598
  ho as MOUSE_EVENT_LIST,
12595
- Dd as MicroApp,
12599
+ Id as MicroApp,
12596
12600
  $e as NAME_REGEX,
12597
12601
  So as NPM_REGISTRY_URL,
12598
12602
  bn as PAD_SIZE,
12599
12603
  H as Panel,
12600
12604
  xo as RegionType,
12601
12605
  ze as RegionWrapper,
12602
- Uc as Renderer,
12606
+ Nc as Renderer,
12603
12607
  Ft as SAVE_BLOCK_FILE_FINISH,
12604
- Yc as SetterView,
12608
+ Zc as SetterView,
12605
12609
  q as SetterWrapper,
12606
- Nc as Simulator,
12607
- Jc as Skeleton,
12608
- Mc as SkeletonWrapper,
12610
+ Wc as Simulator,
12611
+ qc as Skeleton,
12612
+ Jc as SkeletonWrapper,
12609
12613
  zr as SlotsPicker,
12610
12614
  $t as Tabs,
12611
12615
  fo as VERSION_REGEX,
@@ -12618,14 +12622,14 @@ export {
12618
12622
  gl as Viewport,
12619
12623
  xe as WidgetGroup,
12620
12624
  We as WidgetWrapper,
12621
- lc as builtInDeps,
12622
- rc as builtInMaterials,
12623
- Tc as builtInSetters,
12624
- nc as builtInWidgets,
12625
+ ac as builtInDeps,
12626
+ ic as builtInMaterials,
12627
+ Pc as builtInSetters,
12628
+ lc as builtInWidgets,
12625
12629
  He as confirm,
12626
- Fc as createSlotsPicker,
12627
- $c as defaultSetter,
12628
- Bc as depsManager,
12630
+ Lc as createSlotsPicker,
12631
+ Tc as defaultSetter,
12632
+ Oc as depsManager,
12629
12633
  wl as engineKey,
12630
12634
  me as expressionValidate,
12631
12635
  Bo as getClassProperties,
package/package.json CHANGED
@@ -1,18 +1,18 @@
1
1
  {
2
2
  "name": "@vtj/designer",
3
3
  "private": false,
4
- "version": "0.10.2",
4
+ "version": "0.10.4",
5
5
  "type": "module",
6
6
  "dependencies": {
7
7
  "html2canvas": "~1.4.1",
8
8
  "mockjs": "~1.1.0",
9
9
  "monaco-editor": "~0.52.0",
10
- "@vtj/core": "~0.10.2",
11
- "@vtj/icons": "~0.10.2",
12
- "@vtj/uni": "~0.10.2",
13
- "@vtj/renderer": "~0.10.2",
14
- "@vtj/utils": "~0.10.2",
15
- "@vtj/ui": "~0.10.2"
10
+ "@vtj/core": "~0.10.4",
11
+ "@vtj/renderer": "~0.10.4",
12
+ "@vtj/icons": "~0.10.4",
13
+ "@vtj/uni": "~0.10.4",
14
+ "@vtj/utils": "~0.10.4",
15
+ "@vtj/ui": "~0.10.4"
16
16
  },
17
17
  "devDependencies": {
18
18
  "@types/mockjs": "~1.0.10",
@@ -3,6 +3,7 @@ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOp
3
3
  import { Props } from '../editor/Editor';
4
4
  export interface Props {
5
5
  modelValue?: JSFunction;
6
+ defaultCode?: string;
6
7
  }
7
8
  declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
8
9
  change: (...args: any[]) => void;
@@ -10,6 +11,7 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
10
11
  onChange?: ((...args: any[]) => any) | undefined;
11
12
  }>, {
12
13
  modelValue: JSFunction;
14
+ defaultCode: string;
13
15
  }, {}, {}, {}, string, ComponentProvideOptions, false, {
14
16
  codeEditor: CreateComponentPublicInstanceWithMixins<Readonly< Props> & Readonly<{
15
17
  onBlur?: ((...args: any[]) => any) | undefined;
@@ -103,6 +103,7 @@ export declare const setters: {
103
103
  onChange?: ((...args: any[]) => any) | undefined;
104
104
  }>, {
105
105
  modelValue: JSFunction;
106
+ defaultCode: string;
106
107
  }, {}, {}, {}, string, ComponentProvideOptions, false, {
107
108
  codeEditor: CreateComponentPublicInstanceWithMixins<Readonly< Props> & Readonly<{
108
109
  onBlur?: ((...args: any[]) => any) | undefined;
@@ -2,7 +2,7 @@
2
2
  * Copyright (c) 2025, VTJ.PRO All rights reserved.
3
3
  * @name @vtj/designer
4
4
  * @author CHC chenhuachun1549@dingtalk.com
5
- * @version 0.10.1
5
+ * @version 0.10.3
6
6
  * @license <a href="https://vtj.pro/license.html">MIT License</a>
7
7
  */
8
- export declare const version = "0.10.1";
8
+ export declare const version = "0.10.3";