sun-form-v3 1.0.143 → 1.0.145

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
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-CFjT5gPU.js";
2
+ import { _ as E } from "./index-BEieu87d.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: {
@@ -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-CFjT5gPU.js";
2
+ import { c } from "./index-BEieu87d.js";
3
3
  const k = /* @__PURE__ */ Object.assign({ name: "config-text" }, {
4
4
  __name: "index",
5
5
  props: {
@@ -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-CFjT5gPU.js";
2
+ import { e as E, i as M } from "./index-BEieu87d.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: {
@@ -0,0 +1,157 @@
1
+ import { ref as V, resolveComponent as d, openBlock as b, createElementBlock as _, Fragment as c, createVNode as e, withCtx as p, unref as t } from "vue";
2
+ const U = /* @__PURE__ */ Object.assign({ name: "config-qrcode" }, {
3
+ __name: "index",
4
+ props: {
5
+ designer: {
6
+ type: Object,
7
+ default: {}
8
+ },
9
+ widget: {
10
+ type: Object,
11
+ default: {}
12
+ }
13
+ },
14
+ setup(f) {
15
+ let l = f;
16
+ const u = V([
17
+ "#ff4500",
18
+ "#ff8c00",
19
+ "#ffd700",
20
+ "#90ee90",
21
+ "#00ced1",
22
+ "#1e90ff",
23
+ "#c71585",
24
+ "#000000",
25
+ "#ffffff",
26
+ "rgba(255, 69, 0, 0.68)",
27
+ "rgb(255, 120, 0)",
28
+ "hsv(51, 100, 98)",
29
+ "hsva(120, 40, 94, 0.5)",
30
+ "hsl(181, 100%, 37%)",
31
+ "hsla(209, 100%, 56%, 0.73)",
32
+ "#c7158577"
33
+ ]);
34
+ return (v, o) => {
35
+ const s = d("el-input"), n = d("common-label-container"), i = d("el-input-number"), m = d("el-color-picker"), r = d("el-option"), g = d("el-select"), w = d("el-switch");
36
+ return b(), _(c, null, [
37
+ e(n, { label: "二维码内容" }, {
38
+ default: p(() => [
39
+ e(s, {
40
+ modelValue: t(l).widget.props.value,
41
+ "onUpdate:modelValue": o[0] || (o[0] = (a) => t(l).widget.props.value = a),
42
+ placeholder: "请输入二维码内容",
43
+ type: "textarea",
44
+ rows: 3
45
+ }, null, 8, ["modelValue"])
46
+ ]),
47
+ _: 1
48
+ }),
49
+ e(n, { label: "二维码尺寸" }, {
50
+ default: p(() => [
51
+ e(i, {
52
+ class: "w-full",
53
+ modelValue: t(l).widget.props.size,
54
+ "onUpdate:modelValue": o[1] || (o[1] = (a) => t(l).widget.props.size = a),
55
+ min: 50,
56
+ max: 500,
57
+ step: 10,
58
+ "controls-position": "right",
59
+ placeholder: "二维码尺寸(像素)"
60
+ }, null, 8, ["modelValue"])
61
+ ]),
62
+ _: 1
63
+ }),
64
+ e(n, { label: "背景颜色" }, {
65
+ default: p(() => [
66
+ e(m, {
67
+ modelValue: t(l).widget.props.bgColor,
68
+ "onUpdate:modelValue": o[2] || (o[2] = (a) => t(l).widget.props.bgColor = a),
69
+ "show-alpha": "",
70
+ predefine: u.value
71
+ }, null, 8, ["modelValue", "predefine"])
72
+ ]),
73
+ _: 1
74
+ }),
75
+ e(n, { label: "前景颜色" }, {
76
+ default: p(() => [
77
+ e(m, {
78
+ modelValue: t(l).widget.props.fgColor,
79
+ "onUpdate:modelValue": o[3] || (o[3] = (a) => t(l).widget.props.fgColor = a),
80
+ "show-alpha": "",
81
+ predefine: u.value
82
+ }, null, 8, ["modelValue", "predefine"])
83
+ ]),
84
+ _: 1
85
+ }),
86
+ e(n, { label: "纠错级别" }, {
87
+ default: p(() => [
88
+ e(g, {
89
+ modelValue: t(l).widget.props.level,
90
+ "onUpdate:modelValue": o[4] || (o[4] = (a) => t(l).widget.props.level = a),
91
+ placeholder: "选择纠错级别"
92
+ }, {
93
+ default: p(() => [
94
+ e(r, {
95
+ label: "低(L)",
96
+ value: "L"
97
+ }),
98
+ e(r, {
99
+ label: "中(M)",
100
+ value: "M"
101
+ }),
102
+ e(r, {
103
+ label: "较高(Q)",
104
+ value: "Q"
105
+ }),
106
+ e(r, {
107
+ label: "高(H)",
108
+ value: "H"
109
+ })
110
+ ]),
111
+ _: 1
112
+ }, 8, ["modelValue"])
113
+ ]),
114
+ _: 1
115
+ }),
116
+ e(n, { label: "边距" }, {
117
+ default: p(() => [
118
+ e(i, {
119
+ class: "w-full",
120
+ modelValue: t(l).widget.props.margin,
121
+ "onUpdate:modelValue": o[5] || (o[5] = (a) => t(l).widget.props.margin = a),
122
+ min: 0,
123
+ max: 10,
124
+ "controls-position": "right",
125
+ placeholder: "二维码边距"
126
+ }, null, 8, ["modelValue"])
127
+ ]),
128
+ _: 1
129
+ }),
130
+ e(n, { label: "是否隐藏" }, {
131
+ default: p(() => [
132
+ e(w, {
133
+ modelValue: t(l).widget.props.hide,
134
+ "onUpdate:modelValue": o[6] || (o[6] = (a) => t(l).widget.props.hide = a)
135
+ }, null, 8, ["modelValue"])
136
+ ]),
137
+ _: 1
138
+ }),
139
+ e(n, { label: "备注说明" }, {
140
+ default: p(() => [
141
+ e(s, {
142
+ modelValue: t(l).widget.props.remark,
143
+ "onUpdate:modelValue": o[7] || (o[7] = (a) => t(l).widget.props.remark = a),
144
+ placeholder: "填写备注说明",
145
+ type: "textarea",
146
+ rows: 2
147
+ }, null, 8, ["modelValue"])
148
+ ]),
149
+ _: 1
150
+ })
151
+ ], 64);
152
+ };
153
+ }
154
+ });
155
+ export {
156
+ U as default
157
+ };
@@ -1,5 +1,5 @@
1
1
  import { computed as z, ref as x, resolveComponent as p, openBlock as k, createElementBlock as U, Fragment as O, createVNode as e, withCtx as l, createTextVNode as V, unref as u, isRef as J, createElementVNode as m } from "vue";
2
- import { _ as E, c as H } from "./index-CFjT5gPU.js";
2
+ import { _ as E, c as H } from "./index-BEieu87d.js";
3
3
  const h = { class: "h-full flex flex-col" }, B = { class: "flex-1 overflow-hidden" }, T = /* @__PURE__ */ Object.assign({ name: "commonStyleConfig" }, {
4
4
  __name: "dataConfig",
5
5
  props: {
@@ -1,5 +1,5 @@
1
1
  import { ref as C, resolveComponent as g, openBlock as T, createElementBlock as H, Fragment as E, createVNode as e, unref as l, withCtx as a, createTextVNode as b, isRef as A, createElementVNode as f, toDisplayString as k, createCommentVNode as D } from "vue";
2
- import { _ as $ } from "./index-CFjT5gPU.js";
2
+ import { _ as $ } from "./index-BEieu87d.js";
3
3
  const q = {
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-CFjT5gPU.js";
2
+ import { _ as T } from "./index-BEieu87d.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: {