sun-form-v3 1.0.171 → 1.0.172

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.
@@ -1,5 +1,5 @@
1
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 { c } from "./index-ozBhX-hE.js";
2
+ import { c } from "./index-w7Vi3qYu.js";
3
3
  const k = /* @__PURE__ */ Object.assign({ name: "config-text" }, {
4
4
  __name: "index",
5
5
  props: {
@@ -0,0 +1,265 @@
1
+ import { resolveComponent as i, openBlock as g, createElementBlock as V, Fragment as w, createVNode as e, withCtx as u, unref as o } from "vue";
2
+ const _ = /* @__PURE__ */ Object.assign({ name: "config-dropdown" }, {
3
+ __name: "index",
4
+ props: {
5
+ designer: {
6
+ type: Object,
7
+ default: {}
8
+ },
9
+ widget: {
10
+ type: Object,
11
+ default: {}
12
+ }
13
+ },
14
+ setup(r) {
15
+ let l = r;
16
+ return (f, t) => {
17
+ const b = i("el-input"), p = i("common-label-container"), d = i("el-option"), s = i("el-select"), n = i("el-switch"), m = i("el-input-number");
18
+ return g(), V(w, null, [
19
+ e(p, { label: "按钮文字" }, {
20
+ default: u(() => [
21
+ e(b, {
22
+ modelValue: o(l).widget.props.buttonText,
23
+ "onUpdate:modelValue": t[0] || (t[0] = (a) => o(l).widget.props.buttonText = a),
24
+ placeholder: "填写按钮显示文字"
25
+ }, null, 8, ["modelValue"])
26
+ ]),
27
+ _: 1
28
+ }),
29
+ e(p, { label: "组件尺寸" }, {
30
+ default: u(() => [
31
+ e(s, {
32
+ modelValue: o(l).widget.props.size,
33
+ "onUpdate:modelValue": t[1] || (t[1] = (a) => o(l).widget.props.size = a)
34
+ }, {
35
+ default: u(() => [
36
+ e(d, {
37
+ label: "大尺寸",
38
+ value: "large"
39
+ }),
40
+ e(d, {
41
+ label: "默认",
42
+ value: "default"
43
+ }),
44
+ e(d, {
45
+ label: "小尺寸",
46
+ value: "small"
47
+ })
48
+ ]),
49
+ _: 1
50
+ }, 8, ["modelValue"])
51
+ ]),
52
+ _: 1
53
+ }),
54
+ e(p, { label: "按钮类型" }, {
55
+ default: u(() => [
56
+ e(s, {
57
+ modelValue: o(l).widget.props.type,
58
+ "onUpdate:modelValue": t[2] || (t[2] = (a) => o(l).widget.props.type = a)
59
+ }, {
60
+ default: u(() => [
61
+ e(d, {
62
+ label: "默认",
63
+ value: ""
64
+ }),
65
+ e(d, {
66
+ label: "主要",
67
+ value: "primary"
68
+ }),
69
+ e(d, {
70
+ label: "成功",
71
+ value: "success"
72
+ }),
73
+ e(d, {
74
+ label: "信息",
75
+ value: "info"
76
+ }),
77
+ e(d, {
78
+ label: "警告",
79
+ value: "warning"
80
+ }),
81
+ e(d, {
82
+ label: "危险",
83
+ value: "danger"
84
+ })
85
+ ]),
86
+ _: 1
87
+ }, 8, ["modelValue"])
88
+ ]),
89
+ _: 1
90
+ }),
91
+ e(p, { label: "朴素按钮" }, {
92
+ default: u(() => [
93
+ e(n, {
94
+ modelValue: o(l).widget.props.isPlain,
95
+ "onUpdate:modelValue": t[3] || (t[3] = (a) => o(l).widget.props.isPlain = a)
96
+ }, null, 8, ["modelValue"])
97
+ ]),
98
+ _: 1
99
+ }),
100
+ e(p, { label: "文字按钮" }, {
101
+ default: u(() => [
102
+ e(n, {
103
+ modelValue: o(l).widget.props.isText,
104
+ "onUpdate:modelValue": t[4] || (t[4] = (a) => o(l).widget.props.isText = a)
105
+ }, null, 8, ["modelValue"])
106
+ ]),
107
+ _: 1
108
+ }),
109
+ e(p, { label: "链接按钮" }, {
110
+ default: u(() => [
111
+ e(n, {
112
+ modelValue: o(l).widget.props.isLink,
113
+ "onUpdate:modelValue": t[5] || (t[5] = (a) => o(l).widget.props.isLink = a)
114
+ }, null, 8, ["modelValue"])
115
+ ]),
116
+ _: 1
117
+ }),
118
+ e(p, { label: "触发方式" }, {
119
+ default: u(() => [
120
+ e(s, {
121
+ modelValue: o(l).widget.props.trigger,
122
+ "onUpdate:modelValue": t[6] || (t[6] = (a) => o(l).widget.props.trigger = a)
123
+ }, {
124
+ default: u(() => [
125
+ e(d, {
126
+ label: "悬停",
127
+ value: "hover"
128
+ }),
129
+ e(d, {
130
+ label: "点击",
131
+ value: "click"
132
+ }),
133
+ e(d, {
134
+ label: "右键",
135
+ value: "contextmenu"
136
+ })
137
+ ]),
138
+ _: 1
139
+ }, 8, ["modelValue"])
140
+ ]),
141
+ _: 1
142
+ }),
143
+ e(p, { label: "弹出位置" }, {
144
+ default: u(() => [
145
+ e(s, {
146
+ modelValue: o(l).widget.props.placement,
147
+ "onUpdate:modelValue": t[7] || (t[7] = (a) => o(l).widget.props.placement = a)
148
+ }, {
149
+ default: u(() => [
150
+ e(d, {
151
+ label: "下方",
152
+ value: "bottom"
153
+ }),
154
+ e(d, {
155
+ label: "下方开始",
156
+ value: "bottom-start"
157
+ }),
158
+ e(d, {
159
+ label: "下方结束",
160
+ value: "bottom-end"
161
+ }),
162
+ e(d, {
163
+ label: "上方",
164
+ value: "top"
165
+ }),
166
+ e(d, {
167
+ label: "上方开始",
168
+ value: "top-start"
169
+ }),
170
+ e(d, {
171
+ label: "上方结束",
172
+ value: "top-end"
173
+ }),
174
+ e(d, {
175
+ label: "左侧",
176
+ value: "left"
177
+ }),
178
+ e(d, {
179
+ label: "左侧开始",
180
+ value: "left-start"
181
+ }),
182
+ e(d, {
183
+ label: "左侧结束",
184
+ value: "left-end"
185
+ }),
186
+ e(d, {
187
+ label: "右侧",
188
+ value: "right"
189
+ }),
190
+ e(d, {
191
+ label: "右侧开始",
192
+ value: "right-start"
193
+ }),
194
+ e(d, {
195
+ label: "右侧结束",
196
+ value: "right-end"
197
+ })
198
+ ]),
199
+ _: 1
200
+ }, 8, ["modelValue"])
201
+ ]),
202
+ _: 1
203
+ }),
204
+ e(p, { label: "显示延时" }, {
205
+ default: u(() => [
206
+ e(m, {
207
+ class: "w-full",
208
+ modelValue: o(l).widget.props.showTimeout,
209
+ "onUpdate:modelValue": t[8] || (t[8] = (a) => o(l).widget.props.showTimeout = a),
210
+ min: 0,
211
+ step: 50,
212
+ "controls-position": "right",
213
+ placeholder: "毫秒"
214
+ }, null, 8, ["modelValue"])
215
+ ]),
216
+ _: 1
217
+ }),
218
+ e(p, { label: "隐藏延时" }, {
219
+ default: u(() => [
220
+ e(m, {
221
+ class: "w-full",
222
+ modelValue: o(l).widget.props.hideTimeout,
223
+ "onUpdate:modelValue": t[9] || (t[9] = (a) => o(l).widget.props.hideTimeout = a),
224
+ min: 0,
225
+ step: 50,
226
+ "controls-position": "right",
227
+ placeholder: "毫秒"
228
+ }, null, 8, ["modelValue"])
229
+ ]),
230
+ _: 1
231
+ }),
232
+ e(p, { label: "点击后隐藏" }, {
233
+ default: u(() => [
234
+ e(n, {
235
+ modelValue: o(l).widget.props.hideOnClick,
236
+ "onUpdate:modelValue": t[10] || (t[10] = (a) => o(l).widget.props.hideOnClick = a)
237
+ }, null, 8, ["modelValue"])
238
+ ]),
239
+ _: 1
240
+ }),
241
+ e(p, { label: "分割按钮" }, {
242
+ default: u(() => [
243
+ e(n, {
244
+ modelValue: o(l).widget.props.splitButton,
245
+ "onUpdate:modelValue": t[11] || (t[11] = (a) => o(l).widget.props.splitButton = a)
246
+ }, null, 8, ["modelValue"])
247
+ ]),
248
+ _: 1
249
+ }),
250
+ e(p, { label: "是否禁用" }, {
251
+ default: u(() => [
252
+ e(n, {
253
+ modelValue: o(l).widget.props.disabled,
254
+ "onUpdate:modelValue": t[12] || (t[12] = (a) => o(l).widget.props.disabled = a)
255
+ }, null, 8, ["modelValue"])
256
+ ]),
257
+ _: 1
258
+ })
259
+ ], 64);
260
+ };
261
+ }
262
+ });
263
+ export {
264
+ _ as default
265
+ };
@@ -1,5 +1,5 @@
1
1
  import { computed as j, ref as g, onMounted as $, resolveComponent as f, openBlock as _, createElementBlock as v, Fragment as x, createVNode as r, withCtx as o, createTextVNode as C, createElementVNode as u, renderList as B, unref as V, toDisplayString as N, nextTick as U, createBlock as D } from "vue";
2
- import { e as E, i as M } from "./index-ozBhX-hE.js";
2
+ import { e as E, i as M } from "./index-w7Vi3qYu.js";
3
3
  const R = /* @__PURE__ */ u("span", null, "图表选择", -1), S = { class: "flex-wrap flex" }, T = ["onClick"], z = { class: "inner cursor-pointer hover:shadow-md hover:shadow-blue-200 border w-full h-full p-1 flex flex-col overflow-hidden items-center rounded-md shadow-sm" }, F = { class: "lab border-t w-full text-center mt-1 font-bold" }, L = /* @__PURE__ */ Object.assign({ name: "chatChoose" }, {
4
4
  __name: "chartChoose",
5
5
  props: {
@@ -1,5 +1,5 @@
1
1
  import { computed as N, ref as h, resolveComponent as u, openBlock as C, createElementBlock as U, Fragment as k, createVNode as e, withCtx as l, createTextVNode as g, unref as d, isRef as j, createElementVNode as c, pushScopeId as I, popScopeId as J } from "vue";
2
- import { _ as T } from "./index-ozBhX-hE.js";
2
+ import { _ as T } from "./index-w7Vi3qYu.js";
3
3
  const E = (m) => (I("data-v-ede8dcab"), m = m(), J(), m), H = /* @__PURE__ */ E(() => /* @__PURE__ */ c("span", null, "数据配置", -1)), B = { class: "h-full flex flex-col" }, D = { class: "flex-1 overflow-hidden" }, F = {
4
4
  __name: "dataConfig",
5
5
  props: {
@@ -1,5 +1,5 @@
1
1
  import { ref as C, resolveComponent as m, openBlock as k, createElementBlock as S, Fragment as M, createVNode as e, unref as l, withCtx as a, createTextVNode as b, isRef as j, createElementVNode as g, toDisplayString as T, createCommentVNode as O, pushScopeId as q, popScopeId as J, createBlock as K } from "vue";
2
- import { _ as Q } from "./index-ozBhX-hE.js";
2
+ import { _ as Q } from "./index-w7Vi3qYu.js";
3
3
  const A = (_) => (q("data-v-75dc2686"), _ = _(), J(), _), W = /* @__PURE__ */ A(() => /* @__PURE__ */ g("span", null, "复杂表头配置", -1)), h = {
4
4
  key: 0,
5
5
  class: "flex h-full flex-col"
@@ -1,5 +1,5 @@
1
1
  import { computed as j, ref as y, resolveComponent as i, openBlock as h, createElementBlock as k, Fragment as U, createVNode as e, withCtx as l, createTextVNode as V, unref as d, isRef as z, createElementVNode as m, pushScopeId as I, popScopeId as J } from "vue";
2
- import { _ as E, c as H } from "./index-ozBhX-hE.js";
2
+ import { _ as E, c as H } from "./index-w7Vi3qYu.js";
3
3
  const B = (r) => (I("data-v-657a5bea"), r = r(), J(), r), T = /* @__PURE__ */ B(() => /* @__PURE__ */ m("span", null, "数据配置", -1)), D = { class: "h-full flex flex-col" }, F = { class: "flex-1 overflow-hidden" }, M = /* @__PURE__ */ Object.assign({ name: "commonStyleConfig" }, {
4
4
  __name: "dataConfig",
5
5
  props: {
@@ -1,5 +1,5 @@
1
1
  import { computed as N, ref as y, resolveComponent as i, openBlock as C, createElementBlock as k, Fragment as O, createVNode as e, withCtx as l, createTextVNode as m, unref as d, isRef as j, createElementVNode as _, pushScopeId as I, popScopeId as J } from "vue";
2
- import { _ as E } from "./index-ozBhX-hE.js";
2
+ import { _ as E } from "./index-w7Vi3qYu.js";
3
3
  const H = (p) => (I("data-v-4c8b2df2"), p = p(), J(), p), B = /* @__PURE__ */ H(() => /* @__PURE__ */ _("span", null, "数据配置", -1)), T = { class: "h-full flex flex-col" }, D = { class: "flex-1 overflow-hidden" }, F = {
4
4
  __name: "dataConfig",
5
5
  props: {
@@ -0,0 +1 @@
1
+ import "./index-w7Vi3qYu.js";