@feedmepos/mf-brand-app-builder 0.5.14-alpha.6 → 0.5.14-alpha.7
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/{App-DlXJxY3V.js → App-Cjs07ykk.js} +1 -1
- package/dist/{BuilderView-bU9SJ714.js → BuilderView-Bc4MY2yW.js} +7 -2
- package/dist/{ImageUpload-DvKlHwuV.js → ImageUpload-BOQ3EeH7.js} +1 -1
- package/dist/{ListRepeater-CyqBYwTm.js → ListRepeater-djDpG66Q.js} +1 -1
- package/dist/{ManagementSettings-DJnlZHFI.js → ManagementSettings-IjWJb-p3.js} +69 -89
- package/dist/{app-DLQzvkie.js → app-D2UO4Oi4.js} +5 -5
- package/dist/app.js +1 -1
- package/dist/client/components/src/components/NavigationBar.vue.d.ts +1 -1
- package/dist/client/components/src/components/OrderMethod.vue.d.ts +3 -0
- package/dist/{main-B7vr23OR.js → main-Fyx00kwA.js} +15 -5
- package/dist/package.json +1 -1
- package/package.json +1 -1
|
@@ -61,7 +61,7 @@ const $ = { class: "shrink-0 w-64 h-full bg-fm-color-neutral-white border-r bord
|
|
|
61
61
|
}
|
|
62
62
|
return x(async () => {
|
|
63
63
|
console.log(
|
|
64
|
-
`Running v0.5.14-alpha.
|
|
64
|
+
`Running v0.5.14-alpha.7 on ${e.namespace.value}`
|
|
65
65
|
), e.hideSidebar.value = !0;
|
|
66
66
|
}), y(() => {
|
|
67
67
|
e.hideSidebar.value = !1;
|
|
@@ -6,12 +6,12 @@ import { A as qn } from "./index-BakrTyC_.js";
|
|
|
6
6
|
import { v as wa } from "./v4-CKwdnpQf.js";
|
|
7
7
|
import { _ as Oe } from "./Icon.vue_vue_type_style_index_0_lang-BcRjQndc.js";
|
|
8
8
|
import { B as Ha } from "./BaDivider-Cp9gfB4r.js";
|
|
9
|
-
import { C as Ea, _ as Qn, a as eo } from "./main-
|
|
9
|
+
import { C as Ea, _ as Qn, a as eo } from "./main-Fyx00kwA.js";
|
|
10
10
|
import { useCoreStore as Le } from "@feedmepos/mf-common";
|
|
11
11
|
import { K as ie, V as to } from "./vue-sonner-CBFYmm8_.js";
|
|
12
12
|
import { useDialog as ao, components as no } from "@feedmepos/ui-library";
|
|
13
13
|
import { useRouter as za } from "vue-router";
|
|
14
|
-
import { F as oo, a as io } from "./app-
|
|
14
|
+
import { F as oo, a as io } from "./app-D2UO4Oi4.js";
|
|
15
15
|
import { u as ro } from "./index-CajMju7D.js";
|
|
16
16
|
/**!
|
|
17
17
|
* Sortable 1.14.0
|
|
@@ -8470,6 +8470,11 @@ const Br = { class: "flex items-center justify-center" }, Dr = { class: "w-full
|
|
|
8470
8470
|
$formkit: "BaSwitch",
|
|
8471
8471
|
label: "Delivery",
|
|
8472
8472
|
name: "showDelivery"
|
|
8473
|
+
},
|
|
8474
|
+
{
|
|
8475
|
+
$formkit: "BaSwitch",
|
|
8476
|
+
label: "Queue",
|
|
8477
|
+
name: "showQueue"
|
|
8473
8478
|
}
|
|
8474
8479
|
]
|
|
8475
8480
|
},
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as y, ref as b, resolveComponent as w, createElementBlock as r, openBlock as s, createVNode as c, createCommentVNode as f, Fragment as C, createElementVNode as i, unref as u } from "vue";
|
|
2
2
|
import { r as g, I as h } from "./image-CgXjWyqN.js";
|
|
3
3
|
import { useCoreStore as I } from "@feedmepos/mf-common";
|
|
4
|
-
import "./main-
|
|
4
|
+
import "./main-Fyx00kwA.js";
|
|
5
5
|
import { _ as $ } from "./Icon.vue_vue_type_style_index_0_lang-BcRjQndc.js";
|
|
6
6
|
import { C as k } from "./CircularProgress-DdblYCtV.js";
|
|
7
7
|
import { v as F } from "./v4-CKwdnpQf.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as b, resolveComponent as y, createBlock as s, openBlock as c, unref as u, withCtx as i, createElementBlock as m, Fragment as x, renderList as g, createElementVNode as p, createVNode as n, resolveDynamicComponent as F } from "vue";
|
|
2
|
-
import { F as f } from "./app-
|
|
2
|
+
import { F as f } from "./app-D2UO4Oi4.js";
|
|
3
3
|
const h = { class: "flex justify-end gap-4 items-center w-full py-16 px-12 border-b" }, z = { class: "flex flex-col gap-4 w-full p-12" }, I = /* @__PURE__ */ b({
|
|
4
4
|
__name: "ListRepeater",
|
|
5
5
|
props: {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { useCoreStore as
|
|
1
|
+
import { defineComponent as B, ref as w, computed as j, watch as z, resolveComponent as c, createElementBlock as y, openBlock as p, createElementVNode as i, createVNode as l, createBlock as S, unref as o, withCtx as $ } from "vue";
|
|
2
|
+
import { useCoreStore as F } from "@feedmepos/mf-common";
|
|
3
3
|
import { B as g } from "./index-CgMKkAzT.js";
|
|
4
|
-
import { K as
|
|
5
|
-
import { r as
|
|
6
|
-
import { useSnackbar as
|
|
7
|
-
const
|
|
4
|
+
import { K as C } from "./vue-sonner-CBFYmm8_.js";
|
|
5
|
+
import { r as U, I as P } from "./image-CgXjWyqN.js";
|
|
6
|
+
import { useSnackbar as V } from "@feedmepos/ui-library";
|
|
7
|
+
const q = new RegExp(/^[a-z0-9][a-z0-9\-]{4,}[a-z0-9]$/), I = [
|
|
8
8
|
"brand",
|
|
9
9
|
"home",
|
|
10
10
|
"app",
|
|
@@ -502,22 +502,23 @@ const I = new RegExp(/^[a-z0-9][a-z0-9\-]{4,}[a-z0-9]$/), R = [
|
|
|
502
502
|
"za",
|
|
503
503
|
"zm",
|
|
504
504
|
"zw"
|
|
505
|
-
],
|
|
505
|
+
], R = { class: "w-full flex flex-col gap-40" }, A = { class: "flex flex-col gap-24" }, L = { class: "w-full flex items-center justify-between h-[36px]" }, T = { class: "w-full flex gap-32" }, E = { class: "relative shrink-0 h-[100px] w-[100px]" }, K = ["src"], M = { class: "absolute -top-8 -right-8 rounded-full h-32 w-32 border border-fm-color-neutral-gray-100 bg-fm-color-neutral-white flex justify-center items-center" }, N = { class: "w-full flex flex-col gap-24 max-w-[400px]" }, X = /* @__PURE__ */ B({
|
|
506
506
|
__name: "ManagementSettings",
|
|
507
|
-
setup(
|
|
508
|
-
const s =
|
|
507
|
+
setup(D) {
|
|
508
|
+
const s = F(), h = V(), d = w(!0), a = w({
|
|
509
509
|
name: "",
|
|
510
510
|
url: "",
|
|
511
511
|
thumbnail: ""
|
|
512
|
-
})
|
|
512
|
+
});
|
|
513
|
+
j(
|
|
513
514
|
() => "https://{slug}.feedmedev.vip".replace("https://{slug}", "")
|
|
514
515
|
);
|
|
515
|
-
function
|
|
516
|
-
var
|
|
516
|
+
function k() {
|
|
517
|
+
var t, e;
|
|
517
518
|
navigator.clipboard.writeText(
|
|
518
519
|
"https://{slug}.feedmedev.vip".replace(
|
|
519
520
|
"{slug}",
|
|
520
|
-
((
|
|
521
|
+
((t = s.currentBusiness.value) == null ? void 0 : t.url) ?? ((e = s.currentBusiness.value) == null ? void 0 : e._id)
|
|
521
522
|
)
|
|
522
523
|
).then(() => {
|
|
523
524
|
h.open(
|
|
@@ -537,100 +538,87 @@ const I = new RegExp(/^[a-z0-9][a-z0-9\-]{4,}[a-z0-9]$/), R = [
|
|
|
537
538
|
);
|
|
538
539
|
});
|
|
539
540
|
}
|
|
540
|
-
function
|
|
541
|
-
|
|
541
|
+
function x() {
|
|
542
|
+
C.promise(
|
|
542
543
|
g.setShortUrl(
|
|
543
|
-
|
|
544
|
+
a.value.url,
|
|
544
545
|
s.currentBusiness.value.url ?? "",
|
|
545
546
|
s.currentBusiness.value._id
|
|
546
|
-
).then(async (
|
|
547
|
+
).then(async (t) => await g.updateBusinessProfile(
|
|
547
548
|
s.currentBusiness.value._id,
|
|
548
549
|
{
|
|
549
|
-
name:
|
|
550
|
-
url:
|
|
550
|
+
name: a.value.name,
|
|
551
|
+
url: a.value.url,
|
|
551
552
|
thumbnail: s.currentBusiness.value.thumbnail,
|
|
552
553
|
coverPhoto: s.currentBusiness.value.coverPhoto
|
|
553
554
|
}
|
|
554
|
-
).then(() =>
|
|
555
|
+
).then(() => t).catch((e) => {
|
|
555
556
|
throw { message: e.message };
|
|
556
|
-
})).catch((
|
|
557
|
-
throw { message:
|
|
557
|
+
})).catch((t) => {
|
|
558
|
+
throw { message: t.message };
|
|
558
559
|
}),
|
|
559
560
|
{
|
|
560
561
|
loading: "Saving your settings...",
|
|
561
562
|
success: () => "Settings saved",
|
|
562
|
-
error: (
|
|
563
|
+
error: (t) => t.message ?? "An error occured when saving your settings, please try again"
|
|
563
564
|
}
|
|
564
565
|
);
|
|
565
566
|
}
|
|
566
|
-
function
|
|
567
|
+
function _(t) {
|
|
567
568
|
var r, u;
|
|
568
|
-
const e = ((r =
|
|
569
|
-
|
|
569
|
+
const e = ((r = t.dataTransfer) == null ? void 0 : r.files[0]) ?? ((u = t.target) == null ? void 0 : u.files[0]);
|
|
570
|
+
P.uploadImage(
|
|
570
571
|
s.currentBusiness.value._id,
|
|
571
572
|
`thumbnail/${(/* @__PURE__ */ new Date()).toISOString()}.${e.name.split(".").pop()}`,
|
|
572
573
|
e
|
|
573
|
-
).then(async (
|
|
574
|
+
).then(async (m) => {
|
|
574
575
|
await g.updateBusinessProfile(s.currentBusiness.value._id, {
|
|
575
|
-
name:
|
|
576
|
-
url:
|
|
577
|
-
thumbnail: `https://image.feedmedev.cc/business/${s.currentBusiness.value._id}/${
|
|
576
|
+
name: a.value.name,
|
|
577
|
+
url: a.value.url,
|
|
578
|
+
thumbnail: `https://image.feedmedev.cc/business/${s.currentBusiness.value._id}/${m.imagePath}`,
|
|
578
579
|
coverPhoto: s.currentBusiness.value.coverPhoto
|
|
579
|
-
}),
|
|
580
|
+
}), a.value.thumbnail = `https://image.feedmedev.cc/business/${s.currentBusiness.value._id}/${m.imagePath}`;
|
|
580
581
|
});
|
|
581
582
|
}
|
|
582
|
-
|
|
583
|
-
var a, e;
|
|
584
|
-
x.promise(
|
|
585
|
-
navigator.clipboard.writeText(
|
|
586
|
-
`${((a = s.currentBusiness.value) == null ? void 0 : a.url) ?? ((e = s.currentBusiness.value) == null ? void 0 : e._id)}${v.value}`
|
|
587
|
-
),
|
|
588
|
-
{
|
|
589
|
-
loading: "Copying...",
|
|
590
|
-
success: () => "Link copied",
|
|
591
|
-
error: () => "Error copying link, please try again"
|
|
592
|
-
}
|
|
593
|
-
);
|
|
594
|
-
}
|
|
595
|
-
return F(
|
|
583
|
+
return z(
|
|
596
584
|
() => s.currentBusiness.value,
|
|
597
585
|
() => {
|
|
598
|
-
var
|
|
599
|
-
|
|
586
|
+
var t, e, r;
|
|
587
|
+
a.value.name = ((t = s.currentBusiness.value) == null ? void 0 : t.name) ?? "", a.value.url = ((e = s.currentBusiness.value) == null ? void 0 : e.url) ?? "", a.value.thumbnail = ((r = s.currentBusiness.value) == null ? void 0 : r.thumbnail) ?? "";
|
|
600
588
|
},
|
|
601
589
|
{ immediate: !0 }
|
|
602
|
-
), (
|
|
603
|
-
var
|
|
604
|
-
const r =
|
|
605
|
-
return
|
|
606
|
-
i("div",
|
|
607
|
-
i("div",
|
|
590
|
+
), (t, e) => {
|
|
591
|
+
var v, b;
|
|
592
|
+
const r = c("FmButton"), u = c("FmAvatar"), m = c("FmIcon"), f = c("FmTextField");
|
|
593
|
+
return p(), y("div", R, [
|
|
594
|
+
i("div", A, [
|
|
595
|
+
i("div", L, [
|
|
608
596
|
e[5] || (e[5] = i("h2", { class: "fm-typo-en-title-sm-600 text-fm-color-typo-primary" }, " Business details ", -1)),
|
|
609
|
-
|
|
610
|
-
disabled:
|
|
597
|
+
l(r, {
|
|
598
|
+
disabled: d.value,
|
|
611
599
|
label: "Save",
|
|
612
|
-
onClick:
|
|
600
|
+
onClick: x
|
|
613
601
|
}, null, 8, ["disabled"])
|
|
614
602
|
]),
|
|
615
|
-
i("div",
|
|
616
|
-
i("div",
|
|
617
|
-
|
|
603
|
+
i("div", T, [
|
|
604
|
+
i("div", E, [
|
|
605
|
+
a.value.thumbnail ? (p(), y("img", {
|
|
618
606
|
key: 0,
|
|
619
607
|
class: "h-full w-full rounded-full",
|
|
620
|
-
src:
|
|
621
|
-
}, null, 8,
|
|
608
|
+
src: o(U)(a.value.thumbnail)
|
|
609
|
+
}, null, 8, K)) : (p(), S(u, {
|
|
622
610
|
key: 1,
|
|
623
|
-
name: ((
|
|
611
|
+
name: ((v = o(s).currentBusiness.value) == null ? void 0 : v.name) ?? "",
|
|
624
612
|
class: "h-full w-full !fm-typo-en-title-md-600 bg-fm-color-primary-oats text-fm-color-primary"
|
|
625
613
|
}, null, 8, ["name"])),
|
|
626
|
-
i("button",
|
|
614
|
+
i("button", M, [
|
|
627
615
|
i("input", {
|
|
628
616
|
class: "absolute top-0 left-0 h-32 w-32 opacity-0 cursor-pointer",
|
|
629
617
|
type: "file",
|
|
630
618
|
accept: "image/*",
|
|
631
|
-
onChange:
|
|
619
|
+
onChange: _
|
|
632
620
|
}, null, 32),
|
|
633
|
-
|
|
621
|
+
l(m, {
|
|
634
622
|
size: "md",
|
|
635
623
|
name: "edit",
|
|
636
624
|
color: "neutral-black",
|
|
@@ -638,44 +626,36 @@ const I = new RegExp(/^[a-z0-9][a-z0-9\-]{4,}[a-z0-9]$/), R = [
|
|
|
638
626
|
})
|
|
639
627
|
])
|
|
640
628
|
]),
|
|
641
|
-
i("div",
|
|
642
|
-
|
|
629
|
+
i("div", N, [
|
|
630
|
+
l(f, {
|
|
643
631
|
class: "w-full",
|
|
644
632
|
label: "Business name",
|
|
645
|
-
modelValue:
|
|
633
|
+
modelValue: a.value.name,
|
|
646
634
|
"onUpdate:modelValue": [
|
|
647
|
-
e[0] || (e[0] = (n) =>
|
|
648
|
-
e[1] || (e[1] = (n) =>
|
|
635
|
+
e[0] || (e[0] = (n) => a.value.name = n),
|
|
636
|
+
e[1] || (e[1] = (n) => d.value = !1)
|
|
649
637
|
]
|
|
650
638
|
}, null, 8, ["modelValue"]),
|
|
651
|
-
|
|
639
|
+
l(f, {
|
|
652
640
|
class: "w-full",
|
|
653
641
|
label: "URL",
|
|
654
|
-
placeholder: (
|
|
655
|
-
modelValue:
|
|
642
|
+
placeholder: (b = o(s).currentBusiness.value) == null ? void 0 : b._id,
|
|
643
|
+
modelValue: a.value.url,
|
|
656
644
|
"onUpdate:modelValue": [
|
|
657
|
-
e[3] || (e[3] = (n) =>
|
|
658
|
-
e[4] || (e[4] = (n) =>
|
|
645
|
+
e[3] || (e[3] = (n) => a.value.url = n),
|
|
646
|
+
e[4] || (e[4] = (n) => d.value = !1)
|
|
659
647
|
],
|
|
660
648
|
rules: [
|
|
661
|
-
(n) => !n ||
|
|
662
|
-
(n) => !n || !
|
|
649
|
+
(n) => !n || o(q).test(n) || "Min 6 characters, alphanumeric only",
|
|
650
|
+
(n) => !n || !o(I).includes(n) || "Business URL is reserved"
|
|
663
651
|
]
|
|
664
652
|
}, {
|
|
665
|
-
prepend:
|
|
666
|
-
|
|
653
|
+
prepend: $(() => [
|
|
654
|
+
l(r, {
|
|
667
655
|
icon: "content_copy",
|
|
668
656
|
size: "md",
|
|
669
657
|
variant: "plain",
|
|
670
|
-
onClick: e[2] || (e[2] = (n) =>
|
|
671
|
-
})
|
|
672
|
-
]),
|
|
673
|
-
append: _(() => [
|
|
674
|
-
i("span", H, P(v.value), 1),
|
|
675
|
-
o(r, {
|
|
676
|
-
icon: "content_copy",
|
|
677
|
-
variant: "plain",
|
|
678
|
-
onClick: $
|
|
658
|
+
onClick: e[2] || (e[2] = (n) => k())
|
|
679
659
|
})
|
|
680
660
|
]),
|
|
681
661
|
_: 1
|
|
@@ -688,5 +668,5 @@ const I = new RegExp(/^[a-z0-9][a-z0-9\-]{4,}[a-z0-9]$/), R = [
|
|
|
688
668
|
}
|
|
689
669
|
});
|
|
690
670
|
export {
|
|
691
|
-
|
|
671
|
+
X as default
|
|
692
672
|
};
|
|
@@ -13,7 +13,7 @@ const vo = [
|
|
|
13
13
|
{
|
|
14
14
|
path: "/builder/:templateId(.*)*",
|
|
15
15
|
name: "builder",
|
|
16
|
-
component: L(() => import("./BuilderView-
|
|
16
|
+
component: L(() => import("./BuilderView-Bc4MY2yW.js"))
|
|
17
17
|
},
|
|
18
18
|
{
|
|
19
19
|
path: "/settings",
|
|
@@ -32,7 +32,7 @@ const vo = [
|
|
|
32
32
|
path: "management",
|
|
33
33
|
name: "settings-management",
|
|
34
34
|
component: L(
|
|
35
|
-
() => import("./ManagementSettings-
|
|
35
|
+
() => import("./ManagementSettings-IjWJb-p3.js")
|
|
36
36
|
)
|
|
37
37
|
}
|
|
38
38
|
]
|
|
@@ -4698,7 +4698,7 @@ const go = (e) => {
|
|
|
4698
4698
|
),
|
|
4699
4699
|
BaListRepeater: U(
|
|
4700
4700
|
L(
|
|
4701
|
-
() => import("./ListRepeater-
|
|
4701
|
+
() => import("./ListRepeater-djDpG66Q.js")
|
|
4702
4702
|
)
|
|
4703
4703
|
),
|
|
4704
4704
|
BaTextStyleList: U(
|
|
@@ -4718,7 +4718,7 @@ const go = (e) => {
|
|
|
4718
4718
|
),
|
|
4719
4719
|
BaImageUpload: U(
|
|
4720
4720
|
L(
|
|
4721
|
-
() => import("./ImageUpload-
|
|
4721
|
+
() => import("./ImageUpload-BOQ3EeH7.js")
|
|
4722
4722
|
),
|
|
4723
4723
|
{ props: ["ignoreUpdate"] }
|
|
4724
4724
|
),
|
|
@@ -4739,7 +4739,7 @@ const go = (e) => {
|
|
|
4739
4739
|
}
|
|
4740
4740
|
})
|
|
4741
4741
|
);
|
|
4742
|
-
}, ho = L(() => import("./App-
|
|
4742
|
+
}, ho = L(() => import("./App-Cjs07ykk.js"));
|
|
4743
4743
|
export {
|
|
4744
4744
|
dn as F,
|
|
4745
4745
|
pn as a,
|
package/dist/app.js
CHANGED
|
@@ -7,7 +7,7 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<__VLS_Prop
|
|
|
7
7
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
8
8
|
onBack?: (() => any) | undefined;
|
|
9
9
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
10
|
-
|
|
10
|
+
append?: ((props: {}) => any) | undefined;
|
|
11
11
|
}>;
|
|
12
12
|
export default _default;
|
|
13
13
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -4,6 +4,7 @@ interface ITextDisplayProps {
|
|
|
4
4
|
showQr: boolean;
|
|
5
5
|
showPickUp: boolean;
|
|
6
6
|
showDelivery: boolean;
|
|
7
|
+
showQueue: boolean;
|
|
7
8
|
qrStyle: {
|
|
8
9
|
textColor: string;
|
|
9
10
|
iconColor: string;
|
|
@@ -18,9 +19,11 @@ declare const _default: import("vue").DefineComponent<ITextDisplayProps, {}, {},
|
|
|
18
19
|
qrOrder: () => any;
|
|
19
20
|
delivery: () => any;
|
|
20
21
|
pickup: () => any;
|
|
22
|
+
queue: () => any;
|
|
21
23
|
}, string, import("vue").PublicProps, Readonly<ITextDisplayProps> & Readonly<{
|
|
22
24
|
onQrOrder?: (() => any) | undefined;
|
|
23
25
|
onDelivery?: (() => any) | undefined;
|
|
24
26
|
onPickup?: (() => any) | undefined;
|
|
27
|
+
onQueue?: (() => any) | undefined;
|
|
25
28
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
26
29
|
export default _default;
|
|
@@ -6191,10 +6191,11 @@ const re = ["src"], ne = {
|
|
|
6191
6191
|
showQr: { type: Boolean },
|
|
6192
6192
|
showPickUp: { type: Boolean },
|
|
6193
6193
|
showDelivery: { type: Boolean },
|
|
6194
|
+
showQueue: { type: Boolean },
|
|
6194
6195
|
qrStyle: {},
|
|
6195
6196
|
pickupDeliveryStyle: {}
|
|
6196
6197
|
},
|
|
6197
|
-
emits: ["qrOrder", "delivery", "pickup"],
|
|
6198
|
+
emits: ["qrOrder", "delivery", "pickup", "queue"],
|
|
6198
6199
|
setup(B, { emit: A }) {
|
|
6199
6200
|
const C = B, g = A, e = hA(() => [
|
|
6200
6201
|
...C.showDelivery ? [
|
|
@@ -6214,6 +6215,15 @@ const re = ["src"], ne = {
|
|
|
6214
6215
|
g("pickup");
|
|
6215
6216
|
}
|
|
6216
6217
|
}
|
|
6218
|
+
] : [],
|
|
6219
|
+
...C.showQueue ? [
|
|
6220
|
+
{
|
|
6221
|
+
name: "Queue",
|
|
6222
|
+
icon: "add_to_queue",
|
|
6223
|
+
action: () => {
|
|
6224
|
+
g("queue");
|
|
6225
|
+
}
|
|
6226
|
+
}
|
|
6217
6227
|
] : []
|
|
6218
6228
|
]);
|
|
6219
6229
|
return (E, I) => (F(), _(oA, vA(E.containerStyles, { class: "overflow-hidden" }), {
|
|
@@ -6235,12 +6245,12 @@ const re = ["src"], ne = {
|
|
|
6235
6245
|
}, 8, ["button-color", "text-color", "icon-color"])) : N("", !0),
|
|
6236
6246
|
e.value.length > 0 ? (F(), L("div", {
|
|
6237
6247
|
key: 1,
|
|
6238
|
-
class: QA(["w-full py-4 px-16 flex items-center", e.value.length > 1 ? "justify-between" : "justify-center"])
|
|
6248
|
+
class: QA(["w-full py-4 px-16 flex items-center gap-4", e.value.length > 1 ? "justify-between" : "justify-center"])
|
|
6239
6249
|
}, [
|
|
6240
6250
|
(F(!0), L(AA, null, rA(e.value, (Q) => (F(), L(AA, null, [
|
|
6241
6251
|
D("button", {
|
|
6242
6252
|
type: "button",
|
|
6243
|
-
class: "w-full flex items-center justify-center gap-
|
|
6253
|
+
class: "w-full flex items-center justify-center gap-8",
|
|
6244
6254
|
onClick: Q.action,
|
|
6245
6255
|
style: q({
|
|
6246
6256
|
color: E.pickupDeliveryStyle.textColor
|
|
@@ -6761,7 +6771,7 @@ const PA = /* @__PURE__ */ QC(wE), fE = { class: "fm-typo-en-body-sm-600" }, BC
|
|
|
6761
6771
|
}),
|
|
6762
6772
|
D("div", LE, x(g.title), 1)
|
|
6763
6773
|
]),
|
|
6764
|
-
FA(g.$slots, "
|
|
6774
|
+
FA(g.$slots, "append")
|
|
6765
6775
|
], 2);
|
|
6766
6776
|
};
|
|
6767
6777
|
}
|
|
@@ -7485,7 +7495,7 @@ const PA = /* @__PURE__ */ QC(wE), fE = { class: "fm-typo-en-body-sm-600" }, BC
|
|
|
7485
7495
|
]))
|
|
7486
7496
|
])
|
|
7487
7497
|
]),
|
|
7488
|
-
g.value ? (F(), L("div", lQ, [
|
|
7498
|
+
g.value && g.value.program.reward ? (F(), L("div", lQ, [
|
|
7489
7499
|
Q[16] || (Q[16] = D("div", { class: "fm-typo-en-body-lg-600" }, "Your rewards", -1)),
|
|
7490
7500
|
Q[17] || (Q[17] = D("div", { class: "mt-4 fm-typo-en-body-sm-400 text-fm-color-typo-secondary" }, " The more you invite, the more rewards you get! ", -1)),
|
|
7491
7501
|
Q[18] || (Q[18] = D("div", { class: "h-[1px] bg-fm-color-neutral-gray-100 w-full my-12" }, null, -1)),
|
package/dist/package.json
CHANGED