bp-aicc-editor 1.2.507 → 1.2.511
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.
- package/lib/ScreenPreview-CV95NWOd.js +373 -0
- package/lib/{atlas-C3az-9Mm.js → atlas-DsmLq2V0.js} +1 -1
- package/lib/{button-base-_jCki568.js → button-base-DHNVBrQ9.js} +1 -1
- package/lib/{cache-Jvpyvvq5.js → cache-lsjsKZHu.js} +1 -1
- package/lib/{container-group-DTRMf-Lh.js → container-group-DqAcKEBy.js} +1 -1
- package/lib/{copy-JUmhZHJW.js → copy-C5Pi6nJh.js} +1 -1
- package/lib/{datav-DYcMOPlj.js → datav-BER95ty-.js} +27 -27
- package/lib/{delete-C0k5m-ed.js → delete-C2EW4JCs.js} +1 -1
- package/lib/{divider-CvWkiVUb.js → divider-BazBGRgV.js} +1 -1
- package/lib/edit-B2pfd2q1.js +24 -0
- package/lib/el-button-DvLKp6Ga.js +815 -0
- package/lib/el-form-item-BDdxk5F5.js +1175 -0
- package/lib/el-link-D2ol9BHQ.js +91 -0
- package/lib/el-loading-Cgwgez55.js +230 -0
- package/lib/el-overlay-BK0_UIU6.js +704 -0
- package/lib/el-tab-pane-DD2eM9rB.js +536 -0
- package/lib/{fullscreen-DOYyz7vQ.js → fullscreen-OChDsSnk.js} +1 -1
- package/lib/{image-BQIpsLBo.js → image-C5ZAY3yt.js} +1 -1
- package/lib/index-3pzVrvby.js +150 -0
- package/lib/{index-D9Iayd4l.js → index-B19lEYui.js} +6 -6
- package/lib/index-B1yAU2Cb.js +390 -0
- package/lib/index-BCFXuK7k.js +68 -0
- package/lib/index-BD4Jwo8Z.js +449 -0
- package/lib/{index-BvcqtFEY.js → index-BMWqf88L.js} +10 -10
- package/lib/{index-CI4vgOJL.js → index-BPcvYtHf.js} +8 -11
- package/lib/index-BWPVi43E.js +21 -0
- package/lib/{index-CSkWvBQG.js → index-BatyRVpL.js} +1 -1
- package/lib/{index-D7jQaJbo.js → index-Belsn8kt.js} +1 -1
- package/lib/{index-C7ZW2TdD.js → index-BfIEunKC.js} +13 -15
- package/lib/{index-DTbzx51-.js → index-BhP9eBCp.js} +2 -2
- package/lib/{index-BdQOzowp.js → index-BkdiXCRY.js} +1 -1
- package/lib/{index-B4Kg0SOl.js → index-Buoc0ISP.js} +60 -65
- package/lib/index-BwCQWH-N.js +439 -0
- package/lib/{index-KO7LIDgy.js → index-C7k49L2T.js} +1 -1
- package/lib/{index-BCisGpRV.js → index-CGFEhUh9.js} +21 -21
- package/lib/{index-BCZuzL9x.js → index-CGrR_i0u.js} +1 -1
- package/lib/index-CIADz1i0.js +8494 -0
- package/lib/{index-BiybAKLy.js → index-CJyYGViv.js} +1 -1
- package/lib/{index-Curd3Q_C.js → index-CVE37oE7.js} +1 -1
- package/lib/{index-BGT3NcHb.js → index-CVsy2qTh.js} +2 -2
- package/lib/{index-CEKpsQ73.js → index-CWbZmzNT.js} +20 -20
- package/lib/{index-r0p4Zsdn.js → index-CXQ258ID.js} +1 -1
- package/lib/{index-C17gkQC5.js → index-CX_Ghcb6.js} +2 -2
- package/lib/index-CZJriuFt.js +27215 -0
- package/lib/{index-UdJ7RS5C.js → index-Ci8AbyIq.js} +1 -1
- package/lib/{index-DzglmFul.js → index-Ck7uFsPE.js} +1 -1
- package/lib/{index-DfKVDhZo.js → index-D4X0_jbv.js} +4 -4
- package/lib/{index-Q9GLzAp6.js → index-DKTrbqcA.js} +2 -2
- package/lib/{index-DiSYhNaR.js → index-Ge_d2xqD.js} +1 -1
- package/lib/{index-D9qrFCLu.js → index-qVyixI57.js} +21 -24
- package/lib/{index-DrO2UeJx.js → index-tbhuYbb0.js} +1 -1
- package/lib/index.es.js +3 -3
- package/lib/index.umd.js +57 -34
- package/lib/{layer-setting-panel-Bjnt_eL7.js → layer-setting-panel-VvDSQ-cn.js} +2 -2
- package/lib/{line-show-C7Nn6vkO.js → line-show-Bp4G-LqO.js} +1 -1
- package/lib/{multi-layout-config-Cq3yMVHR.js → multi-layout-config-drSy7ezf.js} +5 -5
- package/lib/{multiline-text-20qZej5M.js → multiline-text-D89kYrA2.js} +1 -1
- package/lib/{navigation-CYYFLmhU.js → navigation-YAGxZ0OT.js} +1 -1
- package/lib/page-config-Cmsi8Vpr.js +582 -0
- package/lib/page-tabs-wFeNBY4c.js +185 -0
- package/lib/{plus-CLcKk5PN.js → plus-3mdO6yXY.js} +1 -1
- package/lib/{requestOld-UJ_IbJZV.js → requestOld-DRcjsmRQ.js} +1 -1
- package/lib/{schema-EG3DcRzW.js → schema-BavJE-SK.js} +2 -2
- package/lib/{schema-B8SVu2jj.js → schema-BflqDw-a.js} +1 -1
- package/lib/{schema-D6lT1sLt.js → schema-Bo30dbBx.js} +1 -1
- package/lib/{schema-Blmk8VpW.js → schema-BsnIOGBI.js} +1 -1
- package/lib/{schema-C1vqYLAm.js → schema-_APJMUW3.js} +24 -24
- package/lib/{schema-C4qS2kV8.js → schema-qKI1F8Bt.js} +1 -1
- package/lib/{setting-panel-CoVHYjPW.js → setting-panel-BgzN3BUP.js} +91 -93
- package/lib/{show-DWWTez5i.js → show-C4AeWlKj.js} +13 -32
- package/lib/{stepper-bfTmJIGg.js → stepper-D5EFeJWG.js} +1 -1
- package/lib/strings-_mHAdgA4.js +6 -0
- package/lib/style.css +1 -0
- package/lib/{switch-Dxeq_HHd.js → switch-B0dR4LM_.js} +1 -1
- package/lib/unlock-Cq9PLhBA.js +62 -0
- package/lib/{use-env-url-CP2GpMCY.js → use-env-url-BM9dgwx_.js} +1 -1
- package/lib/use-global-config-CflpFoxU.js +115 -0
- package/lib/vnode-B_Dj8zxu.js +14 -0
- package/package.json +3 -2
- package/lib/ScreenPreview-DGe9FXWu.js +0 -126
- package/lib/index-08FGmL4D.js +0 -3744
- package/lib/index-Bg2serjU.js +0 -155
- package/lib/index-CJbqu93z.js +0 -496
- package/lib/index-D-A44QLA.js +0 -228
- package/lib/index-D6ZS8SXJ.js +0 -22369
- package/lib/index-DgTMT-ZH.js +0 -71
- package/lib/index-noVQZPd6.js +0 -133
- package/lib/page-config-Bw-OZliO.js +0 -257
- package/lib/page-tabs-DM9zkW_X.js +0 -190
- package/lib/styles.css +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as V, inject as y, resolveComponent as m, createElementBlock as s, createCommentVNode as p, unref as l, openBlock as f, createElementVNode as u, createVNode as o, withCtx as r, Fragment as v } from "vue";
|
|
2
|
-
import { c as b } from "./index-
|
|
3
|
-
import { _ as x } from "./index-
|
|
2
|
+
import { c as b } from "./index-BCFXuK7k.js";
|
|
3
|
+
import { _ as x } from "./index-CZJriuFt.js";
|
|
4
4
|
const U = {
|
|
5
5
|
key: 0,
|
|
6
6
|
class: "config-manager-page"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { createElementBlock as d, openBlock as h, createElementVNode as c, defineComponent as
|
|
1
|
+
import { createElementBlock as d, openBlock as h, createElementVNode as c, defineComponent as A, resolveComponent as H, createVNode as o, withCtx as r, unref as l, normalizeClass as V } from "vue";
|
|
2
2
|
import { ElIcon as v } from "element-plus";
|
|
3
|
-
import { _ as m, a as T,
|
|
3
|
+
import { _ as m, a as T, bb as g } from "./index-CZJriuFt.js";
|
|
4
4
|
const L = {}, W = {
|
|
5
5
|
t: "1656856199489",
|
|
6
6
|
class: "icon",
|
|
@@ -145,7 +145,7 @@ function ht(a, t) {
|
|
|
145
145
|
}, null, -1)
|
|
146
146
|
])]);
|
|
147
147
|
}
|
|
148
|
-
const mt = /* @__PURE__ */ m(lt, [["render", ht]]), ft = { class: "config-manager-page" }, vt = { class: "config-manager-body" }, gt = { class: "multi-layout-config" }, _t = /* @__PURE__ */
|
|
148
|
+
const mt = /* @__PURE__ */ m(lt, [["render", ht]]), ft = { class: "config-manager-page" }, vt = { class: "config-manager-body" }, gt = { class: "multi-layout-config" }, _t = /* @__PURE__ */ A({
|
|
149
149
|
__name: "multi-layout-config",
|
|
150
150
|
props: {
|
|
151
151
|
selectedCount: {}
|
|
@@ -206,7 +206,7 @@ const mt = /* @__PURE__ */ m(lt, [["render", ht]]), ft = { class: "config-manage
|
|
|
206
206
|
s.attr.x = i + u, u += C + s.attr.w;
|
|
207
207
|
}), f();
|
|
208
208
|
}
|
|
209
|
-
function
|
|
209
|
+
function b() {
|
|
210
210
|
const n = g.sortBy(t.selectedComs, (s) => s.attr.y), e = n.length;
|
|
211
211
|
if (e < 2)
|
|
212
212
|
return;
|
|
@@ -302,7 +302,7 @@ const mt = /* @__PURE__ */ m(lt, [["render", ht]]), ft = { class: "config-manage
|
|
|
302
302
|
o(l(v), {
|
|
303
303
|
class: V(["datav-icon", { disable: a.selectedCount < 3 }]),
|
|
304
304
|
title: "垂直",
|
|
305
|
-
onClick:
|
|
305
|
+
onClick: b
|
|
306
306
|
}, {
|
|
307
307
|
default: r(() => [
|
|
308
308
|
o(mt)
|
|
@@ -0,0 +1,582 @@
|
|
|
1
|
+
import { a5 as Z, B as j, j as K, ar as N, ao as F, b as R, e as q, bz as O, I as pe, ae as ce, k as U, n as H, C as me, d as W, M as ge, ab as fe, ac as ve, a8 as be, F as _e, bh as he, aw as J, w as ye, _ as M, u as we, bA as E, p as Ce, E as Ve } from "./index-CZJriuFt.js";
|
|
2
|
+
import { E as Ie } from "./el-button-DvLKp6Ga.js";
|
|
3
|
+
import { ref as P, inject as ke, computed as y, defineComponent as G, createElementBlock as k, openBlock as c, normalizeClass as z, unref as e, createElementVNode as u, withDirectives as Q, withModifiers as A, isRef as X, vModelRadio as Y, renderSlot as D, createTextVNode as T, toDisplayString as ee, nextTick as oe, normalizeStyle as Se, onMounted as ze, provide as $e, reactive as Be, toRefs as Ee, watch as Me, Fragment as le, renderList as ne, createBlock as $, resolveDynamicComponent as Ae, mergeProps as Re, resolveComponent as S, createVNode as v, withCtx as V } from "vue";
|
|
4
|
+
import { I as Ge } from "./fullscreen-OChDsSnk.js";
|
|
5
|
+
import { u as Le } from "./toolbar-Dhf_BVAU.js";
|
|
6
|
+
import { u as Pe } from "./index-BWPVi43E.js";
|
|
7
|
+
const ae = R({
|
|
8
|
+
modelValue: {
|
|
9
|
+
type: [String, Number, Boolean],
|
|
10
|
+
default: void 0
|
|
11
|
+
},
|
|
12
|
+
size: q,
|
|
13
|
+
disabled: {
|
|
14
|
+
type: Boolean,
|
|
15
|
+
default: void 0
|
|
16
|
+
},
|
|
17
|
+
label: {
|
|
18
|
+
type: [String, Number, Boolean],
|
|
19
|
+
default: void 0
|
|
20
|
+
},
|
|
21
|
+
value: {
|
|
22
|
+
type: [String, Number, Boolean],
|
|
23
|
+
default: void 0
|
|
24
|
+
},
|
|
25
|
+
name: {
|
|
26
|
+
type: String,
|
|
27
|
+
default: void 0
|
|
28
|
+
}
|
|
29
|
+
}), Ne = R({
|
|
30
|
+
...ae,
|
|
31
|
+
border: Boolean
|
|
32
|
+
}), te = {
|
|
33
|
+
[F]: (o) => Z(o) || j(o) || K(o),
|
|
34
|
+
[N]: (o) => Z(o) || j(o) || K(o)
|
|
35
|
+
}, se = Symbol("radioGroupKey"), ie = (o, l) => {
|
|
36
|
+
const n = P(), d = ke(se, void 0), a = y(() => !!d), w = y(() => O(o.value) ? o.label : o.value), b = y({
|
|
37
|
+
get() {
|
|
38
|
+
return a.value ? d.modelValue : o.modelValue;
|
|
39
|
+
},
|
|
40
|
+
set(f) {
|
|
41
|
+
a.value ? d.changeEvent(f) : l && l(F, f), n.value.checked = o.modelValue === w.value;
|
|
42
|
+
}
|
|
43
|
+
}), t = pe(y(() => d?.size)), r = ce(y(() => d?.disabled)), _ = P(!1), g = y(() => r.value || a.value && b.value !== w.value ? -1 : 0);
|
|
44
|
+
return Pe(
|
|
45
|
+
{
|
|
46
|
+
from: "label act as value",
|
|
47
|
+
replacement: "value",
|
|
48
|
+
version: "3.0.0",
|
|
49
|
+
scope: "el-radio",
|
|
50
|
+
ref: "https://element-plus.org/en-US/component/radio.html"
|
|
51
|
+
},
|
|
52
|
+
y(() => a.value && O(o.value))
|
|
53
|
+
), {
|
|
54
|
+
radioRef: n,
|
|
55
|
+
isGroup: a,
|
|
56
|
+
radioGroup: d,
|
|
57
|
+
focus: _,
|
|
58
|
+
size: t,
|
|
59
|
+
disabled: r,
|
|
60
|
+
tabIndex: g,
|
|
61
|
+
modelValue: b,
|
|
62
|
+
actualValue: w
|
|
63
|
+
};
|
|
64
|
+
}, Fe = ["value", "name", "disabled", "checked"], Ue = G({
|
|
65
|
+
name: "ElRadio",
|
|
66
|
+
__name: "radio",
|
|
67
|
+
props: Ne,
|
|
68
|
+
emits: te,
|
|
69
|
+
setup(o, { emit: l }) {
|
|
70
|
+
const n = o, d = l, a = H("radio"), { radioRef: w, radioGroup: b, focus: t, size: r, disabled: _, modelValue: g, actualValue: f } = ie(n, d);
|
|
71
|
+
function m() {
|
|
72
|
+
oe(() => d(N, g.value));
|
|
73
|
+
}
|
|
74
|
+
return (C, p) => {
|
|
75
|
+
var s;
|
|
76
|
+
return c(), k(
|
|
77
|
+
"label",
|
|
78
|
+
{
|
|
79
|
+
class: z([
|
|
80
|
+
e(a).b(),
|
|
81
|
+
e(a).is("disabled", e(_)),
|
|
82
|
+
e(a).is("focus", e(t)),
|
|
83
|
+
e(a).is("bordered", C.border),
|
|
84
|
+
e(a).is("checked", e(g) === e(f)),
|
|
85
|
+
e(a).m(e(r))
|
|
86
|
+
])
|
|
87
|
+
},
|
|
88
|
+
[
|
|
89
|
+
u(
|
|
90
|
+
"span",
|
|
91
|
+
{
|
|
92
|
+
class: z([
|
|
93
|
+
e(a).e("input"),
|
|
94
|
+
e(a).is("disabled", e(_)),
|
|
95
|
+
e(a).is("checked", e(g) === e(f))
|
|
96
|
+
])
|
|
97
|
+
},
|
|
98
|
+
[
|
|
99
|
+
Q(u("input", {
|
|
100
|
+
ref_key: "radioRef",
|
|
101
|
+
ref: w,
|
|
102
|
+
"onUpdate:modelValue": p[0] || (p[0] = (h) => X(g) ? g.value = h : null),
|
|
103
|
+
class: z(e(a).e("original")),
|
|
104
|
+
value: e(f),
|
|
105
|
+
name: C.name || ((s = e(b)) == null ? void 0 : s.name),
|
|
106
|
+
disabled: e(_),
|
|
107
|
+
checked: e(g) === e(f),
|
|
108
|
+
type: "radio",
|
|
109
|
+
onFocus: p[1] || (p[1] = (h) => t.value = !0),
|
|
110
|
+
onBlur: p[2] || (p[2] = (h) => t.value = !1),
|
|
111
|
+
onChange: m,
|
|
112
|
+
onClick: p[3] || (p[3] = A(() => {
|
|
113
|
+
}, ["stop"]))
|
|
114
|
+
}, null, 42, Fe), [
|
|
115
|
+
[Y, e(g)]
|
|
116
|
+
]),
|
|
117
|
+
u(
|
|
118
|
+
"span",
|
|
119
|
+
{
|
|
120
|
+
class: z(e(a).e("inner"))
|
|
121
|
+
},
|
|
122
|
+
null,
|
|
123
|
+
2
|
|
124
|
+
)
|
|
125
|
+
],
|
|
126
|
+
2
|
|
127
|
+
),
|
|
128
|
+
u(
|
|
129
|
+
"span",
|
|
130
|
+
{
|
|
131
|
+
class: z(e(a).e("label")),
|
|
132
|
+
onKeydown: p[4] || (p[4] = A(() => {
|
|
133
|
+
}, ["stop"]))
|
|
134
|
+
},
|
|
135
|
+
[
|
|
136
|
+
D(C.$slots, "default", {}, () => [
|
|
137
|
+
T(
|
|
138
|
+
ee(C.label),
|
|
139
|
+
1
|
|
140
|
+
)
|
|
141
|
+
])
|
|
142
|
+
],
|
|
143
|
+
34
|
|
144
|
+
)
|
|
145
|
+
],
|
|
146
|
+
2
|
|
147
|
+
);
|
|
148
|
+
};
|
|
149
|
+
}
|
|
150
|
+
});
|
|
151
|
+
var de = /* @__PURE__ */ U(Ue, [["__file", "/home/runner/work/element-plus/element-plus/packages/components/radio/src/radio.vue"]]);
|
|
152
|
+
const He = R({
|
|
153
|
+
...ae
|
|
154
|
+
}), De = ["value", "name", "disabled"], Te = G({
|
|
155
|
+
name: "ElRadioButton",
|
|
156
|
+
__name: "radio-button",
|
|
157
|
+
props: He,
|
|
158
|
+
setup(o) {
|
|
159
|
+
const l = o, n = H("radio"), { radioRef: d, focus: a, size: w, disabled: b, modelValue: t, radioGroup: r, actualValue: _ } = ie(l), g = y(() => ({
|
|
160
|
+
backgroundColor: r?.fill || "",
|
|
161
|
+
borderColor: r?.fill || "",
|
|
162
|
+
boxShadow: r?.fill ? `-1px 0 0 0 ${r.fill}` : "",
|
|
163
|
+
color: r?.textColor || ""
|
|
164
|
+
}));
|
|
165
|
+
return (f, m) => {
|
|
166
|
+
var C;
|
|
167
|
+
return c(), k(
|
|
168
|
+
"label",
|
|
169
|
+
{
|
|
170
|
+
class: z([
|
|
171
|
+
e(n).b("button"),
|
|
172
|
+
e(n).is("active", e(t) === e(_)),
|
|
173
|
+
e(n).is("disabled", e(b)),
|
|
174
|
+
e(n).is("focus", e(a)),
|
|
175
|
+
e(n).bm("button", e(w))
|
|
176
|
+
])
|
|
177
|
+
},
|
|
178
|
+
[
|
|
179
|
+
Q(u("input", {
|
|
180
|
+
ref_key: "radioRef",
|
|
181
|
+
ref: d,
|
|
182
|
+
"onUpdate:modelValue": m[0] || (m[0] = (p) => X(t) ? t.value = p : null),
|
|
183
|
+
class: z(e(n).be("button", "original-radio")),
|
|
184
|
+
value: e(_),
|
|
185
|
+
type: "radio",
|
|
186
|
+
name: f.name || ((C = e(r)) == null ? void 0 : C.name),
|
|
187
|
+
disabled: e(b),
|
|
188
|
+
onFocus: m[1] || (m[1] = (p) => a.value = !0),
|
|
189
|
+
onBlur: m[2] || (m[2] = (p) => a.value = !1),
|
|
190
|
+
onClick: m[3] || (m[3] = A(() => {
|
|
191
|
+
}, ["stop"]))
|
|
192
|
+
}, null, 42, De), [
|
|
193
|
+
[Y, e(t)]
|
|
194
|
+
]),
|
|
195
|
+
u(
|
|
196
|
+
"span",
|
|
197
|
+
{
|
|
198
|
+
class: z(e(n).be("button", "inner")),
|
|
199
|
+
style: Se(e(t) === e(_) ? g.value : {}),
|
|
200
|
+
onKeydown: m[4] || (m[4] = A(() => {
|
|
201
|
+
}, ["stop"]))
|
|
202
|
+
},
|
|
203
|
+
[
|
|
204
|
+
D(f.$slots, "default", {}, () => [
|
|
205
|
+
T(
|
|
206
|
+
ee(f.label),
|
|
207
|
+
1
|
|
208
|
+
)
|
|
209
|
+
])
|
|
210
|
+
],
|
|
211
|
+
38
|
|
212
|
+
)
|
|
213
|
+
],
|
|
214
|
+
2
|
|
215
|
+
);
|
|
216
|
+
};
|
|
217
|
+
}
|
|
218
|
+
});
|
|
219
|
+
var x = /* @__PURE__ */ U(Te, [["__file", "/home/runner/work/element-plus/element-plus/packages/components/radio/src/radio-button.vue"]]);
|
|
220
|
+
const xe = R({
|
|
221
|
+
id: {
|
|
222
|
+
type: String,
|
|
223
|
+
default: void 0
|
|
224
|
+
},
|
|
225
|
+
size: q,
|
|
226
|
+
disabled: {
|
|
227
|
+
type: Boolean,
|
|
228
|
+
default: void 0
|
|
229
|
+
},
|
|
230
|
+
modelValue: {
|
|
231
|
+
type: [String, Number, Boolean],
|
|
232
|
+
default: void 0
|
|
233
|
+
},
|
|
234
|
+
fill: {
|
|
235
|
+
type: String,
|
|
236
|
+
default: ""
|
|
237
|
+
},
|
|
238
|
+
textColor: {
|
|
239
|
+
type: String,
|
|
240
|
+
default: ""
|
|
241
|
+
},
|
|
242
|
+
name: {
|
|
243
|
+
type: String,
|
|
244
|
+
default: void 0
|
|
245
|
+
},
|
|
246
|
+
validateEvent: {
|
|
247
|
+
type: Boolean,
|
|
248
|
+
default: !0
|
|
249
|
+
},
|
|
250
|
+
options: {
|
|
251
|
+
type: W(Array)
|
|
252
|
+
},
|
|
253
|
+
props: {
|
|
254
|
+
type: W(Object),
|
|
255
|
+
default: () => re
|
|
256
|
+
},
|
|
257
|
+
type: {
|
|
258
|
+
type: String,
|
|
259
|
+
values: ["radio", "button"],
|
|
260
|
+
default: "radio"
|
|
261
|
+
},
|
|
262
|
+
...me(["ariaLabel"])
|
|
263
|
+
}), Ze = te, re = {
|
|
264
|
+
label: "label",
|
|
265
|
+
value: "value",
|
|
266
|
+
disabled: "disabled"
|
|
267
|
+
}, je = ["id", "aria-label", "aria-labelledby"], Ke = G({
|
|
268
|
+
name: "ElRadioGroup",
|
|
269
|
+
__name: "radio-group",
|
|
270
|
+
props: xe,
|
|
271
|
+
emits: Ze,
|
|
272
|
+
setup(o, { emit: l }) {
|
|
273
|
+
const n = o, d = l, a = H("radio"), w = ge(), b = P(), { formItem: t } = fe(), { inputId: r, isLabeledByFormItem: _ } = ve(n, {
|
|
274
|
+
formItemContext: t
|
|
275
|
+
}), g = (s) => {
|
|
276
|
+
d(F, s), oe(() => d(N, s));
|
|
277
|
+
};
|
|
278
|
+
ze(() => {
|
|
279
|
+
const s = b.value.querySelectorAll("[type=radio]"), h = s[0];
|
|
280
|
+
!Array.from(s).some((I) => I.checked) && h && (h.tabIndex = 0);
|
|
281
|
+
});
|
|
282
|
+
const f = y(() => n.name || w.value), m = y(() => ({
|
|
283
|
+
...re,
|
|
284
|
+
...n.props
|
|
285
|
+
})), C = (s) => {
|
|
286
|
+
const { label: h, value: I, disabled: B } = m.value, L = {
|
|
287
|
+
label: s[h],
|
|
288
|
+
value: s[I],
|
|
289
|
+
disabled: s[B]
|
|
290
|
+
};
|
|
291
|
+
return { ...he(s, [h, I, B]), ...L };
|
|
292
|
+
}, p = y(
|
|
293
|
+
() => n.type === "button" ? x : de
|
|
294
|
+
);
|
|
295
|
+
return $e(
|
|
296
|
+
se,
|
|
297
|
+
Be({
|
|
298
|
+
...Ee(n),
|
|
299
|
+
changeEvent: g,
|
|
300
|
+
name: f
|
|
301
|
+
})
|
|
302
|
+
), Me(
|
|
303
|
+
() => n.modelValue,
|
|
304
|
+
(s, h) => {
|
|
305
|
+
n.validateEvent && !be(s, h) && t?.validate("change").catch((I) => _e(I));
|
|
306
|
+
}
|
|
307
|
+
), (s, h) => (c(), k("div", {
|
|
308
|
+
id: e(r),
|
|
309
|
+
ref_key: "radioGroupRef",
|
|
310
|
+
ref: b,
|
|
311
|
+
class: z(e(a).b("group")),
|
|
312
|
+
role: "radiogroup",
|
|
313
|
+
"aria-label": e(_) ? void 0 : s.ariaLabel || "radio-group",
|
|
314
|
+
"aria-labelledby": e(_) ? e(t).labelId : void 0
|
|
315
|
+
}, [
|
|
316
|
+
D(s.$slots, "default", {}, () => [
|
|
317
|
+
(c(!0), k(
|
|
318
|
+
le,
|
|
319
|
+
null,
|
|
320
|
+
ne(s.options, (I, B) => (c(), $(
|
|
321
|
+
Ae(p.value),
|
|
322
|
+
Re({ key: B }, { ref_for: !0 }, C(I)),
|
|
323
|
+
null,
|
|
324
|
+
16
|
|
325
|
+
))),
|
|
326
|
+
128
|
|
327
|
+
))
|
|
328
|
+
])
|
|
329
|
+
], 10, je));
|
|
330
|
+
}
|
|
331
|
+
});
|
|
332
|
+
var ue = /* @__PURE__ */ U(Ke, [["__file", "/home/runner/work/element-plus/element-plus/packages/components/radio/src/radio-group.vue"]]);
|
|
333
|
+
ye(de, {
|
|
334
|
+
RadioButton: x,
|
|
335
|
+
RadioGroup: ue
|
|
336
|
+
});
|
|
337
|
+
const Oe = J(ue), We = J(x), qe = {}, Je = {
|
|
338
|
+
t: "1640016074048",
|
|
339
|
+
class: "icon",
|
|
340
|
+
viewBox: "0 0 1024 1024",
|
|
341
|
+
version: "1.1",
|
|
342
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
343
|
+
"p-id": "3997",
|
|
344
|
+
width: "64",
|
|
345
|
+
height: "64"
|
|
346
|
+
};
|
|
347
|
+
function Qe(o, l) {
|
|
348
|
+
return c(), k("svg", Je, [...l[0] || (l[0] = [
|
|
349
|
+
u("path", {
|
|
350
|
+
d: "M299.87 512L512 299.87 724.13 512 512 724.13 299.87 512z m88.5975 3.75L515.75 643.025 643.025 515.75 515.75 388.475 388.475 515.75z m-225.2775-3.735l78.9825 78.9825L204.49999999 628.67 87.83 512 204.49999999 395.33l37.68750001 37.6875-78.9975 78.9975z m348.795 348.795L433.0025 781.8275 395.33 819.50000001 512 936.17 628.67 819.50000001l-37.6875-37.68750001-78.9975 78.9975zM512 163.205l78.9825 78.9825L628.67 204.49999999 512 87.83 395.33 204.49999999l37.6875 37.68750001L512 163.205zM860.795 512L781.8125 433.0175 819.50000001 395.33 936.17 512 819.50000001 628.67l-37.68750001-37.6875L860.795 512z",
|
|
351
|
+
"p-id": "3998"
|
|
352
|
+
}, null, -1)
|
|
353
|
+
])]);
|
|
354
|
+
}
|
|
355
|
+
const Xe = /* @__PURE__ */ M(qe, [["render", Qe]]), Ye = {}, e9 = {
|
|
356
|
+
t: "1640016146495",
|
|
357
|
+
class: "icon",
|
|
358
|
+
viewBox: "0 0 1024 1024",
|
|
359
|
+
version: "1.1",
|
|
360
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
361
|
+
"p-id": "3997",
|
|
362
|
+
width: "64",
|
|
363
|
+
height: "64"
|
|
364
|
+
};
|
|
365
|
+
function o9(o, l) {
|
|
366
|
+
return c(), k("svg", e9, [...l[0] || (l[0] = [
|
|
367
|
+
u("path", {
|
|
368
|
+
d: "M591.26635742 725.40942383l-52.23999023 52.23999022V604.77954102c0-12.77160645-10.29968262-23.07128906-23.07128907-23.07128907s-23.07128906 10.29968262-23.07128907 23.07128907v174.92980957l-52.23999022-52.23999024c-8.98132325-8.98132325-23.64807129-8.98132325-32.62939453 0-8.98132325 8.98132325-8.98132325 23.64807129 0 32.62939453l90.63720703 90.55480957c4.53186036 4.53186036 10.38208007 6.7565918 16.31469726 6.7565918s11.78283692-2.22473145 16.31469727-6.7565918l92.61474609-92.61474609c8.98132325-8.98132325 8.98132325-23.64807129 0-32.62939453-8.98132325-8.98132325-23.64807129-8.98132325-32.62939453 0zM422.92834471 306.58312988c5.93261719 0 11.78283692-2.22473145 16.31469728-6.75659179l52.23999024-52.23999023v179.46166991c0 12.77160645 10.29968262 23.07128906 23.07128906 23.07128907s23.07128906-10.29968262 23.07128907-23.07128906V245.60900878l52.23999023 52.23999025c8.98132325 8.98132325 23.64807129 8.98132325 32.62939452 0 8.98132325-8.98132325 8.98132325-23.64807129 0-32.62939453l-90.63720704-90.63720704c-4.36706543-4.36706543-10.21728516-6.7565918-16.31469725-6.7565918s-11.94763184 2.38952637-16.31469727 6.7565918L406.61364746 267.19714355c-8.98132325 8.98132325-8.98132325 23.64807129 1e-8 32.62939454 4.53186036 4.53186036 10.46447754 6.7565918 16.31469726 6.7565918z",
|
|
369
|
+
"p-id": "3998"
|
|
370
|
+
}, null, -1),
|
|
371
|
+
u("path", {
|
|
372
|
+
d: "M867.95703125 90.125H156.04296875C119.70568847 90.125 90.125 119.70568847 90.125 156.04296875v711.9140625c0 36.33728028 29.58068848 65.91796875 65.91796875 65.91796875h711.9140625c36.33728028 0 65.91796875-29.58068848 65.91796875-65.91796875V156.04296875c0-36.33728028-29.58068848-65.91796875-65.91796875-65.91796875z m26.3671875 777.83203125c0 14.50195313-11.86523438 26.3671875-26.3671875 26.3671875H156.04296875c-14.50195313 0-26.3671875-11.86523438-26.3671875-26.3671875V156.04296875c0-14.50195313 11.86523438-26.3671875 26.3671875-26.3671875h711.9140625c14.50195313 0 26.3671875 11.86523438 26.3671875 26.3671875v711.9140625z",
|
|
373
|
+
"p-id": "3999"
|
|
374
|
+
}, null, -1)
|
|
375
|
+
])]);
|
|
376
|
+
}
|
|
377
|
+
const l9 = /* @__PURE__ */ M(Ye, [["render", o9]]), n9 = {}, a9 = {
|
|
378
|
+
t: "1640016120189",
|
|
379
|
+
class: "icon",
|
|
380
|
+
viewBox: "0 0 1024 1024",
|
|
381
|
+
version: "1.1",
|
|
382
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
383
|
+
"p-id": "3997",
|
|
384
|
+
width: "64",
|
|
385
|
+
height: "64"
|
|
386
|
+
};
|
|
387
|
+
function t9(o, l) {
|
|
388
|
+
return c(), k("svg", a9, [...l[0] || (l[0] = [
|
|
389
|
+
u("path", {
|
|
390
|
+
d: "M758.03881836 403.40014647c-8.98132325-8.98132325-23.64807129-8.98132325-32.62939453 2e-8-8.98132325 8.98132325-8.98132325 23.64807129 0 32.62939453l52.23999022 52.23999023H604.77954102c-12.77160645 0-23.07128906 10.29968262-23.07128907 23.07128906s10.29968262 23.07128906 23.07128907 23.07128906h174.92980957l-52.23999024 52.23999024c-8.98132325 8.98132325-8.98132325 23.64807129 0 32.62939453 4.53186036 4.53186036 10.38208007 6.7565918 16.31469726 6.7565918s11.78283692-2.22473145 16.31469727-6.7565918l90.55480957-90.63720703c8.98132325-8.98132325 8.98132325-23.64807129 0-32.62939453L758.03881836 403.40014647zM420.45642089 489.67028809H245.60900878l52.23999025-52.23999022c8.98132325-8.98132325 8.98132325-23.64807129 0-32.62939454-8.98132325-8.98132325-23.64807129-8.98132325-32.62939453 0l-90.63720704 90.63720702c-8.56933594 8.48693847-9.06372071 22.164917-1.23596191 31.31103515l79.43115234 92.61474609c4.53186036 5.35583498 11.04125977 8.07495117 17.55065918 8.07495118 5.35583498 0 10.62927247-1.81274414 14.99633789-5.52062988 9.64050293-8.32214356 10.79406739-22.82409669 2.47192382-32.54699707L241.90112305 535.89526367h178.4729004c12.77160645 0 23.07128906-10.29968262 23.07128905-23.07128906s-10.21728516-23.15368653-22.98889161-23.15368654z",
|
|
391
|
+
"p-id": "3998"
|
|
392
|
+
}, null, -1),
|
|
393
|
+
u("path", {
|
|
394
|
+
d: "M864.66113281 93.42089844H159.33886719C123.00158691 93.42089844 93.42089844 123.00158691 93.42089844 159.33886719v705.32226562c0 36.33728028 29.58068848 65.91796875 65.91796875 65.91796875h705.32226562c36.33728028 0 65.91796875-29.58068848 65.91796875-65.91796875V159.33886719c0-36.33728028-29.58068848-65.91796875-65.91796875-65.91796875z m26.3671875 771.24023437c0 14.50195313-11.86523438 26.3671875-26.3671875 26.3671875H159.33886719c-14.50195313 0-26.3671875-11.86523438-26.3671875-26.3671875V159.33886719c0-14.50195313 11.86523438-26.3671875 26.3671875-26.3671875h705.32226562c14.50195313 0 26.3671875 11.86523438 26.3671875 26.3671875v705.32226562z",
|
|
395
|
+
"p-id": "3999"
|
|
396
|
+
}, null, -1)
|
|
397
|
+
])]);
|
|
398
|
+
}
|
|
399
|
+
const s9 = /* @__PURE__ */ M(n9, [["render", t9]]), i9 = {}, d9 = {
|
|
400
|
+
t: "1639131648079",
|
|
401
|
+
class: "icon",
|
|
402
|
+
viewBox: "0 0 1024 1024",
|
|
403
|
+
version: "1.1",
|
|
404
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
405
|
+
"p-id": "3988",
|
|
406
|
+
width: "64",
|
|
407
|
+
height: "64"
|
|
408
|
+
};
|
|
409
|
+
function r9(o, l) {
|
|
410
|
+
return c(), k("svg", d9, [...l[0] || (l[0] = [
|
|
411
|
+
u("path", {
|
|
412
|
+
d: "M512 102.00000031C285.99999969 102.00000031 102.00000031 285.99999969 102.00000031 512S285.99999969 921.99999969 512 921.99999969 921.99999969 738.00000031 921.99999969 512 738.00000031 102.00000031 512 102.00000031zM861.99999969 512c0 79.99999969-28.00000031 154.00000031-73.99999969 214.00000031l-499.99999969-482.00000062c60-52.00000031 139.99999969-82.00000031 223.99999969-81.99999938 192 0 349.99999969 157.99999969 349.99999969 349.99999969z m-699.99999938 0c0-85.99999969 31.99999969-163.99999969 81.99999938-226.00000031l502.00000031 484.00000031c-61.99999969 55.99999969-144 91.99999969-235.99999969 91.99999969-190.00000031 0-348-157.99999969-348-349.99999969z",
|
|
413
|
+
"p-id": "3989"
|
|
414
|
+
}, null, -1)
|
|
415
|
+
])]);
|
|
416
|
+
}
|
|
417
|
+
const u9 = /* @__PURE__ */ M(i9, [["render", r9]]), p9 = window.ikBasicsUrl, c9 = G({
|
|
418
|
+
name: "PageConfig",
|
|
419
|
+
components: {
|
|
420
|
+
IconFullscreen: Ge,
|
|
421
|
+
IconAdaptAuto: Xe,
|
|
422
|
+
IconAdaptWidth: s9,
|
|
423
|
+
IconAdaptHeight: l9,
|
|
424
|
+
IconStop: u9
|
|
425
|
+
},
|
|
426
|
+
setup() {
|
|
427
|
+
const o = Le(), l = we(), n = y(() => l.pageConfig);
|
|
428
|
+
n.value.bgimage || (n.value.bgimage = "");
|
|
429
|
+
const d = [
|
|
430
|
+
{ value: E.auto, label: "全屏铺满" },
|
|
431
|
+
{ value: E.width, label: "等比缩放宽度铺满" },
|
|
432
|
+
{ value: E.height, label: "等比缩放高度铺满" },
|
|
433
|
+
{ value: E.full, label: "等比缩放高度铺满(可滚动)" },
|
|
434
|
+
{ value: E.disabled, label: "不缩放" }
|
|
435
|
+
];
|
|
436
|
+
return {
|
|
437
|
+
ZoomMode: E,
|
|
438
|
+
pageConfig: n,
|
|
439
|
+
zoomModes: d,
|
|
440
|
+
resetBGImage: () => {
|
|
441
|
+
n.value.bgimage = `${p9}/datav/bj.png`;
|
|
442
|
+
},
|
|
443
|
+
onSizeChange: () => {
|
|
444
|
+
l.autoCanvasScale(() => o.getPanelOffset);
|
|
445
|
+
}
|
|
446
|
+
};
|
|
447
|
+
}
|
|
448
|
+
}), m9 = { class: "config-manager-page" }, g9 = { class: "config-manager-body" }, f9 = { class: "page-config" }, v9 = { class: "page-config-wp" }, b9 = { class: "page-config-wp" }, _9 = { style: { display: "flex", "align-items": "center" } };
|
|
449
|
+
function h9(o, l, n, d, a, w) {
|
|
450
|
+
const b = S("g-input-number"), t = S("g-field"), r = S("g-color-picker"), _ = S("g-upload-image"), g = Ie, f = S("IconAdaptAuto"), m = S("IconAdaptWidth"), C = S("IconAdaptHeight"), p = S("IconFullscreen"), s = S("IconStop"), h = Ve, I = Ce, B = We, L = Oe;
|
|
451
|
+
return c(), k("div", m9, [
|
|
452
|
+
l[7] || (l[7] = u("div", { class: "config-manager-head" }, [
|
|
453
|
+
u("p", null, "页面配置")
|
|
454
|
+
], -1)),
|
|
455
|
+
u("div", g9, [
|
|
456
|
+
u("div", f9, [
|
|
457
|
+
u("div", v9, [
|
|
458
|
+
v(t, {
|
|
459
|
+
label: "屏幕大小",
|
|
460
|
+
"is-flat": !0
|
|
461
|
+
}, {
|
|
462
|
+
default: V(() => [
|
|
463
|
+
v(b, {
|
|
464
|
+
modelValue: o.pageConfig.width,
|
|
465
|
+
"onUpdate:modelValue": l[0] || (l[0] = (i) => o.pageConfig.width = i),
|
|
466
|
+
label: "宽度",
|
|
467
|
+
min: 100,
|
|
468
|
+
max: 2e4,
|
|
469
|
+
inline: "",
|
|
470
|
+
onChange: o.onSizeChange
|
|
471
|
+
}, null, 8, ["modelValue", "onChange"]),
|
|
472
|
+
v(b, {
|
|
473
|
+
modelValue: o.pageConfig.height,
|
|
474
|
+
"onUpdate:modelValue": l[1] || (l[1] = (i) => o.pageConfig.height = i),
|
|
475
|
+
label: "高度",
|
|
476
|
+
min: 100,
|
|
477
|
+
max: 2e4,
|
|
478
|
+
inline: "",
|
|
479
|
+
onChange: o.onSizeChange
|
|
480
|
+
}, null, 8, ["modelValue", "onChange"])
|
|
481
|
+
]),
|
|
482
|
+
_: 1
|
|
483
|
+
}),
|
|
484
|
+
v(t, { label: "背景颜色" }, {
|
|
485
|
+
default: V(() => [
|
|
486
|
+
v(r, {
|
|
487
|
+
modelValue: o.pageConfig.bgcolor,
|
|
488
|
+
"onUpdate:modelValue": l[2] || (l[2] = (i) => o.pageConfig.bgcolor = i)
|
|
489
|
+
}, null, 8, ["modelValue"])
|
|
490
|
+
]),
|
|
491
|
+
_: 1
|
|
492
|
+
}),
|
|
493
|
+
v(t, { label: "背景图" }, {
|
|
494
|
+
default: V(() => [
|
|
495
|
+
v(_, {
|
|
496
|
+
modelValue: o.pageConfig.bgimage,
|
|
497
|
+
"onUpdate:modelValue": l[3] || (l[3] = (i) => o.pageConfig.bgimage = i)
|
|
498
|
+
}, null, 8, ["modelValue"])
|
|
499
|
+
]),
|
|
500
|
+
_: 1
|
|
501
|
+
}),
|
|
502
|
+
v(t, { label: "重置" }, {
|
|
503
|
+
default: V(() => [
|
|
504
|
+
v(g, {
|
|
505
|
+
size: "small",
|
|
506
|
+
style: { width: "100%" },
|
|
507
|
+
onClick: o.resetBGImage
|
|
508
|
+
}, {
|
|
509
|
+
default: V(() => [...l[6] || (l[6] = [
|
|
510
|
+
T(" 恢复默认背景 ", -1)
|
|
511
|
+
])]),
|
|
512
|
+
_: 1
|
|
513
|
+
}, 8, ["onClick"])
|
|
514
|
+
]),
|
|
515
|
+
_: 1
|
|
516
|
+
})
|
|
517
|
+
]),
|
|
518
|
+
u("div", b9, [
|
|
519
|
+
v(t, { label: "页面缩放方式" }, {
|
|
520
|
+
default: V(() => [
|
|
521
|
+
v(L, {
|
|
522
|
+
modelValue: o.pageConfig.zoomMode,
|
|
523
|
+
"onUpdate:modelValue": l[4] || (l[4] = (i) => o.pageConfig.zoomMode = i),
|
|
524
|
+
name: "zoomMode",
|
|
525
|
+
size: "small"
|
|
526
|
+
}, {
|
|
527
|
+
default: V(() => [
|
|
528
|
+
(c(!0), k(le, null, ne(o.zoomModes, (i) => (c(), $(B, {
|
|
529
|
+
key: i.value,
|
|
530
|
+
label: i.label,
|
|
531
|
+
value: i.value
|
|
532
|
+
}, {
|
|
533
|
+
default: V(() => [
|
|
534
|
+
v(I, {
|
|
535
|
+
content: i.label,
|
|
536
|
+
placement: "top"
|
|
537
|
+
}, {
|
|
538
|
+
default: V(() => [
|
|
539
|
+
u("span", _9, [
|
|
540
|
+
v(h, null, {
|
|
541
|
+
default: V(() => [
|
|
542
|
+
i.value === o.ZoomMode.auto ? (c(), $(f, { key: 0 })) : i.value === o.ZoomMode.width ? (c(), $(m, { key: 1 })) : i.value === o.ZoomMode.height ? (c(), $(C, { key: 2 })) : i.value === o.ZoomMode.full ? (c(), $(p, { key: 3 })) : (c(), $(s, { key: 4 }))
|
|
543
|
+
]),
|
|
544
|
+
_: 2
|
|
545
|
+
}, 1024)
|
|
546
|
+
])
|
|
547
|
+
]),
|
|
548
|
+
_: 2
|
|
549
|
+
}, 1032, ["content"])
|
|
550
|
+
]),
|
|
551
|
+
_: 2
|
|
552
|
+
}, 1032, ["label", "value"]))), 128))
|
|
553
|
+
]),
|
|
554
|
+
_: 1
|
|
555
|
+
}, 8, ["modelValue"])
|
|
556
|
+
]),
|
|
557
|
+
_: 1
|
|
558
|
+
}),
|
|
559
|
+
v(t, {
|
|
560
|
+
label: "栅格间距",
|
|
561
|
+
tooltip: "每次移动的距离,单位px"
|
|
562
|
+
}, {
|
|
563
|
+
default: V(() => [
|
|
564
|
+
v(b, {
|
|
565
|
+
modelValue: o.pageConfig.grid,
|
|
566
|
+
"onUpdate:modelValue": l[5] || (l[5] = (i) => o.pageConfig.grid = i),
|
|
567
|
+
min: 1,
|
|
568
|
+
max: 20,
|
|
569
|
+
suffix: "px"
|
|
570
|
+
}, null, 8, ["modelValue"])
|
|
571
|
+
]),
|
|
572
|
+
_: 1
|
|
573
|
+
})
|
|
574
|
+
])
|
|
575
|
+
])
|
|
576
|
+
])
|
|
577
|
+
]);
|
|
578
|
+
}
|
|
579
|
+
const S9 = /* @__PURE__ */ M(c9, [["render", h9], ["__scopeId", "data-v-eec82558"]]);
|
|
580
|
+
export {
|
|
581
|
+
S9 as default
|
|
582
|
+
};
|