zforg 1.0.1

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 (50) hide show
  1. package/README.md +136 -0
  2. package/dist/cdn.sunform.tech/libs/monaco-editor/min/vs/loader.js +11 -0
  3. package/dist/cdn.sunform.tech/libs/monaco-editor/min-maps/vs/out-editor/vs/loader.js +1898 -0
  4. package/dist/favicon.ico +0 -0
  5. package/dist/index-B0fldwhm.js +99 -0
  6. package/dist/index-B1b5cejN.js +105 -0
  7. package/dist/index-B2ieNi21.js +95 -0
  8. package/dist/index-BAEL_Fhr.js +127 -0
  9. package/dist/index-BFMI5eOW.js +246 -0
  10. package/dist/index-BGxc5ryR.js +25894 -0
  11. package/dist/index-BJ0vPF5A.js +44 -0
  12. package/dist/index-BLCD8R_e.js +834 -0
  13. package/dist/index-BMvtKcYA.js +148 -0
  14. package/dist/index-BV8ZIDLP.js +255135 -0
  15. package/dist/index-BYbxnzUx.js +105 -0
  16. package/dist/index-BZ_40krq.js +265 -0
  17. package/dist/index-BcUJtkEW.js +159 -0
  18. package/dist/index-BkftF1Ew.js +33 -0
  19. package/dist/index-C0NmmaE2.js +252 -0
  20. package/dist/index-C78PiK5v.js +20 -0
  21. package/dist/index-CE0gDB6E.js +140 -0
  22. package/dist/index-CHAFY_vi.js +159 -0
  23. package/dist/index-CIaeKFCl.js +159 -0
  24. package/dist/index-CXNYHPLK.js +43 -0
  25. package/dist/index-CiNAZsvy.js +100 -0
  26. package/dist/index-CifChfEv.js +20 -0
  27. package/dist/index-CjKir6nk.js +280 -0
  28. package/dist/index-CvnfmMTc.js +202 -0
  29. package/dist/index-CzkuANsf.js +20 -0
  30. package/dist/index-D7zr1ztZ.js +73 -0
  31. package/dist/index-DHjsGntq.js +157 -0
  32. package/dist/index-DQ3y00Pa.js +65 -0
  33. package/dist/index-DYFp4hH-.js +95 -0
  34. package/dist/index-Dag4zSq7.js +88 -0
  35. package/dist/index-DnmLceC9.js +281 -0
  36. package/dist/index-Dz10Ntti.js +127 -0
  37. package/dist/index-FVwll8uc.js +124 -0
  38. package/dist/index-HNpIFY7h.js +44 -0
  39. package/dist/index-ZVIqhtUw.js +132 -0
  40. package/dist/index-c0zw96Jm.js +139 -0
  41. package/dist/index-dGJDj4ro.js +97 -0
  42. package/dist/index-kUQct_cM.js +172 -0
  43. package/dist/index-kzElMYkk.js +256 -0
  44. package/dist/index-nY_E-1Gm.js +180 -0
  45. package/dist/index-zkXVDNsL.js +184 -0
  46. package/dist/js/loader.js +11 -0
  47. package/dist/style.css +1 -0
  48. package/dist/sun-form-v3.es.js +4 -0
  49. package/dist/sun-form-v3.umd.js +7064 -0
  50. package/package.json +62 -0
@@ -0,0 +1,148 @@
1
+ import { ref as g, resolveComponent as u, openBlock as b, createElementBlock as V, Fragment as w, createVNode as e, withCtx as n, unref as a } from "vue";
2
+ import { ah as c } from "./index-BV8ZIDLP.js";
3
+ const k = /* @__PURE__ */ Object.assign({ name: "config-text" }, {
4
+ __name: "index",
5
+ props: {
6
+ designer: {
7
+ type: Object,
8
+ default: {}
9
+ },
10
+ widget: {
11
+ type: Object,
12
+ default: {}
13
+ }
14
+ },
15
+ setup(i) {
16
+ let l = i;
17
+ const m = g(c);
18
+ return (_, o) => {
19
+ const d = u("el-option"), r = u("el-select"), p = u("common-label-container"), s = u("el-switch"), f = u("el-color-picker");
20
+ return b(), V(w, null, [
21
+ e(p, { label: "组件尺寸" }, {
22
+ default: n(() => [
23
+ e(r, {
24
+ modelValue: a(l).widget.props.size,
25
+ "onUpdate:modelValue": o[0] || (o[0] = (t) => a(l).widget.props.size = t)
26
+ }, {
27
+ default: n(() => [
28
+ e(d, {
29
+ label: "大尺寸",
30
+ value: "large"
31
+ }),
32
+ e(d, {
33
+ label: "默认",
34
+ value: "default"
35
+ }),
36
+ e(d, {
37
+ label: "小尺寸",
38
+ value: "small"
39
+ })
40
+ ]),
41
+ _: 1
42
+ }, 8, ["modelValue"])
43
+ ]),
44
+ _: 1
45
+ }),
46
+ e(p, { label: "组件类型" }, {
47
+ default: n(() => [
48
+ e(r, {
49
+ modelValue: a(l).widget.props.type,
50
+ "onUpdate:modelValue": o[1] || (o[1] = (t) => a(l).widget.props.type = t)
51
+ }, {
52
+ default: n(() => [
53
+ e(d, {
54
+ label: "primary",
55
+ value: "primary"
56
+ }),
57
+ e(d, {
58
+ label: "success",
59
+ value: "success"
60
+ }),
61
+ e(d, {
62
+ label: "info",
63
+ value: "info"
64
+ }),
65
+ e(d, {
66
+ label: "warning",
67
+ value: "warning"
68
+ }),
69
+ e(d, {
70
+ label: "danger",
71
+ value: "danger"
72
+ })
73
+ ]),
74
+ _: 1
75
+ }, 8, ["modelValue"])
76
+ ]),
77
+ _: 1
78
+ }),
79
+ e(p, { label: "主题" }, {
80
+ default: n(() => [
81
+ e(r, {
82
+ modelValue: a(l).widget.props.effect,
83
+ "onUpdate:modelValue": o[2] || (o[2] = (t) => a(l).widget.props.effect = t)
84
+ }, {
85
+ default: n(() => [
86
+ e(d, {
87
+ label: "light",
88
+ value: "light"
89
+ }),
90
+ e(d, {
91
+ label: "dark",
92
+ value: "dark"
93
+ }),
94
+ e(d, {
95
+ label: "plain",
96
+ value: "plain"
97
+ })
98
+ ]),
99
+ _: 1
100
+ }, 8, ["modelValue"])
101
+ ]),
102
+ _: 1
103
+ }),
104
+ e(p, { label: "是否可关闭" }, {
105
+ default: n(() => [
106
+ e(s, {
107
+ modelValue: a(l).widget.props.closable,
108
+ "onUpdate:modelValue": o[3] || (o[3] = (t) => a(l).widget.props.closable = t)
109
+ }, null, 8, ["modelValue"])
110
+ ]),
111
+ _: 1
112
+ }),
113
+ e(p, { label: "边框描边" }, {
114
+ default: n(() => [
115
+ e(s, {
116
+ modelValue: a(l).widget.props.hit,
117
+ "onUpdate:modelValue": o[4] || (o[4] = (t) => a(l).widget.props.hit = t)
118
+ }, null, 8, ["modelValue"])
119
+ ]),
120
+ _: 1
121
+ }),
122
+ e(p, { label: "是否圆形" }, {
123
+ default: n(() => [
124
+ e(s, {
125
+ modelValue: a(l).widget.props.round,
126
+ "onUpdate:modelValue": o[5] || (o[5] = (t) => a(l).widget.props.round = t)
127
+ }, null, 8, ["modelValue"])
128
+ ]),
129
+ _: 1
130
+ }),
131
+ e(p, { label: "背景颜色" }, {
132
+ default: n(() => [
133
+ e(f, {
134
+ modelValue: a(l).widget.props.color,
135
+ "onUpdate:modelValue": o[6] || (o[6] = (t) => a(l).widget.props.color = t),
136
+ "show-alpha": "",
137
+ predefine: m.value
138
+ }, null, 8, ["modelValue", "predefine"])
139
+ ]),
140
+ _: 1
141
+ })
142
+ ], 64);
143
+ };
144
+ }
145
+ });
146
+ export {
147
+ k as default
148
+ };