sun-form-v3 1.0.107 → 1.0.108
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/{index-H1wGYgwo.js → index-BOdLFItr.js} +1 -1
- package/dist/{index-mvTMD1jy.js → index-CGcT-fr5.js} +1 -1
- package/dist/{index-DpN6nzNE.js → index-CcQm-JOw.js} +1 -1
- package/dist/{index-uOrAwwlE.js → index-DKLdVKkV.js} +65 -56
- package/dist/{index-CEW3fUmh.js → index-QxOmRCLL.js} +1 -1
- package/dist/{index-CzUVCSMD.js → index-aVVGTvks.js} +1 -1
- package/dist/{index-Bv1KWaaW.js → index-bVwrXTS-.js} +18 -10
- 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
@@ -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-bVwrXTS-.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 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-bVwrXTS-.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 { 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-bVwrXTS-.js";
|
3
3
|
const k = /* @__PURE__ */ Object.assign({ name: "config-text" }, {
|
4
4
|
__name: "index",
|
5
5
|
props: {
|
@@ -1,6 +1,6 @@
|
|
1
|
-
import { ref as C, resolveComponent as r, openBlock as
|
2
|
-
import { _ as J } from "./index-
|
3
|
-
const j = (v) => (
|
1
|
+
import { ref as C, resolveComponent as r, openBlock as c, createElementBlock as T, Fragment as h, createVNode as e, unref as l, withCtx as a, createTextVNode as b, isRef as R, createElementVNode as f, toDisplayString as H, createCommentVNode as F, pushScopeId as P, popScopeId as $ } from "vue";
|
2
|
+
import { _ as J } from "./index-bVwrXTS-.js";
|
3
|
+
const j = (v) => (P("data-v-75dc2686"), v = v(), $(), v), Q = /* @__PURE__ */ j(() => /* @__PURE__ */ f("span", null, "复杂表头配置", -1)), K = {
|
4
4
|
key: 0,
|
5
5
|
class: "flex h-full flex-col"
|
6
6
|
}, W = { class: "flex-1 flex items-center justify-between" }, q = /* @__PURE__ */ j(() => /* @__PURE__ */ f("span", null, "选择表头", -1)), G = {
|
@@ -29,11 +29,11 @@ const j = (v) => ($("data-v-75dc2686"), v = v(), A(), v), Q = /* @__PURE__ */ j(
|
|
29
29
|
});
|
30
30
|
}, m = (s) => {
|
31
31
|
o.value = s, U.value = !0;
|
32
|
-
},
|
32
|
+
}, N = (s) => {
|
33
33
|
o.value.label = s.props.label, o.value.id = s.id, o.value.isComponent = !0, U.value = !1;
|
34
34
|
}, u = (s, w) => {
|
35
|
-
const g = s.parent, z = g.data.children || g.data,
|
36
|
-
z.splice(
|
35
|
+
const g = s.parent, z = g.data.children || g.data, S = z.findIndex((B) => B.id === w.id);
|
36
|
+
z.splice(S, 1), p.value = [...p.value];
|
37
37
|
}, d = {
|
38
38
|
children: "children",
|
39
39
|
label: "label"
|
@@ -41,41 +41,41 @@ const j = (v) => ($("data-v-75dc2686"), v = v(), A(), v), Q = /* @__PURE__ */ j(
|
|
41
41
|
let _ = C(!1), U = C(!1);
|
42
42
|
const L = ({ row: s }) => {
|
43
43
|
console.log(s);
|
44
|
-
},
|
44
|
+
}, A = () => {
|
45
45
|
_.value = !0;
|
46
|
-
},
|
46
|
+
}, D = () => {
|
47
47
|
_.value = !1;
|
48
|
-
},
|
48
|
+
}, E = () => {
|
49
49
|
_.value = !1, y.widget.props.headerTree = p.value;
|
50
50
|
};
|
51
51
|
return (s, w) => {
|
52
|
-
const g = r("el-button"), z = r("el-input"),
|
53
|
-
return
|
52
|
+
const g = r("el-button"), z = r("el-input"), S = r("el-button-group"), B = r("el-tree"), I = r("vxe-modal"), k = r("vxe-column"), M = r("vxe-table");
|
53
|
+
return c(), T(h, null, [
|
54
54
|
e(g, {
|
55
55
|
plain: "",
|
56
56
|
type: l(y).widget.props.headerTree.length ? "primary" : "",
|
57
57
|
icon: "Setting",
|
58
|
-
onClick:
|
58
|
+
onClick: A
|
59
59
|
}, {
|
60
60
|
default: a(() => [
|
61
61
|
b(" 复杂表头 ")
|
62
62
|
]),
|
63
63
|
_: 1
|
64
64
|
}, 8, ["type"]),
|
65
|
-
e(
|
65
|
+
e(I, {
|
66
66
|
transfer: "",
|
67
67
|
modelValue: l(_),
|
68
|
-
"onUpdate:modelValue": w[1] || (w[1] = (i) =>
|
68
|
+
"onUpdate:modelValue": w[1] || (w[1] = (i) => R(_) ? _.value = i : _ = i),
|
69
69
|
width: "800px",
|
70
70
|
height: "700px",
|
71
71
|
"show-footer": "",
|
72
|
-
onClose:
|
72
|
+
onClose: D
|
73
73
|
}, {
|
74
74
|
title: a(() => [
|
75
75
|
Q
|
76
76
|
]),
|
77
77
|
default: a(() => [
|
78
|
-
l(_) ? (
|
78
|
+
l(_) ? (c(), T("div", K, [
|
79
79
|
e(g, {
|
80
80
|
type: "primary",
|
81
81
|
size: "small",
|
@@ -87,7 +87,7 @@ const j = (v) => ($("data-v-75dc2686"), v = v(), A(), v), Q = /* @__PURE__ */ j(
|
|
87
87
|
]),
|
88
88
|
_: 1
|
89
89
|
}),
|
90
|
-
e(
|
90
|
+
e(B, {
|
91
91
|
data: p.value,
|
92
92
|
props: d,
|
93
93
|
"node-key": "id",
|
@@ -99,7 +99,7 @@ const j = (v) => ($("data-v-75dc2686"), v = v(), A(), v), Q = /* @__PURE__ */ j(
|
|
99
99
|
f("div", W, [
|
100
100
|
f("div", null, [
|
101
101
|
f("div", null, [
|
102
|
-
b(
|
102
|
+
b(H(V.children && V.children.length ? "分类" : "组件") + " ", 1),
|
103
103
|
e(z, {
|
104
104
|
modelValue: V.label,
|
105
105
|
"onUpdate:modelValue": (O) => V.label = O,
|
@@ -109,7 +109,7 @@ const j = (v) => ($("data-v-75dc2686"), v = v(), A(), v), Q = /* @__PURE__ */ j(
|
|
109
109
|
])
|
110
110
|
]),
|
111
111
|
f("div", null, [
|
112
|
-
e(
|
112
|
+
e(S, null, {
|
113
113
|
default: a(() => [
|
114
114
|
e(g, {
|
115
115
|
onClick: (O) => n(V.children),
|
@@ -159,7 +159,7 @@ const j = (v) => ($("data-v-75dc2686"), v = v(), A(), v), Q = /* @__PURE__ */ j(
|
|
159
159
|
e(g, {
|
160
160
|
icon: "Close",
|
161
161
|
size: "small",
|
162
|
-
onClick:
|
162
|
+
onClick: D
|
163
163
|
}, {
|
164
164
|
default: a(() => [
|
165
165
|
b("关闭")
|
@@ -170,7 +170,7 @@ const j = (v) => ($("data-v-75dc2686"), v = v(), A(), v), Q = /* @__PURE__ */ j(
|
|
170
170
|
icon: "Check",
|
171
171
|
type: "primary",
|
172
172
|
size: "small",
|
173
|
-
onClick:
|
173
|
+
onClick: E
|
174
174
|
}, {
|
175
175
|
default: a(() => [
|
176
176
|
b("确认")
|
@@ -180,10 +180,10 @@ const j = (v) => ($("data-v-75dc2686"), v = v(), A(), v), Q = /* @__PURE__ */ j(
|
|
180
180
|
]),
|
181
181
|
_: 1
|
182
182
|
}, 8, ["modelValue"]),
|
183
|
-
e(
|
183
|
+
e(I, {
|
184
184
|
transfer: "",
|
185
185
|
modelValue: l(U),
|
186
|
-
"onUpdate:modelValue": w[2] || (w[2] = (i) =>
|
186
|
+
"onUpdate:modelValue": w[2] || (w[2] = (i) => R(U) ? U.value = i : U = i),
|
187
187
|
width: "700px",
|
188
188
|
height: "600px"
|
189
189
|
}, {
|
@@ -191,9 +191,9 @@ const j = (v) => ($("data-v-75dc2686"), v = v(), A(), v), Q = /* @__PURE__ */ j(
|
|
191
191
|
q
|
192
192
|
]),
|
193
193
|
default: a(() => [
|
194
|
-
l(U) ? (
|
194
|
+
l(U) ? (c(), T("div", G, [
|
195
195
|
f("div", X, [
|
196
|
-
e(
|
196
|
+
e(M, {
|
197
197
|
ref: "mainTable",
|
198
198
|
data: x.value,
|
199
199
|
height: "auto",
|
@@ -212,7 +212,7 @@ const j = (v) => ($("data-v-75dc2686"), v = v(), A(), v), Q = /* @__PURE__ */ j(
|
|
212
212
|
title: "表头标签"
|
213
213
|
}, {
|
214
214
|
default: a(({ row: i }) => [
|
215
|
-
f("div", null,
|
215
|
+
f("div", null, H(i.props.label), 1)
|
216
216
|
]),
|
217
217
|
_: 1
|
218
218
|
}),
|
@@ -221,7 +221,7 @@ const j = (v) => ($("data-v-75dc2686"), v = v(), A(), v), Q = /* @__PURE__ */ j(
|
|
221
221
|
title: "表头字段"
|
222
222
|
}, {
|
223
223
|
default: a(({ row: i }) => [
|
224
|
-
f("div", null,
|
224
|
+
f("div", null, H(i.props.zdname), 1)
|
225
225
|
]),
|
226
226
|
_: 1
|
227
227
|
}),
|
@@ -231,7 +231,7 @@ const j = (v) => ($("data-v-75dc2686"), v = v(), A(), v), Q = /* @__PURE__ */ j(
|
|
231
231
|
width: "180"
|
232
232
|
}, {
|
233
233
|
default: a(({ row: i }) => [
|
234
|
-
f("div", null,
|
234
|
+
f("div", null, H(i.id), 1)
|
235
235
|
]),
|
236
236
|
_: 1
|
237
237
|
}),
|
@@ -240,7 +240,7 @@ const j = (v) => ($("data-v-75dc2686"), v = v(), A(), v), Q = /* @__PURE__ */ j(
|
|
240
240
|
title: "组件类型"
|
241
241
|
}, {
|
242
242
|
default: a(({ row: i }) => [
|
243
|
-
f("div", null,
|
243
|
+
f("div", null, H(i.displayName), 1)
|
244
244
|
]),
|
245
245
|
_: 1
|
246
246
|
}),
|
@@ -254,7 +254,7 @@ const j = (v) => ($("data-v-75dc2686"), v = v(), A(), v), Q = /* @__PURE__ */ j(
|
|
254
254
|
link: "",
|
255
255
|
type: "primary",
|
256
256
|
size: "small",
|
257
|
-
onClick: (V) =>
|
257
|
+
onClick: (V) => N(i)
|
258
258
|
}, {
|
259
259
|
default: a(() => [
|
260
260
|
b("选择")
|
@@ -290,8 +290,8 @@ const j = (v) => ($("data-v-75dc2686"), v = v(), A(), v), Q = /* @__PURE__ */ j(
|
|
290
290
|
setup(v) {
|
291
291
|
let t = v;
|
292
292
|
return (y, o) => {
|
293
|
-
const p = r("el-option"), x = r("el-select"), n = r("common-label-container"), m = r("el-input"),
|
294
|
-
return
|
293
|
+
const p = r("el-option"), x = r("el-select"), n = r("common-label-container"), m = r("el-input"), N = r("el-input-number"), u = r("el-switch");
|
294
|
+
return c(), T(h, null, [
|
295
295
|
e(n, { label: "组件尺寸" }, {
|
296
296
|
default: a(() => [
|
297
297
|
e(x, {
|
@@ -379,7 +379,7 @@ const j = (v) => ($("data-v-75dc2686"), v = v(), A(), v), Q = /* @__PURE__ */ j(
|
|
379
379
|
}),
|
380
380
|
e(n, { label: "默认页数" }, {
|
381
381
|
default: a(() => [
|
382
|
-
e(
|
382
|
+
e(N, {
|
383
383
|
class: "w-full",
|
384
384
|
placeholder: "默认页数",
|
385
385
|
modelValue: l(t).widget.props.pageDefault,
|
@@ -448,11 +448,20 @@ const j = (v) => ($("data-v-75dc2686"), v = v(), A(), v), Q = /* @__PURE__ */ j(
|
|
448
448
|
]),
|
449
449
|
_: 1
|
450
450
|
}),
|
451
|
+
e(n, { label: "流体高度" }, {
|
452
|
+
default: a(() => [
|
453
|
+
e(u, {
|
454
|
+
modelValue: l(t).widget.props.isNotAuto,
|
455
|
+
"onUpdate:modelValue": o[10] || (o[10] = (d) => l(t).widget.props.isNotAuto = d)
|
456
|
+
}, null, 8, ["modelValue"])
|
457
|
+
]),
|
458
|
+
_: 1
|
459
|
+
}),
|
451
460
|
e(n, { label: "是否单选" }, {
|
452
461
|
default: a(() => [
|
453
462
|
e(u, {
|
454
463
|
modelValue: l(t).widget.props.singleselect,
|
455
|
-
"onUpdate:modelValue": o[
|
464
|
+
"onUpdate:modelValue": o[11] || (o[11] = (d) => l(t).widget.props.singleselect = d)
|
456
465
|
}, null, 8, ["modelValue"])
|
457
466
|
]),
|
458
467
|
_: 1
|
@@ -461,7 +470,7 @@ const j = (v) => ($("data-v-75dc2686"), v = v(), A(), v), Q = /* @__PURE__ */ j(
|
|
461
470
|
default: a(() => [
|
462
471
|
e(u, {
|
463
472
|
modelValue: l(t).widget.props.hasPage,
|
464
|
-
"onUpdate:modelValue": o[
|
473
|
+
"onUpdate:modelValue": o[12] || (o[12] = (d) => l(t).widget.props.hasPage = d)
|
465
474
|
}, null, 8, ["modelValue"])
|
466
475
|
]),
|
467
476
|
_: 1
|
@@ -470,7 +479,7 @@ const j = (v) => ($("data-v-75dc2686"), v = v(), A(), v), Q = /* @__PURE__ */ j(
|
|
470
479
|
default: a(() => [
|
471
480
|
e(u, {
|
472
481
|
modelValue: l(t).widget.props.initLoadData,
|
473
|
-
"onUpdate:modelValue": o[
|
482
|
+
"onUpdate:modelValue": o[13] || (o[13] = (d) => l(t).widget.props.initLoadData = d)
|
474
483
|
}, null, 8, ["modelValue"])
|
475
484
|
]),
|
476
485
|
_: 1
|
@@ -479,7 +488,7 @@ const j = (v) => ($("data-v-75dc2686"), v = v(), A(), v), Q = /* @__PURE__ */ j(
|
|
479
488
|
default: a(() => [
|
480
489
|
e(u, {
|
481
490
|
modelValue: l(t).widget.props.showOverFlow,
|
482
|
-
"onUpdate:modelValue": o[
|
491
|
+
"onUpdate:modelValue": o[14] || (o[14] = (d) => l(t).widget.props.showOverFlow = d)
|
483
492
|
}, null, 8, ["modelValue"])
|
484
493
|
]),
|
485
494
|
_: 1
|
@@ -488,7 +497,7 @@ const j = (v) => ($("data-v-75dc2686"), v = v(), A(), v), Q = /* @__PURE__ */ j(
|
|
488
497
|
default: a(() => [
|
489
498
|
e(u, {
|
490
499
|
modelValue: l(t).widget.props.isStripe,
|
491
|
-
"onUpdate:modelValue": o[
|
500
|
+
"onUpdate:modelValue": o[15] || (o[15] = (d) => l(t).widget.props.isStripe = d)
|
492
501
|
}, null, 8, ["modelValue"])
|
493
502
|
]),
|
494
503
|
_: 1
|
@@ -497,7 +506,7 @@ const j = (v) => ($("data-v-75dc2686"), v = v(), A(), v), Q = /* @__PURE__ */ j(
|
|
497
506
|
default: a(() => [
|
498
507
|
e(u, {
|
499
508
|
modelValue: l(t).widget.props.isHideChoose,
|
500
|
-
"onUpdate:modelValue": o[
|
509
|
+
"onUpdate:modelValue": o[16] || (o[16] = (d) => l(t).widget.props.isHideChoose = d)
|
501
510
|
}, null, 8, ["modelValue"])
|
502
511
|
]),
|
503
512
|
_: 1
|
@@ -506,7 +515,7 @@ const j = (v) => ($("data-v-75dc2686"), v = v(), A(), v), Q = /* @__PURE__ */ j(
|
|
506
515
|
default: a(() => [
|
507
516
|
e(u, {
|
508
517
|
modelValue: l(t).widget.props.hideHandleBtn,
|
509
|
-
"onUpdate:modelValue": o[
|
518
|
+
"onUpdate:modelValue": o[17] || (o[17] = (d) => l(t).widget.props.hideHandleBtn = d)
|
510
519
|
}, null, 8, ["modelValue"])
|
511
520
|
]),
|
512
521
|
_: 1
|
@@ -515,7 +524,7 @@ const j = (v) => ($("data-v-75dc2686"), v = v(), A(), v), Q = /* @__PURE__ */ j(
|
|
515
524
|
default: a(() => [
|
516
525
|
e(u, {
|
517
526
|
modelValue: l(t).widget.props.isHideQuery,
|
518
|
-
"onUpdate:modelValue": o[
|
527
|
+
"onUpdate:modelValue": o[18] || (o[18] = (d) => l(t).widget.props.isHideQuery = d)
|
519
528
|
}, null, 8, ["modelValue"])
|
520
529
|
]),
|
521
530
|
_: 1
|
@@ -524,7 +533,7 @@ const j = (v) => ($("data-v-75dc2686"), v = v(), A(), v), Q = /* @__PURE__ */ j(
|
|
524
533
|
default: a(() => [
|
525
534
|
e(u, {
|
526
535
|
modelValue: l(t).widget.props.isHideButton,
|
527
|
-
"onUpdate:modelValue": o[
|
536
|
+
"onUpdate:modelValue": o[19] || (o[19] = (d) => l(t).widget.props.isHideButton = d)
|
528
537
|
}, null, 8, ["modelValue"])
|
529
538
|
]),
|
530
539
|
_: 1
|
@@ -533,7 +542,7 @@ const j = (v) => ($("data-v-75dc2686"), v = v(), A(), v), Q = /* @__PURE__ */ j(
|
|
533
542
|
default: a(() => [
|
534
543
|
e(u, {
|
535
544
|
modelValue: l(t).widget.props.isHideIndex,
|
536
|
-
"onUpdate:modelValue": o[
|
545
|
+
"onUpdate:modelValue": o[20] || (o[20] = (d) => l(t).widget.props.isHideIndex = d)
|
537
546
|
}, null, 8, ["modelValue"])
|
538
547
|
]),
|
539
548
|
_: 1
|
@@ -542,7 +551,7 @@ const j = (v) => ($("data-v-75dc2686"), v = v(), A(), v), Q = /* @__PURE__ */ j(
|
|
542
551
|
default: a(() => [
|
543
552
|
e(u, {
|
544
553
|
modelValue: l(t).widget.props.isHideHeader,
|
545
|
-
"onUpdate:modelValue": o[
|
554
|
+
"onUpdate:modelValue": o[21] || (o[21] = (d) => l(t).widget.props.isHideHeader = d)
|
546
555
|
}, null, 8, ["modelValue"])
|
547
556
|
]),
|
548
557
|
_: 1
|
@@ -551,7 +560,7 @@ const j = (v) => ($("data-v-75dc2686"), v = v(), A(), v), Q = /* @__PURE__ */ j(
|
|
551
560
|
default: a(() => [
|
552
561
|
e(u, {
|
553
562
|
modelValue: l(t).widget.props.isHideQueryBtn,
|
554
|
-
"onUpdate:modelValue": o[
|
563
|
+
"onUpdate:modelValue": o[22] || (o[22] = (d) => l(t).widget.props.isHideQueryBtn = d)
|
555
564
|
}, null, 8, ["modelValue"])
|
556
565
|
]),
|
557
566
|
_: 1
|
@@ -560,7 +569,7 @@ const j = (v) => ($("data-v-75dc2686"), v = v(), A(), v), Q = /* @__PURE__ */ j(
|
|
560
569
|
default: a(() => [
|
561
570
|
e(u, {
|
562
571
|
modelValue: l(t).widget.props.isHideResetBtn,
|
563
|
-
"onUpdate:modelValue": o[
|
572
|
+
"onUpdate:modelValue": o[23] || (o[23] = (d) => l(t).widget.props.isHideResetBtn = d)
|
564
573
|
}, null, 8, ["modelValue"])
|
565
574
|
]),
|
566
575
|
_: 1
|
@@ -569,17 +578,17 @@ const j = (v) => ($("data-v-75dc2686"), v = v(), A(), v), Q = /* @__PURE__ */ j(
|
|
569
578
|
default: a(() => [
|
570
579
|
e(u, {
|
571
580
|
modelValue: l(t).widget.props.treeMode,
|
572
|
-
"onUpdate:modelValue": o[
|
581
|
+
"onUpdate:modelValue": o[24] || (o[24] = (d) => l(t).widget.props.treeMode = d)
|
573
582
|
}, null, 8, ["modelValue"])
|
574
583
|
]),
|
575
584
|
_: 1
|
576
585
|
}),
|
577
|
-
l(t).widget.props.treeMode ? (
|
586
|
+
l(t).widget.props.treeMode ? (c(), T("div", ee, [
|
578
587
|
e(n, { label: "本级树节点" }, {
|
579
588
|
default: a(() => [
|
580
589
|
e(m, {
|
581
590
|
modelValue: l(t).widget.props.treeRowField,
|
582
|
-
"onUpdate:modelValue": o[
|
591
|
+
"onUpdate:modelValue": o[25] || (o[25] = (d) => l(t).widget.props.treeRowField = d),
|
583
592
|
placeholder: "本级树节点"
|
584
593
|
}, null, 8, ["modelValue"])
|
585
594
|
]),
|
@@ -589,7 +598,7 @@ const j = (v) => ($("data-v-75dc2686"), v = v(), A(), v), Q = /* @__PURE__ */ j(
|
|
589
598
|
default: a(() => [
|
590
599
|
e(m, {
|
591
600
|
modelValue: l(t).widget.props.treeParentField,
|
592
|
-
"onUpdate:modelValue": o[
|
601
|
+
"onUpdate:modelValue": o[26] || (o[26] = (d) => l(t).widget.props.treeParentField = d),
|
593
602
|
placeholder: "父级树节点"
|
594
603
|
}, null, 8, ["modelValue"])
|
595
604
|
]),
|
@@ -599,7 +608,7 @@ const j = (v) => ($("data-v-75dc2686"), v = v(), A(), v), Q = /* @__PURE__ */ j(
|
|
599
608
|
default: a(() => [
|
600
609
|
e(m, {
|
601
610
|
modelValue: l(t).widget.props.treeChildrenField,
|
602
|
-
"onUpdate:modelValue": o[
|
611
|
+
"onUpdate:modelValue": o[27] || (o[27] = (d) => l(t).widget.props.treeChildrenField = d),
|
603
612
|
placeholder: "树子节点容器"
|
604
613
|
}, null, 8, ["modelValue"])
|
605
614
|
]),
|
@@ -609,7 +618,7 @@ const j = (v) => ($("data-v-75dc2686"), v = v(), A(), v), Q = /* @__PURE__ */ j(
|
|
609
618
|
default: a(() => [
|
610
619
|
e(u, {
|
611
620
|
modelValue: l(t).widget.props.treeTransform,
|
612
|
-
"onUpdate:modelValue": o[
|
621
|
+
"onUpdate:modelValue": o[28] || (o[28] = (d) => l(t).widget.props.treeTransform = d)
|
613
622
|
}, null, 8, ["modelValue"])
|
614
623
|
]),
|
615
624
|
_: 1
|
@@ -618,7 +627,7 @@ const j = (v) => ($("data-v-75dc2686"), v = v(), A(), v), Q = /* @__PURE__ */ j(
|
|
618
627
|
default: a(() => [
|
619
628
|
e(u, {
|
620
629
|
modelValue: l(t).widget.props.treeExpandAll,
|
621
|
-
"onUpdate:modelValue": o[
|
630
|
+
"onUpdate:modelValue": o[29] || (o[29] = (d) => l(t).widget.props.treeExpandAll = d)
|
622
631
|
}, null, 8, ["modelValue"])
|
623
632
|
]),
|
624
633
|
_: 1
|
@@ -627,7 +636,7 @@ const j = (v) => ($("data-v-75dc2686"), v = v(), A(), v), Q = /* @__PURE__ */ j(
|
|
627
636
|
default: a(() => [
|
628
637
|
e(u, {
|
629
638
|
modelValue: l(t).widget.props.treeAccordion,
|
630
|
-
"onUpdate:modelValue": o[
|
639
|
+
"onUpdate:modelValue": o[30] || (o[30] = (d) => l(t).widget.props.treeAccordion = d)
|
631
640
|
}, null, 8, ["modelValue"])
|
632
641
|
]),
|
633
642
|
_: 1
|
@@ -636,7 +645,7 @@ const j = (v) => ($("data-v-75dc2686"), v = v(), A(), v), Q = /* @__PURE__ */ j(
|
|
636
645
|
default: a(() => [
|
637
646
|
e(u, {
|
638
647
|
modelValue: l(t).widget.props.isLine,
|
639
|
-
"onUpdate:modelValue": o[
|
648
|
+
"onUpdate:modelValue": o[31] || (o[31] = (d) => l(t).widget.props.isLine = d)
|
640
649
|
}, null, 8, ["modelValue"])
|
641
650
|
]),
|
642
651
|
_: 1
|
@@ -645,7 +654,7 @@ const j = (v) => ($("data-v-75dc2686"), v = v(), A(), v), Q = /* @__PURE__ */ j(
|
|
645
654
|
default: a(() => [
|
646
655
|
e(u, {
|
647
656
|
modelValue: l(t).widget.props.isLine,
|
648
|
-
"onUpdate:modelValue": o[
|
657
|
+
"onUpdate:modelValue": o[32] || (o[32] = (d) => l(t).widget.props.isLine = d)
|
649
658
|
}, null, 8, ["modelValue"])
|
650
659
|
]),
|
651
660
|
_: 1
|
@@ -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-bVwrXTS-.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 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-bVwrXTS-.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: {
|
@@ -1972,15 +1972,15 @@ const p1e = {
|
|
1972
1972
|
});
|
1973
1973
|
}, l = (c, f) => {
|
1974
1974
|
for (let d of c)
|
1975
|
-
if (d.
|
1975
|
+
if (d[o.value.propsChildren] && d[o.value.propsChildren].length) {
|
1976
1976
|
const p = l(
|
1977
|
-
d.
|
1977
|
+
d[o.value.propsChildren],
|
1978
1978
|
f
|
1979
1979
|
);
|
1980
1980
|
if (p)
|
1981
|
-
return [d.value, ...p];
|
1982
|
-
} else if (d.value === f)
|
1983
|
-
return [d.value];
|
1981
|
+
return [d[o.value.propsKey], ...p];
|
1982
|
+
} else if (d[o.value.propsKey] === f)
|
1983
|
+
return [d[o.value.propsKey]];
|
1984
1984
|
return null;
|
1985
1985
|
}, u = (c) => {
|
1986
1986
|
o.value.options = c;
|
@@ -3683,6 +3683,7 @@ const p1e = {
|
|
3683
3683
|
isHideQueryBtn: !1,
|
3684
3684
|
isHideResetBtn: !1,
|
3685
3685
|
isCurrendClick: !0,
|
3686
|
+
isNotAuto: !1,
|
3686
3687
|
treeMode: !1,
|
3687
3688
|
//是否树形表格
|
3688
3689
|
treeRowField: "id",
|
@@ -4251,7 +4252,14 @@ const p1e = {
|
|
4251
4252
|
!He.props.hide && Se <= le && (ye += He.props.width);
|
4252
4253
|
}), !(ye > 48);
|
4253
4254
|
}, I = ({ row: le, _rowIndex: ye, column: He, visibleData: Se }) => {
|
4254
|
-
const Pe = [
|
4255
|
+
const Pe = [
|
4256
|
+
"ProtocolName",
|
4257
|
+
"ProtocolFormula",
|
4258
|
+
"ProtocolStandard",
|
4259
|
+
"outNum",
|
4260
|
+
"result",
|
4261
|
+
"remark"
|
4262
|
+
], Je = le[He.field];
|
4255
4263
|
if (Je && Pe.includes(He.field)) {
|
4256
4264
|
const st = Se[ye - 1];
|
4257
4265
|
let Qe = Se[ye + 1];
|
@@ -4500,7 +4508,7 @@ const p1e = {
|
|
4500
4508
|
ref_key: "mainTable",
|
4501
4509
|
ref: d,
|
4502
4510
|
data: u.value,
|
4503
|
-
height: "auto",
|
4511
|
+
height: r.value.isNotAuto ? null : "auto",
|
4504
4512
|
border: r.value.border,
|
4505
4513
|
"span-method": r.value.mergeRowKey ? I : null,
|
4506
4514
|
"row-config": {
|
@@ -4607,7 +4615,7 @@ const p1e = {
|
|
4607
4615
|
}, 8, ["width"])) : wt("", !0)
|
4608
4616
|
]),
|
4609
4617
|
_: 1
|
4610
|
-
}, 8, ["data", "border", "span-method", "row-config", "stripe", "show-overflow", "loading", "radio-config", "checkbox-config", "align", "tree-config", "size", "show-header"])
|
4618
|
+
}, 8, ["data", "height", "border", "span-method", "row-config", "stripe", "show-overflow", "loading", "radio-config", "checkbox-config", "align", "tree-config", "size", "show-header"])
|
4611
4619
|
]),
|
4612
4620
|
r.value.hasPage ? (je(), en("div", q1e, [
|
4613
4621
|
ke(Pt, {
|
@@ -4626,7 +4634,7 @@ const p1e = {
|
|
4626
4634
|
], 4);
|
4627
4635
|
};
|
4628
4636
|
}
|
4629
|
-
}), Z1e = /* @__PURE__ */ Ql(K1e, [["__scopeId", "data-v-
|
4637
|
+
}), Z1e = /* @__PURE__ */ Ql(K1e, [["__scopeId", "data-v-d83c565e"]]);
|
4630
4638
|
/**!
|
4631
4639
|
* Sortable 1.15.2
|
4632
4640
|
* @author RubaXa <trash@rubaxa.org>
|
@@ -92811,7 +92819,7 @@ const $H = /* @__PURE__ */ Object.assign({ name: "sunForm" }, {
|
|
92811
92819
|
},
|
92812
92820
|
setup(e) {
|
92813
92821
|
const n = Object.fromEntries(
|
92814
|
-
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-vN8Pef9j.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-
|
92822
|
+
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-vN8Pef9j.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-DKLdVKkV.js"), "../widgetConfigComps/config-date/index.vue": () => import("./index-C0NmmaE2.js"), "../widgetConfigComps/config-div/index.vue": () => import("./index-BAEL_Fhr.js"), "../widgetConfigComps/config-echarts/index.vue": () => import("./index-BOdLFItr.js"), "../widgetConfigComps/config-editor/index.vue": () => import("./index-CXNYHPLK.js"), "../widgetConfigComps/config-file/index.vue": () => import("./index-BU3xx_sm.js"), "../widgetConfigComps/config-form/index.vue": () => import("./index-CIaeKFCl.js"), "../widgetConfigComps/config-homepage/index.vue": () => import("./index-CifChfEv.js"), "../widgetConfigComps/config-image/index.vue": () => import("./index-dGJDj4ro.js"), "../widgetConfigComps/config-input/index.vue": () => import("./index-j-KEXzR8.js"), "../widgetConfigComps/config-modal/index.vue": () => import("./index-DIwhu60e.js"), "../widgetConfigComps/config-progress/index.vue": () => import("./index-c0zw96Jm.js"), "../widgetConfigComps/config-radio/index.vue": () => import("./index-DVgKDMax.js"), "../widgetConfigComps/config-rate/index.vue": () => import("./index-B0fldwhm.js"), "../widgetConfigComps/config-select/index.vue": () => import("./index-Bb57DL9x.js"), "../widgetConfigComps/config-selects/index.vue": () => import("./index-eJQFWCeP.js"), "../widgetConfigComps/config-statistic/index.vue": () => import("./index-aVVGTvks.js"), "../widgetConfigComps/config-steps/index.vue": () => import("./index-CGcT-fr5.js"), "../widgetConfigComps/config-switch/index.vue": () => import("./index-Dag4zSq7.js"), "../widgetConfigComps/config-tag/index.vue": () => import("./index-CcQm-JOw.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-QxOmRCLL.js"), "../widgetConfigComps/config-title/index.vue": () => import("./index-C78PiK5v.js"), "../widgetConfigComps/config-transfer/index.vue": () => import("./index-DQ3y00Pa.js") })).map(([p, h]) => {
|
92815
92823
|
const y = p.match(/\/([^/]+)\/index\.vue$/);
|
92816
92824
|
return [y ? y[1] : null, v_e(h)];
|
92817
92825
|
})
|