@feedmepos/mf-brand-app-builder 0.5.11-alpha → 0.5.11
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-HmTl4UNG.js → App-BpeA3Apz.js} +6 -6
- package/dist/{AssetsSettings-CEE324yJ.js → AssetsSettings-CpolHf9m.js} +5 -5
- package/dist/{BuilderView-DWl3h2k9.js → BuilderView-7RZ42i1A.js} +5 -5
- package/dist/{ImageUpload-DKnCHOIX.js → ImageUpload-jL5eYjTl.js} +7 -7
- package/dist/{LinkButton-DqPM-ILu.js → LinkButton-DSzPrKwg.js} +1 -1
- package/dist/{ListRepeater-eX5bRq3G.js → ListRepeater-DYjj8nI1.js} +1 -1
- package/dist/{ManagementSettings-B7bOKxr_.js → ManagementSettings-DLQAE5tt.js} +5 -5
- package/dist/{app-Dk2q-I0Y.js → app-JSHXAy49.js} +7 -7
- package/dist/app.js +1 -1
- package/dist/{image-D7X25pKn.js → image-iPd2Pjtn.js} +8 -8
- package/dist/{index-4BDCQhnW.js → index-Cf_Vke2-.js} +131 -131
- package/dist/{index-B1VIIc4c.js → index-GWwfgXav.js} +18 -18
- package/dist/{index-CDkBzOOg.js → index-ctrCMOtp.js} +13 -13
- package/dist/package.json +1 -1
- package/package.json +1 -1
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { defineComponent as d, computed as
|
|
1
|
+
import { defineComponent as d, computed as h, resolveComponent as u, openBlock as l, createElementBlock as m, Fragment as f, renderList as v, createVNode as n, unref as p, withCtx as _, ref as x, onMounted as b, onBeforeMount as w, watch as y, createElementVNode as i, createBlock as B, createCommentVNode as k } from "vue";
|
|
2
2
|
import { useCoreStore as C } from "@feedmepos/mf-common";
|
|
3
3
|
import { V as F } from "./vue-sonner-PX6Req0V.js";
|
|
4
4
|
import { useRoute as R, RouterLink as S, RouterView as V } from "vue-router";
|
|
5
|
-
import { g as L } from "./index-
|
|
5
|
+
import { g as L } from "./index-Cf_Vke2-.js";
|
|
6
6
|
const A = { class: "shrink-0 w-64 h-full bg-fm-color-neutral-white border-r border-fm-color-neutral-gray-100 p-[10px] flex flex-col gap-12" }, N = /* @__PURE__ */ d({
|
|
7
7
|
__name: "NavigationSidebar",
|
|
8
|
-
setup(
|
|
8
|
+
setup(g) {
|
|
9
9
|
const e = R(), r = [
|
|
10
10
|
// {
|
|
11
11
|
// name: 'home',
|
|
@@ -19,7 +19,7 @@ const A = { class: "shrink-0 w-64 h-full bg-fm-color-neutral-white border-r bord
|
|
|
19
19
|
name: "settings",
|
|
20
20
|
icon: "settings"
|
|
21
21
|
}
|
|
22
|
-
], a =
|
|
22
|
+
], a = h(
|
|
23
23
|
() => (t) => e.matched.map((s) => s.name).includes(t)
|
|
24
24
|
);
|
|
25
25
|
return (t, s) => {
|
|
@@ -44,14 +44,14 @@ const A = { class: "shrink-0 w-64 h-full bg-fm-color-neutral-white border-r bord
|
|
|
44
44
|
}
|
|
45
45
|
}), P = { class: "relative h-[calc(100vh-56px)] w-screen" }, z = { class: "flex w-full h-full" }, G = /* @__PURE__ */ d({
|
|
46
46
|
__name: "App",
|
|
47
|
-
setup(
|
|
47
|
+
setup(g) {
|
|
48
48
|
const e = C(), r = x(!0);
|
|
49
49
|
async function a() {
|
|
50
50
|
var t;
|
|
51
51
|
r.value = !0, (t = e.currentBusiness.value) != null && t._id && (r.value = !1);
|
|
52
52
|
}
|
|
53
53
|
return b(() => {
|
|
54
|
-
console.log("Running v0.5.11
|
|
54
|
+
console.log("Running v0.5.11"), e.hideSidebar.value = !0, L();
|
|
55
55
|
}), w(() => {
|
|
56
56
|
e.hideSidebar.value = !1;
|
|
57
57
|
}), y(
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as Z, ref as c, watch as y, resolveComponent as u, openBlock as P, createElementBlock as B, createElementVNode as w, createBlock as h, createCommentVNode as d, createVNode as D, createSlots as b, withCtx as a, Fragment as j, unref as G } from "vue";
|
|
2
|
-
import { B as X } from "./index-
|
|
3
|
-
import { r as Y, I as C } from "./image-
|
|
2
|
+
import { B as X } from "./index-ctrCMOtp.js";
|
|
3
|
+
import { r as Y, I as C } from "./image-iPd2Pjtn.js";
|
|
4
4
|
import { useCoreStore as m } from "@feedmepos/mf-common";
|
|
5
5
|
import { C as N, D as F } from "./CircularProgress-h90pbjU3.js";
|
|
6
6
|
import { K as V } from "./vue-sonner-PX6Req0V.js";
|
|
@@ -46,7 +46,7 @@ const i = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgAAAAIACAYAAAD0eNT6AAA
|
|
|
46
46
|
name: e.currentBusiness.value.name,
|
|
47
47
|
thumbnail: e.currentBusiness.value.thumbnail,
|
|
48
48
|
url: e.currentBusiness.value.url,
|
|
49
|
-
coverPhoto: `https://image.
|
|
49
|
+
coverPhoto: `https://image.feedme.cc/business/${e.currentBusiness.value._id}/${A}?t=${Date.now().toString()}`
|
|
50
50
|
}).then(
|
|
51
51
|
() => {
|
|
52
52
|
var M;
|
|
@@ -59,7 +59,7 @@ const i = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgAAAAIACAYAAAD0eNT6AAA
|
|
|
59
59
|
e.currentBusiness.value._id,
|
|
60
60
|
r.value
|
|
61
61
|
).then(
|
|
62
|
-
() => g.value = `https://api.
|
|
62
|
+
() => g.value = `https://api.feedme.vip/metadata/${e.currentBusiness.value._id}/pwa-512x512.png`
|
|
63
63
|
);
|
|
64
64
|
},
|
|
65
65
|
{
|
|
@@ -77,7 +77,7 @@ const i = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgAAAAIACAYAAAD0eNT6AAA
|
|
|
77
77
|
e.currentBusiness.value._id
|
|
78
78
|
).then((A) => A.pwaConfig.name).catch(() => ""), f.value = Y(
|
|
79
79
|
((v = e.currentBusiness.value) == null ? void 0 : v.coverPhoto) ?? ""
|
|
80
|
-
), g.value = `https://api.
|
|
80
|
+
), g.value = `https://api.feedme.vip/metadata/${e.currentBusiness.value._id}/pwa-512x512.png`);
|
|
81
81
|
},
|
|
82
82
|
{
|
|
83
83
|
immediate: !0
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { resolveComponent as Y, TransitionGroup as Fo, defineComponent as ie, h as Qt, nextTick as On, isRef as Po, isReactive as Ao, isProxy as $o, toRaw as Mo, ref as J, openBlock as D, createElementBlock as O, Fragment as Te, renderList as ot, unref as A, createElementVNode as k, toDisplayString as Pe, createVNode as S, withCtx as M, createBlock as te, createCommentVNode as ne, computed as re, withDirectives as At, withModifiers as Zt, vShow as $t, normalizeClass as Ke, watch as en, createTextVNode as Lo, onMounted as Un, normalizeProps as Cn, mergeProps as Ro, resolveDynamicComponent as Oo, guardReactiveProps as Uo, normalizeStyle as Vo, renderSlot as dn, provide as Ho, inject as zo, markRaw as Yo } from "vue";
|
|
2
|
-
import { T as jo, B as Vn, u as rt } from "./index-
|
|
2
|
+
import { T as jo, B as Vn, u as rt } from "./index-GWwfgXav.js";
|
|
3
3
|
import { defineStore as Hn, storeToRefs as Go } from "pinia";
|
|
4
4
|
import { v as _n } from "./v4-ANoOI1Qw.js";
|
|
5
5
|
import { _ as ke } from "./Icon.vue_vue_type_style_index_0_lang-CVCHCcWR.js";
|
|
@@ -7,8 +7,8 @@ import { _ as Wo, a as Xo, C as Ko } from "./main-CZCjdYQJ.js";
|
|
|
7
7
|
import { useCoreStore as Fe } from "@feedmepos/mf-common";
|
|
8
8
|
import { K as se, V as Jo } from "./vue-sonner-PX6Req0V.js";
|
|
9
9
|
import { useDialog as qo, components as Qo } from "@feedmepos/ui-library";
|
|
10
|
-
import { F as Zo, a as er } from "./app-
|
|
11
|
-
import { B as tr } from "./index-
|
|
10
|
+
import { F as Zo, a as er } from "./app-JSHXAy49.js";
|
|
11
|
+
import { B as tr } from "./index-ctrCMOtp.js";
|
|
12
12
|
/**!
|
|
13
13
|
* Sortable 1.14.0
|
|
14
14
|
* @author RubaXa <trash@rubaxa.org>
|
|
@@ -2650,7 +2650,7 @@ const si = { class: "flex flex-col gap-24 h-full flex-shrink-0 w-[320px] bg-fm-c
|
|
|
2650
2650
|
}
|
|
2651
2651
|
async function g() {
|
|
2652
2652
|
var w;
|
|
2653
|
-
const m = `${"https://{slug}.
|
|
2653
|
+
const m = `${"https://{slug}.feedme.vip".replace("{slug}", `${r.currentBusiness.value.url ?? ((w = r.currentBusiness.value) == null ? void 0 : w.id)}`)}`;
|
|
2654
2654
|
se.promise(
|
|
2655
2655
|
async () => {
|
|
2656
2656
|
var v;
|
|
@@ -4212,7 +4212,7 @@ lt.toString = yn.bind(null, function(t, e, n) {
|
|
|
4212
4212
|
const pa = { class: "flex items-center justify-center" }, ma = { class: "w-full flex gap-8 justify-end items-center" }, ha = /* @__PURE__ */ ie({
|
|
4213
4213
|
__name: "PreviewQrCode",
|
|
4214
4214
|
setup(t) {
|
|
4215
|
-
const e = J(), n = Fe(), o = rt(), r = J(!1), i = re(() => `${`${"https://{slug}.
|
|
4215
|
+
const e = J(), n = Fe(), o = rt(), r = J(!1), i = re(() => `${`${"https://{slug}.feedme.vip".replace("{slug}", `${n.currentBusiness.value.url}`)}`}/preview/${o.state.selectedTemplate.templateId}`);
|
|
4216
4216
|
function a() {
|
|
4217
4217
|
se.promise(navigator.clipboard.writeText(i.value), {
|
|
4218
4218
|
loading: "Copying...",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineComponent as y, ref as b, resolveComponent as w, openBlock as r, createElementBlock as s, createVNode as c, Fragment as C, createElementVNode as i, unref as u, createCommentVNode as
|
|
2
|
-
import { r as g, I as h } from "./image-
|
|
1
|
+
import { defineComponent as y, ref as b, resolveComponent as w, openBlock as r, createElementBlock as s, createVNode as c, Fragment as C, createElementVNode as i, unref as u, createCommentVNode as d } from "vue";
|
|
2
|
+
import { r as g, I as h } from "./image-iPd2Pjtn.js";
|
|
3
3
|
import { useCoreStore as I } from "@feedmepos/mf-common";
|
|
4
4
|
import "./main-CZCjdYQJ.js";
|
|
5
5
|
import { _ as $ } from "./Icon.vue_vue_type_style_index_0_lang-CVCHCcWR.js";
|
|
@@ -22,12 +22,12 @@ const B = { class: "w-full h-[210px] relative" }, P = { class: "absolute z-[1] t
|
|
|
22
22
|
o
|
|
23
23
|
).then((m) => {
|
|
24
24
|
var p;
|
|
25
|
-
const a = `https://image.
|
|
25
|
+
const a = `https://image.feedme.cc/business/${l.currentBusiness.value._id}/${m.imagePath}`;
|
|
26
26
|
e.context.node.input(a);
|
|
27
27
|
const n = new Image();
|
|
28
28
|
(p = e.context.attrs.props) != null && p.ignoreUpdate || (n.onload = () => {
|
|
29
|
-
var
|
|
30
|
-
((
|
|
29
|
+
var f;
|
|
30
|
+
((f = e.context.node.at("$root")) == null ? void 0 : f._value).containerStyles.height = `${Math.min(n.height, 400)}px`;
|
|
31
31
|
}), n.src = g(a);
|
|
32
32
|
}).finally(() => t.value = !1);
|
|
33
33
|
}
|
|
@@ -60,10 +60,10 @@ const B = { class: "w-full h-[210px] relative" }, P = { class: "absolute z-[1] t
|
|
|
60
60
|
class: "!text-[16px] text-fm-color-typo-white"
|
|
61
61
|
})
|
|
62
62
|
])
|
|
63
|
-
], 64)) :
|
|
63
|
+
], 64)) : d("", !0),
|
|
64
64
|
t.value ? (r(), s("div", z, [
|
|
65
65
|
c(u(k))
|
|
66
|
-
])) :
|
|
66
|
+
])) : d("", !0)
|
|
67
67
|
]);
|
|
68
68
|
};
|
|
69
69
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as L, ref as f, computed as k, onBeforeMount as P, resolveComponent as c, openBlock as p, createBlock as v, withCtx as m, createElementBlock as x, createElementVNode as o, toDisplayString as I, createVNode as r, withModifiers as R, Fragment as C, renderList as F } from "vue";
|
|
2
|
-
import { u as $, B as y } from "./index-
|
|
2
|
+
import { u as $, B as y } from "./index-GWwfgXav.js";
|
|
3
3
|
import { _ as j } from "./Icon.vue_vue_type_style_index_0_lang-CVCHCcWR.js";
|
|
4
4
|
import { useCoreStore as z } from "@feedmepos/mf-common";
|
|
5
5
|
const A = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as b, resolveComponent as y, openBlock as c, createBlock as s, 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-JSHXAy49.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,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent as x, ref as b, computed as B, watch as j, resolveComponent as m, openBlock as p, createElementBlock as w, createElementVNode as r, createVNode as c, unref as l, createBlock as z, withCtx as S, toDisplayString as $ } from "vue";
|
|
2
2
|
import { useCoreStore as F } from "@feedmepos/mf-common";
|
|
3
|
-
import { B as g } from "./index-
|
|
3
|
+
import { B as g } from "./index-ctrCMOtp.js";
|
|
4
4
|
import { K as P } from "./vue-sonner-PX6Req0V.js";
|
|
5
|
-
import { r as U, I as V } from "./image-
|
|
5
|
+
import { r as U, I as V } from "./image-iPd2Pjtn.js";
|
|
6
6
|
const q = new RegExp(/^[a-z0-9][a-z0-9\-]{4,}[a-z0-9]$/), C = [
|
|
7
7
|
"brand",
|
|
8
8
|
"home",
|
|
@@ -509,7 +509,7 @@ const q = new RegExp(/^[a-z0-9][a-z0-9\-]{4,}[a-z0-9]$/), C = [
|
|
|
509
509
|
url: "",
|
|
510
510
|
thumbnail: ""
|
|
511
511
|
}), y = B(
|
|
512
|
-
() => "https://{slug}.
|
|
512
|
+
() => "https://{slug}.feedme.vip".replace("https://{slug}", "")
|
|
513
513
|
);
|
|
514
514
|
function k() {
|
|
515
515
|
P.promise(
|
|
@@ -548,9 +548,9 @@ const q = new RegExp(/^[a-z0-9][a-z0-9\-]{4,}[a-z0-9]$/), C = [
|
|
|
548
548
|
await g.updateBusinessProfile(s.currentBusiness.value._id, {
|
|
549
549
|
name: a.value.name,
|
|
550
550
|
url: a.value.url,
|
|
551
|
-
thumbnail: `https://image.
|
|
551
|
+
thumbnail: `https://image.feedme.cc/business/${s.currentBusiness.value._id}/${u.imagePath}`,
|
|
552
552
|
coverPhoto: s.currentBusiness.value.coverPhoto
|
|
553
|
-
}), a.value.thumbnail = `https://image.
|
|
553
|
+
}), a.value.thumbnail = `https://image.feedme.cc/business/${s.currentBusiness.value._id}/${u.imagePath}`;
|
|
554
554
|
});
|
|
555
555
|
}
|
|
556
556
|
return j(
|
|
@@ -8,7 +8,7 @@ const vo = [
|
|
|
8
8
|
{
|
|
9
9
|
path: "/builder",
|
|
10
10
|
name: "builder",
|
|
11
|
-
component: L(() => import("./BuilderView-
|
|
11
|
+
component: L(() => import("./BuilderView-7RZ42i1A.js"))
|
|
12
12
|
},
|
|
13
13
|
{
|
|
14
14
|
path: "/settings",
|
|
@@ -19,12 +19,12 @@ const vo = [
|
|
|
19
19
|
{
|
|
20
20
|
path: "assets",
|
|
21
21
|
name: "settings-assets",
|
|
22
|
-
component: L(() => import("./AssetsSettings-
|
|
22
|
+
component: L(() => import("./AssetsSettings-CpolHf9m.js"))
|
|
23
23
|
},
|
|
24
24
|
{
|
|
25
25
|
path: "management",
|
|
26
26
|
name: "settings-management",
|
|
27
|
-
component: L(() => import("./ManagementSettings-
|
|
27
|
+
component: L(() => import("./ManagementSettings-DLQAE5tt.js"))
|
|
28
28
|
}
|
|
29
29
|
]
|
|
30
30
|
},
|
|
@@ -4669,18 +4669,18 @@ const go = (e) => {
|
|
|
4669
4669
|
BaStepperField: B(L(() => import("./StepperField-DrHM9EDn.js")), { props: ["suffix", "disabled"] }),
|
|
4670
4670
|
BaColorPicker: B(L(() => import("./ColorPicker-DAysa9fA.js"))),
|
|
4671
4671
|
BaSelect: B(L(() => import("./Select-CbQFoAzb.js")), { props: ["selectItems"] }),
|
|
4672
|
-
BaListRepeater: B(L(() => import("./ListRepeater-
|
|
4672
|
+
BaListRepeater: B(L(() => import("./ListRepeater-DYjj8nI1.js"))),
|
|
4673
4673
|
BaTextStyleList: B(L(() => import("./TextStyleList-CuPE80Py.js"))),
|
|
4674
4674
|
BaTextAlign: B(L(() => import("./TextAlign-BOC8ekaH.js"))),
|
|
4675
4675
|
BaTextDecorators: B(L(() => import("./TextDecorators-BJC4umDR.js"))),
|
|
4676
|
-
BaImageUpload: B(L(() => import("./ImageUpload-
|
|
4677
|
-
BaLinkButton: B(L(() => import("./LinkButton-
|
|
4676
|
+
BaImageUpload: B(L(() => import("./ImageUpload-jL5eYjTl.js"))),
|
|
4677
|
+
BaLinkButton: B(L(() => import("./LinkButton-DSzPrKwg.js"))),
|
|
4678
4678
|
BaSwitch: B(L(() => import("./Switch-8mmNQUDo.js"))),
|
|
4679
4679
|
BaButtonGroup: B(L(() => import("./ButtonGroup-B3ba45VA.js")), { props: ["groupItems"] })
|
|
4680
4680
|
}
|
|
4681
4681
|
})
|
|
4682
4682
|
);
|
|
4683
|
-
}, ho = L(() => import("./App-
|
|
4683
|
+
}, ho = L(() => import("./App-BpeA3Apz.js"));
|
|
4684
4684
|
export {
|
|
4685
4685
|
dn as F,
|
|
4686
4686
|
pn as a,
|
package/dist/app.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { H as r } from "./index-
|
|
1
|
+
import { H as r } from "./index-Cf_Vke2-.js";
|
|
2
2
|
async function p(e, t, a) {
|
|
3
3
|
const n = new FormData();
|
|
4
4
|
return n.append("file", a), (await r.Put(
|
|
5
|
-
"https://api.
|
|
5
|
+
"https://api.feedme.vip",
|
|
6
6
|
`/image/${e}/${t}`,
|
|
7
7
|
{
|
|
8
8
|
headers: {
|
|
@@ -12,15 +12,15 @@ async function p(e, t, a) {
|
|
|
12
12
|
}
|
|
13
13
|
)).data;
|
|
14
14
|
}
|
|
15
|
-
async function
|
|
15
|
+
async function i(e, t) {
|
|
16
16
|
return (await r.Delete(
|
|
17
|
-
"https://api.
|
|
17
|
+
"https://api.feedme.vip",
|
|
18
18
|
`/image/${e}/${t}`
|
|
19
19
|
)).data;
|
|
20
20
|
}
|
|
21
|
-
async function
|
|
21
|
+
async function s(e, t) {
|
|
22
22
|
const a = new FormData();
|
|
23
|
-
return a.append("file", t), a.append("businessId", e), (await r.Put("https://pwa-icon-service.
|
|
23
|
+
return a.append("file", t), a.append("businessId", e), (await r.Put("https://pwa-icon-service.feedmeapi.com", "", {
|
|
24
24
|
headers: {
|
|
25
25
|
"Content-Type": "multipart/form-data"
|
|
26
26
|
},
|
|
@@ -29,8 +29,8 @@ async function i(e, t) {
|
|
|
29
29
|
}
|
|
30
30
|
const o = {
|
|
31
31
|
uploadImage: p,
|
|
32
|
-
deleteImage:
|
|
33
|
-
uploadAppIcon:
|
|
32
|
+
deleteImage: i,
|
|
33
|
+
uploadAppIcon: s
|
|
34
34
|
};
|
|
35
35
|
function c(e) {
|
|
36
36
|
return e.replace("images.feedme-dev.workers.dev", "image.feedmedev.vip").replace("image.feedmedev.cc", "image.feedmedev.vip");
|
|
@@ -4,11 +4,11 @@ function Pe(e, t) {
|
|
|
4
4
|
return e.apply(t, arguments);
|
|
5
5
|
};
|
|
6
6
|
}
|
|
7
|
-
var _e = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_510a4ffb-e18d-42f1-ae4a-78ef11e5ff99", npm_package_devDependencies__types_node: "^20.12.5", STATS_TRP: "true", DEPLOYMENT_BASEPATH: "/opt/runner", DOTNET_NOLOGO: "1", npm_package_dependencies_pinia: "^2.1.7", USER: "runner", npm_config_user_agent: "pnpm/8.15.9 npm/? node/v20.18.3 linux x64", CI: "true", npm_package_dependencies_vue: "^3.5.12", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_510a4ffb-e18d-42f1-ae4a-78ef11e5ff99", PIPX_HOME: "/opt/pipx", npm_package_devDependencies__tsconfig_node20: "^20.1.4", npm_package_devDependencies_tsc_alias: "^1.8.10", npm_package_devDependencies_vite: "^5.2.11", npm_node_execpath: "/opt/hostedtoolcache/node/20.18.3/x64/bin/node", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", SHLVL: "1", npm_package_files_0: "dist", HOME: "/home/runner", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", npm_package_scripts_build_mf_dev: "vite build --mode fmmf:dev", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "feedmepos", npm_package_scripts_build_mf_prod: "vite build --mode fmmf:prod", GRADLE_HOME: "/usr/share/gradle-8.13", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/28.0.13004108", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", STATS_RDCL: "true", GITHUB_RETENTION_DAYS: "90", npm_package_scripts_type_check: "vue-tsc --build --force", npm_package_dependencies__feedmepos_mf_common: "^1.8.33", npm_package_devDependencies_npm_run_all2: "^6.1.2", GITHUB_REPOSITORY_OWNER_ID: "54831515", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu24", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", SYSTEMD_EXEC_PID: "716", npm_package_dependencies__feedmepos_ui_library: "^1.2.39", npm_package_dependencies_dotenv: "^16.4.5", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_scripts_build_only_dev: "pnpm build:mf:dev && pnpm build:dts && pnpm build-types && cp package.json ./dist", npm_package_devDependencies_tailwindcss: "^3.4.3", npm_package_devDependencies_typescript: "~5.4.0", NVM_DIR: "/home/runner/.nvm", npm_package_scripts_build_only_prod: "pnpm build:mf:prod && pnpm build:dts && pnpm build-types && cp package.json ./dist", npm_package_devDependencies_vue_tsc: "^2.0.11", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", GOROOT_1_21_X64: "/opt/hostedtoolcache/go/1.21.13/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20250302.1.0", npm_package_scripts_dev: "vite --mode dev", npm_package_devDependencies_prettier: "^3.2.5", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.12/x64", STORE_PATH: "/home/runner/setup-pnpm/node_modules/.bin/store/v3", SWIFT_PATH: "/usr/share/swift/usr/bin", npm_package_type: "module", npm_package_scripts_prod: "vite --mode prod", npm_package_devDependencies__vue_tsconfig: "^0.5.1", npm_package_devDependencies_vite_plugin_vue_devtools: "^7.0.25", RUNNER_USER: "runner", STATS_V3PS: "true", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", GOROOT_1_23_X64: "/opt/hostedtoolcache/go/1.23.6/x64", JOURNAL_STREAM: "8:6099", GITHUB_WORKFLOW: "[DEV/BETA] Publish Brand App Builder to NPM", _: "/home/runner/setup-pnpm/node_modules/.bin/pnpm", npm_package_module: "./dist/app.js", npm_package_devDependencies_autoprefixer: "^10.4.19", MEMORY_PRESSURE_WATCH: "/sys/fs/cgroup/system.slice/runner-provisioner.service/memory.pressure", npm_package_scripts_lint: "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore", npm_package_devDependencies__types_uuid: "^9.0.8", npm_config_registry: "https://registry.npmjs.org", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", STATS_D: "false", GITHUB_RUN_ID: "13807402902", STATS_VMFE: "true", npm_package_scripts_deploy_npm_dev: "pnpm run build-only:dev && pnpm publish --tag beta --no-git-checks --access public .", npm_package_dependencies_vue_sonner: "^1.1.4", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "04a5fd4eae2882c07761b6ac6df00e0185f5d8b5", GITHUB_BASE_REF: "", ImageOS: "ubuntu24", npm_package_exports___import: "./dist/app.js", npm_package_scripts_deploy_npm_prod: "pnpm run build-only:prod && pnpm publish --no-git-checks --access public .", npm_package_devDependencies__vitejs_plugin_vue: "^5.0.4", GITHUB_WORKFLOW_REF: "feedmepos/brand-app/.github/workflows/brand-app-npm-dev.yml@refs/heads/dev/ba-portal", PERFLOG_LOCATION_SETTING: "RUNNER_PERFLOG", GITHUB_ACTION_REPOSITORY: "", npm_package_dependencies_axios: "^1.7.2", npm_config_node_gyp: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@8.15.9/node_modules/pnpm/dist/node_modules/node-gyp/bin/node-gyp.js", PATH: "/home/runner/work/brand-app/brand-app/client/merchant/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@8.15.9/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/brand-app/brand-app/client/merchant/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@8.15.9/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/brand-app/brand-app/client/merchant/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@8.15.9/node_modules/pnpm/dist/node-gyp-bin:/home/runner/setup-pnpm/node_modules/.bin:/opt/hostedtoolcache/node/20.18.3/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_0850e68c-ed55-496e-b5a1-52441251cb9f", INVOCATION_ID: "a566d94f2fdc443581348022d13f9ff6", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", NODE: "/opt/hostedtoolcache/node/20.18.3/x64/bin/node", npm_package_name: "@feedmepos/mf-brand-app-builder", npm_package_dependencies__formkit_vue: "^1.6.7", npm_package_devDependencies__types_qrcode: "^1.5.5", GITHUB_ACTION: "__run_6", GITHUB_RUN_NUMBER: "59", GITHUB_TRIGGERING_ACTOR: "buxkaizhe", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_config_frozen_lockfile: "", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_devDependencies__vue_eslint_config_typescript: "^13.0.0", npm_package_devDependencies_eslint: "^8.57.0", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 291", XDG_CONFIG_HOME: "/home/runner/.config", STATS_VMD: "true", GITHUB_REF_NAME: "dev/ba-portal", GITHUB_REPOSITORY: "feedmepos/brand-app", STATS_D_D: "false", npm_package_scripts_build_dts: "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.app.json --outDir ./dist && pnpm tsc-resolve", npm_package_scripts_build_types: "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.app.json --outDir dist --composite false && pnpm tsc-resolve", npm_lifecycle_script: "vite build --mode fmmf:dev", STATS_UE: "true", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/27.2.12479018", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_devDependencies__vue_eslint_config_prettier: "^9.0.0", GITHUB_REPOSITORY_ID: "810874788", GITHUB_ACTIONS: "true", STATS_PIP: "false", NODE_PATH: "/home/runner/work/brand-app/brand-app/client/merchant/node_modules/.pnpm/vite@5.4.11_@types+node@20.17.9/node_modules/vite/bin/node_modules:/home/runner/work/brand-app/brand-app/client/merchant/node_modules/.pnpm/vite@5.4.11_@types+node@20.17.9/node_modules/vite/node_modules:/home/runner/work/brand-app/brand-app/client/merchant/node_modules/.pnpm/vite@5.4.11_@types+node@20.17.9/node_modules:/home/runner/work/brand-app/brand-app/client/merchant/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@8.15.9/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@8.15.9/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@8.15.9/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@8.15.9/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@8.15.9/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@8.15.9/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@8.15.9/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@8.15.9/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@8.15.9/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules", npm_package_version: "0.5.11-alpha", npm_package_dependencies_vuedraggable: "^4.1.0", npm_package_devDependencies__rushstack_eslint_patch: "^1.8.0", npm_lifecycle_event: "build:mf:dev", GITHUB_REF_PROTECTED: "false", npm_package_scripts_build: 'run-p type-check "build-only {@}" --', npm_package_dependencies_uuid: "^9.0.1", GITHUB_WORKSPACE: "/home/runner/work/brand-app/brand-app", ACCEPT_EULA: "Y", GITHUB_JOB: "deploy", RUNNER_PERFLOG: "/home/runner/perflog", GITHUB_SHA: "04a5fd4eae2882c07761b6ac6df00e0185f5d8b5", GITHUB_RUN_ATTEMPT: "1", STATS_D_TC: "true", npm_package_exports___style: "./dist/style.css", npm_package_scripts_tsc_resolve: "tsc-alias --project tsconfig.app.json --outDir dist", npm_package_dependencies_vue_router: "^4.3.2", GITHUB_REF: "refs/heads/dev/ba-portal", GITHUB_ACTOR: "buxkaizhe", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_package_scripts_format: "prettier --write src/", npm_package_dependencies__formkit_core: "^1.6.7", npm_package_dependencies_qrcode: "^1.5.4", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_510a4ffb-e18d-42f1-ae4a-78ef11e5ff99", JAVA_HOME: "/usr/lib/jvm/temurin-17-jdk-amd64", PWD: "/home/runner/work/brand-app/brand-app/client/merchant", GITHUB_ACTOR_ID: "53389118", RUNNER_WORKSPACE: "/home/runner/work/brand-app", npm_execpath: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@8.15.9/node_modules/pnpm/bin/pnpm.cjs", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", STATS_TIS: "mining", GITHUB_EVENT_NAME: "push", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_510a4ffb-e18d-42f1-ae4a-78ef11e5ff99", npm_package_exports___types: "./dist/merchant/src/app.d.ts", EDGEWEBDRIVER: "/usr/local/share/edge_driver", STATS_EXT: "true", PNPM_SCRIPT_SRC_DIR: "/home/runner/work/brand-app/brand-app/client/merchant", npm_package_devDependencies_eslint_plugin_vue: "^9.23.0", npm_package_devDependencies_postcss: "^8.4.38", npm_command: "run-script", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.2.12479018", SGX_AESM_ADDR: "1", CHROME_BIN: "/usr/bin/google-chrome", npm_package_scripts_preview: "vite preview", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", MEMORY_PRESSURE_WRITE: "c29tZSAyMDAwMDAgMjAwMDAwMAA=", PNPM_HOME: "/home/runner/setup-pnpm/node_modules/.bin", STATS_EXTP: "https://provjobdprod.z13.web.core.windows.net/settings/provjobdsettings-latest/provjobd.data", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.2.12479018", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_510a4ffb-e18d-42f1-ae4a-78ef11e5ff99", INIT_CWD: "/home/runner/work/brand-app/brand-app/client/merchant", NODE_ENV: "production", VITE_MF_CLIENT_ID: "1a362d621873497b277ea55258cc82594ba148d235257f7bd44ea2acc132d8a4", VITE_IMAGE_URL: "https://image.feedmedev.cc", VITE_PWA_ICON_SERVICE: "https://pwa-icon-service.feedmeapidev.com", VITE_USER_URL: "https://{slug}.feedmedev.vip", VITE_MEMBER_URL: "https://{slug}.member.feedmedev.cc", VITE_BACKEND_URL: "https://api.feedmedev.vip", LAUNCH_EDITOR: "code" } };
|
|
7
|
+
var _e = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_a541a99a-bcdc-4662-9e21-e64d5d945f39", npm_package_devDependencies__types_node: "^20.12.5", STATS_TRP: "true", DEPLOYMENT_BASEPATH: "/opt/runner", DOTNET_NOLOGO: "1", npm_package_dependencies_pinia: "^2.1.7", USER: "runner", npm_config_user_agent: "pnpm/8.15.9 npm/? node/v20.18.3 linux x64", CI: "true", npm_package_dependencies_vue: "^3.5.12", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_a541a99a-bcdc-4662-9e21-e64d5d945f39", PIPX_HOME: "/opt/pipx", npm_package_devDependencies__tsconfig_node20: "^20.1.4", npm_package_devDependencies_tsc_alias: "^1.8.10", npm_package_devDependencies_vite: "^5.2.11", npm_node_execpath: "/opt/hostedtoolcache/node/20.18.3/x64/bin/node", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", SHLVL: "1", npm_package_files_0: "dist", HOME: "/home/runner", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", npm_package_scripts_build_mf_dev: "vite build --mode fmmf:dev", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "feedmepos", npm_package_scripts_build_mf_prod: "vite build --mode fmmf:prod", GRADLE_HOME: "/usr/share/gradle-8.13", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/28.0.13004108", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", STATS_RDCL: "true", GITHUB_RETENTION_DAYS: "90", npm_package_scripts_type_check: "vue-tsc --build --force", npm_package_dependencies__feedmepos_mf_common: "^1.8.33", npm_package_devDependencies_npm_run_all2: "^6.1.2", GITHUB_REPOSITORY_OWNER_ID: "54831515", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu24", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", SYSTEMD_EXEC_PID: "708", npm_package_dependencies__feedmepos_ui_library: "^1.2.39", npm_package_dependencies_dotenv: "^16.4.5", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_scripts_build_only_dev: "pnpm build:mf:dev && pnpm build:dts && pnpm build-types && cp package.json ./dist", npm_package_devDependencies_tailwindcss: "^3.4.3", npm_package_devDependencies_typescript: "~5.4.0", NVM_DIR: "/home/runner/.nvm", npm_package_scripts_build_only_prod: "pnpm build:mf:prod && pnpm build:dts && pnpm build-types && cp package.json ./dist", npm_package_devDependencies_vue_tsc: "^2.0.11", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", GOROOT_1_21_X64: "/opt/hostedtoolcache/go/1.21.13/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20250302.1.0", npm_package_scripts_dev: "vite --mode dev", npm_package_devDependencies_prettier: "^3.2.5", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.12/x64", STORE_PATH: "/home/runner/setup-pnpm/node_modules/.bin/store/v3", SWIFT_PATH: "/usr/share/swift/usr/bin", npm_package_type: "module", npm_package_scripts_prod: "vite --mode prod", npm_package_devDependencies__vue_tsconfig: "^0.5.1", npm_package_devDependencies_vite_plugin_vue_devtools: "^7.0.25", RUNNER_USER: "runner", STATS_V3PS: "true", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", GOROOT_1_23_X64: "/opt/hostedtoolcache/go/1.23.6/x64", JOURNAL_STREAM: "8:6231", GITHUB_WORKFLOW: "[PROD] Publish Brand App Builder to NPM", _: "/home/runner/setup-pnpm/node_modules/.bin/pnpm", npm_package_module: "./dist/app.js", npm_package_devDependencies_autoprefixer: "^10.4.19", MEMORY_PRESSURE_WATCH: "/sys/fs/cgroup/system.slice/runner-provisioner.service/memory.pressure", npm_package_scripts_lint: "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore", npm_package_devDependencies__types_uuid: "^9.0.8", npm_config_registry: "https://registry.npmjs.org", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", STATS_D: "false", GITHUB_RUN_ID: "13808362640", STATS_VMFE: "true", npm_package_scripts_deploy_npm_dev: "pnpm run build-only:dev && pnpm publish --tag beta --no-git-checks --access public .", npm_package_dependencies_vue_sonner: "^1.1.4", GITHUB_REF_TYPE: "tag", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "984c5e6412cc80259b732c9f3de3370e5dc6bf0d", GITHUB_BASE_REF: "", ImageOS: "ubuntu24", npm_package_exports___import: "./dist/app.js", npm_package_scripts_deploy_npm_prod: "pnpm run build-only:prod && pnpm publish --no-git-checks --access public .", npm_package_devDependencies__vitejs_plugin_vue: "^5.0.4", GITHUB_WORKFLOW_REF: "feedmepos/brand-app/.github/workflows/brand-app-npm-prod.yml@refs/tags/builder-v0.5.11", PERFLOG_LOCATION_SETTING: "RUNNER_PERFLOG", GITHUB_ACTION_REPOSITORY: "", npm_package_dependencies_axios: "^1.7.2", npm_config_node_gyp: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@8.15.9/node_modules/pnpm/dist/node_modules/node-gyp/bin/node-gyp.js", PATH: "/home/runner/work/brand-app/brand-app/client/merchant/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@8.15.9/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/brand-app/brand-app/client/merchant/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@8.15.9/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/brand-app/brand-app/client/merchant/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@8.15.9/node_modules/pnpm/dist/node-gyp-bin:/home/runner/setup-pnpm/node_modules/.bin:/opt/hostedtoolcache/node/20.18.3/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_6091aca9-1420-4b59-a14d-11c5bae21727", INVOCATION_ID: "7014dbd0f6904088af0ca91e584396d3", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", NODE: "/opt/hostedtoolcache/node/20.18.3/x64/bin/node", npm_package_name: "@feedmepos/mf-brand-app-builder", npm_package_dependencies__formkit_vue: "^1.6.7", npm_package_devDependencies__types_qrcode: "^1.5.5", GITHUB_ACTION: "__run_6", GITHUB_RUN_NUMBER: "21", GITHUB_TRIGGERING_ACTOR: "buxkaizhe", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_config_frozen_lockfile: "", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_devDependencies__vue_eslint_config_typescript: "^13.0.0", npm_package_devDependencies_eslint: "^8.57.0", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 84", XDG_CONFIG_HOME: "/home/runner/.config", STATS_VMD: "true", GITHUB_REF_NAME: "builder-v0.5.11", GITHUB_REPOSITORY: "feedmepos/brand-app", STATS_D_D: "false", npm_package_scripts_build_dts: "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.app.json --outDir ./dist && pnpm tsc-resolve", npm_package_scripts_build_types: "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.app.json --outDir dist --composite false && pnpm tsc-resolve", npm_lifecycle_script: "vite build --mode fmmf:prod", STATS_UE: "true", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/27.2.12479018", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_devDependencies__vue_eslint_config_prettier: "^9.0.0", GITHUB_REPOSITORY_ID: "810874788", GITHUB_ACTIONS: "true", STATS_PIP: "false", NODE_PATH: "/home/runner/work/brand-app/brand-app/client/merchant/node_modules/.pnpm/vite@5.4.11_@types+node@20.17.9/node_modules/vite/bin/node_modules:/home/runner/work/brand-app/brand-app/client/merchant/node_modules/.pnpm/vite@5.4.11_@types+node@20.17.9/node_modules/vite/node_modules:/home/runner/work/brand-app/brand-app/client/merchant/node_modules/.pnpm/vite@5.4.11_@types+node@20.17.9/node_modules:/home/runner/work/brand-app/brand-app/client/merchant/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@8.15.9/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@8.15.9/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@8.15.9/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@8.15.9/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@8.15.9/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@8.15.9/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@8.15.9/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@8.15.9/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@8.15.9/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules", npm_package_version: "0.5.11", npm_package_dependencies_vuedraggable: "^4.1.0", npm_package_devDependencies__rushstack_eslint_patch: "^1.8.0", npm_lifecycle_event: "build:mf:prod", GITHUB_REF_PROTECTED: "false", npm_package_scripts_build: 'run-p type-check "build-only {@}" --', npm_package_dependencies_uuid: "^9.0.1", GITHUB_WORKSPACE: "/home/runner/work/brand-app/brand-app", ACCEPT_EULA: "Y", GITHUB_JOB: "deploy", RUNNER_PERFLOG: "/home/runner/perflog", GITHUB_SHA: "984c5e6412cc80259b732c9f3de3370e5dc6bf0d", GITHUB_RUN_ATTEMPT: "1", STATS_D_TC: "true", npm_package_exports___style: "./dist/style.css", npm_package_scripts_tsc_resolve: "tsc-alias --project tsconfig.app.json --outDir dist", npm_package_dependencies_vue_router: "^4.3.2", GITHUB_REF: "refs/tags/builder-v0.5.11", GITHUB_ACTOR: "buxkaizhe", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_package_scripts_format: "prettier --write src/", npm_package_dependencies__formkit_core: "^1.6.7", npm_package_dependencies_qrcode: "^1.5.4", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_a541a99a-bcdc-4662-9e21-e64d5d945f39", JAVA_HOME: "/usr/lib/jvm/temurin-17-jdk-amd64", PWD: "/home/runner/work/brand-app/brand-app/client/merchant", GITHUB_ACTOR_ID: "53389118", RUNNER_WORKSPACE: "/home/runner/work/brand-app", npm_execpath: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@8.15.9/node_modules/pnpm/bin/pnpm.cjs", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", STATS_TIS: "mining", GITHUB_EVENT_NAME: "push", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_a541a99a-bcdc-4662-9e21-e64d5d945f39", npm_package_exports___types: "./dist/merchant/src/app.d.ts", EDGEWEBDRIVER: "/usr/local/share/edge_driver", STATS_EXT: "true", PNPM_SCRIPT_SRC_DIR: "/home/runner/work/brand-app/brand-app/client/merchant", npm_package_devDependencies_eslint_plugin_vue: "^9.23.0", npm_package_devDependencies_postcss: "^8.4.38", npm_command: "run-script", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.2.12479018", SGX_AESM_ADDR: "1", CHROME_BIN: "/usr/bin/google-chrome", npm_package_scripts_preview: "vite preview", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", MEMORY_PRESSURE_WRITE: "c29tZSAyMDAwMDAgMjAwMDAwMAA=", PNPM_HOME: "/home/runner/setup-pnpm/node_modules/.bin", STATS_EXTP: "https://provjobdprod.z13.web.core.windows.net/settings/provjobdsettings-latest/provjobd.data", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.2.12479018", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_a541a99a-bcdc-4662-9e21-e64d5d945f39", INIT_CWD: "/home/runner/work/brand-app/brand-app/client/merchant", NODE_ENV: "production", VITE_MF_CLIENT_ID: "d5f8840d63dbb758b6c4ee2a5e8b013d15dd25e242c457481326062b83962476", VITE_IMAGE_URL: "https://image.feedme.cc", VITE_PWA_ICON_SERVICE: "https://pwa-icon-service.feedmeapi.com", VITE_USER_URL: "https://{slug}.feedme.vip", VITE_MEMBER_URL: "https://{slug}.member.feedme.cc", VITE_BACKEND_URL: "https://api.feedme.vip", LAUNCH_EDITOR: "code" } };
|
|
8
8
|
const { toString: nt } = Object.prototype, { getPrototypeOf: le } = Object, J = /* @__PURE__ */ ((e) => (t) => {
|
|
9
9
|
const n = nt.call(t);
|
|
10
10
|
return e[n] || (e[n] = n.slice(8, -1).toLowerCase());
|
|
11
|
-
})(/* @__PURE__ */ Object.create(null)), N = (e) => (e = e.toLowerCase(), (t) => J(t) === e), X = (e) => (t) => typeof t === e, { isArray:
|
|
11
|
+
})(/* @__PURE__ */ Object.create(null)), N = (e) => (e = e.toLowerCase(), (t) => J(t) === e), X = (e) => (t) => typeof t === e, { isArray: B } = Array, F = X("undefined");
|
|
12
12
|
function rt(e) {
|
|
13
13
|
return e !== null && !F(e) && e.constructor !== null && !F(e.constructor) && A(e.constructor.isBuffer) && e.constructor.isBuffer(e);
|
|
14
14
|
}
|
|
@@ -26,12 +26,12 @@ const ot = X("string"), A = X("function"), Ce = X("number"), $ = (e) => e !== nu
|
|
|
26
26
|
let t;
|
|
27
27
|
return e && (typeof FormData == "function" && e instanceof FormData || A(e.append) && ((t = J(e)) === "formdata" || // detect form-data instance
|
|
28
28
|
t === "object" && A(e.toString) && e.toString() === "[object FormData]"));
|
|
29
|
-
}, ft = N("URLSearchParams"), [mt, _t, ht,
|
|
29
|
+
}, ft = N("URLSearchParams"), [mt, _t, ht, bt] = ["ReadableStream", "Request", "Response", "Headers"].map(N), Et = (e) => e.trim ? e.trim() : e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
|
|
30
30
|
function M(e, t, { allOwnKeys: n = !1 } = {}) {
|
|
31
31
|
if (e === null || typeof e > "u")
|
|
32
32
|
return;
|
|
33
33
|
let r, s;
|
|
34
|
-
if (typeof e != "object" && (e = [e]),
|
|
34
|
+
if (typeof e != "object" && (e = [e]), B(e))
|
|
35
35
|
for (r = 0, s = e.length; r < s; r++)
|
|
36
36
|
t.call(null, e[r], r, e);
|
|
37
37
|
else {
|
|
@@ -41,7 +41,7 @@ function M(e, t, { allOwnKeys: n = !1 } = {}) {
|
|
|
41
41
|
c = o[r], t.call(null, e[c], c, e);
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
|
-
function
|
|
44
|
+
function xe(e, t) {
|
|
45
45
|
t = t.toLowerCase();
|
|
46
46
|
const n = Object.keys(e);
|
|
47
47
|
let r = n.length, s;
|
|
@@ -50,11 +50,11 @@ function Be(e, t) {
|
|
|
50
50
|
return s;
|
|
51
51
|
return null;
|
|
52
52
|
}
|
|
53
|
-
const U = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global,
|
|
53
|
+
const U = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global, Be = (e) => !F(e) && e !== U;
|
|
54
54
|
function se() {
|
|
55
|
-
const { caseless: e } =
|
|
56
|
-
const o = e &&
|
|
57
|
-
q(t[o]) && q(r) ? t[o] = se(t[o], r) : q(r) ? t[o] = se({}, r) :
|
|
55
|
+
const { caseless: e } = Be(this) && this || {}, t = {}, n = (r, s) => {
|
|
56
|
+
const o = e && xe(t, s) || s;
|
|
57
|
+
q(t[o]) && q(r) ? t[o] = se(t[o], r) : q(r) ? t[o] = se({}, r) : B(r) ? t[o] = r.slice() : t[o] = r;
|
|
58
58
|
};
|
|
59
59
|
for (let r = 0, s = arguments.length; r < s; r++)
|
|
60
60
|
arguments[r] && M(arguments[r], n);
|
|
@@ -62,11 +62,11 @@ function se() {
|
|
|
62
62
|
}
|
|
63
63
|
const Rt = (e, t, n, { allOwnKeys: r } = {}) => (M(t, (s, o) => {
|
|
64
64
|
n && A(s) ? e[o] = Pe(s, n) : e[o] = s;
|
|
65
|
-
}, { allOwnKeys: r }), e), Tt = (e) => (e.charCodeAt(0) === 65279 && (e = e.slice(1)), e),
|
|
65
|
+
}, { allOwnKeys: r }), e), Tt = (e) => (e.charCodeAt(0) === 65279 && (e = e.slice(1)), e), gt = (e, t, n, r) => {
|
|
66
66
|
e.prototype = Object.create(t.prototype, r), e.prototype.constructor = e, Object.defineProperty(e, "super", {
|
|
67
67
|
value: t.prototype
|
|
68
68
|
}), n && Object.assign(e.prototype, n);
|
|
69
|
-
},
|
|
69
|
+
}, yt = (e, t, n, r) => {
|
|
70
70
|
let s, o, i;
|
|
71
71
|
const c = {};
|
|
72
72
|
if (t = t || {}, e == null) return t;
|
|
@@ -82,7 +82,7 @@ const Rt = (e, t, n, { allOwnKeys: r } = {}) => (M(t, (s, o) => {
|
|
|
82
82
|
return r !== -1 && r === n;
|
|
83
83
|
}, St = (e) => {
|
|
84
84
|
if (!e) return null;
|
|
85
|
-
if (
|
|
85
|
+
if (B(e)) return e;
|
|
86
86
|
let t = e.length;
|
|
87
87
|
if (!Ce(t)) return null;
|
|
88
88
|
const n = new Array(t);
|
|
@@ -134,13 +134,13 @@ const Rt = (e, t, n, { allOwnKeys: r } = {}) => (M(t, (s, o) => {
|
|
|
134
134
|
n[o] = !0;
|
|
135
135
|
});
|
|
136
136
|
};
|
|
137
|
-
return
|
|
137
|
+
return B(e) ? r(e) : r(String(e).split(t)), n;
|
|
138
138
|
}, Ct = () => {
|
|
139
|
-
},
|
|
140
|
-
DIGIT:
|
|
139
|
+
}, xt = (e, t) => e != null && Number.isFinite(e = +e) ? e : t, ee = "abcdefghijklmnopqrstuvwxyz", be = "0123456789", He = {
|
|
140
|
+
DIGIT: be,
|
|
141
141
|
ALPHA: ee,
|
|
142
|
-
ALPHA_DIGIT: ee + ee.toUpperCase() +
|
|
143
|
-
},
|
|
142
|
+
ALPHA_DIGIT: ee + ee.toUpperCase() + be
|
|
143
|
+
}, Bt = (e = 16, t = He.ALPHA_DIGIT) => {
|
|
144
144
|
let n = "";
|
|
145
145
|
const { length: r } = t;
|
|
146
146
|
for (; e--; )
|
|
@@ -150,14 +150,14 @@ const Rt = (e, t, n, { allOwnKeys: r } = {}) => (M(t, (s, o) => {
|
|
|
150
150
|
function Lt(e) {
|
|
151
151
|
return !!(e && A(e.append) && e[Symbol.toStringTag] === "FormData" && e[Symbol.iterator]);
|
|
152
152
|
}
|
|
153
|
-
const
|
|
153
|
+
const Ht = (e) => {
|
|
154
154
|
const t = new Array(10), n = (r, s) => {
|
|
155
155
|
if ($(r)) {
|
|
156
156
|
if (t.indexOf(r) >= 0)
|
|
157
157
|
return;
|
|
158
158
|
if (!("toJSON" in r)) {
|
|
159
159
|
t[s] = r;
|
|
160
|
-
const o =
|
|
160
|
+
const o = B(r) ? [] : {};
|
|
161
161
|
return M(r, (i, c) => {
|
|
162
162
|
const p = n(i, s + 1);
|
|
163
163
|
!F(p) && (o[c] = p);
|
|
@@ -167,15 +167,15 @@ const vt = (e) => {
|
|
|
167
167
|
return r;
|
|
168
168
|
};
|
|
169
169
|
return n(e, 0);
|
|
170
|
-
},
|
|
170
|
+
}, vt = N("AsyncFunction"), Ft = (e) => e && ($(e) || A(e)) && A(e.then) && A(e.catch), ve = ((e, t) => e ? setImmediate : t ? ((n, r) => (U.addEventListener("message", ({ source: s, data: o }) => {
|
|
171
171
|
s === U && o === n && r.length && r.shift()();
|
|
172
172
|
}, !1), (s) => {
|
|
173
173
|
r.push(s), U.postMessage(n, "*");
|
|
174
174
|
}))(`axios@${Math.random()}`, []) : (n) => setTimeout(n))(
|
|
175
175
|
typeof setImmediate == "function",
|
|
176
176
|
A(U.postMessage)
|
|
177
|
-
), Mt = typeof queueMicrotask < "u" ? queueMicrotask.bind(U) : typeof _e < "u" && _e.nextTick ||
|
|
178
|
-
isArray:
|
|
177
|
+
), Mt = typeof queueMicrotask < "u" ? queueMicrotask.bind(U) : typeof _e < "u" && _e.nextTick || ve, a = {
|
|
178
|
+
isArray: B,
|
|
179
179
|
isArrayBuffer: Ue,
|
|
180
180
|
isBuffer: rt,
|
|
181
181
|
isFormData: dt,
|
|
@@ -188,7 +188,7 @@ const vt = (e) => {
|
|
|
188
188
|
isReadableStream: mt,
|
|
189
189
|
isRequest: _t,
|
|
190
190
|
isResponse: ht,
|
|
191
|
-
isHeaders:
|
|
191
|
+
isHeaders: bt,
|
|
192
192
|
isUndefined: F,
|
|
193
193
|
isDate: at,
|
|
194
194
|
isFile: ct,
|
|
@@ -202,10 +202,10 @@ const vt = (e) => {
|
|
|
202
202
|
forEach: M,
|
|
203
203
|
merge: se,
|
|
204
204
|
extend: Rt,
|
|
205
|
-
trim:
|
|
205
|
+
trim: Et,
|
|
206
206
|
stripBOM: Tt,
|
|
207
|
-
inherits:
|
|
208
|
-
toFlatObject:
|
|
207
|
+
inherits: gt,
|
|
208
|
+
toFlatObject: yt,
|
|
209
209
|
kindOf: J,
|
|
210
210
|
kindOfTest: N,
|
|
211
211
|
endsWith: Ot,
|
|
@@ -221,17 +221,17 @@ const vt = (e) => {
|
|
|
221
221
|
toObjectSet: Ut,
|
|
222
222
|
toCamelCase: Dt,
|
|
223
223
|
noop: Ct,
|
|
224
|
-
toFiniteNumber:
|
|
225
|
-
findKey:
|
|
224
|
+
toFiniteNumber: xt,
|
|
225
|
+
findKey: xe,
|
|
226
226
|
global: U,
|
|
227
|
-
isContextDefined:
|
|
228
|
-
ALPHABET:
|
|
229
|
-
generateString:
|
|
227
|
+
isContextDefined: Be,
|
|
228
|
+
ALPHABET: He,
|
|
229
|
+
generateString: Bt,
|
|
230
230
|
isSpecCompliantForm: Lt,
|
|
231
|
-
toJSONObject:
|
|
232
|
-
isAsyncFn:
|
|
231
|
+
toJSONObject: Ht,
|
|
232
|
+
isAsyncFn: vt,
|
|
233
233
|
isThenable: Ft,
|
|
234
|
-
setImmediate:
|
|
234
|
+
setImmediate: ve,
|
|
235
235
|
asap: Mt
|
|
236
236
|
};
|
|
237
237
|
function _(e, t, n, r, s) {
|
|
@@ -291,7 +291,7 @@ function oe(e) {
|
|
|
291
291
|
function je(e) {
|
|
292
292
|
return a.endsWith(e, "[]") ? e.slice(0, -2) : e;
|
|
293
293
|
}
|
|
294
|
-
function
|
|
294
|
+
function Ee(e, t, n) {
|
|
295
295
|
return e ? e.concat(t).map(function(s, o) {
|
|
296
296
|
return s = je(s), !n && o ? "[" + s + "]" : s;
|
|
297
297
|
}).join(n ? "." : "") : t;
|
|
@@ -324,22 +324,22 @@ function Y(e, t, n) {
|
|
|
324
324
|
return a.isArrayBuffer(f) || a.isTypedArray(f) ? p && typeof Blob == "function" ? new Blob([f]) : Buffer.from(f) : f;
|
|
325
325
|
}
|
|
326
326
|
function l(f, h, m) {
|
|
327
|
-
let
|
|
327
|
+
let E = f;
|
|
328
328
|
if (f && !m && typeof f == "object") {
|
|
329
329
|
if (a.endsWith(h, "{}"))
|
|
330
330
|
h = r ? h : h.slice(0, -2), f = JSON.stringify(f);
|
|
331
|
-
else if (a.isArray(f) && Gt(f) || (a.isFileList(f) || a.endsWith(h, "[]")) && (
|
|
332
|
-
return h = je(h),
|
|
333
|
-
!(a.isUndefined(
|
|
331
|
+
else if (a.isArray(f) && Gt(f) || (a.isFileList(f) || a.endsWith(h, "[]")) && (E = a.toArray(f)))
|
|
332
|
+
return h = je(h), E.forEach(function(y, D) {
|
|
333
|
+
!(a.isUndefined(y) || y === null) && t.append(
|
|
334
334
|
// eslint-disable-next-line no-nested-ternary
|
|
335
|
-
i === !0 ?
|
|
336
|
-
u(
|
|
335
|
+
i === !0 ? Ee([h], D, o) : i === null ? h : h + "[]",
|
|
336
|
+
u(y)
|
|
337
337
|
);
|
|
338
338
|
}), !1;
|
|
339
339
|
}
|
|
340
|
-
return oe(f) ? !0 : (t.append(
|
|
340
|
+
return oe(f) ? !0 : (t.append(Ee(m, h, o), u(f)), !1);
|
|
341
341
|
}
|
|
342
|
-
const d = [],
|
|
342
|
+
const d = [], b = Object.assign(qt, {
|
|
343
343
|
defaultVisitor: l,
|
|
344
344
|
convertValue: u,
|
|
345
345
|
isVisitable: oe
|
|
@@ -348,14 +348,14 @@ function Y(e, t, n) {
|
|
|
348
348
|
if (!a.isUndefined(f)) {
|
|
349
349
|
if (d.indexOf(f) !== -1)
|
|
350
350
|
throw Error("Circular reference detected in " + h.join("."));
|
|
351
|
-
d.push(f), a.forEach(f, function(
|
|
352
|
-
(!(a.isUndefined(
|
|
351
|
+
d.push(f), a.forEach(f, function(E, g) {
|
|
352
|
+
(!(a.isUndefined(E) || E === null) && s.call(
|
|
353
353
|
t,
|
|
354
|
-
|
|
355
|
-
a.isString(
|
|
354
|
+
E,
|
|
355
|
+
a.isString(g) ? g.trim() : g,
|
|
356
356
|
h,
|
|
357
|
-
|
|
358
|
-
)) === !0 && T(
|
|
357
|
+
b
|
|
358
|
+
)) === !0 && T(E, h ? h.concat(g) : [g]);
|
|
359
359
|
}), d.pop();
|
|
360
360
|
}
|
|
361
361
|
}
|
|
@@ -626,8 +626,8 @@ const rn = a.toObjectSet([
|
|
|
626
626
|
`).forEach(function(i) {
|
|
627
627
|
s = i.indexOf(":"), n = i.substring(0, s).trim().toLowerCase(), r = i.substring(s + 1).trim(), !(!n || t[n] && rn[n]) && (n === "set-cookie" ? t[n] ? t[n].push(r) : t[n] = [r] : t[n] = t[n] ? t[n] + ", " + r : r);
|
|
628
628
|
}), t;
|
|
629
|
-
},
|
|
630
|
-
function
|
|
629
|
+
}, ge = Symbol("internals");
|
|
630
|
+
function H(e) {
|
|
631
631
|
return e && String(e).trim().toLowerCase();
|
|
632
632
|
}
|
|
633
633
|
function V(e) {
|
|
@@ -672,7 +672,7 @@ class w {
|
|
|
672
672
|
set(t, n, r) {
|
|
673
673
|
const s = this;
|
|
674
674
|
function o(c, p, u) {
|
|
675
|
-
const l =
|
|
675
|
+
const l = H(p);
|
|
676
676
|
if (!l)
|
|
677
677
|
throw new Error("header name must be a non-empty string");
|
|
678
678
|
const d = a.findKey(s, l);
|
|
@@ -691,7 +691,7 @@ class w {
|
|
|
691
691
|
return this;
|
|
692
692
|
}
|
|
693
693
|
get(t, n) {
|
|
694
|
-
if (t =
|
|
694
|
+
if (t = H(t), t) {
|
|
695
695
|
const r = a.findKey(this, t);
|
|
696
696
|
if (r) {
|
|
697
697
|
const s = this[r];
|
|
@@ -708,7 +708,7 @@ class w {
|
|
|
708
708
|
}
|
|
709
709
|
}
|
|
710
710
|
has(t, n) {
|
|
711
|
-
if (t =
|
|
711
|
+
if (t = H(t), t) {
|
|
712
712
|
const r = a.findKey(this, t);
|
|
713
713
|
return !!(r && this[r] !== void 0 && (!n || te(this, this[r], r, n)));
|
|
714
714
|
}
|
|
@@ -718,7 +718,7 @@ class w {
|
|
|
718
718
|
const r = this;
|
|
719
719
|
let s = !1;
|
|
720
720
|
function o(i) {
|
|
721
|
-
if (i =
|
|
721
|
+
if (i = H(i), i) {
|
|
722
722
|
const c = a.findKey(r, i);
|
|
723
723
|
c && (!n || te(r, r[c], c, n)) && (delete r[c], s = !0);
|
|
724
724
|
}
|
|
@@ -773,11 +773,11 @@ class w {
|
|
|
773
773
|
return n.forEach((s) => r.set(s)), r;
|
|
774
774
|
}
|
|
775
775
|
static accessor(t) {
|
|
776
|
-
const r = (this[
|
|
776
|
+
const r = (this[ge] = this[ge] = {
|
|
777
777
|
accessors: {}
|
|
778
778
|
}).accessors, s = this.prototype;
|
|
779
779
|
function o(i) {
|
|
780
|
-
const c =
|
|
780
|
+
const c = H(i);
|
|
781
781
|
r[c] || (un(s, i), r[c] = !0);
|
|
782
782
|
}
|
|
783
783
|
return a.isArray(t) ? t.forEach(o) : o(t), this;
|
|
@@ -831,13 +831,13 @@ function pn(e, t) {
|
|
|
831
831
|
return t = t !== void 0 ? t : 1e3, function(p) {
|
|
832
832
|
const u = Date.now(), l = r[o];
|
|
833
833
|
i || (i = u), n[s] = p, r[s] = u;
|
|
834
|
-
let d = o,
|
|
834
|
+
let d = o, b = 0;
|
|
835
835
|
for (; d !== s; )
|
|
836
|
-
|
|
836
|
+
b += n[d++], d = d % e;
|
|
837
837
|
if (s = (s + 1) % e, s === o && (o = (o + 1) % e), u - i < t)
|
|
838
838
|
return;
|
|
839
839
|
const T = l && u - l;
|
|
840
|
-
return T ? Math.round(
|
|
840
|
+
return T ? Math.round(b * 1e3 / T) : void 0;
|
|
841
841
|
};
|
|
842
842
|
}
|
|
843
843
|
function dn(e, t) {
|
|
@@ -871,7 +871,7 @@ const z = (e, t, n = 3) => {
|
|
|
871
871
|
};
|
|
872
872
|
e(d);
|
|
873
873
|
}, n);
|
|
874
|
-
},
|
|
874
|
+
}, ye = (e, t) => {
|
|
875
875
|
const n = e != null;
|
|
876
876
|
return [(r) => t[0]({
|
|
877
877
|
lengthComputable: n,
|
|
@@ -918,17 +918,17 @@ function Je(e, t) {
|
|
|
918
918
|
return e && !_n(t) ? hn(e, t) : t;
|
|
919
919
|
}
|
|
920
920
|
const Se = (e) => e instanceof w ? { ...e } : e;
|
|
921
|
-
function
|
|
921
|
+
function x(e, t) {
|
|
922
922
|
t = t || {};
|
|
923
923
|
const n = {};
|
|
924
|
-
function r(u, l, d,
|
|
925
|
-
return a.isPlainObject(u) && a.isPlainObject(l) ? a.merge.call({ caseless:
|
|
924
|
+
function r(u, l, d, b) {
|
|
925
|
+
return a.isPlainObject(u) && a.isPlainObject(l) ? a.merge.call({ caseless: b }, u, l) : a.isPlainObject(l) ? a.merge({}, l) : a.isArray(l) ? l.slice() : l;
|
|
926
926
|
}
|
|
927
|
-
function s(u, l, d,
|
|
927
|
+
function s(u, l, d, b) {
|
|
928
928
|
if (a.isUndefined(l)) {
|
|
929
929
|
if (!a.isUndefined(u))
|
|
930
|
-
return r(void 0, u, d,
|
|
931
|
-
} else return r(u, l, d,
|
|
930
|
+
return r(void 0, u, d, b);
|
|
931
|
+
} else return r(u, l, d, b);
|
|
932
932
|
}
|
|
933
933
|
function o(u, l) {
|
|
934
934
|
if (!a.isUndefined(l))
|
|
@@ -978,12 +978,12 @@ function B(e, t) {
|
|
|
978
978
|
headers: (u, l, d) => s(Se(u), Se(l), d, !0)
|
|
979
979
|
};
|
|
980
980
|
return a.forEach(Object.keys(Object.assign({}, e, t)), function(l) {
|
|
981
|
-
const d = p[l] || s,
|
|
982
|
-
a.isUndefined(
|
|
981
|
+
const d = p[l] || s, b = d(e[l], t[l], l);
|
|
982
|
+
a.isUndefined(b) && d !== c || (n[l] = b);
|
|
983
983
|
}), n;
|
|
984
984
|
}
|
|
985
985
|
const Xe = (e) => {
|
|
986
|
-
const t =
|
|
986
|
+
const t = x({}, e);
|
|
987
987
|
let { data: n, withXSRFToken: r, xsrfHeaderName: s, xsrfCookieName: o, headers: i, auth: c } = t;
|
|
988
988
|
t.headers = i = w.from(i), t.url = qe(Je(t.baseURL, t.url), e.params, e.paramsSerializer), c && i.set(
|
|
989
989
|
"Authorization",
|
|
@@ -1003,27 +1003,27 @@ const Xe = (e) => {
|
|
|
1003
1003
|
u && i.set(s, u);
|
|
1004
1004
|
}
|
|
1005
1005
|
return t;
|
|
1006
|
-
},
|
|
1006
|
+
}, bn = typeof XMLHttpRequest < "u", En = bn && function(e) {
|
|
1007
1007
|
return new Promise(function(n, r) {
|
|
1008
1008
|
const s = Xe(e);
|
|
1009
1009
|
let o = s.data;
|
|
1010
1010
|
const i = w.from(s.headers).normalize();
|
|
1011
|
-
let { responseType: c, onUploadProgress: p, onDownloadProgress: u } = s, l, d,
|
|
1011
|
+
let { responseType: c, onUploadProgress: p, onDownloadProgress: u } = s, l, d, b, T, f;
|
|
1012
1012
|
function h() {
|
|
1013
1013
|
T && T(), f && f(), s.cancelToken && s.cancelToken.unsubscribe(l), s.signal && s.signal.removeEventListener("abort", l);
|
|
1014
1014
|
}
|
|
1015
1015
|
let m = new XMLHttpRequest();
|
|
1016
1016
|
m.open(s.method.toUpperCase(), s.url, !0), m.timeout = s.timeout;
|
|
1017
|
-
function
|
|
1017
|
+
function E() {
|
|
1018
1018
|
if (!m)
|
|
1019
1019
|
return;
|
|
1020
|
-
const
|
|
1020
|
+
const y = w.from(
|
|
1021
1021
|
"getAllResponseHeaders" in m && m.getAllResponseHeaders()
|
|
1022
1022
|
), S = {
|
|
1023
1023
|
data: !c || c === "text" || c === "json" ? m.responseText : m.response,
|
|
1024
1024
|
status: m.status,
|
|
1025
1025
|
statusText: m.statusText,
|
|
1026
|
-
headers:
|
|
1026
|
+
headers: y,
|
|
1027
1027
|
config: e,
|
|
1028
1028
|
request: m
|
|
1029
1029
|
};
|
|
@@ -1033,8 +1033,8 @@ const Xe = (e) => {
|
|
|
1033
1033
|
r(P), h();
|
|
1034
1034
|
}, S), m = null;
|
|
1035
1035
|
}
|
|
1036
|
-
"onloadend" in m ? m.onloadend =
|
|
1037
|
-
!m || m.readyState !== 4 || m.status === 0 && !(m.responseURL && m.responseURL.indexOf("file:") === 0) || setTimeout(
|
|
1036
|
+
"onloadend" in m ? m.onloadend = E : m.onreadystatechange = function() {
|
|
1037
|
+
!m || m.readyState !== 4 || m.status === 0 && !(m.responseURL && m.responseURL.indexOf("file:") === 0) || setTimeout(E);
|
|
1038
1038
|
}, m.onabort = function() {
|
|
1039
1039
|
m && (r(new _("Request aborted", _.ECONNABORTED, e, m)), m = null);
|
|
1040
1040
|
}, m.onerror = function() {
|
|
@@ -1050,12 +1050,12 @@ const Xe = (e) => {
|
|
|
1050
1050
|
)), m = null;
|
|
1051
1051
|
}, o === void 0 && i.setContentType(null), "setRequestHeader" in m && a.forEach(i.toJSON(), function(D, S) {
|
|
1052
1052
|
m.setRequestHeader(S, D);
|
|
1053
|
-
}), a.isUndefined(s.withCredentials) || (m.withCredentials = !!s.withCredentials), c && c !== "json" && (m.responseType = s.responseType), u && ([
|
|
1054
|
-
m && (r(!
|
|
1053
|
+
}), a.isUndefined(s.withCredentials) || (m.withCredentials = !!s.withCredentials), c && c !== "json" && (m.responseType = s.responseType), u && ([b, f] = z(u, !0), m.addEventListener("progress", b)), p && m.upload && ([d, T] = z(p), m.upload.addEventListener("progress", d), m.upload.addEventListener("loadend", T)), (s.cancelToken || s.signal) && (l = (y) => {
|
|
1054
|
+
m && (r(!y || y.type ? new L(null, e, m) : y), m.abort(), m = null);
|
|
1055
1055
|
}, s.cancelToken && s.cancelToken.subscribe(l), s.signal && (s.signal.aborted ? l() : s.signal.addEventListener("abort", l)));
|
|
1056
|
-
const
|
|
1057
|
-
if (
|
|
1058
|
-
r(new _("Unsupported protocol " +
|
|
1056
|
+
const g = ln(s.url);
|
|
1057
|
+
if (g && O.protocols.indexOf(g) === -1) {
|
|
1058
|
+
r(new _("Unsupported protocol " + g + ":", _.ERR_BAD_REQUEST, e));
|
|
1059
1059
|
return;
|
|
1060
1060
|
}
|
|
1061
1061
|
m.send(o || null);
|
|
@@ -1092,10 +1092,10 @@ const Xe = (e) => {
|
|
|
1092
1092
|
let r = 0, s;
|
|
1093
1093
|
for (; r < n; )
|
|
1094
1094
|
s = r + t, yield e.slice(r, s), r = s;
|
|
1095
|
-
},
|
|
1096
|
-
for await (const n of
|
|
1095
|
+
}, gn = async function* (e, t) {
|
|
1096
|
+
for await (const n of yn(e))
|
|
1097
1097
|
yield* Tn(n, t);
|
|
1098
|
-
},
|
|
1098
|
+
}, yn = async function* (e) {
|
|
1099
1099
|
if (e[Symbol.asyncIterator]) {
|
|
1100
1100
|
yield* e;
|
|
1101
1101
|
return;
|
|
@@ -1112,7 +1112,7 @@ const Xe = (e) => {
|
|
|
1112
1112
|
await t.cancel();
|
|
1113
1113
|
}
|
|
1114
1114
|
}, we = (e, t, n, r) => {
|
|
1115
|
-
const s =
|
|
1115
|
+
const s = gn(e, t);
|
|
1116
1116
|
let o = 0, i, c = (p) => {
|
|
1117
1117
|
i || (i = !0, r && r(p));
|
|
1118
1118
|
};
|
|
@@ -1126,8 +1126,8 @@ const Xe = (e) => {
|
|
|
1126
1126
|
}
|
|
1127
1127
|
let d = l.byteLength;
|
|
1128
1128
|
if (n) {
|
|
1129
|
-
let
|
|
1130
|
-
n(
|
|
1129
|
+
let b = o += d;
|
|
1130
|
+
n(b);
|
|
1131
1131
|
}
|
|
1132
1132
|
p.enqueue(new Uint8Array(l));
|
|
1133
1133
|
} catch (u) {
|
|
@@ -1196,7 +1196,7 @@ const wn = async (e) => {
|
|
|
1196
1196
|
responseType: u,
|
|
1197
1197
|
headers: l,
|
|
1198
1198
|
withCredentials: d = "same-origin",
|
|
1199
|
-
fetchOptions:
|
|
1199
|
+
fetchOptions: b
|
|
1200
1200
|
} = Xe(e);
|
|
1201
1201
|
u = u ? (u + "").toLowerCase() : "text";
|
|
1202
1202
|
let T = Rn([s, o && o.toAbortSignal()], i), f;
|
|
@@ -1212,7 +1212,7 @@ const wn = async (e) => {
|
|
|
1212
1212
|
duplex: "half"
|
|
1213
1213
|
}), I;
|
|
1214
1214
|
if (a.isFormData(r) && (I = S.headers.get("content-type")) && l.setContentType(I), S.body) {
|
|
1215
|
-
const [P, G] =
|
|
1215
|
+
const [P, G] = ye(
|
|
1216
1216
|
m,
|
|
1217
1217
|
z(Oe(p))
|
|
1218
1218
|
);
|
|
@@ -1220,57 +1220,57 @@ const wn = async (e) => {
|
|
|
1220
1220
|
}
|
|
1221
1221
|
}
|
|
1222
1222
|
a.isString(d) || (d = d ? "include" : "omit");
|
|
1223
|
-
const
|
|
1223
|
+
const E = "credentials" in Request.prototype;
|
|
1224
1224
|
f = new Request(t, {
|
|
1225
|
-
...
|
|
1225
|
+
...b,
|
|
1226
1226
|
signal: T,
|
|
1227
1227
|
method: n.toUpperCase(),
|
|
1228
1228
|
headers: l.normalize().toJSON(),
|
|
1229
1229
|
body: r,
|
|
1230
1230
|
duplex: "half",
|
|
1231
|
-
credentials:
|
|
1231
|
+
credentials: E ? d : void 0
|
|
1232
1232
|
});
|
|
1233
|
-
let
|
|
1234
|
-
const
|
|
1235
|
-
if (ae && (c ||
|
|
1233
|
+
let g = await fetch(f);
|
|
1234
|
+
const y = ae && (u === "stream" || u === "response");
|
|
1235
|
+
if (ae && (c || y && h)) {
|
|
1236
1236
|
const S = {};
|
|
1237
1237
|
["status", "statusText", "headers"].forEach((me) => {
|
|
1238
|
-
S[me] =
|
|
1238
|
+
S[me] = g[me];
|
|
1239
1239
|
});
|
|
1240
|
-
const I = a.toFiniteNumber(
|
|
1240
|
+
const I = a.toFiniteNumber(g.headers.get("content-length")), [P, G] = c && ye(
|
|
1241
1241
|
I,
|
|
1242
1242
|
z(Oe(c), !0)
|
|
1243
1243
|
) || [];
|
|
1244
|
-
|
|
1245
|
-
we(
|
|
1244
|
+
g = new Response(
|
|
1245
|
+
we(g.body, Ae, P, () => {
|
|
1246
1246
|
G && G(), h && h();
|
|
1247
1247
|
}),
|
|
1248
1248
|
S
|
|
1249
1249
|
);
|
|
1250
1250
|
}
|
|
1251
1251
|
u = u || "text";
|
|
1252
|
-
let D = await K[a.findKey(K, u) || "text"](
|
|
1253
|
-
return !
|
|
1252
|
+
let D = await K[a.findKey(K, u) || "text"](g, e);
|
|
1253
|
+
return !y && h && h(), await new Promise((S, I) => {
|
|
1254
1254
|
Ke(S, I, {
|
|
1255
1255
|
data: D,
|
|
1256
|
-
headers: w.from(
|
|
1257
|
-
status:
|
|
1258
|
-
statusText:
|
|
1256
|
+
headers: w.from(g.headers),
|
|
1257
|
+
status: g.status,
|
|
1258
|
+
statusText: g.statusText,
|
|
1259
1259
|
config: e,
|
|
1260
1260
|
request: f
|
|
1261
1261
|
});
|
|
1262
1262
|
});
|
|
1263
|
-
} catch (
|
|
1264
|
-
throw h && h(),
|
|
1263
|
+
} catch (E) {
|
|
1264
|
+
throw h && h(), E && E.name === "TypeError" && /fetch/i.test(E.message) ? Object.assign(
|
|
1265
1265
|
new _("Network Error", _.ERR_NETWORK, e, f),
|
|
1266
1266
|
{
|
|
1267
|
-
cause:
|
|
1267
|
+
cause: E.cause || E
|
|
1268
1268
|
}
|
|
1269
|
-
) : _.from(
|
|
1269
|
+
) : _.from(E, E && E.code, e, f);
|
|
1270
1270
|
}
|
|
1271
1271
|
}), ce = {
|
|
1272
1272
|
http: jt,
|
|
1273
|
-
xhr:
|
|
1273
|
+
xhr: En,
|
|
1274
1274
|
fetch: Nn
|
|
1275
1275
|
};
|
|
1276
1276
|
a.forEach(ce, (e, t) => {
|
|
@@ -1417,7 +1417,7 @@ class C {
|
|
|
1417
1417
|
}
|
|
1418
1418
|
}
|
|
1419
1419
|
_request(t, n) {
|
|
1420
|
-
typeof t == "string" ? (n = n || {}, n.url = t) : n = t || {}, n =
|
|
1420
|
+
typeof t == "string" ? (n = n || {}, n.url = t) : n = t || {}, n = x(this.defaults, n);
|
|
1421
1421
|
const { transitional: r, paramsSerializer: s, headers: o } = n;
|
|
1422
1422
|
r !== void 0 && W.assertOptions(r, {
|
|
1423
1423
|
silentJSONParsing: k.transitional(k.boolean),
|
|
@@ -1451,16 +1451,16 @@ class C {
|
|
|
1451
1451
|
this.interceptors.response.forEach(function(h) {
|
|
1452
1452
|
u.push(h.fulfilled, h.rejected);
|
|
1453
1453
|
});
|
|
1454
|
-
let l, d = 0,
|
|
1454
|
+
let l, d = 0, b;
|
|
1455
1455
|
if (!p) {
|
|
1456
1456
|
const f = [ke.bind(this), void 0];
|
|
1457
|
-
for (f.unshift.apply(f, c), f.push.apply(f, u),
|
|
1457
|
+
for (f.unshift.apply(f, c), f.push.apply(f, u), b = f.length, l = Promise.resolve(n); d < b; )
|
|
1458
1458
|
l = l.then(f[d++], f[d++]);
|
|
1459
1459
|
return l;
|
|
1460
1460
|
}
|
|
1461
|
-
|
|
1461
|
+
b = c.length;
|
|
1462
1462
|
let T = n;
|
|
1463
|
-
for (d = 0; d <
|
|
1463
|
+
for (d = 0; d < b; ) {
|
|
1464
1464
|
const f = c[d++], h = c[d++];
|
|
1465
1465
|
try {
|
|
1466
1466
|
T = f(T);
|
|
@@ -1474,19 +1474,19 @@ class C {
|
|
|
1474
1474
|
} catch (f) {
|
|
1475
1475
|
return Promise.reject(f);
|
|
1476
1476
|
}
|
|
1477
|
-
for (d = 0,
|
|
1477
|
+
for (d = 0, b = u.length; d < b; )
|
|
1478
1478
|
l = l.then(u[d++], u[d++]);
|
|
1479
1479
|
return l;
|
|
1480
1480
|
}
|
|
1481
1481
|
getUri(t) {
|
|
1482
|
-
t =
|
|
1482
|
+
t = x(this.defaults, t);
|
|
1483
1483
|
const n = Je(t.baseURL, t.url);
|
|
1484
1484
|
return qe(n, t.params, t.paramsSerializer);
|
|
1485
1485
|
}
|
|
1486
1486
|
}
|
|
1487
1487
|
a.forEach(["delete", "get", "head", "options"], function(t) {
|
|
1488
1488
|
C.prototype[t] = function(n, r) {
|
|
1489
|
-
return this.request(
|
|
1489
|
+
return this.request(x(r || {}, {
|
|
1490
1490
|
method: t,
|
|
1491
1491
|
url: n,
|
|
1492
1492
|
data: (r || {}).data
|
|
@@ -1496,7 +1496,7 @@ a.forEach(["delete", "get", "head", "options"], function(t) {
|
|
|
1496
1496
|
a.forEach(["post", "put", "patch"], function(t) {
|
|
1497
1497
|
function n(r) {
|
|
1498
1498
|
return function(o, i, c) {
|
|
1499
|
-
return this.request(
|
|
1499
|
+
return this.request(x(c || {}, {
|
|
1500
1500
|
method: t,
|
|
1501
1501
|
headers: r ? {
|
|
1502
1502
|
"Content-Type": "multipart/form-data"
|
|
@@ -1660,7 +1660,7 @@ Object.entries(ue).forEach(([e, t]) => {
|
|
|
1660
1660
|
function et(e) {
|
|
1661
1661
|
const t = new C(e), n = Pe(C.prototype.request, t);
|
|
1662
1662
|
return a.extend(n, C.prototype, t, { allOwnKeys: !0 }), a.extend(n, t, null, { allOwnKeys: !0 }), n.create = function(s) {
|
|
1663
|
-
return et(
|
|
1663
|
+
return et(x(e, s));
|
|
1664
1664
|
}, n;
|
|
1665
1665
|
}
|
|
1666
1666
|
const R = et(j);
|
|
@@ -1677,7 +1677,7 @@ R.all = function(t) {
|
|
|
1677
1677
|
};
|
|
1678
1678
|
R.spread = In;
|
|
1679
1679
|
R.isAxiosError = Pn;
|
|
1680
|
-
R.mergeConfig =
|
|
1680
|
+
R.mergeConfig = x;
|
|
1681
1681
|
R.AxiosHeaders = w;
|
|
1682
1682
|
R.formToJSON = (e) => We(a.isHTMLForm(e) ? new FormData(e) : e);
|
|
1683
1683
|
R.getAdapter = Ze.getAdapter;
|
|
@@ -1686,12 +1686,12 @@ R.default = R;
|
|
|
1686
1686
|
let tt = {
|
|
1687
1687
|
PORTAL_V2_BACKEND: ""
|
|
1688
1688
|
};
|
|
1689
|
-
function
|
|
1689
|
+
function xn() {
|
|
1690
1690
|
var o;
|
|
1691
1691
|
const { namespace: e, currentCountry: t } = Ie(), n = e.value === "dev", r = t.value === "MY" ? "" : `.${(o = t.value) == null ? void 0 : o.toLowerCase()}`, s = `${n ? "-dev" : ""}${r}.feedmeapi.com`;
|
|
1692
1692
|
tt.PORTAL_V2_BACKEND = `https://portal-v2${s}`;
|
|
1693
1693
|
}
|
|
1694
|
-
function
|
|
1694
|
+
function v(e) {
|
|
1695
1695
|
const t = R.create({
|
|
1696
1696
|
baseURL: e
|
|
1697
1697
|
});
|
|
@@ -1706,24 +1706,24 @@ function H(e) {
|
|
|
1706
1706
|
}
|
|
1707
1707
|
class Un {
|
|
1708
1708
|
async Get(t, n, r) {
|
|
1709
|
-
return await
|
|
1709
|
+
return await v(t).get(n, r);
|
|
1710
1710
|
}
|
|
1711
1711
|
async Post(t, n, r) {
|
|
1712
|
-
return await
|
|
1712
|
+
return await v(t).post(n, r == null ? void 0 : r.data, r);
|
|
1713
1713
|
}
|
|
1714
1714
|
async Put(t, n, r) {
|
|
1715
|
-
return await
|
|
1715
|
+
return await v(t).put(n, r == null ? void 0 : r.data, r);
|
|
1716
1716
|
}
|
|
1717
1717
|
async Delete(t, n, r) {
|
|
1718
|
-
return await
|
|
1718
|
+
return await v(t).delete(n, r);
|
|
1719
1719
|
}
|
|
1720
1720
|
async Head(t, n, r) {
|
|
1721
|
-
return await
|
|
1721
|
+
return await v(t).head(n, r);
|
|
1722
1722
|
}
|
|
1723
1723
|
}
|
|
1724
|
-
const
|
|
1724
|
+
const Bn = () => tt, Ln = new Un();
|
|
1725
1725
|
export {
|
|
1726
1726
|
Ln as H,
|
|
1727
|
-
|
|
1728
|
-
|
|
1727
|
+
Bn as a,
|
|
1728
|
+
xn as g
|
|
1729
1729
|
};
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import { openBlock as y, createElementBlock as w, ref as $ } from "vue";
|
|
2
2
|
import { _ as I } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
3
|
-
import { H as m } from "./index-
|
|
3
|
+
import { H as m } from "./index-Cf_Vke2-.js";
|
|
4
4
|
import { defineStore as g } from "pinia";
|
|
5
5
|
import { v as A } from "./v4-ANoOI1Qw.js";
|
|
6
6
|
async function _(e) {
|
|
7
7
|
return (await m.Get(
|
|
8
|
-
"https://api.
|
|
8
|
+
"https://api.feedme.vip",
|
|
9
9
|
`/template/${e}`
|
|
10
10
|
)).data;
|
|
11
11
|
}
|
|
12
12
|
async function B(e, l, s) {
|
|
13
13
|
return (await m.Get(
|
|
14
|
-
"https://api.
|
|
14
|
+
"https://api.feedme.vip",
|
|
15
15
|
`/template/${e}/${l}/${s}`
|
|
16
16
|
)).data;
|
|
17
17
|
}
|
|
18
18
|
async function P(e, l, s, c) {
|
|
19
19
|
return (await m.Put(
|
|
20
|
-
"https://api.
|
|
20
|
+
"https://api.feedme.vip",
|
|
21
21
|
`/template/${e}/${l}/${s.templateId}`,
|
|
22
22
|
{
|
|
23
23
|
data: {
|
|
@@ -29,7 +29,7 @@ async function P(e, l, s, c) {
|
|
|
29
29
|
}
|
|
30
30
|
async function b(e, l) {
|
|
31
31
|
return (await m.Put(
|
|
32
|
-
"https://api.
|
|
32
|
+
"https://api.feedme.vip",
|
|
33
33
|
`/template/${e}/active`,
|
|
34
34
|
{
|
|
35
35
|
data: {
|
|
@@ -40,19 +40,19 @@ async function b(e, l) {
|
|
|
40
40
|
}
|
|
41
41
|
async function U(e) {
|
|
42
42
|
return (await m.Get(
|
|
43
|
-
"https://api.
|
|
43
|
+
"https://api.feedme.vip",
|
|
44
44
|
`/template/${e}/active`
|
|
45
45
|
)).data;
|
|
46
46
|
}
|
|
47
47
|
async function x(e, l, s) {
|
|
48
48
|
return await m.Head(
|
|
49
|
-
"https://api.
|
|
49
|
+
"https://api.feedme.vip",
|
|
50
50
|
`/template/${e}/${l}/${s}`
|
|
51
|
-
).then((
|
|
51
|
+
).then((d) => d.status === 200).catch(() => !1);
|
|
52
52
|
}
|
|
53
53
|
async function M(e, l, s) {
|
|
54
54
|
return (await m.Post(
|
|
55
|
-
"https://api.
|
|
55
|
+
"https://api.feedme.vip",
|
|
56
56
|
`/template/${e}/${l}/rename`,
|
|
57
57
|
{
|
|
58
58
|
data: {
|
|
@@ -63,7 +63,7 @@ async function M(e, l, s) {
|
|
|
63
63
|
}
|
|
64
64
|
async function N(e, l, s) {
|
|
65
65
|
return (await m.Delete(
|
|
66
|
-
"https://api.
|
|
66
|
+
"https://api.feedme.vip",
|
|
67
67
|
`/template/${e}/${l}/${s}`
|
|
68
68
|
)).data;
|
|
69
69
|
}
|
|
@@ -103,7 +103,7 @@ const q = /* @__PURE__ */ I(S, [["render", H]]), z = g("template", () => {
|
|
|
103
103
|
async function c(t) {
|
|
104
104
|
e.value.activeTemplateId = await p.getMainTemplateId(t);
|
|
105
105
|
}
|
|
106
|
-
function
|
|
106
|
+
function d(t) {
|
|
107
107
|
e.value.selectedTemplate = e.value.allTemplates.find(
|
|
108
108
|
(a) => a.templateId === t
|
|
109
109
|
) ?? null;
|
|
@@ -126,10 +126,10 @@ const q = /* @__PURE__ */ I(S, [["render", H]]), z = g("template", () => {
|
|
|
126
126
|
}
|
|
127
127
|
function T() {
|
|
128
128
|
let t = "Untitled", a = 2;
|
|
129
|
-
e.value.allTemplates.forEach((
|
|
130
|
-
if (!
|
|
131
|
-
const n =
|
|
132
|
-
n.length === 1 && n[0] === "Untitled" ? t = "Untitled 2" : n.length === 2 && n[0] === "Untitled" && !isNaN(+n[1]) && (
|
|
129
|
+
e.value.allTemplates.forEach((r) => {
|
|
130
|
+
if (!r.templateAlias.startsWith("Untitled")) return;
|
|
131
|
+
const n = r.templateAlias.split(" ");
|
|
132
|
+
n.length === 1 && n[0] === "Untitled" ? t = "Untitled 2" : n.length === 2 && n[0] === "Untitled" && !isNaN(+n[1]) && (r.templateAlias.startsWith(`Untitled ${a}`) && (a += 1), t = `Untitled ${a}`);
|
|
133
133
|
});
|
|
134
134
|
const i = {
|
|
135
135
|
templateAlias: t,
|
|
@@ -140,12 +140,12 @@ const q = /* @__PURE__ */ I(S, [["render", H]]), z = g("template", () => {
|
|
|
140
140
|
}
|
|
141
141
|
async function f(t, a, i) {
|
|
142
142
|
await p.renameTemplate(t, a, i).then(() => {
|
|
143
|
-
var
|
|
143
|
+
var r;
|
|
144
144
|
e.value.allTemplates = e.value.allTemplates.map((n) => n.templateId === a ? {
|
|
145
145
|
...n,
|
|
146
146
|
templateAlias: i,
|
|
147
147
|
templateId: a
|
|
148
|
-
} : n), ((
|
|
148
|
+
} : n), ((r = e.value.selectedTemplate) == null ? void 0 : r.templateId) === a && (e.value.selectedTemplate.templateAlias = i);
|
|
149
149
|
});
|
|
150
150
|
}
|
|
151
151
|
async function v(t, a) {
|
|
@@ -172,7 +172,7 @@ const q = /* @__PURE__ */ I(S, [["render", H]]), z = g("template", () => {
|
|
|
172
172
|
getAllTemplates: l,
|
|
173
173
|
publishTemplate: s,
|
|
174
174
|
getMainTemplateId: c,
|
|
175
|
-
setSelectedTemplate:
|
|
175
|
+
setSelectedTemplate: d,
|
|
176
176
|
saveTemplate: u,
|
|
177
177
|
setMainPageTemplate: o,
|
|
178
178
|
addNewTemplate: T,
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { H as n, a as o } from "./index-
|
|
1
|
+
import { H as n, a as o } from "./index-Cf_Vke2-.js";
|
|
2
2
|
const i = () => o().PORTAL_V2_BACKEND;
|
|
3
3
|
async function c(t) {
|
|
4
4
|
return (await n.Get(
|
|
5
|
-
"https://api.
|
|
5
|
+
"https://api.feedme.vip",
|
|
6
6
|
`/short-url/${t}`
|
|
7
7
|
)).data;
|
|
8
8
|
}
|
|
9
|
-
async function
|
|
9
|
+
async function p(t, a, r) {
|
|
10
10
|
return await n.Post(
|
|
11
|
-
"https://api.
|
|
11
|
+
"https://api.feedme.vip",
|
|
12
12
|
"/short-url",
|
|
13
13
|
{
|
|
14
14
|
data: {
|
|
@@ -23,15 +23,15 @@ async function d(t, a, r) {
|
|
|
23
23
|
throw (s = e.response) == null ? void 0 : s.data;
|
|
24
24
|
});
|
|
25
25
|
}
|
|
26
|
-
async function
|
|
26
|
+
async function u(t) {
|
|
27
27
|
return (await n.Get(
|
|
28
|
-
"https://api.
|
|
28
|
+
"https://api.feedme.vip",
|
|
29
29
|
`/metadata/${t}/config`
|
|
30
30
|
)).data;
|
|
31
31
|
}
|
|
32
|
-
async function
|
|
32
|
+
async function f(t, a, r) {
|
|
33
33
|
return (await n.Post(
|
|
34
|
-
"https://api.
|
|
34
|
+
"https://api.feedme.vip",
|
|
35
35
|
`/metadata/${t}/config`,
|
|
36
36
|
{
|
|
37
37
|
data: {
|
|
@@ -42,7 +42,7 @@ async function u(t, a, r) {
|
|
|
42
42
|
}
|
|
43
43
|
)).data;
|
|
44
44
|
}
|
|
45
|
-
async function
|
|
45
|
+
async function d(t, a) {
|
|
46
46
|
return await n.Put(
|
|
47
47
|
i(),
|
|
48
48
|
`businesses/${t}/profile`,
|
|
@@ -56,10 +56,10 @@ async function f(t, a) {
|
|
|
56
56
|
}
|
|
57
57
|
const m = {
|
|
58
58
|
getGlobalSlug: c,
|
|
59
|
-
setShortUrl:
|
|
60
|
-
getBusinessMetadata:
|
|
61
|
-
setBusinessMetadata:
|
|
62
|
-
updateBusinessProfile:
|
|
59
|
+
setShortUrl: p,
|
|
60
|
+
getBusinessMetadata: u,
|
|
61
|
+
setBusinessMetadata: f,
|
|
62
|
+
updateBusinessProfile: d
|
|
63
63
|
};
|
|
64
64
|
export {
|
|
65
65
|
m as B
|
package/dist/package.json
CHANGED