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.
Files changed (112) hide show
  1. package/lib/{ScreenPreview-CV95NWOd.js → ScreenPreview-yUHo60be.js} +51 -105
  2. package/lib/atlas-BMjKIOwk.js +3891 -0
  3. package/lib/{button-base-DHNVBrQ9.js → button-base-CXl1z-_m.js} +1 -1
  4. package/lib/{cache-lsjsKZHu.js → cache-DbHSDjJy.js} +1 -1
  5. package/lib/config-provider-Bui8m4GV.js +62 -0
  6. package/lib/{container-group-DqAcKEBy.js → container-group-D6Extorz.js} +1 -1
  7. package/lib/{copy-C5Pi6nJh.js → copy-CsCmPy4J.js} +1 -1
  8. package/lib/{datav-BER95ty-.js → datav-BTD-HJhV.js} +27 -27
  9. package/lib/{delete-C2EW4JCs.js → delete-COj0ilHh.js} +1 -1
  10. package/lib/{divider-BazBGRgV.js → divider-B3K_URZc.js} +1 -1
  11. package/lib/dropdown-CWvnuJsO.js +105 -0
  12. package/lib/{edit-B2pfd2q1.js → edit-vdJaEine.js} +1 -1
  13. package/lib/{el-form-item-BDdxk5F5.js → el-form-item-BbaNohQv.js} +51 -51
  14. package/lib/{el-link-D2ol9BHQ.js → el-link-Dq721Q7-.js} +12 -12
  15. package/lib/{el-loading-Cgwgez55.js → el-loading-DOxnN3bm.js} +17 -17
  16. package/lib/{fullscreen-OChDsSnk.js → fullscreen-DXSogbcG.js} +1 -1
  17. package/lib/{image-C5ZAY3yt.js → image-Cu7JTK9-.js} +1 -1
  18. package/lib/{index-Ci8AbyIq.js → index-68soBnbK.js} +8 -8
  19. package/lib/{index-BatyRVpL.js → index-B-d8WIg1.js} +7 -7
  20. package/lib/{index-BfIEunKC.js → index-B4zV3cxV.js} +18 -17
  21. package/lib/{index-CZJriuFt.js → index-B8QqTLfg.js} +4974 -4898
  22. package/lib/index-BBMItxtW.js +619 -0
  23. package/lib/{index-CGrR_i0u.js → index-BMm0MRz5.js} +14 -15
  24. package/lib/index-BMn8EzMD.js +1027 -0
  25. package/lib/index-BNTW8F-9.js +322 -0
  26. package/lib/index-BTI518b1.js +69 -0
  27. package/lib/{index-BWPVi43E.js → index-BZxUAT4z.js} +4 -4
  28. package/lib/{index-Ck7uFsPE.js → index-BdYTc41r.js} +24 -24
  29. package/lib/index-BfI55Ioc.js +404 -0
  30. package/lib/{index-BhP9eBCp.js → index-BmAcetSf.js} +19 -20
  31. package/lib/index-C35Yp3i8.js +545 -0
  32. package/lib/{index-B19lEYui.js → index-C6GUNRx9.js} +2 -2
  33. package/lib/index-CC28_8Jl.js +567 -0
  34. package/lib/index-CDhmvVt8.js +338 -0
  35. package/lib/index-CDx0y0fp.js +144 -0
  36. package/lib/{el-button-DvLKp6Ga.js → index-CJjljoJG.js} +106 -106
  37. package/lib/index-CNCgXPiO.js +235 -0
  38. package/lib/{index-CWbZmzNT.js → index-CPa_MnOD.js} +30 -29
  39. package/lib/index-CW6ljdNf.js +1582 -0
  40. package/lib/index-C_WopEui.js +513 -0
  41. package/lib/{index-CX_Ghcb6.js → index-CejowjGd.js} +56 -53
  42. package/lib/{index-BwCQWH-N.js → index-CfZXOvi-.js} +42 -40
  43. package/lib/{index-CVsy2qTh.js → index-CgzRTmPh.js} +16 -15
  44. package/lib/index-CmzuNM9v.js +32 -0
  45. package/lib/index-CrxcAFt8.js +5343 -0
  46. package/lib/{index-C7k49L2T.js → index-CuHA7QXu.js} +10 -10
  47. package/lib/{index-qVyixI57.js → index-CyBGAB7D.js} +21 -20
  48. package/lib/index-D6J7coU0.js +129 -0
  49. package/lib/index-DDHxrdAo.js +1773 -0
  50. package/lib/index-DDL-yqq0.js +1401 -0
  51. package/lib/{index-BPcvYtHf.js → index-DOxy-bey.js} +6 -6
  52. package/lib/{index-CVE37oE7.js → index-DOyr0BHr.js} +7 -7
  53. package/lib/index-DPOanmXI.js +887 -0
  54. package/lib/{index-3pzVrvby.js → index-DR_husZg.js} +46 -46
  55. package/lib/{el-tab-pane-DD2eM9rB.js → index-DUzOCQrW.js} +125 -124
  56. package/lib/{index-CGFEhUh9.js → index-DVYI-g8Q.js} +53 -52
  57. package/lib/index-DVyjilLy.js +51 -0
  58. package/lib/{index-CJyYGViv.js → index-DWAJ9GyC.js} +9 -9
  59. package/lib/index-Dj2qCwPD.js +178 -0
  60. package/lib/{index-D4X0_jbv.js → index-Dx2Gld1J.js} +32 -32
  61. package/lib/{index-C2XeCqtq.js → index-E9T-y2Yz.js} +3 -3
  62. package/lib/{index-Buoc0ISP.js → index-FlmXAW0Z.js} +60 -58
  63. package/lib/index-NqqOvc6V.js +169 -0
  64. package/lib/{index-BkdiXCRY.js → index-ObKRNOmJ.js} +6 -7
  65. package/lib/index-bOWjoplU.js +448 -0
  66. package/lib/{index-CXQ258ID.js → index-buU8mDzi.js} +15 -16
  67. package/lib/{index-tbhuYbb0.js → index-mGKAWDJZ.js} +11 -12
  68. package/lib/index.es.js +4 -4
  69. package/lib/index.umd.js +46 -40
  70. package/lib/{layer-setting-panel-VvDSQ-cn.js → layer-setting-panel-BGPj32nP.js} +2 -2
  71. package/lib/{line-show-Bp4G-LqO.js → line-show-DUn1bu_P.js} +1 -1
  72. package/lib/{multi-layout-config-drSy7ezf.js → multi-layout-config-BTWxJeuc.js} +7 -8
  73. package/lib/{multiline-text-D89kYrA2.js → multiline-text-CPJdCWJ7.js} +1 -1
  74. package/lib/{navigation-YAGxZ0OT.js → navigation-ZLJaBOUj.js} +1 -1
  75. package/lib/page-config-CHP07Ndf.js +253 -0
  76. package/lib/{page-tabs-wFeNBY4c.js → page-tabs-CKLhgrip.js} +45 -41
  77. package/lib/{plus-3mdO6yXY.js → plus-xgpQU22I.js} +1 -1
  78. package/lib/raf-CJog_tcv.js +6 -0
  79. package/lib/refs-DZMysoBI.js +8 -0
  80. package/lib/{requestOld-DRcjsmRQ.js → requestOld-CaGzCXrV.js} +97 -96
  81. package/lib/{schema-BsnIOGBI.js → schema-BaFWGeFt.js} +1 -1
  82. package/lib/{schema-_APJMUW3.js → schema-CUR-UK2S.js} +44 -41
  83. package/lib/{schema-BavJE-SK.js → schema-WUk7XVq7.js} +58 -54
  84. package/lib/{schema-qKI1F8Bt.js → schema-geZfujv8.js} +1 -1
  85. package/lib/{schema-BflqDw-a.js → schema-iosjRxCC.js} +1 -1
  86. package/lib/{schema-Bo30dbBx.js → schema-tuPllxn6.js} +1 -1
  87. package/lib/scroll-CWfl60Tu.js +58 -0
  88. package/lib/{setting-panel-BgzN3BUP.js → setting-panel-0qLcwYyT.js} +154 -151
  89. package/lib/{show-C4AeWlKj.js → show-BCwE3hGY.js} +1 -1
  90. package/lib/{stepper-D5EFeJWG.js → stepper-Bud1Jppr.js} +1 -1
  91. package/lib/strings-BvUQWzDM.js +6 -0
  92. package/lib/style.css +1 -1
  93. package/lib/{switch-B0dR4LM_.js → switch-VlaUmSpJ.js} +1 -1
  94. package/lib/{unlock-Cq9PLhBA.js → unlock-B2FVPQlm.js} +1 -1
  95. package/lib/{use-env-url-BM9dgwx_.js → use-env-url-D1p8ib2L.js} +1 -1
  96. package/lib/use-global-config-D_yoqf3Q.js +90 -0
  97. package/lib/validator-BOXH2OMA.js +5 -0
  98. package/lib/{vnode-B_Dj8zxu.js → vnode-Bxs1g06p.js} +1 -1
  99. package/package.json +1 -1
  100. package/lib/atlas-DsmLq2V0.js +0 -38
  101. package/lib/el-overlay-BK0_UIU6.js +0 -704
  102. package/lib/index-B1yAU2Cb.js +0 -390
  103. package/lib/index-BCFXuK7k.js +0 -68
  104. package/lib/index-BD4Jwo8Z.js +0 -449
  105. package/lib/index-BMWqf88L.js +0 -356
  106. package/lib/index-Belsn8kt.js +0 -107
  107. package/lib/index-CIADz1i0.js +0 -8494
  108. package/lib/index-DKTrbqcA.js +0 -56
  109. package/lib/index-Ge_d2xqD.js +0 -127
  110. package/lib/page-config-Cmsi8Vpr.js +0 -582
  111. package/lib/strings-_mHAdgA4.js +0 -6
  112. package/lib/use-global-config-CflpFoxU.js +0 -115
@@ -1,582 +0,0 @@
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
- };
@@ -1,6 +0,0 @@
1
- import { bj as a } from "./index-CZJriuFt.js";
2
- const p = (e = "") => e.replace(/[|\\{}()[\]^$+*?.]/g, "\\$&").replace(/-/g, "\\x2d"), t = (e) => a(e);
3
- export {
4
- t as c,
5
- p as e
6
- };
@@ -1,115 +0,0 @@
1
- import { getCurrentInstance as p, inject as C, ref as c, computed as s, unref as d, provide as x } from "vue";
2
- import { b as E, d as V, ak as f, K as m, a8 as I, F as g, s as S, a9 as z, aZ as K, a_ as A, a$ as P, b0 as F, n as L, b1 as N, J as k, Q as G, b2 as T } from "./index-CZJriuFt.js";
3
- const b = Symbol(), O = Symbol("emptyValuesContextKey"), U = "use-empty-values", Z = ["", void 0, null], j = void 0, w = E({
4
- emptyValues: Array,
5
- valueOnClear: {
6
- type: V([
7
- String,
8
- Number,
9
- Boolean,
10
- Function
11
- ]),
12
- default: void 0,
13
- validator: (e) => (e = f(e) ? e() : e, m(e) ? e.every((u) => !u) : !e)
14
- }
15
- }), B = (e, u) => {
16
- const n = p() ? C(O, c({})) : c({}), l = s(
17
- () => e.emptyValues || n.value.emptyValues || Z
18
- ), t = s(() => f(e.valueOnClear) ? e.valueOnClear() : e.valueOnClear !== void 0 ? e.valueOnClear : f(n.value.valueOnClear) ? n.value.valueOnClear() : n.value.valueOnClear !== void 0 ? n.value.valueOnClear : j), r = (o) => {
19
- let a = !0;
20
- return m(o) ? a = l.value.some((i) => I(o, i)) : a = l.value.includes(o), a;
21
- };
22
- return r(t.value) || g(U, "value-on-clear should be a value of empty-values"), {
23
- emptyValues: l,
24
- valueOnClear: t,
25
- isEmptyValue: r
26
- };
27
- }, y = (e) => Object.keys(e), M = (e) => Object.entries(e), Q = (e, u, n) => ({
28
- get value() {
29
- return z(e, u, n);
30
- },
31
- set value(l) {
32
- S(e, u, l);
33
- }
34
- }), v = c();
35
- function _(e, u = void 0) {
36
- const n = p() ? C(b, v) : v;
37
- return e ? s(() => {
38
- var l, t;
39
- return (t = (l = n.value) == null ? void 0 : l[e]) != null ? t : u;
40
- }) : n;
41
- }
42
- function R(e, u) {
43
- const n = _(), l = L(
44
- e,
45
- s(() => {
46
- var a;
47
- return ((a = n.value) == null ? void 0 : a.namespace) || N;
48
- })
49
- ), t = k(s(() => {
50
- var a;
51
- return (a = n.value) == null ? void 0 : a.locale;
52
- })), r = G(
53
- s(() => {
54
- var a;
55
- return ((a = n.value) == null ? void 0 : a.zIndex) || T;
56
- })
57
- ), o = s(() => {
58
- var a;
59
- return d(u) || ((a = n.value) == null ? void 0 : a.size) || "";
60
- });
61
- return D(s(() => d(n) || {})), {
62
- ns: l,
63
- locale: t,
64
- zIndex: r,
65
- size: o
66
- };
67
- }
68
- const D = (e, u, n = !1) => {
69
- var l;
70
- const t = !!p(), r = t ? _() : void 0, o = (l = void 0) != null ? l : t ? x : void 0;
71
- if (!o) {
72
- g(
73
- "provideGlobalConfig",
74
- "provideGlobalConfig() can only be used inside setup()."
75
- );
76
- return;
77
- }
78
- const a = s(() => {
79
- const i = d(e);
80
- return r?.value ? J(r.value, i) : i;
81
- });
82
- return o(b, a), o(
83
- K,
84
- s(() => a.value.locale)
85
- ), o(
86
- A,
87
- s(() => a.value.namespace)
88
- ), o(
89
- P,
90
- s(() => a.value.zIndex)
91
- ), o(F, {
92
- size: s(() => a.value.size || "")
93
- }), o(
94
- O,
95
- s(() => ({
96
- emptyValues: a.value.emptyValues,
97
- valueOnClear: a.value.valueOnClear
98
- }))
99
- ), (n || !v.value) && (v.value = a.value), a;
100
- }, J = (e, u) => {
101
- const n = [.../* @__PURE__ */ new Set([...y(e), ...y(u)])], l = {};
102
- for (const t of n)
103
- l[t] = u[t] !== void 0 ? u[t] : e[t];
104
- return l;
105
- };
106
- export {
107
- B as a,
108
- _ as b,
109
- R as c,
110
- M as e,
111
- Q as g,
112
- y as k,
113
- D as p,
114
- w as u
115
- };