@feedmepos/mf-brand-app-builder 0.5.25-dev.0 → 0.5.26-dev.0
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-C5TuYndf.js → App-B5LHJKf9.js} +1 -1
- package/dist/{BrandkitView-BHBErfbu.js → BrandkitView-XPYJZ_X2.js} +3312 -3119
- package/dist/{BuilderView-Btgivma_.js → BuilderView-DMQ2N3j3.js} +357 -405
- package/dist/{ImageUpload-eKzi_Xyb.js → ImageUpload-CaB-xg3u.js} +1 -1
- package/dist/{ListRepeater-BHlMo-N5.js → ListRepeater-DdcHuX_X.js} +1 -1
- package/dist/{ManagementSettings-Cz4HkNm1.js → ManagementSettings-CueLn4v_.js} +13 -13
- package/dist/{app-C2gJ30bL.js → app-DTF3XZIk.js} +115 -73
- package/dist/app.js +1 -1
- package/dist/brand-core/src/brandkit.d.ts +44 -1
- package/dist/brand-core/src/entity.d.ts +6 -0
- package/dist/brandkit-Wenx9H5J.js +100 -0
- package/dist/client/merchant/src/app.d.ts +42 -0
- package/dist/client/merchant/src/stores/business/index.d.ts +66 -0
- package/dist/{main-Bwnm2Bli.js → main-BDOGYedt.js} +2 -2
- package/dist/package.json +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/dist/index-DzaJbB6y.js +0 -40
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as y, ref as b, resolveComponent as w, createElementBlock as r, openBlock as s, createVNode as c, createCommentVNode as f, Fragment as C, createElementVNode as i, unref as u } from "vue";
|
|
2
2
|
import { r as g, I as h } from "./image-D_Djf1PS.js";
|
|
3
3
|
import { useCoreStore as I } from "@feedmepos/mf-common";
|
|
4
|
-
import "./main-
|
|
4
|
+
import "./main-BDOGYedt.js";
|
|
5
5
|
import { _ as $ } from "./Icon.vue_vue_type_style_index_0_lang-BcRjQndc.js";
|
|
6
6
|
import { C as k } from "./CircularProgress-DdblYCtV.js";
|
|
7
7
|
import { v as F } from "./v4-CKwdnpQf.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as b, resolveComponent as y, createBlock as s, openBlock as c, unref as u, withCtx as i, createElementBlock as m, Fragment as x, renderList as g, createElementVNode as p, createVNode as n, resolveDynamicComponent as F } from "vue";
|
|
2
|
-
import { F as f } from "./app-
|
|
2
|
+
import { F as f } from "./app-DTF3XZIk.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: {
|
|
@@ -539,23 +539,23 @@ const E = new RegExp(/^[a-z0-9][a-z0-9\-]{4,}[a-z0-9]$/), N = [
|
|
|
539
539
|
}
|
|
540
540
|
function j() {
|
|
541
541
|
q.promise(
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
s.currentBusiness.value.url
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
{
|
|
542
|
+
async () => {
|
|
543
|
+
var t;
|
|
544
|
+
return a.value.url != ((t = s.currentBusiness.value) == null ? void 0 : t.url) && await h.setShortUrl(
|
|
545
|
+
a.value.url,
|
|
546
|
+
s.currentBusiness.value.url ?? "",
|
|
547
|
+
s.currentBusiness.value._id
|
|
548
|
+
).catch((e) => {
|
|
549
|
+
throw { message: e.message };
|
|
550
|
+
}), await h.updateBusinessProfile(s.currentBusiness.value._id, {
|
|
549
551
|
name: a.value.name,
|
|
550
552
|
url: a.value.url,
|
|
551
553
|
thumbnail: s.currentBusiness.value.thumbnail,
|
|
552
554
|
coverPhoto: s.currentBusiness.value.coverPhoto
|
|
553
|
-
}
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
}
|
|
557
|
-
throw { message: t.message };
|
|
558
|
-
}),
|
|
555
|
+
}).then((e) => e).catch((e) => {
|
|
556
|
+
throw { message: e.message };
|
|
557
|
+
});
|
|
558
|
+
},
|
|
559
559
|
{
|
|
560
560
|
loading: n("brand.settings.management.toast.saving"),
|
|
561
561
|
success: () => n("brand.settings.management.toast.saved"),
|