sun-form-v3 1.0.117 → 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-4Ljo76X6.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-4Ljo76X6.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-4Ljo76X6.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-4Ljo76X6.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: {
@@ -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-4Ljo76X6.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: {