sun-form-v3 1.0.192 → 1.0.194

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
- 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
- const c = /* @__PURE__ */ Object.assign({ name: "config-selects" }, {
1
+ import { resolveComponent as n, openBlock as g, createElementBlock as w, Fragment as b, createVNode as e, withCtx as d, unref as t } from "vue";
2
+ const U = /* @__PURE__ */ Object.assign({ name: "config-selects" }, {
3
3
  __name: "index",
4
4
  props: {
5
5
  designer: {
@@ -14,7 +14,7 @@ const c = /* @__PURE__ */ Object.assign({ name: "config-selects" }, {
14
14
  setup(m) {
15
15
  let l = m;
16
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");
17
+ const s = n("el-option"), r = n("el-select"), p = n("common-label-container"), i = n("el-input-number"), V = n("el-input"), u = n("el-switch");
18
18
  return g(), w(b, null, [
19
19
  e(p, { label: "组件尺寸" }, {
20
20
  default: d(() => [
@@ -79,7 +79,7 @@ const c = /* @__PURE__ */ Object.assign({ name: "config-selects" }, {
79
79
  }),
80
80
  e(p, { label: "下拉显示值" }, {
81
81
  default: d(() => [
82
- e(n, {
82
+ e(u, {
83
83
  modelValue: t(l).widget.props.showKeyValue,
84
84
  "onUpdate:modelValue": o[4] || (o[4] = (a) => t(l).widget.props.showKeyValue = a)
85
85
  }, null, 8, ["modelValue"])
@@ -88,36 +88,45 @@ const c = /* @__PURE__ */ Object.assign({ name: "config-selects" }, {
88
88
  }),
89
89
  e(p, { label: "显示值反转" }, {
90
90
  default: d(() => [
91
- e(n, {
91
+ e(u, {
92
92
  modelValue: t(l).widget.props.keyValueReverse,
93
93
  "onUpdate:modelValue": o[5] || (o[5] = (a) => t(l).widget.props.keyValueReverse = a)
94
94
  }, null, 8, ["modelValue"])
95
95
  ]),
96
96
  _: 1
97
97
  }),
98
+ e(p, { label: "值为字符串" }, {
99
+ default: d(() => [
100
+ e(u, {
101
+ modelValue: t(l).widget.props.valueAsString,
102
+ "onUpdate:modelValue": o[6] || (o[6] = (a) => t(l).widget.props.valueAsString = a)
103
+ }, null, 8, ["modelValue"])
104
+ ]),
105
+ _: 1
106
+ }),
98
107
  e(p, { label: "是否必填" }, {
99
108
  default: d(() => [
100
- e(n, {
109
+ e(u, {
101
110
  modelValue: t(l).widget.props.required,
102
- "onUpdate:modelValue": o[6] || (o[6] = (a) => t(l).widget.props.required = a)
111
+ "onUpdate:modelValue": o[7] || (o[7] = (a) => t(l).widget.props.required = a)
103
112
  }, null, 8, ["modelValue"])
104
113
  ]),
105
114
  _: 1
106
115
  }),
107
116
  e(p, { label: "是否可清除" }, {
108
117
  default: d(() => [
109
- e(n, {
118
+ e(u, {
110
119
  modelValue: t(l).widget.props.clearable,
111
- "onUpdate:modelValue": o[7] || (o[7] = (a) => t(l).widget.props.clearable = a)
120
+ "onUpdate:modelValue": o[8] || (o[8] = (a) => t(l).widget.props.clearable = a)
112
121
  }, null, 8, ["modelValue"])
113
122
  ]),
114
123
  _: 1
115
124
  }),
116
125
  e(p, { label: "是否禁用" }, {
117
126
  default: d(() => [
118
- e(n, {
127
+ e(u, {
119
128
  modelValue: t(l).widget.props.disabled,
120
- "onUpdate:modelValue": o[8] || (o[8] = (a) => t(l).widget.props.disabled = a)
129
+ "onUpdate:modelValue": o[9] || (o[9] = (a) => t(l).widget.props.disabled = a)
121
130
  }, null, 8, ["modelValue"])
122
131
  ]),
123
132
  _: 1
@@ -127,5 +136,5 @@ const c = /* @__PURE__ */ Object.assign({ name: "config-selects" }, {
127
136
  }
128
137
  });
129
138
  export {
130
- c as default
139
+ U as default
131
140
  };
@@ -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-t9owy5ix.js";
2
+ import { _ as E, c as H } from "./index-BuIFE0t3.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: {
@@ -0,0 +1 @@
1
+ import "./index-BuIFE0t3.js";
@@ -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-t9owy5ix.js";
2
+ import { _ as E } from "./index-BuIFE0t3.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 { 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-t9owy5ix.js";
2
+ import { _ as T } from "./index-BuIFE0t3.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: {