@feedmepos/mf-brand-app-builder 0.5.39-dev.1 → 0.5.40-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.
Files changed (25) hide show
  1. package/dist/{App-BkKpBANO.js → App-OEfPstzM.js} +8 -8
  2. package/dist/{AssetsSettings-DtZ6goQl.js → AssetsSettings-Do8rt2sU.js} +22 -22
  3. package/dist/{BrandkitView-BHxLHRHQ.js → BrandkitView-Cy22D0w9.js} +3643 -3503
  4. package/dist/{BuilderView-CXfguRqC.js → BuilderView-KDpmX5Hq.js} +7 -7
  5. package/dist/{CredentialSettings-3eVBw1x8.js → CredentialSettings-BB_Yroul.js} +1 -1
  6. package/dist/{ImageUpload-BPKZzWlC.js → ImageUpload-BKvBZ31W.js} +8 -8
  7. package/dist/{LinkButton-De-YNclu.js → LinkButton-DNXBKGCn.js} +1 -1
  8. package/dist/{ListRepeater--jgzApql.js → ListRepeater-zIG-jF4t.js} +1 -1
  9. package/dist/{ManagementSettings-WLFOtGtA.js → ManagementSettings-CgEqhej5.js} +6 -6
  10. package/dist/{ProjectView-Bq9eIS_m.js → ProjectView-DSLzbIBe.js} +3 -3
  11. package/dist/{app-BhQ6s4xM.js → app-esM7ujct.js} +241 -213
  12. package/dist/app.js +1 -1
  13. package/dist/client/merchant/src/app.d.ts +28 -0
  14. package/dist/{dayjs.min-26xBDzV6.js → dayjs.min-2a7QqJib.js} +1 -1
  15. package/dist/{image-D_Djf1PS.js → image-S7-2rbQS.js} +7 -7
  16. package/dist/{index-BA2J-Ffh.js → index-BpYD24Jn.js} +1 -1
  17. package/dist/{index-D0LOMBBD.js → index-C6_vWPi0.js} +27 -27
  18. package/dist/index-CP6_oC8N.js +134 -0
  19. package/dist/{index-Bk6TOZrx.js → index-CPs0rWCO.js} +15 -15
  20. package/dist/{main-D3hu_bbz.js → main-D7XKWEsG.js} +3 -3
  21. package/dist/package.json +1 -1
  22. package/dist/style.css +1 -1
  23. package/dist/{useBusinessFeatureFlag-6P4lr8pM.js → useBusinessFeatureFlag-BUVsmqVs.js} +1 -1
  24. package/package.json +1 -1
  25. package/dist/index-CVVQJJYY.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-Bk6TOZrx.js";
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-D0LOMBBD.js";
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-D3hu_bbz.js";
10
+ import { C as $a, _ as yo, a as vo } from "./main-D7XKWEsG.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-C8uulbNE.js";
14
- import { u as Ea } from "./index-BA2J-Ffh.js";
15
- import { u as Io, F as Eo, a as So } from "./app-BhQ6s4xM.js";
14
+ import { u as Ea } from "./index-BpYD24Jn.js";
15
+ import { u as Io, F as Eo, a as So } from "./app-esM7ujct.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}.feedmedev.vip".replace("{slug}", `${r.currentBusiness.value.url ?? ((v = r.currentBusiness.value) == null ? void 0 : v.id)}`)}`;
6616
+ const f = `${"https://{slug}.feedme.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}.feedmedev.vip".replace("{slug}", `${a.currentBusiness.value.url ?? a.currentBusiness.value._id}`)}`}/preview/${n.state.selectedTemplate.templateId}`);
8185
+ const e = Q(), a = We(), n = Ge(), { t: o } = Ze(), r = Q(!1), l = ne(() => `${`${"https://{slug}.feedme.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-CVVQJJYY.js";
2
+ import { B as P } from "./index-CP6_oC8N.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 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";
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-D3hu_bbz.js";
4
+ import "./main-D7XKWEsG.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.feedmedev.cc/business/${a.currentBusiness.value._id}/${m.imagePath}`;
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 d;
30
- ((d = e.context.node.at("$root")) == null ? void 0 : d._value).containerStyles.height = `${Math.min(n.height, 400)}px`;
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)) : f("", !0),
63
+ ], 64)) : d("", !0),
64
64
  t.value ? (s(), r("div", z, [
65
65
  c(u(k))
66
- ])) : f("", !0)
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-Bk6TOZrx.js";
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-BhQ6s4xM.js";
2
+ import { F as f } from "./app-esM7ujct.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 d, createElementBlock as b, openBlock as p, createElementVNode as o, createVNode as m, 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 g } from "./index-CVVQJJYY.js";
3
+ import { B as g } from "./index-CP6_oC8N.js";
4
4
  import { K as x } from "./vue-sonner-CBFYmm8_.js";
5
- import { r as D, I as j } from "./image-D_Djf1PS.js";
5
+ import { r as D, I as j } from "./image-S7-2rbQS.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}.feedmedev.vip".replace("https://{slug}", "")
513
+ () => "https://{slug}.feedme.vip".replace("https://{slug}", "")
514
514
  );
515
515
  function f(t) {
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 C() {
526
526
  var t;
527
527
  navigator.clipboard.writeText(
528
- "https://{slug}.feedmedev.vip".replace(
528
+ "https://{slug}.feedme.vip".replace(
529
529
  "{slug}",
530
530
  f((t = e.currentBusiness.value) == null ? void 0 : t.url)
531
531
  )
@@ -603,9 +603,9 @@ const K = new RegExp(/^[a-z0-9][a-z0-9\-]{4,}[a-z0-9]$/), L = [
603
603
  await g.updateBusinessProfile(e.currentBusiness.value._id, {
604
604
  name: s.value.name,
605
605
  url: s.value.url,
606
- thumbnail: `https://image.feedmedev.cc/business/${e.currentBusiness.value._id}/${u.imagePath}`,
606
+ thumbnail: `https://image.feedme.cc/business/${e.currentBusiness.value._id}/${u.imagePath}`,
607
607
  coverPhoto: e.currentBusiness.value.coverPhoto
608
- }), e.currentBusiness.value.thumbnail = `https://image.feedmedev.cc/business/${e.currentBusiness.value._id}/${u.imagePath}`, s.value.thumbnail = `https://image.feedmedev.cc/business/${e.currentBusiness.value._id}/${u.imagePath}`;
608
+ }), e.currentBusiness.value.thumbnail = `https://image.feedme.cc/business/${e.currentBusiness.value._id}/${u.imagePath}`, s.value.thumbnail = `https://image.feedme.cc/business/${e.currentBusiness.value._id}/${u.imagePath}`;
609
609
  });
610
610
  }
611
611
  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-Bk6TOZrx.js";
2
+ import { u as Z } from "./index-CPs0rWCO.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-26xBDzV6.js";
7
- import { g as V, c as _, u as $ } from "./app-BhQ6s4xM.js";
6
+ import { d as p } from "./dayjs.min-2a7QqJib.js";
7
+ import { g as V, c as _, u as $ } from "./app-esM7ujct.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: {} };