@feedmepos/mf-brand-app-builder 0.5.49-dev.1 → 0.5.49-prod
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-BRWdYrrB.js → App-CLNf8LIw.js} +4 -4
- package/dist/{AssetsSettings-DtZ6goQl.js → AssetsSettings-Do8rt2sU.js} +22 -22
- package/dist/{BrandkitView-7AG4dkWK.js → BrandkitView-CSWCQPdo.js} +1549 -1518
- package/dist/{BuilderView-1ecAIwCF.js → BuilderView-Qks-Rk3g.js} +7 -7
- package/dist/{CredentialSettings-3eVBw1x8.js → CredentialSettings-BB_Yroul.js} +1 -1
- package/dist/{ImageUpload-DbnCBBrk.js → ImageUpload-DHEVQGJp.js} +8 -8
- package/dist/{LinkButton-De-YNclu.js → LinkButton-DNXBKGCn.js} +1 -1
- package/dist/{ListRepeater-CNLIHsUG.js → ListRepeater-D9IIhvhq.js} +1 -1
- package/dist/{ManagementSettings-CWAKkmbz.js → ManagementSettings-CjsGetkI.js} +6 -6
- package/dist/{ProjectView-CYK3oA5I.js → ProjectView-DhTWh1zO.js} +3 -3
- package/dist/{app-xjlIYnd-.js → app-CHOjSm_R.js} +610 -648
- package/dist/app.js +1 -1
- package/dist/client/merchant/src/composables/miniprogramPortalEntry.d.ts +0 -19
- package/dist/{dayjs.min-V86kHiPB.js → dayjs.min-DEcGBG97.js} +1 -1
- package/dist/{image-D_Djf1PS.js → image-S7-2rbQS.js} +7 -7
- package/dist/{index-BA2J-Ffh.js → index-BpYD24Jn.js} +1 -1
- package/dist/{index-D0LOMBBD.js → index-C6_vWPi0.js} +27 -27
- package/dist/index-CP6_oC8N.js +134 -0
- package/dist/{index-Bk6TOZrx.js → index-CPs0rWCO.js} +15 -15
- package/dist/{main-CMc0YMiV.js → main-Ck7XyZHq.js} +2 -2
- package/dist/package.json +1 -1
- package/dist/style.css +1 -1
- package/dist/{useBusinessFeatureFlag-B7Qvaq-q.js → useBusinessFeatureFlag-BAPhlAX0.js} +1 -1
- package/package.json +1 -1
- package/dist/index-CVVQJJYY.js +0 -134
package/dist/app.js
CHANGED
|
@@ -9,23 +9,4 @@ export declare function miniprogramPortalEntry(query: LocationQuery, selected: M
|
|
|
9
9
|
query: Record<string, string>;
|
|
10
10
|
href: string;
|
|
11
11
|
};
|
|
12
|
-
/**
|
|
13
|
-
* Where the Mini Program app lands when it is opened without a page. Only a dev
|
|
14
|
-
* build running in the dev namespace opens Mini Program v2; both checks are
|
|
15
|
-
* needed because the portal store starts in `dev` before it is told otherwise.
|
|
16
|
-
* Everything else keeps landing on the v1 Brandkit page.
|
|
17
|
-
*
|
|
18
|
-
* The v2 target is a path, not a route name: it exists only when the portal
|
|
19
|
-
* shell mounts the v2 microfrontend, and an unknown path falls through to the
|
|
20
|
-
* catch-all (Brandkit) where an unknown route name would throw.
|
|
21
|
-
*/
|
|
22
|
-
export declare function miniprogramHomeRoute(query: LocationQuery, selected: MerchantContext, namespace: string, buildMode: string): {
|
|
23
|
-
path: string;
|
|
24
|
-
query: Record<string, string>;
|
|
25
|
-
name?: undefined;
|
|
26
|
-
} | {
|
|
27
|
-
name: string;
|
|
28
|
-
query: LocationQuery;
|
|
29
|
-
path?: undefined;
|
|
30
|
-
};
|
|
31
12
|
export {};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { H as r, a as p } from "./index-
|
|
1
|
+
import { H as r, a as p } from "./index-C6_vWPi0.js";
|
|
2
2
|
const i = () => p().PWA_ICON_SERVICE_BACKEND;
|
|
3
|
-
async function
|
|
3
|
+
async function s(e, t, a) {
|
|
4
4
|
const n = new FormData();
|
|
5
5
|
return n.append("file", a), (await r.Put(
|
|
6
|
-
"https://api.
|
|
6
|
+
"https://api.feedme.vip",
|
|
7
7
|
`/image/${e}/${t}`,
|
|
8
8
|
{
|
|
9
9
|
headers: {
|
|
@@ -13,9 +13,9 @@ async function d(e, t, a) {
|
|
|
13
13
|
}
|
|
14
14
|
)).data;
|
|
15
15
|
}
|
|
16
|
-
async function
|
|
16
|
+
async function d(e, t) {
|
|
17
17
|
return (await r.Delete(
|
|
18
|
-
"https://api.
|
|
18
|
+
"https://api.feedme.vip",
|
|
19
19
|
`/image/${e}/${t}`
|
|
20
20
|
)).data;
|
|
21
21
|
}
|
|
@@ -29,8 +29,8 @@ async function o(e, t) {
|
|
|
29
29
|
})).data;
|
|
30
30
|
}
|
|
31
31
|
const f = {
|
|
32
|
-
uploadImage:
|
|
33
|
-
deleteImage:
|
|
32
|
+
uploadImage: s,
|
|
33
|
+
deleteImage: d,
|
|
34
34
|
uploadAppIcon: o
|
|
35
35
|
};
|
|
36
36
|
function u(e) {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { useCoreStore as Ke } from "@feedmepos/mf-common";
|
|
2
|
-
function
|
|
2
|
+
function We(e, t) {
|
|
3
3
|
return function() {
|
|
4
4
|
return e.apply(t, arguments);
|
|
5
5
|
};
|
|
6
6
|
}
|
|
7
7
|
var Pe = {};
|
|
8
|
-
const { toString: wt } = Object.prototype, { getPrototypeOf: Ee } = Object, { iterator: oe, toStringTag:
|
|
8
|
+
const { toString: wt } = Object.prototype, { getPrototypeOf: Ee } = Object, { iterator: oe, toStringTag: ve } = Symbol, ie = /* @__PURE__ */ ((e) => (t) => {
|
|
9
9
|
const n = wt.call(t);
|
|
10
10
|
return e[n] || (e[n] = n.slice(8, -1).toLowerCase());
|
|
11
11
|
})(/* @__PURE__ */ Object.create(null)), P = (e) => (e = e.toLowerCase(), (t) => ie(t) === e), ae = (e) => (t) => typeof t === e, { isArray: M } = Array, H = ae("undefined");
|
|
@@ -17,25 +17,25 @@ function Et(e) {
|
|
|
17
17
|
let t;
|
|
18
18
|
return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(e) : t = e && e.buffer && Xe(e.buffer), t;
|
|
19
19
|
}
|
|
20
|
-
const St = ae("string"), A = ae("function"), Ge = ae("number"),
|
|
20
|
+
const St = ae("string"), A = ae("function"), Ge = ae("number"), W = (e) => e !== null && typeof e == "object", gt = (e) => e === !0 || e === !1, ee = (e) => {
|
|
21
21
|
if (ie(e) !== "object")
|
|
22
22
|
return !1;
|
|
23
23
|
const t = Ee(e);
|
|
24
|
-
return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(
|
|
24
|
+
return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(ve in e) && !(oe in e);
|
|
25
25
|
}, Rt = (e) => {
|
|
26
|
-
if (!
|
|
26
|
+
if (!W(e) || K(e))
|
|
27
27
|
return !1;
|
|
28
28
|
try {
|
|
29
29
|
return Object.keys(e).length === 0 && Object.getPrototypeOf(e) === Object.prototype;
|
|
30
30
|
} catch {
|
|
31
31
|
return !1;
|
|
32
32
|
}
|
|
33
|
-
}, Ot = P("Date"), At = P("File"), Tt = P("Blob"), Ct = P("FileList"), Nt = (e) =>
|
|
33
|
+
}, Ot = P("Date"), At = P("File"), Tt = P("Blob"), Ct = P("FileList"), Nt = (e) => W(e) && A(e.pipe), xt = (e) => {
|
|
34
34
|
let t;
|
|
35
35
|
return e && (typeof FormData == "function" && e instanceof FormData || A(e.append) && ((t = ie(e)) === "formdata" || // detect form-data instance
|
|
36
36
|
t === "object" && A(e.toString) && e.toString() === "[object FormData]"));
|
|
37
37
|
}, Pt = P("URLSearchParams"), [_t, Ft, Ut, Lt] = ["ReadableStream", "Request", "Response", "Headers"].map(P), Bt = (e) => e.trim ? e.trim() : e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
|
|
38
|
-
function
|
|
38
|
+
function v(e, t, { allOwnKeys: n = !1 } = {}) {
|
|
39
39
|
if (e === null || typeof e > "u")
|
|
40
40
|
return;
|
|
41
41
|
let r, s;
|
|
@@ -69,11 +69,11 @@ function me() {
|
|
|
69
69
|
ee(n[o]) && ee(s) ? n[o] = me(n[o], s) : ee(s) ? n[o] = me({}, s) : M(s) ? n[o] = s.slice() : (!t || !H(s)) && (n[o] = s);
|
|
70
70
|
};
|
|
71
71
|
for (let s = 0, i = arguments.length; s < i; s++)
|
|
72
|
-
arguments[s] &&
|
|
72
|
+
arguments[s] && v(arguments[s], r);
|
|
73
73
|
return n;
|
|
74
74
|
}
|
|
75
|
-
const Dt = (e, t, n, { allOwnKeys: r } = {}) => (
|
|
76
|
-
n && A(s) ? e[i] =
|
|
75
|
+
const Dt = (e, t, n, { allOwnKeys: r } = {}) => (v(t, (s, i) => {
|
|
76
|
+
n && A(s) ? e[i] = We(s, n) : e[i] = s;
|
|
77
77
|
}, { allOwnKeys: r }), e), kt = (e) => (e.charCodeAt(0) === 65279 && (e = e.slice(1)), e), jt = (e, t, n, r) => {
|
|
78
78
|
e.prototype = Object.create(t.prototype, r), e.prototype.constructor = e, Object.defineProperty(e, "super", {
|
|
79
79
|
value: t.prototype
|
|
@@ -121,11 +121,11 @@ const Dt = (e, t, n, { allOwnKeys: r } = {}) => (W(t, (s, i) => {
|
|
|
121
121
|
}
|
|
122
122
|
), _e = (({ hasOwnProperty: e }) => (t, n) => e.call(t, n))(Object.prototype), Kt = P("RegExp"), Ye = (e, t) => {
|
|
123
123
|
const n = Object.getOwnPropertyDescriptors(e), r = {};
|
|
124
|
-
|
|
124
|
+
v(n, (s, i) => {
|
|
125
125
|
let o;
|
|
126
126
|
(o = t(s, i, e)) !== !1 && (r[i] = o || s);
|
|
127
127
|
}), Object.defineProperties(e, r);
|
|
128
|
-
},
|
|
128
|
+
}, Wt = (e) => {
|
|
129
129
|
Ye(e, (t, n) => {
|
|
130
130
|
if (A(e) && ["arguments", "caller", "callee"].indexOf(n) !== -1)
|
|
131
131
|
return !1;
|
|
@@ -140,7 +140,7 @@ const Dt = (e, t, n, { allOwnKeys: r } = {}) => (W(t, (s, i) => {
|
|
|
140
140
|
});
|
|
141
141
|
}
|
|
142
142
|
});
|
|
143
|
-
},
|
|
143
|
+
}, vt = (e, t) => {
|
|
144
144
|
const n = {}, r = (s) => {
|
|
145
145
|
s.forEach((i) => {
|
|
146
146
|
n[i] = !0;
|
|
@@ -150,11 +150,11 @@ const Dt = (e, t, n, { allOwnKeys: r } = {}) => (W(t, (s, i) => {
|
|
|
150
150
|
}, Xt = () => {
|
|
151
151
|
}, Gt = (e, t) => e != null && Number.isFinite(e = +e) ? e : t;
|
|
152
152
|
function Qt(e) {
|
|
153
|
-
return !!(e && A(e.append) && e[
|
|
153
|
+
return !!(e && A(e.append) && e[ve] === "FormData" && e[oe]);
|
|
154
154
|
}
|
|
155
155
|
const Zt = (e) => {
|
|
156
156
|
const t = new Array(10), n = (r, s) => {
|
|
157
|
-
if (
|
|
157
|
+
if (W(r)) {
|
|
158
158
|
if (t.indexOf(r) >= 0)
|
|
159
159
|
return;
|
|
160
160
|
if (K(r))
|
|
@@ -162,7 +162,7 @@ const Zt = (e) => {
|
|
|
162
162
|
if (!("toJSON" in r)) {
|
|
163
163
|
t[s] = r;
|
|
164
164
|
const i = M(r) ? [] : {};
|
|
165
|
-
return
|
|
165
|
+
return v(r, (o, c) => {
|
|
166
166
|
const d = n(o, s + 1);
|
|
167
167
|
!H(d) && (i[c] = d);
|
|
168
168
|
}), t[s] = void 0, i;
|
|
@@ -171,7 +171,7 @@ const Zt = (e) => {
|
|
|
171
171
|
return r;
|
|
172
172
|
};
|
|
173
173
|
return n(e, 0);
|
|
174
|
-
}, Yt = P("AsyncFunction"), en = (e) => e && (
|
|
174
|
+
}, Yt = P("AsyncFunction"), en = (e) => e && (W(e) || A(e)) && A(e.then) && A(e.catch), et = ((e, t) => e ? setImmediate : t ? ((n, r) => (k.addEventListener("message", ({ source: s, data: i }) => {
|
|
175
175
|
s === k && i === n && r.length && r.shift()();
|
|
176
176
|
}, !1), (s) => {
|
|
177
177
|
r.push(s), k.postMessage(n, "*");
|
|
@@ -187,7 +187,7 @@ const Zt = (e) => {
|
|
|
187
187
|
isString: St,
|
|
188
188
|
isNumber: Ge,
|
|
189
189
|
isBoolean: gt,
|
|
190
|
-
isObject:
|
|
190
|
+
isObject: W,
|
|
191
191
|
isPlainObject: ee,
|
|
192
192
|
isEmptyObject: Rt,
|
|
193
193
|
isReadableStream: _t,
|
|
@@ -204,7 +204,7 @@ const Zt = (e) => {
|
|
|
204
204
|
isURLSearchParams: Pt,
|
|
205
205
|
isTypedArray: Mt,
|
|
206
206
|
isFileList: Ct,
|
|
207
|
-
forEach:
|
|
207
|
+
forEach: v,
|
|
208
208
|
merge: me,
|
|
209
209
|
extend: Dt,
|
|
210
210
|
trim: Bt,
|
|
@@ -222,8 +222,8 @@ const Zt = (e) => {
|
|
|
222
222
|
hasOwnProp: _e,
|
|
223
223
|
// an alias to avoid ESLint no-prototype-builtins detection
|
|
224
224
|
reduceDescriptors: Ye,
|
|
225
|
-
freezeMethods:
|
|
226
|
-
toObjectSet:
|
|
225
|
+
freezeMethods: Wt,
|
|
226
|
+
toObjectSet: vt,
|
|
227
227
|
toCamelCase: Vt,
|
|
228
228
|
noop: Xt,
|
|
229
229
|
toFiniteNumber: Gt,
|
|
@@ -1648,7 +1648,7 @@ function Kn(e) {
|
|
|
1648
1648
|
return e.apply(null, n);
|
|
1649
1649
|
};
|
|
1650
1650
|
}
|
|
1651
|
-
function
|
|
1651
|
+
function Wn(e) {
|
|
1652
1652
|
return a.isObject(e) && e.isAxiosError === !0;
|
|
1653
1653
|
}
|
|
1654
1654
|
const we = {
|
|
@@ -1726,7 +1726,7 @@ Object.entries(we).forEach(([e, t]) => {
|
|
|
1726
1726
|
we[t] = e;
|
|
1727
1727
|
});
|
|
1728
1728
|
function yt(e) {
|
|
1729
|
-
const t = new j(e), n =
|
|
1729
|
+
const t = new j(e), n = We(j.prototype.request, t);
|
|
1730
1730
|
return a.extend(n, j.prototype, t, { allOwnKeys: !0 }), a.extend(n, t, null, { allOwnKeys: !0 }), n.create = function(s) {
|
|
1731
1731
|
return yt(I(e, s));
|
|
1732
1732
|
}, n;
|
|
@@ -1744,7 +1744,7 @@ w.all = function(t) {
|
|
|
1744
1744
|
return Promise.all(t);
|
|
1745
1745
|
};
|
|
1746
1746
|
w.spread = Kn;
|
|
1747
|
-
w.isAxiosError =
|
|
1747
|
+
w.isAxiosError = Wn;
|
|
1748
1748
|
w.mergeConfig = I;
|
|
1749
1749
|
w.AxiosHeaders = T;
|
|
1750
1750
|
w.formToJSON = (e) => at(a.isHTMLForm(e) ? new FormData(e) : e);
|
|
@@ -1776,7 +1776,7 @@ let re = {
|
|
|
1776
1776
|
};
|
|
1777
1777
|
async function hr() {
|
|
1778
1778
|
const e = Ke().currentCountry.value, { data: t } = await w.get(
|
|
1779
|
-
"https://country-config
|
|
1779
|
+
"https://country-config.feedmeapi.com",
|
|
1780
1780
|
{
|
|
1781
1781
|
params: { country: e ?? "MY" }
|
|
1782
1782
|
}
|
|
@@ -1796,7 +1796,7 @@ function V(e) {
|
|
|
1796
1796
|
(n) => Promise.reject(n)
|
|
1797
1797
|
), t;
|
|
1798
1798
|
}
|
|
1799
|
-
class
|
|
1799
|
+
class vn {
|
|
1800
1800
|
async Get(t, n, r) {
|
|
1801
1801
|
return await V(t).get(n, r);
|
|
1802
1802
|
}
|
|
@@ -1813,7 +1813,7 @@ class Wn {
|
|
|
1813
1813
|
return await V(t).head(n, r);
|
|
1814
1814
|
}
|
|
1815
1815
|
}
|
|
1816
|
-
const mr = () => re, yr = new
|
|
1816
|
+
const mr = () => re, yr = new vn();
|
|
1817
1817
|
export {
|
|
1818
1818
|
Yn as A,
|
|
1819
1819
|
yr as H,
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
import { H as e, a as o } from "./index-C6_vWPi0.js";
|
|
2
|
+
const d = () => o().PORTAL_V2_BACKEND, c = () => o().LICENSE_BACKEND;
|
|
3
|
+
async function p(t) {
|
|
4
|
+
return (await e.Get(
|
|
5
|
+
"https://api.feedme.vip",
|
|
6
|
+
`/short-url/${t}`
|
|
7
|
+
)).data;
|
|
8
|
+
}
|
|
9
|
+
async function u(t, a, s) {
|
|
10
|
+
return await e.Post(
|
|
11
|
+
"https://api.feedme.vip",
|
|
12
|
+
"/short-url",
|
|
13
|
+
{
|
|
14
|
+
data: {
|
|
15
|
+
slug: t,
|
|
16
|
+
oldSlug: a,
|
|
17
|
+
type: "BUSINESS",
|
|
18
|
+
businessId: s
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
).then((n) => n.data).catch((n) => {
|
|
22
|
+
var r;
|
|
23
|
+
throw (r = n.response) == null ? void 0 : r.data;
|
|
24
|
+
});
|
|
25
|
+
}
|
|
26
|
+
async function f(t) {
|
|
27
|
+
return (await e.Get(
|
|
28
|
+
"https://api.feedme.vip",
|
|
29
|
+
`/metadata/${t}/config`
|
|
30
|
+
)).data;
|
|
31
|
+
}
|
|
32
|
+
async function m(t, a, s) {
|
|
33
|
+
return (await e.Post(
|
|
34
|
+
"https://api.feedme.vip",
|
|
35
|
+
`/metadata/${t}/config`,
|
|
36
|
+
{
|
|
37
|
+
data: {
|
|
38
|
+
name: a,
|
|
39
|
+
backgroundColor: "#ffffff",
|
|
40
|
+
country: s
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
)).data;
|
|
44
|
+
}
|
|
45
|
+
async function l(t) {
|
|
46
|
+
return (await e.Get(
|
|
47
|
+
"https://api.feedme.vip",
|
|
48
|
+
`/metadata/${t}/brandkit`
|
|
49
|
+
)).data;
|
|
50
|
+
}
|
|
51
|
+
async function h(t, a) {
|
|
52
|
+
return (await e.Post(
|
|
53
|
+
"https://api.feedme.vip",
|
|
54
|
+
`/metadata/${t}/brandkit`,
|
|
55
|
+
{
|
|
56
|
+
data: a
|
|
57
|
+
}
|
|
58
|
+
)).data;
|
|
59
|
+
}
|
|
60
|
+
async function y(t, a) {
|
|
61
|
+
return (await e.Get(
|
|
62
|
+
"https://api.feedme.vip",
|
|
63
|
+
`/metadata/${t}/brandkit/template-history/${a}`
|
|
64
|
+
)).data;
|
|
65
|
+
}
|
|
66
|
+
async function $(t, a, s) {
|
|
67
|
+
return (await e.Post(
|
|
68
|
+
"https://api.feedme.vip",
|
|
69
|
+
`/metadata/${t}/brandkit/template-restore/${a}/${s}`,
|
|
70
|
+
{}
|
|
71
|
+
)).data;
|
|
72
|
+
}
|
|
73
|
+
async function w(t, a) {
|
|
74
|
+
return (await e.Delete(
|
|
75
|
+
"https://api.feedme.vip",
|
|
76
|
+
`/metadata/${t}/brandkit/template-history/${a}`
|
|
77
|
+
)).data;
|
|
78
|
+
}
|
|
79
|
+
async function g(t, a) {
|
|
80
|
+
const s = {
|
|
81
|
+
...a,
|
|
82
|
+
url: a.url || t
|
|
83
|
+
};
|
|
84
|
+
return await e.Put(
|
|
85
|
+
d(),
|
|
86
|
+
`businesses/${t}/profile`,
|
|
87
|
+
{
|
|
88
|
+
data: s
|
|
89
|
+
}
|
|
90
|
+
).catch((r) => {
|
|
91
|
+
var i;
|
|
92
|
+
throw (i = r.response) == null ? void 0 : i.data;
|
|
93
|
+
});
|
|
94
|
+
}
|
|
95
|
+
async function B(t) {
|
|
96
|
+
return await e.Get(
|
|
97
|
+
c(),
|
|
98
|
+
`api/business/${t}/feature/miniprogram`
|
|
99
|
+
).then((a) => a.data).catch(() => !1);
|
|
100
|
+
}
|
|
101
|
+
async function v(t) {
|
|
102
|
+
return (await e.Get(
|
|
103
|
+
"https://api.feedme.vip",
|
|
104
|
+
`/metadata/${t}/credentials`,
|
|
105
|
+
{}
|
|
106
|
+
)).data;
|
|
107
|
+
}
|
|
108
|
+
async function P(t, a) {
|
|
109
|
+
return (await e.Post(
|
|
110
|
+
"https://api.feedme.vip",
|
|
111
|
+
`/metadata/${t}/credentials`,
|
|
112
|
+
{
|
|
113
|
+
data: a
|
|
114
|
+
}
|
|
115
|
+
)).data;
|
|
116
|
+
}
|
|
117
|
+
const k = {
|
|
118
|
+
getGlobalSlug: p,
|
|
119
|
+
setShortUrl: u,
|
|
120
|
+
getBusinessMetadata: f,
|
|
121
|
+
setBusinessMetadata: m,
|
|
122
|
+
getBusinessBrandkit: l,
|
|
123
|
+
setBusinessBrandkit: h,
|
|
124
|
+
getTemplateHistory: y,
|
|
125
|
+
restoreTemplateVersion: $,
|
|
126
|
+
clearTemplateHistory: w,
|
|
127
|
+
updateBusinessProfile: g,
|
|
128
|
+
getBusinessPremiumStatus: B,
|
|
129
|
+
getCredentials: v,
|
|
130
|
+
updateCredentials: P
|
|
131
|
+
};
|
|
132
|
+
export {
|
|
133
|
+
k as B
|
|
134
|
+
};
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { H as d } from "./index-
|
|
1
|
+
import { H as d } from "./index-C6_vWPi0.js";
|
|
2
2
|
import { defineStore as w } from "pinia";
|
|
3
3
|
import { ref as y } from "vue";
|
|
4
4
|
import { v as I } from "./v4-CKwdnpQf.js";
|
|
5
5
|
async function g(e) {
|
|
6
6
|
return (await d.Get(
|
|
7
|
-
"https://api.
|
|
7
|
+
"https://api.feedme.vip",
|
|
8
8
|
`/template/${e}`
|
|
9
9
|
)).data;
|
|
10
10
|
}
|
|
11
11
|
async function A(e, l, p) {
|
|
12
12
|
return (await d.Get(
|
|
13
|
-
"https://api.
|
|
13
|
+
"https://api.feedme.vip",
|
|
14
14
|
`/template/${e}/${l}/${p}`
|
|
15
15
|
)).data;
|
|
16
16
|
}
|
|
17
17
|
async function P(e, l, p, m) {
|
|
18
18
|
return (await d.Put(
|
|
19
|
-
"https://api.
|
|
19
|
+
"https://api.feedme.vip",
|
|
20
20
|
`/template/${e}/${l}/${p.templateId}`,
|
|
21
21
|
{
|
|
22
22
|
data: {
|
|
@@ -29,7 +29,7 @@ async function P(e, l, p, m) {
|
|
|
29
29
|
}
|
|
30
30
|
async function M(e, l, p) {
|
|
31
31
|
return (await d.Put(
|
|
32
|
-
"https://api.
|
|
32
|
+
"https://api.feedme.vip",
|
|
33
33
|
`/template/${e}/active${p ? `/${p}` : ""}`,
|
|
34
34
|
{
|
|
35
35
|
data: {
|
|
@@ -40,19 +40,19 @@ async function M(e, l, p) {
|
|
|
40
40
|
}
|
|
41
41
|
async function b(e, l) {
|
|
42
42
|
return (await d.Get(
|
|
43
|
-
"https://api.
|
|
43
|
+
"https://api.feedme.vip",
|
|
44
44
|
`/template/${e}/active${l ? `/${l}` : ""}`
|
|
45
45
|
)).data;
|
|
46
46
|
}
|
|
47
47
|
async function U(e, l, p) {
|
|
48
48
|
return await d.Head(
|
|
49
|
-
"https://api.
|
|
49
|
+
"https://api.feedme.vip",
|
|
50
50
|
`/template/${e}/${l}/${p}`
|
|
51
51
|
).then((c) => c.status === 200).catch(() => !1);
|
|
52
52
|
}
|
|
53
53
|
async function B(e, l, p) {
|
|
54
54
|
return (await d.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 B(e, l, p) {
|
|
|
63
63
|
}
|
|
64
64
|
async function x(e, l, p) {
|
|
65
65
|
return (await d.Delete(
|
|
66
|
-
"https://api.
|
|
66
|
+
"https://api.feedme.vip",
|
|
67
67
|
`/template/${e}/${l}/${p}`
|
|
68
68
|
)).data;
|
|
69
69
|
}
|
|
@@ -120,7 +120,7 @@ const i = {
|
|
|
120
120
|
t
|
|
121
121
|
);
|
|
122
122
|
}
|
|
123
|
-
async function
|
|
123
|
+
async function o(a, t) {
|
|
124
124
|
i.setMainPageTemplateId(
|
|
125
125
|
a,
|
|
126
126
|
e.value.selectedTemplate.templateId,
|
|
@@ -129,7 +129,7 @@ const i = {
|
|
|
129
129
|
e.value.activeTemplateId = e.value.selectedTemplate.templateId;
|
|
130
130
|
});
|
|
131
131
|
}
|
|
132
|
-
function
|
|
132
|
+
function f(a = {}) {
|
|
133
133
|
let t = "Untitled", s = 2;
|
|
134
134
|
e.value.allTemplates.forEach((r) => {
|
|
135
135
|
if (!r.templateAlias.startsWith("Untitled")) return;
|
|
@@ -145,7 +145,7 @@ const i = {
|
|
|
145
145
|
};
|
|
146
146
|
e.value.allTemplates.push(n), e.value.selectedTemplate = n;
|
|
147
147
|
}
|
|
148
|
-
async function
|
|
148
|
+
async function v(a, t, s) {
|
|
149
149
|
await i.renameTemplate(a, t, s).then(() => {
|
|
150
150
|
var n;
|
|
151
151
|
e.value.allTemplates = e.value.allTemplates.map((r) => r.templateId === t ? {
|
|
@@ -185,9 +185,9 @@ const i = {
|
|
|
185
185
|
getMainTemplateId: m,
|
|
186
186
|
setSelectedTemplate: c,
|
|
187
187
|
saveTemplate: T,
|
|
188
|
-
setMainPageTemplate:
|
|
189
|
-
addNewTemplate:
|
|
190
|
-
renameTemplate:
|
|
188
|
+
setMainPageTemplate: o,
|
|
189
|
+
addNewTemplate: f,
|
|
190
|
+
renameTemplate: v,
|
|
191
191
|
deleteTemplate: h,
|
|
192
192
|
unpublishTemplate: $
|
|
193
193
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as lA, createElementBlock as x, openBlock as T, normalizeStyle as gA, renderSlot as Qe, computed as LA, createBlock as rA, normalizeProps as $e, guardReactiveProps as Yg, withCtx as IA, createElementVNode as v, toDisplayString as K, resolveComponent as iA, createCommentVNode as AA, Fragment as tA, renderList as YA, normalizeClass as hA, createVNode as Z, unref as N, mergeProps as NA, useTemplateRef as aB, watch as wg, getCurrentInstance as Ag, withModifiers as Kg, createTextVNode as ae, inject as lB, ref as Ue, shallowRef as fB, onMounted as wB, onUnmounted as cB, h as PC, Text as dB, onActivated as uB } from "vue";
|
|
2
2
|
import { _ as ZA } from "./Icon.vue_vue_type_style_index_0_lang-BcRjQndc.js";
|
|
3
3
|
import { D as be, C as RC } from "./CircularProgress-DdblYCtV.js";
|
|
4
|
-
import {
|
|
4
|
+
import { m as DB, v as vB, k as pB, t as mB, z as hB, b as PB, e as RB, g as MB, c as bB } from "./app-CHOjSm_R.js";
|
|
5
5
|
import "@vue/devtools-api";
|
|
6
6
|
import "@feedmepos/ui-library";
|
|
7
7
|
function Ng(e) {
|
|
@@ -8173,7 +8173,7 @@ function ni(e, A, g, C) {
|
|
|
8173
8173
|
return e.processor && (o.processor = e.processor), C.list && (o.list = C.list), C.named && (o.named = C.named), PA(C.plural) && (o.pluralIndex = C.plural), o;
|
|
8174
8174
|
}
|
|
8175
8175
|
cQ();
|
|
8176
|
-
var ai = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_68c2e025-c367-4155-b26b-49a7d3ac91b7", npm_package_devDependencies__types_node: "^20.12.5", DOTNET_NOLOGO: "1", npm_package_dependencies_pinia: "^2.1.7", USER: "runner", npm_config_user_agent: "pnpm/9.5.0 npm/? node/v24.14.1 linux x64", CI: "true", npm_package_dependencies_vue: "3.5.13", USE_BAZEL_FALLBACK_VERSION: "silent:", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_68c2e025-c367-4155-b26b-49a7d3ac91b7", PIPX_HOME: "/opt/pipx", npm_package_dependencies_vue3_colorpicker: "^2.3.0", 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/24.14.1/x64/bin/node", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", SHLVL: "1", HCA_CLOUD_PROVIDER: "azure", 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", NODE_OPTIONS: "--max-old-space-size=8192", GRADLE_HOME: "/usr/share/gradle-9.8.0", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/29.0.14206865", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", GITHUB_RETENTION_DAYS: "90", npm_package_scripts_type_check: "vue-tsc --build --force", npm_package_dependencies__feedmepos_mf_common: "^1.26.3", npm_package_dependencies_opentype_js: "^1.3.4", npm_package_devDependencies_npm_run_all2: "^6.1.2", GITHUB_REPOSITORY_OWNER_ID: "54831515", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-Linux", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", SYSTEMD_EXEC_PID: "1768", ACTIONS_ORCHESTRATION_ID: "12b93733-539f-812b-9854-5d7b550f45cb.deploy.__default", npm_package_dependencies__feedmepos_ui_library: "1.8.4", npm_package_dependencies_dayjs: "^1.11.13", npm_package_dependencies_dotenv: "^16.4.5", npm_package_dependencies_vue_accessible_color_picker: "^5.2.0", 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_dependencies_i18next: "^25.1.1", npm_package_devDependencies_tailwindcss: "^3.4.3", npm_package_devDependencies_typescript: "~5.4.0", JAVA_HOME_25_X64: "/usr/lib/jvm/temurin-25-jdk-amd64", 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", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20260927.320.1", npm_package_scripts_dev: "vite --mode dev", npm_package_devDependencies_prettier: "^3.2.5", LOGNAME: "runner", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GITHUB_ARTIFACTS: "/home/runner/work/_temp/_runner_file_commands/artifacts_68c2e025-c367-4155-b26b-49a7d3ac91b7", 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_dependencies__feedmepos_brand_core: "0.0.2-beta.4", npm_package_devDependencies__vue_tsconfig: "^0.5.1", npm_package_devDependencies_vite_plugin_vue_devtools: "^7.0.25", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", JOURNAL_STREAM: "9:13611", 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/hosted-compute-agent.service/memory.pressure", GOROOT_1_24_X64: "/opt/hostedtoolcache/go/1.24.13/x64", 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", GOROOT_1_25_X64: "/opt/hostedtoolcache/go/1.25.14/x64", GITHUB_RUN_ID: "37453856790", 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: "dfe0a1c8dd9ba0b1c69a44dc6e6cfe8ba3be6bdf", GOROOT_1_26_X64: "/opt/hostedtoolcache/go/1.26.8/x64", 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 --tag latest --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", GITHUB_ACTION_REPOSITORY: "", ENABLE_RUNNER_TRACING: "true", npm_package_dependencies_axios: "^1.7.2", npm_config_node_gyp: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.5.0/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@9.5.0/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@9.5.0/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@9.5.0/node_modules/pnpm/dist/node-gyp-bin:/home/runner/setup-pnpm/node_modules/.bin:/opt/hostedtoolcache/node/24.14.1/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_69bbe90b-4f7b-4b63-8f4f-373c0ab2f567", INVOCATION_ID: "e62e1f90e53a45a2a96f78600dcb5d3d", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", NODE: "/opt/hostedtoolcache/node/24.14.1/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_7", GITHUB_RUN_NUMBER: "183", 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 1000179130", XDG_CONFIG_HOME: "/home/runner/.config", GITHUB_REF_NAME: "dev", GITHUB_REPOSITORY: "feedmepos/brand-app", 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_package_dependencies__feedmepos_core: "^2.14.46", npm_lifecycle_script: "vite build --mode fmmf:dev", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_scripts_test: "node --test tests/*.test.mjs", npm_package_devDependencies__vue_eslint_config_prettier: "^9.0.0", SHELL: "/bin/bash", GITHUB_REPOSITORY_ID: "810874788", GITHUB_ACTIONS: "true", NODE_PATH: "/home/runner/work/brand-app/brand-app/client/merchant/node_modules/.pnpm/vite@5.4.21_@types+node@20.19.25/node_modules/vite/bin/node_modules:/home/runner/work/brand-app/brand-app/client/merchant/node_modules/.pnpm/vite@5.4.21_@types+node@20.19.25/node_modules/vite/node_modules:/home/runner/work/brand-app/brand-app/client/merchant/node_modules/.pnpm/vite@5.4.21_@types+node@20.19.25/node_modules:/home/runner/work/brand-app/brand-app/client/merchant/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.5.0/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.5.0/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.5.0/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.5.0/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.5.0/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.5.0/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.5.0/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.5.0/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.5.0/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules", npm_package_version: "0.5.49-dev.1", npm_package_dependencies__feedmepos_hrm_permission: "1.0.10", 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", npm_package_dependencies_vue_i18n: "^11.1.3", GITHUB_WORKSPACE: "/home/runner/work/brand-app/brand-app", ACCEPT_EULA: "Y", GITHUB_JOB: "deploy", GITHUB_SHA: "dfe0a1c8dd9ba0b1c69a44dc6e6cfe8ba3be6bdf", GITHUB_RUN_ATTEMPT: "1", 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", ACTIONS_RUNNER_RETURN_JOB_RESULT_FOR_HOSTED: "1", GITHUB_REF: "refs/heads/dev", GITHUB_ACTOR: "buxkaizhe", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_package_scripts_format: "prettier --write src/", npm_package_dependencies__feedmepos_mf_miniprogram_v2: "https://registry.npmjs.org/@feedmepos/mf-miniprogram-v2/-/mf-miniprogram-v2-0.2.0-dev.2.tgz", npm_package_dependencies__formkit_core: "^1.6.7", npm_package_dependencies_monaco_editor: "^0.52.2", npm_package_dependencies_qrcode: "^1.5.4", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_68c2e025-c367-4155-b26b-49a7d3ac91b7", 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@9.5.0/node_modules/pnpm/bin/pnpm.cjs", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", 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_68c2e025-c367-4155-b26b-49a7d3ac91b7", npm_package_exports___types: "./dist/merchant/src/app.d.ts", npm_package_dependencies__feedmepos_feature_flag: "^0.0.15", npm_package_dependencies__monaco_editor_loader: "^1.5.0", EDGEWEBDRIVER: "/usr/local/share/edge_driver", 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.3.13750724", GITHUB_ARTIFACTS_LIST: "/home/runner/work/_temp/_runner_file_commands/artifacts_list_68c2e025-c367-4155-b26b-49a7d3ac91b7", SGX_AESM_ADDR: "1", PSModulePath: "/root/.local/share/powershell/Modules:/usr/local/share/powershell/Modules:/opt/microsoft/powershell/7/Modules:/usr/share/az_15.6.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", npm_package_devDependencies__types_opentype_js: "^1.3.8", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_68c2e025-c367-4155-b26b-49a7d3ac91b7", 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", VITE_COUNTRY_CONFIG_URL: "https://country-config-dev.feedmeapi.com", VITE_ODS_PREVIEW_URL: "https://v2-dev.feedme-ods.pages.dev/", LAUNCH_EDITOR: "code" } };
|
|
8176
|
+
var ai = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_946c79bb-1e44-4ee0-a321-1048c830c080", npm_package_devDependencies__types_node: "^20.12.5", DOTNET_NOLOGO: "1", npm_package_dependencies_pinia: "^2.1.7", USER: "runner", npm_config_user_agent: "pnpm/9.5.0 npm/? node/v24.14.1 linux x64", CI: "true", npm_package_dependencies_vue: "3.5.13", USE_BAZEL_FALLBACK_VERSION: "silent:", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_946c79bb-1e44-4ee0-a321-1048c830c080", PIPX_HOME: "/opt/pipx", npm_package_dependencies_vue3_colorpicker: "^2.3.0", 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/24.14.1/x64/bin/node", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", SHLVL: "1", HCA_CLOUD_PROVIDER: "azure", 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", NODE_OPTIONS: "--max-old-space-size=8192", GRADLE_HOME: "/usr/share/gradle-9.8.0", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/29.0.14206865", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", GITHUB_RETENTION_DAYS: "90", npm_package_scripts_type_check: "vue-tsc --build --force", npm_package_dependencies__feedmepos_mf_common: "^1.26.3", npm_package_dependencies_opentype_js: "^1.3.4", npm_package_devDependencies_npm_run_all2: "^6.1.2", GITHUB_REPOSITORY_OWNER_ID: "54831515", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-Linux", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", SYSTEMD_EXEC_PID: "1875", ACTIONS_ORCHESTRATION_ID: "e536a338-03ad-817f-b7a0-4f66a5554a25.deploy.__default", npm_package_dependencies__feedmepos_ui_library: "1.8.4", npm_package_dependencies_dayjs: "^1.11.13", npm_package_dependencies_dotenv: "^16.4.5", npm_package_dependencies_vue_accessible_color_picker: "^5.2.0", 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_dependencies_i18next: "^25.1.1", npm_package_devDependencies_tailwindcss: "^3.4.3", npm_package_devDependencies_typescript: "~5.4.0", JAVA_HOME_25_X64: "/usr/lib/jvm/temurin-25-jdk-amd64", 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", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20260927.320.1", npm_package_scripts_dev: "vite --mode dev", npm_package_devDependencies_prettier: "^3.2.5", LOGNAME: "runner", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GITHUB_ARTIFACTS: "/home/runner/work/_temp/_runner_file_commands/artifacts_946c79bb-1e44-4ee0-a321-1048c830c080", 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_dependencies__feedmepos_brand_core: "0.0.2-beta.4", npm_package_devDependencies__vue_tsconfig: "^0.5.1", npm_package_devDependencies_vite_plugin_vue_devtools: "^7.0.25", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", JOURNAL_STREAM: "9:13637", 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/hosted-compute-agent.service/memory.pressure", GOROOT_1_24_X64: "/opt/hostedtoolcache/go/1.24.13/x64", 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", GOROOT_1_25_X64: "/opt/hostedtoolcache/go/1.25.14/x64", GITHUB_RUN_ID: "37569363288", 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: "f2629e01e19e94e83d0346353527d334bfeef2c5", GOROOT_1_26_X64: "/opt/hostedtoolcache/go/1.26.8/x64", 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 --tag latest --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-0.5.49-prod", GITHUB_ACTION_REPOSITORY: "", ENABLE_RUNNER_TRACING: "true", npm_package_dependencies_axios: "^1.7.2", npm_config_node_gyp: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.5.0/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@9.5.0/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@9.5.0/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@9.5.0/node_modules/pnpm/dist/node-gyp-bin:/home/runner/setup-pnpm/node_modules/.bin:/opt/hostedtoolcache/node/24.14.1/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_44777317-b27a-4e5b-bb0c-92956a91949c", INVOCATION_ID: "c7e24efa908448798735626e3775a1e1", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", NODE: "/opt/hostedtoolcache/node/24.14.1/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_7", GITHUB_RUN_NUMBER: "62", GITHUB_TRIGGERING_ACTOR: "mmjang", 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 1000180372", XDG_CONFIG_HOME: "/home/runner/.config", GITHUB_REF_NAME: "builder-0.5.49-prod", GITHUB_REPOSITORY: "feedmepos/brand-app", 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_package_dependencies__feedmepos_core: "^2.14.46", npm_lifecycle_script: "vite build --mode fmmf:prod", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_scripts_test: "node --test tests/*.test.mjs", npm_package_devDependencies__vue_eslint_config_prettier: "^9.0.0", SHELL: "/bin/bash", GITHUB_REPOSITORY_ID: "810874788", GITHUB_ACTIONS: "true", NODE_PATH: "/home/runner/work/brand-app/brand-app/client/merchant/node_modules/.pnpm/vite@5.4.21_@types+node@20.19.25/node_modules/vite/bin/node_modules:/home/runner/work/brand-app/brand-app/client/merchant/node_modules/.pnpm/vite@5.4.21_@types+node@20.19.25/node_modules/vite/node_modules:/home/runner/work/brand-app/brand-app/client/merchant/node_modules/.pnpm/vite@5.4.21_@types+node@20.19.25/node_modules:/home/runner/work/brand-app/brand-app/client/merchant/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.5.0/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.5.0/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.5.0/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.5.0/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.5.0/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.5.0/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.5.0/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.5.0/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.5.0/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules", npm_package_version: "0.5.49-prod", npm_package_dependencies__feedmepos_hrm_permission: "1.0.10", 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", npm_package_dependencies_vue_i18n: "^11.1.3", GITHUB_WORKSPACE: "/home/runner/work/brand-app/brand-app", ACCEPT_EULA: "Y", GITHUB_JOB: "deploy", GITHUB_SHA: "f2629e01e19e94e83d0346353527d334bfeef2c5", GITHUB_RUN_ATTEMPT: "1", 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", ACTIONS_RUNNER_RETURN_JOB_RESULT_FOR_HOSTED: "1", GITHUB_REF: "refs/tags/builder-0.5.49-prod", GITHUB_ACTOR: "mmjang", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_package_scripts_format: "prettier --write src/", npm_package_dependencies__feedmepos_mf_miniprogram_v2: "https://registry.npmjs.org/@feedmepos/mf-miniprogram-v2/-/mf-miniprogram-v2-0.2.0-dev.2.tgz", npm_package_dependencies__formkit_core: "^1.6.7", npm_package_dependencies_monaco_editor: "^0.52.2", npm_package_dependencies_qrcode: "^1.5.4", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_946c79bb-1e44-4ee0-a321-1048c830c080", JAVA_HOME: "/usr/lib/jvm/temurin-17-jdk-amd64", PWD: "/home/runner/work/brand-app/brand-app/client/merchant", GITHUB_ACTOR_ID: "5045203", RUNNER_WORKSPACE: "/home/runner/work/brand-app", npm_execpath: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.5.0/node_modules/pnpm/bin/pnpm.cjs", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", 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_946c79bb-1e44-4ee0-a321-1048c830c080", npm_package_exports___types: "./dist/merchant/src/app.d.ts", npm_package_dependencies__feedmepos_feature_flag: "^0.0.15", npm_package_dependencies__monaco_editor_loader: "^1.5.0", EDGEWEBDRIVER: "/usr/local/share/edge_driver", 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.3.13750724", GITHUB_ARTIFACTS_LIST: "/home/runner/work/_temp/_runner_file_commands/artifacts_list_946c79bb-1e44-4ee0-a321-1048c830c080", SGX_AESM_ADDR: "1", PSModulePath: "/root/.local/share/powershell/Modules:/usr/local/share/powershell/Modules:/opt/microsoft/powershell/7/Modules:/usr/share/az_15.6.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", npm_package_devDependencies__types_opentype_js: "^1.3.8", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_946c79bb-1e44-4ee0-a321-1048c830c080", 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", VITE_COUNTRY_CONFIG_URL: "https://country-config.feedmeapi.com", VITE_ODS_PREVIEW_URL: "https://v2-dev.feedme-ods.pages.dev/", LAUNCH_EDITOR: "code" } };
|
|
8177
8177
|
const li = "11.1.7";
|
|
8178
8178
|
function fi() {
|
|
8179
8179
|
typeof __VUE_I18N_FULL_INSTALL__ != "boolean" && (ne().__VUE_I18N_FULL_INSTALL__ = !0), typeof __VUE_I18N_LEGACY_API__ != "boolean" && (ne().__VUE_I18N_LEGACY_API__ = !0), typeof __INTLIFY_DROP_MESSAGE_COMPILER__ != "boolean" && (ne().__INTLIFY_DROP_MESSAGE_COMPILER__ = !1), typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (ne().__INTLIFY_PROD_DEVTOOLS__ = !1);
|