sun-form-v3 1.0.146 → 1.0.147

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 C, resolveComponent as g, openBlock as T, createElementBlock as H, Fragment as E, createVNode as e, unref as l, withCtx as a, createTextVNode as b, isRef as A, createElementVNode as f, toDisplayString as k, createCommentVNode as D } from "vue";
2
- import { _ as $ } from "./index-Btz0Lc1t.js";
2
+ import { _ as $ } from "./index-Dj2Llrqb.js";
3
3
  const q = {
4
4
  key: 0,
5
5
  class: "flex h-full flex-col"
@@ -1,4 +1,4 @@
1
- import { resolveComponent as u, openBlock as V, createElementBlock as g, Fragment as w, createVNode as e, withCtx as a, unref as t } from "vue";
1
+ import { resolveComponent as u, openBlock as g, createElementBlock as V, Fragment as w, createVNode as l, withCtx as a, unref as t } from "vue";
2
2
  const U = /* @__PURE__ */ Object.assign({ name: "config-file" }, {
3
3
  __name: "index",
4
4
  props: {
@@ -12,26 +12,26 @@ const U = /* @__PURE__ */ Object.assign({ name: "config-file" }, {
12
12
  }
13
13
  },
14
14
  setup(f) {
15
- let l = f;
15
+ let e = f;
16
16
  return (b, o) => {
17
- const i = u("el-option"), m = u("el-select"), p = u("common-label-container"), n = u("el-input"), r = u("el-input-number"), s = u("el-switch");
18
- return V(), g(w, null, [
19
- e(p, { label: "组件尺寸" }, {
17
+ const i = u("el-option"), m = u("el-select"), p = u("common-label-container"), n = u("el-input"), s = u("el-input-number"), r = u("el-switch");
18
+ return g(), V(w, null, [
19
+ l(p, { label: "组件尺寸" }, {
20
20
  default: a(() => [
21
- e(m, {
22
- modelValue: t(l).widget.props.size,
23
- "onUpdate:modelValue": o[0] || (o[0] = (d) => t(l).widget.props.size = d)
21
+ l(m, {
22
+ modelValue: t(e).widget.props.size,
23
+ "onUpdate:modelValue": o[0] || (o[0] = (d) => t(e).widget.props.size = d)
24
24
  }, {
25
25
  default: a(() => [
26
- e(i, {
26
+ l(i, {
27
27
  label: "大尺寸",
28
28
  value: "large"
29
29
  }),
30
- e(i, {
30
+ l(i, {
31
31
  label: "默认",
32
32
  value: "default"
33
33
  }),
34
- e(i, {
34
+ l(i, {
35
35
  label: "小尺寸",
36
36
  value: "small"
37
37
  })
@@ -41,94 +41,98 @@ const U = /* @__PURE__ */ Object.assign({ name: "config-file" }, {
41
41
  ]),
42
42
  _: 1
43
43
  }),
44
- e(p, { label: "上传字段" }, {
44
+ l(p, { label: "上传字段" }, {
45
45
  default: a(() => [
46
- e(n, {
47
- modelValue: t(l).widget.props.fileField,
48
- "onUpdate:modelValue": o[1] || (o[1] = (d) => t(l).widget.props.fileField = d),
46
+ l(n, {
47
+ modelValue: t(e).widget.props.fileField,
48
+ "onUpdate:modelValue": o[1] || (o[1] = (d) => t(e).widget.props.fileField = d),
49
49
  placeholder: "填写上传字段"
50
50
  }, null, 8, ["modelValue"])
51
51
  ]),
52
52
  _: 1
53
53
  }),
54
- e(p, { label: "文件ID字段" }, {
54
+ l(p, { label: "文件ID字段" }, {
55
55
  default: a(() => [
56
- e(n, {
57
- modelValue: t(l).widget.props.fileIdField,
58
- "onUpdate:modelValue": o[2] || (o[2] = (d) => t(l).widget.props.fileIdField = d),
56
+ l(n, {
57
+ modelValue: t(e).widget.props.fileIdField,
58
+ "onUpdate:modelValue": o[2] || (o[2] = (d) => t(e).widget.props.fileIdField = d),
59
59
  placeholder: "填写文件ID字段"
60
60
  }, null, 8, ["modelValue"])
61
61
  ]),
62
62
  _: 1
63
63
  }),
64
- e(p, { label: "文件名称字段" }, {
64
+ l(p, { label: "文件名称字段" }, {
65
65
  default: a(() => [
66
- e(n, {
67
- modelValue: t(l).widget.props.fileNameField,
68
- "onUpdate:modelValue": o[3] || (o[3] = (d) => t(l).widget.props.fileNameField = d),
66
+ l(n, {
67
+ modelValue: t(e).widget.props.fileNameField,
68
+ "onUpdate:modelValue": o[3] || (o[3] = (d) => t(e).widget.props.fileNameField = d),
69
69
  placeholder: "填写文件名称字段"
70
70
  }, null, 8, ["modelValue"])
71
71
  ]),
72
72
  _: 1
73
73
  }),
74
- e(p, { label: "文件URL字段" }, {
74
+ l(p, { label: "文件URL字段" }, {
75
75
  default: a(() => [
76
- e(n, {
77
- modelValue: t(l).widget.props.fileUrlField,
78
- "onUpdate:modelValue": o[4] || (o[4] = (d) => t(l).widget.props.fileUrlField = d),
76
+ l(n, {
77
+ modelValue: t(e).widget.props.fileUrlField,
78
+ "onUpdate:modelValue": o[4] || (o[4] = (d) => t(e).widget.props.fileUrlField = d),
79
79
  placeholder: "填写文件URL字段"
80
80
  }, null, 8, ["modelValue"])
81
81
  ]),
82
82
  _: 1
83
83
  }),
84
- e(p, { label: "大小限制(mb)" }, {
84
+ l(p, { label: "大小限制(mb)" }, {
85
85
  default: a(() => [
86
- e(r, {
86
+ l(s, {
87
87
  class: "w-full",
88
88
  placeholder: "填写最大文件大小",
89
- modelValue: t(l).widget.props.fileSize,
90
- "onUpdate:modelValue": o[5] || (o[5] = (d) => t(l).widget.props.fileSize = d),
89
+ modelValue: t(e).widget.props.fileSize,
90
+ "onUpdate:modelValue": o[5] || (o[5] = (d) => t(e).widget.props.fileSize = d),
91
91
  min: 0,
92
92
  "controls-position": "right"
93
93
  }, null, 8, ["modelValue"])
94
94
  ]),
95
95
  _: 1
96
96
  }),
97
- e(p, { label: "个数限制" }, {
97
+ l(p, { label: "个数限制" }, {
98
98
  default: a(() => [
99
- e(r, {
99
+ l(s, {
100
100
  class: "w-full",
101
101
  placeholder: "限制文件个数",
102
- modelValue: t(l).widget.props.limit,
103
- "onUpdate:modelValue": o[6] || (o[6] = (d) => t(l).widget.props.limit = d),
102
+ modelValue: t(e).widget.props.limit,
103
+ "onUpdate:modelValue": o[6] || (o[6] = (d) => t(e).widget.props.limit = d),
104
104
  min: 0,
105
105
  "controls-position": "right"
106
106
  }, null, 8, ["modelValue"])
107
107
  ]),
108
108
  _: 1
109
109
  }),
110
- e(p, { label: "上传限制类型" }, {
110
+ l(p, { label: "上传限制类型" }, {
111
111
  default: a(() => [
112
- e(m, {
113
- modelValue: t(l).widget.props.accept,
114
- "onUpdate:modelValue": o[7] || (o[7] = (d) => t(l).widget.props.accept = d)
112
+ l(m, {
113
+ modelValue: t(e).widget.props.accept,
114
+ "onUpdate:modelValue": o[7] || (o[7] = (d) => t(e).widget.props.accept = d),
115
+ multiple: "",
116
+ placeholder: "选择允许的文件类型",
117
+ "collapse-tags": "",
118
+ "collapse-tags-tooltip": ""
115
119
  }, {
116
120
  default: a(() => [
117
- e(i, {
118
- label: "所有文件",
119
- value: ""
120
- }),
121
- e(i, {
122
- label: "图片",
121
+ l(i, {
122
+ label: "图片文件 (jpg,png,gif等)",
123
123
  value: "img"
124
124
  }),
125
- e(i, {
126
- label: "视频",
125
+ l(i, {
126
+ label: "视频文件 (mp4,avi,mov等)",
127
127
  value: "video"
128
128
  }),
129
- e(i, {
130
- label: "音频",
129
+ l(i, {
130
+ label: "音频文件 (mp3,wav,aac等)",
131
131
  value: "audio"
132
+ }),
133
+ l(i, {
134
+ label: "文档文件 (pdf,doc,xls等)",
135
+ value: "document"
132
136
  })
133
137
  ]),
134
138
  _: 1
@@ -136,20 +140,20 @@ const U = /* @__PURE__ */ Object.assign({ name: "config-file" }, {
136
140
  ]),
137
141
  _: 1
138
142
  }),
139
- e(p, { label: "支持多文件" }, {
143
+ l(p, { label: "支持多文件" }, {
140
144
  default: a(() => [
141
- e(s, {
142
- modelValue: t(l).widget.props.multiple,
143
- "onUpdate:modelValue": o[8] || (o[8] = (d) => t(l).widget.props.multiple = d)
145
+ l(r, {
146
+ modelValue: t(e).widget.props.multiple,
147
+ "onUpdate:modelValue": o[8] || (o[8] = (d) => t(e).widget.props.multiple = d)
144
148
  }, null, 8, ["modelValue"])
145
149
  ]),
146
150
  _: 1
147
151
  }),
148
- e(p, { label: "是否只读" }, {
152
+ l(p, { label: "是否只读" }, {
149
153
  default: a(() => [
150
- e(s, {
151
- modelValue: t(l).widget.props.readonly,
152
- "onUpdate:modelValue": o[9] || (o[9] = (d) => t(l).widget.props.readonly = d)
154
+ l(r, {
155
+ modelValue: t(e).widget.props.readonly,
156
+ "onUpdate:modelValue": o[9] || (o[9] = (d) => t(e).widget.props.readonly = d)
153
157
  }, null, 8, ["modelValue"])
154
158
  ]),
155
159
  _: 1
@@ -1,5 +1,5 @@
1
1
  import { computed as z, ref as x, resolveComponent as p, openBlock as k, createElementBlock as U, Fragment as O, createVNode as e, withCtx as l, createTextVNode as V, unref as u, isRef as J, createElementVNode as m } from "vue";
2
- import { _ as E, c as H } from "./index-Btz0Lc1t.js";
2
+ import { _ as E, c as H } from "./index-Dj2Llrqb.js";
3
3
  const h = { class: "h-full flex flex-col" }, B = { class: "flex-1 overflow-hidden" }, T = /* @__PURE__ */ Object.assign({ name: "commonStyleConfig" }, {
4
4
  __name: "dataConfig",
5
5
  props: {
@@ -1,5 +1,5 @@
1
1
  import { computed as j, ref as g, onMounted as $, resolveComponent as f, openBlock as v, createElementBlock as h, Fragment as x, createVNode as u, withCtx as o, createTextVNode as C, createElementVNode as a, 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-Btz0Lc1t.js";
2
+ import { e as E, i as M } from "./index-Dj2Llrqb.js";
3
3
  const R = { class: "flex-wrap flex" }, S = ["onClick"], T = { 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" }, z = { class: "lab border-t w-full text-center mt-1 font-bold" }, F = /* @__PURE__ */ Object.assign({ name: "chatChoose" }, {
4
4
  __name: "chartChoose",
5
5
  props: {
@@ -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-Btz0Lc1t.js";
2
+ import { c } from "./index-Dj2Llrqb.js";
3
3
  const k = /* @__PURE__ */ Object.assign({ name: "config-text" }, {
4
4
  __name: "index",
5
5
  props: {