@web-utils/form-ui 1.0.0-beta90 → 1.0.0-beta91

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 (34) hide show
  1. package/chunks/{9biMMvdz.mjs → BSOrm2U4.mjs} +1 -1
  2. package/chunks/{BUMCkrlW.mjs → CUh6-IK-.mjs} +1 -1
  3. package/chunks/{CuOWVayQ.mjs → Dgp15aEx.mjs} +2 -2
  4. package/chunks/{uf-2jFmW.mjs → qtQGid8Q.mjs} +2 -2
  5. package/chunks/rl4vgArX2.mjs +74 -0
  6. package/flow-designer/index.mjs +1 -1
  7. package/index.css +1 -1
  8. package/index.d.ts +2 -1
  9. package/index.mjs +27 -26
  10. package/json-editor/index.d.ts +32 -0
  11. package/json-editor/index.mjs +2 -0
  12. package/json-editor/style.css +1 -0
  13. package/keyboard/index.mjs +1 -1
  14. package/monaco-editor/index.mjs +1 -1
  15. package/package.json +1 -1
  16. package/photo-swipe/index.mjs +1 -1
  17. package/resolver/components.mjs +1 -1
  18. package/split-pane/index.mjs +1 -1
  19. package/watermark/index.mjs +1 -1
  20. package/web-types.json +1 -1
  21. /package/chunks/{DcK-uACO.mjs → BCYFaOiB.mjs} +0 -0
  22. /package/chunks/{Bqa2LN1P.mjs → BfW25VbY.mjs} +0 -0
  23. /package/chunks/{BiZI9y1L.mjs → BjccroM8.mjs} +0 -0
  24. /package/chunks/{CvKF64A3.mjs → BvGW2gtF.mjs} +0 -0
  25. /package/chunks/{DbGsHK5m.mjs → C6lKjnj5.mjs} +0 -0
  26. /package/chunks/{DuPfGcqQ.mjs → CCnD8lOv.mjs} +0 -0
  27. /package/chunks/{CHjGX9KK.mjs → CHqxWrj7.mjs} +0 -0
  28. /package/chunks/{BDc8zAp9.mjs → CY2YrwMT.mjs} +0 -0
  29. /package/chunks/{vEV0HSsL.mjs → CZnwC17w.mjs} +0 -0
  30. /package/chunks/{e0fWXKxt.mjs → Cp1olyWc.mjs} +0 -0
  31. /package/chunks/{CLI1zBAA.mjs → CpmWELPU.mjs} +0 -0
  32. /package/chunks/{id2zIVnt.mjs → DEHzWyyp.mjs} +0 -0
  33. /package/chunks/{BJajYDQv2.mjs → jG7vu3RX.mjs} +0 -0
  34. /package/chunks/{BYixGVnP.mjs → mH_IELW0.mjs} +0 -0
@@ -1,5 +1,5 @@
1
1
  import { t as e } from "./B1MSrc6f.mjs";
2
- import { i as t, n } from "./vEV0HSsL.mjs";
2
+ import { i as t, n } from "./CZnwC17w.mjs";
3
3
  import { ElForm as r, ElFormItem as i, ElInput as a, ElOption as o, ElSelect as s, ElSwitch as c } from "element-plus/es";
4
4
  import "element-plus/es/components/base/style/css";
5
5
  import "element-plus/es/components/input/style/css";
@@ -421,7 +421,7 @@ var Ae = [
421
421
  "task",
422
422
  "form",
423
423
  "multiInstance"
424
- ], je = y(() => import("./CuOWVayQ.mjs")), Me = y(() => import("./CvKF64A3.mjs")), Ne = y(() => import("./DuPfGcqQ.mjs")), Pe = y(() => import("./uf-2jFmW.mjs")), Fe = y(() => import("./DbGsHK5m.mjs")), Ie = y(() => import("./CHjGX9KK.mjs")), Le = y(() => import("./Bqa2LN1P.mjs")), Re = y(() => import("./BYixGVnP.mjs")), ze = y(() => import("./DcK-uACO.mjs")), Be = y(() => import("./9biMMvdz.mjs")), Ve = {
424
+ ], je = y(() => import("./Dgp15aEx.mjs")), Me = y(() => import("./BvGW2gtF.mjs")), Ne = y(() => import("./CCnD8lOv.mjs")), Pe = y(() => import("./qtQGid8Q.mjs")), Fe = y(() => import("./C6lKjnj5.mjs")), Ie = y(() => import("./CHqxWrj7.mjs")), Le = y(() => import("./BfW25VbY.mjs")), Re = y(() => import("./mH_IELW0.mjs")), ze = y(() => import("./BCYFaOiB.mjs")), Be = y(() => import("./BSOrm2U4.mjs")), Ve = {
425
425
  name: "PropertiesPanel",
426
426
  componentName: "MyPropertiesPanel",
427
427
  props: {
@@ -1,8 +1,8 @@
1
1
  import { t as e } from "./B1MSrc6f.mjs";
2
2
  import { t } from "./V-Js6hNd.mjs";
3
3
  import { t as n } from "./Gh6td4HK.mjs";
4
- import { r, t as i } from "./vEV0HSsL.mjs";
5
- import { a, i as o, n as s, r as c, t as l } from "./e0fWXKxt.mjs";
4
+ import { r, t as i } from "./CZnwC17w.mjs";
5
+ import { a, i as o, n as s, r as c, t as l } from "./Cp1olyWc.mjs";
6
6
  import { ElDivider as u, ElDrawer as d, ElForm as f, ElFormItem as p, ElInput as m, ElMessageBox as h, ElOption as g, ElSelect as _, ElTable as v, ElTableColumn as y } from "element-plus/es";
7
7
  import "element-plus/es/components/base/style/css";
8
8
  import "element-plus/es/components/input/style/css";
@@ -1,8 +1,8 @@
1
1
  import { t as e } from "./B1MSrc6f.mjs";
2
2
  import { t } from "./V-Js6hNd.mjs";
3
3
  import { t as n } from "./Gh6td4HK.mjs";
4
- import { r, t as i } from "./vEV0HSsL.mjs";
5
- import { a, i as o, n as s, r as c } from "./e0fWXKxt.mjs";
4
+ import { r, t as i } from "./CZnwC17w.mjs";
5
+ import { a, i as o, n as s, r as c } from "./Cp1olyWc.mjs";
6
6
  import { ElDivider as l, ElDrawer as u, ElForm as d, ElFormItem as f, ElInput as p, ElMessageBox as m, ElOption as h, ElSelect as g, ElTable as _, ElTableColumn as v } from "element-plus/es";
7
7
  import "element-plus/es/components/base/style/css";
8
8
  import "element-plus/es/components/input/style/css";
@@ -0,0 +1,74 @@
1
+ import { createVNode as e, nextTick as t, onMounted as n, useTemplateRef as r, watch as i } from "vue";
2
+ import a from "jsoneditor";
3
+ import "jsoneditor/dist/jsoneditor.css";
4
+ //#region src/components/json-editor/JsonEditor.vue?vue&type=script&lang.jsx
5
+ var o = [
6
+ "tree",
7
+ "view",
8
+ "form"
9
+ ], s = {
10
+ name: "JsonEditor",
11
+ props: {
12
+ modelValue: [
13
+ String,
14
+ Boolean,
15
+ Object,
16
+ Array
17
+ ],
18
+ expanded: Boolean,
19
+ mode: {
20
+ type: String,
21
+ default: "tree"
22
+ },
23
+ modes: {
24
+ type: Array,
25
+ default() {
26
+ return [
27
+ "tree",
28
+ "code",
29
+ "form",
30
+ "text",
31
+ "view"
32
+ ];
33
+ }
34
+ }
35
+ },
36
+ emits: [
37
+ "mode-change",
38
+ "error",
39
+ "update:modelValue"
40
+ ],
41
+ setup(s, { emit: c }) {
42
+ let l = r("editor"), u = !1, d, f = () => {
43
+ s.expanded && o.includes(s.mode) && d.expandAll();
44
+ }, p = (e) => {
45
+ d && d.set(e);
46
+ };
47
+ return i(() => s.modelValue, (e) => {
48
+ u || (p(e), f());
49
+ }, { immediate: !0 }), n(() => {
50
+ let e = {
51
+ mode: s.mode,
52
+ modes: s.modes,
53
+ onChange() {
54
+ try {
55
+ u = !0, c("update:modelValue", d.get()), t(() => {
56
+ u = !1;
57
+ });
58
+ } catch (e) {
59
+ c("error", e);
60
+ }
61
+ },
62
+ onModeChange(e) {
63
+ c("mode-change", e), o.includes(e) && f();
64
+ }
65
+ };
66
+ d = new a(l.value, e, s.modelValue);
67
+ }), () => e("div", {
68
+ ref: "editor",
69
+ class: "json-editor"
70
+ }, null);
71
+ }
72
+ };
73
+ //#endregion
74
+ export { s as t };
@@ -1,2 +1,2 @@
1
- import { t as e } from "../chunks/BUMCkrlW.mjs";
1
+ import { t as e } from "../chunks/CUh6-IK-.mjs";
2
2
  export { e as default };