@nexxtmove/ui 0.1.17 → 0.1.18
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/dist/index.js +62 -68
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as m, ref as N, computed as
|
|
1
|
+
import { defineComponent as m, ref as N, computed as f, watch as H, createBlock as k, openBlock as a, TransitionGroup as E, withCtx as y, createElementBlock as s, Fragment as S, renderList as T, createVNode as p, Transition as Z, toDisplayString as g, normalizeClass as c, createCommentVNode as b, renderSlot as w, createElementVNode as l, createTextVNode as M, watchEffect as C, normalizeStyle as F, withKeys as $, withModifiers as B, createStaticVNode as z, mergeProps as I, resolveDynamicComponent as V, createSlots as A } from "vue";
|
|
2
2
|
const L = /* @__PURE__ */ m({
|
|
3
3
|
__name: "AnimatedNumber",
|
|
4
4
|
props: {
|
|
@@ -7,13 +7,13 @@ const L = /* @__PURE__ */ m({
|
|
|
7
7
|
easing: { default: "ease-out" }
|
|
8
8
|
},
|
|
9
9
|
setup(e) {
|
|
10
|
-
const t = N("up"), n =
|
|
10
|
+
const t = N("up"), n = f(() => String(e.value).split("")), i = f(() => `duration-${e.duration}`);
|
|
11
11
|
return H(
|
|
12
12
|
() => e.value,
|
|
13
13
|
(u, d) => {
|
|
14
14
|
t.value = u > d ? "up" : "down";
|
|
15
15
|
}
|
|
16
|
-
), (u, d) => (a(),
|
|
16
|
+
), (u, d) => (a(), k(E, {
|
|
17
17
|
tag: "div",
|
|
18
18
|
class: "relative flex shrink-0 items-center tabular-nums",
|
|
19
19
|
"aria-label": e.value,
|
|
@@ -23,19 +23,19 @@ const L = /* @__PURE__ */ m({
|
|
|
23
23
|
"leave-to-class": t.value === "up" ? "-translate-y-full opacity-0" : "translate-y-full opacity-0",
|
|
24
24
|
"move-class": "transition-all duration-500 ease-in-out"
|
|
25
25
|
}, {
|
|
26
|
-
default:
|
|
26
|
+
default: y(() => [
|
|
27
27
|
(a(!0), s(S, null, T(n.value, (v, o) => (a(), s("div", {
|
|
28
28
|
key: o,
|
|
29
29
|
class: "relative inline-flex h-[1.5em] w-[1ch] items-center justify-center overflow-hidden",
|
|
30
30
|
"aria-hidden": "true"
|
|
31
31
|
}, [
|
|
32
|
-
|
|
32
|
+
p(Z, {
|
|
33
33
|
"enter-active-class": `transition-transform ${i.value} ${e.easing}`,
|
|
34
34
|
"leave-active-class": `absolute inset-0 transition-transform ${i.value} ${e.easing}`,
|
|
35
35
|
"enter-from-class": t.value === "up" ? "translate-y-full" : "-translate-y-full",
|
|
36
36
|
"leave-to-class": t.value === "up" ? "-translate-y-full" : "translate-y-full"
|
|
37
37
|
}, {
|
|
38
|
-
default:
|
|
38
|
+
default: y(() => [
|
|
39
39
|
(a(), s("span", {
|
|
40
40
|
key: v,
|
|
41
41
|
class: "flex h-full w-full items-center justify-center"
|
|
@@ -48,7 +48,7 @@ const L = /* @__PURE__ */ m({
|
|
|
48
48
|
_: 1
|
|
49
49
|
}, 8, ["aria-label", "enter-active-class", "leave-active-class", "enter-from-class", "leave-to-class"]));
|
|
50
50
|
}
|
|
51
|
-
}),
|
|
51
|
+
}), x = /* @__PURE__ */ m({
|
|
52
52
|
name: "NexxtIcon",
|
|
53
53
|
__name: "Icon",
|
|
54
54
|
props: {
|
|
@@ -87,11 +87,11 @@ const L = /* @__PURE__ */ m({
|
|
|
87
87
|
]),
|
|
88
88
|
"data-variant": e.variant
|
|
89
89
|
}, [
|
|
90
|
-
e.icon ? (a(), x
|
|
90
|
+
e.icon ? (a(), k(x, {
|
|
91
91
|
key: 0,
|
|
92
92
|
name: e.icon,
|
|
93
93
|
class: c(["transition-all duration-200", { "order-last": e.iconRight, "opacity-0": e.loading }])
|
|
94
|
-
}, null, 8, ["name", "class"])) :
|
|
94
|
+
}, null, 8, ["name", "class"])) : b("", !0),
|
|
95
95
|
t.$slots.default ? (a(), s("span", {
|
|
96
96
|
key: 1,
|
|
97
97
|
class: c([
|
|
@@ -102,8 +102,8 @@ const L = /* @__PURE__ */ m({
|
|
|
102
102
|
])
|
|
103
103
|
}, [
|
|
104
104
|
w(t.$slots, "default")
|
|
105
|
-
], 2)) :
|
|
106
|
-
|
|
105
|
+
], 2)) : b("", !0),
|
|
106
|
+
p(Z, {
|
|
107
107
|
"enter-active-class": "transition-opacity duration-200",
|
|
108
108
|
"enter-from-class": "opacity-0",
|
|
109
109
|
"enter-to-class": "opacity-100",
|
|
@@ -111,14 +111,14 @@ const L = /* @__PURE__ */ m({
|
|
|
111
111
|
"leave-from-class": "opacity-100",
|
|
112
112
|
"leave-to-class": "opacity-0"
|
|
113
113
|
}, {
|
|
114
|
-
default:
|
|
114
|
+
default: y(() => [
|
|
115
115
|
e.loading ? (a(), s("div", R, [
|
|
116
|
-
|
|
116
|
+
p(x, {
|
|
117
117
|
name: "spinner-third",
|
|
118
118
|
type: "light",
|
|
119
119
|
class: "fa-spin absolute text-sm"
|
|
120
120
|
})
|
|
121
|
-
])) :
|
|
121
|
+
])) : b("", !0)
|
|
122
122
|
]),
|
|
123
123
|
_: 1
|
|
124
124
|
})
|
|
@@ -131,7 +131,7 @@ const L = /* @__PURE__ */ m({
|
|
|
131
131
|
variant: { default: "default" }
|
|
132
132
|
},
|
|
133
133
|
setup(e) {
|
|
134
|
-
const t =
|
|
134
|
+
const t = f(() => {
|
|
135
135
|
switch (e.variant) {
|
|
136
136
|
case "warning":
|
|
137
137
|
return "bg-orange-500";
|
|
@@ -171,12 +171,12 @@ const L = /* @__PURE__ */ m({
|
|
|
171
171
|
class: c(["header flex items-center", t.$slots.center ? "grid grid-cols-3" : ""])
|
|
172
172
|
}, [
|
|
173
173
|
l("div", G, [
|
|
174
|
-
|
|
174
|
+
p(D, {
|
|
175
175
|
class: "shrink-0",
|
|
176
176
|
variant: "secondary",
|
|
177
177
|
onClick: e.backButtonAction
|
|
178
178
|
}, {
|
|
179
|
-
default:
|
|
179
|
+
default: y(() => [
|
|
180
180
|
M(g(e.backButtonText), 1)
|
|
181
181
|
]),
|
|
182
182
|
_: 1
|
|
@@ -185,13 +185,13 @@ const L = /* @__PURE__ */ m({
|
|
|
185
185
|
]),
|
|
186
186
|
t.$slots.center ? (a(), s("div", W, [
|
|
187
187
|
w(t.$slots, "center")
|
|
188
|
-
])) :
|
|
188
|
+
])) : b("", !0),
|
|
189
189
|
t.$slots.right ? (a(), s("div", {
|
|
190
190
|
key: 1,
|
|
191
191
|
class: c(t.$slots.center ? "col-span-1 col-start-3 flex justify-end" : "ml-auto")
|
|
192
192
|
}, [
|
|
193
193
|
w(t.$slots, "right")
|
|
194
|
-
], 2)) :
|
|
194
|
+
], 2)) : b("", !0)
|
|
195
195
|
], 2));
|
|
196
196
|
}
|
|
197
197
|
}), Y = {
|
|
@@ -207,7 +207,7 @@ const L = /* @__PURE__ */ m({
|
|
|
207
207
|
return (t, n) => (a(), s("div", Y, [
|
|
208
208
|
l("div", J, [
|
|
209
209
|
l("div", O, [
|
|
210
|
-
|
|
210
|
+
p(x, {
|
|
211
211
|
name: "thumbs-up",
|
|
212
212
|
size: "lg",
|
|
213
213
|
class: "text-white"
|
|
@@ -241,7 +241,7 @@ const L = /* @__PURE__ */ m({
|
|
|
241
241
|
},
|
|
242
242
|
emits: ["update:currentStep"],
|
|
243
243
|
setup(e) {
|
|
244
|
-
const t =
|
|
244
|
+
const t = f(() => Math.min(Math.max(0, e.currentStep), Math.max(0, e.steps - 1))), n = f(() => e.steps > 0 ? t.value + 1 : 0), i = f(() => e.steps <= 1 ? e.steps === 1 ? 100 : 0 : t.value / (e.steps - 1) * 100), u = f(() => !!e.stepTitles?.length);
|
|
245
245
|
return C(() => {
|
|
246
246
|
e.stepTitles && e.stepTitles.length !== e.steps && console.warn(
|
|
247
247
|
`[NexxtProgressBar] The "stepTitles" array length (${e.stepTitles.length}) must match the "steps" prop (${e.steps}).`
|
|
@@ -265,9 +265,9 @@ const L = /* @__PURE__ */ m({
|
|
|
265
265
|
}, null, 4)
|
|
266
266
|
], 8, a1),
|
|
267
267
|
u.value ? (a(), s("div", l1, [
|
|
268
|
-
|
|
268
|
+
p(L, { value: n.value }, null, 8, ["value"]),
|
|
269
269
|
l("span", null, "/" + g(e.steps), 1)
|
|
270
|
-
])) :
|
|
270
|
+
])) : b("", !0)
|
|
271
271
|
]),
|
|
272
272
|
u.value ? (a(), s("ol", s1, [
|
|
273
273
|
(a(!0), s(S, null, T(e.stepTitles, (o, r) => (a(), s("li", {
|
|
@@ -280,13 +280,13 @@ const L = /* @__PURE__ */ m({
|
|
|
280
280
|
role: r < t.value ? "button" : void 0,
|
|
281
281
|
tabindex: r < t.value ? 0 : void 0,
|
|
282
282
|
"aria-label": r < t.value ? `Ga naar ${o}` : void 0,
|
|
283
|
-
onClick: (
|
|
283
|
+
onClick: (h) => r < t.value && d.$emit("update:currentStep", r),
|
|
284
284
|
onKeydown: [
|
|
285
|
-
$((
|
|
286
|
-
$(B((
|
|
285
|
+
$((h) => r < t.value && d.$emit("update:currentStep", r), ["enter"]),
|
|
286
|
+
$(B((h) => r < t.value && d.$emit("update:currentStep", r), ["prevent"]), ["space"])
|
|
287
287
|
]
|
|
288
288
|
}, g(o), 43, n1))), 128))
|
|
289
|
-
])) :
|
|
289
|
+
])) : b("", !0)
|
|
290
290
|
])
|
|
291
291
|
]));
|
|
292
292
|
}
|
|
@@ -319,7 +319,7 @@ const L = /* @__PURE__ */ m({
|
|
|
319
319
|
x: "bg-brands-x",
|
|
320
320
|
google: "bg-brands-google",
|
|
321
321
|
tiktok: "bg-brands-tiktok"
|
|
322
|
-
}, u =
|
|
322
|
+
}, u = f(
|
|
323
323
|
() => n.filter((d) => t[d.name])
|
|
324
324
|
);
|
|
325
325
|
return (d, v) => (a(), s("ul", o1, [
|
|
@@ -328,7 +328,7 @@ const L = /* @__PURE__ */ m({
|
|
|
328
328
|
class: c(["inline-flex h-5 w-5 items-center justify-center rounded-full outline-1 outline-white", i[o.name]]),
|
|
329
329
|
"aria-label": o.label
|
|
330
330
|
}, [
|
|
331
|
-
|
|
331
|
+
p(x, {
|
|
332
332
|
name: o.icon,
|
|
333
333
|
type: "brands",
|
|
334
334
|
class: "text-[10px] text-white",
|
|
@@ -340,7 +340,7 @@ const L = /* @__PURE__ */ m({
|
|
|
340
340
|
}), d1 = ["aria-pressed"], u1 = {
|
|
341
341
|
key: 0,
|
|
342
342
|
class: "col-start-1 row-span-2 row-start-1"
|
|
343
|
-
},
|
|
343
|
+
}, f1 = ["srcset"], h1 = ["src"], p1 = ["muted"], m1 = ["src", "type"], v1 = { class: "flex aspect-square items-center justify-center rounded-full bg-cornflower-blue-500 px-2" }, b1 = { class: "goup-hover:opacity-0 z-20 col-start-1 row-start-2 flex items-center bg-social-media-template-info-bg px-5 pt-2.5 pb-3.5 text-white transition-all duration-300 ease-out group-hover:translate-y-full" }, g1 = { class: "heading-4" }, y1 = { class: "extra-small" }, F1 = /* @__PURE__ */ m({
|
|
344
344
|
name: "NexxtSocialMediaTemplate",
|
|
345
345
|
__name: "SocialMediaTemplate",
|
|
346
346
|
props: {
|
|
@@ -356,20 +356,20 @@ const L = /* @__PURE__ */ m({
|
|
|
356
356
|
},
|
|
357
357
|
emits: ["click"],
|
|
358
358
|
setup(e, { emit: t }) {
|
|
359
|
-
const n = t, i = N(null), u =
|
|
359
|
+
const n = t, i = N(null), u = f(() => e.mediaType !== "video" ? void 0 : {
|
|
360
360
|
mp4: "video/mp4",
|
|
361
361
|
webm: "video/webm",
|
|
362
362
|
ogg: "video/ogg",
|
|
363
363
|
mov: "video/quicktime",
|
|
364
364
|
avi: "video/x-msvideo",
|
|
365
365
|
mkv: "video/x-matroska"
|
|
366
|
-
}[e.mediaExtension || ""] || "video/mp4"), d =
|
|
366
|
+
}[e.mediaExtension || ""] || "video/mp4"), d = f(() => e.aspectRatio ? e.aspectRatio.startsWith("aspect-") ? e.aspectRatio.replace(":", "/") : `aspect-${e.aspectRatio.replace(":", "/")}` : e.mediaType === "video" ? "aspect-9/16" : ""), v = () => {
|
|
367
367
|
i.value && i.value.play();
|
|
368
368
|
}, o = () => {
|
|
369
369
|
i.value && i.value.pause();
|
|
370
370
|
};
|
|
371
|
-
return (r,
|
|
372
|
-
class: c(["group grid w-64 cursor-pointer grid-cols-1 grid-rows-[1fr_auto] overflow-hidden rounded-3xl outline-1 -outline-offset-1 transition-all
|
|
371
|
+
return (r, h) => (a(), s("div", {
|
|
372
|
+
class: c(["group grid w-64 cursor-pointer grid-cols-1 grid-rows-[1fr_auto] overflow-hidden rounded-3xl outline-1 -outline-offset-1 transition-all focus-visible:outline-2 focus-visible:outline-cornflower-blue-600", [
|
|
373
373
|
e.variant !== "post" ? d.value : "h-80",
|
|
374
374
|
e.selected ? "outline-cornflower-blue-500" : "outline-gray-200"
|
|
375
375
|
]]),
|
|
@@ -380,19 +380,19 @@ const L = /* @__PURE__ */ m({
|
|
|
380
380
|
onMouseleave: o,
|
|
381
381
|
onFocus: v,
|
|
382
382
|
onBlur: o,
|
|
383
|
-
onClick:
|
|
383
|
+
onClick: h[0] || (h[0] = (j) => n("click")),
|
|
384
384
|
onKeydown: [
|
|
385
|
-
|
|
386
|
-
|
|
385
|
+
h[1] || (h[1] = $(B((j) => n("click"), ["prevent"]), ["enter"])),
|
|
386
|
+
h[2] || (h[2] = $(B((j) => n("click"), ["prevent"]), ["space"]))
|
|
387
387
|
]
|
|
388
388
|
}, [
|
|
389
389
|
e.mediaType === "image" ? (a(), s("picture", u1, [
|
|
390
|
-
l("source", { srcset: e.media }, null, 8,
|
|
390
|
+
l("source", { srcset: e.media }, null, 8, f1),
|
|
391
391
|
l("img", {
|
|
392
392
|
src: e.media,
|
|
393
393
|
alt: "Media content",
|
|
394
394
|
class: "h-full w-full object-cover object-center"
|
|
395
|
-
}, null, 8,
|
|
395
|
+
}, null, 8, h1)
|
|
396
396
|
])) : (a(), s("video", {
|
|
397
397
|
key: 1,
|
|
398
398
|
ref_key: "videoRef",
|
|
@@ -405,13 +405,13 @@ const L = /* @__PURE__ */ m({
|
|
|
405
405
|
src: e.media,
|
|
406
406
|
type: u.value
|
|
407
407
|
}, null, 8, m1),
|
|
408
|
-
|
|
408
|
+
h[3] || (h[3] = M(" Your browser does not support the video tag. ", -1))
|
|
409
409
|
], 8, p1)),
|
|
410
410
|
l("div", {
|
|
411
411
|
class: c(["z-10 col-start-1 row-span-2 row-start-1 flex items-center justify-center bg-cornflower-blue-200/70 transition-opacity duration-300", e.selected ? "opacity-100" : "opacity-0"])
|
|
412
412
|
}, [
|
|
413
413
|
l("div", v1, [
|
|
414
|
-
|
|
414
|
+
p(x, {
|
|
415
415
|
name: "check",
|
|
416
416
|
class: "ml-auto block shrink-0 text-3xl text-white"
|
|
417
417
|
})
|
|
@@ -420,27 +420,21 @@ const L = /* @__PURE__ */ m({
|
|
|
420
420
|
l("div", b1, [
|
|
421
421
|
l("div", null, [
|
|
422
422
|
l("div", g1, g(e.name), 1),
|
|
423
|
-
l("div",
|
|
423
|
+
l("div", y1, g(e.type), 1)
|
|
424
424
|
]),
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
})) : p("", !0),
|
|
430
|
-
e.variant === "slideshow" ? (a(), x(y, {
|
|
431
|
-
key: 1,
|
|
432
|
-
name: "image-stack",
|
|
433
|
-
class: "ml-auto block shrink-0 text-3xl"
|
|
434
|
-
})) : p("", !0)
|
|
425
|
+
p(x, {
|
|
426
|
+
name: e.variant === "post" ? "image" : e.variant === "video" ? "play-circle" : "images",
|
|
427
|
+
class: "mb-1 ml-auto block shrink-0 self-end text-lg"
|
|
428
|
+
}, null, 8, ["name"])
|
|
435
429
|
])
|
|
436
430
|
], 42, d1));
|
|
437
431
|
}
|
|
438
|
-
}),
|
|
432
|
+
}), x1 = {
|
|
439
433
|
xmlns: "http://www.w3.org/2000/svg",
|
|
440
434
|
viewBox: "0 0 394.727 791.624"
|
|
441
435
|
};
|
|
442
436
|
function k1(e, t) {
|
|
443
|
-
return a(), s("svg",
|
|
437
|
+
return a(), s("svg", x1, [...t[0] || (t[0] = [
|
|
444
438
|
z('<path fill="#090814" d="M394.727 188.12h-4.353V68.962A68.963 68.963 0 0 0 321.412 0H68.963A68.963 68.963 0 0 0 0 68.962v653.7a68.963 68.963 0 0 0 68.962 68.962h252.45a68.963 68.963 0 0 0 68.963-68.963V272.937h4.352Z"></path><path fill="#fff" d="M324.203 17.943h-32.952a24.468 24.468 0 0 1-22.654 33.71H123.965a24.468 24.468 0 0 1-22.655-33.71H70.533a51.5 51.5 0 0 0-51.5 51.5v652.746a51.5 51.5 0 0 0 51.5 51.5h253.66a51.5 51.5 0 0 0 51.5-51.5V69.445a51.5 51.5 0 0 0-51.491-51.5Z"></path><path fill="#f2f2f2" d="M188.368 428.147c0 61.894-36.795 83.5-82.184 83.5S24 490.036 24 428.147s82.184-140.633 82.184-140.633 82.184 78.739 82.184 140.633"></path><path fill="#e6e6e6" d="m103.192 502.185.842-51.8 35.028-64.084-34.9 55.958.378-23.292 24.142-46.364-24.042 40.2.681-41.891 25.85-36.911-25.739 30.326.425-76.812-2.673 101.686.22-4.2-26.284-40.227 25.862 48.284-2.449 46.784-.073-1.242-30.299-42.334 30.208 46.724-.306 5.85-.055.088.025.481-6.213 118.7h8.3l1-61.309 30.134-46.609Z"></path><path fill="#f2f2f2" d="M370.006 394.663c0 76.7-45.6 103.476-101.845 103.476s-101.845-26.781-101.845-103.476S268.16 220.385 268.16 220.385s101.846 97.576 101.846 174.278"></path><path fill="#e6e6e6" d="m264.454 486.413 1.043-64.193 43.408-79.415-43.249 69.346.468-28.864 29.917-57.456-29.793 49.817.844-51.913 32.034-45.742-31.9 37.581.527-95.188-3.309 126.013.273-5.2-32.572-49.855 32.049 59.835-3.035 57.977-.09-1.539-37.548-52.463 37.435 57.9-.379 7.25-.068.109.031.6-7.7 147.1h10.286l1.239-75.976 37.343-57.76Z"></path><g transform="translate(-737.609 -43.85)"><circle cx="20.597" cy="20.597" r="20.597" fill="#2f2e41" transform="translate(914.156 243.577)"></circle><path fill="#ed9da0" d="m1008.156 198.66 6.881-5.771a8.133 8.133 0 0 0 .607-11.9 8.133 8.133 0 0 0-13.407 2.7l-3.284 8.393-26.293 45.137-13.366 36.592 10.737 12.928 14.461-44.7ZM861.789 198.66l-6.881-5.771a8.133 8.133 0 0 1-.607-11.9 8.133 8.133 0 0 1 13.407 2.7l3.284 8.393 26.293 45.137 14.68 37.03-12.051 12.489-14.461-44.7Z"></path><circle cx="10.517" cy="10.517" r="10.517" fill="#090814" transform="translate(925.113 233.06)"></circle><path fill="#ed9da0" d="m936.505 572.683-9.422-.657.438-128.4 23.226 5.7Z"></path><path fill="#090814" d="M925.938 604.606a9.16 9.16 0 0 1-8.443-6.134c-2.049-6.021-.99-11.749 2.578-17.242l-1.166-8.161a9.08 9.08 0 0 1 2.137-7.241l6.041-6.947v8.764c4.422-3.867 7.148-4.007 10.956-.876l-3.511 17.966.856 9.844a9.23 9.23 0 0 1-9.453 10.027Z"></path><path fill="#ed9da0" d="m951.624 312.159-36.811-.876c5.216-5.07 12.686-24.512 11.394-30.237h17.967c-2.156 5.892 2.018 25.907 7.45 31.113"></path><path fill="#f59e0b" d="m961.264 379.646-50.834-14.9 1.753-21.911-4.381-22.344c.447-2.425-11.123-32.374-10.517-34.62 2.42-8.972 8.759-7.732 13.366-14.242.748-1.057 6.586 6.377 10.362 11.4.448.774.756 1.3.968 1.655a13.1 13.1 0 0 1 1.763 7.961v.048c-2.069 7.161 2.684 4.225 10.137 4.349 6.323.105 12.051 5.115 12.051-1.208q-.016-.539-.043-1.118a17.64 17.64 0 0 1 2.22-9.273 39 39 0 0 1 2.016-3.5c4.277-6.047 10.166-14.083 10.487-12.944 1.351 4.795 8.3 8.823 10.737 17.31.375 1.306-1.883 9.235-1.753 10.517.976 9.611-.876 14.9-1.753 22.349a188.8 188.8 0 0 0-6.579 60.471"></path><path fill="#090814" d="m954.254 454.58-28.923-8.764-.438-26.293-22.788-43.822 8.764-14.461 49.957 13.147c3.41 21.843-.347 49.942-6.572 80.193"></path><path fill="#2f2e41" d="M940.669 419.524h-15.777l-29.36-41.193 10.517-8.765Z"></path><path fill="#090814" d="M948.119 419.086h-26.214a31.05 31.05 0 0 1-17.447-5.332 27.71 27.71 0 0 1-8.926-35.423l52.587 2.629Z"></path><path fill="#ed9da0" d="m925.182 389.548-23.077-.7q-.13-.329-.246-.66c-3.069-8.741 1.546-18.243 10.085-21.836.86-.362 1.733-.7 2.625-1a13.784 13.784 0 0 1 18.326 12.774 35 35 0 0 1-.327 5.25 7.216 7.216 0 0 1-7.383 6.172Z"></path><path fill="#ed9da0" d="M912.622 459.839h-9.2l-1.315-74.5 25.856-.438Z"></path><path fill="#090814" d="M902.273 492.576a9.16 9.16 0 0 1-8.443-6.134c-2.049-6.021-.99-11.749 2.578-17.242l-1.166-8.161a9.08 9.08 0 0 1 2.137-7.241l6.041-6.947v8.764c4.422-3.867 7.148-4.007 10.956-.876l-3.506 17.967.856 9.844a9.23 9.23 0 0 1-9.453 10.027Z"></path><circle cx="17.967" cy="17.967" r="17.967" fill="#ed9da0" transform="translate(917.443 251.685)"></circle><path fill="#090814" d="M951.186 261.763c0 9.2-8.332-3.944-17.529-3.944s-15.776 13.141-15.776 3.944a16.652 16.652 0 0 1 33.3 0Z"></path></g><path fill="none" stroke="#090814" stroke-linecap="round" stroke-width="5" d="M65.5 141.199h288"></path><path fill="#f2f2f2" d="M375.246 571.411H19.367v-3.3H375.41Z"></path><path fill="#f59e0b" d="M140 72.699h48a8 8 0 0 1 0 16h-48a8 8 0 0 1 0-16"></path><path fill="#e6e6e6" d="M208 72.699h48a8 8 0 0 1 0 16h-48a8 8 0 0 1 0-16"></path><path fill="#090814" d="M57 626.699h98a8 8 0 0 1 0 16H57a8 8 0 0 1 0-16"></path><path fill="#f59e0b" d="M183 626.699a8 8 0 1 1-8 8 8 8 0 0 1 8-8"></path><path fill="#e6e6e6" d="M57 650.699h208a8 8 0 0 1 0 16H57a8 8 0 0 1 0-16M57 674.699h208a8 8 0 0 1 0 16H57a8 8 0 0 1 0-16"></path><path fill="#090814" d="M62.494 775.195a51.68 51.68 0 0 1-44.131-44.029v-10.971h358.049v8.514a51.65 51.65 0 0 1-44.406 46.486Z"></path><path fill="#f59e0b" d="M65.5 735.699a16.5 16.5 0 1 1-16.5 16.5 16.5 16.5 0 0 1 16.5-16.5"></path><path fill="#3f3d56" d="M130.5 735.699a16.5 16.5 0 1 1-16.5 16.5 16.5 16.5 0 0 1 16.5-16.5M196.5 735.699a16.5 16.5 0 1 1-16.5 16.5 16.5 16.5 0 0 1 16.5-16.5M326.5 735.699a16.5 16.5 0 1 1-16.5 16.5 16.5 16.5 0 0 1 16.5-16.5M261.5 735.699a16.5 16.5 0 1 1-16.5 16.5 16.5 16.5 0 0 1 16.5-16.5"></path><path fill="#f59e0b" d="M328.5 666.699a16.5 16.5 0 1 1-16.5 16.5 16.5 16.5 0 0 1 16.5-16.5"></path><path fill="#e6e6e6" d="M328.5 625.699a16.5 16.5 0 1 1-16.5 16.5 16.5 16.5 0 0 1 16.5-16.5M328.5 584.699a16.5 16.5 0 1 1-16.5 16.5 16.5 16.5 0 0 1 16.5-16.5"></path><path fill="#f59e0b" d="M329 409.699a24 24 0 1 1-24 24 24 24 0 0 1 24-24"></path><path fill="#fe6583" d="M329 445.699a12 12 0 1 1-12 12 12 12 0 0 1 12-12"></path><path fill="#f2f2f2" d="M328.093 462.887c-.454-1.085 0-4.34 0-4.34s-3.207.427-4.275 0-1.069-1.281 0-1.708 4.275 0 4.275 0-.454-3.247 0-4.329 1.362-1.082 1.815 0 0 4.329 0 4.329 3.207-.427 4.275 0 1.069 1.281 0 1.708-4.275 0-4.275 0 .454 3.255 0 4.34-1.361 1.085-1.815 0"></path>', 22)
|
|
445
439
|
])]);
|
|
446
440
|
}
|
|
@@ -479,11 +473,11 @@ const z1 = { render: T1 }, j1 = { class: "flex items-center justify-end self-str
|
|
|
479
473
|
post: "Post",
|
|
480
474
|
reel: "TikTok & Reel",
|
|
481
475
|
story: "Story"
|
|
482
|
-
}, u =
|
|
476
|
+
}, u = f(() => ({
|
|
483
477
|
post: B1,
|
|
484
478
|
reel: w1,
|
|
485
479
|
story: z1
|
|
486
|
-
})[e.variant]), d =
|
|
480
|
+
})[e.variant]), d = f(() => {
|
|
487
481
|
if (e.icons)
|
|
488
482
|
return e.icons.map((o) => o === "twitter" ? "x" : o).reduce(
|
|
489
483
|
(o, r) => (o[r] = !0, o),
|
|
@@ -517,19 +511,19 @@ const z1 = { render: T1 }, j1 = { class: "flex items-center justify-end self-str
|
|
|
517
511
|
onClick: o[0] || (o[0] = (r) => n("click"))
|
|
518
512
|
}, [
|
|
519
513
|
l("div", j1, [
|
|
520
|
-
e.chip ? (a(),
|
|
514
|
+
e.chip ? (a(), k(K, {
|
|
521
515
|
key: 0,
|
|
522
516
|
variant: "warning"
|
|
523
517
|
}, {
|
|
524
|
-
default:
|
|
518
|
+
default: y(() => [
|
|
525
519
|
M(g(e.chip), 1)
|
|
526
520
|
]),
|
|
527
521
|
_: 1
|
|
528
|
-
})) :
|
|
529
|
-
|
|
522
|
+
})) : b("", !0),
|
|
523
|
+
p(c1, I({ class: "ml-auto" }, d.value, { "aria-hidden": "true" }), null, 16)
|
|
530
524
|
]),
|
|
531
525
|
l("div", N1, [
|
|
532
|
-
(a(),
|
|
526
|
+
(a(), k(V(u.value), {
|
|
533
527
|
class: "h-44 object-contain transition-transform group-hover:-translate-y-0.5",
|
|
534
528
|
"aria-hidden": "true"
|
|
535
529
|
}))
|
|
@@ -539,13 +533,13 @@ const z1 = { render: T1 }, j1 = { class: "flex items-center justify-end self-str
|
|
|
539
533
|
}, [
|
|
540
534
|
l("div", Z1, [
|
|
541
535
|
l("span", H1, [
|
|
542
|
-
e.selected ? (a(), x
|
|
536
|
+
e.selected ? (a(), k(x, {
|
|
543
537
|
key: 0,
|
|
544
538
|
name: "check",
|
|
545
539
|
type: "solid",
|
|
546
540
|
class: "absolute top-1/2 -translate-x-[calc(100%+4px)] -translate-y-[calc(50%+1px)] text-white",
|
|
547
541
|
"aria-hidden": "true"
|
|
548
|
-
})) :
|
|
542
|
+
})) : b("", !0),
|
|
549
543
|
M(" " + g(e.label ?? i[e.variant]), 1)
|
|
550
544
|
])
|
|
551
545
|
])
|
|
@@ -564,15 +558,15 @@ const z1 = { render: T1 }, j1 = { class: "flex items-center justify-end self-str
|
|
|
564
558
|
},
|
|
565
559
|
emits: ["update:currentStep"],
|
|
566
560
|
setup(e) {
|
|
567
|
-
return (t, n) => (a(),
|
|
561
|
+
return (t, n) => (a(), k(X, {
|
|
568
562
|
title: e.title,
|
|
569
563
|
"back-button-action": e.backButtonAction,
|
|
570
564
|
"back-button-text": e.backButtonText
|
|
571
565
|
}, A({ _: 2 }, [
|
|
572
566
|
e.steps ? {
|
|
573
567
|
name: "center",
|
|
574
|
-
fn:
|
|
575
|
-
|
|
568
|
+
fn: y(() => [
|
|
569
|
+
p(i1, {
|
|
576
570
|
class: "w-full",
|
|
577
571
|
steps: e.steps.length,
|
|
578
572
|
"step-titles": e.steps,
|
|
@@ -584,7 +578,7 @@ const z1 = { render: T1 }, j1 = { class: "flex items-center justify-end self-str
|
|
|
584
578
|
} : void 0,
|
|
585
579
|
t.$slots.default ? {
|
|
586
580
|
name: "right",
|
|
587
|
-
fn:
|
|
581
|
+
fn: y(() => [
|
|
588
582
|
w(t.$slots, "default")
|
|
589
583
|
]),
|
|
590
584
|
key: "1"
|
|
@@ -597,7 +591,7 @@ export {
|
|
|
597
591
|
D as NexxtButton,
|
|
598
592
|
K as NexxtChip,
|
|
599
593
|
X as NexxtHeader,
|
|
600
|
-
|
|
594
|
+
x as NexxtIcon,
|
|
601
595
|
C1 as NexxtInfoBlock,
|
|
602
596
|
i1 as NexxtProgressBar,
|
|
603
597
|
c1 as NexxtSocialIcons,
|