@boxcc/maildeno-editor 0.0.0-stage → 0.4.14

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 (57) hide show
  1. package/CHANGELOG.md +479 -0
  2. package/README.md +442 -2
  3. package/dist/DatePicker-AdfGW0Tw.js +5347 -0
  4. package/dist/DatePicker-aNFlsoOb.js +5347 -0
  5. package/dist/Dialog-By0JLN8s.js +6294 -0
  6. package/dist/HealthIndicator-BLID6Ty0.js +1216 -0
  7. package/dist/HealthIndicator-DfzqzPNw.js +1217 -0
  8. package/dist/PopperContent-N2nAEFeH.js +2538 -0
  9. package/dist/PopperContent-eLmz1Gjd.js +2578 -0
  10. package/dist/PreviewCanvas-D3SpILsV.js +534 -0
  11. package/dist/PreviewCanvas-PtW1UL1J.js +534 -0
  12. package/dist/RichTextEditor-D6DQqbJg.js +12218 -0
  13. package/dist/RichTextEditor-DDEfKPZm.js +12217 -0
  14. package/dist/RowPreviewChildren-BGnilx-K.js +4 -0
  15. package/dist/RowPreviewChildren-CalQWx1C.js +4 -0
  16. package/dist/RowPreviewLegacyComponent-Df_1HTly.js +403 -0
  17. package/dist/RowPreviewLegacyComponent-NECG3wpn.js +403 -0
  18. package/dist/RowPreviewRow-C2XAe5Xs.js +81 -0
  19. package/dist/RowPreviewRow-DG4AdMrv.js +81 -0
  20. package/dist/SavedRowsPanel-2JBfYdxN.js +492 -0
  21. package/dist/SavedRowsPanel-B6_VHQZm.js +493 -0
  22. package/dist/_plugin-vue_export-helper-Dj7HTbfw.js +8 -0
  23. package/dist/adapters/errors.d.ts +59 -0
  24. package/dist/adapters/localStorageAdapter.d.ts +6 -0
  25. package/dist/adapters/types.d.ts +151 -0
  26. package/dist/babel-DV7WPQI0.js +10043 -0
  27. package/dist/blocks/registry.d.ts +23 -0
  28. package/dist/blocks/types.d.ts +73 -0
  29. package/dist/borderRadius-CkSa1lQ9.js +75 -0
  30. package/dist/components/features/emailBuilder/EmailEditor.vue.d.ts +183 -0
  31. package/dist/composables/emailBuilder/export/logic/espLogicWrapper.d.ts +76 -0
  32. package/dist/composables/emailBuilder/persistence/useEmailBuilderPersistence.d.ts +38 -0
  33. package/dist/composables/emailBuilder/transform/pipeline/optimize.d.ts +100 -0
  34. package/dist/composables/system/useColorScheme.d.ts +16 -0
  35. package/dist/element-DQw3HLit.js +21540 -0
  36. package/dist/element.d.ts +6 -0
  37. package/dist/element.js +5 -0
  38. package/dist/esp/registry.d.ts +33 -0
  39. package/dist/estree-DY9POgc0.js +8195 -0
  40. package/dist/html-wb0gSX1o.js +7273 -0
  41. package/dist/index.d.ts +17 -0
  42. package/dist/index.js +15032 -0
  43. package/dist/init.d.ts +180 -0
  44. package/dist/init.js +143 -0
  45. package/dist/maildeno-editor.css +2 -0
  46. package/dist/merge-tags/registry.d.ts +33 -0
  47. package/dist/mergeTagDefinitions-Cler19nv.js +27 -0
  48. package/dist/standalone-DHvJ30Td.js +3554 -0
  49. package/dist/theme.d.ts +206 -0
  50. package/dist/types/assistant.d.ts +56 -0
  51. package/dist/useEmailBuilder-2yCUzRx2.js +4934 -0
  52. package/dist/useEmailBuilder-D3uV7dwL.js +4934 -0
  53. package/dist/useToast-D1GgDMqQ.js +194 -0
  54. package/dist/utils/border.d.ts +15 -0
  55. package/dist/utils/borderRadius.d.ts +10 -0
  56. package/dist/vue.runtime.esm-bundler-D2AjRP90.js +6117 -0
  57. package/package.json +100 -4
@@ -0,0 +1,4 @@
1
+ import { t as r } from "./SavedRowsPanel-B6_VHQZm.js";
2
+ export {
3
+ r as default
4
+ };
@@ -0,0 +1,4 @@
1
+ import { t as r } from "./SavedRowsPanel-2JBfYdxN.js";
2
+ export {
3
+ r as default
4
+ };
@@ -0,0 +1,403 @@
1
+ import { o as y, r as h } from "./borderRadius-CkSa1lQ9.js";
2
+ import { Fragment as S, computed as q, createBlock as J, createCommentVNode as k, createElementBlock as a, createElementVNode as d, createTextVNode as O, defineComponent as K, normalizeStyle as r, openBlock as o, renderList as w, resolveDynamicComponent as Q, toDisplayString as u } from "vue";
3
+ var U = ["innerHTML"], X = ["src", "alt"], Y = ["src", "alt"], Z = {
4
+ style: {
5
+ width: "30%",
6
+ height: "30%",
7
+ color: "#9ca3af"
8
+ },
9
+ fill: "currentColor",
10
+ viewBox: "0 0 20 20"
11
+ }, _ = ["src", "alt"], tt = ["src", "alt"], et = ["innerHTML"], nt = { key: 8 }, it = { key: 0 }, ot = ["src", "alt"], at = {
12
+ key: 1,
13
+ style: {
14
+ "font-size": "7px",
15
+ color: "#9ca3af",
16
+ "font-style": "italic"
17
+ }
18
+ }, rt = {
19
+ key: 11,
20
+ class: "rounded truncate",
21
+ style: {
22
+ "font-size": "7px",
23
+ color: "#9ca3af",
24
+ background: "#f3f4f6",
25
+ padding: "1px 3px"
26
+ }
27
+ }, lt = /* @__PURE__ */ K({
28
+ __name: "RowPreviewLegacyComponent",
29
+ props: {
30
+ comp: {},
31
+ scale: {}
32
+ },
33
+ setup(e) {
34
+ const $ = e, l = q(() => $.comp.componentType ?? $.comp.type);
35
+ function x(t) {
36
+ return t ? t.replace(/<span[^>]*\bdata-merge="([^"]+)"(?:[^>]*\bdata-merge-default="([^"]*)")?[^>]*>.*?<\/span>/gs, (n, i, g) => {
37
+ const c = i.trim(), f = g?.trim();
38
+ return f ? `{{ ${c}|'${f}' }}` : `{{ ${c} }}`;
39
+ }) : "";
40
+ }
41
+ function m(t) {
42
+ const n = t?.backgroundGradient;
43
+ if (n?.useGradient === !0 && Array.isArray(n?.gradient?.colors) && n.gradient.colors.length >= 2) {
44
+ const { type: i, direction: g, colors: c } = n.gradient, f = c.map((p) => `${p.color} ${p.position}%`).join(", ");
45
+ return i === "radial" ? `radial-gradient(circle at center, ${f})` : `linear-gradient(${g}, ${f})`;
46
+ }
47
+ return t?.backgroundColor || "transparent";
48
+ }
49
+ function s(t) {
50
+ if (t && (t.includes(" ") || [
51
+ "Roboto",
52
+ "Open Sans",
53
+ "Lato",
54
+ "Montserrat",
55
+ "Poppins",
56
+ "Nunito",
57
+ "Raleway",
58
+ "Plus Jakarta Sans"
59
+ ].some((n) => t.includes(n))) && typeof document < "u") {
60
+ const n = `https://fonts.googleapis.com/css2?family=${t.replace(/ /g, "+")}:wght@300;400;500;600;700;800&display=swap`;
61
+ if (!document.querySelector(`link[href="${n}"]`)) {
62
+ const i = document.createElement("link");
63
+ i.href = n, i.rel = "stylesheet", document.head.appendChild(i);
64
+ }
65
+ }
66
+ }
67
+ function F(t) {
68
+ return t?.fontFamily && s(t.fontFamily), {
69
+ fontSize: Math.max(7, t?.fontSize || 24) + "px",
70
+ color: t?.color || "#111111",
71
+ fontWeight: t?.fontWeight || "bold",
72
+ fontFamily: t?.fontFamily || "Arial, sans-serif",
73
+ textAlign: t?.align || "left",
74
+ lineHeight: String(t?.lineHeight ?? 1.2),
75
+ letterSpacing: `${t?.letterSpacing ?? 0}px`,
76
+ textTransform: t?.textTransform || "none",
77
+ textDecoration: t?.textDecoration || "none",
78
+ background: m(t),
79
+ margin: `${t?.margin?.top ?? 0}px ${t?.margin?.right ?? 0}px ${t?.margin?.bottom ?? 4}px ${t?.margin?.left ?? 0}px`,
80
+ padding: `${t?.padding?.top ?? 0}px ${t?.padding?.right ?? 0}px ${t?.padding?.bottom ?? 0}px ${t?.padding?.left ?? 0}px`
81
+ };
82
+ }
83
+ function z(t) {
84
+ return t?.fontFamily && s(t.fontFamily), {
85
+ fontSize: Math.max(6, t?.fontSize || 16) + "px",
86
+ color: t?.color || "#111111",
87
+ fontFamily: t?.fontFamily || "Arial, sans-serif",
88
+ fontWeight: t?.fontWeight || "normal",
89
+ fontStyle: t?.fontStyle || "normal",
90
+ textAlign: t?.align || "left",
91
+ lineHeight: String(t?.lineHeight ?? 1.5),
92
+ letterSpacing: `${t?.letterSpacing ?? 0}px`,
93
+ textTransform: t?.textTransform || "none",
94
+ textDecoration: t?.textDecoration || "none",
95
+ background: m(t),
96
+ margin: `${t?.margin?.top ?? 0}px ${t?.margin?.right ?? 0}px ${t?.margin?.bottom ?? 4}px ${t?.margin?.left ?? 0}px`,
97
+ padding: `${t?.padding?.top ?? 0}px ${t?.padding?.right ?? 0}px ${t?.padding?.bottom ?? 0}px ${t?.padding?.left ?? 0}px`
98
+ };
99
+ }
100
+ function A(t) {
101
+ return {
102
+ margin: `${t?.margin?.top ?? 0}px ${t?.margin?.right ?? 0}px ${t?.margin?.bottom ?? 0}px ${t?.margin?.left ?? 0}px`,
103
+ padding: `${t?.padding?.top ?? 0}px ${t?.padding?.right ?? 0}px ${t?.padding?.bottom ?? 0}px ${t?.padding?.left ?? 0}px`,
104
+ textAlign: t?.align || "left"
105
+ };
106
+ }
107
+ function C(t) {
108
+ const n = t?.align || "left";
109
+ return {
110
+ width: (t?.width || 100) + "%",
111
+ height: t?.height || "auto",
112
+ borderRadius: h(t?.borderRadius || 0),
113
+ ...y(t?.border),
114
+ display: "block",
115
+ margin: n === "center" ? "0 auto" : n === "right" ? "0 0 0 auto" : "0"
116
+ };
117
+ }
118
+ function H(t) {
119
+ return {
120
+ margin: `${t?.margin?.top ?? 0}px ${t?.margin?.right ?? 0}px ${t?.margin?.bottom ?? 0}px ${t?.margin?.left ?? 0}px`,
121
+ padding: `${t?.padding?.top ?? 0}px ${t?.padding?.right ?? 0}px ${t?.padding?.bottom ?? 0}px ${t?.padding?.left ?? 0}px`,
122
+ textAlign: t?.align || "left",
123
+ maxWidth: "100%"
124
+ };
125
+ }
126
+ function T(t) {
127
+ const n = t?.align || "left";
128
+ return {
129
+ width: "100%",
130
+ maxWidth: "100%",
131
+ paddingBottom: "56.25%",
132
+ height: "0",
133
+ position: "relative",
134
+ display: "inline-block",
135
+ borderRadius: h(t?.borderRadius || 0),
136
+ ...y(t?.border),
137
+ overflow: "hidden",
138
+ marginLeft: n === "center" || n === "right" ? "auto" : "0",
139
+ marginRight: n === "center" ? "auto" : "0",
140
+ boxSizing: "border-box"
141
+ };
142
+ }
143
+ function M() {
144
+ return {
145
+ position: "absolute",
146
+ top: "0",
147
+ left: "0",
148
+ width: "100%",
149
+ height: "100%",
150
+ objectFit: "cover",
151
+ display: "block"
152
+ };
153
+ }
154
+ function L() {
155
+ return {
156
+ position: "absolute",
157
+ top: "0",
158
+ left: "0",
159
+ width: "100%",
160
+ height: "100%",
161
+ background: "#e5e7eb",
162
+ display: "flex",
163
+ alignItems: "center",
164
+ justifyContent: "center"
165
+ };
166
+ }
167
+ function R(t) {
168
+ return {
169
+ margin: `${t?.margin?.top ?? 0}px ${t?.margin?.right ?? 0}px ${t?.margin?.bottom ?? 4}px ${t?.margin?.left ?? 0}px`,
170
+ textAlign: t?.align || "center"
171
+ };
172
+ }
173
+ function W(t) {
174
+ t?.fontFamily && s(t.fontFamily);
175
+ const n = !!t?.icon;
176
+ return {
177
+ background: m(t),
178
+ color: t?.color || "#ffffff",
179
+ fontSize: Math.max(5, t?.fontSize || 16) + "px",
180
+ fontWeight: t?.fontWeight || "500",
181
+ fontFamily: t?.fontFamily || "Arial, sans-serif",
182
+ letterSpacing: `${t?.letterSpacing ?? 0}px`,
183
+ padding: `${t?.padding?.top ?? 8}px ${t?.padding?.right ?? 16}px ${t?.padding?.bottom ?? 8}px ${t?.padding?.left ?? 16}px`,
184
+ borderRadius: h(t?.borderRadius || 4),
185
+ ...y(t?.border),
186
+ ...n ? {
187
+ display: "inline-flex",
188
+ alignItems: "center",
189
+ verticalAlign: "middle"
190
+ } : { display: "inline-block" },
191
+ lineHeight: "1.2",
192
+ textDecoration: "none"
193
+ };
194
+ }
195
+ function b(t) {
196
+ const n = Math.max(4, t?.iconSize ?? 20), i = t?.iconGap ?? 8, g = t?.iconPosition !== "after";
197
+ return {
198
+ display: "block",
199
+ width: n + "px",
200
+ height: n + "px",
201
+ flexShrink: "0",
202
+ marginRight: g ? i + "px" : "0",
203
+ marginLeft: g ? "0" : i + "px"
204
+ };
205
+ }
206
+ function v(t) {
207
+ const n = t.target;
208
+ n.style.display = "none";
209
+ }
210
+ function D(t) {
211
+ return {
212
+ margin: `${t?.margin?.top ?? 0}px ${t?.margin?.right ?? 0}px ${t?.margin?.bottom ?? 4}px ${t?.margin?.left ?? 0}px`,
213
+ padding: `${t?.padding?.top ?? 0}px ${t?.padding?.right ?? 0}px ${t?.padding?.bottom ?? 0}px ${t?.padding?.left ?? 0}px`,
214
+ textAlign: t?.align || "left"
215
+ };
216
+ }
217
+ function I(t) {
218
+ return t?.fontFamily && s(t.fontFamily), {
219
+ color: t?.color || "#007bff",
220
+ fontSize: Math.max(6, t?.fontSize || 16) + "px",
221
+ fontWeight: t?.fontWeight || "normal",
222
+ fontFamily: t?.fontFamily || "Arial, sans-serif",
223
+ letterSpacing: `${t?.letterSpacing ?? 0}px`,
224
+ textDecoration: t?.textDecoration || "underline"
225
+ };
226
+ }
227
+ function P(t) {
228
+ return t?.fontFamily && s(t.fontFamily), {
229
+ margin: `${t?.margin?.top ?? 0}px ${t?.margin?.right ?? 0}px ${t?.margin?.bottom ?? 0}px ${t?.margin?.left ?? 0}px`,
230
+ padding: `${t?.padding?.top ?? 0}px ${t?.padding?.right ?? 0}px ${t?.padding?.bottom ?? 0}px ${t?.padding?.left ?? 16}px`,
231
+ fontSize: Math.max(6, t?.fontSize || 16) + "px",
232
+ fontFamily: t?.fontFamily || "Arial, sans-serif",
233
+ lineHeight: String(t?.lineHeight ?? 1.5),
234
+ letterSpacing: `${t?.letterSpacing ?? 0}px`,
235
+ color: t?.color || "#111111",
236
+ background: m(t)
237
+ };
238
+ }
239
+ function B(t) {
240
+ return {
241
+ margin: `${t?.margin?.top ?? 0}px ${t?.margin?.right ?? 0}px ${t?.margin?.bottom ?? 0}px ${t?.margin?.left ?? 0}px`,
242
+ padding: `${t?.padding?.top ?? 0}px ${t?.padding?.right ?? 0}px ${t?.padding?.bottom ?? 0}px ${t?.padding?.left ?? 0}px`,
243
+ textAlign: t?.align || "left"
244
+ };
245
+ }
246
+ function E(t) {
247
+ const n = t?.align || "left";
248
+ return {
249
+ width: (t?.width || 100) + "%",
250
+ height: (t?.height || 1) + "px",
251
+ background: m(t),
252
+ border: "none",
253
+ margin: n === "center" ? "0 auto" : n === "right" ? "0 0 0 auto" : "0"
254
+ };
255
+ }
256
+ function j(t) {
257
+ return {
258
+ width: "100%",
259
+ height: (t?.height || 16) + "px",
260
+ background: m(t)
261
+ };
262
+ }
263
+ function N(t) {
264
+ return t?.fontFamily && s(t.fontFamily), {
265
+ margin: `${t?.margin?.top ?? 0}px ${t?.margin?.right ?? 0}px ${t?.margin?.bottom ?? 0}px ${t?.margin?.left ?? 0}px`,
266
+ padding: `${t?.padding?.top ?? 0}px ${t?.padding?.right ?? 0}px ${t?.padding?.bottom ?? 0}px ${t?.padding?.left ?? 0}px`,
267
+ textAlign: t?.align || "left",
268
+ lineHeight: "0",
269
+ background: m(t)
270
+ };
271
+ }
272
+ function G(t, n, i) {
273
+ t?.fontFamily && s(t.fontFamily);
274
+ const g = t?.mobileStack === !0, c = t?.spacing ?? 8, f = n === 0, p = n === i - 1;
275
+ return {
276
+ display: "inline-block",
277
+ marginLeft: f ? "0px" : `${c / 2}px`,
278
+ marginRight: p ? "0px" : `${c / 2}px`,
279
+ fontSize: Math.max(6, t?.fontSize ?? 14) + "px",
280
+ lineHeight: String(t?.lineHeight ?? 1.4),
281
+ letterSpacing: (t?.letterSpacing ?? 0) + "px",
282
+ color: t?.color || "#111111",
283
+ fontWeight: t?.fontWeight || "normal",
284
+ fontFamily: t?.fontFamily ? `'${t.fontFamily}', Arial, sans-serif` : "Arial, sans-serif",
285
+ fontStyle: t?.fontStyle || "normal",
286
+ textTransform: t?.textTransform || "none",
287
+ textDecoration: t?.textDecoration || "none",
288
+ whiteSpace: g ? "normal" : "nowrap",
289
+ cursor: "default"
290
+ };
291
+ }
292
+ function V(t) {
293
+ return {
294
+ margin: `${t?.margin?.top ?? 0}px ${t?.margin?.right ?? 0}px ${t?.margin?.bottom ?? 0}px ${t?.margin?.left ?? 0}px`,
295
+ padding: `${t?.padding?.top ?? 0}px ${t?.padding?.right ?? 0}px ${t?.padding?.bottom ?? 0}px ${t?.padding?.left ?? 0}px`,
296
+ textAlign: t?.align || "left",
297
+ display: "flex",
298
+ flexWrap: "wrap",
299
+ gap: (t?.spacing ?? 8) + "px",
300
+ justifyContent: t?.align === "center" ? "center" : t?.align === "right" ? "flex-end" : "flex-start"
301
+ };
302
+ }
303
+ return (t, n) => l.value === "heading" ? (o(), J(Q(e.comp.props?.level || "h2"), {
304
+ key: 0,
305
+ style: r(F(e.comp.props)),
306
+ class: "truncate",
307
+ innerHTML: x(e.comp.props?.content) || "Heading"
308
+ }, null, 8, ["style", "innerHTML"])) : l.value === "paragraph" ? (o(), a("p", {
309
+ key: 1,
310
+ style: r([z(e.comp.props), {
311
+ display: "-webkit-box",
312
+ "-webkit-line-clamp": "2",
313
+ "-webkit-box-orient": "vertical"
314
+ }]),
315
+ class: "overflow-hidden",
316
+ innerHTML: x(e.comp.props?.content) || "Text"
317
+ }, null, 12, U)) : l.value === "image" ? (o(), a("div", {
318
+ key: 2,
319
+ style: r(A(e.comp.props))
320
+ }, [d("img", {
321
+ src: e.comp.props?.src,
322
+ alt: e.comp.props?.alt || "",
323
+ style: r(C(e.comp.props))
324
+ }, null, 12, X)], 4)) : l.value === "video" ? (o(), a("div", {
325
+ key: 3,
326
+ style: r(H(e.comp.props))
327
+ }, [d("div", { style: r(T(e.comp.props)) }, [e.comp.props?.coverImage ? (o(), a("img", {
328
+ key: 0,
329
+ src: e.comp.props.coverImage,
330
+ alt: e.comp.props?.alt || "Video",
331
+ style: r(M())
332
+ }, null, 12, Y)) : (o(), a("div", {
333
+ key: 1,
334
+ style: r(L())
335
+ }, [(o(), a("svg", Z, [...n[0] || (n[0] = [d("path", {
336
+ "fill-rule": "evenodd",
337
+ d: "M10 18a8 8 0 100-16 8 8 0 000 16zM9.555 7.168A1 1 0 008 8v4a1 1 0 001.555.832l3-2a1 1 0 000-1.664l-3-2z",
338
+ "clip-rule": "evenodd"
339
+ }, null, -1)])]))], 4))], 4)], 4)) : l.value === "button" ? (o(), a("div", {
340
+ key: 4,
341
+ style: r(R(e.comp.props))
342
+ }, [d("span", {
343
+ style: r(W(e.comp.props)),
344
+ class: "inline-block truncate"
345
+ }, [
346
+ e.comp.props?.icon && e.comp.props?.iconPosition !== "after" ? (o(), a("img", {
347
+ key: 0,
348
+ src: e.comp.props.icon,
349
+ alt: e.comp.props?.iconAlt || "",
350
+ style: r(b(e.comp.props)),
351
+ onError: v
352
+ }, null, 44, _)) : k("", !0),
353
+ O(" " + u(e.comp.props?.text || "Button") + " ", 1),
354
+ e.comp.props?.icon && e.comp.props?.iconPosition === "after" ? (o(), a("img", {
355
+ key: 1,
356
+ src: e.comp.props.icon,
357
+ alt: e.comp.props?.iconAlt || "",
358
+ style: r(b(e.comp.props)),
359
+ onError: v
360
+ }, null, 44, tt)) : k("", !0)
361
+ ], 4)], 4)) : l.value === "anchor" ? (o(), a("div", {
362
+ key: 5,
363
+ style: r(D(e.comp.props))
364
+ }, [d("span", {
365
+ style: r(I(e.comp.props)),
366
+ class: "truncate block"
367
+ }, u(e.comp.props?.text || "Link"), 5)], 4)) : l.value === "list" ? (o(), a("div", {
368
+ key: 6,
369
+ style: r(P(e.comp.props)),
370
+ innerHTML: x(e.comp.props?.content) || "<ul><li>Item</li></ul>"
371
+ }, null, 12, et)) : l.value === "divider" ? (o(), a("div", {
372
+ key: 7,
373
+ style: r(B(e.comp.props))
374
+ }, [d("hr", { style: r(E(e.comp.props)) }, null, 4)], 4)) : l.value === "spacer" ? (o(), a("div", nt, [d("div", { style: r(j(e.comp.props)) }, null, 4)])) : l.value === "menu" ? (o(), a("div", {
375
+ key: 9,
376
+ style: r(N(e.comp.props))
377
+ }, [e.comp.props?.items?.some((i) => i.enabled && i.label) ? (o(!0), a(S, { key: 1 }, w(e.comp.props.items.filter((i) => i.enabled && i.label), (i, g) => (o(), a("span", {
378
+ key: i._id || g,
379
+ style: r(G(e.comp.props, Number(g), e.comp.props.items.filter((c) => c.enabled && c.label).length))
380
+ }, u(i.label), 5))), 128)) : (o(), a("div", it, " Menu "))], 4)) : l.value === "socials" ? (o(), a("div", {
381
+ key: 10,
382
+ style: r(V(e.comp.props))
383
+ }, [e.comp.props?.platforms?.some((i) => i.enabled && i.link) ? (o(!0), a(S, { key: 0 }, w(e.comp.props.platforms.filter((i) => i.enabled && i.link), (i) => (o(), a("span", {
384
+ key: i.name,
385
+ style: {
386
+ display: "inline-flex",
387
+ alignItems: "center",
388
+ justifyContent: "center"
389
+ }
390
+ }, [d("img", {
391
+ src: i.icon,
392
+ alt: i.name,
393
+ style: r({
394
+ width: (e.comp.props?.iconSize || 24) + "px",
395
+ height: (e.comp.props?.iconSize || 24) + "px",
396
+ display: "block"
397
+ })
398
+ }, null, 12, ot)]))), 128)) : (o(), a("span", at, "Socials"))], 4)) : (o(), a("div", rt, u(l.value), 1));
399
+ }
400
+ }), dt = lt;
401
+ export {
402
+ dt as default
403
+ };