sun-form-v3 1.0.60 → 1.0.61

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,4 +1,4 @@
1
- import { t as O, m as I } from "./index2-BfMceNiT.js";
1
+ import { t as O, m as I } from "./index2-B3cLsOke.js";
2
2
  /*!-----------------------------------------------------------------------------
3
3
  * Copyright (c) Microsoft Corporation. All rights reserved.
4
4
  * Version: 0.49.0(383fdf3fc0e1e1a024068b8d0fd4f3dcbae74d04)
@@ -410,7 +410,8 @@ function T(e) {
410
410
  if (e.name === "param" && e.text) {
411
411
  const [r, ...o] = e.text;
412
412
  t += `\`${r.text}\``, o.length > 0 && (t += ` — ${o.map((i) => i.text).join(" ")}`);
413
- } else Array.isArray(e.text) ? t += ` — ${e.text.map((r) => r.text).join(" ")}` : e.text && (t += ` — ${e.text}`);
413
+ } else
414
+ Array.isArray(e.text) ? t += ` — ${e.text.map((r) => r.text).join(" ")}` : e.text && (t += ` — ${e.text}`);
414
415
  return t;
415
416
  }
416
417
  var U = class P extends _ {
@@ -1,4 +1,4 @@
1
- import { m as s } from "./index2-BfMceNiT.js";
1
+ import { m as s } from "./index2-B3cLsOke.js";
2
2
  /*!-----------------------------------------------------------------------------
3
3
  * Copyright (c) Microsoft Corporation. All rights reserved.
4
4
  * Version: 0.49.0(383fdf3fc0e1e1a024068b8d0fd4f3dcbae74d04)
@@ -1,4 +1,4 @@
1
- import { m as r } from "./index2-BfMceNiT.js";
1
+ import { m as r } from "./index2-B3cLsOke.js";
2
2
  /*!-----------------------------------------------------------------------------
3
3
  * Copyright (c) Microsoft Corporation. All rights reserved.
4
4
  * Version: 0.49.0(383fdf3fc0e1e1a024068b8d0fd4f3dcbae74d04)
@@ -1,4 +1,4 @@
1
- import { m as l } from "./index2-BfMceNiT.js";
1
+ import { m as l } from "./index2-B3cLsOke.js";
2
2
  /*!-----------------------------------------------------------------------------
3
3
  * Copyright (c) Microsoft Corporation. All rights reserved.
4
4
  * Version: 0.49.0(383fdf3fc0e1e1a024068b8d0fd4f3dcbae74d04)
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "sun-form-v3",
3
3
  "private": false,
4
- "version": "1.0.60",
4
+ "version": "1.0.61",
5
5
  "type": "module",
6
6
  "files": [
7
7
  "dist"
@@ -15,6 +15,7 @@
15
15
  },
16
16
  "dependencies": {
17
17
  "@element-plus/icons-vue": "^2.3.1",
18
+ "@rollup/plugin-commonjs": "^26.0.1",
18
19
  "autoprefixer": "^10.4.19",
19
20
  "axios": "^1.7.0",
20
21
  "monaco-editor": "^0.49.0",
@@ -33,4 +34,4 @@
33
34
  "vxe-table": "^4.6.17",
34
35
  "xe-utils": "^3.5.26"
35
36
  }
36
- }
37
+ }
@@ -1,150 +0,0 @@
1
- import { resolveComponent as n, openBlock as g, createElementBlock as w, Fragment as b, createVNode as e, withCtx as p, unref as t } from "vue";
2
- const x = /* @__PURE__ */ Object.assign({ name: "config-input" }, {
3
- __name: "index",
4
- props: {
5
- designer: {
6
- type: Object,
7
- default: {}
8
- },
9
- widget: {
10
- type: Object,
11
- default: {}
12
- }
13
- },
14
- setup(s) {
15
- let l = s;
16
- return (f, o) => {
17
- const u = n("el-option"), i = n("el-select"), a = n("common-label-container"), m = n("el-input"), V = n("el-input-number"), r = n("el-switch");
18
- return g(), w(b, null, [
19
- e(a, { label: "组件尺寸" }, {
20
- default: p(() => [
21
- e(i, {
22
- modelValue: t(l).widget.props.size,
23
- "onUpdate:modelValue": o[0] || (o[0] = (d) => t(l).widget.props.size = d)
24
- }, {
25
- default: p(() => [
26
- e(u, {
27
- label: "大尺寸",
28
- value: "large"
29
- }),
30
- e(u, {
31
- label: "默认",
32
- value: "default"
33
- }),
34
- e(u, {
35
- label: "小尺寸",
36
- value: "small"
37
- })
38
- ]),
39
- _: 1
40
- }, 8, ["modelValue"])
41
- ]),
42
- _: 1
43
- }),
44
- e(a, { label: "组件类型" }, {
45
- default: p(() => [
46
- e(i, {
47
- modelValue: t(l).widget.props.type,
48
- "onUpdate:modelValue": o[1] || (o[1] = (d) => t(l).widget.props.type = d)
49
- }, {
50
- default: p(() => [
51
- e(u, {
52
- label: "文字",
53
- value: "text"
54
- }),
55
- e(u, {
56
- label: "密码",
57
- value: "password"
58
- })
59
- ]),
60
- _: 1
61
- }, 8, ["modelValue"])
62
- ]),
63
- _: 1
64
- }),
65
- e(a, { label: "占位文字" }, {
66
- default: p(() => [
67
- e(m, {
68
- modelValue: t(l).widget.props.placeholder,
69
- "onUpdate:modelValue": o[2] || (o[2] = (d) => t(l).widget.props.placeholder = d),
70
- placeholder: "填写占位文字"
71
- }, null, 8, ["modelValue"])
72
- ]),
73
- _: 1
74
- }),
75
- e(a, { label: "前置内容文字" }, {
76
- default: p(() => [
77
- e(m, {
78
- modelValue: t(l).widget.props.prependText,
79
- "onUpdate:modelValue": o[3] || (o[3] = (d) => t(l).widget.props.prependText = d),
80
- placeholder: "填写末尾按钮文字"
81
- }, null, 8, ["modelValue"])
82
- ]),
83
- _: 1
84
- }),
85
- e(a, { label: "末尾按钮文字" }, {
86
- default: p(() => [
87
- e(m, {
88
- modelValue: t(l).widget.props.appendText,
89
- "onUpdate:modelValue": o[4] || (o[4] = (d) => t(l).widget.props.appendText = d),
90
- placeholder: "填写末尾按钮文字"
91
- }, null, 8, ["modelValue"])
92
- ]),
93
- _: 1
94
- }),
95
- e(a, { label: "最大输入长度" }, {
96
- default: p(() => [
97
- e(V, {
98
- class: "w-full",
99
- placeholder: "填写最大输入长度",
100
- modelValue: t(l).widget.props.maxlength,
101
- "onUpdate:modelValue": o[5] || (o[5] = (d) => t(l).widget.props.maxlength = d),
102
- min: 0,
103
- "controls-position": "right"
104
- }, null, 8, ["modelValue"])
105
- ]),
106
- _: 1
107
- }),
108
- e(a, { label: "是否去空格" }, {
109
- default: p(() => [
110
- e(r, {
111
- modelValue: t(l).widget.props.isTrim,
112
- "onUpdate:modelValue": o[6] || (o[6] = (d) => t(l).widget.props.isTrim = d)
113
- }, null, 8, ["modelValue"])
114
- ]),
115
- _: 1
116
- }),
117
- e(a, { label: "是否必填" }, {
118
- default: p(() => [
119
- e(r, {
120
- modelValue: t(l).widget.props.required,
121
- "onUpdate:modelValue": o[7] || (o[7] = (d) => t(l).widget.props.required = d)
122
- }, null, 8, ["modelValue"])
123
- ]),
124
- _: 1
125
- }),
126
- e(a, { label: "是否只读" }, {
127
- default: p(() => [
128
- e(r, {
129
- modelValue: t(l).widget.props.readonly,
130
- "onUpdate:modelValue": o[8] || (o[8] = (d) => t(l).widget.props.readonly = d)
131
- }, null, 8, ["modelValue"])
132
- ]),
133
- _: 1
134
- }),
135
- e(a, { label: "是否禁用" }, {
136
- default: p(() => [
137
- e(r, {
138
- modelValue: t(l).widget.props.disabled,
139
- "onUpdate:modelValue": o[9] || (o[9] = (d) => t(l).widget.props.disabled = d)
140
- }, null, 8, ["modelValue"])
141
- ]),
142
- _: 1
143
- })
144
- ], 64);
145
- };
146
- }
147
- });
148
- export {
149
- x as default
150
- };