@feedmepos/mf-brand-app-builder 0.5.46-dev.1 → 0.5.46-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 (24) hide show
  1. package/dist/{App-urvvtE_B.js → App-DD3xAvwR.js} +4 -4
  2. package/dist/{AssetsSettings-DtZ6goQl.js → AssetsSettings-Do8rt2sU.js} +22 -22
  3. package/dist/{BrandkitView-D04Jchm_.js → BrandkitView-nfDiG0HS.js} +7 -7
  4. package/dist/{BuilderView-CbR6YbcU.js → BuilderView-D6aesdSu.js} +7 -7
  5. package/dist/{CredentialSettings-3eVBw1x8.js → CredentialSettings-BB_Yroul.js} +1 -1
  6. package/dist/{ImageUpload-D0iiN15d.js → ImageUpload-BZj85a8g.js} +8 -8
  7. package/dist/{LinkButton-De-YNclu.js → LinkButton-DNXBKGCn.js} +1 -1
  8. package/dist/{ListRepeater-CM7iVAWH.js → ListRepeater-tz5QcoGP.js} +1 -1
  9. package/dist/{ManagementSettings-CWAKkmbz.js → ManagementSettings-CjsGetkI.js} +6 -6
  10. package/dist/{ProjectView-D_-gPhHH.js → ProjectView-Dc-furGA.js} +3 -3
  11. package/dist/{app-LJCnlicz.js → app-MFB1wiue.js} +17 -10
  12. package/dist/app.js +1 -1
  13. package/dist/client/merchant/src/app.d.ts +7 -0
  14. package/dist/{dayjs.min-D9mWj7r4.js → dayjs.min-Ctmrwhx3.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-H_oje7BY.js → main-LDiBfnFA.js} +2 -2
  21. package/dist/package.json +1 -1
  22. package/dist/{useBusinessFeatureFlag-DFHGmuYp.js → useBusinessFeatureFlag-Dw4hpcYo.js} +1 -1
  23. package/package.json +1 -1
  24. package/dist/index-CVVQJJYY.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-CVVQJJYY.js";
2
+ import { B as vr } from "./index-CP6_oC8N.js";
3
3
  import { B as Qn } from "./ColorPicker-RKWzhLBO.js";
4
- import { u as eo } from "./index-BA2J-Ffh.js";
4
+ import { u as eo } from "./index-BpYD24Jn.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-D9mWj7r4.js";
10
- import { I as pa, r as va } from "./image-D_Djf1PS.js";
11
- import { a as fa, b as ha } from "./useBusinessFeatureFlag-DFHGmuYp.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";
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.feedmedev.cc/business/${o.currentBusiness.value._id}/${he.imagePath}`
9368
+ `https://image.feedme.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.feedmedev.cc/business/${o.currentBusiness.value._id}/${Te.imagePath}`
9421
+ `https://image.feedme.cc/business/${o.currentBusiness.value._id}/${Te.imagePath}`
9422
9422
  );
9423
9423
  $(), u.value.layout.sidePanel = {
9424
9424
  url: Oe,
@@ -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-H_oje7BY.js";
10
+ import { C as $a, _ as yo, a as vo } from "./main-LDiBfnFA.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-BA2J-Ffh.js";
15
- import { u as Io, F as Eo, a as So } from "./app-LJCnlicz.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";
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-H_oje7BY.js";
4
+ import "./main-LDiBfnFA.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-LJCnlicz.js";
2
+ import { F as f } from "./app-MFB1wiue.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-CVVQJJYY.js";
3
+ import { B as h } 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 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}.feedmedev.vip".replace(
528
+ "https://{slug}.feedme.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.feedmedev.cc/business/${e.currentBusiness.value._id}/${o.imagePath}`,
609
+ thumbnail: `https://image.feedme.cc/business/${e.currentBusiness.value._id}/${o.imagePath}`,
610
610
  coverPhoto: e.currentBusiness.value.coverPhoto
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}`;
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}`;
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-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-D9mWj7r4.js";
7
- import { g as V, c as _, u as $ } from "./app-LJCnlicz.js";
6
+ import { d as p } from "./dayjs.min-Ctmrwhx3.js";
7
+ import { g as V, c as _, u as $ } from "./app-MFB1wiue.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: {} };
@@ -6188,6 +6188,7 @@ const Ki = {
6188
6188
  errorTitle: "Error",
6189
6189
  purchaseFailed: "Failed to purchase bundle",
6190
6190
  onlinePaymentFailed: "Failed to process online payment",
6191
+ selectPaymentChannel: "Please select a payment method to continue",
6191
6192
  cancelTitle: "Confirm Cancellation",
6192
6193
  cancelMessage: "If you confirm and end your subscription now, you can still enjoy the benefits until {date}",
6193
6194
  notNow: "Not Now",
@@ -6710,6 +6711,7 @@ const Ki = {
6710
6711
  errorTitle: "错误",
6711
6712
  purchaseFailed: "购买套餐失败",
6712
6713
  onlinePaymentFailed: "在线支付处理失败",
6714
+ selectPaymentChannel: "请选择付款方式以继续",
6713
6715
  cancelTitle: "确认取消",
6714
6716
  cancelMessage: "如果您现在确认并结束订阅,您仍可享受福利直到{date}",
6715
6717
  notNow: "暂不",
@@ -7256,6 +7258,7 @@ const Ki = {
7256
7258
  errorTitle: "錯誤",
7257
7259
  purchaseFailed: "購買套餐失敗",
7258
7260
  onlinePaymentFailed: "在線支付處理失敗",
7261
+ selectPaymentChannel: "請選擇付款方式以繼續",
7259
7262
  cancelTitle: "確認取消",
7260
7263
  cancelMessage: "如果您現在確認並結束訂閱,您仍可享受福利直到{date}",
7261
7264
  notNow: "暫不",
@@ -7779,6 +7782,7 @@ const Ki = {
7779
7782
  errorTitle: "ข้อผิดพลาด",
7780
7783
  purchaseFailed: "ซื้อแพ็คเกจไม่สำเร็จ",
7781
7784
  onlinePaymentFailed: "ประมวลผลการชำระเงินออนไลน์ไม่สำเร็จ",
7785
+ selectPaymentChannel: "กรุณาเลือกวิธีการชำระเงินเพื่อดำเนินการต่อ",
7782
7786
  cancelTitle: "ยืนยันการยกเลิก",
7783
7787
  cancelMessage: "หากคุณยืนยันและยุติการสมัครสมาชิกตอนนี้ คุณยังสามารถเพลิดเพลินกับสิทธิประโยชน์ได้จนถึง {date}",
7784
7788
  notNow: "ไม่ใช่ตอนนี้",
@@ -8342,6 +8346,7 @@ const Ki = {
8342
8346
  errorTitle: "오류",
8343
8347
  purchaseFailed: "번들 구매 실패",
8344
8348
  onlinePaymentFailed: "온라인 결제 처리 실패",
8349
+ selectPaymentChannel: "계속하려면 결제 수단을 선택하세요",
8345
8350
  cancelTitle: "취소 확인",
8346
8351
  cancelMessage: "지금 확인하고 구독을 종료하더라도 {date}까지 혜택을 누릴 수 있습니다.",
8347
8352
  notNow: "나중에",
@@ -8897,6 +8902,7 @@ const Ki = {
8897
8902
  errorTitle: "Lỗi",
8898
8903
  purchaseFailed: "Mua gói thất bại",
8899
8904
  onlinePaymentFailed: "Xử lý thanh toán trực tuyến thất bại",
8905
+ selectPaymentChannel: "Vui lòng chọn phương thức thanh toán để tiếp tục",
8900
8906
  cancelTitle: "Xác nhận hủy",
8901
8907
  cancelMessage: "Nếu bạn xác nhận và kết thúc đăng ký ngay bây giờ, bạn vẫn có thể tận hưởng các quyền lợi cho đến {date}",
8902
8908
  notNow: "Không phải bây giờ",
@@ -9419,6 +9425,7 @@ const Ki = {
9419
9425
  errorTitle: "Ralat",
9420
9426
  purchaseFailed: "Gagal membeli pakej",
9421
9427
  onlinePaymentFailed: "Gagal memproses bayaran dalam talian",
9428
+ selectPaymentChannel: "Sila pilih kaedah pembayaran untuk teruskan",
9422
9429
  cancelTitle: "Sahkan Pembatalan",
9423
9430
  cancelMessage: "Jika anda sahkan dan menamatkan langganan sekarang, anda masih boleh menikmati manfaat sehingga {date}",
9424
9431
  notNow: "Bukan sekarang",
@@ -11424,23 +11431,23 @@ const at = (e) => ({
11424
11431
  })
11425
11432
  }
11426
11433
  }), Zo = Le(
11427
- W(() => import("./BrandkitView-D04Jchm_.js"))
11434
+ W(() => import("./BrandkitView-nfDiG0HS.js"))
11428
11435
  ), Jo = Le(
11429
- W(() => import("./ProjectView-D_-gPhHH.js"))
11436
+ W(() => import("./ProjectView-Dc-furGA.js"))
11430
11437
  ), _o = Le(
11431
- W(() => import("./BuilderView-CbR6YbcU.js"))
11438
+ W(() => import("./BuilderView-D6aesdSu.js"))
11432
11439
  ), $o = Le(
11433
11440
  W(
11434
- () => import("./AssetsSettings-DtZ6goQl.js")
11441
+ () => import("./AssetsSettings-Do8rt2sU.js")
11435
11442
  )
11436
11443
  ), el = Le(
11437
11444
  W(
11438
- () => import("./ManagementSettings-CWAKkmbz.js")
11445
+ () => import("./ManagementSettings-CjsGetkI.js")
11439
11446
  )
11440
11447
  );
11441
11448
  Le(
11442
11449
  W(
11443
- () => import("./CredentialSettings-3eVBw1x8.js")
11450
+ () => import("./CredentialSettings-BB_Yroul.js")
11444
11451
  )
11445
11452
  );
11446
11453
  const tl = Le(Ui), al = at([
@@ -16181,7 +16188,7 @@ const ig = (e) => {
16181
16188
  ),
16182
16189
  BaListRepeater: ne(
16183
16190
  W(
16184
- () => import("./ListRepeater-CM7iVAWH.js")
16191
+ () => import("./ListRepeater-tz5QcoGP.js")
16185
16192
  )
16186
16193
  ),
16187
16194
  BaTextStyleList: ne(
@@ -16201,13 +16208,13 @@ const ig = (e) => {
16201
16208
  ),
16202
16209
  BaImageUpload: ne(
16203
16210
  W(
16204
- () => import("./ImageUpload-D0iiN15d.js")
16211
+ () => import("./ImageUpload-BZj85a8g.js")
16205
16212
  ),
16206
16213
  { props: ["ignoreUpdate"] }
16207
16214
  ),
16208
16215
  BaLinkButton: ne(
16209
16216
  W(
16210
- () => import("./LinkButton-De-YNclu.js")
16217
+ () => import("./LinkButton-DNXBKGCn.js")
16211
16218
  )
16212
16219
  ),
16213
16220
  BaSwitch: ne(
@@ -16230,7 +16237,7 @@ const ig = (e) => {
16230
16237
  "ko-KR": { ...dr, ...ns },
16231
16238
  "vi-VN": { ...yr, ...cs },
16232
16239
  "ms-MY": { ...Mr, ...hs }
16233
- }, sg = W(() => import("./App-urvvtE_B.js"));
16240
+ }, sg = W(() => import("./App-DD3xAvwR.js"));
16234
16241
  export {
16235
16242
  Si as F,
16236
16243
  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-LJCnlicz.js";
2
+ import { d as i, f as o, i as e, r as m } from "./app-MFB1wiue.js";
3
3
  export {
4
4
  i as FmApp,
5
5
  o as FormKitPlugin,
@@ -452,6 +452,7 @@ export declare const i18nMessages: {
452
452
  errorTitle: string;
453
453
  purchaseFailed: string;
454
454
  onlinePaymentFailed: string;
455
+ selectPaymentChannel: string;
455
456
  cancelTitle: string;
456
457
  cancelMessage: string;
457
458
  notNow: string;
@@ -1722,6 +1723,7 @@ export declare const i18nMessages: {
1722
1723
  errorTitle: string;
1723
1724
  purchaseFailed: string;
1724
1725
  onlinePaymentFailed: string;
1726
+ selectPaymentChannel: string;
1725
1727
  cancelTitle: string;
1726
1728
  cancelMessage: string;
1727
1729
  notNow: string;
@@ -3017,6 +3019,7 @@ export declare const i18nMessages: {
3017
3019
  errorTitle: string;
3018
3020
  purchaseFailed: string;
3019
3021
  onlinePaymentFailed: string;
3022
+ selectPaymentChannel: string;
3020
3023
  cancelTitle: string;
3021
3024
  cancelMessage: string;
3022
3025
  notNow: string;
@@ -4289,6 +4292,7 @@ export declare const i18nMessages: {
4289
4292
  errorTitle: string;
4290
4293
  purchaseFailed: string;
4291
4294
  onlinePaymentFailed: string;
4295
+ selectPaymentChannel: string;
4292
4296
  cancelTitle: string;
4293
4297
  cancelMessage: string;
4294
4298
  notNow: string;
@@ -5601,6 +5605,7 @@ export declare const i18nMessages: {
5601
5605
  errorTitle: string;
5602
5606
  purchaseFailed: string;
5603
5607
  onlinePaymentFailed: string;
5608
+ selectPaymentChannel: string;
5604
5609
  cancelTitle: string;
5605
5610
  cancelMessage: string;
5606
5611
  notNow: string;
@@ -7071,6 +7076,7 @@ export declare const i18nMessages: {
7071
7076
  errorTitle: string;
7072
7077
  purchaseFailed: string;
7073
7078
  onlinePaymentFailed: string;
7079
+ selectPaymentChannel: string;
7074
7080
  cancelTitle: string;
7075
7081
  cancelMessage: string;
7076
7082
  notNow: string;
@@ -8508,6 +8514,7 @@ export declare const i18nMessages: {
8508
8514
  errorTitle: string;
8509
8515
  purchaseFailed: string;
8510
8516
  onlinePaymentFailed: string;
8517
+ selectPaymentChannel: string;
8511
8518
  cancelTitle: string;
8512
8519
  cancelMessage: string;
8513
8520
  notNow: string;
@@ -1,4 +1,4 @@
1
- import { g as Q, c as K } from "./app-LJCnlicz.js";
1
+ import { g as Q, c as K } from "./app-MFB1wiue.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-D0LOMBBD.js";
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 d(e, t, a) {
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.feedmedev.vip",
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 s(e, t) {
16
+ async function d(e, t) {
17
17
  return (await r.Delete(
18
- "https://api.feedmedev.vip",
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: d,
33
- deleteImage: s,
32
+ uploadImage: s,
33
+ deleteImage: d,
34
34
  uploadAppIcon: o
35
35
  };
36
36
  function u(e) {
@@ -1,4 +1,4 @@
1
- import { B as u } from "./index-CVVQJJYY.js";
1
+ import { B as u } from "./index-CP6_oC8N.js";
2
2
  import { defineStore as a } from "pinia";
3
3
  import { ref as r } from "vue";
4
4
  const c = a("business", () => {
@@ -1,11 +1,11 @@
1
1
  import { useCoreStore as Ke } from "@feedmepos/mf-common";
2
- function ve(e, t) {
2
+ function We(e, t) {
3
3
  return function() {
4
4
  return e.apply(t, arguments);
5
5
  };
6
6
  }
7
7
  var Pe = {};
8
- const { toString: wt } = Object.prototype, { getPrototypeOf: Ee } = Object, { iterator: oe, toStringTag: We } = Symbol, ie = /* @__PURE__ */ ((e) => (t) => {
8
+ const { toString: wt } = Object.prototype, { getPrototypeOf: Ee } = Object, { iterator: oe, toStringTag: ve } = Symbol, ie = /* @__PURE__ */ ((e) => (t) => {
9
9
  const n = wt.call(t);
10
10
  return e[n] || (e[n] = n.slice(8, -1).toLowerCase());
11
11
  })(/* @__PURE__ */ Object.create(null)), P = (e) => (e = e.toLowerCase(), (t) => ie(t) === e), ae = (e) => (t) => typeof t === e, { isArray: M } = Array, H = ae("undefined");
@@ -17,25 +17,25 @@ function Et(e) {
17
17
  let t;
18
18
  return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(e) : t = e && e.buffer && Xe(e.buffer), t;
19
19
  }
20
- const St = ae("string"), A = ae("function"), Ge = ae("number"), v = (e) => e !== null && typeof e == "object", gt = (e) => e === !0 || e === !1, ee = (e) => {
20
+ const St = ae("string"), A = ae("function"), Ge = ae("number"), W = (e) => e !== null && typeof e == "object", gt = (e) => e === !0 || e === !1, ee = (e) => {
21
21
  if (ie(e) !== "object")
22
22
  return !1;
23
23
  const t = Ee(e);
24
- return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(We in e) && !(oe in e);
24
+ return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(ve in e) && !(oe in e);
25
25
  }, Rt = (e) => {
26
- if (!v(e) || K(e))
26
+ if (!W(e) || K(e))
27
27
  return !1;
28
28
  try {
29
29
  return Object.keys(e).length === 0 && Object.getPrototypeOf(e) === Object.prototype;
30
30
  } catch {
31
31
  return !1;
32
32
  }
33
- }, Ot = P("Date"), At = P("File"), Tt = P("Blob"), Ct = P("FileList"), Nt = (e) => v(e) && A(e.pipe), xt = (e) => {
33
+ }, Ot = P("Date"), At = P("File"), Tt = P("Blob"), Ct = P("FileList"), Nt = (e) => W(e) && A(e.pipe), xt = (e) => {
34
34
  let t;
35
35
  return e && (typeof FormData == "function" && e instanceof FormData || A(e.append) && ((t = ie(e)) === "formdata" || // detect form-data instance
36
36
  t === "object" && A(e.toString) && e.toString() === "[object FormData]"));
37
37
  }, Pt = P("URLSearchParams"), [_t, Ft, Ut, Lt] = ["ReadableStream", "Request", "Response", "Headers"].map(P), Bt = (e) => e.trim ? e.trim() : e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
38
- function W(e, t, { allOwnKeys: n = !1 } = {}) {
38
+ function v(e, t, { allOwnKeys: n = !1 } = {}) {
39
39
  if (e === null || typeof e > "u")
40
40
  return;
41
41
  let r, s;
@@ -69,11 +69,11 @@ function me() {
69
69
  ee(n[o]) && ee(s) ? n[o] = me(n[o], s) : ee(s) ? n[o] = me({}, s) : M(s) ? n[o] = s.slice() : (!t || !H(s)) && (n[o] = s);
70
70
  };
71
71
  for (let s = 0, i = arguments.length; s < i; s++)
72
- arguments[s] && W(arguments[s], r);
72
+ arguments[s] && v(arguments[s], r);
73
73
  return n;
74
74
  }
75
- const Dt = (e, t, n, { allOwnKeys: r } = {}) => (W(t, (s, i) => {
76
- n && A(s) ? e[i] = ve(s, n) : e[i] = s;
75
+ const Dt = (e, t, n, { allOwnKeys: r } = {}) => (v(t, (s, i) => {
76
+ n && A(s) ? e[i] = We(s, n) : e[i] = s;
77
77
  }, { allOwnKeys: r }), e), kt = (e) => (e.charCodeAt(0) === 65279 && (e = e.slice(1)), e), jt = (e, t, n, r) => {
78
78
  e.prototype = Object.create(t.prototype, r), e.prototype.constructor = e, Object.defineProperty(e, "super", {
79
79
  value: t.prototype
@@ -121,11 +121,11 @@ const Dt = (e, t, n, { allOwnKeys: r } = {}) => (W(t, (s, i) => {
121
121
  }
122
122
  ), _e = (({ hasOwnProperty: e }) => (t, n) => e.call(t, n))(Object.prototype), Kt = P("RegExp"), Ye = (e, t) => {
123
123
  const n = Object.getOwnPropertyDescriptors(e), r = {};
124
- W(n, (s, i) => {
124
+ v(n, (s, i) => {
125
125
  let o;
126
126
  (o = t(s, i, e)) !== !1 && (r[i] = o || s);
127
127
  }), Object.defineProperties(e, r);
128
- }, vt = (e) => {
128
+ }, Wt = (e) => {
129
129
  Ye(e, (t, n) => {
130
130
  if (A(e) && ["arguments", "caller", "callee"].indexOf(n) !== -1)
131
131
  return !1;
@@ -140,7 +140,7 @@ const Dt = (e, t, n, { allOwnKeys: r } = {}) => (W(t, (s, i) => {
140
140
  });
141
141
  }
142
142
  });
143
- }, Wt = (e, t) => {
143
+ }, vt = (e, t) => {
144
144
  const n = {}, r = (s) => {
145
145
  s.forEach((i) => {
146
146
  n[i] = !0;
@@ -150,11 +150,11 @@ const Dt = (e, t, n, { allOwnKeys: r } = {}) => (W(t, (s, i) => {
150
150
  }, Xt = () => {
151
151
  }, Gt = (e, t) => e != null && Number.isFinite(e = +e) ? e : t;
152
152
  function Qt(e) {
153
- return !!(e && A(e.append) && e[We] === "FormData" && e[oe]);
153
+ return !!(e && A(e.append) && e[ve] === "FormData" && e[oe]);
154
154
  }
155
155
  const Zt = (e) => {
156
156
  const t = new Array(10), n = (r, s) => {
157
- if (v(r)) {
157
+ if (W(r)) {
158
158
  if (t.indexOf(r) >= 0)
159
159
  return;
160
160
  if (K(r))
@@ -162,7 +162,7 @@ const Zt = (e) => {
162
162
  if (!("toJSON" in r)) {
163
163
  t[s] = r;
164
164
  const i = M(r) ? [] : {};
165
- return W(r, (o, c) => {
165
+ return v(r, (o, c) => {
166
166
  const d = n(o, s + 1);
167
167
  !H(d) && (i[c] = d);
168
168
  }), t[s] = void 0, i;
@@ -171,7 +171,7 @@ const Zt = (e) => {
171
171
  return r;
172
172
  };
173
173
  return n(e, 0);
174
- }, Yt = P("AsyncFunction"), en = (e) => e && (v(e) || A(e)) && A(e.then) && A(e.catch), et = ((e, t) => e ? setImmediate : t ? ((n, r) => (k.addEventListener("message", ({ source: s, data: i }) => {
174
+ }, Yt = P("AsyncFunction"), en = (e) => e && (W(e) || A(e)) && A(e.then) && A(e.catch), et = ((e, t) => e ? setImmediate : t ? ((n, r) => (k.addEventListener("message", ({ source: s, data: i }) => {
175
175
  s === k && i === n && r.length && r.shift()();
176
176
  }, !1), (s) => {
177
177
  r.push(s), k.postMessage(n, "*");
@@ -187,7 +187,7 @@ const Zt = (e) => {
187
187
  isString: St,
188
188
  isNumber: Ge,
189
189
  isBoolean: gt,
190
- isObject: v,
190
+ isObject: W,
191
191
  isPlainObject: ee,
192
192
  isEmptyObject: Rt,
193
193
  isReadableStream: _t,
@@ -204,7 +204,7 @@ const Zt = (e) => {
204
204
  isURLSearchParams: Pt,
205
205
  isTypedArray: Mt,
206
206
  isFileList: Ct,
207
- forEach: W,
207
+ forEach: v,
208
208
  merge: me,
209
209
  extend: Dt,
210
210
  trim: Bt,
@@ -222,8 +222,8 @@ const Zt = (e) => {
222
222
  hasOwnProp: _e,
223
223
  // an alias to avoid ESLint no-prototype-builtins detection
224
224
  reduceDescriptors: Ye,
225
- freezeMethods: vt,
226
- toObjectSet: Wt,
225
+ freezeMethods: Wt,
226
+ toObjectSet: vt,
227
227
  toCamelCase: Vt,
228
228
  noop: Xt,
229
229
  toFiniteNumber: Gt,
@@ -1648,7 +1648,7 @@ function Kn(e) {
1648
1648
  return e.apply(null, n);
1649
1649
  };
1650
1650
  }
1651
- function vn(e) {
1651
+ function Wn(e) {
1652
1652
  return a.isObject(e) && e.isAxiosError === !0;
1653
1653
  }
1654
1654
  const we = {
@@ -1726,7 +1726,7 @@ Object.entries(we).forEach(([e, t]) => {
1726
1726
  we[t] = e;
1727
1727
  });
1728
1728
  function yt(e) {
1729
- const t = new j(e), n = ve(j.prototype.request, t);
1729
+ const t = new j(e), n = We(j.prototype.request, t);
1730
1730
  return a.extend(n, j.prototype, t, { allOwnKeys: !0 }), a.extend(n, t, null, { allOwnKeys: !0 }), n.create = function(s) {
1731
1731
  return yt(I(e, s));
1732
1732
  }, n;
@@ -1744,7 +1744,7 @@ w.all = function(t) {
1744
1744
  return Promise.all(t);
1745
1745
  };
1746
1746
  w.spread = Kn;
1747
- w.isAxiosError = vn;
1747
+ w.isAxiosError = Wn;
1748
1748
  w.mergeConfig = I;
1749
1749
  w.AxiosHeaders = T;
1750
1750
  w.formToJSON = (e) => at(a.isHTMLForm(e) ? new FormData(e) : e);
@@ -1776,7 +1776,7 @@ let re = {
1776
1776
  };
1777
1777
  async function hr() {
1778
1778
  const e = Ke().currentCountry.value, { data: t } = await w.get(
1779
- "https://country-config-dev.feedmeapi.com",
1779
+ "https://country-config.feedmeapi.com",
1780
1780
  {
1781
1781
  params: { country: e ?? "MY" }
1782
1782
  }
@@ -1796,7 +1796,7 @@ function V(e) {
1796
1796
  (n) => Promise.reject(n)
1797
1797
  ), t;
1798
1798
  }
1799
- class Wn {
1799
+ class vn {
1800
1800
  async Get(t, n, r) {
1801
1801
  return await V(t).get(n, r);
1802
1802
  }
@@ -1813,7 +1813,7 @@ class Wn {
1813
1813
  return await V(t).head(n, r);
1814
1814
  }
1815
1815
  }
1816
- const mr = () => re, yr = new Wn();
1816
+ const mr = () => re, yr = new vn();
1817
1817
  export {
1818
1818
  Yn as A,
1819
1819
  yr as H,