sun-form-v3 1.0.97 → 1.0.99

Sign up to get free protection for your applications and to get access to all the features.
@@ -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-BbWDcT04.js";
2
+ import { _ as E, c as H } from "./index-BuGa4h8p.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
- import { resolveComponent as p, openBlock as w, createElementBlock as _, Fragment as b, createVNode as e, withCtx as n, unref as t } from "vue";
2
- const c = /* @__PURE__ */ Object.assign({ name: "config-rate" }, {
1
+ import { resolveComponent as p, openBlock as w, createElementBlock as g, Fragment as V, createVNode as e, withCtx as d, unref as t } from "vue";
2
+ const _ = /* @__PURE__ */ Object.assign({ name: "config-rate" }, {
3
3
  __name: "index",
4
4
  props: {
5
5
  designer: {
@@ -11,27 +11,27 @@ const c = /* @__PURE__ */ Object.assign({ name: "config-rate" }, {
11
11
  default: {}
12
12
  }
13
13
  },
14
- setup(m) {
15
- let l = m;
16
- return (f, o) => {
17
- const u = p("el-option"), r = p("el-select"), d = p("common-label-container"), i = p("el-input-number"), s = p("el-switch");
18
- return w(), _(b, null, [
19
- e(d, { label: "组件尺寸" }, {
20
- default: n(() => [
21
- e(r, {
14
+ setup(s) {
15
+ let l = s;
16
+ return (b, o) => {
17
+ const r = p("el-option"), m = p("el-select"), n = p("common-label-container"), i = p("el-input-number"), u = p("el-switch");
18
+ return w(), g(V, null, [
19
+ e(n, { label: "组件尺寸" }, {
20
+ default: d(() => [
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
- default: n(() => [
26
- e(u, {
25
+ default: d(() => [
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,8 +41,8 @@ const c = /* @__PURE__ */ Object.assign({ name: "config-rate" }, {
41
41
  ]),
42
42
  _: 1
43
43
  }),
44
- e(d, { label: "最大分值" }, {
45
- default: n(() => [
44
+ e(n, { label: "最大分值" }, {
45
+ default: d(() => [
46
46
  e(i, {
47
47
  class: "w-full",
48
48
  placeholder: "填写最大输入长度",
@@ -54,37 +54,46 @@ const c = /* @__PURE__ */ Object.assign({ name: "config-rate" }, {
54
54
  ]),
55
55
  _: 1
56
56
  }),
57
- e(d, { label: "是否禁用" }, {
58
- default: n(() => [
59
- e(s, {
57
+ e(n, { label: "是否禁用" }, {
58
+ default: d(() => [
59
+ e(u, {
60
60
  modelValue: t(l).widget.props.disabled,
61
61
  "onUpdate:modelValue": o[2] || (o[2] = (a) => t(l).widget.props.disabled = a)
62
62
  }, null, 8, ["modelValue"])
63
63
  ]),
64
64
  _: 1
65
65
  }),
66
- e(d, { label: "是否可半选" }, {
67
- default: n(() => [
68
- e(s, {
66
+ e(n, { label: "是否可半选" }, {
67
+ default: d(() => [
68
+ e(u, {
69
69
  modelValue: t(l).widget.props.allowHalf,
70
70
  "onUpdate:modelValue": o[3] || (o[3] = (a) => t(l).widget.props.allowHalf = a)
71
71
  }, null, 8, ["modelValue"])
72
72
  ]),
73
73
  _: 1
74
74
  }),
75
- e(d, { label: "是否显示分数" }, {
76
- default: n(() => [
77
- e(s, {
75
+ e(n, { label: "是否显示分数" }, {
76
+ default: d(() => [
77
+ e(u, {
78
78
  modelValue: t(l).widget.props.showScore,
79
79
  "onUpdate:modelValue": o[4] || (o[4] = (a) => t(l).widget.props.showScore = a)
80
80
  }, null, 8, ["modelValue"])
81
81
  ]),
82
82
  _: 1
83
+ }),
84
+ e(n, { label: "是否必填" }, {
85
+ default: d(() => [
86
+ e(u, {
87
+ modelValue: t(l).widget.props.required,
88
+ "onUpdate:modelValue": o[5] || (o[5] = (a) => t(l).widget.props.required = a)
89
+ }, null, 8, ["modelValue"])
90
+ ]),
91
+ _: 1
83
92
  })
84
93
  ], 64);
85
94
  };
86
95
  }
87
96
  });
88
97
  export {
89
- c as default
98
+ _ as default
90
99
  };
@@ -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-BbWDcT04.js";
2
+ import { _ as T } from "./index-BuGa4h8p.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: {