bp-aicc-editor 1.2.521 → 1.2.523
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 → ScreenPreview-yUHo60be.js} +51 -105
- package/lib/atlas-BMjKIOwk.js +3891 -0
- package/lib/{button-base-DHNVBrQ9.js → button-base-CXl1z-_m.js} +1 -1
- package/lib/{cache-lsjsKZHu.js → cache-DbHSDjJy.js} +1 -1
- package/lib/config-provider-Bui8m4GV.js +62 -0
- package/lib/{container-group-DqAcKEBy.js → container-group-D6Extorz.js} +1 -1
- package/lib/{copy-C5Pi6nJh.js → copy-CsCmPy4J.js} +1 -1
- package/lib/{datav-BER95ty-.js → datav-BTD-HJhV.js} +27 -27
- package/lib/{delete-C2EW4JCs.js → delete-COj0ilHh.js} +1 -1
- package/lib/{divider-BazBGRgV.js → divider-B3K_URZc.js} +1 -1
- package/lib/dropdown-CWvnuJsO.js +105 -0
- package/lib/{edit-B2pfd2q1.js → edit-vdJaEine.js} +1 -1
- package/lib/{el-form-item-BDdxk5F5.js → el-form-item-BbaNohQv.js} +51 -51
- package/lib/{el-link-D2ol9BHQ.js → el-link-Dq721Q7-.js} +12 -12
- package/lib/{el-loading-Cgwgez55.js → el-loading-DOxnN3bm.js} +17 -17
- package/lib/{fullscreen-OChDsSnk.js → fullscreen-DXSogbcG.js} +1 -1
- package/lib/{image-C5ZAY3yt.js → image-Cu7JTK9-.js} +1 -1
- package/lib/{index-Ci8AbyIq.js → index-68soBnbK.js} +8 -8
- package/lib/{index-BatyRVpL.js → index-B-d8WIg1.js} +7 -7
- package/lib/{index-BfIEunKC.js → index-B4zV3cxV.js} +18 -17
- package/lib/{index-CZJriuFt.js → index-B8QqTLfg.js} +4974 -4898
- package/lib/index-BBMItxtW.js +619 -0
- package/lib/{index-CGrR_i0u.js → index-BMm0MRz5.js} +14 -15
- package/lib/index-BMn8EzMD.js +1027 -0
- package/lib/index-BNTW8F-9.js +322 -0
- package/lib/index-BTI518b1.js +69 -0
- package/lib/{index-BWPVi43E.js → index-BZxUAT4z.js} +4 -4
- package/lib/{index-Ck7uFsPE.js → index-BdYTc41r.js} +24 -24
- package/lib/index-BfI55Ioc.js +404 -0
- package/lib/{index-BhP9eBCp.js → index-BmAcetSf.js} +19 -20
- package/lib/index-C35Yp3i8.js +545 -0
- package/lib/{index-B19lEYui.js → index-C6GUNRx9.js} +2 -2
- package/lib/index-CC28_8Jl.js +567 -0
- package/lib/index-CDhmvVt8.js +338 -0
- package/lib/index-CDx0y0fp.js +144 -0
- package/lib/{el-button-DvLKp6Ga.js → index-CJjljoJG.js} +106 -106
- package/lib/index-CNCgXPiO.js +235 -0
- package/lib/{index-CWbZmzNT.js → index-CPa_MnOD.js} +30 -29
- package/lib/index-CW6ljdNf.js +1582 -0
- package/lib/index-C_WopEui.js +513 -0
- package/lib/{index-CX_Ghcb6.js → index-CejowjGd.js} +56 -53
- package/lib/{index-BwCQWH-N.js → index-CfZXOvi-.js} +42 -40
- package/lib/{index-CVsy2qTh.js → index-CgzRTmPh.js} +16 -15
- package/lib/index-CmzuNM9v.js +32 -0
- package/lib/index-CrxcAFt8.js +5343 -0
- package/lib/{index-C7k49L2T.js → index-CuHA7QXu.js} +10 -10
- package/lib/{index-qVyixI57.js → index-CyBGAB7D.js} +21 -20
- package/lib/index-D6J7coU0.js +129 -0
- package/lib/index-DDHxrdAo.js +1773 -0
- package/lib/index-DDL-yqq0.js +1401 -0
- package/lib/{index-BPcvYtHf.js → index-DOxy-bey.js} +6 -6
- package/lib/{index-CVE37oE7.js → index-DOyr0BHr.js} +7 -7
- package/lib/index-DPOanmXI.js +887 -0
- package/lib/{index-3pzVrvby.js → index-DR_husZg.js} +46 -46
- package/lib/{el-tab-pane-DD2eM9rB.js → index-DUzOCQrW.js} +125 -124
- package/lib/{index-CGFEhUh9.js → index-DVYI-g8Q.js} +53 -52
- package/lib/index-DVyjilLy.js +51 -0
- package/lib/{index-CJyYGViv.js → index-DWAJ9GyC.js} +9 -9
- package/lib/index-Dj2qCwPD.js +178 -0
- package/lib/{index-D4X0_jbv.js → index-Dx2Gld1J.js} +32 -32
- package/lib/{index-C2XeCqtq.js → index-E9T-y2Yz.js} +3 -3
- package/lib/{index-Buoc0ISP.js → index-FlmXAW0Z.js} +60 -58
- package/lib/index-NqqOvc6V.js +169 -0
- package/lib/{index-BkdiXCRY.js → index-ObKRNOmJ.js} +6 -7
- package/lib/index-bOWjoplU.js +448 -0
- package/lib/{index-CXQ258ID.js → index-buU8mDzi.js} +15 -16
- package/lib/{index-tbhuYbb0.js → index-mGKAWDJZ.js} +11 -12
- package/lib/index.es.js +4 -4
- package/lib/index.umd.js +46 -40
- package/lib/{layer-setting-panel-VvDSQ-cn.js → layer-setting-panel-BGPj32nP.js} +2 -2
- package/lib/{line-show-Bp4G-LqO.js → line-show-DUn1bu_P.js} +1 -1
- package/lib/{multi-layout-config-drSy7ezf.js → multi-layout-config-BTWxJeuc.js} +7 -8
- package/lib/{multiline-text-D89kYrA2.js → multiline-text-CPJdCWJ7.js} +1 -1
- package/lib/{navigation-YAGxZ0OT.js → navigation-ZLJaBOUj.js} +1 -1
- package/lib/page-config-CHP07Ndf.js +253 -0
- package/lib/{page-tabs-wFeNBY4c.js → page-tabs-CKLhgrip.js} +45 -41
- package/lib/{plus-3mdO6yXY.js → plus-xgpQU22I.js} +1 -1
- package/lib/raf-CJog_tcv.js +6 -0
- package/lib/refs-DZMysoBI.js +8 -0
- package/lib/{requestOld-DRcjsmRQ.js → requestOld-CaGzCXrV.js} +97 -96
- package/lib/{schema-BsnIOGBI.js → schema-BaFWGeFt.js} +1 -1
- package/lib/{schema-_APJMUW3.js → schema-CUR-UK2S.js} +44 -41
- package/lib/{schema-BavJE-SK.js → schema-WUk7XVq7.js} +58 -54
- package/lib/{schema-qKI1F8Bt.js → schema-geZfujv8.js} +1 -1
- package/lib/{schema-BflqDw-a.js → schema-iosjRxCC.js} +1 -1
- package/lib/{schema-Bo30dbBx.js → schema-tuPllxn6.js} +1 -1
- package/lib/scroll-CWfl60Tu.js +58 -0
- package/lib/{setting-panel-BgzN3BUP.js → setting-panel-0qLcwYyT.js} +154 -151
- package/lib/{show-C4AeWlKj.js → show-BCwE3hGY.js} +1 -1
- package/lib/{stepper-D5EFeJWG.js → stepper-Bud1Jppr.js} +1 -1
- package/lib/strings-BvUQWzDM.js +6 -0
- package/lib/style.css +1 -1
- package/lib/{switch-B0dR4LM_.js → switch-VlaUmSpJ.js} +1 -1
- package/lib/{unlock-Cq9PLhBA.js → unlock-B2FVPQlm.js} +1 -1
- package/lib/{use-env-url-BM9dgwx_.js → use-env-url-D1p8ib2L.js} +1 -1
- package/lib/use-global-config-D_yoqf3Q.js +90 -0
- package/lib/validator-BOXH2OMA.js +5 -0
- package/lib/{vnode-B_Dj8zxu.js → vnode-Bxs1g06p.js} +1 -1
- package/package.json +1 -1
- package/lib/atlas-DsmLq2V0.js +0 -38
- package/lib/el-overlay-BK0_UIU6.js +0 -704
- package/lib/index-B1yAU2Cb.js +0 -390
- package/lib/index-BCFXuK7k.js +0 -68
- package/lib/index-BD4Jwo8Z.js +0 -449
- package/lib/index-BMWqf88L.js +0 -356
- package/lib/index-Belsn8kt.js +0 -107
- package/lib/index-CIADz1i0.js +0 -8494
- package/lib/index-DKTrbqcA.js +0 -56
- package/lib/index-Ge_d2xqD.js +0 -127
- package/lib/page-config-Cmsi8Vpr.js +0 -582
- package/lib/strings-_mHAdgA4.js +0 -6
- package/lib/use-global-config-CflpFoxU.js +0 -115
|
@@ -0,0 +1,322 @@
|
|
|
1
|
+
import { defineComponent as Q, computed as d, ref as X, shallowRef as Z, watch as M, onMounted as _, createElementBlock as u, openBlock as a, withModifiers as x, normalizeClass as v, createElementVNode as T, createCommentVNode as l, withKeys as ee, unref as i, renderSlot as h, createBlock as c, withCtx as f, resolveDynamicComponent as y, toDisplayString as w, normalizeStyle as ae, createVNode as ie, nextTick as te } from "vue";
|
|
2
|
+
import { ak as E, V as C, i as N, e as ne, bt as B, a0 as A, ah as $, bq as oe, f as le, Y as V, g as se, b2 as ce, at as re, h as ue, bl as ve, aC as de, v as fe, a5 as O, E as p, aS as pe, aj as L, al as me, w as he } from "./index-B8QqTLfg.js";
|
|
3
|
+
import { i as ye } from "./validator-BOXH2OMA.js";
|
|
4
|
+
const be = ne({
|
|
5
|
+
modelValue: {
|
|
6
|
+
type: [Boolean, String, Number],
|
|
7
|
+
default: !1
|
|
8
|
+
},
|
|
9
|
+
disabled: {
|
|
10
|
+
type: Boolean,
|
|
11
|
+
default: void 0
|
|
12
|
+
},
|
|
13
|
+
loading: Boolean,
|
|
14
|
+
size: {
|
|
15
|
+
type: String,
|
|
16
|
+
validator: ye
|
|
17
|
+
},
|
|
18
|
+
width: {
|
|
19
|
+
type: [String, Number],
|
|
20
|
+
default: ""
|
|
21
|
+
},
|
|
22
|
+
inlinePrompt: Boolean,
|
|
23
|
+
inactiveActionIcon: {
|
|
24
|
+
type: V
|
|
25
|
+
},
|
|
26
|
+
activeActionIcon: {
|
|
27
|
+
type: V
|
|
28
|
+
},
|
|
29
|
+
activeIcon: {
|
|
30
|
+
type: V
|
|
31
|
+
},
|
|
32
|
+
inactiveIcon: {
|
|
33
|
+
type: V
|
|
34
|
+
},
|
|
35
|
+
activeText: {
|
|
36
|
+
type: String,
|
|
37
|
+
default: ""
|
|
38
|
+
},
|
|
39
|
+
inactiveText: {
|
|
40
|
+
type: String,
|
|
41
|
+
default: ""
|
|
42
|
+
},
|
|
43
|
+
activeValue: {
|
|
44
|
+
type: [Boolean, String, Number],
|
|
45
|
+
default: !0
|
|
46
|
+
},
|
|
47
|
+
inactiveValue: {
|
|
48
|
+
type: [Boolean, String, Number],
|
|
49
|
+
default: !1
|
|
50
|
+
},
|
|
51
|
+
name: {
|
|
52
|
+
type: String,
|
|
53
|
+
default: ""
|
|
54
|
+
},
|
|
55
|
+
validateEvent: {
|
|
56
|
+
type: Boolean,
|
|
57
|
+
default: !0
|
|
58
|
+
},
|
|
59
|
+
beforeChange: {
|
|
60
|
+
type: le(Function)
|
|
61
|
+
},
|
|
62
|
+
id: String,
|
|
63
|
+
tabindex: {
|
|
64
|
+
type: [String, Number]
|
|
65
|
+
},
|
|
66
|
+
...oe(["ariaLabel"])
|
|
67
|
+
}), ke = {
|
|
68
|
+
[$]: (s) => E(s) || C(s) || N(s),
|
|
69
|
+
[A]: (s) => E(s) || C(s) || N(s),
|
|
70
|
+
[B]: (s) => E(s) || C(s) || N(s)
|
|
71
|
+
}, Ie = ["id", "aria-checked", "aria-disabled", "aria-label", "name", "true-value", "false-value", "disabled", "tabindex"], ge = ["aria-hidden"], we = { key: 1 }, Ve = { key: 1 }, Ee = ["aria-hidden"], P = "ElSwitch", Se = Q({
|
|
72
|
+
name: P,
|
|
73
|
+
__name: "switch",
|
|
74
|
+
props: be,
|
|
75
|
+
emits: ke,
|
|
76
|
+
setup(s, { expose: U, emit: R }) {
|
|
77
|
+
const n = s, m = R, { formItem: k } = ce(), j = re(), t = ue("switch"), { inputId: q } = ve(n, {
|
|
78
|
+
formItemContext: k
|
|
79
|
+
}), I = de(
|
|
80
|
+
d(() => {
|
|
81
|
+
if (n.loading)
|
|
82
|
+
return !0;
|
|
83
|
+
})
|
|
84
|
+
), z = X(n.modelValue !== !1), b = Z(), G = d(() => [
|
|
85
|
+
t.b(),
|
|
86
|
+
t.m(j.value),
|
|
87
|
+
t.is("disabled", I.value),
|
|
88
|
+
t.is("checked", o.value)
|
|
89
|
+
]), H = d(() => [
|
|
90
|
+
t.e("label"),
|
|
91
|
+
t.em("label", "left"),
|
|
92
|
+
t.is("active", !o.value)
|
|
93
|
+
]), W = d(() => [
|
|
94
|
+
t.e("label"),
|
|
95
|
+
t.em("label", "right"),
|
|
96
|
+
t.is("active", o.value)
|
|
97
|
+
]), Y = d(() => ({
|
|
98
|
+
width: fe(n.width)
|
|
99
|
+
}));
|
|
100
|
+
M(
|
|
101
|
+
() => n.modelValue,
|
|
102
|
+
() => {
|
|
103
|
+
z.value = !0;
|
|
104
|
+
}
|
|
105
|
+
);
|
|
106
|
+
const D = d(() => z.value ? n.modelValue : !1), o = d(() => D.value === n.activeValue);
|
|
107
|
+
[n.activeValue, n.inactiveValue].includes(D.value) || (m($, n.inactiveValue), m(A, n.inactiveValue), m(B, n.inactiveValue)), M(o, (e) => {
|
|
108
|
+
var r;
|
|
109
|
+
b.value.checked = e, n.validateEvent && ((r = k?.validate) == null || r.call(k, "change").catch((K) => O(K)));
|
|
110
|
+
});
|
|
111
|
+
const g = () => {
|
|
112
|
+
const e = o.value ? n.inactiveValue : n.activeValue;
|
|
113
|
+
m($, e), m(A, e), m(B, e), te(() => {
|
|
114
|
+
b.value.checked = o.value;
|
|
115
|
+
});
|
|
116
|
+
}, F = () => {
|
|
117
|
+
if (I.value)
|
|
118
|
+
return;
|
|
119
|
+
const { beforeChange: e } = n;
|
|
120
|
+
if (!e) {
|
|
121
|
+
g();
|
|
122
|
+
return;
|
|
123
|
+
}
|
|
124
|
+
const r = e();
|
|
125
|
+
[
|
|
126
|
+
L(r),
|
|
127
|
+
E(r)
|
|
128
|
+
].includes(!0) || me(
|
|
129
|
+
P,
|
|
130
|
+
"beforeChange must return type `Promise<boolean>` or `boolean`"
|
|
131
|
+
), L(r) ? r.then((S) => {
|
|
132
|
+
S && g();
|
|
133
|
+
}).catch((S) => {
|
|
134
|
+
O(P, `some error occurred: ${S}`);
|
|
135
|
+
}) : r && g();
|
|
136
|
+
}, J = () => {
|
|
137
|
+
var e, r;
|
|
138
|
+
(r = (e = b.value) == null ? void 0 : e.focus) == null || r.call(e);
|
|
139
|
+
};
|
|
140
|
+
return _(() => {
|
|
141
|
+
b.value.checked = o.value;
|
|
142
|
+
}), U({
|
|
143
|
+
focus: J,
|
|
144
|
+
checked: o
|
|
145
|
+
}), (e, r) => (a(), u(
|
|
146
|
+
"div",
|
|
147
|
+
{
|
|
148
|
+
class: v(G.value),
|
|
149
|
+
onClick: x(F, ["prevent"])
|
|
150
|
+
},
|
|
151
|
+
[
|
|
152
|
+
T("input", {
|
|
153
|
+
id: i(q),
|
|
154
|
+
ref_key: "input",
|
|
155
|
+
ref: b,
|
|
156
|
+
class: v(i(t).e("input")),
|
|
157
|
+
type: "checkbox",
|
|
158
|
+
role: "switch",
|
|
159
|
+
"aria-checked": o.value,
|
|
160
|
+
"aria-disabled": i(I),
|
|
161
|
+
"aria-label": e.ariaLabel,
|
|
162
|
+
name: e.name,
|
|
163
|
+
"true-value": e.activeValue,
|
|
164
|
+
"false-value": e.inactiveValue,
|
|
165
|
+
disabled: i(I),
|
|
166
|
+
tabindex: e.tabindex,
|
|
167
|
+
onChange: g,
|
|
168
|
+
onKeydown: ee(F, ["enter"])
|
|
169
|
+
}, null, 42, Ie),
|
|
170
|
+
!e.inlinePrompt && (e.inactiveIcon || e.inactiveText || e.$slots.inactive) ? (a(), u(
|
|
171
|
+
"span",
|
|
172
|
+
{
|
|
173
|
+
key: 0,
|
|
174
|
+
class: v(H.value)
|
|
175
|
+
},
|
|
176
|
+
[
|
|
177
|
+
h(e.$slots, "inactive", {}, () => [
|
|
178
|
+
e.inactiveIcon ? (a(), c(i(p), { key: 0 }, {
|
|
179
|
+
default: f(() => [
|
|
180
|
+
(a(), c(y(e.inactiveIcon)))
|
|
181
|
+
]),
|
|
182
|
+
_: 1
|
|
183
|
+
})) : l("v-if", !0),
|
|
184
|
+
!e.inactiveIcon && e.inactiveText ? (a(), u("span", {
|
|
185
|
+
key: 1,
|
|
186
|
+
"aria-hidden": o.value
|
|
187
|
+
}, w(e.inactiveText), 9, ge)) : l("v-if", !0)
|
|
188
|
+
])
|
|
189
|
+
],
|
|
190
|
+
2
|
|
191
|
+
)) : l("v-if", !0),
|
|
192
|
+
T(
|
|
193
|
+
"span",
|
|
194
|
+
{
|
|
195
|
+
class: v(i(t).e("core")),
|
|
196
|
+
style: ae(Y.value)
|
|
197
|
+
},
|
|
198
|
+
[
|
|
199
|
+
e.inlinePrompt ? (a(), u(
|
|
200
|
+
"div",
|
|
201
|
+
{
|
|
202
|
+
key: 0,
|
|
203
|
+
class: v(i(t).e("inner"))
|
|
204
|
+
},
|
|
205
|
+
[
|
|
206
|
+
o.value ? (a(), u(
|
|
207
|
+
"div",
|
|
208
|
+
{
|
|
209
|
+
key: 1,
|
|
210
|
+
class: v(i(t).e("inner-wrapper"))
|
|
211
|
+
},
|
|
212
|
+
[
|
|
213
|
+
h(e.$slots, "active", {}, () => [
|
|
214
|
+
e.activeIcon ? (a(), c(i(p), { key: 0 }, {
|
|
215
|
+
default: f(() => [
|
|
216
|
+
(a(), c(y(e.activeIcon)))
|
|
217
|
+
]),
|
|
218
|
+
_: 1
|
|
219
|
+
})) : l("v-if", !0),
|
|
220
|
+
!e.activeIcon && e.activeText ? (a(), u(
|
|
221
|
+
"span",
|
|
222
|
+
Ve,
|
|
223
|
+
w(e.activeText),
|
|
224
|
+
1
|
|
225
|
+
)) : l("v-if", !0)
|
|
226
|
+
])
|
|
227
|
+
],
|
|
228
|
+
2
|
|
229
|
+
)) : (a(), u(
|
|
230
|
+
"div",
|
|
231
|
+
{
|
|
232
|
+
key: 0,
|
|
233
|
+
class: v(i(t).e("inner-wrapper"))
|
|
234
|
+
},
|
|
235
|
+
[
|
|
236
|
+
h(e.$slots, "inactive", {}, () => [
|
|
237
|
+
e.inactiveIcon ? (a(), c(i(p), { key: 0 }, {
|
|
238
|
+
default: f(() => [
|
|
239
|
+
(a(), c(y(e.inactiveIcon)))
|
|
240
|
+
]),
|
|
241
|
+
_: 1
|
|
242
|
+
})) : l("v-if", !0),
|
|
243
|
+
!e.inactiveIcon && e.inactiveText ? (a(), u(
|
|
244
|
+
"span",
|
|
245
|
+
we,
|
|
246
|
+
w(e.inactiveText),
|
|
247
|
+
1
|
|
248
|
+
)) : l("v-if", !0)
|
|
249
|
+
])
|
|
250
|
+
],
|
|
251
|
+
2
|
|
252
|
+
))
|
|
253
|
+
],
|
|
254
|
+
2
|
|
255
|
+
)) : l("v-if", !0),
|
|
256
|
+
T(
|
|
257
|
+
"div",
|
|
258
|
+
{
|
|
259
|
+
class: v(i(t).e("action"))
|
|
260
|
+
},
|
|
261
|
+
[
|
|
262
|
+
e.loading ? (a(), c(i(p), {
|
|
263
|
+
key: 0,
|
|
264
|
+
class: v(i(t).is("loading"))
|
|
265
|
+
}, {
|
|
266
|
+
default: f(() => [
|
|
267
|
+
ie(i(pe))
|
|
268
|
+
]),
|
|
269
|
+
_: 1
|
|
270
|
+
}, 8, ["class"])) : o.value ? h(e.$slots, "active-action", { key: 1 }, () => [
|
|
271
|
+
e.activeActionIcon ? (a(), c(i(p), { key: 0 }, {
|
|
272
|
+
default: f(() => [
|
|
273
|
+
(a(), c(y(e.activeActionIcon)))
|
|
274
|
+
]),
|
|
275
|
+
_: 1
|
|
276
|
+
})) : l("v-if", !0)
|
|
277
|
+
]) : o.value ? l("v-if", !0) : h(e.$slots, "inactive-action", { key: 2 }, () => [
|
|
278
|
+
e.inactiveActionIcon ? (a(), c(i(p), { key: 0 }, {
|
|
279
|
+
default: f(() => [
|
|
280
|
+
(a(), c(y(e.inactiveActionIcon)))
|
|
281
|
+
]),
|
|
282
|
+
_: 1
|
|
283
|
+
})) : l("v-if", !0)
|
|
284
|
+
])
|
|
285
|
+
],
|
|
286
|
+
2
|
|
287
|
+
)
|
|
288
|
+
],
|
|
289
|
+
6
|
|
290
|
+
),
|
|
291
|
+
!e.inlinePrompt && (e.activeIcon || e.activeText || e.$slots.active) ? (a(), u(
|
|
292
|
+
"span",
|
|
293
|
+
{
|
|
294
|
+
key: 1,
|
|
295
|
+
class: v(W.value)
|
|
296
|
+
},
|
|
297
|
+
[
|
|
298
|
+
h(e.$slots, "active", {}, () => [
|
|
299
|
+
e.activeIcon ? (a(), c(i(p), { key: 0 }, {
|
|
300
|
+
default: f(() => [
|
|
301
|
+
(a(), c(y(e.activeIcon)))
|
|
302
|
+
]),
|
|
303
|
+
_: 1
|
|
304
|
+
})) : l("v-if", !0),
|
|
305
|
+
!e.activeIcon && e.activeText ? (a(), u("span", {
|
|
306
|
+
key: 1,
|
|
307
|
+
"aria-hidden": !o.value
|
|
308
|
+
}, w(e.activeText), 9, Ee)) : l("v-if", !0)
|
|
309
|
+
])
|
|
310
|
+
],
|
|
311
|
+
2
|
|
312
|
+
)) : l("v-if", !0)
|
|
313
|
+
],
|
|
314
|
+
2
|
|
315
|
+
));
|
|
316
|
+
}
|
|
317
|
+
});
|
|
318
|
+
var Te = /* @__PURE__ */ se(Se, [["__file", "/home/runner/work/element-plus/element-plus/packages/components/switch/src/switch.vue"]]);
|
|
319
|
+
const Be = he(Te);
|
|
320
|
+
export {
|
|
321
|
+
Be as E
|
|
322
|
+
};
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { l as a, a as b, bb as S, _ as P } from "./index-B8QqTLfg.js";
|
|
2
|
+
/* empty css */
|
|
3
|
+
import { defineComponent as v, computed as s, provide as h, ref as k, resolveComponent as l, createElementBlock as N, openBlock as t, normalizeClass as T, createElementVNode as L, createBlock as n, withCtx as c, createVNode as V, createTextVNode as E, toDisplayString as $ } from "vue";
|
|
4
|
+
import { u as j } from "./toolbar-Dhf_BVAU.js";
|
|
5
|
+
import { E as M, a as w } from "./index-DUzOCQrW.js";
|
|
6
|
+
const B = Symbol("comInjectionKey"), I = v({
|
|
7
|
+
name: "ConfigPanel",
|
|
8
|
+
components: {
|
|
9
|
+
PageConfig: a(() => import("./page-config-CHP07Ndf.js")),
|
|
10
|
+
MultiLayoutConfig: a(() => import("./multi-layout-config-BTWxJeuc.js")),
|
|
11
|
+
SettingPanel: a(() => import("./setting-panel-0qLcwYyT.js")),
|
|
12
|
+
LayerSettingPanel: a(() => import("./layer-setting-panel-BGPj32nP.js"))
|
|
13
|
+
},
|
|
14
|
+
setup() {
|
|
15
|
+
const e = j(), o = b(), i = s(() => e.config.show), m = s(() => o.selectedComs.length), r = s(() => o.selectedSubCom || o.selectedCom);
|
|
16
|
+
return h(B, r), {
|
|
17
|
+
activeName: k("config"),
|
|
18
|
+
ComType: S,
|
|
19
|
+
visiblePanel: i,
|
|
20
|
+
currCom: r,
|
|
21
|
+
selectedCount: m
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
}), z = { class: "config-manager" };
|
|
25
|
+
function K(e, o, i, m, r, p) {
|
|
26
|
+
const d = l("LayerSettingPanel"), u = l("SettingPanel"), f = w, g = M, C = l("MultiLayoutConfig"), y = l("PageConfig");
|
|
27
|
+
return t(), N("div", {
|
|
28
|
+
class: T(["g-aside config-panel-wp", [{ "--hide": !e.visiblePanel }]])
|
|
29
|
+
}, [
|
|
30
|
+
L("div", z, [
|
|
31
|
+
e.currCom && e.currCom.type === e.ComType.layer ? (t(), n(d, { key: 0 })) : e.currCom ? (t(), n(g, {
|
|
32
|
+
key: 1,
|
|
33
|
+
modelValue: e.activeName,
|
|
34
|
+
"onUpdate:modelValue": o[0] || (o[0] = (_) => e.activeName = _),
|
|
35
|
+
type: "border-card",
|
|
36
|
+
style: { height: "100%" }
|
|
37
|
+
}, {
|
|
38
|
+
default: c(() => [
|
|
39
|
+
V(f, {
|
|
40
|
+
name: "config",
|
|
41
|
+
style: { height: "100%" }
|
|
42
|
+
}, {
|
|
43
|
+
label: c(() => [
|
|
44
|
+
E($(e.currCom.alias), 1)
|
|
45
|
+
]),
|
|
46
|
+
default: c(() => [
|
|
47
|
+
(t(), n(u, {
|
|
48
|
+
key: e.currCom.id
|
|
49
|
+
}))
|
|
50
|
+
]),
|
|
51
|
+
_: 1
|
|
52
|
+
})
|
|
53
|
+
]),
|
|
54
|
+
_: 1
|
|
55
|
+
}, 8, ["modelValue"])) : e.selectedCount > 1 ? (t(), n(C, {
|
|
56
|
+
key: 2,
|
|
57
|
+
"selected-count": e.selectedCount
|
|
58
|
+
}, null, 8, ["selected-count"])) : (t(), n(y, { key: 3 }))
|
|
59
|
+
])
|
|
60
|
+
], 2);
|
|
61
|
+
}
|
|
62
|
+
const O = /* @__PURE__ */ P(I, [["render", K], ["__scopeId", "data-v-edf3f863"]]), G = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
63
|
+
__proto__: null,
|
|
64
|
+
default: O
|
|
65
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
66
|
+
export {
|
|
67
|
+
B as c,
|
|
68
|
+
G as i
|
|
69
|
+
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { watch as m, unref as p } from "vue";
|
|
2
|
-
import {
|
|
3
|
-
const c = ({ from: e, replacement: t, scope:
|
|
2
|
+
import { a5 as u } from "./index-B8QqTLfg.js";
|
|
3
|
+
const c = ({ from: e, replacement: t, scope: a, version: r, ref: i, type: o = "API" }, s) => {
|
|
4
4
|
m(
|
|
5
5
|
() => p(s),
|
|
6
6
|
(d) => {
|
|
7
7
|
d && u(
|
|
8
|
-
|
|
9
|
-
`[${o}] ${e} is about to be deprecated in version ${
|
|
8
|
+
a,
|
|
9
|
+
`[${o}] ${e} is about to be deprecated in version ${r}, please use ${t} instead.
|
|
10
10
|
For more detail, please visit: ${i}
|
|
11
11
|
`
|
|
12
12
|
);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createElementBlock as s, openBlock as t, createElementVNode as o, defineComponent as w, createVNode as p, unref as r, withCtx as d, createBlock as i, toDisplayString as g, h as m, normalizeClass as x, createCommentVNode as $, Fragment as y, renderList as b, resolveDynamicComponent as S } from "vue";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { _ as c, E as z, U as u } from "./index-B8QqTLfg.js";
|
|
3
|
+
import { E as k, a as B } from "./index-CW6ljdNf.js";
|
|
4
4
|
const M = {}, I = {
|
|
5
5
|
t: "1670514723472",
|
|
6
6
|
class: "icon",
|
|
@@ -19,7 +19,7 @@ function C(n, e) {
|
|
|
19
19
|
}, null, -1)
|
|
20
20
|
])]);
|
|
21
21
|
}
|
|
22
|
-
const
|
|
22
|
+
const E = /* @__PURE__ */ c(M, [["render", C]]), L = {}, V = {
|
|
23
23
|
t: "1632727376885",
|
|
24
24
|
class: "icon",
|
|
25
25
|
viewBox: "0 0 1024 1024",
|
|
@@ -37,7 +37,7 @@ function A(n, e) {
|
|
|
37
37
|
}, null, -1)
|
|
38
38
|
])]);
|
|
39
39
|
}
|
|
40
|
-
const q = /* @__PURE__ */ c(
|
|
40
|
+
const q = /* @__PURE__ */ c(L, [["render", A]]), D = {}, H = {
|
|
41
41
|
t: "1632727406643",
|
|
42
42
|
class: "icon",
|
|
43
43
|
viewBox: "0 0 1024 1024",
|
|
@@ -145,7 +145,7 @@ function i1(n, e) {
|
|
|
145
145
|
}, null, -1)
|
|
146
146
|
])]);
|
|
147
147
|
}
|
|
148
|
-
const o1 = /* @__PURE__ */ c(t1, [["render", i1]]), c1 = {},
|
|
148
|
+
const o1 = /* @__PURE__ */ c(t1, [["render", i1]]), c1 = {}, a1 = {
|
|
149
149
|
t: "1670514703677",
|
|
150
150
|
class: "icon",
|
|
151
151
|
viewBox: "0 0 1024 1024",
|
|
@@ -155,8 +155,8 @@ const o1 = /* @__PURE__ */ c(t1, [["render", i1]]), c1 = {}, l1 = {
|
|
|
155
155
|
width: "200",
|
|
156
156
|
height: "200"
|
|
157
157
|
};
|
|
158
|
-
function
|
|
159
|
-
return t(), s("svg",
|
|
158
|
+
function l1(n, e) {
|
|
159
|
+
return t(), s("svg", a1, [...e[0] || (e[0] = [
|
|
160
160
|
o("path", {
|
|
161
161
|
d: "M512 405.333333m-64 0a64 64 0 1 0 128 0 64 64 0 1 0-128 0Z",
|
|
162
162
|
"p-id": "8298"
|
|
@@ -167,7 +167,7 @@ function a1(n, e) {
|
|
|
167
167
|
}, null, -1)
|
|
168
168
|
])]);
|
|
169
169
|
}
|
|
170
|
-
const r1 = /* @__PURE__ */ c(c1, [["render",
|
|
170
|
+
const r1 = /* @__PURE__ */ c(c1, [["render", l1]]), d1 = {}, h1 = {
|
|
171
171
|
t: "1632727490171",
|
|
172
172
|
class: "icon",
|
|
173
173
|
viewBox: "0 0 1024 1024",
|
|
@@ -257,7 +257,7 @@ function M1(n, e) {
|
|
|
257
257
|
}, null, -1)
|
|
258
258
|
])]);
|
|
259
259
|
}
|
|
260
|
-
const I1 = /* @__PURE__ */ c(k1, [["render", M1]]), C1 = { class: "g-select-shape-item" },
|
|
260
|
+
const I1 = /* @__PURE__ */ c(k1, [["render", M1]]), C1 = { class: "g-select-shape-item" }, E1 = { key: 14 }, L1 = ["title"], V1 = /* @__PURE__ */ w({
|
|
261
261
|
__name: "option-label",
|
|
262
262
|
props: {
|
|
263
263
|
label: {
|
|
@@ -270,14 +270,14 @@ const I1 = /* @__PURE__ */ c(k1, [["render", M1]]), C1 = { class: "g-select-shap
|
|
|
270
270
|
return (e, h) => (t(), s("span", C1, [
|
|
271
271
|
p(r(z), null, {
|
|
272
272
|
default: d(() => [
|
|
273
|
-
n.icon === "shape-diamond" ? (t(), i(G, { key: 0 })) : n.icon === "shape-triangle" ? (t(), i(I1, { key: 1 })) : n.icon === "shape-hexagon" ? (t(), i(o1, { key: 2 })) : n.icon === "shape-round-square" ? (t(), i($1, { key: 3 })) : n.icon === "shape-square" ? (t(), i(z1, { key: 4 })) : n.icon === "shape-circle" ? (t(), i(P, { key: 5 })) : n.icon === "shape-arrow" ? (t(), i(q, { key: 6 })) : n.icon === "shape-auto" ? (t(), i(R, { key: 7 })) : n.icon === "shape-heart" ? (t(), i(n1, { key: 8 })) : n.icon === "shape-empty-heart" ? (t(), i(W, { key: 9 })) : n.icon === "shape-round-rect" ? (t(), i(_1, { key: 10 })) : n.icon === "shape-rect" ? (t(), i(w1, { key: 11 })) : n.icon === "shape-pin" ? (t(), i(r1, { key: 12 })) : n.icon === "shape-airplane" ? (t(), i(
|
|
273
|
+
n.icon === "shape-diamond" ? (t(), i(G, { key: 0 })) : n.icon === "shape-triangle" ? (t(), i(I1, { key: 1 })) : n.icon === "shape-hexagon" ? (t(), i(o1, { key: 2 })) : n.icon === "shape-round-square" ? (t(), i($1, { key: 3 })) : n.icon === "shape-square" ? (t(), i(z1, { key: 4 })) : n.icon === "shape-circle" ? (t(), i(P, { key: 5 })) : n.icon === "shape-arrow" ? (t(), i(q, { key: 6 })) : n.icon === "shape-auto" ? (t(), i(R, { key: 7 })) : n.icon === "shape-heart" ? (t(), i(n1, { key: 8 })) : n.icon === "shape-empty-heart" ? (t(), i(W, { key: 9 })) : n.icon === "shape-round-rect" ? (t(), i(_1, { key: 10 })) : n.icon === "shape-rect" ? (t(), i(w1, { key: 11 })) : n.icon === "shape-pin" ? (t(), i(r1, { key: 12 })) : n.icon === "shape-airplane" ? (t(), i(E, { key: 13 })) : (t(), s("span", E1))
|
|
274
274
|
]),
|
|
275
275
|
_: 1
|
|
276
276
|
}),
|
|
277
277
|
o("span", {
|
|
278
278
|
class: "g-select-shape-item-text",
|
|
279
279
|
title: n.label
|
|
280
|
-
}, g(n.label), 9,
|
|
280
|
+
}, g(n.label), 9, L1)
|
|
281
281
|
]));
|
|
282
282
|
}
|
|
283
283
|
}), A1 = {
|
|
@@ -311,18 +311,18 @@ const I1 = /* @__PURE__ */ c(k1, [["render", M1]]), C1 = { class: "g-select-shap
|
|
|
311
311
|
emits: [u],
|
|
312
312
|
setup(n, { emit: e }) {
|
|
313
313
|
const h = n, v = e;
|
|
314
|
-
function _(
|
|
315
|
-
v(u,
|
|
314
|
+
function _(a) {
|
|
315
|
+
v(u, a);
|
|
316
316
|
}
|
|
317
|
-
const f = h.shapes.map((
|
|
318
|
-
value:
|
|
319
|
-
label:
|
|
317
|
+
const f = h.shapes.map((a) => ({
|
|
318
|
+
value: a.id,
|
|
319
|
+
label: a.value,
|
|
320
320
|
labelComponent: m(V1, {
|
|
321
|
-
label:
|
|
322
|
-
icon:
|
|
321
|
+
label: a.value,
|
|
322
|
+
icon: a.icon
|
|
323
323
|
})
|
|
324
324
|
}));
|
|
325
|
-
return (
|
|
325
|
+
return (a, q1) => (t(), s("div", {
|
|
326
326
|
class: x(["datav-gui g-select-shape", [
|
|
327
327
|
{
|
|
328
328
|
"--inline": !!n.inline,
|
|
@@ -338,13 +338,13 @@ const I1 = /* @__PURE__ */ c(k1, [["render", M1]]), C1 = { class: "g-select-shap
|
|
|
338
338
|
onChange: _
|
|
339
339
|
}, {
|
|
340
340
|
default: d(() => [
|
|
341
|
-
(t(!0), s(y, null, b(r(f), (
|
|
342
|
-
key:
|
|
343
|
-
label:
|
|
344
|
-
value:
|
|
341
|
+
(t(!0), s(y, null, b(r(f), (l) => (t(), i(r(B), {
|
|
342
|
+
key: l.value,
|
|
343
|
+
label: l.label,
|
|
344
|
+
value: l.value
|
|
345
345
|
}, {
|
|
346
346
|
default: d(() => [
|
|
347
|
-
(t(), i(S(
|
|
347
|
+
(t(), i(S(l.labelComponent)))
|
|
348
348
|
]),
|
|
349
349
|
_: 2
|
|
350
350
|
}, 1032, ["label", "value"]))), 128))
|