@feedmepos/mf-brand-app-builder 0.5.46-prod → 0.5.47-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.
Files changed (29) hide show
  1. package/README.md +14 -0
  2. package/dist/App-CscQqcFq.js +163 -0
  3. package/dist/{AssetsSettings-Do8rt2sU.js → AssetsSettings-DtZ6goQl.js} +22 -22
  4. package/dist/{BrandkitView-nfDiG0HS.js → BrandkitView-DUlf5K3i.js} +8 -8
  5. package/dist/{BuilderView-D6aesdSu.js → BuilderView-DLcKTOoe.js} +7 -7
  6. package/dist/{CredentialSettings-BB_Yroul.js → CredentialSettings-3eVBw1x8.js} +1 -1
  7. package/dist/{ImageUpload-BZj85a8g.js → ImageUpload-Bm2BY6Y1.js} +8 -8
  8. package/dist/{LinkButton-DNXBKGCn.js → LinkButton-De-YNclu.js} +1 -1
  9. package/dist/{ListRepeater-tz5QcoGP.js → ListRepeater-Cuo0XXKs.js} +1 -1
  10. package/dist/{ManagementSettings-CjsGetkI.js → ManagementSettings-CWAKkmbz.js} +6 -6
  11. package/dist/{ProjectView-Dc-furGA.js → ProjectView-DrgxaTFz.js} +3 -3
  12. package/dist/{app-MFB1wiue.js → app-Doep9hzN.js} +26 -15
  13. package/dist/app.js +1 -1
  14. package/dist/client/components/src/components/atoms/CircularProgress.vue.d.ts +1 -1
  15. package/dist/client/merchant/src/app.d.ts +11 -0
  16. package/dist/client/merchant/src/composables/miniprogramPortalEntry.d.ts +12 -0
  17. package/dist/{dayjs.min-Ctmrwhx3.js → dayjs.min-CKlJsMOX.js} +1 -1
  18. package/dist/{image-S7-2rbQS.js → image-D_Djf1PS.js} +7 -7
  19. package/dist/{index-BpYD24Jn.js → index-BA2J-Ffh.js} +1 -1
  20. package/dist/{index-CPs0rWCO.js → index-Bk6TOZrx.js} +15 -15
  21. package/dist/index-CVVQJJYY.js +134 -0
  22. package/dist/{index-C6_vWPi0.js → index-D0LOMBBD.js} +27 -27
  23. package/dist/{main-LDiBfnFA.js → main-CiLAou6A.js} +4 -4
  24. package/dist/package.json +1 -1
  25. package/dist/style.css +1 -1
  26. package/dist/{useBusinessFeatureFlag-Dw4hpcYo.js → useBusinessFeatureFlag-CEkj13Xd.js} +1 -1
  27. package/package.json +1 -1
  28. package/dist/App-DD3xAvwR.js +0 -121
  29. package/dist/index-CP6_oC8N.js +0 -134
@@ -1,14 +1,14 @@
1
1
  import { defineComponent as it, resolveComponent as se, createElementBlock as P, openBlock as R, createElementVNode as d, createVNode as x, createCommentVNode as j, withCtx as Pe, unref as v, normalizeStyle as Nr, toDisplayString as k, ref as re, shallowRef as qn, onMounted as dn, onBeforeUnmount as Xn, withDirectives as Gr, normalizeClass as cn, vShow as $r, markRaw as da, nextTick as Yn, watch as vt, createBlock as Le, renderSlot as Zn, Fragment as We, renderList as bt, computed as ee, Teleport as Jn, Transition as pn, withKeys as Kn, createTextVNode as ca } from "vue";
2
- import { B as vr } from "./index-CP6_oC8N.js";
2
+ import { B as vr } from "./index-CVVQJJYY.js";
3
3
  import { B as Qn } from "./ColorPicker-RKWzhLBO.js";
4
- import { u as eo } from "./index-BpYD24Jn.js";
4
+ import { u as eo } from "./index-BA2J-Ffh.js";
5
5
  import { useCoreStore as Zr, useI18n as Jr, RestaurantSelector as to } from "@feedmepos/mf-common";
6
6
  import { u as ro, b as q } from "./brandkit-Jwi77VnL.js";
7
7
  import { useDialogChild as ao, useDialog as Kr, useSnackbar as Qr } from "@feedmepos/ui-library";
8
8
  import { _ as ea } from "./_plugin-vue_export-helper-CHgC5LLL.js";
9
- import { d as no } from "./dayjs.min-Ctmrwhx3.js";
10
- import { I as pa, r as va } from "./image-S7-2rbQS.js";
11
- import { a as fa, b as ha } from "./useBusinessFeatureFlag-Dw4hpcYo.js";
9
+ import { d as no } from "./dayjs.min-CKlJsMOX.js";
10
+ import { I as pa, r as va } from "./image-D_Djf1PS.js";
11
+ import { a as fa, b as ha } from "./useBusinessFeatureFlag-CEkj13Xd.js";
12
12
  import { v as ma } from "./v4-CKwdnpQf.js";
13
13
  const oo = { class: "fm-typo-en-body-md-400" }, so = { class: "flex gap-8 items-center" }, io = { class: "p-4 relative" }, lo = { class: "shadow-lg rounded-lg p-8" }, uo = {
14
14
  key: 0,
@@ -9365,7 +9365,7 @@ const Qu = { class: "json-editor" }, ed = ["title"], td = { class: "error-text"
9365
9365
  K,
9366
9366
  g
9367
9367
  ), Te = va(
9368
- `https://image.feedme.cc/business/${o.currentBusiness.value._id}/${he.imagePath}`
9368
+ `https://image.feedmedev.cc/business/${o.currentBusiness.value._id}/${he.imagePath}`
9369
9369
  );
9370
9370
  $(), u.value.layout.background = {
9371
9371
  url: Te,
@@ -9418,7 +9418,7 @@ const Qu = { class: "json-editor" }, ed = ["title"], td = { class: "error-text"
9418
9418
  he,
9419
9419
  g
9420
9420
  ), Oe = va(
9421
- `https://image.feedme.cc/business/${o.currentBusiness.value._id}/${Te.imagePath}`
9421
+ `https://image.feedmedev.cc/business/${o.currentBusiness.value._id}/${Te.imagePath}`
9422
9422
  );
9423
9423
  $(), u.value.layout.sidePanel = {
9424
9424
  url: Oe,
@@ -11356,7 +11356,7 @@ const Qu = { class: "json-editor" }, ed = ["title"], td = { class: "error-text"
11356
11356
  ]);
11357
11357
  };
11358
11358
  }
11359
- }), Cm = /* @__PURE__ */ ea(vm, [["__scopeId", "data-v-2195ed7a"]]);
11359
+ }), Cm = /* @__PURE__ */ ea(vm, [["__scopeId", "data-v-79d4f8aa"]]);
11360
11360
  export {
11361
11361
  Cm as default
11362
11362
  };
@@ -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-CPs0rWCO.js";
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-C6_vWPi0.js";
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-LDiBfnFA.js";
10
+ import { C as $a, _ as yo, a as vo } from "./main-CiLAou6A.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-BpYD24Jn.js";
15
- import { u as Io, F as Eo, a as So } from "./app-MFB1wiue.js";
14
+ import { u as Ea } from "./index-BA2J-Ffh.js";
15
+ import { u as Io, F as Eo, a as So } from "./app-Doep9hzN.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}.feedme.vip".replace("{slug}", `${r.currentBusiness.value.url ?? ((v = r.currentBusiness.value) == null ? void 0 : v.id)}`)}`;
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}.feedme.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}.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-CP6_oC8N.js";
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 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";
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-LDiBfnFA.js";
4
+ import "./main-CiLAou6A.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.feedme.cc/business/${a.currentBusiness.value._id}/${m.imagePath}`;
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 f;
30
- ((f = e.context.node.at("$root")) == null ? void 0 : f._value).containerStyles.height = `${Math.min(n.height, 400)}px`;
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)) : d("", !0),
63
+ ], 64)) : f("", !0),
64
64
  t.value ? (s(), r("div", z, [
65
65
  c(u(k))
66
- ])) : d("", !0)
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-CPs0rWCO.js";
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-MFB1wiue.js";
2
+ import { F as f } from "./app-Doep9hzN.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-CP6_oC8N.js";
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-S7-2rbQS.js";
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}.feedme.vip".replace("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}.feedme.vip".replace(
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.feedme.cc/business/${e.currentBusiness.value._id}/${o.imagePath}`,
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.feedme.cc/business/${e.currentBusiness.value._id}/${o.imagePath}`, s.value.thumbnail = `https://image.feedme.cc/business/${e.currentBusiness.value._id}/${o.imagePath}`;
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-CPs0rWCO.js";
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-Ctmrwhx3.js";
7
- import { g as V, c as _, u as $ } from "./app-MFB1wiue.js";
6
+ import { d as p } from "./dayjs.min-CKlJsMOX.js";
7
+ import { g as V, c as _, u as $ } from "./app-Doep9hzN.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: {} };
@@ -6094,7 +6094,8 @@ const Ki = {
6094
6094
  confirmLogoutTitle: "Confirm Logout",
6095
6095
  confirmLogoutMessage: "Are you sure you want to logout?",
6096
6096
  logoutAction: "Logout",
6097
- cancelAction: "Cancel"
6097
+ cancelAction: "Cancel",
6098
+ membershipCheckFailed: "Unable to verify your membership. Please try again."
6098
6099
  },
6099
6100
  referral: {
6100
6101
  title: "Referral program",
@@ -6788,7 +6789,8 @@ const Ki = {
6788
6789
  confirmLogoutTitle: "确认退出登录",
6789
6790
  confirmLogoutMessage: "您确定要退出登录吗?",
6790
6791
  logoutAction: "退出登录",
6791
- cancelAction: "取消"
6792
+ cancelAction: "取消",
6793
+ membershipCheckFailed: "无法验证您的会员状态,请重试。"
6792
6794
  }
6793
6795
  }, Ir = {
6794
6796
  voucher: {
@@ -7313,6 +7315,9 @@ const Ki = {
7313
7315
  logoutAction: "退出登錄",
7314
7316
  cancelAction: "取消"
7315
7317
  }
7318
+ },
7319
+ member: {
7320
+ membershipCheckFailed: "無法驗證您的會員狀態,請重試。"
7316
7321
  }
7317
7322
  }, qr = {
7318
7323
  voucher: {
@@ -7837,6 +7842,9 @@ const Ki = {
7837
7842
  logoutAction: "ออกจากระบบ",
7838
7843
  cancelAction: "ยกเลิก"
7839
7844
  }
7845
+ },
7846
+ member: {
7847
+ membershipCheckFailed: "ไม่สามารถตรวจสอบสมาชิกของคุณได้ โปรดลองอีกครั้ง"
7840
7848
  }
7841
7849
  }, Kr = {
7842
7850
  voucher: {
@@ -8249,7 +8257,8 @@ const Ki = {
8249
8257
  confirmLogoutTitle: "로그아웃 확인",
8250
8258
  confirmLogoutMessage: "정말 로그아웃하시겠습니까?",
8251
8259
  logoutAction: "로그아웃",
8252
- cancelAction: "취소"
8260
+ cancelAction: "취소",
8261
+ membershipCheckFailed: "멤버십을 확인할 수 없습니다. 다시 시도해 주세요."
8253
8262
  },
8254
8263
  referral: {
8255
8264
  title: "추천 프로그램",
@@ -8805,7 +8814,8 @@ const Ki = {
8805
8814
  confirmLogoutTitle: "Xác nhận đăng xuất",
8806
8815
  confirmLogoutMessage: "Bạn có chắc chắn muốn đăng xuất không?",
8807
8816
  logoutAction: "Đăng xuất",
8808
- cancelAction: "Hủy"
8817
+ cancelAction: "Hủy",
8818
+ membershipCheckFailed: "Không thể xác minh tư cách thành viên của bạn. Vui lòng thử lại."
8809
8819
  },
8810
8820
  referral: {
8811
8821
  title: "Chương trình giới thiệu",
@@ -9331,7 +9341,8 @@ const Ki = {
9331
9341
  confirmLogoutTitle: "Sahkan Log Keluar",
9332
9342
  confirmLogoutMessage: "Adakah anda pasti mahu log keluar?",
9333
9343
  logoutAction: "Log keluar",
9334
- cancelAction: "Batal"
9344
+ cancelAction: "Batal",
9345
+ membershipCheckFailed: "Tidak dapat mengesahkan keahlian anda. Sila cuba lagi."
9335
9346
  },
9336
9347
  referral: {
9337
9348
  title: "Program rujukan",
@@ -11431,23 +11442,23 @@ const at = (e) => ({
11431
11442
  })
11432
11443
  }
11433
11444
  }), Zo = Le(
11434
- W(() => import("./BrandkitView-nfDiG0HS.js"))
11445
+ W(() => import("./BrandkitView-DUlf5K3i.js"))
11435
11446
  ), Jo = Le(
11436
- W(() => import("./ProjectView-Dc-furGA.js"))
11447
+ W(() => import("./ProjectView-DrgxaTFz.js"))
11437
11448
  ), _o = Le(
11438
- W(() => import("./BuilderView-D6aesdSu.js"))
11449
+ W(() => import("./BuilderView-DLcKTOoe.js"))
11439
11450
  ), $o = Le(
11440
11451
  W(
11441
- () => import("./AssetsSettings-Do8rt2sU.js")
11452
+ () => import("./AssetsSettings-DtZ6goQl.js")
11442
11453
  )
11443
11454
  ), el = Le(
11444
11455
  W(
11445
- () => import("./ManagementSettings-CjsGetkI.js")
11456
+ () => import("./ManagementSettings-CWAKkmbz.js")
11446
11457
  )
11447
11458
  );
11448
11459
  Le(
11449
11460
  W(
11450
- () => import("./CredentialSettings-BB_Yroul.js")
11461
+ () => import("./CredentialSettings-3eVBw1x8.js")
11451
11462
  )
11452
11463
  );
11453
11464
  const tl = Le(Ui), al = at([
@@ -16188,7 +16199,7 @@ const ig = (e) => {
16188
16199
  ),
16189
16200
  BaListRepeater: ne(
16190
16201
  W(
16191
- () => import("./ListRepeater-tz5QcoGP.js")
16202
+ () => import("./ListRepeater-Cuo0XXKs.js")
16192
16203
  )
16193
16204
  ),
16194
16205
  BaTextStyleList: ne(
@@ -16208,13 +16219,13 @@ const ig = (e) => {
16208
16219
  ),
16209
16220
  BaImageUpload: ne(
16210
16221
  W(
16211
- () => import("./ImageUpload-BZj85a8g.js")
16222
+ () => import("./ImageUpload-Bm2BY6Y1.js")
16212
16223
  ),
16213
16224
  { props: ["ignoreUpdate"] }
16214
16225
  ),
16215
16226
  BaLinkButton: ne(
16216
16227
  W(
16217
- () => import("./LinkButton-DNXBKGCn.js")
16228
+ () => import("./LinkButton-De-YNclu.js")
16218
16229
  )
16219
16230
  ),
16220
16231
  BaSwitch: ne(
@@ -16237,7 +16248,7 @@ const ig = (e) => {
16237
16248
  "ko-KR": { ...dr, ...ns },
16238
16249
  "vi-VN": { ...yr, ...cs },
16239
16250
  "ms-MY": { ...Mr, ...hs }
16240
- }, sg = W(() => import("./App-DD3xAvwR.js"));
16251
+ }, sg = W(() => import("./App-CscQqcFq.js"));
16241
16252
  export {
16242
16253
  Si as F,
16243
16254
  Li as a,
package/dist/app.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import "vue";
2
- import { d as i, f as o, i as e, r as m } from "./app-MFB1wiue.js";
2
+ import { d as i, f as o, i as e, r as m } from "./app-Doep9hzN.js";
3
3
  export {
4
4
  i as FmApp,
5
5
  o as FormKitPlugin,
@@ -4,8 +4,8 @@ export interface FmCircularProgressProps {
4
4
  color?: string;
5
5
  }
6
6
  declare const _default: import("vue").DefineComponent<FmCircularProgressProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<FmCircularProgressProps> & Readonly<{}>, {
7
- color: string;
8
7
  size: "md" | "lg" | "xxl" | "xl";
8
+ color: string;
9
9
  indeterminate: boolean;
10
10
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
11
11
  export default _default;
@@ -359,6 +359,7 @@ export declare const i18nMessages: {
359
359
  confirmLogoutMessage: string;
360
360
  logoutAction: string;
361
361
  cancelAction: string;
362
+ membershipCheckFailed: string;
362
363
  };
363
364
  referral: {
364
365
  title: string;
@@ -1801,6 +1802,7 @@ export declare const i18nMessages: {
1801
1802
  confirmLogoutMessage: string;
1802
1803
  logoutAction: string;
1803
1804
  cancelAction: string;
1805
+ membershipCheckFailed: string;
1804
1806
  };
1805
1807
  };
1806
1808
  utils: {
@@ -3075,6 +3077,9 @@ export declare const i18nMessages: {
3075
3077
  cancelAction: string;
3076
3078
  };
3077
3079
  };
3080
+ member: {
3081
+ membershipCheckFailed: string;
3082
+ };
3078
3083
  };
3079
3084
  utils: {
3080
3085
  voucher: {
@@ -4348,6 +4353,9 @@ export declare const i18nMessages: {
4348
4353
  cancelAction: string;
4349
4354
  };
4350
4355
  };
4356
+ member: {
4357
+ membershipCheckFailed: string;
4358
+ };
4351
4359
  };
4352
4360
  utils: {
4353
4361
  voucher: {
@@ -5509,6 +5517,7 @@ export declare const i18nMessages: {
5509
5517
  confirmLogoutMessage: string;
5510
5518
  logoutAction: string;
5511
5519
  cancelAction: string;
5520
+ membershipCheckFailed: string;
5512
5521
  };
5513
5522
  referral: {
5514
5523
  title: string;
@@ -6980,6 +6989,7 @@ export declare const i18nMessages: {
6980
6989
  confirmLogoutMessage: string;
6981
6990
  logoutAction: string;
6982
6991
  cancelAction: string;
6992
+ membershipCheckFailed: string;
6983
6993
  };
6984
6994
  referral: {
6985
6995
  title: string;
@@ -8421,6 +8431,7 @@ export declare const i18nMessages: {
8421
8431
  confirmLogoutMessage: string;
8422
8432
  logoutAction: string;
8423
8433
  cancelAction: string;
8434
+ membershipCheckFailed: string;
8424
8435
  };
8425
8436
  referral: {
8426
8437
  title: string;
@@ -0,0 +1,12 @@
1
+ import type { LocationQuery } from 'vue-router';
2
+ type MerchantContext = {
3
+ businessId?: string | null;
4
+ country?: string | null;
5
+ restaurantId?: string | null;
6
+ };
7
+ export declare function miniprogramPortalEntry(query: LocationQuery, selected: MerchantContext, namespace: string): {
8
+ name: string;
9
+ query: Record<string, string>;
10
+ href: string;
11
+ };
12
+ export {};
@@ -1,4 +1,4 @@
1
- import { g as Q, c as K } from "./app-MFB1wiue.js";
1
+ import { g as Q, c as K } from "./app-Doep9hzN.js";
2
2
  var E = { exports: {} };
3
3
  (function(V, X) {
4
4
  (function(W, k) {
@@ -1,9 +1,9 @@
1
- import { H as r, a as p } from "./index-C6_vWPi0.js";
1
+ import { H as r, a as p } from "./index-D0LOMBBD.js";
2
2
  const i = () => p().PWA_ICON_SERVICE_BACKEND;
3
- async function s(e, t, a) {
3
+ async function d(e, t, a) {
4
4
  const n = new FormData();
5
5
  return n.append("file", a), (await r.Put(
6
- "https://api.feedme.vip",
6
+ "https://api.feedmedev.vip",
7
7
  `/image/${e}/${t}`,
8
8
  {
9
9
  headers: {
@@ -13,9 +13,9 @@ async function s(e, t, a) {
13
13
  }
14
14
  )).data;
15
15
  }
16
- async function d(e, t) {
16
+ async function s(e, t) {
17
17
  return (await r.Delete(
18
- "https://api.feedme.vip",
18
+ "https://api.feedmedev.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: s,
33
- deleteImage: d,
32
+ uploadImage: d,
33
+ deleteImage: s,
34
34
  uploadAppIcon: o
35
35
  };
36
36
  function u(e) {
@@ -1,4 +1,4 @@
1
- import { B as u } from "./index-CP6_oC8N.js";
1
+ import { B as u } from "./index-CVVQJJYY.js";
2
2
  import { defineStore as a } from "pinia";
3
3
  import { ref as r } from "vue";
4
4
  const c = a("business", () => {
@@ -1,22 +1,22 @@
1
- import { H as d } from "./index-C6_vWPi0.js";
1
+ import { H as d } from "./index-D0LOMBBD.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.feedme.vip",
7
+ "https://api.feedmedev.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.feedme.vip",
13
+ "https://api.feedmedev.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.feedme.vip",
19
+ "https://api.feedmedev.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.feedme.vip",
32
+ "https://api.feedmedev.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.feedme.vip",
43
+ "https://api.feedmedev.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.feedme.vip",
49
+ "https://api.feedmedev.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.feedme.vip",
55
+ "https://api.feedmedev.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.feedme.vip",
66
+ "https://api.feedmedev.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 o(a, t) {
123
+ async function v(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 f(a = {}) {
132
+ function o(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 v(a, t, s) {
148
+ async function f(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: o,
189
- addNewTemplate: f,
190
- renameTemplate: v,
188
+ setMainPageTemplate: v,
189
+ addNewTemplate: o,
190
+ renameTemplate: f,
191
191
  deleteTemplate: h,
192
192
  unpublishTemplate: $
193
193
  };