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.
Files changed (90) hide show
  1. package/lib/ScreenPreview-CV95NWOd.js +373 -0
  2. package/lib/{atlas-C3az-9Mm.js → atlas-DsmLq2V0.js} +1 -1
  3. package/lib/{button-base-_jCki568.js → button-base-DHNVBrQ9.js} +1 -1
  4. package/lib/{cache-Jvpyvvq5.js → cache-lsjsKZHu.js} +1 -1
  5. package/lib/{container-group-DTRMf-Lh.js → container-group-DqAcKEBy.js} +1 -1
  6. package/lib/{copy-JUmhZHJW.js → copy-C5Pi6nJh.js} +1 -1
  7. package/lib/{datav-DYcMOPlj.js → datav-BER95ty-.js} +27 -27
  8. package/lib/{delete-C0k5m-ed.js → delete-C2EW4JCs.js} +1 -1
  9. package/lib/{divider-CvWkiVUb.js → divider-BazBGRgV.js} +1 -1
  10. package/lib/edit-B2pfd2q1.js +24 -0
  11. package/lib/el-button-DvLKp6Ga.js +815 -0
  12. package/lib/el-form-item-BDdxk5F5.js +1175 -0
  13. package/lib/el-link-D2ol9BHQ.js +91 -0
  14. package/lib/el-loading-Cgwgez55.js +230 -0
  15. package/lib/el-overlay-BK0_UIU6.js +704 -0
  16. package/lib/el-tab-pane-DD2eM9rB.js +536 -0
  17. package/lib/{fullscreen-DOYyz7vQ.js → fullscreen-OChDsSnk.js} +1 -1
  18. package/lib/{image-BQIpsLBo.js → image-C5ZAY3yt.js} +1 -1
  19. package/lib/index-3pzVrvby.js +150 -0
  20. package/lib/{index-D9Iayd4l.js → index-B19lEYui.js} +6 -6
  21. package/lib/index-B1yAU2Cb.js +390 -0
  22. package/lib/index-BCFXuK7k.js +68 -0
  23. package/lib/index-BD4Jwo8Z.js +449 -0
  24. package/lib/{index-BvcqtFEY.js → index-BMWqf88L.js} +10 -10
  25. package/lib/{index-CI4vgOJL.js → index-BPcvYtHf.js} +8 -11
  26. package/lib/index-BWPVi43E.js +21 -0
  27. package/lib/{index-CSkWvBQG.js → index-BatyRVpL.js} +1 -1
  28. package/lib/{index-D7jQaJbo.js → index-Belsn8kt.js} +1 -1
  29. package/lib/{index-C7ZW2TdD.js → index-BfIEunKC.js} +13 -15
  30. package/lib/{index-DTbzx51-.js → index-BhP9eBCp.js} +2 -2
  31. package/lib/{index-BdQOzowp.js → index-BkdiXCRY.js} +1 -1
  32. package/lib/{index-B4Kg0SOl.js → index-Buoc0ISP.js} +60 -65
  33. package/lib/index-BwCQWH-N.js +439 -0
  34. package/lib/{index-KO7LIDgy.js → index-C7k49L2T.js} +1 -1
  35. package/lib/{index-BCisGpRV.js → index-CGFEhUh9.js} +21 -21
  36. package/lib/{index-BCZuzL9x.js → index-CGrR_i0u.js} +1 -1
  37. package/lib/index-CIADz1i0.js +8494 -0
  38. package/lib/{index-BiybAKLy.js → index-CJyYGViv.js} +1 -1
  39. package/lib/{index-Curd3Q_C.js → index-CVE37oE7.js} +1 -1
  40. package/lib/{index-BGT3NcHb.js → index-CVsy2qTh.js} +2 -2
  41. package/lib/{index-CEKpsQ73.js → index-CWbZmzNT.js} +20 -20
  42. package/lib/{index-r0p4Zsdn.js → index-CXQ258ID.js} +1 -1
  43. package/lib/{index-C17gkQC5.js → index-CX_Ghcb6.js} +2 -2
  44. package/lib/index-CZJriuFt.js +27215 -0
  45. package/lib/{index-UdJ7RS5C.js → index-Ci8AbyIq.js} +1 -1
  46. package/lib/{index-DzglmFul.js → index-Ck7uFsPE.js} +1 -1
  47. package/lib/{index-DfKVDhZo.js → index-D4X0_jbv.js} +4 -4
  48. package/lib/{index-Q9GLzAp6.js → index-DKTrbqcA.js} +2 -2
  49. package/lib/{index-DiSYhNaR.js → index-Ge_d2xqD.js} +1 -1
  50. package/lib/{index-D9qrFCLu.js → index-qVyixI57.js} +21 -24
  51. package/lib/{index-DrO2UeJx.js → index-tbhuYbb0.js} +1 -1
  52. package/lib/index.es.js +3 -3
  53. package/lib/index.umd.js +57 -34
  54. package/lib/{layer-setting-panel-Bjnt_eL7.js → layer-setting-panel-VvDSQ-cn.js} +2 -2
  55. package/lib/{line-show-C7Nn6vkO.js → line-show-Bp4G-LqO.js} +1 -1
  56. package/lib/{multi-layout-config-Cq3yMVHR.js → multi-layout-config-drSy7ezf.js} +5 -5
  57. package/lib/{multiline-text-20qZej5M.js → multiline-text-D89kYrA2.js} +1 -1
  58. package/lib/{navigation-CYYFLmhU.js → navigation-YAGxZ0OT.js} +1 -1
  59. package/lib/page-config-Cmsi8Vpr.js +582 -0
  60. package/lib/page-tabs-wFeNBY4c.js +185 -0
  61. package/lib/{plus-CLcKk5PN.js → plus-3mdO6yXY.js} +1 -1
  62. package/lib/{requestOld-UJ_IbJZV.js → requestOld-DRcjsmRQ.js} +1 -1
  63. package/lib/{schema-EG3DcRzW.js → schema-BavJE-SK.js} +2 -2
  64. package/lib/{schema-B8SVu2jj.js → schema-BflqDw-a.js} +1 -1
  65. package/lib/{schema-D6lT1sLt.js → schema-Bo30dbBx.js} +1 -1
  66. package/lib/{schema-Blmk8VpW.js → schema-BsnIOGBI.js} +1 -1
  67. package/lib/{schema-C1vqYLAm.js → schema-_APJMUW3.js} +24 -24
  68. package/lib/{schema-C4qS2kV8.js → schema-qKI1F8Bt.js} +1 -1
  69. package/lib/{setting-panel-CoVHYjPW.js → setting-panel-BgzN3BUP.js} +91 -93
  70. package/lib/{show-DWWTez5i.js → show-C4AeWlKj.js} +13 -32
  71. package/lib/{stepper-bfTmJIGg.js → stepper-D5EFeJWG.js} +1 -1
  72. package/lib/strings-_mHAdgA4.js +6 -0
  73. package/lib/style.css +1 -0
  74. package/lib/{switch-Dxeq_HHd.js → switch-B0dR4LM_.js} +1 -1
  75. package/lib/unlock-Cq9PLhBA.js +62 -0
  76. package/lib/{use-env-url-CP2GpMCY.js → use-env-url-BM9dgwx_.js} +1 -1
  77. package/lib/use-global-config-CflpFoxU.js +115 -0
  78. package/lib/vnode-B_Dj8zxu.js +14 -0
  79. package/package.json +3 -2
  80. package/lib/ScreenPreview-DGe9FXWu.js +0 -126
  81. package/lib/index-08FGmL4D.js +0 -3744
  82. package/lib/index-Bg2serjU.js +0 -155
  83. package/lib/index-CJbqu93z.js +0 -496
  84. package/lib/index-D-A44QLA.js +0 -228
  85. package/lib/index-D6ZS8SXJ.js +0 -22369
  86. package/lib/index-DgTMT-ZH.js +0 -71
  87. package/lib/index-noVQZPd6.js +0 -133
  88. package/lib/page-config-Bw-OZliO.js +0 -257
  89. package/lib/page-tabs-DM9zkW_X.js +0 -190
  90. package/lib/styles.css +0 -1
@@ -0,0 +1,91 @@
1
+ import { defineComponent as C, computed as a, createElementBlock as c, openBlock as i, normalizeClass as p, createBlock as f, createCommentVNode as t, renderSlot as m, unref as v, withCtx as w, resolveDynamicComponent as E } from "vue";
2
+ import { b as _, i as B, k as S, j as k, n as $, E as L, w as P } from "./index-CZJriuFt.js";
3
+ import { b as D } from "./use-global-config-CflpFoxU.js";
4
+ import { u as I } from "./index-BWPVi43E.js";
5
+ const N = _({
6
+ type: {
7
+ type: String,
8
+ values: ["primary", "success", "warning", "info", "danger", "default"],
9
+ default: void 0
10
+ },
11
+ underline: {
12
+ type: [Boolean, String],
13
+ values: [!0, !1, "always", "never", "hover"],
14
+ default: void 0
15
+ },
16
+ disabled: Boolean,
17
+ href: { type: String, default: "" },
18
+ target: {
19
+ type: String,
20
+ default: "_self"
21
+ },
22
+ icon: {
23
+ type: B
24
+ }
25
+ }), T = {
26
+ click: (s) => s instanceof MouseEvent
27
+ }, j = ["href", "target"], z = C({
28
+ name: "ElLink",
29
+ __name: "link",
30
+ props: N,
31
+ emits: T,
32
+ setup(s, { emit: h }) {
33
+ const n = s, y = h, u = D("link");
34
+ I(
35
+ {
36
+ scope: "el-link",
37
+ from: "The underline option (boolean)",
38
+ replacement: "'always' | 'hover' | 'never'",
39
+ version: "3.0.0",
40
+ ref: "https://element-plus.org/en-US/component/link.html#underline"
41
+ },
42
+ a(() => k(n.underline))
43
+ );
44
+ const l = $("link"), b = a(() => {
45
+ var e, o, r;
46
+ return [
47
+ l.b(),
48
+ l.m((r = (o = n.type) != null ? o : (e = u.value) == null ? void 0 : e.type) != null ? r : "default"),
49
+ l.is("disabled", n.disabled),
50
+ l.is("underline", d.value === "always"),
51
+ l.is("hover-underline", d.value === "hover" && !n.disabled)
52
+ ];
53
+ }), d = a(() => {
54
+ var e, o, r;
55
+ return k(n.underline) ? n.underline ? "hover" : "never" : (r = (o = n.underline) != null ? o : (e = u.value) == null ? void 0 : e.underline) != null ? r : "hover";
56
+ });
57
+ function g(e) {
58
+ n.disabled || y("click", e);
59
+ }
60
+ return (e, o) => (i(), c("a", {
61
+ class: p(b.value),
62
+ href: e.disabled || !e.href ? void 0 : e.href,
63
+ target: e.disabled || !e.href ? void 0 : e.target,
64
+ onClick: g
65
+ }, [
66
+ e.icon ? (i(), f(v(L), { key: 0 }, {
67
+ default: w(() => [
68
+ (i(), f(E(e.icon)))
69
+ ]),
70
+ _: 1
71
+ })) : t("v-if", !0),
72
+ e.$slots.default ? (i(), c(
73
+ "span",
74
+ {
75
+ key: 1,
76
+ class: p(v(l).e("inner"))
77
+ },
78
+ [
79
+ m(e.$slots, "default")
80
+ ],
81
+ 2
82
+ )) : t("v-if", !0),
83
+ e.$slots.icon ? m(e.$slots, "icon", { key: 2 }) : t("v-if", !0)
84
+ ], 10, j));
85
+ }
86
+ });
87
+ var G = /* @__PURE__ */ S(z, [["__file", "/home/runner/work/element-plus/element-plus/packages/components/link/src/link.vue"]]);
88
+ const q = P(G);
89
+ export {
90
+ q as E
91
+ };
@@ -0,0 +1,230 @@
1
+ import { ref as B, reactive as P, defineComponent as O, h as m, Transition as j, withCtx as z, withDirectives as R, createVNode as G, vShow as Y, createApp as q, toRefs as D, nextTick as I, isRef as F } from "vue";
2
+ import { c as H } from "./use-global-config-CflpFoxU.js";
3
+ import { aV as C, A as K, a5 as S, aW as b, aX as k, G as $, aY as M } from "./index-CZJriuFt.js";
4
+ function W(e, n) {
5
+ let t;
6
+ const s = B(!1), o = P({
7
+ ...e,
8
+ originalPosition: "",
9
+ originalOverflow: "",
10
+ visible: !1
11
+ });
12
+ function r(l) {
13
+ o.text = l;
14
+ }
15
+ function c() {
16
+ const l = o.parent, u = v.ns;
17
+ if (!l.vLoadingAddClassList) {
18
+ let a = l.getAttribute("loading-number");
19
+ a = Number.parseInt(a) - 1, a ? l.setAttribute("loading-number", a.toString()) : (C(l, u.bm("parent", "relative")), l.removeAttribute("loading-number")), C(l, u.bm("parent", "hidden"));
20
+ }
21
+ d(), g.unmount();
22
+ }
23
+ function d() {
24
+ var l, u;
25
+ (u = (l = v.$el) == null ? void 0 : l.parentNode) == null || u.removeChild(v.$el);
26
+ }
27
+ function _() {
28
+ var l;
29
+ e.beforeClose && !e.beforeClose() || (s.value = !0, clearTimeout(t), t = setTimeout(i, 400), o.visible = !1, (l = e.closed) == null || l.call(e));
30
+ }
31
+ function i() {
32
+ if (!s.value)
33
+ return;
34
+ const l = o.parent;
35
+ s.value = !1, l.vLoadingAddClassList = void 0, c();
36
+ }
37
+ const x = O({
38
+ name: "ElLoading",
39
+ setup(l, { expose: u }) {
40
+ const { ns: a, zIndex: T } = H("loading");
41
+ return u({
42
+ ns: a,
43
+ zIndex: T
44
+ }), () => {
45
+ const L = o.spinner || o.svg, V = m(
46
+ "svg",
47
+ {
48
+ class: "circular",
49
+ viewBox: o.svgViewBox ? o.svgViewBox : "0 0 50 50",
50
+ ...L ? { innerHTML: L } : {}
51
+ },
52
+ [
53
+ m("circle", {
54
+ class: "path",
55
+ cx: "25",
56
+ cy: "25",
57
+ r: "20",
58
+ fill: "none"
59
+ })
60
+ ]
61
+ ), E = o.text ? m("p", { class: a.b("text") }, [o.text]) : void 0;
62
+ return m(
63
+ j,
64
+ {
65
+ name: a.b("fade"),
66
+ onAfterLeave: i
67
+ },
68
+ {
69
+ default: z(() => [
70
+ R(
71
+ G(
72
+ "div",
73
+ {
74
+ style: {
75
+ backgroundColor: o.background || ""
76
+ },
77
+ class: [
78
+ a.b("mask"),
79
+ o.customClass,
80
+ a.is("fullscreen", o.fullscreen)
81
+ ]
82
+ },
83
+ [
84
+ m(
85
+ "div",
86
+ {
87
+ class: a.b("spinner")
88
+ },
89
+ [V, E]
90
+ )
91
+ ]
92
+ ),
93
+ [[Y, o.visible]]
94
+ )
95
+ ])
96
+ }
97
+ );
98
+ };
99
+ }
100
+ }), g = q(x);
101
+ Object.assign(g._context, n ?? {});
102
+ const v = g.mount(document.createElement("div"));
103
+ return {
104
+ ...D(o),
105
+ setText: r,
106
+ removeElLoadingChild: d,
107
+ close: _,
108
+ handleAfterLeave: i,
109
+ vm: v,
110
+ get $el() {
111
+ return v.$el;
112
+ }
113
+ };
114
+ }
115
+ let y;
116
+ const A = function(e = {}, n) {
117
+ if (!K)
118
+ return;
119
+ const t = X(e);
120
+ if (t.fullscreen && y)
121
+ return y;
122
+ const s = W(
123
+ {
124
+ ...t,
125
+ closed: () => {
126
+ var r;
127
+ (r = t.closed) == null || r.call(t), t.fullscreen && (y = void 0);
128
+ }
129
+ },
130
+ n ?? A._context
131
+ );
132
+ Z(t, t.parent, s), h(t, t.parent, s), t.parent.vLoadingAddClassList = () => h(t, t.parent, s);
133
+ let o = t.parent.getAttribute("loading-number");
134
+ return o ? o = `${Number.parseInt(o) + 1}` : o = "1", t.parent.setAttribute("loading-number", o), t.parent.appendChild(s.$el), I(() => s.visible.value = t.visible), t.fullscreen && (y = s), s;
135
+ }, X = (e) => {
136
+ var n, t, s, o;
137
+ let r;
138
+ return S(e.target) ? r = (n = document.querySelector(e.target)) != null ? n : document.body : r = e.target || document.body, {
139
+ parent: r === document.body || e.body ? document.body : r,
140
+ background: e.background || "",
141
+ svg: e.svg || "",
142
+ svgViewBox: e.svgViewBox || "",
143
+ spinner: e.spinner || !1,
144
+ text: e.text || "",
145
+ fullscreen: r === document.body && ((t = e.fullscreen) != null ? t : !0),
146
+ lock: (s = e.lock) != null ? s : !1,
147
+ customClass: e.customClass || "",
148
+ visible: (o = e.visible) != null ? o : !0,
149
+ beforeClose: e.beforeClose,
150
+ closed: e.closed,
151
+ target: r
152
+ };
153
+ }, Z = async (e, n, t) => {
154
+ const { nextZIndex: s } = t.vm.zIndex || t.vm._.exposed.zIndex, o = {};
155
+ if (e.fullscreen)
156
+ t.originalPosition.value = b(document.body, "position"), t.originalOverflow.value = b(document.body, "overflow"), o.zIndex = s();
157
+ else if (e.parent === document.body) {
158
+ t.originalPosition.value = b(document.body, "position"), await I();
159
+ for (const r of ["top", "left"]) {
160
+ const c = r === "top" ? "scrollTop" : "scrollLeft";
161
+ o[r] = `${e.target.getBoundingClientRect()[r] + document.body[c] + document.documentElement[c] - Number.parseInt(b(document.body, `margin-${r}`), 10)}px`;
162
+ }
163
+ for (const r of ["height", "width"])
164
+ o[r] = `${e.target.getBoundingClientRect()[r]}px`;
165
+ } else
166
+ t.originalPosition.value = b(n, "position");
167
+ for (const [r, c] of Object.entries(o))
168
+ t.$el.style[r] = c;
169
+ }, h = (e, n, t) => {
170
+ const s = t.vm.ns || t.vm._.exposed.ns;
171
+ ["absolute", "fixed", "sticky"].includes(t.originalPosition.value) ? C(n, s.bm("parent", "relative")) : k(n, s.bm("parent", "relative")), e.fullscreen && e.lock ? k(n, s.bm("parent", "hidden")) : C(n, s.bm("parent", "hidden"));
172
+ };
173
+ A._context = null;
174
+ const p = Symbol("ElLoading"), f = (e) => `element-loading-${M(e)}`, w = (e, n) => {
175
+ var t, s, o, r;
176
+ const c = n.instance, d = (l) => $(n.value) ? n.value[l] : void 0, _ = (l) => {
177
+ const u = S(l) && c?.[l] || l;
178
+ return B(u);
179
+ }, i = (l) => _(
180
+ d(l) || e.getAttribute(f(l))
181
+ ), x = (t = d("fullscreen")) != null ? t : n.modifiers.fullscreen, g = {
182
+ text: i("text"),
183
+ svg: i("svg"),
184
+ svgViewBox: i("svgViewBox"),
185
+ spinner: i("spinner"),
186
+ background: i("background"),
187
+ customClass: i("customClass"),
188
+ fullscreen: x,
189
+ target: (s = d("target")) != null ? s : x ? void 0 : e,
190
+ body: (o = d("body")) != null ? o : n.modifiers.body,
191
+ lock: (r = d("lock")) != null ? r : n.modifiers.lock
192
+ }, v = A(g);
193
+ v._context = N._context, e[p] = {
194
+ options: g,
195
+ instance: v
196
+ };
197
+ }, J = (e, n) => {
198
+ for (const t of Object.keys(e))
199
+ F(e[t]) && (e[t].value = n[t]);
200
+ }, N = {
201
+ mounted(e, n) {
202
+ n.value && w(e, n);
203
+ },
204
+ updated(e, n) {
205
+ const t = e[p];
206
+ if (!n.value) {
207
+ t?.instance.close(), e[p] = null;
208
+ return;
209
+ }
210
+ t ? J(
211
+ t.options,
212
+ $(n.value) ? n.value : {
213
+ text: e.getAttribute(f("text")),
214
+ svg: e.getAttribute(f("svg")),
215
+ svgViewBox: e.getAttribute(f("svgViewBox")),
216
+ spinner: e.getAttribute(f("spinner")),
217
+ background: e.getAttribute(f("background")),
218
+ customClass: e.getAttribute(f("customClass"))
219
+ }
220
+ ) : w(e, n);
221
+ },
222
+ unmounted(e) {
223
+ var n;
224
+ (n = e[p]) == null || n.instance.close(), e[p] = null;
225
+ }
226
+ };
227
+ N._context = null;
228
+ export {
229
+ N as v
230
+ };