sun-form-v3 1.0.173 → 1.0.176
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.
- package/dist/{index-DP2aWUto.js → index-06jL6GV8.js} +1 -1
- package/dist/{index-BV1OmTk8.js → index-B1RT_3As.js} +1 -1
- package/dist/{index-DzNwhzKH.js → index-C4S7_gOF.js} +1 -1
- package/dist/{index-DMOBCTYq.js → index-ClHL8Wgl.js} +1 -1
- package/dist/{index-DPyfMbBc.js → index-DqZphkse.js} +13 -7
- package/dist/{index-BpcerFjm.js → index-Ed_eJbZp.js} +1 -1
- package/dist/index-IeH7Z3X2.js +1 -0
- package/dist/{index-J3dXeLSh.js → index-ho_vrq26.js} +1 -1
- package/dist/{index-B-asaa8Z.js → index-nY_E-1Gm.js} +45 -36
- package/dist/style.css +1 -1
- package/dist/sun-form-v3.es.js +1 -1
- package/dist/sun-form-v3.umd.js +3 -3
- package/package.json +1 -1
- package/dist/index-odDAoGnF.js +0 -1
|
@@ -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-
|
|
2
|
+
import { _ as E } from "./index-DqZphkse.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: {
|
|
@@ -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-
|
|
2
|
+
import { _ as E, c as H } from "./index-DqZphkse.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 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-
|
|
2
|
+
import { _ as T } from "./index-DqZphkse.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 { 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-
|
|
2
|
+
import { e as E, i as M } from "./index-DqZphkse.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: {
|
|
@@ -175501,9 +175501,12 @@ const Tdn = {
|
|
|
175501
175501
|
widget: n.widget
|
|
175502
175502
|
});
|
|
175503
175503
|
}, p = async () => {
|
|
175504
|
-
if (!n.designer.showMode
|
|
175504
|
+
if (!n.designer.showMode)
|
|
175505
|
+
return;
|
|
175506
|
+
let f = n.designer.checkWidgetListRequiredById(
|
|
175505
175507
|
n.widget.id
|
|
175506
|
-
)
|
|
175508
|
+
);
|
|
175509
|
+
if (console.log(f), !f)
|
|
175507
175510
|
return;
|
|
175508
175511
|
let m = l(), g = r.value.formType;
|
|
175509
175512
|
try {
|
|
@@ -175646,7 +175649,7 @@ const Tdn = {
|
|
|
175646
175649
|
]);
|
|
175647
175650
|
};
|
|
175648
175651
|
}
|
|
175649
|
-
}), Odn = /* @__PURE__ */ Hu(Adn, [["__scopeId", "data-v-
|
|
175652
|
+
}), Odn = /* @__PURE__ */ Hu(Adn, [["__scopeId", "data-v-22ce6d4f"]]), Idn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
175650
175653
|
__proto__: null,
|
|
175651
175654
|
default: Odn
|
|
175652
175655
|
}, Symbol.toStringTag, { value: "Module" })), Ndn = /* @__PURE__ */ Object.assign({ name: "widget-homepage" }, {
|
|
@@ -175737,7 +175740,10 @@ const Tdn = {
|
|
|
175737
175740
|
eventType: "onCreated",
|
|
175738
175741
|
widget: n.widget
|
|
175739
175742
|
}), window.iframeFunc = () => {
|
|
175740
|
-
|
|
175743
|
+
n.designer.eventHandle({
|
|
175744
|
+
eventType: "iframeFunc",
|
|
175745
|
+
widget: n.widget
|
|
175746
|
+
});
|
|
175741
175747
|
}, Dr(() => {
|
|
175742
175748
|
n.designer.eventHandle({
|
|
175743
175749
|
eventType: "onMounted",
|
|
@@ -184387,7 +184393,7 @@ class cHe {
|
|
|
184387
184393
|
let n = !0, r = [];
|
|
184388
184394
|
const i = (a) => {
|
|
184389
184395
|
a.forEach((o) => {
|
|
184390
|
-
o.props.zdname && o.isForm && !o.props.hide && (o.props.value === null || o.props.value === "" || o.props.value === void 0 || JSON.stringify(o.props.value) == "[]") && o.props.required && (r.push(o.props.label), n = !1), o.type === "datatable" && o.props.value && o.props.value.length && o.widgetList.forEach((s) => {
|
|
184396
|
+
o.props.zdname && o.isForm && !o.props.hide && (console.log(o.props.zdname), (o.props.value === null || o.props.value === "" || o.props.value === void 0 || JSON.stringify(o.props.value) == "[]") && o.props.required && (r.push(o.props.label), n = !1)), o.props.zdname && o.type === "file" && !o.props.hide && o.props.value === "[]" && o.props.required && (r.push(o.props.label), n = !1), o.type === "datatable" && o.props.value && o.props.value.length && o.widgetList.forEach((s) => {
|
|
184391
184397
|
o.props.value.forEach((l) => {
|
|
184392
184398
|
l.hasOwnProperty(s.props.zdname) && s.props.required && !s.props.hide && (l[s.props.zdname] === null || l[s.props.zdname] === "" || l[s.props.zdname] === void 0 || JSON.stringify(l[s.props.zdname]) == "[]") && (r.includes(s.props.label) || r.push(s.props.label), n = !1);
|
|
184393
184399
|
});
|
|
@@ -255970,7 +255976,7 @@ const i8n = { key: 1 }, a8n = /* @__PURE__ */ Object.assign({ name: "widget-sfc"
|
|
|
255970
255976
|
"element-plus": D8t,
|
|
255971
255977
|
"@element-plus/icons-vue": h1t,
|
|
255972
255978
|
echarts: Bcn,
|
|
255973
|
-
"echarts-gl": () => import("./index-
|
|
255979
|
+
"echarts-gl": () => import("./index-IeH7Z3X2.js")
|
|
255974
255980
|
},
|
|
255975
255981
|
async getFile(d) {
|
|
255976
255982
|
return d === "element-plus" ? "export * from 'element-plus'; export { default } from 'element-plus';" : d === "@element-plus/icons-vue" ? "export * from '@element-plus/icons-vue'; export { default } from '@element-plus/icons-vue';" : d === "echarts" ? "export * from 'echarts'; export { default } from 'echarts';" : d === "echarts-gl" ? "import 'echarts-gl'; export {};" : d === "vue" ? "export * from 'vue'; export { default } from 'vue';" : s();
|
|
@@ -259886,7 +259892,7 @@ const i8n = { key: 1 }, a8n = /* @__PURE__ */ Object.assign({ name: "widget-sfc"
|
|
|
259886
259892
|
},
|
|
259887
259893
|
setup(t) {
|
|
259888
259894
|
const n = Object.fromEntries(
|
|
259889
|
-
Object.entries(/* @__PURE__ */ Object.assign({ "../widgetConfigComps/config-alert/index.vue": () => import("./index-ZVIqhtUw.js"), "../widgetConfigComps/config-button/index.vue": () => import("./index-CvnfmMTc.js"), "../widgetConfigComps/config-card/index.vue": () => import("./index-BJ0vPF5A.js"), "../widgetConfigComps/config-cascader/index.vue": () => import("./index-BcUJtkEW.js"), "../widgetConfigComps/config-checkCode/index.vue": () => import("./index-kUQct_cM.js"), "../widgetConfigComps/config-checkbox/index.vue": () => import("./index-DM5DPltp.js"), "../widgetConfigComps/config-codeEditor/index.vue": () => import("./index-CzkuANsf.js"), "../widgetConfigComps/config-datatable/index.vue": () => import("./index-
|
|
259895
|
+
Object.entries(/* @__PURE__ */ Object.assign({ "../widgetConfigComps/config-alert/index.vue": () => import("./index-ZVIqhtUw.js"), "../widgetConfigComps/config-button/index.vue": () => import("./index-CvnfmMTc.js"), "../widgetConfigComps/config-card/index.vue": () => import("./index-BJ0vPF5A.js"), "../widgetConfigComps/config-cascader/index.vue": () => import("./index-BcUJtkEW.js"), "../widgetConfigComps/config-checkCode/index.vue": () => import("./index-kUQct_cM.js"), "../widgetConfigComps/config-checkbox/index.vue": () => import("./index-DM5DPltp.js"), "../widgetConfigComps/config-codeEditor/index.vue": () => import("./index-CzkuANsf.js"), "../widgetConfigComps/config-datatable/index.vue": () => import("./index-ho_vrq26.js"), "../widgetConfigComps/config-date/index.vue": () => import("./index-C0NmmaE2.js"), "../widgetConfigComps/config-div/index.vue": () => import("./index-BAEL_Fhr.js"), "../widgetConfigComps/config-dropdown/index.vue": () => import("./index-BZ_40krq.js"), "../widgetConfigComps/config-echarts/index.vue": () => import("./index-ClHL8Wgl.js"), "../widgetConfigComps/config-editor/index.vue": () => import("./index-CXNYHPLK.js"), "../widgetConfigComps/config-file/index.vue": () => import("./index-nY_E-1Gm.js"), "../widgetConfigComps/config-form/index.vue": () => import("./index-CIaeKFCl.js"), "../widgetConfigComps/config-homepage/index.vue": () => import("./index-CifChfEv.js"), "../widgetConfigComps/config-iframe/index.vue": () => import("./index-BkftF1Ew.js"), "../widgetConfigComps/config-image/index.vue": () => import("./index-dGJDj4ro.js"), "../widgetConfigComps/config-input/index.vue": () => import("./index-kzElMYkk.js"), "../widgetConfigComps/config-modal/index.vue": () => import("./index-CiNAZsvy.js"), "../widgetConfigComps/config-modal2/index.vue": () => import("./index-D7zr1ztZ.js"), "../widgetConfigComps/config-progress/index.vue": () => import("./index-c0zw96Jm.js"), "../widgetConfigComps/config-qrcode/index.vue": () => import("./index-DHjsGntq.js"), "../widgetConfigComps/config-radio/index.vue": () => import("./index-DYFp4hH-.js"), "../widgetConfigComps/config-rate/index.vue": () => import("./index-B0fldwhm.js"), "../widgetConfigComps/config-select/index.vue": () => import("./index-B1b5cejN.js"), "../widgetConfigComps/config-selects/index.vue": () => import("./index-CZZfzYn7.js"), "../widgetConfigComps/config-statistic/index.vue": () => import("./index-B1RT_3As.js"), "../widgetConfigComps/config-steps/index.vue": () => import("./index-06jL6GV8.js"), "../widgetConfigComps/config-switch/index.vue": () => import("./index-Dag4zSq7.js"), "../widgetConfigComps/config-tag/index.vue": () => import("./index-Ed_eJbZp.js"), "../widgetConfigComps/config-text/index.vue": () => import("./index-BYbxnzUx.js"), "../widgetConfigComps/config-time/index.vue": () => import("./index-zkXVDNsL.js"), "../widgetConfigComps/config-timeline/index.vue": () => import("./index-C4S7_gOF.js"), "../widgetConfigComps/config-title/index.vue": () => import("./index-C78PiK5v.js"), "../widgetConfigComps/config-transfer/index.vue": () => import("./index-DQ3y00Pa.js") })).map(([D, M]) => {
|
|
259890
259896
|
const B = D.match(/\/([^/]+)\/index\.vue$/);
|
|
259891
259897
|
return [B ? B[1] : null, VKe(M)];
|
|
259892
259898
|
})
|
|
@@ -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-
|
|
2
|
+
import { c } from "./index-DqZphkse.js";
|
|
3
3
|
const k = /* @__PURE__ */ Object.assign({ name: "config-text" }, {
|
|
4
4
|
__name: "index",
|
|
5
5
|
props: {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "./index-DqZphkse.js";
|
|
@@ -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-
|
|
2
|
+
import { _ as Q } from "./index-DqZphkse.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
|
-
import { resolveComponent as
|
|
2
|
-
const
|
|
1
|
+
import { resolveComponent as i, openBlock as g, createElementBlock as V, Fragment as w, createVNode as l, withCtx as a, unref as d } from "vue";
|
|
2
|
+
const U = /* @__PURE__ */ Object.assign({ name: "config-file" }, {
|
|
3
3
|
__name: "index",
|
|
4
4
|
props: {
|
|
5
5
|
designer: {
|
|
@@ -14,24 +14,24 @@ const c = /* @__PURE__ */ Object.assign({ name: "config-file" }, {
|
|
|
14
14
|
setup(f) {
|
|
15
15
|
let e = f;
|
|
16
16
|
return (b, o) => {
|
|
17
|
-
const
|
|
17
|
+
const u = i("el-option"), r = i("el-select"), p = i("common-label-container"), n = i("el-input"), s = i("el-input-number"), m = i("el-switch");
|
|
18
18
|
return g(), V(w, null, [
|
|
19
19
|
l(p, { label: "组件尺寸" }, {
|
|
20
20
|
default: a(() => [
|
|
21
|
-
l(
|
|
22
|
-
modelValue:
|
|
23
|
-
"onUpdate:modelValue": o[0] || (o[0] = (
|
|
21
|
+
l(r, {
|
|
22
|
+
modelValue: d(e).widget.props.size,
|
|
23
|
+
"onUpdate:modelValue": o[0] || (o[0] = (t) => d(e).widget.props.size = t)
|
|
24
24
|
}, {
|
|
25
25
|
default: a(() => [
|
|
26
|
-
l(
|
|
26
|
+
l(u, {
|
|
27
27
|
label: "大尺寸",
|
|
28
28
|
value: "large"
|
|
29
29
|
}),
|
|
30
|
-
l(
|
|
30
|
+
l(u, {
|
|
31
31
|
label: "默认",
|
|
32
32
|
value: "default"
|
|
33
33
|
}),
|
|
34
|
-
l(
|
|
34
|
+
l(u, {
|
|
35
35
|
label: "小尺寸",
|
|
36
36
|
value: "small"
|
|
37
37
|
})
|
|
@@ -44,8 +44,8 @@ const c = /* @__PURE__ */ Object.assign({ name: "config-file" }, {
|
|
|
44
44
|
l(p, { label: "上传字段" }, {
|
|
45
45
|
default: a(() => [
|
|
46
46
|
l(n, {
|
|
47
|
-
modelValue:
|
|
48
|
-
"onUpdate:modelValue": o[1] || (o[1] = (
|
|
47
|
+
modelValue: d(e).widget.props.fileField,
|
|
48
|
+
"onUpdate:modelValue": o[1] || (o[1] = (t) => d(e).widget.props.fileField = t),
|
|
49
49
|
placeholder: "填写上传字段"
|
|
50
50
|
}, null, 8, ["modelValue"])
|
|
51
51
|
]),
|
|
@@ -54,8 +54,8 @@ const c = /* @__PURE__ */ Object.assign({ name: "config-file" }, {
|
|
|
54
54
|
l(p, { label: "文件ID字段" }, {
|
|
55
55
|
default: a(() => [
|
|
56
56
|
l(n, {
|
|
57
|
-
modelValue:
|
|
58
|
-
"onUpdate:modelValue": o[2] || (o[2] = (
|
|
57
|
+
modelValue: d(e).widget.props.fileIdField,
|
|
58
|
+
"onUpdate:modelValue": o[2] || (o[2] = (t) => d(e).widget.props.fileIdField = t),
|
|
59
59
|
placeholder: "填写文件ID字段"
|
|
60
60
|
}, null, 8, ["modelValue"])
|
|
61
61
|
]),
|
|
@@ -64,8 +64,8 @@ const c = /* @__PURE__ */ Object.assign({ name: "config-file" }, {
|
|
|
64
64
|
l(p, { label: "文件名称字段" }, {
|
|
65
65
|
default: a(() => [
|
|
66
66
|
l(n, {
|
|
67
|
-
modelValue:
|
|
68
|
-
"onUpdate:modelValue": o[3] || (o[3] = (
|
|
67
|
+
modelValue: d(e).widget.props.fileNameField,
|
|
68
|
+
"onUpdate:modelValue": o[3] || (o[3] = (t) => d(e).widget.props.fileNameField = t),
|
|
69
69
|
placeholder: "填写文件名称字段"
|
|
70
70
|
}, null, 8, ["modelValue"])
|
|
71
71
|
]),
|
|
@@ -74,8 +74,8 @@ const c = /* @__PURE__ */ Object.assign({ name: "config-file" }, {
|
|
|
74
74
|
l(p, { label: "文件URL字段" }, {
|
|
75
75
|
default: a(() => [
|
|
76
76
|
l(n, {
|
|
77
|
-
modelValue:
|
|
78
|
-
"onUpdate:modelValue": o[4] || (o[4] = (
|
|
77
|
+
modelValue: d(e).widget.props.fileUrlField,
|
|
78
|
+
"onUpdate:modelValue": o[4] || (o[4] = (t) => d(e).widget.props.fileUrlField = t),
|
|
79
79
|
placeholder: "填写文件URL字段"
|
|
80
80
|
}, null, 8, ["modelValue"])
|
|
81
81
|
]),
|
|
@@ -86,8 +86,8 @@ const c = /* @__PURE__ */ Object.assign({ name: "config-file" }, {
|
|
|
86
86
|
l(s, {
|
|
87
87
|
class: "w-full",
|
|
88
88
|
placeholder: "填写最大文件大小",
|
|
89
|
-
modelValue:
|
|
90
|
-
"onUpdate:modelValue": o[5] || (o[5] = (
|
|
89
|
+
modelValue: d(e).widget.props.fileSize,
|
|
90
|
+
"onUpdate:modelValue": o[5] || (o[5] = (t) => d(e).widget.props.fileSize = t),
|
|
91
91
|
min: 0,
|
|
92
92
|
"controls-position": "right"
|
|
93
93
|
}, null, 8, ["modelValue"])
|
|
@@ -99,8 +99,8 @@ const c = /* @__PURE__ */ Object.assign({ name: "config-file" }, {
|
|
|
99
99
|
l(s, {
|
|
100
100
|
class: "w-full",
|
|
101
101
|
placeholder: "限制文件个数",
|
|
102
|
-
modelValue:
|
|
103
|
-
"onUpdate:modelValue": o[6] || (o[6] = (
|
|
102
|
+
modelValue: d(e).widget.props.limit,
|
|
103
|
+
"onUpdate:modelValue": o[6] || (o[6] = (t) => d(e).widget.props.limit = t),
|
|
104
104
|
min: 0,
|
|
105
105
|
"controls-position": "right"
|
|
106
106
|
}, null, 8, ["modelValue"])
|
|
@@ -109,32 +109,32 @@ const c = /* @__PURE__ */ Object.assign({ name: "config-file" }, {
|
|
|
109
109
|
}),
|
|
110
110
|
l(p, { label: "上传限制类型" }, {
|
|
111
111
|
default: a(() => [
|
|
112
|
-
l(
|
|
113
|
-
modelValue:
|
|
114
|
-
"onUpdate:modelValue": o[7] || (o[7] = (
|
|
112
|
+
l(r, {
|
|
113
|
+
modelValue: d(e).widget.props.accept,
|
|
114
|
+
"onUpdate:modelValue": o[7] || (o[7] = (t) => d(e).widget.props.accept = t),
|
|
115
115
|
multiple: "",
|
|
116
116
|
placeholder: "选择允许的文件类型",
|
|
117
117
|
"collapse-tags": "",
|
|
118
118
|
"collapse-tags-tooltip": ""
|
|
119
119
|
}, {
|
|
120
120
|
default: a(() => [
|
|
121
|
-
l(
|
|
121
|
+
l(u, {
|
|
122
122
|
label: "图片文件 (jpg,png,gif等)",
|
|
123
123
|
value: "img"
|
|
124
124
|
}),
|
|
125
|
-
l(
|
|
125
|
+
l(u, {
|
|
126
126
|
label: "视频文件 (mp4,avi,mov等)",
|
|
127
127
|
value: "video"
|
|
128
128
|
}),
|
|
129
|
-
l(
|
|
129
|
+
l(u, {
|
|
130
130
|
label: "音频文件 (mp3,wav,aac等)",
|
|
131
131
|
value: "audio"
|
|
132
132
|
}),
|
|
133
|
-
l(
|
|
133
|
+
l(u, {
|
|
134
134
|
label: "文档文件 (pdf,doc,xls等)",
|
|
135
135
|
value: "document"
|
|
136
136
|
}),
|
|
137
|
-
l(
|
|
137
|
+
l(u, {
|
|
138
138
|
label: "Excel文件 (xls,xlsx等)",
|
|
139
139
|
value: "excel"
|
|
140
140
|
})
|
|
@@ -146,18 +146,27 @@ const c = /* @__PURE__ */ Object.assign({ name: "config-file" }, {
|
|
|
146
146
|
}),
|
|
147
147
|
l(p, { label: "支持多文件" }, {
|
|
148
148
|
default: a(() => [
|
|
149
|
-
l(
|
|
150
|
-
modelValue:
|
|
151
|
-
"onUpdate:modelValue": o[8] || (o[8] = (
|
|
149
|
+
l(m, {
|
|
150
|
+
modelValue: d(e).widget.props.multiple,
|
|
151
|
+
"onUpdate:modelValue": o[8] || (o[8] = (t) => d(e).widget.props.multiple = t)
|
|
152
152
|
}, null, 8, ["modelValue"])
|
|
153
153
|
]),
|
|
154
154
|
_: 1
|
|
155
155
|
}),
|
|
156
156
|
l(p, { label: "是否只读" }, {
|
|
157
157
|
default: a(() => [
|
|
158
|
-
l(
|
|
159
|
-
modelValue:
|
|
160
|
-
"onUpdate:modelValue": o[9] || (o[9] = (
|
|
158
|
+
l(m, {
|
|
159
|
+
modelValue: d(e).widget.props.readonly,
|
|
160
|
+
"onUpdate:modelValue": o[9] || (o[9] = (t) => d(e).widget.props.readonly = t)
|
|
161
|
+
}, null, 8, ["modelValue"])
|
|
162
|
+
]),
|
|
163
|
+
_: 1
|
|
164
|
+
}),
|
|
165
|
+
l(p, { label: "是否必填" }, {
|
|
166
|
+
default: a(() => [
|
|
167
|
+
l(m, {
|
|
168
|
+
modelValue: d(e).widget.props.required,
|
|
169
|
+
"onUpdate:modelValue": o[10] || (o[10] = (t) => d(e).widget.props.required = t)
|
|
161
170
|
}, null, 8, ["modelValue"])
|
|
162
171
|
]),
|
|
163
172
|
_: 1
|
|
@@ -167,5 +176,5 @@ const c = /* @__PURE__ */ Object.assign({ name: "config-file" }, {
|
|
|
167
176
|
}
|
|
168
177
|
});
|
|
169
178
|
export {
|
|
170
|
-
|
|
179
|
+
U as default
|
|
171
180
|
};
|