sun-form-v3 1.0.152 → 1.0.154

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 { 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-Cxzk5fWS.js";
2
+ import { _ as E, c as H } from "./index-DqzxWEoQ.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
- 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-Cxzk5fWS.js";
1
+ import { ref as C, resolveComponent as V, 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-DqzxWEoQ.js";
3
3
  const q = {
4
4
  key: 0,
5
5
  class: "flex h-full flex-col"
@@ -15,8 +15,8 @@ const q = {
15
15
  }
16
16
  },
17
17
  emits: ["update:modelValue"],
18
- setup(N, { emit: t }) {
19
- let x = N;
18
+ setup(S, { emit: t }) {
19
+ let x = S;
20
20
  x.designer, C(null);
21
21
  let o = C({});
22
22
  const r = C(JSON.parse(JSON.stringify(x.widget.props.headerTree))), y = C(x.widget.widgetList.filter((m) => m.compType === 2));
@@ -29,11 +29,11 @@ const q = {
29
29
  });
30
30
  }, s = (m) => {
31
31
  o.value = m, U.value = !0;
32
- }, B = (m) => {
32
+ }, F = (m) => {
33
33
  o.value.label = m.props.label, o.value.id = m.id, o.value.isComponent = !0, U.value = !1;
34
34
  }, p = (m, n) => {
35
- const V = m.parent, z = V.data.children || V.data, S = z.findIndex((F) => F.id === n.id);
36
- z.splice(S, 1), r.value = [...r.value];
35
+ const g = m.parent, z = g.data.children || g.data, N = z.findIndex((B) => B.id === n.id);
36
+ z.splice(N, 1), r.value = [...r.value];
37
37
  }, d = {
38
38
  children: "children",
39
39
  label: "label"
@@ -49,9 +49,9 @@ const q = {
49
49
  v.value = !1, x.widget.props.headerTree = r.value;
50
50
  };
51
51
  return (m, n) => {
52
- const V = g("el-button"), z = g("el-input"), S = g("el-button-group"), F = g("el-tree"), j = g("vxe-modal"), _ = g("vxe-column"), P = g("vxe-table");
52
+ const g = V("el-button"), z = V("el-input"), N = V("el-button-group"), B = V("el-tree"), j = V("vxe-modal"), _ = V("vxe-column"), P = V("vxe-table");
53
53
  return T(), H(E, null, [
54
- e(V, {
54
+ e(g, {
55
55
  plain: "",
56
56
  type: l(x).widget.props.headerTree.length ? "primary" : "",
57
57
  icon: "Setting",
@@ -76,7 +76,7 @@ const q = {
76
76
  ])),
77
77
  default: a(() => [
78
78
  l(v) ? (T(), H("div", q, [
79
- e(V, {
79
+ e(g, {
80
80
  type: "primary",
81
81
  size: "small",
82
82
  class: "w-20 mb-2",
@@ -87,7 +87,7 @@ const q = {
87
87
  ])),
88
88
  _: 1
89
89
  }),
90
- e(F, {
90
+ e(B, {
91
91
  data: r.value,
92
92
  props: d,
93
93
  "node-key": "id",
@@ -109,9 +109,9 @@ const q = {
109
109
  ])
110
110
  ]),
111
111
  f("div", null, [
112
- e(S, null, {
112
+ e(N, null, {
113
113
  default: a(() => [
114
- e(V, {
114
+ e(g, {
115
115
  onClick: (O) => u(w.children),
116
116
  link: "",
117
117
  type: "primary",
@@ -122,7 +122,7 @@ const q = {
122
122
  ])),
123
123
  _: 2
124
124
  }, 1032, ["onClick"]),
125
- e(V, {
125
+ e(g, {
126
126
  link: "",
127
127
  type: "danger",
128
128
  onClick: (O) => p(i, w),
@@ -133,7 +133,7 @@ const q = {
133
133
  ])),
134
134
  _: 2
135
135
  }, 1032, ["onClick"]),
136
- e(V, {
136
+ e(g, {
137
137
  disabled: w.children && !!w.children.length,
138
138
  onClick: (O) => s(w),
139
139
  link: "",
@@ -156,7 +156,7 @@ const q = {
156
156
  ])) : D("", !0)
157
157
  ]),
158
158
  footer: a(() => [
159
- e(V, {
159
+ e(g, {
160
160
  icon: "Close",
161
161
  size: "small",
162
162
  onClick: R
@@ -166,7 +166,7 @@ const q = {
166
166
  ])),
167
167
  _: 1
168
168
  }),
169
- e(V, {
169
+ e(g, {
170
170
  icon: "Check",
171
171
  type: "primary",
172
172
  size: "small",
@@ -250,11 +250,11 @@ const q = {
250
250
  align: "center"
251
251
  }, {
252
252
  default: a(({ row: i }) => [
253
- e(V, {
253
+ e(g, {
254
254
  link: "",
255
255
  type: "primary",
256
256
  size: "small",
257
- onClick: (w) => B(i)
257
+ onClick: (w) => F(i)
258
258
  }, {
259
259
  default: a(() => n[12] || (n[12] = [
260
260
  b("选择")
@@ -287,10 +287,10 @@ const q = {
287
287
  default: {}
288
288
  }
289
289
  },
290
- setup(N) {
291
- let t = N;
290
+ setup(S) {
291
+ let t = S;
292
292
  return (x, o) => {
293
- const r = g("el-option"), y = g("el-select"), u = g("common-label-container"), s = g("el-input"), B = g("el-input-number"), p = g("el-switch");
293
+ const r = V("el-option"), y = V("el-select"), u = V("common-label-container"), s = V("el-input"), F = V("el-input-number"), p = V("el-switch");
294
294
  return T(), H(E, null, [
295
295
  e(u, { label: "组件尺寸" }, {
296
296
  default: a(() => [
@@ -419,7 +419,7 @@ const q = {
419
419
  }),
420
420
  e(u, { label: "默认页数" }, {
421
421
  default: a(() => [
422
- e(B, {
422
+ e(F, {
423
423
  class: "w-full",
424
424
  placeholder: "默认页数",
425
425
  modelValue: l(t).widget.props.pageDefault,
@@ -605,11 +605,20 @@ const q = {
605
605
  ]),
606
606
  _: 1
607
607
  }),
608
+ e(u, { label: "是否显示底部" }, {
609
+ default: a(() => [
610
+ e(p, {
611
+ modelValue: l(t).widget.props.isShowFooter,
612
+ "onUpdate:modelValue": o[27] || (o[27] = (d) => l(t).widget.props.isShowFooter = d)
613
+ }, null, 8, ["modelValue"])
614
+ ]),
615
+ _: 1
616
+ }),
608
617
  e(u, { label: "隐藏查询按钮" }, {
609
618
  default: a(() => [
610
619
  e(p, {
611
620
  modelValue: l(t).widget.props.isHideQueryBtn,
612
- "onUpdate:modelValue": o[27] || (o[27] = (d) => l(t).widget.props.isHideQueryBtn = d)
621
+ "onUpdate:modelValue": o[28] || (o[28] = (d) => l(t).widget.props.isHideQueryBtn = d)
613
622
  }, null, 8, ["modelValue"])
614
623
  ]),
615
624
  _: 1
@@ -618,7 +627,7 @@ const q = {
618
627
  default: a(() => [
619
628
  e(p, {
620
629
  modelValue: l(t).widget.props.isHideResetBtn,
621
- "onUpdate:modelValue": o[28] || (o[28] = (d) => l(t).widget.props.isHideResetBtn = d)
630
+ "onUpdate:modelValue": o[29] || (o[29] = (d) => l(t).widget.props.isHideResetBtn = d)
622
631
  }, null, 8, ["modelValue"])
623
632
  ]),
624
633
  _: 1
@@ -627,7 +636,7 @@ const q = {
627
636
  default: a(() => [
628
637
  e(p, {
629
638
  modelValue: l(t).widget.props.treeMode,
630
- "onUpdate:modelValue": o[29] || (o[29] = (d) => l(t).widget.props.treeMode = d)
639
+ "onUpdate:modelValue": o[30] || (o[30] = (d) => l(t).widget.props.treeMode = d)
631
640
  }, null, 8, ["modelValue"])
632
641
  ]),
633
642
  _: 1
@@ -637,7 +646,7 @@ const q = {
637
646
  default: a(() => [
638
647
  e(s, {
639
648
  modelValue: l(t).widget.props.treeRowField,
640
- "onUpdate:modelValue": o[30] || (o[30] = (d) => l(t).widget.props.treeRowField = d),
649
+ "onUpdate:modelValue": o[31] || (o[31] = (d) => l(t).widget.props.treeRowField = d),
641
650
  placeholder: "本级树节点"
642
651
  }, null, 8, ["modelValue"])
643
652
  ]),
@@ -647,7 +656,7 @@ const q = {
647
656
  default: a(() => [
648
657
  e(s, {
649
658
  modelValue: l(t).widget.props.treeParentField,
650
- "onUpdate:modelValue": o[31] || (o[31] = (d) => l(t).widget.props.treeParentField = d),
659
+ "onUpdate:modelValue": o[32] || (o[32] = (d) => l(t).widget.props.treeParentField = d),
651
660
  placeholder: "父级树节点"
652
661
  }, null, 8, ["modelValue"])
653
662
  ]),
@@ -657,7 +666,7 @@ const q = {
657
666
  default: a(() => [
658
667
  e(s, {
659
668
  modelValue: l(t).widget.props.treeChildrenField,
660
- "onUpdate:modelValue": o[32] || (o[32] = (d) => l(t).widget.props.treeChildrenField = d),
669
+ "onUpdate:modelValue": o[33] || (o[33] = (d) => l(t).widget.props.treeChildrenField = d),
661
670
  placeholder: "树子节点容器"
662
671
  }, null, 8, ["modelValue"])
663
672
  ]),
@@ -667,7 +676,7 @@ const q = {
667
676
  default: a(() => [
668
677
  e(p, {
669
678
  modelValue: l(t).widget.props.treeTransform,
670
- "onUpdate:modelValue": o[33] || (o[33] = (d) => l(t).widget.props.treeTransform = d)
679
+ "onUpdate:modelValue": o[34] || (o[34] = (d) => l(t).widget.props.treeTransform = d)
671
680
  }, null, 8, ["modelValue"])
672
681
  ]),
673
682
  _: 1
@@ -676,7 +685,7 @@ const q = {
676
685
  default: a(() => [
677
686
  e(p, {
678
687
  modelValue: l(t).widget.props.treeExpandAll,
679
- "onUpdate:modelValue": o[34] || (o[34] = (d) => l(t).widget.props.treeExpandAll = d)
688
+ "onUpdate:modelValue": o[35] || (o[35] = (d) => l(t).widget.props.treeExpandAll = d)
680
689
  }, null, 8, ["modelValue"])
681
690
  ]),
682
691
  _: 1
@@ -685,7 +694,7 @@ const q = {
685
694
  default: a(() => [
686
695
  e(p, {
687
696
  modelValue: l(t).widget.props.treeAccordion,
688
- "onUpdate:modelValue": o[35] || (o[35] = (d) => l(t).widget.props.treeAccordion = d)
697
+ "onUpdate:modelValue": o[36] || (o[36] = (d) => l(t).widget.props.treeAccordion = d)
689
698
  }, null, 8, ["modelValue"])
690
699
  ]),
691
700
  _: 1
@@ -694,7 +703,7 @@ const q = {
694
703
  default: a(() => [
695
704
  e(p, {
696
705
  modelValue: l(t).widget.props.isLine,
697
- "onUpdate:modelValue": o[36] || (o[36] = (d) => l(t).widget.props.isLine = d)
706
+ "onUpdate:modelValue": o[37] || (o[37] = (d) => l(t).widget.props.isLine = d)
698
707
  }, null, 8, ["modelValue"])
699
708
  ]),
700
709
  _: 1
@@ -703,7 +712,7 @@ const q = {
703
712
  default: a(() => [
704
713
  e(p, {
705
714
  modelValue: l(t).widget.props.checkStrictly,
706
- "onUpdate:modelValue": o[37] || (o[37] = (d) => l(t).widget.props.checkStrictly = d)
715
+ "onUpdate:modelValue": o[38] || (o[38] = (d) => l(t).widget.props.checkStrictly = d)
707
716
  }, null, 8, ["modelValue"])
708
717
  ]),
709
718
  _: 1
@@ -1,5 +1,5 @@
1
1
  import { computed as S, ref as C, resolveComponent as p, openBlock as U, createElementBlock as k, Fragment as O, createVNode as e, withCtx as l, createTextVNode as g, unref as i, isRef as J, createElementVNode as f } from "vue";
2
- import { _ as T } from "./index-Cxzk5fWS.js";
2
+ import { _ as T } from "./index-DqzxWEoQ.js";
3
3
  const E = { class: "h-full flex flex-col" }, H = { class: "flex-1 overflow-hidden" }, B = {
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-Cxzk5fWS.js";
2
+ import { e as E, i as M } from "./index-DqzxWEoQ.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 { computed as S, ref as C, resolveComponent as u, openBlock as k, createElementBlock as O, Fragment as U, createVNode as e, withCtx as l, createTextVNode as f, unref as i, isRef as J, createElementVNode as c } from "vue";
2
- import { _ as E } from "./index-Cxzk5fWS.js";
2
+ import { _ as E } from "./index-DqzxWEoQ.js";
3
3
  const H = { class: "h-full flex flex-col" }, B = { class: "flex-1 overflow-hidden" }, T = {
4
4
  __name: "dataConfig",
5
5
  props: {