@vtj/designer 0.9.25 → 0.9.27

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.
Files changed (46) hide show
  1. package/dist/{Editor-Cp9Sb2ni.js → Editor-BFm57YMW.js} +6 -6
  2. package/dist/{css.worker-DcQjDQkA.js → css.worker-DhE07keG.js} +17 -17
  3. package/dist/{editor.worker-lG8NyUhA.js → editor.worker-DKpUct5n.js} +1 -1
  4. package/dist/html.worker-C5hxLCyX.js +25 -0
  5. package/dist/index.mjs +2812 -2421
  6. package/dist/{json.worker-Cz3wPAlQ.js → json.worker-DCDqLFYI.js} +1 -1
  7. package/dist/style.css +1 -1
  8. package/dist/{ts.worker-C2xNNmKz.js → ts.worker-D9KUThWN.js} +168 -168
  9. package/package.json +6 -6
  10. package/types/components/binders/event.d.ts +2 -46
  11. package/types/components/binders/variable.d.ts +2 -46
  12. package/types/components/editor/Editor.d.ts +1 -3
  13. package/types/components/editor/index.d.ts +1 -3
  14. package/types/components/regions/actions.d.ts +2 -33
  15. package/types/components/regions/apps.d.ts +2 -33
  16. package/types/components/regions/brand.d.ts +2 -33
  17. package/types/components/regions/index.d.ts +10 -258
  18. package/types/components/regions/preview.d.ts +2 -33
  19. package/types/components/regions/settings.d.ts +2 -33
  20. package/types/components/regions/status.d.ts +2 -33
  21. package/types/components/regions/toolbar.d.ts +2 -33
  22. package/types/components/regions/workspace.d.ts +2 -33
  23. package/types/components/setters/function.d.ts +2 -46
  24. package/types/components/setters/index.d.ts +14 -90
  25. package/types/components/setters/json.d.ts +2 -46
  26. package/types/components/setters/vanIcon/iconName.d.ts +2 -0
  27. package/types/components/setters/vanIcon/index.d.ts +16 -0
  28. package/types/components/shared/binder.d.ts +3 -552
  29. package/types/components/skeleton.d.ts +2 -180
  30. package/types/components/widgets/apis/form.d.ts +2 -1520
  31. package/types/components/widgets/css/index.d.ts +2 -46
  32. package/types/components/widgets/designer/index.d.ts +1 -4
  33. package/types/components/widgets/docs/index.d.ts +2 -101
  34. package/types/components/widgets/index.d.ts +8 -339
  35. package/types/components/widgets/market/index.d.ts +2 -101
  36. package/types/components/widgets/previewer/index.d.ts +1 -4
  37. package/types/components/widgets/raw/index.d.ts +2 -46
  38. package/types/components/widgets/schema/index.d.ts +2 -46
  39. package/types/components/widgets/scripts/group.d.ts +4 -650
  40. package/types/components/widgets/scripts/lifeCycles.d.ts +2 -46
  41. package/types/components/widgets/style/JsonMode.d.ts +2 -46
  42. package/types/components/widgets/style/positioning.d.ts +1 -3
  43. package/types/components/widgets/style/spacing-input.d.ts +2 -255
  44. package/types/components/widgets/style/spacing.d.ts +1 -4
  45. package/types/version.d.ts +2 -2
  46. package/dist/html.worker-B83UVBG6.js +0 -25
@@ -1,4 +1,4 @@
1
- import { defineComponent as p, ref as f, onMounted as y, nextTick as g, onUnmounted as h, watch as w, openBlock as V, createElementBlock as k, normalizeClass as v, withKeys as B, withModifiers as E, normalizeStyle as x } from "vue";
1
+ import { defineComponent as p, ref as f, onMounted as y, nextTick as g, onUnmounted as h, watch as w, createElementBlock as v, openBlock as V, normalizeStyle as k, withKeys as B, normalizeClass as E, withModifiers as x } from "vue";
2
2
  import { editor as _ } from "monaco-editor";
3
3
  const T = /* @__PURE__ */ p({
4
4
  __name: "Editor",
@@ -19,7 +19,7 @@ const T = /* @__PURE__ */ p({
19
19
  createTrustedTypesPolicy: void 0,
20
20
  async getWorker(o, a) {
21
21
  let n;
22
- return a === "json" && (n = await import("./json.worker-Cz3wPAlQ.js")), ["css", "scss", "less"].includes(a) && (n = await import("./css.worker-DcQjDQkA.js")), ["html", "handlebars", "razor", "vue"].includes(a) && (n = await import("./html.worker-B83UVBG6.js")), ["typescript", "javascript"].includes(a) && (n = await import("./ts.worker-C2xNNmKz.js")), n = n || await import("./editor.worker-lG8NyUhA.js"), new n.default();
22
+ return a === "json" && (n = await import("./json.worker-DCDqLFYI.js")), ["css", "scss", "less"].includes(a) && (n = await import("./css.worker-DhE07keG.js")), ["html", "handlebars", "razor", "vue"].includes(a) && (n = await import("./html.worker-C5hxLCyX.js")), ["typescript", "javascript"].includes(a) && (n = await import("./ts.worker-D9KUThWN.js")), n = n || await import("./editor.worker-DKpUct5n.js"), new n.default();
23
23
  }
24
24
  };
25
25
  const r = d, i = f();
@@ -52,13 +52,13 @@ const T = /* @__PURE__ */ p({
52
52
  (o) => {
53
53
  e && e.setValue(o);
54
54
  }
55
- ), s({ getEditor: () => e }), (o, a) => (V(), k("div", {
56
- class: v(["v-code-editor", { "is-border": t.border }]),
55
+ ), s({ getEditor: () => e }), (o, a) => (V(), v("div", {
56
+ class: E(["v-code-editor", { "is-border": t.border }]),
57
57
  ref_key: "container",
58
58
  ref: i,
59
- onKeyup: a[0] || (a[0] = B(E(() => {
59
+ onKeyup: a[0] || (a[0] = B(x(() => {
60
60
  }, ["stop"]), ["enter"])),
61
- style: x({ height: t.height })
61
+ style: k({ height: t.height })
62
62
  }, null, 38));
63
63
  }
64
64
  });