sun-form-v3 1.0.116 → 1.0.118

Sign up to get free protection for your applications and to get access to all the features.
@@ -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-DbFyMaOY.js";
2
+ import { c } from "./index-DtmKL4_P.js";
3
3
  const k = /* @__PURE__ */ Object.assign({ name: "config-text" }, {
4
4
  __name: "index",
5
5
  props: {
@@ -1,5 +1,5 @@
1
- import { resolveComponent as p, openBlock as _, createElementBlock as b, Fragment as c, createVNode as e, withCtx as d, unref as t } from "vue";
2
- const f = /* @__PURE__ */ Object.assign({ name: "config-select" }, {
1
+ import { resolveComponent as u, openBlock as V, createElementBlock as g, Fragment as w, createVNode as e, withCtx as d, unref as t } from "vue";
2
+ const _ = /* @__PURE__ */ Object.assign({ name: "config-select" }, {
3
3
  __name: "index",
4
4
  props: {
5
5
  designer: {
@@ -13,25 +13,25 @@ const f = /* @__PURE__ */ Object.assign({ name: "config-select" }, {
13
13
  },
14
14
  setup(s) {
15
15
  let l = s;
16
- return (g, o) => {
17
- const u = p("el-option"), m = p("el-select"), n = p("common-label-container"), i = p("el-input"), r = p("el-switch");
18
- return _(), b(c, null, [
19
- e(n, { label: "组件尺寸" }, {
16
+ return (b, o) => {
17
+ const r = u("el-option"), m = u("el-select"), p = u("common-label-container"), i = u("el-input"), n = u("el-switch");
18
+ return V(), g(w, null, [
19
+ e(p, { label: "组件尺寸" }, {
20
20
  default: d(() => [
21
21
  e(m, {
22
22
  modelValue: t(l).widget.props.size,
23
23
  "onUpdate:modelValue": o[0] || (o[0] = (a) => t(l).widget.props.size = a)
24
24
  }, {
25
25
  default: d(() => [
26
- e(u, {
26
+ e(r, {
27
27
  label: "大尺寸",
28
28
  value: "large"
29
29
  }),
30
- e(u, {
30
+ e(r, {
31
31
  label: "默认",
32
32
  value: "default"
33
33
  }),
34
- e(u, {
34
+ e(r, {
35
35
  label: "小尺寸",
36
36
  value: "small"
37
37
  })
@@ -41,7 +41,7 @@ const f = /* @__PURE__ */ Object.assign({ name: "config-select" }, {
41
41
  ]),
42
42
  _: 1
43
43
  }),
44
- e(n, { label: "占位文字" }, {
44
+ e(p, { label: "占位文字" }, {
45
45
  default: d(() => [
46
46
  e(i, {
47
47
  modelValue: t(l).widget.props.placeholder,
@@ -51,29 +51,47 @@ const f = /* @__PURE__ */ Object.assign({ name: "config-select" }, {
51
51
  ]),
52
52
  _: 1
53
53
  }),
54
- e(n, { label: "是否必填" }, {
54
+ e(p, { label: "是否必填" }, {
55
55
  default: d(() => [
56
- e(r, {
56
+ e(n, {
57
57
  modelValue: t(l).widget.props.required,
58
58
  "onUpdate:modelValue": o[2] || (o[2] = (a) => t(l).widget.props.required = a)
59
59
  }, null, 8, ["modelValue"])
60
60
  ]),
61
61
  _: 1
62
62
  }),
63
- e(n, { label: "是否可清除" }, {
63
+ e(p, { label: "下拉显示值" }, {
64
64
  default: d(() => [
65
- e(r, {
65
+ e(n, {
66
+ modelValue: t(l).widget.props.showKeyValue,
67
+ "onUpdate:modelValue": o[3] || (o[3] = (a) => t(l).widget.props.showKeyValue = a)
68
+ }, null, 8, ["modelValue"])
69
+ ]),
70
+ _: 1
71
+ }),
72
+ e(p, { label: "显示值反转" }, {
73
+ default: d(() => [
74
+ e(n, {
75
+ modelValue: t(l).widget.props.keyValueReverse,
76
+ "onUpdate:modelValue": o[4] || (o[4] = (a) => t(l).widget.props.keyValueReverse = a)
77
+ }, null, 8, ["modelValue"])
78
+ ]),
79
+ _: 1
80
+ }),
81
+ e(p, { label: "是否可清除" }, {
82
+ default: d(() => [
83
+ e(n, {
66
84
  modelValue: t(l).widget.props.clearable,
67
- "onUpdate:modelValue": o[3] || (o[3] = (a) => t(l).widget.props.clearable = a)
85
+ "onUpdate:modelValue": o[5] || (o[5] = (a) => t(l).widget.props.clearable = a)
68
86
  }, null, 8, ["modelValue"])
69
87
  ]),
70
88
  _: 1
71
89
  }),
72
- e(n, { label: "是否禁用" }, {
90
+ e(p, { label: "是否禁用" }, {
73
91
  default: d(() => [
74
- e(r, {
92
+ e(n, {
75
93
  modelValue: t(l).widget.props.disabled,
76
- "onUpdate:modelValue": o[4] || (o[4] = (a) => t(l).widget.props.disabled = a)
94
+ "onUpdate:modelValue": o[6] || (o[6] = (a) => t(l).widget.props.disabled = a)
77
95
  }, null, 8, ["modelValue"])
78
96
  ]),
79
97
  _: 1
@@ -83,5 +101,5 @@ const f = /* @__PURE__ */ Object.assign({ name: "config-select" }, {
83
101
  }
84
102
  });
85
103
  export {
86
- f as default
104
+ _ as default
87
105
  };
@@ -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-DbFyMaOY.js";
2
+ import { e as E, i as M } from "./index-DtmKL4_P.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,4 +1,4 @@
1
- import { resolveComponent as n, openBlock as V, createElementBlock as b, Fragment as w, createVNode as e, withCtx as d, unref as t } from "vue";
1
+ import { resolveComponent as u, openBlock as g, createElementBlock as w, Fragment as b, createVNode as e, withCtx as d, unref as t } from "vue";
2
2
  const c = /* @__PURE__ */ Object.assign({ name: "config-selects" }, {
3
3
  __name: "index",
4
4
  props: {
@@ -13,9 +13,9 @@ const c = /* @__PURE__ */ Object.assign({ name: "config-selects" }, {
13
13
  },
14
14
  setup(m) {
15
15
  let l = m;
16
- return (_, o) => {
17
- const u = n("el-option"), r = n("el-select"), p = n("common-label-container"), i = n("el-input-number"), g = n("el-input"), s = n("el-switch");
18
- return V(), b(w, null, [
16
+ return (f, o) => {
17
+ const s = u("el-option"), r = u("el-select"), p = u("common-label-container"), i = u("el-input-number"), V = u("el-input"), n = u("el-switch");
18
+ return g(), w(b, null, [
19
19
  e(p, { label: "组件尺寸" }, {
20
20
  default: d(() => [
21
21
  e(r, {
@@ -23,15 +23,15 @@ const c = /* @__PURE__ */ Object.assign({ name: "config-selects" }, {
23
23
  "onUpdate:modelValue": o[0] || (o[0] = (a) => t(l).widget.props.size = a)
24
24
  }, {
25
25
  default: d(() => [
26
- e(u, {
26
+ e(s, {
27
27
  label: "大尺寸",
28
28
  value: "large"
29
29
  }),
30
- e(u, {
30
+ e(s, {
31
31
  label: "默认",
32
32
  value: "default"
33
33
  }),
34
- e(u, {
34
+ e(s, {
35
35
  label: "小尺寸",
36
36
  value: "small"
37
37
  })
@@ -69,7 +69,7 @@ const c = /* @__PURE__ */ Object.assign({ name: "config-selects" }, {
69
69
  }),
70
70
  e(p, { label: "占位文字" }, {
71
71
  default: d(() => [
72
- e(g, {
72
+ e(V, {
73
73
  modelValue: t(l).widget.props.placeholder,
74
74
  "onUpdate:modelValue": o[3] || (o[3] = (a) => t(l).widget.props.placeholder = a),
75
75
  placeholder: "填写占位文字"
@@ -77,29 +77,47 @@ const c = /* @__PURE__ */ Object.assign({ name: "config-selects" }, {
77
77
  ]),
78
78
  _: 1
79
79
  }),
80
+ e(p, { label: "下拉显示值" }, {
81
+ default: d(() => [
82
+ e(n, {
83
+ modelValue: t(l).widget.props.showKeyValue,
84
+ "onUpdate:modelValue": o[4] || (o[4] = (a) => t(l).widget.props.showKeyValue = a)
85
+ }, null, 8, ["modelValue"])
86
+ ]),
87
+ _: 1
88
+ }),
89
+ e(p, { label: "显示值反转" }, {
90
+ default: d(() => [
91
+ e(n, {
92
+ modelValue: t(l).widget.props.keyValueReverse,
93
+ "onUpdate:modelValue": o[5] || (o[5] = (a) => t(l).widget.props.keyValueReverse = a)
94
+ }, null, 8, ["modelValue"])
95
+ ]),
96
+ _: 1
97
+ }),
80
98
  e(p, { label: "是否必填" }, {
81
99
  default: d(() => [
82
- e(s, {
100
+ e(n, {
83
101
  modelValue: t(l).widget.props.required,
84
- "onUpdate:modelValue": o[4] || (o[4] = (a) => t(l).widget.props.required = a)
102
+ "onUpdate:modelValue": o[6] || (o[6] = (a) => t(l).widget.props.required = a)
85
103
  }, null, 8, ["modelValue"])
86
104
  ]),
87
105
  _: 1
88
106
  }),
89
107
  e(p, { label: "是否可清除" }, {
90
108
  default: d(() => [
91
- e(s, {
109
+ e(n, {
92
110
  modelValue: t(l).widget.props.clearable,
93
- "onUpdate:modelValue": o[5] || (o[5] = (a) => t(l).widget.props.clearable = a)
111
+ "onUpdate:modelValue": o[7] || (o[7] = (a) => t(l).widget.props.clearable = a)
94
112
  }, null, 8, ["modelValue"])
95
113
  ]),
96
114
  _: 1
97
115
  }),
98
116
  e(p, { label: "是否禁用" }, {
99
117
  default: d(() => [
100
- e(s, {
118
+ e(n, {
101
119
  modelValue: t(l).widget.props.disabled,
102
- "onUpdate:modelValue": o[6] || (o[6] = (a) => t(l).widget.props.disabled = a)
120
+ "onUpdate:modelValue": o[8] || (o[8] = (a) => t(l).widget.props.disabled = a)
103
121
  }, null, 8, ["modelValue"])
104
122
  ]),
105
123
  _: 1
@@ -1,5 +1,5 @@
1
1
  import { ref as C, resolveComponent as m, openBlock as H, createElementBlock as T, Fragment as A, createVNode as e, unref as l, withCtx as a, createTextVNode as b, isRef as L, createElementVNode as f, toDisplayString as k, createCommentVNode as R } from "vue";
2
- import { _ as $ } from "./index-DbFyMaOY.js";
2
+ import { _ as $ } from "./index-DtmKL4_P.js";
3
3
  const J = {
4
4
  key: 0,
5
5
  class: "flex h-full flex-col"
@@ -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-DbFyMaOY.js";
2
+ import { _ as T } from "./index-DtmKL4_P.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: {
@@ -0,0 +1,73 @@
1
+ import { resolveComponent as m, openBlock as r, createElementBlock as s, Fragment as g, createVNode as o, withCtx as n, unref as t } from "vue";
2
+ const w = /* @__PURE__ */ Object.assign({ name: "config-modal2" }, {
3
+ __name: "index",
4
+ props: {
5
+ designer: {
6
+ type: Object,
7
+ default: {}
8
+ },
9
+ widget: {
10
+ type: Object,
11
+ default: {}
12
+ }
13
+ },
14
+ setup(i) {
15
+ let e = i;
16
+ return (V, l) => {
17
+ const p = m("el-input"), a = m("common-label-container"), u = m("el-switch");
18
+ return r(), s(g, null, [
19
+ o(a, { label: "弹窗标题" }, {
20
+ default: n(() => [
21
+ o(p, {
22
+ modelValue: t(e).widget.props.title,
23
+ "onUpdate:modelValue": l[0] || (l[0] = (d) => t(e).widget.props.title = d),
24
+ placeholder: "填写弹窗标题"
25
+ }, null, 8, ["modelValue"])
26
+ ]),
27
+ _: 1
28
+ }),
29
+ o(a, { label: "弹窗宽度" }, {
30
+ default: n(() => [
31
+ o(p, {
32
+ modelValue: t(e).widget.props.modalWidth,
33
+ "onUpdate:modelValue": l[1] || (l[1] = (d) => t(e).widget.props.modalWidth = d),
34
+ placeholder: "填写弹窗宽度"
35
+ }, null, 8, ["modelValue"])
36
+ ]),
37
+ _: 1
38
+ }),
39
+ o(a, { label: "弹窗高度" }, {
40
+ default: n(() => [
41
+ o(p, {
42
+ modelValue: t(e).widget.props.modalHeight,
43
+ "onUpdate:modelValue": l[2] || (l[2] = (d) => t(e).widget.props.modalHeight = d),
44
+ placeholder: "填写弹窗高度"
45
+ }, null, 8, ["modelValue"])
46
+ ]),
47
+ _: 1
48
+ }),
49
+ o(a, { label: "是否显示按钮栏" }, {
50
+ default: n(() => [
51
+ o(u, {
52
+ modelValue: t(e).widget.props.hasFooter,
53
+ "onUpdate:modelValue": l[3] || (l[3] = (d) => t(e).widget.props.hasFooter = d)
54
+ }, null, 8, ["modelValue"])
55
+ ]),
56
+ _: 1
57
+ }),
58
+ o(a, { label: "是否隐藏确定键" }, {
59
+ default: n(() => [
60
+ o(u, {
61
+ modelValue: t(e).widget.props.hideConfirm,
62
+ "onUpdate:modelValue": l[4] || (l[4] = (d) => t(e).widget.props.hideConfirm = d)
63
+ }, null, 8, ["modelValue"])
64
+ ]),
65
+ _: 1
66
+ })
67
+ ], 64);
68
+ };
69
+ }
70
+ });
71
+ export {
72
+ w as default
73
+ };
@@ -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-DbFyMaOY.js";
2
+ import { _ as E } from "./index-DtmKL4_P.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: {