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.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "sun-form-v3",
3
3
  "private": false,
4
- "version": "1.0.97",
4
+ "version": "1.0.99",
5
5
  "type": "module",
6
6
  "files": [
7
7
  "dist"
@@ -25,6 +25,7 @@
25
25
  "postcss": "^8.4.38",
26
26
  "qs": "^6.12.1",
27
27
  "sass": "^1.77.2",
28
+ "sortablejs": "^1.15.2",
28
29
  "tailwindcss": "^3.4.3",
29
30
  "vue": "^3.4.21",
30
31
  "vuedraggable": "^4.1.0",
@@ -1,79 +0,0 @@
1
- import { resolveComponent as a, openBlock as c, createElementBlock as _, Fragment as b, createVNode as e, withCtx as d, unref as o } from "vue";
2
- const w = /* @__PURE__ */ Object.assign({ name: "config-switch" }, {
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 (g, t) => {
17
- const i = a("el-option"), m = a("el-select"), p = a("common-label-container"), u = a("el-input"), r = a("el-switch");
18
- return c(), _(b, null, [
19
- e(p, { label: "组件尺寸" }, {
20
- default: d(() => [
21
- e(m, {
22
- modelValue: o(l).widget.props.size,
23
- "onUpdate:modelValue": t[0] || (t[0] = (n) => o(l).widget.props.size = n)
24
- }, {
25
- default: d(() => [
26
- e(i, {
27
- label: "大尺寸",
28
- value: "large"
29
- }),
30
- e(i, {
31
- label: "默认",
32
- value: "default"
33
- }),
34
- e(i, {
35
- label: "小尺寸",
36
- value: "small"
37
- })
38
- ]),
39
- _: 1
40
- }, 8, ["modelValue"])
41
- ]),
42
- _: 1
43
- }),
44
- e(p, { label: "打开文字" }, {
45
- default: d(() => [
46
- e(u, {
47
- modelValue: o(l).widget.props.activeText,
48
- "onUpdate:modelValue": t[1] || (t[1] = (n) => o(l).widget.props.activeText = n),
49
- placeholder: "填写打开文字"
50
- }, null, 8, ["modelValue"])
51
- ]),
52
- _: 1
53
- }),
54
- e(p, { label: "关闭文字" }, {
55
- default: d(() => [
56
- e(u, {
57
- modelValue: o(l).widget.props.inactiveText,
58
- "onUpdate:modelValue": t[2] || (t[2] = (n) => o(l).widget.props.inactiveText = n),
59
- placeholder: "填写关闭文字"
60
- }, null, 8, ["modelValue"])
61
- ]),
62
- _: 1
63
- }),
64
- e(p, { label: "是否禁用" }, {
65
- default: d(() => [
66
- e(r, {
67
- modelValue: o(l).widget.props.disabled,
68
- "onUpdate:modelValue": t[3] || (t[3] = (n) => o(l).widget.props.disabled = n)
69
- }, null, 8, ["modelValue"])
70
- ]),
71
- _: 1
72
- })
73
- ], 64);
74
- };
75
- }
76
- });
77
- export {
78
- w as default
79
- };