@vtj/designer 0.19.5 → 0.19.6

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,4 @@
1
+ import { _ as f } from "./index-Z1VcK78M.js";
2
+ export {
3
+ f as default
4
+ };
@@ -19,10 +19,10 @@ import { editor as eh } from "monaco-editor";
19
19
  * Copyright (c) 2026, VTJ.PRO All rights reserved.
20
20
  * @name @vtj/designer
21
21
  * @author CHC chenhuachun1549@dingtalk.com
22
- * @version 0.19.5
22
+ * @version 0.19.6
23
23
  * @license <a href="https://vtj.pro/license.html">MIT License</a>
24
24
  */
25
- const Vr = "0.19.5", th = {
25
+ const Vr = "0.19.6", th = {
26
26
  width: 390,
27
27
  height: 844
28
28
  }, nh = {
@@ -8008,7 +8008,7 @@ const Bw = "data:image/svg+xml,%3csvg%20width='200'%20height='200'%20xmlns='http
8008
8008
  for (const [o, s] of t)
8009
8009
  n[o] = s;
8010
8010
  return n;
8011
- }, Zw = /* @__PURE__ */ vt(Yw, [["__scopeId", "data-v-3f069bbf"]]), Qw = { class: "v-toolbar-widget" }, e1 = /* @__PURE__ */ z({
8011
+ }, Zw = /* @__PURE__ */ vt(Yw, [["__scopeId", "data-v-3f069bbf"]]), Qw = { class: "v-toolbar-widget" }, e0 = /* @__PURE__ */ z({
8012
8012
  name: "ToolbarWidget",
8013
8013
  inheritAttrs: !1,
8014
8014
  __name: "index",
@@ -8138,7 +8138,7 @@ const Bw = "data:image/svg+xml,%3csvg%20width='200'%20height='200'%20xmlns='http
8138
8138
  }, null, 8, ["disabled", "modelValue"])
8139
8139
  ]));
8140
8140
  }
8141
- }), t1 = { class: "v-actions-widget__cover" }, n1 = /* @__PURE__ */ z({
8141
+ }), t0 = { class: "v-actions-widget__cover" }, n0 = /* @__PURE__ */ z({
8142
8142
  __name: "publisher",
8143
8143
  props: {
8144
8144
  id: {},
@@ -8230,7 +8230,7 @@ const Bw = "data:image/svg+xml,%3csvg%20width='200'%20height='200'%20xmlns='http
8230
8230
  default: k(() => [
8231
8231
  _(l(ne), { label: "截图" }, {
8232
8232
  editor: k(() => [
8233
- I("div", t1, [
8233
+ I("div", t0, [
8234
8234
  u.value ? (v(), A(l($s), {
8235
8235
  key: 0,
8236
8236
  src: u.value,
@@ -8317,23 +8317,23 @@ const Bw = "data:image/svg+xml,%3csvg%20width='200'%20height='200'%20xmlns='http
8317
8317
  _: 1
8318
8318
  }, 8, ["icon", "model"]));
8319
8319
  }
8320
- }), o1 = /* @__PURE__ */ vt(n1, [["__scopeId", "data-v-1448b860"]]), r1 = { class: "x-coder-result" }, s1 = ["href"], a1 = /* @__PURE__ */ z({
8320
+ }), o0 = /* @__PURE__ */ vt(n0, [["__scopeId", "data-v-1448b860"]]), r0 = { class: "x-coder-result" }, s0 = ["href"], a0 = /* @__PURE__ */ z({
8321
8321
  __name: "coder",
8322
8322
  props: {
8323
8323
  link: {}
8324
8324
  },
8325
8325
  setup(e) {
8326
- return (t, n) => (v(), $("div", r1, [
8326
+ return (t, n) => (v(), $("div", r0, [
8327
8327
  n[0] || (n[0] = I("div", null, "已生成源码项目,可通过以下链接下载(两小时内有效)。", -1)),
8328
8328
  I("div", null, [
8329
8329
  I("a", {
8330
8330
  href: e.link,
8331
8331
  target: "_blank"
8332
- }, te(e.link), 9, s1)
8332
+ }, te(e.link), 9, s0)
8333
8333
  ])
8334
8334
  ]));
8335
8335
  }
8336
- }), i1 = { class: "v-actions-widget__cover" }, l1 = /* @__PURE__ */ z({
8336
+ }), i0 = { class: "v-actions-widget__cover" }, l0 = /* @__PURE__ */ z({
8337
8337
  name: "Versioner",
8338
8338
  inheritAttrs: !1,
8339
8339
  __name: "versioner‌",
@@ -8439,7 +8439,7 @@ const Bw = "data:image/svg+xml,%3csvg%20width='200'%20height='200'%20xmlns='http
8439
8439
  default: k(() => [
8440
8440
  _(l(ne), { label: "截图" }, {
8441
8441
  editor: k(() => [
8442
- I("div", i1, [
8442
+ I("div", i0, [
8443
8443
  a.value ? (v(), A(l($s), {
8444
8444
  key: 0,
8445
8445
  src: a.value,
@@ -8517,7 +8517,7 @@ const Bw = "data:image/svg+xml,%3csvg%20width='200'%20height='200'%20xmlns='http
8517
8517
  _: 1
8518
8518
  }, 8, ["modelValue", "icon", "model"])) : L("", !0);
8519
8519
  }
8520
- }), c1 = /* @__PURE__ */ vt(l1, [["__scopeId", "data-v-864ffcec"]]), u1 = { class: "v-actions-widget" }, d1 = /* @__PURE__ */ z({
8520
+ }), c0 = /* @__PURE__ */ vt(l0, [["__scopeId", "data-v-864ffcec"]]), u0 = { class: "v-actions-widget" }, d0 = /* @__PURE__ */ z({
8521
8521
  name: "ActionsWidget",
8522
8522
  inheritAttrs: !1,
8523
8523
  __name: "index",
@@ -8582,7 +8582,7 @@ const Bw = "data:image/svg+xml,%3csvg%20width='200'%20height='200'%20xmlns='http
8582
8582
  height: "200px",
8583
8583
  title: "出码",
8584
8584
  icon: Qo,
8585
- content: co(a1, { link: C })
8585
+ content: co(a0, { link: C })
8586
8586
  });
8587
8587
  }, E = async () => {
8588
8588
  const w = o.project.value;
@@ -8639,7 +8639,7 @@ const Bw = "data:image/svg+xml,%3csvg%20width='200'%20height='200'%20xmlns='http
8639
8639
  preview: g,
8640
8640
  isPreview: i,
8641
8641
  refresh: p
8642
- }), (w, C) => (v(), $("div", u1, [
8642
+ }), (w, C) => (v(), $("div", u0, [
8643
8643
  L("", !0),
8644
8644
  L("", !0),
8645
8645
  _(l(Oe), {
@@ -8809,12 +8809,12 @@ const Bw = "data:image/svg+xml,%3csvg%20width='200'%20height='200'%20xmlns='http
8809
8809
  ]),
8810
8810
  _: 1
8811
8811
  })) : L("", !0),
8812
- c.value ? (v(), A(o1, xt({
8812
+ c.value ? (v(), A(o0, xt({
8813
8813
  key: 6,
8814
8814
  modelValue: c.value,
8815
8815
  "onUpdate:modelValue": C[0] || (C[0] = (S) => c.value = S)
8816
8816
  }, d.value), null, 16, ["modelValue"])) : L("", !0),
8817
- _(c1, {
8817
+ _(c0, {
8818
8818
  ref_key: "versionerRef",
8819
8819
  ref: f,
8820
8820
  canvas: u.value,
@@ -8825,7 +8825,7 @@ const Bw = "data:image/svg+xml,%3csvg%20width='200'%20height='200'%20xmlns='http
8825
8825
  }, null, 8, ["canvas", "getAppsInit", "postAppsVersions", "postDslDevPublish", "putAppsCurrentVersion"])
8826
8826
  ]));
8827
8827
  }
8828
- }), p1 = { class: "v-icon-setter" }, f1 = { class: "v-icon-setter__content" }, m1 = { class: "v-icon-setter__list" }, Pd = /* @__PURE__ */ z({
8828
+ }), p0 = { class: "v-icon-setter" }, f0 = { class: "v-icon-setter__content" }, m0 = { class: "v-icon-setter__list" }, Pd = /* @__PURE__ */ z({
8829
8829
  name: "IconSetter",
8830
8830
  __name: "icon",
8831
8831
  props: {
@@ -8848,7 +8848,7 @@ const Bw = "data:image/svg+xml,%3csvg%20width='200'%20height='200'%20xmlns='http
8848
8848
  }, p = () => {
8849
8849
  s.value = !0;
8850
8850
  };
8851
- return (m, g) => (v(), $("div", p1, [
8851
+ return (m, g) => (v(), $("div", p0, [
8852
8852
  _(l(ht), {
8853
8853
  size: n.size,
8854
8854
  readonly: "",
@@ -8887,7 +8887,7 @@ const Bw = "data:image/svg+xml,%3csvg%20width='200'%20height='200'%20xmlns='http
8887
8887
  })
8888
8888
  ]),
8889
8889
  default: k(() => [
8890
- I("div", f1, [
8890
+ I("div", f0, [
8891
8891
  _(l(ht), {
8892
8892
  size: n.size,
8893
8893
  "prefix-icon": l(_n),
@@ -8896,7 +8896,7 @@ const Bw = "data:image/svg+xml,%3csvg%20width='200'%20height='200'%20xmlns='http
8896
8896
  "onUpdate:modelValue": g[0] || (g[0] = (b) => a.value = b),
8897
8897
  placeholder: "请输入查询关键字"
8898
8898
  }, null, 8, ["size", "prefix-icon", "modelValue"]),
8899
- I("div", m1, [
8899
+ I("div", m0, [
8900
8900
  (v(!0), $(se, null, fe(c.value, (b) => (v(), A(l(on), {
8901
8901
  icon: b[1],
8902
8902
  onClick: (h) => d(b[0]),
@@ -8911,7 +8911,7 @@ const Bw = "data:image/svg+xml,%3csvg%20width='200'%20height='200'%20xmlns='http
8911
8911
  ]));
8912
8912
  }
8913
8913
  }), pt = Op({
8914
- loader: () => import("./Editor-BSldcfbb.js"),
8914
+ loader: () => import("./Editor-BBQKj0WM.js"),
8915
8915
  loadingComponent: z({
8916
8916
  render() {
8917
8917
  return co("div", "正在拼命加载...");
@@ -8922,7 +8922,7 @@ const Bw = "data:image/svg+xml,%3csvg%20width='200'%20height='200'%20xmlns='http
8922
8922
  return co("div", "组件加载失败!");
8923
8923
  }
8924
8924
  })
8925
- }), g1 = /* @__PURE__ */ z({
8925
+ }), g0 = /* @__PURE__ */ z({
8926
8926
  name: "PageForm",
8927
8927
  __name: "form",
8928
8928
  props: {
@@ -9371,7 +9371,7 @@ const Bw = "data:image/svg+xml,%3csvg%20width='200'%20height='200'%20xmlns='http
9371
9371
  } : void 0
9372
9372
  ]), 1032, ["class", "header"]));
9373
9373
  }
9374
- }), h1 = { class: "v-tabs__header" }, v1 = {
9374
+ }), h0 = { class: "v-tabs__header" }, v0 = {
9375
9375
  key: 0,
9376
9376
  class: "v-tabs__actions"
9377
9377
  }, qs = /* @__PURE__ */ z({
@@ -9415,7 +9415,7 @@ const Bw = "data:image/svg+xml,%3csvg%20width='200'%20height='200'%20xmlns='http
9415
9415
  radius: !1
9416
9416
  }, {
9417
9417
  header: k(() => [
9418
- I("div", h1, [
9418
+ I("div", h0, [
9419
9419
  _(l(js), {
9420
9420
  class: "v-tabs__tabs",
9421
9421
  items: n.items,
@@ -9434,7 +9434,7 @@ const Bw = "data:image/svg+xml,%3csvg%20width='200'%20height='200'%20xmlns='http
9434
9434
  key: "0"
9435
9435
  } : void 0
9436
9436
  ]), 1032, ["items", "modelValue", "stretch"]),
9437
- n.menus && n.menus.length ? (v(), $("div", v1, [
9437
+ n.menus && n.menus.length ? (v(), $("div", v0, [
9438
9438
  Yt(c.$slots, "menus", {
9439
9439
  menus: n.menus
9440
9440
  }, () => [
@@ -9475,10 +9475,10 @@ const Bw = "data:image/svg+xml,%3csvg%20width='200'%20height='200'%20xmlns='http
9475
9475
  _: 3
9476
9476
  }));
9477
9477
  }
9478
- }), b1 = {
9478
+ }), b0 = {
9479
9479
  key: 2,
9480
9480
  class: "v-item__index"
9481
- }, y1 = { class: "v-item__title-wrapper" }, _1 = { class: "v-item__content" }, w1 = {
9481
+ }, y0 = { class: "v-item__title-wrapper" }, _0 = { class: "v-item__content" }, w0 = {
9482
9482
  key: 3,
9483
9483
  class: "v-item__tags"
9484
9484
  }, Pt = /* @__PURE__ */ z({
@@ -9623,15 +9623,15 @@ const Bw = "data:image/svg+xml,%3csvg%20width='200'%20height='200'%20xmlns='http
9623
9623
  ]),
9624
9624
  _: 1
9625
9625
  }, 8, ["type"])) : L("", !0),
9626
- e.index !== void 0 ? (v(), $("span", b1, " # " + te(e.index), 1)) : L("", !0),
9627
- I("div", y1, [
9628
- I("span", _1, te(e.title), 1),
9626
+ e.index !== void 0 ? (v(), $("span", b0, " # " + te(e.index), 1)) : L("", !0),
9627
+ I("div", y0, [
9628
+ I("span", _0, te(e.title), 1),
9629
9629
  e.subtitle ? (v(), $("span", {
9630
9630
  key: 0,
9631
9631
  class: Te(["v-item__subtitle", o.subtitleCls])
9632
9632
  }, te(e.subtitle), 3)) : L("", !0)
9633
9633
  ]),
9634
- o.textTags ? (v(), $("div", w1, [
9634
+ o.textTags ? (v(), $("div", w0, [
9635
9635
  (v(!0), $(se, null, fe(o.textTags, (g) => (v(), $("span", null, te(g), 1))), 256))
9636
9636
  ])) : L("", !0)
9637
9637
  ])
@@ -9689,10 +9689,10 @@ const Bw = "data:image/svg+xml,%3csvg%20width='200'%20height='200'%20xmlns='http
9689
9689
  _: 3
9690
9690
  }, 8, ["class", "title"]));
9691
9691
  }
9692
- }), E1 = ["draggable"], k1 = {
9692
+ }), E0 = ["draggable"], k0 = {
9693
9693
  key: 1,
9694
9694
  class: "v-box__name"
9695
- }, S1 = { class: "v-box__label" }, Is = /* @__PURE__ */ z({
9695
+ }, S0 = { class: "v-box__label" }, Is = /* @__PURE__ */ z({
9696
9696
  name: "VBox",
9697
9697
  __name: "box",
9698
9698
  props: {
@@ -9759,8 +9759,8 @@ const Bw = "data:image/svg+xml,%3csvg%20width='200'%20height='200'%20xmlns='http
9759
9759
  class: "v-box__icon",
9760
9760
  icon: s(n.icon),
9761
9761
  size: 24
9762
- }, null, 8, ["icon"])) : (v(), $("span", k1, te(n.name), 1)),
9763
- I("span", S1, te(n.title), 1)
9762
+ }, null, 8, ["icon"])) : (v(), $("span", k0, te(n.name), 1)),
9763
+ I("span", S0, te(n.title), 1)
9764
9764
  ])
9765
9765
  ]),
9766
9766
  _: 3
@@ -9789,9 +9789,9 @@ const Bw = "data:image/svg+xml,%3csvg%20width='200'%20height='200'%20xmlns='http
9789
9789
  key: 1,
9790
9790
  class: Te(["v-box__tag", { [`is-${n.tagType}`]: !!n.tagType }])
9791
9791
  }, te(n.tag), 3)) : L("", !0)
9792
- ], 42, E1));
9792
+ ], 42, E0));
9793
9793
  }
9794
- }), x1 = { class: "v-context-viewer" }, C1 = { class: "v-context-viewer__body" }, T1 = { class: "v-context-viewer__tree" }, O1 = /* @__PURE__ */ z({
9794
+ }), x0 = { class: "v-context-viewer" }, C0 = { class: "v-context-viewer__body" }, T0 = { class: "v-context-viewer__tree" }, O0 = /* @__PURE__ */ z({
9795
9795
  __name: "viewer",
9796
9796
  props: {
9797
9797
  context: {}
@@ -9849,8 +9849,8 @@ const Bw = "data:image/svg+xml,%3csvg%20width='200'%20height='200'%20xmlns='http
9849
9849
  }, p = (m) => {
9850
9850
  o("pick", m.path);
9851
9851
  };
9852
- return (m, g) => (v(), $("div", x1, [
9853
- I("div", C1, [
9852
+ return (m, g) => (v(), $("div", x0, [
9853
+ I("div", C0, [
9854
9854
  _(l(ht), {
9855
9855
  modelValue: r.value,
9856
9856
  "onUpdate:modelValue": g[0] || (g[0] = (b) => r.value = b),
@@ -9859,7 +9859,7 @@ const Bw = "data:image/svg+xml,%3csvg%20width='200'%20height='200'%20xmlns='http
9859
9859
  "prefix-icon": l(_n),
9860
9860
  placeholder: "筛选可用项"
9861
9861
  }, null, 8, ["modelValue", "prefix-icon"]),
9862
- I("div", T1, [
9862
+ I("div", T0, [
9863
9863
  _(l(dt), { "border-style": "dotted" }, {
9864
9864
  default: k(() => [...g[1] || (g[1] = [
9865
9865
  re("可用项", -1)
@@ -9900,7 +9900,7 @@ const Bw = "data:image/svg+xml,%3csvg%20width='200'%20height='200'%20xmlns='http
9900
9900
  ])
9901
9901
  ]));
9902
9902
  }
9903
- }), A1 = /* @__PURE__ */ vt(O1, [["__scopeId", "data-v-0389d925"]]), Ui = /* @__PURE__ */ z({
9903
+ }), A0 = /* @__PURE__ */ vt(O0, [["__scopeId", "data-v-0389d925"]]), Ui = /* @__PURE__ */ z({
9904
9904
  __name: "binder",
9905
9905
  props: {
9906
9906
  title: {},
@@ -10095,7 +10095,7 @@ const Bw = "data:image/svg+xml,%3csvg%20width='200'%20height='200'%20xmlns='http
10095
10095
  ], 512), [
10096
10096
  [Fn, d.value === "i18n"]
10097
10097
  ]),
10098
- pn(_(A1, {
10098
+ pn(_(A0, {
10099
10099
  context: n.context,
10100
10100
  onCopy: C,
10101
10101
  onPick: w
@@ -10193,7 +10193,7 @@ const Bw = "data:image/svg+xml,%3csvg%20width='200'%20height='200'%20xmlns='http
10193
10193
  _: 3
10194
10194
  }, 8, ["model-value", "title"]));
10195
10195
  }
10196
- }), I1 = { class: "v-slots-picker__sn" }, R1 = /* @__PURE__ */ z({
10196
+ }), I0 = { class: "v-slots-picker__sn" }, R0 = /* @__PURE__ */ z({
10197
10197
  __name: "slots",
10198
10198
  props: {
10199
10199
  name: { default: "" },
@@ -10236,7 +10236,7 @@ const Bw = "data:image/svg+xml,%3csvg%20width='200'%20height='200'%20xmlns='http
10236
10236
  onClick: (p) => a(f)
10237
10237
  }, {
10238
10238
  default: k(() => [
10239
- I("span", I1, "#" + te(u + 1), 1),
10239
+ I("span", I0, "#" + te(u + 1), 1),
10240
10240
  re(" " + te(f.name), 1)
10241
10241
  ]),
10242
10242
  _: 2
@@ -10284,7 +10284,7 @@ const Bw = "data:image/svg+xml,%3csvg%20width='200'%20height='200'%20xmlns='http
10284
10284
  Yt(i.$slots, "default")
10285
10285
  ], 6));
10286
10286
  }
10287
- }), D1 = /* @__PURE__ */ z({
10287
+ }), D0 = /* @__PURE__ */ z({
10288
10288
  name: "VActionMenu",
10289
10289
  __name: "action-menu",
10290
10290
  props: {
@@ -10334,7 +10334,7 @@ const Bw = "data:image/svg+xml,%3csvg%20width='200'%20height='200'%20xmlns='http
10334
10334
  _: 1
10335
10335
  }, 8, ["icon", "menus"]));
10336
10336
  }
10337
- }), N1 = { class: "v-pages-widget__tree" }, P1 = /* @__PURE__ */ z({
10337
+ }), N0 = { class: "v-pages-widget__tree" }, P0 = /* @__PURE__ */ z({
10338
10338
  name: "PagesWidget",
10339
10339
  __name: "index",
10340
10340
  setup(e) {
@@ -10387,7 +10387,7 @@ const Bw = "data:image/svg+xml,%3csvg%20width='200'%20height='200'%20xmlns='http
10387
10387
  onPlus: h
10388
10388
  }, {
10389
10389
  default: k(() => [
10390
- I("div", N1, [
10390
+ I("div", N0, [
10391
10391
  _(l(ci), {
10392
10392
  data: l(c),
10393
10393
  "node-key": "id",
@@ -10424,7 +10424,7 @@ const Bw = "data:image/svg+xml,%3csvg%20width='200'%20height='200'%20xmlns='http
10424
10424
  class: "v-pages-widget__loading"
10425
10425
  }, " 加载中... (" + te(l(f)) + "/" + te(o.value.length) + ") ", 513))
10426
10426
  ]),
10427
- r.value ? (v(), A(g1, {
10427
+ r.value ? (v(), A(g0, {
10428
10428
  key: 0,
10429
10429
  modelValue: r.value,
10430
10430
  "onUpdate:modelValue": w[0] || (w[0] = (C) => r.value = C),
@@ -10435,7 +10435,7 @@ const Bw = "data:image/svg+xml,%3csvg%20width='200'%20height='200'%20xmlns='http
10435
10435
  _: 1
10436
10436
  }, 8, ["subtitle"]));
10437
10437
  }
10438
- }), V1 = /* @__PURE__ */ vt(P1, [["__scopeId", "data-v-4a9fcdde"]]), $1 = { class: "v-file-setter" }, Bi = /* @__PURE__ */ z({
10438
+ }), V0 = /* @__PURE__ */ vt(P0, [["__scopeId", "data-v-4a9fcdde"]]), $0 = { class: "v-file-setter" }, Bi = /* @__PURE__ */ z({
10439
10439
  name: "FileSetter",
10440
10440
  __name: "file",
10441
10441
  props: {
@@ -10502,7 +10502,7 @@ const Bw = "data:image/svg+xml,%3csvg%20width='200'%20height='200'%20xmlns='http
10502
10502
  s.service.removeStaticFile(x.name, r.value?.id, O);
10503
10503
  }
10504
10504
  };
10505
- return (x, O) => (v(), $("div", $1, [
10505
+ return (x, O) => (v(), $("div", $0, [
10506
10506
  _(l(ht), xt({
10507
10507
  readonly: "",
10508
10508
  onFocus: E,
@@ -10552,7 +10552,7 @@ const Bw = "data:image/svg+xml,%3csvg%20width='200'%20height='200'%20xmlns='http
10552
10552
  }, 8, ["modelValue", "subtitle"])) : L("", !0)
10553
10553
  ]));
10554
10554
  }
10555
- }), M1 = { class: "v-blocks__search" }, L1 = /* @__PURE__ */ z({
10555
+ }), M0 = { class: "v-blocks__search" }, L0 = /* @__PURE__ */ z({
10556
10556
  name: "BlocksWidget",
10557
10557
  __name: "index",
10558
10558
  setup(e) {
@@ -10650,7 +10650,7 @@ const Bw = "data:image/svg+xml,%3csvg%20width='200'%20height='200'%20xmlns='http
10650
10650
  onPlus: O
10651
10651
  }, {
10652
10652
  default: k(() => [
10653
- I("div", M1, [
10653
+ I("div", M0, [
10654
10654
  _(l(ht), {
10655
10655
  size: "small",
10656
10656
  modelValue: s.value,
@@ -10773,10 +10773,10 @@ const Bw = "data:image/svg+xml,%3csvg%20width='200'%20height='200'%20xmlns='http
10773
10773
  _: 1
10774
10774
  }, 8, ["subtitle"]));
10775
10775
  }
10776
- }), j1 = { class: "v-components-widget__search" }, U1 = {
10776
+ }), j0 = { class: "v-components-widget__search" }, U0 = {
10777
10777
  key: 0,
10778
10778
  class: "v-components-widget__result"
10779
- }, B1 = { class: "v-components-widget__list" }, z1 = /* @__PURE__ */ z({
10779
+ }, B0 = { class: "v-components-widget__list" }, z0 = /* @__PURE__ */ z({
10780
10780
  name: "ComponentsWidget",
10781
10781
  __name: "index",
10782
10782
  setup(e) {
@@ -10793,7 +10793,7 @@ const Bw = "data:image/svg+xml,%3csvg%20width='200'%20height='200'%20xmlns='http
10793
10793
  body: { flex: !0, direction: "column" }
10794
10794
  }, {
10795
10795
  default: k(() => [
10796
- I("div", j1, [
10796
+ I("div", j0, [
10797
10797
  _(l(ht), {
10798
10798
  modelValue: l(i),
10799
10799
  "onUpdate:modelValue": p[0] || (p[0] = (m) => Io(i) ? i.value = m : null),
@@ -10807,7 +10807,7 @@ const Bw = "data:image/svg+xml,%3csvg%20width='200'%20height='200'%20xmlns='http
10807
10807
  _: 1
10808
10808
  }, 8, ["modelValue"])
10809
10809
  ]),
10810
- l(i) ? (v(), $("div", U1, [
10810
+ l(i) ? (v(), $("div", U0, [
10811
10811
  _(l(ys), {
10812
10812
  wrap: "wrap",
10813
10813
  gutter: 5
@@ -10840,7 +10840,7 @@ const Bw = "data:image/svg+xml,%3csvg%20width='200'%20height='200'%20xmlns='http
10840
10840
  "onUpdate:modelValue": p[2] || (p[2] = (m) => Io(s) ? s.value = m : null)
10841
10841
  }, {
10842
10842
  default: k(() => [
10843
- I("div", B1, [
10843
+ I("div", B0, [
10844
10844
  l(r) ? (v(), A(l(lr), {
10845
10845
  key: 0,
10846
10846
  modelValue: l(a)[l(s)],
@@ -10892,7 +10892,7 @@ const Bw = "data:image/svg+xml,%3csvg%20width='200'%20height='200'%20xmlns='http
10892
10892
  _: 1
10893
10893
  }));
10894
10894
  }
10895
- }), F1 = /* @__PURE__ */ z({
10895
+ }), F0 = /* @__PURE__ */ z({
10896
10896
  name: "OutlineWidget",
10897
10897
  __name: "index",
10898
10898
  setup(e) {
@@ -11146,7 +11146,7 @@ Jn.prototype = {
11146
11146
  continue;
11147
11147
  }
11148
11148
  if (!R || C && O.oldPos + 1 < w.oldPos ? x = r.addToPath(w, !0, void 0, 0) : x = r.addToPath(O, void 0, !0, 1), g = r.extractCommon(x, t, e, T), x.oldPos + 1 >= c && g + 1 >= i)
11149
- return a(H1(r, x.lastComponent, t, e, r.useLongestToken));
11149
+ return a(H0(r, x.lastComponent, t, e, r.useLongestToken));
11150
11150
  m[T] = x, x.oldPos + 1 >= c && (h = Math.min(h, T - 1)), g + 1 >= i && (b = Math.max(b, T + 1));
11151
11151
  }
11152
11152
  d++;
@@ -11212,7 +11212,7 @@ Jn.prototype = {
11212
11212
  return e.join("");
11213
11213
  }
11214
11214
  };
11215
- function H1(e, t, n, o, s) {
11215
+ function H0(e, t, n, o, s) {
11216
11216
  for (var r = [], a; t; )
11217
11217
  r.push(t), a = t.previousComponent, delete t.previousComponent, t = a;
11218
11218
  r.reverse();
@@ -11238,11 +11238,11 @@ function H1(e, t, n, o, s) {
11238
11238
  var g = r[c - 1];
11239
11239
  return c > 1 && typeof g.value == "string" && (g.added || g.removed) && e.equals("", g.value) && (r[c - 2].value += g.value, r.pop()), r;
11240
11240
  }
11241
- var G1 = new Jn();
11242
- function J1(e, t, n) {
11243
- return G1.diff(e, t, n);
11241
+ var G0 = new Jn();
11242
+ function J0(e, t, n) {
11243
+ return G0.diff(e, t, n);
11244
11244
  }
11245
- function q1(e, t) {
11245
+ function q0(e, t) {
11246
11246
  if (typeof e == "function")
11247
11247
  t.callback = e;
11248
11248
  else if (e)
@@ -11259,8 +11259,8 @@ zi.tokenize = function(e) {
11259
11259
  !t[n + 1] && t[n + 2] && Bl.test(t[n]) && Bl.test(t[n + 2]) && (t[n] += t[n + 2], t.splice(n + 1, 2), n--);
11260
11260
  return t;
11261
11261
  };
11262
- function K1(e, t, n) {
11263
- return n = q1(n, {
11262
+ function K0(e, t, n) {
11263
+ return n = q0(n, {
11264
11264
  ignoreWhitespace: !0
11265
11265
  }), zi.diff(e, t, n);
11266
11266
  }
@@ -11276,12 +11276,12 @@ $d.tokenize = function(e) {
11276
11276
  }
11277
11277
  return t;
11278
11278
  };
11279
- var W1 = new Jn();
11280
- W1.tokenize = function(e) {
11279
+ var W0 = new Jn();
11280
+ W0.tokenize = function(e) {
11281
11281
  return e.split(/(\S.+?[.!?])(?=\s+|$)/);
11282
11282
  };
11283
- var X1 = new Jn();
11284
- X1.tokenize = function(e) {
11283
+ var X0 = new Jn();
11284
+ X0.tokenize = function(e) {
11285
11285
  return e.split(/([{}:;,]|\s+)/);
11286
11286
  };
11287
11287
  function gs(e) {
@@ -11292,7 +11292,7 @@ function gs(e) {
11292
11292
  return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
11293
11293
  }, gs(e);
11294
11294
  }
11295
- var Y1 = Object.prototype.toString, Hr = new Jn();
11295
+ var Y0 = Object.prototype.toString, Hr = new Jn();
11296
11296
  Hr.useLongestToken = !0;
11297
11297
  Hr.tokenize = $d.tokenize;
11298
11298
  Hr.castInput = function(e) {
@@ -11311,7 +11311,7 @@ function Ya(e, t, n, o, s) {
11311
11311
  if (t[r] === e)
11312
11312
  return n[r];
11313
11313
  var a;
11314
- if (Y1.call(e) === "[object Array]") {
11314
+ if (Y0.call(e) === "[object Array]") {
11315
11315
  for (t.push(e), a = new Array(e.length), n.push(a), r = 0; r < e.length; r += 1)
11316
11316
  a[r] = Ya(e[r], t, n, o, s);
11317
11317
  return t.pop(), n.pop(), a;
@@ -11335,7 +11335,7 @@ Za.tokenize = function(e) {
11335
11335
  Za.join = Za.removeEmpty = function(e) {
11336
11336
  return e;
11337
11337
  };
11338
- function Z1(e) {
11338
+ function Z0(e) {
11339
11339
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
11340
11340
  }
11341
11341
  var Md = { exports: {} };
@@ -12013,7 +12013,7 @@ function ro(e, ...t) {
12013
12013
  }), /** @type {T} */
12014
12014
  n;
12015
12015
  }
12016
- const Q1 = "</span>", Hl = (e) => !!e.scope, e0 = (e, { prefix: t }) => {
12016
+ const Q0 = "</span>", Hl = (e) => !!e.scope, e1 = (e, { prefix: t }) => {
12017
12017
  if (e.startsWith("language:"))
12018
12018
  return e.replace("language:", "language-");
12019
12019
  if (e.includes(".")) {
@@ -12025,7 +12025,7 @@ const Q1 = "</span>", Hl = (e) => !!e.scope, e0 = (e, { prefix: t }) => {
12025
12025
  }
12026
12026
  return `${t}${e}`;
12027
12027
  };
12028
- class t0 {
12028
+ class t1 {
12029
12029
  /**
12030
12030
  * Creates a new HTMLRenderer
12031
12031
  *
@@ -12048,7 +12048,7 @@ class t0 {
12048
12048
  * @param {Node} node */
12049
12049
  openNode(t) {
12050
12050
  if (!Hl(t)) return;
12051
- const n = e0(
12051
+ const n = e1(
12052
12052
  t.scope,
12053
12053
  { prefix: this.classPrefix }
12054
12054
  );
@@ -12059,7 +12059,7 @@ class t0 {
12059
12059
  *
12060
12060
  * @param {Node} node */
12061
12061
  closeNode(t) {
12062
- Hl(t) && (this.buffer += Q1);
12062
+ Hl(t) && (this.buffer += Q0);
12063
12063
  }
12064
12064
  /**
12065
12065
  * returns the accumulated buffer
@@ -12132,7 +12132,7 @@ class Fi {
12132
12132
  }));
12133
12133
  }
12134
12134
  }
12135
- class n0 extends Fi {
12135
+ class n1 extends Fi {
12136
12136
  /**
12137
12137
  * @param {*} options
12138
12138
  */
@@ -12161,7 +12161,7 @@ class n0 extends Fi {
12161
12161
  n && (o.scope = `language:${n}`), this.add(o);
12162
12162
  }
12163
12163
  toHTML() {
12164
- return new t0(this, this.options).value();
12164
+ return new t1(this, this.options).value();
12165
12165
  }
12166
12166
  finalize() {
12167
12167
  return this.closeAllNodes(), !0;
@@ -12173,30 +12173,30 @@ function Gr(e) {
12173
12173
  function Ud(e) {
12174
12174
  return Mo("(?=", e, ")");
12175
12175
  }
12176
- function o0(e) {
12176
+ function o1(e) {
12177
12177
  return Mo("(?:", e, ")*");
12178
12178
  }
12179
- function r0(e) {
12179
+ function r1(e) {
12180
12180
  return Mo("(?:", e, ")?");
12181
12181
  }
12182
12182
  function Mo(...e) {
12183
12183
  return e.map((t) => Gr(t)).join("");
12184
12184
  }
12185
- function s0(e) {
12185
+ function s1(e) {
12186
12186
  const t = e[e.length - 1];
12187
12187
  return typeof t == "object" && t.constructor === Object ? (e.splice(e.length - 1, 1), t) : {};
12188
12188
  }
12189
12189
  function Hi(...e) {
12190
- return "(" + (s0(e).capture ? "" : "?:") + e.map((t) => Gr(t)).join("|") + ")";
12190
+ return "(" + (s1(e).capture ? "" : "?:") + e.map((t) => Gr(t)).join("|") + ")";
12191
12191
  }
12192
12192
  function Bd(e) {
12193
12193
  return new RegExp(e.toString() + "|").exec("").length - 1;
12194
12194
  }
12195
- function a0(e, t) {
12195
+ function a1(e, t) {
12196
12196
  const n = e && e.exec(t);
12197
12197
  return n && n.index === 0;
12198
12198
  }
12199
- const i0 = /\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;
12199
+ const i1 = /\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;
12200
12200
  function Gi(e, { joinWith: t }) {
12201
12201
  let n = 0;
12202
12202
  return e.map((o) => {
@@ -12204,7 +12204,7 @@ function Gi(e, { joinWith: t }) {
12204
12204
  const s = n;
12205
12205
  let r = Gr(o), a = "";
12206
12206
  for (; r.length > 0; ) {
12207
- const i = i0.exec(r);
12207
+ const i = i1.exec(r);
12208
12208
  if (!i) {
12209
12209
  a += r;
12210
12210
  break;
@@ -12214,7 +12214,7 @@ function Gi(e, { joinWith: t }) {
12214
12214
  return a;
12215
12215
  }).map((o) => `(${o})`).join(t);
12216
12216
  }
12217
- const l0 = /\b\B/, zd = "[a-zA-Z]\\w*", Ji = "[a-zA-Z_]\\w*", Fd = "\\b\\d+(\\.\\d+)?", Hd = "(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)", Gd = "\\b(0b[01]+)", c0 = "!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~", u0 = (e = {}) => {
12217
+ const l1 = /\b\B/, zd = "[a-zA-Z]\\w*", Ji = "[a-zA-Z_]\\w*", Fd = "\\b\\d+(\\.\\d+)?", Hd = "(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)", Gd = "\\b(0b[01]+)", c1 = "!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~", u1 = (e = {}) => {
12218
12218
  const t = /^#![ ]*\//;
12219
12219
  return e.binary && (e.begin = Mo(
12220
12220
  t,
@@ -12234,19 +12234,19 @@ const l0 = /\b\B/, zd = "[a-zA-Z]\\w*", Ji = "[a-zA-Z_]\\w*", Fd = "\\b\\d+(\\.\
12234
12234
  }, Jr = {
12235
12235
  begin: "\\\\[\\s\\S]",
12236
12236
  relevance: 0
12237
- }, d0 = {
12237
+ }, d1 = {
12238
12238
  scope: "string",
12239
12239
  begin: "'",
12240
12240
  end: "'",
12241
12241
  illegal: "\\n",
12242
12242
  contains: [Jr]
12243
- }, p0 = {
12243
+ }, p1 = {
12244
12244
  scope: "string",
12245
12245
  begin: '"',
12246
12246
  end: '"',
12247
12247
  illegal: "\\n",
12248
12248
  contains: [Jr]
12249
- }, f0 = {
12249
+ }, f1 = {
12250
12250
  begin: /\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/
12251
12251
  }, Ks = function(e, t, n = {}) {
12252
12252
  const o = ro(
@@ -12314,19 +12314,19 @@ const l0 = /\b\B/, zd = "[a-zA-Z]\\w*", Ji = "[a-zA-Z_]\\w*", Fd = "\\b\\d+(\\.\
12314
12314
  // look for 3 words in a row
12315
12315
  }
12316
12316
  ), o;
12317
- }, m0 = Ks("//", "$"), g0 = Ks("/\\*", "\\*/"), h0 = Ks("#", "$"), v0 = {
12317
+ }, m1 = Ks("//", "$"), g1 = Ks("/\\*", "\\*/"), h1 = Ks("#", "$"), v1 = {
12318
12318
  scope: "number",
12319
12319
  begin: Fd,
12320
12320
  relevance: 0
12321
- }, b0 = {
12321
+ }, b1 = {
12322
12322
  scope: "number",
12323
12323
  begin: Hd,
12324
12324
  relevance: 0
12325
- }, y0 = {
12325
+ }, y1 = {
12326
12326
  scope: "number",
12327
12327
  begin: Gd,
12328
12328
  relevance: 0
12329
- }, _0 = {
12329
+ }, _1 = {
12330
12330
  scope: "regexp",
12331
12331
  begin: /\/(?=[^/\n]*\/)/,
12332
12332
  end: /\/[gimuy]*/,
@@ -12339,19 +12339,19 @@ const l0 = /\b\B/, zd = "[a-zA-Z]\\w*", Ji = "[a-zA-Z_]\\w*", Fd = "\\b\\d+(\\.\
12339
12339
  contains: [Jr]
12340
12340
  }
12341
12341
  ]
12342
- }, w0 = {
12342
+ }, w1 = {
12343
12343
  scope: "title",
12344
12344
  begin: zd,
12345
12345
  relevance: 0
12346
- }, E0 = {
12346
+ }, E1 = {
12347
12347
  scope: "title",
12348
12348
  begin: Ji,
12349
12349
  relevance: 0
12350
- }, k0 = {
12350
+ }, k1 = {
12351
12351
  // excludes method names from keyword processing
12352
12352
  begin: "\\.\\s*" + Ji,
12353
12353
  relevance: 0
12354
- }, S0 = function(e) {
12354
+ }, S1 = function(e) {
12355
12355
  return Object.assign(
12356
12356
  e,
12357
12357
  {
@@ -12368,53 +12368,53 @@ const l0 = /\b\B/, zd = "[a-zA-Z]\\w*", Ji = "[a-zA-Z_]\\w*", Fd = "\\b\\d+(\\.\
12368
12368
  };
12369
12369
  var cs = /* @__PURE__ */ Object.freeze({
12370
12370
  __proto__: null,
12371
- APOS_STRING_MODE: d0,
12371
+ APOS_STRING_MODE: d1,
12372
12372
  BACKSLASH_ESCAPE: Jr,
12373
- BINARY_NUMBER_MODE: y0,
12373
+ BINARY_NUMBER_MODE: y1,
12374
12374
  BINARY_NUMBER_RE: Gd,
12375
12375
  COMMENT: Ks,
12376
- C_BLOCK_COMMENT_MODE: g0,
12377
- C_LINE_COMMENT_MODE: m0,
12378
- C_NUMBER_MODE: b0,
12376
+ C_BLOCK_COMMENT_MODE: g1,
12377
+ C_LINE_COMMENT_MODE: m1,
12378
+ C_NUMBER_MODE: b1,
12379
12379
  C_NUMBER_RE: Hd,
12380
- END_SAME_AS_BEGIN: S0,
12381
- HASH_COMMENT_MODE: h0,
12380
+ END_SAME_AS_BEGIN: S1,
12381
+ HASH_COMMENT_MODE: h1,
12382
12382
  IDENT_RE: zd,
12383
- MATCH_NOTHING_RE: l0,
12384
- METHOD_GUARD: k0,
12385
- NUMBER_MODE: v0,
12383
+ MATCH_NOTHING_RE: l1,
12384
+ METHOD_GUARD: k1,
12385
+ NUMBER_MODE: v1,
12386
12386
  NUMBER_RE: Fd,
12387
- PHRASAL_WORDS_MODE: f0,
12388
- QUOTE_STRING_MODE: p0,
12389
- REGEXP_MODE: _0,
12390
- RE_STARTERS_RE: c0,
12391
- SHEBANG: u0,
12392
- TITLE_MODE: w0,
12387
+ PHRASAL_WORDS_MODE: f1,
12388
+ QUOTE_STRING_MODE: p1,
12389
+ REGEXP_MODE: _1,
12390
+ RE_STARTERS_RE: c1,
12391
+ SHEBANG: u1,
12392
+ TITLE_MODE: w1,
12393
12393
  UNDERSCORE_IDENT_RE: Ji,
12394
- UNDERSCORE_TITLE_MODE: E0
12394
+ UNDERSCORE_TITLE_MODE: E1
12395
12395
  });
12396
- function x0(e, t) {
12396
+ function x1(e, t) {
12397
12397
  e.input[e.index - 1] === "." && t.ignoreMatch();
12398
12398
  }
12399
- function C0(e, t) {
12399
+ function C1(e, t) {
12400
12400
  e.className !== void 0 && (e.scope = e.className, delete e.className);
12401
12401
  }
12402
- function T0(e, t) {
12403
- t && e.beginKeywords && (e.begin = "\\b(" + e.beginKeywords.split(" ").join("|") + ")(?!\\.)(?=\\b|\\s)", e.__beforeBegin = x0, e.keywords = e.keywords || e.beginKeywords, delete e.beginKeywords, e.relevance === void 0 && (e.relevance = 0));
12402
+ function T1(e, t) {
12403
+ t && e.beginKeywords && (e.begin = "\\b(" + e.beginKeywords.split(" ").join("|") + ")(?!\\.)(?=\\b|\\s)", e.__beforeBegin = x1, e.keywords = e.keywords || e.beginKeywords, delete e.beginKeywords, e.relevance === void 0 && (e.relevance = 0));
12404
12404
  }
12405
- function O0(e, t) {
12405
+ function O1(e, t) {
12406
12406
  Array.isArray(e.illegal) && (e.illegal = Hi(...e.illegal));
12407
12407
  }
12408
- function A0(e, t) {
12408
+ function A1(e, t) {
12409
12409
  if (e.match) {
12410
12410
  if (e.begin || e.end) throw new Error("begin & end are not supported with match");
12411
12411
  e.begin = e.match, delete e.match;
12412
12412
  }
12413
12413
  }
12414
- function I0(e, t) {
12414
+ function I1(e, t) {
12415
12415
  e.relevance === void 0 && (e.relevance = 1);
12416
12416
  }
12417
- const R0 = (e, t) => {
12417
+ const R1 = (e, t) => {
12418
12418
  if (!e.beforeMatch) return;
12419
12419
  if (e.starts) throw new Error("beforeMatch cannot be used with starts");
12420
12420
  const n = Object.assign({}, e);
@@ -12426,7 +12426,7 @@ const R0 = (e, t) => {
12426
12426
  Object.assign(n, { endsParent: !0 })
12427
12427
  ]
12428
12428
  }, e.relevance = 0, delete n.beforeMatch;
12429
- }, D0 = [
12429
+ }, D1 = [
12430
12430
  "of",
12431
12431
  "and",
12432
12432
  "for",
@@ -12441,8 +12441,8 @@ const R0 = (e, t) => {
12441
12441
  // common variable name
12442
12442
  "value"
12443
12443
  // common variable name
12444
- ], N0 = "keyword";
12445
- function Jd(e, t, n = N0) {
12444
+ ], N1 = "keyword";
12445
+ function Jd(e, t, n = N1) {
12446
12446
  const o = /* @__PURE__ */ Object.create(null);
12447
12447
  return typeof e == "string" ? s(n, e.split(" ")) : Array.isArray(e) ? s(n, e) : Object.keys(e).forEach(function(r) {
12448
12448
  Object.assign(
@@ -12453,15 +12453,15 @@ function Jd(e, t, n = N0) {
12453
12453
  function s(r, a) {
12454
12454
  t && (a = a.map((i) => i.toLowerCase())), a.forEach(function(i) {
12455
12455
  const c = i.split("|");
12456
- o[c[0]] = [r, P0(c[0], c[1])];
12456
+ o[c[0]] = [r, P1(c[0], c[1])];
12457
12457
  });
12458
12458
  }
12459
12459
  }
12460
- function P0(e, t) {
12461
- return t ? Number(t) : V0(e) ? 0 : 1;
12460
+ function P1(e, t) {
12461
+ return t ? Number(t) : V1(e) ? 0 : 1;
12462
12462
  }
12463
- function V0(e) {
12464
- return D0.includes(e.toLowerCase());
12463
+ function V1(e) {
12464
+ return D1.includes(e.toLowerCase());
12465
12465
  }
12466
12466
  const Jl = {}, Ao = (e) => {
12467
12467
  console.error(e);
@@ -12477,7 +12477,7 @@ function qd(e, t, { key: n }) {
12477
12477
  a[i + o] = s[i], r[i + o] = !0, o += Bd(t[i - 1]);
12478
12478
  e[n] = a, e[n]._emit = r, e[n]._multi = !0;
12479
12479
  }
12480
- function $0(e) {
12480
+ function $1(e) {
12481
12481
  if (Array.isArray(e.begin)) {
12482
12482
  if (e.skip || e.excludeBegin || e.returnBegin)
12483
12483
  throw Ao("skip, excludeBegin, returnBegin not compatible with beginScope: {}"), Rs;
@@ -12486,7 +12486,7 @@ function $0(e) {
12486
12486
  qd(e, e.begin, { key: "beginScope" }), e.begin = Gi(e.begin, { joinWith: "" });
12487
12487
  }
12488
12488
  }
12489
- function M0(e) {
12489
+ function M1(e) {
12490
12490
  if (Array.isArray(e.end)) {
12491
12491
  if (e.skip || e.excludeEnd || e.returnEnd)
12492
12492
  throw Ao("skip, excludeEnd, returnEnd not compatible with endScope: {}"), Rs;
@@ -12495,13 +12495,13 @@ function M0(e) {
12495
12495
  qd(e, e.end, { key: "endScope" }), e.end = Gi(e.end, { joinWith: "" });
12496
12496
  }
12497
12497
  }
12498
- function L0(e) {
12498
+ function L1(e) {
12499
12499
  e.scope && typeof e.scope == "object" && e.scope !== null && (e.beginScope = e.scope, delete e.scope);
12500
12500
  }
12501
- function j0(e) {
12502
- L0(e), typeof e.beginScope == "string" && (e.beginScope = { _wrap: e.beginScope }), typeof e.endScope == "string" && (e.endScope = { _wrap: e.endScope }), $0(e), M0(e);
12501
+ function j1(e) {
12502
+ L1(e), typeof e.beginScope == "string" && (e.beginScope = { _wrap: e.beginScope }), typeof e.endScope == "string" && (e.endScope = { _wrap: e.endScope }), $1(e), M1(e);
12503
12503
  }
12504
- function U0(e) {
12504
+ function U1(e) {
12505
12505
  function t(a, i) {
12506
12506
  return new RegExp(
12507
12507
  Gr(a),
@@ -12574,26 +12574,26 @@ function U0(e) {
12574
12574
  );
12575
12575
  if (a.isCompiled) return c;
12576
12576
  [
12577
- C0,
12577
+ C1,
12578
12578
  // do this early so compiler extensions generally don't have to worry about
12579
12579
  // the distinction between match/begin
12580
- A0,
12581
- j0,
12582
- R0
12580
+ A1,
12581
+ j1,
12582
+ R1
12583
12583
  ].forEach((f) => f(a, i)), e.compilerExtensions.forEach((f) => f(a, i)), a.__beforeBegin = null, [
12584
- T0,
12584
+ T1,
12585
12585
  // do this later so compiler extensions that come earlier have access to the
12586
12586
  // raw array if they wanted to perhaps manipulate it, etc.
12587
- O0,
12587
+ O1,
12588
12588
  // default to 1 relevance if not specified
12589
- I0
12589
+ I1
12590
12590
  ].forEach((f) => f(a, i)), a.isCompiled = !0;
12591
12591
  let d = null;
12592
12592
  return typeof a.keywords == "object" && a.keywords.$pattern && (a.keywords = Object.assign({}, a.keywords), d = a.keywords.$pattern, delete a.keywords.$pattern), d = d || /\w+/, a.keywords && (a.keywords = Jd(a.keywords, e.case_insensitive)), c.keywordPatternRe = t(d, !0), i && (a.begin || (a.begin = /\B|\b/), c.beginRe = t(c.begin), !a.end && !a.endsWithParent && (a.end = /\B|\b/), a.end && (c.endRe = t(c.end)), c.terminatorEnd = Gr(c.end) || "", a.endsWithParent && i.terminatorEnd && (c.terminatorEnd += (a.end ? "|" : "") + i.terminatorEnd)), a.illegal && (c.illegalRe = t(
12593
12593
  /** @type {RegExp | string} */
12594
12594
  a.illegal
12595
12595
  )), a.contains || (a.contains = []), a.contains = [].concat(...a.contains.map(function(f) {
12596
- return B0(f === "self" ? a : f);
12596
+ return B1(f === "self" ? a : f);
12597
12597
  })), a.contains.forEach(function(f) {
12598
12598
  r(
12599
12599
  /** @type Mode */
@@ -12612,18 +12612,18 @@ function U0(e) {
12612
12612
  function Kd(e) {
12613
12613
  return e ? e.endsWithParent || Kd(e.starts) : !1;
12614
12614
  }
12615
- function B0(e) {
12615
+ function B1(e) {
12616
12616
  return e.variants && !e.cachedVariants && (e.cachedVariants = e.variants.map(function(t) {
12617
12617
  return ro(e, { variants: null }, t);
12618
12618
  })), e.cachedVariants ? e.cachedVariants : Kd(e) ? ro(e, { starts: e.starts ? ro(e.starts) : null }) : Object.isFrozen(e) ? ro(e) : e;
12619
12619
  }
12620
- var z0 = "11.10.0";
12621
- class F0 extends Error {
12620
+ var z1 = "11.10.0";
12621
+ class F1 extends Error {
12622
12622
  constructor(t, n) {
12623
12623
  super(t), this.name = "HTMLInjectionError", this.html = n;
12624
12624
  }
12625
12625
  }
12626
- const Ea = jd, Kl = ro, Wl = Symbol("nomatch"), H0 = 7, Wd = function(e) {
12626
+ const Ea = jd, Kl = ro, Wl = Symbol("nomatch"), H1 = 7, Wd = function(e) {
12627
12627
  const t = /* @__PURE__ */ Object.create(null), n = /* @__PURE__ */ Object.create(null), o = [];
12628
12628
  let s = !0;
12629
12629
  const r = "Could not find the language '{}', did you forget to load/include a language module?", a = { disableAutodetect: !0, name: "Plain text", contains: [] };
@@ -12637,7 +12637,7 @@ const Ea = jd, Kl = ro, Wl = Symbol("nomatch"), H0 = 7, Wd = function(e) {
12637
12637
  languages: null,
12638
12638
  // beta configuration options, subject to change, welcome to discuss
12639
12639
  // https://github.com/highlightjs/highlight.js/issues/1086
12640
- __emitter: n0
12640
+ __emitter: n1
12641
12641
  };
12642
12642
  function c(N) {
12643
12643
  return i.noHighlightRe.test(N);
@@ -12682,7 +12682,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), Y = N, q = G), j ===
12682
12682
  const Ye = Fe.case_insensitive ? ye[0].toLowerCase() : ye[0], It = H(Ce, Ye);
12683
12683
  if (It) {
12684
12684
  const [en, pr] = It;
12685
- if (lt.addText(Me), Me = "", Y[Ye] = (Y[Ye] || 0) + 1, Y[Ye] <= H0 && (Qt += pr), en.startsWith("_"))
12685
+ if (lt.addText(Me), Me = "", Y[Ye] = (Y[Ye] || 0) + 1, Y[Ye] <= H1 && (Qt += pr), en.startsWith("_"))
12686
12686
  Me += ye[0];
12687
12687
  else {
12688
12688
  const jo = Fe.classNameAliases[en] || en;
@@ -12730,7 +12730,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), Y = N, q = G), j ===
12730
12730
  return ie.scope && typeof ie.scope == "string" && lt.openNode(Fe.classNameAliases[ie.scope] || ie.scope), ie.beginScope && (ie.beginScope._wrap ? (Ae(Xe, Fe.classNameAliases[ie.beginScope._wrap] || ie.beginScope._wrap), Xe = "") : ie.beginScope._multi && (ze(ie.beginScope, ye), Xe = "")), Ce = Object.create(ie, { parent: { value: Ce } }), Ce;
12731
12731
  }
12732
12732
  function _e(ie, ye, Me) {
12733
- let Ye = a0(ie.endRe, Me);
12733
+ let Ye = a1(ie.endRe, Me);
12734
12734
  if (Ye) {
12735
12735
  if (ie["on:end"]) {
12736
12736
  const It = new Fl(ie);
@@ -12803,7 +12803,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), Y = N, q = G), j ===
12803
12803
  const Fe = R(N);
12804
12804
  if (!Fe)
12805
12805
  throw Ao(r.replace("{}", N)), new Error('Unknown language: "' + N + '"');
12806
- const bt = U0(Fe);
12806
+ const bt = U1(Fe);
12807
12807
  let Jt = "", Ce = q || bt;
12808
12808
  const sn = {}, lt = new i.__emitter(i);
12809
12809
  $e();
@@ -12902,7 +12902,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), Y = N, q = G), j ===
12902
12902
  return;
12903
12903
  }
12904
12904
  if (N.children.length > 0 && (i.ignoreUnescapedHTML || (console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk."), console.warn("https://github.com/highlightjs/highlight.js/wiki/security"), console.warn("The element with unescaped HTML:"), console.warn(N)), i.throwUnescapedHTML))
12905
- throw new F0(
12905
+ throw new F1(
12906
12906
  "One of your code blocks includes unescaped HTML.",
12907
12907
  N.innerHTML
12908
12908
  );
@@ -13022,23 +13022,23 @@ https://github.com/highlightjs/highlight.js/issues/2277`), Y = N, q = G), j ===
13022
13022
  s = !1;
13023
13023
  }, e.safeMode = function() {
13024
13024
  s = !0;
13025
- }, e.versionString = z0, e.regex = {
13025
+ }, e.versionString = z1, e.regex = {
13026
13026
  concat: Mo,
13027
13027
  lookahead: Ud,
13028
13028
  either: Hi,
13029
- optional: r0,
13030
- anyNumberOfTimes: o0
13029
+ optional: r1,
13030
+ anyNumberOfTimes: o1
13031
13031
  };
13032
13032
  for (const N in cs)
13033
13033
  typeof cs[N] == "object" && Ld(cs[N]);
13034
13034
  return Object.assign(e, cs), e;
13035
13035
  }, ar = Wd({});
13036
13036
  ar.newInstance = () => Wd({});
13037
- var G0 = ar;
13037
+ var G1 = ar;
13038
13038
  ar.HighlightJS = ar;
13039
13039
  ar.default = ar;
13040
- const xn = /* @__PURE__ */ Z1(G0);
13041
- function J0(e) {
13040
+ const xn = /* @__PURE__ */ Z0(G1);
13041
+ function J1(e) {
13042
13042
  const t = e.regex, n = t.concat(/[\p{L}_]/u, t.optional(/[\p{L}0-9_.-]*:/u), /[\p{L}0-9_.-]*/u), o = /[\p{L}0-9._:-]+/u, s = {
13043
13043
  className: "symbol",
13044
13044
  begin: /&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/
@@ -13254,7 +13254,7 @@ function J0(e) {
13254
13254
  ]
13255
13255
  };
13256
13256
  }
13257
- const Xl = "[A-Za-z$_][0-9A-Za-z$_]*", q0 = [
13257
+ const Xl = "[A-Za-z$_][0-9A-Za-z$_]*", q1 = [
13258
13258
  "as",
13259
13259
  // for exports
13260
13260
  "in",
@@ -13297,7 +13297,7 @@ const Xl = "[A-Za-z$_][0-9A-Za-z$_]*", q0 = [
13297
13297
  "from",
13298
13298
  "export",
13299
13299
  "extends"
13300
- ], K0 = [
13300
+ ], K1 = [
13301
13301
  "true",
13302
13302
  "false",
13303
13303
  "null",
@@ -13381,7 +13381,7 @@ const Xl = "[A-Za-z$_][0-9A-Za-z$_]*", q0 = [
13381
13381
  "encodeURIComponent",
13382
13382
  "escape",
13383
13383
  "unescape"
13384
- ], W0 = [
13384
+ ], W1 = [
13385
13385
  "arguments",
13386
13386
  "this",
13387
13387
  "super",
@@ -13393,12 +13393,12 @@ const Xl = "[A-Za-z$_][0-9A-Za-z$_]*", q0 = [
13393
13393
  "module",
13394
13394
  "global"
13395
13395
  // Node.js
13396
- ], X0 = [].concat(
13396
+ ], X1 = [].concat(
13397
13397
  Zd,
13398
13398
  Xd,
13399
13399
  Yd
13400
13400
  );
13401
- function Y0(e) {
13401
+ function Y1(e) {
13402
13402
  const t = e.regex, n = (N, { after: G }) => {
13403
13403
  const j = "</" + N[0].slice(1);
13404
13404
  return N.input.indexOf(j, G) !== -1;
@@ -13439,10 +13439,10 @@ function Y0(e) {
13439
13439
  }
13440
13440
  }, i = {
13441
13441
  $pattern: Xl,
13442
- keyword: q0,
13443
- literal: K0,
13444
- built_in: X0,
13445
- "variable.language": W0
13442
+ keyword: q1,
13443
+ literal: K1,
13444
+ built_in: X1,
13445
+ "variable.language": W1
13446
13446
  }, c = "[0-9](_?[0-9])*", d = `\\.(${c})`, f = "0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*", u = {
13447
13447
  className: "number",
13448
13448
  variants: [
@@ -13907,7 +13907,7 @@ function Y0(e) {
13907
13907
  ]
13908
13908
  };
13909
13909
  }
13910
- function Z0(e) {
13910
+ function Z1(e) {
13911
13911
  const t = {
13912
13912
  className: "attr",
13913
13913
  begin: /"(\\.|[^\\"\r\n])*"(?=\s*:)/,
@@ -13942,7 +13942,7 @@ function Z0(e) {
13942
13942
  illegal: "\\S"
13943
13943
  };
13944
13944
  }
13945
- function Q0(e) {
13945
+ function Q1(e) {
13946
13946
  const t = "true false yes no null", n = "[\\w#;/?:@&=+$,.~*'()[\\]]+", o = {
13947
13947
  className: "attr",
13948
13948
  variants: [
@@ -15730,10 +15730,10 @@ function rE(e) {
15730
15730
  ]
15731
15731
  };
15732
15732
  }
15733
- xn.registerLanguage("xml", J0);
15734
- xn.registerLanguage("javascript", Y0);
15735
- xn.registerLanguage("json", Z0);
15736
- xn.registerLanguage("yaml", Q0);
15733
+ xn.registerLanguage("xml", J1);
15734
+ xn.registerLanguage("javascript", Y1);
15735
+ xn.registerLanguage("json", Z1);
15736
+ xn.registerLanguage("yaml", Q1);
15737
15737
  xn.registerLanguage("plaintext", eE);
15738
15738
  xn.registerLanguage("python", tE);
15739
15739
  xn.registerLanguage("java", nE);
@@ -15745,7 +15745,7 @@ function ir(e) {
15745
15745
  return e === void 0 ? me.EQUAL : e.added ? me.ADD : e.removed ? me.DELETE : me.EQUAL;
15746
15746
  }
15747
15747
  function Ds(e, t, n = "word") {
15748
- return typeof e > "u" ? t : typeof t > "u" ? e : (n === "char" ? J1 : K1)(e, t).filter((o) => ir(o) !== me.DELETE).map(
15748
+ return typeof e > "u" ? t : typeof t > "u" ? e : (n === "char" ? J0 : K0)(e, t).filter((o) => ir(o) !== me.DELETE).map(
15749
15749
  (o) => ir(o) === me.ADD ? `${Bn}${o.value}${zn}` : o.value
15750
15750
  ).join("");
15751
15751
  }
@@ -27697,15 +27697,27 @@ function BT(e) {
27697
27697
  });
27698
27698
  }
27699
27699
  async function u(y) {
27700
- const E = !!y.round.summaryError;
27701
- await r({
27700
+ const E = !!y.round.summaryError, T = E ? [
27701
+ ...y.records,
27702
+ {
27703
+ stepId: "summary",
27704
+ type: "summary",
27705
+ description: "生成任务总结",
27706
+ status: "failed",
27707
+ content: y.round.summaryText,
27708
+ error: y.round.summaryError,
27709
+ tokens: 0,
27710
+ duration: 0
27711
+ }
27712
+ ] : y.records;
27713
+ await f({
27702
27714
  traceId: y.traceId,
27703
27715
  topicId: y.topicId,
27704
27716
  planJson: y.round.architectPlan,
27705
- stepsJson: y.records,
27706
- finalStatus: E ? "failed" : "completed",
27717
+ stepsJson: T,
27718
+ status: E ? "failed" : "completed",
27707
27719
  totalTokens: y.totalTokens,
27708
- totalDuration: Date.now() - y.startTime
27720
+ startTime: y.startTime
27709
27721
  }), a(
27710
27722
  E ? de.summaryFailed(y.round.summaryError) : y.successMessage
27711
27723
  );
@@ -27756,11 +27768,20 @@ function BT(e) {
27756
27768
  O,
27757
27769
  F,
27758
27770
  S
27759
- )), S?.aborted) {
27771
+ ), O.summaryError && F.push({
27772
+ stepId: "summary",
27773
+ type: "summary",
27774
+ description: "生成任务总结",
27775
+ status: "failed",
27776
+ content: O.summaryText,
27777
+ error: O.summaryError,
27778
+ tokens: 0,
27779
+ duration: 0
27780
+ })), S?.aborted) {
27760
27781
  a(de.cancelled);
27761
27782
  return;
27762
27783
  }
27763
- const K = X >= 0 ? "failed" : "completed";
27784
+ const K = X >= 0 || O.summaryError ? "failed" : "completed";
27764
27785
  await f({
27765
27786
  topicId: y,
27766
27787
  traceId: T,
@@ -27839,7 +27860,18 @@ function BT(e) {
27839
27860
  topicId: y,
27840
27861
  traceId: x,
27841
27862
  status: "failed",
27842
- stepsJson: [],
27863
+ stepsJson: [
27864
+ {
27865
+ stepId: "architect",
27866
+ type: "architect",
27867
+ description: "生成执行计划",
27868
+ status: "failed",
27869
+ content: w.architectStreamText,
27870
+ error: w.architectError,
27871
+ tokens: R,
27872
+ duration: Date.now() - S
27873
+ }
27874
+ ],
27843
27875
  totalTokens: R,
27844
27876
  startTime: S
27845
27877
  });
@@ -29727,12 +29759,12 @@ const sO = {
29727
29759
  Logo: Hw,
29728
29760
  EmptyWidget: Jw,
29729
29761
  Switcher: Ww,
29730
- Toolbar: e1,
29731
- Actions: d1,
29732
- Pages: V1,
29733
- Blocks: L1,
29734
- Components: z1,
29735
- Outline: F1,
29762
+ Toolbar: e0,
29763
+ Actions: d0,
29764
+ Pages: V0,
29765
+ Blocks: L0,
29766
+ Components: z0,
29767
+ Outline: F0,
29736
29768
  History: rk,
29737
29769
  Apis: mk,
29738
29770
  Deps: hk,
@@ -33509,7 +33541,7 @@ const xr = new oI(), Qn = z({
33509
33541
  });
33510
33542
  function sI(e, t) {
33511
33543
  return new Promise((n, o) => {
33512
- const s = ai(R1, {
33544
+ const s = ai(R0, {
33513
33545
  name: e,
33514
33546
  slots: t,
33515
33547
  onClose: () => {
@@ -35988,7 +36020,7 @@ const g2 = new gI(), hI = /* @__PURE__ */ z({
35988
36020
  label: C.label,
35989
36021
  onClick: (S) => l(f)(C)
35990
36022
  }, null, 8, ["type", "label", "onClick"]))), 256)),
35991
- _(l(D1), {
36023
+ _(l(D0), {
35992
36024
  menus: T,
35993
36025
  onCommand: x
35994
36026
  })
@@ -36232,7 +36264,7 @@ const g2 = new gI(), hI = /* @__PURE__ */ z({
36232
36264
  export {
36233
36265
  jt as $,
36234
36266
  ah as A,
36235
- R1 as B,
36267
+ R0 as B,
36236
36268
  gI as C,
36237
36269
  u2 as D,
36238
36270
  ih as E,
@@ -36255,10 +36287,10 @@ export {
36255
36287
  oh as V,
36256
36288
  i2 as W,
36257
36289
  Rk as X,
36258
- A1 as Y,
36290
+ A0 as Y,
36259
36291
  Vd as Z,
36260
36292
  nc as _,
36261
- D1 as a,
36293
+ D0 as a,
36262
36294
  tI as a0,
36263
36295
  Vn as a1,
36264
36296
  vn as a2,
package/dist/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { A as e, a as r, b as t, c as E, d as n, C as i, D as S, e as _, f as o, E as I, g as T, h as g, i as O, G as l, H as p, j as d, k as V, K as R, M as A, l as M, m as D, N, n as P, O as L, P as m, o as c, R as u, p as K, q as b, r as W, S as Y, s as B, t as G, u as U, v as y, w as C, x as F, y as f, z as k, B as w, F as x, T as H, I as X, J, V as Z, L as h, Q as j, U as q, W as v, X as z, Y as Q, Z as $, $ as aa, a0 as sa, a1 as ea, a2 as ra, a3 as ta, a4 as Ea, a5 as na, a6 as ia, a7 as Sa, a8 as _a, a9 as oa, aa as Ia, ab as Ta, ac as ga, ad as Oa, ae as la, af as pa, ag as da, ah as Va, ai as Ra, aj as Aa, ak as Ma, al as Da, am as Na, an as Pa, ao as La, ap as ma, aq as ca, ar as ua, as as Ka } from "./index-C-zssnmt.js";
1
+ import { A as e, a as r, b as t, c as E, d as n, C as i, D as S, e as _, f as o, E as I, g as T, h as g, i as O, G as l, H as p, j as d, k as V, K as R, M as A, l as M, m as D, N, n as P, O as L, P as m, o as c, R as u, p as K, q as b, r as W, S as Y, s as B, t as G, u as U, v as y, w as C, x as F, y as f, z as k, B as w, F as x, T as H, I as X, J, V as Z, L as h, Q as j, U as q, W as v, X as z, Y as Q, Z as $, $ as aa, a0 as sa, a1 as ea, a2 as ra, a3 as ta, a4 as Ea, a5 as na, a6 as ia, a7 as Sa, a8 as _a, a9 as oa, aa as Ia, ab as Ta, ac as ga, ad as Oa, ae as la, af as pa, ag as da, ah as Va, ai as Ra, aj as Aa, ak as Ma, al as Da, am as Na, an as Pa, ao as La, ap as ma, aq as ca, ar as ua, as as Ka } from "./index-Z1VcK78M.js";
2
2
  export {
3
3
  e as API_METHOD_TYPES,
4
4
  r as ActionMenu,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@vtj/designer",
3
3
  "private": false,
4
- "version": "0.19.5",
4
+ "version": "0.19.6",
5
5
  "type": "module",
6
6
  "keywords": [
7
7
  "低代码引擎",
@@ -29,12 +29,12 @@
29
29
  "marked": "~17.0.1",
30
30
  "mockjs": "~1.1.0",
31
31
  "monaco-editor": "~0.55.0",
32
- "@vtj/renderer": "~0.19.5",
33
- "@vtj/icons": "~0.19.5",
34
- "@vtj/uni": "~0.19.5",
35
- "@vtj/utils": "~0.19.5",
36
- "@vtj/core": "~0.19.5",
37
- "@vtj/ui": "~0.19.5"
32
+ "@vtj/core": "~0.19.6",
33
+ "@vtj/icons": "~0.19.6",
34
+ "@vtj/renderer": "~0.19.6",
35
+ "@vtj/ui": "~0.19.6",
36
+ "@vtj/uni": "~0.19.6",
37
+ "@vtj/utils": "~0.19.6"
38
38
  },
39
39
  "devDependencies": {
40
40
  "@types/mockjs": "~1.0.10",
@@ -2,7 +2,7 @@
2
2
  * Copyright (c) 2026, VTJ.PRO All rights reserved.
3
3
  * @name @vtj/designer
4
4
  * @author CHC chenhuachun1549@dingtalk.com
5
- * @version 0.19.4
5
+ * @version 0.19.5
6
6
  * @license <a href="https://vtj.pro/license.html">MIT License</a>
7
7
  */
8
- export declare const version = "0.19.4";
8
+ export declare const version = "0.19.5";
@@ -1,4 +0,0 @@
1
- import { _ as f } from "./index-C-zssnmt.js";
2
- export {
3
- f as default
4
- };