@feedmepos/mf-brand-app-builder 0.5.27-dev.0 → 0.5.28-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-DpN-3RMq.js → App-BjzhfhpF.js} +7 -7
- package/dist/{AssetsSettings-DhprCc4v.js → AssetsSettings-DJOCXmyp.js} +18 -18
- package/dist/{BrandkitView-DVGcxme0.js → BrandkitView-DoW1oGaQ.js} +2 -2
- package/dist/{BuilderView-XZdpUr77.js → BuilderView-CeBhUmEZ.js} +7 -7
- package/dist/{ImageUpload-CYQowgsH.js → ImageUpload-odamvjyc.js} +8 -8
- package/dist/{LinkButton-De-YNclu.js → LinkButton-DNXBKGCn.js} +1 -1
- package/dist/{ListRepeater-ayXiMxxo.js → ListRepeater-Cwbdyrr4.js} +1 -1
- package/dist/{ManagementSettings-CueLn4v_.js → ManagementSettings-DHh2g_XJ.js} +6 -6
- package/dist/{ProjectView-ByxaVBFb.js → ProjectView-DKXRpIC6.js} +1 -1
- package/dist/{app-BRc29qxl.js → app-Bh_S4QSD.js} +25 -19
- package/dist/app.js +1 -1
- package/dist/client/merchant/src/app.d.ts +16 -10
- package/dist/{image-D_Djf1PS.js → image-S7-2rbQS.js} +7 -7
- package/dist/index-BUEKCOG0.js +112 -0
- package/dist/{index-D0LOMBBD.js → index-C6_vWPi0.js} +27 -27
- package/dist/{index-Bk6TOZrx.js → index-CPs0rWCO.js} +15 -15
- package/dist/{index-C1rSMuKA.js → index-CawZ03Z8.js} +1 -1
- package/dist/{main-CzQ3NgS-.js → main-TiuQoOa_.js} +226 -218
- package/dist/package.json +3 -3
- package/package.json +2 -2
- package/dist/index-C4vwWvn_.js +0 -112
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as He, resolveComponent as ae, createElementBlock as W, openBlock as H, createElementVNode as f, createVNode as R, createCommentVNode as fe, withCtx as ye, unref as m, normalizeStyle as bn, toDisplayString as D, ref as ce, shallowRef as kn, onMounted as Pa, onBeforeUnmount as Sn, withDirectives as qr, normalizeClass as Fa, vShow as jr, markRaw as _t, nextTick as xn, watch as xr, createBlock as Ne, renderSlot as Tn, Fragment as Ve, renderList as er, computed as Me, Transition as Cn } from "vue";
|
|
2
|
-
import { B as br } from "./index-
|
|
2
|
+
import { B as br } from "./index-BUEKCOG0.js";
|
|
3
3
|
import { B as On } from "./ColorPicker-RKWzhLBO.js";
|
|
4
|
-
import { u as wn } from "./index-
|
|
4
|
+
import { u as wn } from "./index-CawZ03Z8.js";
|
|
5
5
|
import { useCoreStore as Ia, useI18n as Aa } from "@feedmepos/mf-common";
|
|
6
6
|
import { u as Un, b as G } from "./brandkit-OeLZ05mv.js";
|
|
7
7
|
import { useDialogChild as En, useDialog as et, useSnackbar as rt } from "@feedmepos/ui-library";
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { resolveComponent as V, TransitionGroup as qn, defineComponent as se, nextTick as rn, h as ma, isRef as Qn, isReactive as eo, isProxy as to, toRaw as ao, ref as q, computed as ie, createElementBlock as Z, openBlock as N, Fragment as Le, renderList as vt, createElementVNode as I, createVNode as w, createBlock as ae, createCommentVNode as Q, toDisplayString as j, unref as v, withCtx as M, normalizeClass as ye, watch as tt, withDirectives as Gt, withModifiers as ba, vShow as Xt, createTextVNode as no, onMounted as ln, resolveDynamicComponent as Ma, mergeProps as oo, normalizeProps as ro, guardReactiveProps as io, normalizeStyle as lo, renderSlot as wa, provide as so, inject as co, markRaw as uo } from "vue";
|
|
2
|
-
import { T as po, u as Ge } from "./index-
|
|
2
|
+
import { T as po, u as Ge } from "./index-CPs0rWCO.js";
|
|
3
3
|
import { defineStore as mo, storeToRefs as bo } from "pinia";
|
|
4
4
|
import { p as fo } from "./views-BDWw3w14.js";
|
|
5
|
-
import { A as go } from "./index-
|
|
5
|
+
import { A as go } from "./index-C6_vWPi0.js";
|
|
6
6
|
import { v as Ra } from "./v4-CKwdnpQf.js";
|
|
7
7
|
import { _ as ho } from "./Icon.vue_vue_type_style_index_0_lang-BcRjQndc.js";
|
|
8
8
|
import { B as sn } from "./BaDivider-Cp9gfB4r.js";
|
|
9
9
|
import { useI18n as Ze, useCoreStore as We } from "@feedmepos/mf-common";
|
|
10
|
-
import { C as $a, _ as yo, a as vo } from "./main-
|
|
10
|
+
import { C as $a, _ as yo, a as vo } from "./main-TiuQoOa_.js";
|
|
11
11
|
import { useDialog as To, components as xo, useSnackbar as Co } from "@feedmepos/ui-library";
|
|
12
12
|
import { useRouter as dn } from "vue-router";
|
|
13
13
|
import { u as Ia, a as _o, b as wo } from "./brandkit-OeLZ05mv.js";
|
|
14
|
-
import { u as Ea } from "./index-
|
|
14
|
+
import { u as Ea } from "./index-CawZ03Z8.js";
|
|
15
15
|
import { K as Io, V as Eo } from "./vue-sonner-CBFYmm8_.js";
|
|
16
|
-
import { F as So, a as Ao } from "./app-
|
|
16
|
+
import { F as So, a as Ao } from "./app-Bh_S4QSD.js";
|
|
17
17
|
/**!
|
|
18
18
|
* Sortable 1.14.0
|
|
19
19
|
* @author RubaXa <trash@rubaxa.org>
|
|
@@ -6605,7 +6605,7 @@ const ai = { class: "mb-24" }, ni = { class: "fm-typo-en-title-lg-700 text-fm-co
|
|
|
6605
6605
|
}
|
|
6606
6606
|
async function g() {
|
|
6607
6607
|
var y;
|
|
6608
|
-
const f = `${"https://{slug}.
|
|
6608
|
+
const f = `${"https://{slug}.feedme.vip".replace("{slug}", `${r.currentBusiness.value.url ?? ((y = r.currentBusiness.value) == null ? void 0 : y.id)}`)}`;
|
|
6609
6609
|
l.promise(
|
|
6610
6610
|
async () => {
|
|
6611
6611
|
var x;
|
|
@@ -8171,7 +8171,7 @@ _t.toString = Oa.bind(null, function(t, e, a) {
|
|
|
8171
8171
|
const xl = { class: "flex items-center justify-center" }, Cl = { class: "w-full flex gap-8 justify-end items-center" }, _l = /* @__PURE__ */ se({
|
|
8172
8172
|
__name: "PreviewQrCode",
|
|
8173
8173
|
setup(t) {
|
|
8174
|
-
const e = q(), a = We(), n = Ge(), { t: o } = Ze(), r = q(!1), l = ie(() => `${`${"https://{slug}.
|
|
8174
|
+
const e = q(), a = We(), n = Ge(), { t: o } = Ze(), r = q(!1), l = ie(() => `${`${"https://{slug}.feedme.vip".replace("{slug}", `${a.currentBusiness.value.url ?? a.currentBusiness.value._id}`)}`}/preview/${n.state.selectedTemplate.templateId}`);
|
|
8175
8175
|
function i() {
|
|
8176
8176
|
Io.promise(navigator.clipboard.writeText(l.value), {
|
|
8177
8177
|
loading: o("brand.template.shareMenu.copying"),
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { defineComponent as y, ref as b, resolveComponent as w, createElementBlock as r, openBlock as s, createVNode as c, createCommentVNode as
|
|
2
|
-
import { r as g, I as h } from "./image-
|
|
1
|
+
import { defineComponent as y, ref as b, resolveComponent as w, createElementBlock as r, openBlock as s, createVNode as c, createCommentVNode as d, Fragment as C, createElementVNode as i, unref as u } from "vue";
|
|
2
|
+
import { r as g, I as h } from "./image-S7-2rbQS.js";
|
|
3
3
|
import { useCoreStore as I } from "@feedmepos/mf-common";
|
|
4
|
-
import "./main-
|
|
4
|
+
import "./main-TiuQoOa_.js";
|
|
5
5
|
import { _ as $ } from "./Icon.vue_vue_type_style_index_0_lang-BcRjQndc.js";
|
|
6
6
|
import { C as k } from "./CircularProgress-DdblYCtV.js";
|
|
7
7
|
import { v as F } from "./v4-CKwdnpQf.js";
|
|
@@ -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 l = `https://image.
|
|
25
|
+
const l = `https://image.feedme.cc/business/${a.currentBusiness.value._id}/${m.imagePath}`;
|
|
26
26
|
e.context.node.input(l);
|
|
27
27
|
const n = new Image();
|
|
28
28
|
(p = e.context) != 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(l);
|
|
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 ? (s(), r("div", z, [
|
|
65
65
|
c(u(k))
|
|
66
|
-
])) :
|
|
66
|
+
])) : d("", !0)
|
|
67
67
|
]);
|
|
68
68
|
};
|
|
69
69
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as I, ref as f, computed as k, onBeforeMount as L, resolveComponent as c, createBlock as v, openBlock as u, withCtx as m, createElementVNode as a, createVNode as r, createElementBlock as x, Fragment as M, renderList as F, toDisplayString as P, withModifiers as R } from "vue";
|
|
2
2
|
import { B as y } from "./BaDivider-Cp9gfB4r.js";
|
|
3
3
|
import { _ as W } from "./Icon.vue_vue_type_style_index_0_lang-BcRjQndc.js";
|
|
4
|
-
import { u as $ } from "./index-
|
|
4
|
+
import { u as $ } from "./index-CPs0rWCO.js";
|
|
5
5
|
import "@feedmepos/mf-common";
|
|
6
6
|
const j = {
|
|
7
7
|
key: 1,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as b, resolveComponent as y, createBlock as s, openBlock as c, unref as u, withCtx as i, createElementBlock as m, Fragment as x, renderList as g, createElementVNode as p, createVNode as n, resolveDynamicComponent as F } from "vue";
|
|
2
|
-
import { F as f } from "./app-
|
|
2
|
+
import { F as f } from "./app-Bh_S4QSD.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 C, ref as y, computed as S, watch as $, resolveComponent as d, createElementBlock as k, openBlock as g, createElementVNode as o, createVNode as u, toDisplayString as _, unref as i, createBlock as F, withCtx as U } from "vue";
|
|
2
2
|
import { useCoreStore as P, useI18n as V } from "@feedmepos/mf-common";
|
|
3
|
-
import { B as h } from "./index-
|
|
3
|
+
import { B as h } from "./index-BUEKCOG0.js";
|
|
4
4
|
import { K as q } from "./vue-sonner-CBFYmm8_.js";
|
|
5
|
-
import { r as I, I as T } from "./image-
|
|
5
|
+
import { r as I, I as T } from "./image-S7-2rbQS.js";
|
|
6
6
|
import { useSnackbar as A } from "@feedmepos/ui-library";
|
|
7
7
|
const E = new RegExp(/^[a-z0-9][a-z0-9\-]{4,}[a-z0-9]$/), N = [
|
|
8
8
|
"brand",
|
|
@@ -510,12 +510,12 @@ const E = new RegExp(/^[a-z0-9][a-z0-9\-]{4,}[a-z0-9]$/), N = [
|
|
|
510
510
|
url: "",
|
|
511
511
|
thumbnail: ""
|
|
512
512
|
}), x = S(
|
|
513
|
-
() => "https://{slug}.
|
|
513
|
+
() => "https://{slug}.feedme.vip".replace("https://{slug}", "")
|
|
514
514
|
);
|
|
515
515
|
function B() {
|
|
516
516
|
var t, e;
|
|
517
517
|
navigator.clipboard.writeText(
|
|
518
|
-
"https://{slug}.
|
|
518
|
+
"https://{slug}.feedme.vip".replace(
|
|
519
519
|
"{slug}",
|
|
520
520
|
((t = s.currentBusiness.value) == null ? void 0 : t.url) ?? ((e = s.currentBusiness.value) == null ? void 0 : e._id)
|
|
521
521
|
)
|
|
@@ -574,9 +574,9 @@ const E = new RegExp(/^[a-z0-9][a-z0-9\-]{4,}[a-z0-9]$/), N = [
|
|
|
574
574
|
await h.updateBusinessProfile(s.currentBusiness.value._id, {
|
|
575
575
|
name: a.value.name,
|
|
576
576
|
url: a.value.url,
|
|
577
|
-
thumbnail: `https://image.
|
|
577
|
+
thumbnail: `https://image.feedme.cc/business/${s.currentBusiness.value._id}/${c.imagePath}`,
|
|
578
578
|
coverPhoto: s.currentBusiness.value.coverPhoto
|
|
579
|
-
}), a.value.thumbnail = `https://image.
|
|
579
|
+
}), a.value.thumbnail = `https://image.feedme.cc/business/${s.currentBusiness.value._id}/${c.imagePath}`;
|
|
580
580
|
});
|
|
581
581
|
}
|
|
582
582
|
return $(
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as S, createElementBlock as D, openBlock as I, normalizeClass as m, createElementVNode as E, toDisplayString as C, ref as x, computed as J, watch as K, resolveComponent as l, unref as h, Fragment as v, renderList as W, createVNode as B, createCommentVNode as s, createBlock as r, withCtx as P, h as L } from "vue";
|
|
2
|
-
import { u as Z } from "./index-
|
|
2
|
+
import { u as Z } from "./index-CPs0rWCO.js";
|
|
3
3
|
import { useCoreStore as q, useI18n as X } from "@feedmepos/mf-common";
|
|
4
4
|
import { p as y } from "./views-BDWw3w14.js";
|
|
5
5
|
import { useRouter as b } from "vue-router";
|
|
@@ -4418,6 +4418,7 @@ const wn = {
|
|
|
4418
4418
|
titles: "{count} titles: {names}",
|
|
4419
4419
|
pointsPrice: "{points} points",
|
|
4420
4420
|
or: "or",
|
|
4421
|
+
discount: "Save {discount}",
|
|
4421
4422
|
redeemSuccess: "{name} successfully redeemed",
|
|
4422
4423
|
purchaseCompleted: "Purchase Completed",
|
|
4423
4424
|
purchaseSuccessful: "Your purchase was successful!",
|
|
@@ -4891,6 +4892,9 @@ const wn = {
|
|
|
4891
4892
|
emptyTitle: "商店套餐将显示在这里!",
|
|
4892
4893
|
emptySubtitle: "目前没有可兑换的套餐。请稍后查看!",
|
|
4893
4894
|
bundle: {
|
|
4895
|
+
pointsPrice: "{points}点数",
|
|
4896
|
+
or: "或",
|
|
4897
|
+
discount: "节省 {discount}",
|
|
4894
4898
|
stripeLabel: "使用Stripe订阅",
|
|
4895
4899
|
pointsLabel: "点数",
|
|
4896
4900
|
redeemTitle: "兑换",
|
|
@@ -4919,8 +4923,6 @@ const wn = {
|
|
|
4919
4923
|
credit: "积分:{count}积分",
|
|
4920
4924
|
vouchers: "{count}张优惠券:{names}",
|
|
4921
4925
|
titles: "{count}个称号:{names}",
|
|
4922
|
-
pointsPrice: "{points}点数",
|
|
4923
|
-
or: "或",
|
|
4924
4926
|
redeemSuccess: "{name}兑换成功",
|
|
4925
4927
|
purchaseCompleted: "购买完成",
|
|
4926
4928
|
purchaseSuccessful: "您的购买已成功!",
|
|
@@ -5423,6 +5425,9 @@ const wn = {
|
|
|
5423
5425
|
emptyTitle: "商店套餐將顯示在這裡!",
|
|
5424
5426
|
emptySubtitle: "目前沒有可兌換的套餐。請稍後查看!",
|
|
5425
5427
|
bundle: {
|
|
5428
|
+
pointsPrice: "{points}點數",
|
|
5429
|
+
or: "或",
|
|
5430
|
+
discount: "節省 {discount}",
|
|
5426
5431
|
stripeLabel: "使用Stripe訂閱",
|
|
5427
5432
|
pointsLabel: "點數",
|
|
5428
5433
|
redeemTitle: "兌換",
|
|
@@ -5451,8 +5456,6 @@ const wn = {
|
|
|
5451
5456
|
credit: "積分:{count}積分",
|
|
5452
5457
|
vouchers: "{count}張優惠券:{names}",
|
|
5453
5458
|
titles: "{count}個稱號:{names}",
|
|
5454
|
-
pointsPrice: "{points}點數",
|
|
5455
|
-
or: "或",
|
|
5456
5459
|
redeemSuccess: "{name}兌換成功",
|
|
5457
5460
|
purchaseCompleted: "購買完成",
|
|
5458
5461
|
purchaseSuccessful: "您的購買已成功!",
|
|
@@ -5932,6 +5935,9 @@ const wn = {
|
|
|
5932
5935
|
emptyTitle: "แพ็คเกจร้านค้าจะปรากฏที่นี่!",
|
|
5933
5936
|
emptySubtitle: "ไม่มีแพ็คเกจที่สามารถแลกได้ในขณะนี้ กลับมาดูใหม่ภายหลัง!",
|
|
5934
5937
|
bundle: {
|
|
5938
|
+
pointsPrice: "{points} คะแนน",
|
|
5939
|
+
or: "หรือ",
|
|
5940
|
+
discount: "ประหยัด {discount}",
|
|
5935
5941
|
stripeLabel: "สมัครด้วย Stripe",
|
|
5936
5942
|
pointsLabel: "คะแนน",
|
|
5937
5943
|
redeemTitle: "แลก",
|
|
@@ -5960,8 +5966,6 @@ const wn = {
|
|
|
5960
5966
|
credit: "เครดิต: {count} เครดิต",
|
|
5961
5967
|
vouchers: "{count} คูปอง: {names}",
|
|
5962
5968
|
titles: "{count} ตำแหน่ง: {names}",
|
|
5963
|
-
pointsPrice: "{points} คะแนน",
|
|
5964
|
-
or: "หรือ",
|
|
5965
5969
|
redeemSuccess: "แลก {name} สำเร็จ",
|
|
5966
5970
|
purchaseCompleted: "การซื้อเสร็จสิ้น",
|
|
5967
5971
|
purchaseSuccessful: "การซื้อของคุณสำเร็จแล้ว!",
|
|
@@ -6481,6 +6485,9 @@ const wn = {
|
|
|
6481
6485
|
emptyTitle: "스토어 번들이 여기에 표시됩니다!",
|
|
6482
6486
|
emptySubtitle: "현재 교환 가능한 번들이 없습니다. 나중에 다시 확인해주세요!",
|
|
6483
6487
|
bundle: {
|
|
6488
|
+
pointsPrice: "{points} 포인트",
|
|
6489
|
+
or: "또는",
|
|
6490
|
+
discount: "{discount} 할인",
|
|
6484
6491
|
stripeLabel: "Stripe로 구독",
|
|
6485
6492
|
pointsLabel: "포인트",
|
|
6486
6493
|
redeemTitle: "교환",
|
|
@@ -6509,8 +6516,6 @@ const wn = {
|
|
|
6509
6516
|
credit: "크레딧: {count} 크레딧",
|
|
6510
6517
|
vouchers: "{count} 쿠폰: {names}",
|
|
6511
6518
|
titles: "{count} 칭호: {names}",
|
|
6512
|
-
pointsPrice: "{points} 포인트",
|
|
6513
|
-
or: "또는",
|
|
6514
6519
|
redeemSuccess: "{name} 교환 성공",
|
|
6515
6520
|
purchaseCompleted: "구매 완료",
|
|
6516
6521
|
purchaseSuccessful: "구매가 성공적으로 완료되었습니다!",
|
|
@@ -7022,6 +7027,9 @@ const wn = {
|
|
|
7022
7027
|
emptyTitle: "Các gói cửa hàng sẽ xuất hiện ở đây!",
|
|
7023
7028
|
emptySubtitle: "Hiện không có gói nào có thể đổi. Hãy kiểm tra lại sau!",
|
|
7024
7029
|
bundle: {
|
|
7030
|
+
pointsPrice: "{points} điểm",
|
|
7031
|
+
or: "hoặc",
|
|
7032
|
+
discount: "Tiết kiệm {discount}",
|
|
7025
7033
|
stripeLabel: "Đăng ký với Stripe",
|
|
7026
7034
|
pointsLabel: "Điểm",
|
|
7027
7035
|
redeemTitle: "Đổi",
|
|
@@ -7050,8 +7058,6 @@ const wn = {
|
|
|
7050
7058
|
credit: "Tín dụng: {count} tín dụng",
|
|
7051
7059
|
vouchers: "{count} phiếu giảm giá: {names}",
|
|
7052
7060
|
titles: "{count} danh hiệu: {names}",
|
|
7053
|
-
pointsPrice: "{points} điểm",
|
|
7054
|
-
or: "hoặc",
|
|
7055
7061
|
redeemSuccess: "Đổi {name} thành công",
|
|
7056
7062
|
purchaseCompleted: "Giao dịch hoàn tất",
|
|
7057
7063
|
purchaseSuccessful: "Giao dịch của bạn đã thành công!",
|
|
@@ -7109,12 +7115,12 @@ const wn = {
|
|
|
7109
7115
|
{
|
|
7110
7116
|
path: "/",
|
|
7111
7117
|
name: "brandkit",
|
|
7112
|
-
component: H(() => import("./BrandkitView-
|
|
7118
|
+
component: H(() => import("./BrandkitView-DoW1oGaQ.js"))
|
|
7113
7119
|
},
|
|
7114
7120
|
{
|
|
7115
7121
|
path: "/projects",
|
|
7116
7122
|
name: "projects",
|
|
7117
|
-
component: H(() => import("./ProjectView-
|
|
7123
|
+
component: H(() => import("./ProjectView-DKXRpIC6.js"))
|
|
7118
7124
|
},
|
|
7119
7125
|
{
|
|
7120
7126
|
path: "/builder",
|
|
@@ -7124,7 +7130,7 @@ const wn = {
|
|
|
7124
7130
|
path: ":templateId(.*)*",
|
|
7125
7131
|
name: "builder",
|
|
7126
7132
|
component: H(
|
|
7127
|
-
() => import("./BuilderView-
|
|
7133
|
+
() => import("./BuilderView-CeBhUmEZ.js")
|
|
7128
7134
|
)
|
|
7129
7135
|
}
|
|
7130
7136
|
]
|
|
@@ -7139,14 +7145,14 @@ const wn = {
|
|
|
7139
7145
|
path: "assets",
|
|
7140
7146
|
name: "settings-assets",
|
|
7141
7147
|
component: H(
|
|
7142
|
-
() => import("./AssetsSettings-
|
|
7148
|
+
() => import("./AssetsSettings-DJOCXmyp.js")
|
|
7143
7149
|
)
|
|
7144
7150
|
},
|
|
7145
7151
|
{
|
|
7146
7152
|
path: "management",
|
|
7147
7153
|
name: "settings-management",
|
|
7148
7154
|
component: H(
|
|
7149
|
-
() => import("./ManagementSettings-
|
|
7155
|
+
() => import("./ManagementSettings-DHh2g_XJ.js")
|
|
7150
7156
|
)
|
|
7151
7157
|
}
|
|
7152
7158
|
]
|
|
@@ -11825,7 +11831,7 @@ const Ac = (e) => {
|
|
|
11825
11831
|
),
|
|
11826
11832
|
BaListRepeater: K(
|
|
11827
11833
|
H(
|
|
11828
|
-
() => import("./ListRepeater-
|
|
11834
|
+
() => import("./ListRepeater-Cwbdyrr4.js")
|
|
11829
11835
|
)
|
|
11830
11836
|
),
|
|
11831
11837
|
BaTextStyleList: K(
|
|
@@ -11845,13 +11851,13 @@ const Ac = (e) => {
|
|
|
11845
11851
|
),
|
|
11846
11852
|
BaImageUpload: K(
|
|
11847
11853
|
H(
|
|
11848
|
-
() => import("./ImageUpload-
|
|
11854
|
+
() => import("./ImageUpload-odamvjyc.js")
|
|
11849
11855
|
),
|
|
11850
11856
|
{ props: ["ignoreUpdate"] }
|
|
11851
11857
|
),
|
|
11852
11858
|
BaLinkButton: K(
|
|
11853
11859
|
H(
|
|
11854
|
-
() => import("./LinkButton-
|
|
11860
|
+
() => import("./LinkButton-DNXBKGCn.js")
|
|
11855
11861
|
)
|
|
11856
11862
|
),
|
|
11857
11863
|
BaSwitch: K(
|
|
@@ -11873,7 +11879,7 @@ const Ac = (e) => {
|
|
|
11873
11879
|
"th-TH": { ...Dn, ...yr },
|
|
11874
11880
|
"ko-KR": { ...Bn, ...wr },
|
|
11875
11881
|
"vi-VN": { ...zn, ...Mr }
|
|
11876
|
-
}, Pc = H(() => import("./App-
|
|
11882
|
+
}, Pc = H(() => import("./App-BjzhfhpF.js"));
|
|
11877
11883
|
export {
|
|
11878
11884
|
hn as F,
|
|
11879
11885
|
pn as a,
|
package/dist/app.js
CHANGED
|
@@ -462,6 +462,7 @@ export declare const i18nMessages: {
|
|
|
462
462
|
titles: string;
|
|
463
463
|
pointsPrice: string;
|
|
464
464
|
or: string;
|
|
465
|
+
discount: string;
|
|
465
466
|
redeemSuccess: string;
|
|
466
467
|
purchaseCompleted: string;
|
|
467
468
|
purchaseSuccessful: string;
|
|
@@ -1539,6 +1540,9 @@ export declare const i18nMessages: {
|
|
|
1539
1540
|
emptyTitle: string;
|
|
1540
1541
|
emptySubtitle: string;
|
|
1541
1542
|
bundle: {
|
|
1543
|
+
pointsPrice: string;
|
|
1544
|
+
or: string;
|
|
1545
|
+
discount: string;
|
|
1542
1546
|
stripeLabel: string;
|
|
1543
1547
|
pointsLabel: string;
|
|
1544
1548
|
redeemTitle: string;
|
|
@@ -1567,8 +1571,6 @@ export declare const i18nMessages: {
|
|
|
1567
1571
|
credit: string;
|
|
1568
1572
|
vouchers: string;
|
|
1569
1573
|
titles: string;
|
|
1570
|
-
pointsPrice: string;
|
|
1571
|
-
or: string;
|
|
1572
1574
|
redeemSuccess: string;
|
|
1573
1575
|
purchaseCompleted: string;
|
|
1574
1576
|
purchaseSuccessful: string;
|
|
@@ -2676,6 +2678,9 @@ export declare const i18nMessages: {
|
|
|
2676
2678
|
emptyTitle: string;
|
|
2677
2679
|
emptySubtitle: string;
|
|
2678
2680
|
bundle: {
|
|
2681
|
+
pointsPrice: string;
|
|
2682
|
+
or: string;
|
|
2683
|
+
discount: string;
|
|
2679
2684
|
stripeLabel: string;
|
|
2680
2685
|
pointsLabel: string;
|
|
2681
2686
|
redeemTitle: string;
|
|
@@ -2704,8 +2709,6 @@ export declare const i18nMessages: {
|
|
|
2704
2709
|
credit: string;
|
|
2705
2710
|
vouchers: string;
|
|
2706
2711
|
titles: string;
|
|
2707
|
-
pointsPrice: string;
|
|
2708
|
-
or: string;
|
|
2709
2712
|
redeemSuccess: string;
|
|
2710
2713
|
purchaseCompleted: string;
|
|
2711
2714
|
purchaseSuccessful: string;
|
|
@@ -3790,6 +3793,9 @@ export declare const i18nMessages: {
|
|
|
3790
3793
|
emptyTitle: string;
|
|
3791
3794
|
emptySubtitle: string;
|
|
3792
3795
|
bundle: {
|
|
3796
|
+
pointsPrice: string;
|
|
3797
|
+
or: string;
|
|
3798
|
+
discount: string;
|
|
3793
3799
|
stripeLabel: string;
|
|
3794
3800
|
pointsLabel: string;
|
|
3795
3801
|
redeemTitle: string;
|
|
@@ -3818,8 +3824,6 @@ export declare const i18nMessages: {
|
|
|
3818
3824
|
credit: string;
|
|
3819
3825
|
vouchers: string;
|
|
3820
3826
|
titles: string;
|
|
3821
|
-
pointsPrice: string;
|
|
3822
|
-
or: string;
|
|
3823
3827
|
redeemSuccess: string;
|
|
3824
3828
|
purchaseCompleted: string;
|
|
3825
3829
|
purchaseSuccessful: string;
|
|
@@ -4944,6 +4948,9 @@ export declare const i18nMessages: {
|
|
|
4944
4948
|
emptyTitle: string;
|
|
4945
4949
|
emptySubtitle: string;
|
|
4946
4950
|
bundle: {
|
|
4951
|
+
pointsPrice: string;
|
|
4952
|
+
or: string;
|
|
4953
|
+
discount: string;
|
|
4947
4954
|
stripeLabel: string;
|
|
4948
4955
|
pointsLabel: string;
|
|
4949
4956
|
redeemTitle: string;
|
|
@@ -4972,8 +4979,6 @@ export declare const i18nMessages: {
|
|
|
4972
4979
|
credit: string;
|
|
4973
4980
|
vouchers: string;
|
|
4974
4981
|
titles: string;
|
|
4975
|
-
pointsPrice: string;
|
|
4976
|
-
or: string;
|
|
4977
4982
|
redeemSuccess: string;
|
|
4978
4983
|
purchaseCompleted: string;
|
|
4979
4984
|
purchaseSuccessful: string;
|
|
@@ -6252,6 +6257,9 @@ export declare const i18nMessages: {
|
|
|
6252
6257
|
emptyTitle: string;
|
|
6253
6258
|
emptySubtitle: string;
|
|
6254
6259
|
bundle: {
|
|
6260
|
+
pointsPrice: string;
|
|
6261
|
+
or: string;
|
|
6262
|
+
discount: string;
|
|
6255
6263
|
stripeLabel: string;
|
|
6256
6264
|
pointsLabel: string;
|
|
6257
6265
|
redeemTitle: string;
|
|
@@ -6280,8 +6288,6 @@ export declare const i18nMessages: {
|
|
|
6280
6288
|
credit: string;
|
|
6281
6289
|
vouchers: string;
|
|
6282
6290
|
titles: string;
|
|
6283
|
-
pointsPrice: string;
|
|
6284
|
-
or: string;
|
|
6285
6291
|
redeemSuccess: string;
|
|
6286
6292
|
purchaseCompleted: string;
|
|
6287
6293
|
purchaseSuccessful: string;
|
|
@@ -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) {
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
import { H as e, a as i } from "./index-C6_vWPi0.js";
|
|
2
|
+
const o = () => i().PORTAL_V2_BACKEND, p = () => i().LICENSE_BACKEND;
|
|
3
|
+
async function c(t) {
|
|
4
|
+
return (await e.Get(
|
|
5
|
+
"https://api.feedme.vip",
|
|
6
|
+
`/short-url/${t}`
|
|
7
|
+
)).data;
|
|
8
|
+
}
|
|
9
|
+
async function d(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 u(t) {
|
|
27
|
+
return (await e.Get(
|
|
28
|
+
"https://api.feedme.vip",
|
|
29
|
+
`/metadata/${t}/config`
|
|
30
|
+
)).data;
|
|
31
|
+
}
|
|
32
|
+
async function f(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 m(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 l(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 y(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 $(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 w(t, a) {
|
|
80
|
+
return await e.Put(
|
|
81
|
+
o(),
|
|
82
|
+
`businesses/${t}/profile`,
|
|
83
|
+
{
|
|
84
|
+
data: a
|
|
85
|
+
}
|
|
86
|
+
).catch((n) => {
|
|
87
|
+
var r;
|
|
88
|
+
throw (r = n.response) == null ? void 0 : r.data;
|
|
89
|
+
});
|
|
90
|
+
}
|
|
91
|
+
async function B(t) {
|
|
92
|
+
return await e.Get(
|
|
93
|
+
p(),
|
|
94
|
+
`api/business/${t}/feature/miniprogram`
|
|
95
|
+
).then((a) => a.data).catch(() => !1);
|
|
96
|
+
}
|
|
97
|
+
const b = {
|
|
98
|
+
getGlobalSlug: c,
|
|
99
|
+
setShortUrl: d,
|
|
100
|
+
getBusinessMetadata: u,
|
|
101
|
+
setBusinessMetadata: f,
|
|
102
|
+
getBusinessBrandkit: m,
|
|
103
|
+
setBusinessBrandkit: h,
|
|
104
|
+
getTemplateHistory: l,
|
|
105
|
+
restoreTemplateVersion: y,
|
|
106
|
+
clearTemplateHistory: $,
|
|
107
|
+
updateBusinessProfile: w,
|
|
108
|
+
getBusinessPremiumStatus: B
|
|
109
|
+
};
|
|
110
|
+
export {
|
|
111
|
+
b as B
|
|
112
|
+
};
|