@feedmepos/mf-brand-app-builder 0.5.47-prod → 0.5.49-dev.1
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-BH-HEj-A.js → App-BRWdYrrB.js} +4 -4
- package/dist/{AssetsSettings-Do8rt2sU.js → AssetsSettings-DtZ6goQl.js} +22 -22
- package/dist/{BrandkitView-DBHBRqJd.js → BrandkitView-7AG4dkWK.js} +2655 -2662
- package/dist/{BuilderView-C-9L9DYj.js → BuilderView-1ecAIwCF.js} +7 -7
- package/dist/{CredentialSettings-BB_Yroul.js → CredentialSettings-3eVBw1x8.js} +1 -1
- package/dist/{ImageUpload-B_Cwb7uG.js → ImageUpload-DbnCBBrk.js} +8 -8
- package/dist/{LinkButton-DNXBKGCn.js → LinkButton-De-YNclu.js} +1 -1
- package/dist/{ListRepeater-BUwnFzc4.js → ListRepeater-CNLIHsUG.js} +1 -1
- package/dist/{ManagementSettings-CjsGetkI.js → ManagementSettings-CWAKkmbz.js} +6 -6
- package/dist/{ProjectView-B_MXOUPV.js → ProjectView-CYK3oA5I.js} +3 -3
- package/dist/{app-CSlr7y4L.js → app-xjlIYnd-.js} +734 -689
- package/dist/app.js +1 -1
- package/dist/client/merchant/src/app.d.ts +7 -0
- package/dist/client/merchant/src/composables/miniprogramPortalEntry.d.ts +19 -0
- package/dist/{dayjs.min-DGxqbGsh.js → dayjs.min-V86kHiPB.js} +1 -1
- package/dist/{image-S7-2rbQS.js → image-D_Djf1PS.js} +7 -7
- package/dist/{index-BpYD24Jn.js → index-BA2J-Ffh.js} +1 -1
- package/dist/{index-CPs0rWCO.js → index-Bk6TOZrx.js} +15 -15
- package/dist/index-CVVQJJYY.js +134 -0
- package/dist/{index-C6_vWPi0.js → index-D0LOMBBD.js} +27 -27
- package/dist/{main-Cn1Sp_j-.js → main-CMc0YMiV.js} +2 -2
- package/dist/package.json +1 -1
- package/dist/style.css +1 -1
- package/dist/{useBusinessFeatureFlag-C_l1nFQm.js → useBusinessFeatureFlag-B7Qvaq-q.js} +1 -1
- package/package.json +1 -1
- package/dist/index-CP6_oC8N.js +0 -134
|
@@ -1,18 +1,18 @@
|
|
|
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 ne, createElementBlock as Z, openBlock as N, Fragment as Be, renderList as vt, createElementVNode as w, createVNode as _, createBlock as ae, createCommentVNode as K, toDisplayString as z, unref as y, 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-Bk6TOZrx.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-D0LOMBBD.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-CMc0YMiV.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-Jwi77VnL.js";
|
|
14
|
-
import { u as Ea } from "./index-
|
|
15
|
-
import { u as Io, F as Eo, a as So } from "./app-
|
|
14
|
+
import { u as Ea } from "./index-BA2J-Ffh.js";
|
|
15
|
+
import { u as Io, F as Eo, a as So } from "./app-xjlIYnd-.js";
|
|
16
16
|
import { K as Ao, V as Lo } from "./vue-sonner-CBFYmm8_.js";
|
|
17
17
|
/**!
|
|
18
18
|
* Sortable 1.14.0
|
|
@@ -6613,7 +6613,7 @@ const ni = { class: "mb-24" }, oi = { class: "fm-typo-en-title-lg-700 text-fm-co
|
|
|
6613
6613
|
}
|
|
6614
6614
|
async function C() {
|
|
6615
6615
|
var v;
|
|
6616
|
-
const f = `${"https://{slug}.
|
|
6616
|
+
const f = `${"https://{slug}.feedmedev.vip".replace("{slug}", `${r.currentBusiness.value.url ?? ((v = r.currentBusiness.value) == null ? void 0 : v.id)}`)}`;
|
|
6617
6617
|
l.promise(
|
|
6618
6618
|
async () => {
|
|
6619
6619
|
var k;
|
|
@@ -8182,7 +8182,7 @@ _t.toString = Fa.bind(null, function(t, e, a) {
|
|
|
8182
8182
|
const _l = { class: "flex items-center justify-center" }, wl = { class: "w-full flex gap-8 justify-end items-center" }, Il = /* @__PURE__ */ se({
|
|
8183
8183
|
__name: "PreviewQrCode",
|
|
8184
8184
|
setup(t) {
|
|
8185
|
-
const e = Q(), a = We(), n = Ge(), { t: o } = Ze(), r = Q(!1), l = ne(() => `${`${"https://{slug}.
|
|
8185
|
+
const e = Q(), a = We(), n = Ge(), { t: o } = Ze(), r = Q(!1), l = ne(() => `${`${"https://{slug}.feedmedev.vip".replace("{slug}", `${a.currentBusiness.value.url ?? a.currentBusiness.value._id}`)}`}/preview/${n.state.selectedTemplate.templateId}`);
|
|
8186
8186
|
function i() {
|
|
8187
8187
|
Ao.promise(navigator.clipboard.writeText(l.value), {
|
|
8188
8188
|
loading: o("brand.template.shareMenu.copying"),
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as B, ref as d, watch as S, resolveComponent as k, createElementBlock as f, openBlock as c, createCommentVNode as w, createBlock as K, renderSlot as D, toDisplayString as F, createElementVNode as m, createVNode as t, Fragment as I } from "vue";
|
|
2
|
-
import { B as P } from "./index-
|
|
2
|
+
import { B as P } from "./index-CVVQJJYY.js";
|
|
3
3
|
import { useCoreStore as N, useI18n as $ } from "@feedmepos/mf-common";
|
|
4
4
|
import { K as j } from "./vue-sonner-CBFYmm8_.js";
|
|
5
5
|
const O = { key: 0 }, R = { class: "rounded-md border-2 border-dashed border-fm-color-primary p-16 flex flex-col gap-8 items-center mt-4" }, T = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, b = /* @__PURE__ */ B({
|
|
@@ -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 f, Fragment as C, createElementVNode as i, unref as u } from "vue";
|
|
2
|
+
import { r as g, I as h } from "./image-D_Djf1PS.js";
|
|
3
3
|
import { useCoreStore as I } from "@feedmepos/mf-common";
|
|
4
|
-
import "./main-
|
|
4
|
+
import "./main-CMc0YMiV.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.feedmedev.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 d;
|
|
30
|
+
((d = e.context.node.at("$root")) == null ? void 0 : d._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)) : f("", !0),
|
|
64
64
|
t.value ? (s(), r("div", z, [
|
|
65
65
|
c(u(k))
|
|
66
|
-
])) :
|
|
66
|
+
])) : f("", !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-Bk6TOZrx.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-xjlIYnd-.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 F, ref as _, computed as I, watch as V, resolveComponent as g, createElementBlock as f, openBlock as v, createElementVNode as u, createVNode as d, toDisplayString as B, unref as l, createBlock as q, createCommentVNode as T, withCtx as A } from "vue";
|
|
2
2
|
import { useCoreStore as R, useI18n as N } from "@feedmepos/mf-common";
|
|
3
|
-
import { B as h } from "./index-
|
|
3
|
+
import { B as h } from "./index-CVVQJJYY.js";
|
|
4
4
|
import { K as x } from "./vue-sonner-CBFYmm8_.js";
|
|
5
|
-
import { r as D, I as j } from "./image-
|
|
5
|
+
import { r as D, I as j } from "./image-D_Djf1PS.js";
|
|
6
6
|
import { useSnackbar as E } from "@feedmepos/ui-library";
|
|
7
7
|
const K = new RegExp(/^[a-z0-9][a-z0-9\-]{4,}[a-z0-9]$/), L = [
|
|
8
8
|
"brand",
|
|
@@ -510,7 +510,7 @@ const K = new RegExp(/^[a-z0-9][a-z0-9\-]{4,}[a-z0-9]$/), L = [
|
|
|
510
510
|
url: "",
|
|
511
511
|
thumbnail: ""
|
|
512
512
|
}), z = I(
|
|
513
|
-
() => "https://{slug}.
|
|
513
|
+
() => "https://{slug}.feedmedev.vip".replace("https://{slug}", "")
|
|
514
514
|
);
|
|
515
515
|
function y(a) {
|
|
516
516
|
var n;
|
|
@@ -525,7 +525,7 @@ const K = new RegExp(/^[a-z0-9][a-z0-9\-]{4,}[a-z0-9]$/), L = [
|
|
|
525
525
|
function $() {
|
|
526
526
|
var a;
|
|
527
527
|
navigator.clipboard.writeText(
|
|
528
|
-
"https://{slug}.
|
|
528
|
+
"https://{slug}.feedmedev.vip".replace(
|
|
529
529
|
"{slug}",
|
|
530
530
|
y((a = e.currentBusiness.value) == null ? void 0 : a.url)
|
|
531
531
|
)
|
|
@@ -606,9 +606,9 @@ const K = new RegExp(/^[a-z0-9][a-z0-9\-]{4,}[a-z0-9]$/), L = [
|
|
|
606
606
|
await h.updateBusinessProfile(e.currentBusiness.value._id, {
|
|
607
607
|
name: s.value.name,
|
|
608
608
|
url: s.value.url,
|
|
609
|
-
thumbnail: `https://image.
|
|
609
|
+
thumbnail: `https://image.feedmedev.cc/business/${e.currentBusiness.value._id}/${o.imagePath}`,
|
|
610
610
|
coverPhoto: e.currentBusiness.value.coverPhoto
|
|
611
|
-
}), e.currentBusiness.value.thumbnail = `https://image.
|
|
611
|
+
}), e.currentBusiness.value.thumbnail = `https://image.feedmedev.cc/business/${e.currentBusiness.value._id}/${o.imagePath}`, s.value.thumbnail = `https://image.feedmedev.cc/business/${e.currentBusiness.value._id}/${o.imagePath}`;
|
|
612
612
|
});
|
|
613
613
|
}
|
|
614
614
|
return V(
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineComponent as S, createElementBlock as D, openBlock as a, normalizeClass as F, createElementVNode as O, toDisplayString as H, ref as P, computed as v, watch as K, resolveComponent as w, unref as i, Fragment as J, renderList as W, createVNode as B, createCommentVNode as E, createBlock as l, withCtx as u, h as L } from "vue";
|
|
2
|
-
import { u as Z } from "./index-
|
|
2
|
+
import { u as Z } from "./index-Bk6TOZrx.js";
|
|
3
3
|
import { useCoreStore as q, useI18n as b } from "@feedmepos/mf-common";
|
|
4
4
|
import { p as y } from "./views-BDWw3w14.js";
|
|
5
5
|
import { useRouter as X } from "vue-router";
|
|
6
|
-
import { d as p } from "./dayjs.min-
|
|
7
|
-
import { g as V, c as _, u as $ } from "./app-
|
|
6
|
+
import { d as p } from "./dayjs.min-V86kHiPB.js";
|
|
7
|
+
import { g as V, c as _, u as $ } from "./app-xjlIYnd-.js";
|
|
8
8
|
import { useDialog as oo, components as eo } from "@feedmepos/ui-library";
|
|
9
9
|
import { K as m } from "./vue-sonner-CBFYmm8_.js";
|
|
10
10
|
var z = { exports: {} };
|