@feedmepos/mf-settings 0.0.40-prod → 0.0.41-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.
@@ -2,16 +2,16 @@ var Sr = Object.defineProperty;
2
2
  var Tr = (t, e, r) => e in t ? Sr(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r;
3
3
  var Ke = (t, e, r) => (Tr(t, typeof e != "symbol" ? e + "" : e, r), r);
4
4
  import { ref as re, computed as X, defineComponent as W, resolveComponent as K, openBlock as k, createBlock as Z, Teleport as Pr, createVNode as P, Transition as Lr, withCtx as B, normalizeClass as Y, normalizeStyle as Ne, withKeys as Nr, createElementVNode as E, toDisplayString as j, renderSlot as ne, createElementBlock as D, Fragment as se, renderList as me, createCommentVNode as le, createTextVNode as Ce, h as ke, unref as w, watch as rt, onMounted as nr, onUnmounted as Cr, toRaw as $t, reactive as lt, nextTick as sr, onBeforeUnmount as kr, normalizeProps as xr, guardReactiveProps as Vr, withModifiers as xe, getCurrentInstance as Fr, isRef as Et } from "vue";
5
- import { c as jr, g as ar, b as ze, a as He, d as or, e as ut, u as ir } from "./loading-8bc1d79a.js";
5
+ import { c as jr, g as ar, a as Ve, b as ve, d as Mr, e as Ur, f as ut, h as ze, r as He, i as Dr, u as Br, j as Gr, k as Kr } from "./app-d6477802.js";
6
6
  import { useCoreStore as fe, useI18n as pe } from "@feedmepos/mf-common";
7
- import { useDialog as lr, useDialogChild as Mr, useSnackbar as ct, useBreakpoints as ur, components as cr } from "@feedmepos/ui-library";
8
- import { c as ge, D as dt, u as dr, _ as Ur, a as Dr, b as Br, d as Xe } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-8db91a2d.js";
9
- import { _ as fr, r as ce, b as Gr } from "./business-2ad18a32.js";
10
- import { c as Ve, g as ve, a as Kr, b as zr, d as qe, r as Ye, e as Hr, u as Xr, f as qr, h as Yr } from "./app-e12f1f82.js";
11
- import "pinia";
7
+ import { useDialog as or, useDialogChild as zr, useSnackbar as ct, useBreakpoints as ir, components as lr } from "@feedmepos/ui-library";
8
+ import { c as ge, D as dt, u as ur, _ as Hr, a as Xr, b as qr, d as Xe } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-ccd74355.js";
9
+ import { _ as cr, r as ce, b as Yr } from "./business-6e6de92b.js";
10
+ import { b as qe, a as Ye, g as dr, u as fr } from "./loading-a682212a.js";
12
11
  import "vue-router";
13
12
  import "@feedmepos/mf-e-invoice";
14
13
  import "@feedmepos/mf-mdm";
14
+ import "pinia";
15
15
  var Wr = {};
16
16
  (function(t) {
17
17
  Object.defineProperty(t, "__esModule", { value: !0 }), function(e) {
@@ -878,7 +878,7 @@ const gn = {
878
878
  };
879
879
  }
880
880
  });
881
- const En = /* @__PURE__ */ fr($n, [["__scopeId", "data-v-5b5c7179"]]), Rn = { class: "fm-typo-en-body-lg-600" }, wn = { class: "fm-typo-en-body-md-400 text-fm-color-typo-tertiary" }, Tt = /* @__PURE__ */ W({
881
+ const En = /* @__PURE__ */ cr($n, [["__scopeId", "data-v-5b5c7179"]]), Rn = { class: "fm-typo-en-body-lg-600" }, wn = { class: "fm-typo-en-body-md-400 text-fm-color-typo-tertiary" }, Tt = /* @__PURE__ */ W({
882
882
  __name: "FormLabel",
883
883
  props: {
884
884
  label: {},
@@ -916,7 +916,7 @@ function Pn(t, e) {
916
916
  E("div", { class: "h-px w-full bg-fm-color-neutral-gray-100" }, null, -1)
917
917
  ]));
918
918
  }
919
- const Ln = /* @__PURE__ */ fr(Sn, [["render", Pn]]), Nn = {
919
+ const Ln = /* @__PURE__ */ cr(Sn, [["render", Pn]]), Nn = {
920
920
  key: 0,
921
921
  class: "ml-40 w-[320px] fm-corner-radius-lg p-16 border border-fm-color-neutral-gray-200 space-y-4"
922
922
  }, Cn = { class: "fm-typo-en-title-sm-600" }, Lt = /* @__PURE__ */ W({
@@ -927,7 +927,7 @@ const Ln = /* @__PURE__ */ fr(Sn, [["render", Pn]]), Nn = {
927
927
  items: {}
928
928
  },
929
929
  setup(t) {
930
- const e = t, r = lr();
930
+ const e = t, r = or();
931
931
  function n() {
932
932
  r.open({
933
933
  title: e.title,
@@ -1255,7 +1255,7 @@ const Ln = /* @__PURE__ */ fr(Sn, [["render", Pn]]), Nn = {
1255
1255
  }
1256
1256
  },
1257
1257
  setup(t) {
1258
- const { t: e } = pe(), r = t, { emitData: n } = Mr(), s = lt(
1258
+ const { t: e } = pe(), r = t, { emitData: n } = zr(), s = lt(
1259
1259
  ge(r.coordinate ? r.coordinate : Ve.jb)
1260
1260
  );
1261
1261
  function o({ position: i }) {
@@ -1305,9 +1305,9 @@ const Ln = /* @__PURE__ */ fr(Sn, [["render", Pn]]), Nn = {
1305
1305
  },
1306
1306
  emits: ["update:model-value"],
1307
1307
  setup(t, { emit: e }) {
1308
- const { t: r } = pe(), n = t, s = e, o = lr(), i = X(() => {
1308
+ const { t: r } = pe(), n = t, s = e, o = or(), i = X(() => {
1309
1309
  const c = n.modelValue || [];
1310
- return c.length < 2 ? null : Kr(c);
1310
+ return c.length < 2 ? null : Mr(c);
1311
1311
  }), f = X(() => i.value ? `${i.value.lat}, ${i.value.lng}` : "");
1312
1312
  async function d() {
1313
1313
  const c = ve().maps.Geocoder, L = new c();
@@ -1336,7 +1336,7 @@ const Ln = /* @__PURE__ */ fr(Sn, [["render", Pn]]), Nn = {
1336
1336
  close: !0
1337
1337
  }
1338
1338
  }).onPrimary(async (p) => {
1339
- const S = p ? zr(p) : [];
1339
+ const S = p ? Ur(p) : [];
1340
1340
  g(), s("update:model-value", S);
1341
1341
  }).onSecondary(() => {
1342
1342
  g(), s("update:model-value", []);
@@ -2857,49 +2857,49 @@ function Ir(t) {
2857
2857
  };
2858
2858
  }
2859
2859
  function Te(t) {
2860
- return Ir(or(t));
2860
+ return Ir(dr(t));
2861
2861
  }
2862
2862
  async function er(t) {
2863
- const e = or(t), r = [];
2863
+ const e = dr(t), r = [];
2864
2864
  for (const n of e)
2865
2865
  r.push(await Ir(n));
2866
2866
  return r;
2867
2867
  }
2868
2868
  const Ar = {
2869
2869
  async readRestaurant(t) {
2870
- return await Te(await ze().get(`/restaurants/${t}`));
2870
+ return await Te(await qe().get(`/restaurants/${t}`));
2871
2871
  },
2872
2872
  async readRestaurants() {
2873
- return await er(await He().get("/restaurants"));
2873
+ return await er(await Ye().get("/restaurants"));
2874
2874
  },
2875
2875
  async readRestaurantsByBusiness() {
2876
- return await er(await He().get("/restaurant-list"));
2876
+ return await er(await Ye().get("/restaurant-list"));
2877
2877
  },
2878
2878
  async createRestaurant(t) {
2879
- return await Te(await He().post("/restaurants", t));
2879
+ return await Te(await Ye().post("/restaurants", t));
2880
2880
  },
2881
2881
  async updateRestaurantProfile(t, e) {
2882
2882
  return await Te(
2883
- await ze().put(`/restaurants/${t}/profile`, e)
2883
+ await qe().put(`/restaurants/${t}/profile`, e)
2884
2884
  );
2885
2885
  },
2886
2886
  async updatePayoutAccount(t, e) {
2887
2887
  return await Te(
2888
- await ze().put(`/restaurants/${t}/payout-account`, e)
2888
+ await qe().put(`/restaurants/${t}/payout-account`, e)
2889
2889
  );
2890
2890
  }
2891
2891
  }, tt = {
2892
2892
  async get(t, e) {
2893
- const r = qe(void 0, e), n = Ye(r, t);
2894
- return await (await Hr(n)).text();
2893
+ const r = ze(void 0, e), n = He(r, t);
2894
+ return await (await Dr(n)).text();
2895
2895
  },
2896
2896
  async update(t, e, r) {
2897
- const n = qe(void 0, r), s = Ye(n, t);
2898
- return await Xr(s, e), await qr(s);
2897
+ const n = ze(void 0, r), s = He(n, t);
2898
+ return await Br(s, e), await Gr(s);
2899
2899
  },
2900
2900
  async delete(t, e) {
2901
- const r = qe(void 0, e), n = Ye(r, t);
2902
- await Yr(n);
2901
+ const r = ze(void 0, e), n = He(r, t);
2902
+ await Kr(n);
2903
2903
  }
2904
2904
  }, de = {
2905
2905
  async get(t) {
@@ -3062,7 +3062,7 @@ const ui = /* @__PURE__ */ W({
3062
3062
  }
3063
3063
  },
3064
3064
  setup(t, { expose: e }) {
3065
- const r = t, { restaurants: n, currentBusiness: s } = fe(), o = ct(), i = ir(o), { copyTextToClipboard: f } = dr(), d = re(!1), u = ($, v) => {
3065
+ const r = t, { restaurants: n, currentBusiness: s } = fe(), o = ct(), i = fr(o), { copyTextToClipboard: f } = ur(), d = re(!1), u = ($, v) => {
3066
3066
  d.value = !d.value;
3067
3067
  }, g = X(() => {
3068
3068
  var $;
@@ -3180,7 +3180,7 @@ const ui = /* @__PURE__ */ W({
3180
3180
  value: C.value
3181
3181
  }
3182
3182
  ]
3183
- })), { isAtMost: a } = ur();
3183
+ })), { isAtMost: a } = ir();
3184
3184
  X(() => a("sm"));
3185
3185
  const l = re(null), b = li(l);
3186
3186
  return e({ trigger: u }), ($, v) => {
@@ -3343,7 +3343,7 @@ const ui = /* @__PURE__ */ W({
3343
3343
  label: w(p)("settings.business.restaurant.form.sections.operation_hours.copy_with"),
3344
3344
  optional: !1
3345
3345
  }, null, 8, ["label"]),
3346
- P(Ur, {
3346
+ P(Hr, {
3347
3347
  class: "w-[320px]",
3348
3348
  "exclude-restaurants": [t.restaurantId ?? ""],
3349
3349
  "model-value": "",
@@ -3462,7 +3462,7 @@ const ui = /* @__PURE__ */ W({
3462
3462
  }
3463
3463
  },
3464
3464
  setup(t, { expose: e }) {
3465
- const r = t, n = ct(), s = ir(n), o = "https://feedme.cc", i = lt(
3465
+ const r = t, n = ct(), s = fr(n), o = "https://feedme.cc", i = lt(
3466
3466
  r.initialValue ? ge(r.initialValue) : {
3467
3467
  thumbnail: void 0,
3468
3468
  name: "",
@@ -3489,7 +3489,7 @@ const ui = /* @__PURE__ */ W({
3489
3489
  p.thumbnail = F, (C = r.initialValue) != null && C.thumbnail && await de.delete(r.initialValue.thumbnail);
3490
3490
  } else
3491
3491
  (x = r.initialValue) != null && x.thumbnail && !p.thumbnail && await de.delete((I = r.initialValue) == null ? void 0 : I.thumbnail);
3492
- const S = await Gr.updateBusinessProfile(r.businessId, p), N = fe().currentBusiness;
3492
+ const S = await Yr.updateBusinessProfile(r.businessId, p), N = fe().currentBusiness;
3493
3493
  N.value = { ...N.value, ...S }, g();
3494
3494
  });
3495
3495
  };
@@ -3506,7 +3506,7 @@ const ui = /* @__PURE__ */ W({
3506
3506
  id: "unit-form",
3507
3507
  modelValue: u.value,
3508
3508
  "onUpdate:modelValue": S[4] || (S[4] = (I) => u.value = I),
3509
- "is-container": w(cr).FmForm,
3509
+ "is-container": w(lr).FmForm,
3510
3510
  "is-container-props": {
3511
3511
  onValidationSuccess: L,
3512
3512
  blameFormChildOnValidationFailed: !0
@@ -3588,7 +3588,7 @@ function Si(t) {
3588
3588
  {
3589
3589
  class: "flex justify-end"
3590
3590
  },
3591
- t.map(({ name: e, onClick: r }) => ke(cr.FmButton, {
3591
+ t.map(({ name: e, onClick: r }) => ke(lr.FmButton, {
3592
3592
  icon: e,
3593
3593
  outline: !0,
3594
3594
  variant: "tertiary",
@@ -3677,7 +3677,7 @@ const Ti = /* @__PURE__ */ W({
3677
3677
  }, ji = { class: "flex justify-end" }, Mi = { class: "flex-1 pb-64 overflow-auto divide-y divide-fm-color-neutral-gray-100" }, Ui = { key: 0 }, Di = ["onClick"], Bi = { class: "flex justify-between items-center" }, Gi = { class: "fm-typo-en-body-lg-600" }, Ki = { class: "flex gap-8" }, zi = { class: "text-fm-color-typo-secondary" }, Hi = { class: "text-fm-color-typo-secondary" }, Xi = { class: "text-fm-color-typo-secondary" }, ol = /* @__PURE__ */ W({
3678
3678
  __name: "Business",
3679
3679
  setup(t) {
3680
- const { searchKey: e, filter: r } = bn(), { copyTextToClipboard: n } = dr(), s = ur(), o = X(() => s.breakpoints.value.xs), { t: i } = pe(), f = X(() => {
3680
+ const { searchKey: e, filter: r } = bn(), { copyTextToClipboard: n } = ur(), s = ir(), o = X(() => s.breakpoints.value.xs), { t: i } = pe(), f = X(() => {
3681
3681
  const { currentBusiness: p, restaurants: S } = fe(), N = p.value;
3682
3682
  if (!N)
3683
3683
  return null;
@@ -3793,7 +3793,7 @@ const Ti = /* @__PURE__ */ W({
3793
3793
  return (p, S) => {
3794
3794
  var Q;
3795
3795
  const N = K("FmSpacer"), C = K("FmButton"), x = K("FmTooltip"), I = K("FmSearch"), F = K("FmTable"), J = K("FmCircularProgress");
3796
- return k(), Z(Dr, {
3796
+ return k(), Z(Xr, {
3797
3797
  heading: ((Q = f.value) == null ? void 0 : Q.name) || "--"
3798
3798
  }, {
3799
3799
  "sub-heading": B(() => {
@@ -3812,7 +3812,7 @@ const Ti = /* @__PURE__ */ W({
3812
3812
  E("div", Ci, [
3813
3813
  P(N),
3814
3814
  o.value ? (k(), D(se, { key: 1 }, [
3815
- P(Br, {
3815
+ P(qr, {
3816
3816
  onClick: L,
3817
3817
  label: w(i)("settings.business.add_restaurant"),
3818
3818
  "prepend-icon": "add"
@@ -1,9 +1,12 @@
1
1
  import { unref as s, defineComponent as A, openBlock as g, createElementBlock as b, ref as f, watch as j, computed as E, resolveComponent as h, createVNode as v, withCtx as G, createElementVNode as t, toDisplayString as y, Fragment as P, renderList as W, normalizeClass as z, createBlock as R, createCommentVNode as Z } from "vue";
2
2
  import { useCoreStore as q, useI18n as Q, CountryOptions as Y } from "@feedmepos/mf-common";
3
- import { _ as J, b as w, r as K } from "./business-2ad18a32.js";
4
- import { u as X, F as ee } from "./loading-8bc1d79a.js";
5
- import { useSnackbar as te } from "@feedmepos/ui-library";
3
+ import { _ as J, b as w, r as K } from "./business-6e6de92b.js";
4
+ import "./app-d6477802.js";
5
+ import { useSnackbar as X } from "@feedmepos/ui-library";
6
+ import { u as ee, F as te } from "./loading-a682212a.js";
6
7
  import { useRouter as se } from "vue-router";
8
+ import "@feedmepos/mf-e-invoice";
9
+ import "@feedmepos/mf-mdm";
7
10
  import "pinia";
8
11
  function U(r) {
9
12
  return typeof r == "function" ? r() : s(r);
@@ -66,12 +69,12 @@ const ie = `<svg width="388" height="388" viewBox="0 0 388 388" fill="none" xmln
66
69
  }, null, 8, ae));
67
70
  }
68
71
  });
69
- const ce = /* @__PURE__ */ J(re, [["__scopeId", "data-v-c0191534"]]), ue = { class: "flex flex-col justify-center items-center fixed top-[56px] left-0 w-screen h-[calc(100vh-56px)] bg-fm-color-neutral-white" }, de = { class: "space-y-32" }, me = { class: "space-y-8" }, pe = { class: "fm-typo-en-title-lg-600" }, _e = { class: "space-y-8" }, fe = { class: "fm-typo-en-title-sm-600" }, ve = { class: "flex gap-16" }, ge = ["onClick"], he = { class: "space-y-8" }, ye = { class: "m-8 w-[33px]" }, be = ["innerHTML"], Ce = { class: "fm-typo-en-body-sm-600" }, we = { class: "space-y-16" }, Ue = /* @__PURE__ */ A({
72
+ const ce = /* @__PURE__ */ J(re, [["__scopeId", "data-v-c0191534"]]), ue = { class: "flex flex-col justify-center items-center fixed top-[56px] left-0 w-screen h-[calc(100vh-56px)] bg-fm-color-neutral-white" }, de = { class: "space-y-32" }, me = { class: "space-y-8" }, pe = { class: "fm-typo-en-title-lg-600" }, _e = { class: "space-y-8" }, fe = { class: "fm-typo-en-title-sm-600" }, ve = { class: "flex gap-16" }, ge = ["onClick"], he = { class: "space-y-8" }, ye = { class: "m-8 w-[33px]" }, be = ["innerHTML"], Ce = { class: "fm-typo-en-body-sm-600" }, we = { class: "space-y-16" }, Me = /* @__PURE__ */ A({
70
73
  __name: "CreateBusiness",
71
74
  setup(r) {
72
75
  var V;
73
76
  se();
74
- const n = q(), o = f(""), e = f(""), c = f(""), u = f(!0), x = te(), _ = X(x), { t: l } = Q(), i = f(((V = n.currentCountry.value) == null ? void 0 : V.toUpperCase()) || "MY"), m = f([]);
77
+ const n = q(), o = f(""), e = f(""), c = f(""), u = f(!0), x = X(), _ = ee(x), { t: l } = Q(), i = f(((V = n.currentCountry.value) == null ? void 0 : V.toUpperCase()) || "MY"), m = f([]);
75
78
  j(
76
79
  i,
77
80
  (p) => {
@@ -117,7 +120,7 @@ const ce = /* @__PURE__ */ J(re, [["__scopeId", "data-v-c0191534"]]), ue = { cla
117
120
  }
118
121
  async function N() {
119
122
  await n.signOut(), setTimeout(() => {
120
- window.location.href = `${ee.baseUrl}/login?fm_redirect=${encodeURIComponent(window.location.protocol + "//" + window.location.host)}`;
123
+ window.location.href = `${te.baseUrl}/login?fm_redirect=${encodeURIComponent(window.location.protocol + "//" + window.location.host)}`;
121
124
  }, 500);
122
125
  }
123
126
  return (p, d) => {
@@ -220,5 +223,5 @@ const ce = /* @__PURE__ */ J(re, [["__scopeId", "data-v-c0191534"]]), ue = { cla
220
223
  }
221
224
  });
222
225
  export {
223
- Ue as default
226
+ Me as default
224
227
  };
@@ -2,10 +2,14 @@ var g1 = Object.defineProperty;
2
2
  var p1 = (s, c, d) => c in s ? g1(s, c, { enumerable: !0, configurable: !0, writable: !0, value: d }) : s[c] = d;
3
3
  var ll = (s, c, d) => (p1(s, typeof c != "symbol" ? c + "" : c, d), d);
4
4
  import { defineComponent as zc, ref as en, resolveComponent as Kt, openBlock as xt, createElementBlock as Pr, Fragment as Ji, renderSlot as hb, createVNode as Dt, unref as Yt, withCtx as Tn, createElementVNode as xe, computed as fr, watch as $b, withKeys as b1, toDisplayString as jn, renderList as dc, createBlock as Vi, createCommentVNode as cc, h as Td, getCurrentInstance as y1, withModifiers as _1 } from "vue";
5
- import { l as D, c as Q, f as ge, h as Bl, i as mb, d as Tr, r as ja, b as t$, u as hm } from "./loading-8bc1d79a.js";
6
- import { e as v1, _ as x$, c as gb, u as z1, a as E1, b as F1, d as Kg } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-8db91a2d.js";
5
+ import { l as D, c as Q, m as ge, n as Bl, o as lu, p as mb } from "./app-d6477802.js";
6
+ import { e as v1, _ as x$, c as gb, u as z1, a as E1, b as F1, d as Kg } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-ccd74355.js";
7
7
  import { useSnackbar as Ec, components as Tl, useDialogChild as w1, useDialog as pb, useBreakpoints as S1 } from "@feedmepos/ui-library";
8
+ import { g as Tr, r as ja, b as t$, u as hm } from "./loading-a682212a.js";
8
9
  import { useCoreStore as Fc, useI18n as $m } from "@feedmepos/mf-common";
10
+ import "vue-router";
11
+ import "@feedmepos/mf-e-invoice";
12
+ import "@feedmepos/mf-mdm";
9
13
  import "pinia";
10
14
  var n$ = {}, Ln = {}, wc = {};
11
15
  Object.defineProperty(wc, "__esModule", { value: !0 });
@@ -14628,9 +14632,6 @@ lo.App = pw;
14628
14632
  return v.App;
14629
14633
  } });
14630
14634
  })(yg);
14631
- function lu(s) {
14632
- throw new Error('Could not dynamically require "' + s + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
14633
- }
14634
14635
  var _g = {};
14635
14636
  (function(s) {
14636
14637
  var c = typeof process < "u" && (process.versions || {}).hasOwnProperty("node"), d = c ? Object.create(globalThis) : globalThis;
@@ -71460,7 +71461,7 @@ const LP = { class: "fm-typo-en-title-md-600" }, GP = { class: "pt-8 space-y-24"
71460
71461
  }), JP = { class: "flex flex-1" }, QP = {
71461
71462
  key: 0,
71462
71463
  class: "space-y-24"
71463
- }, ZP = { class: "flex justify-between" }, XP = { class: "py-8 px-16 space-y-8" }, xP = { class: "flex-1 pb-64 overflow-auto divide-y divide-fm-color-neutral-gray-100" }, eR = ["onClick"], tR = { class: "flex justify-between items-center" }, nR = { class: "fm-typo-en-body-lg-600" }, rR = { class: "flex gap-8" }, iR = { class: "text-fm-color-typo-secondary" }, aR = { class: "text-fm-color-typo-secondary" }, oR = { class: "text-fm-color-typo-secondary" }, $R = /* @__PURE__ */ zc({
71464
+ }, ZP = { class: "flex justify-between" }, XP = { class: "py-8 px-16 space-y-8" }, xP = { class: "flex-1 pb-64 overflow-auto divide-y divide-fm-color-neutral-gray-100" }, eR = ["onClick"], tR = { class: "flex justify-between items-center" }, nR = { class: "fm-typo-en-body-lg-600" }, rR = { class: "flex gap-8" }, iR = { class: "text-fm-color-typo-secondary" }, aR = { class: "text-fm-color-typo-secondary" }, oR = { class: "text-fm-color-typo-secondary" }, bR = /* @__PURE__ */ zc({
71464
71465
  __name: "FoodCourt",
71465
71466
  setup(s) {
71466
71467
  const { t: c } = $m(), d = en([]), b = en(""), v = fr(() => d.value.filter((V) => {
@@ -71715,5 +71716,5 @@ const LP = { class: "fm-typo-en-title-md-600" }, GP = { class: "pt-8 space-y-24"
71715
71716
  }
71716
71717
  });
71717
71718
  export {
71718
- $R as default
71719
+ bR as default
71719
71720
  };
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as q, openBlock as H, createElementBlock as G, createElementVNode as U, renderSlot as V, toDisplayString as le, normalizeClass as ae, toRaw as de, mergeModels as fe, useModel as he, computed as A, watchEffect as me, resolveComponent as z, createBlock as Z, withCtx as te, createVNode as Q, Fragment as pe, renderList as $e, markRaw as ve, render as ye, normalizeProps as ge, mergeProps as ne } from "vue";
2
- import { c as be, g as Me } from "./loading-8bc1d79a.js";
2
+ import { c as be, g as Me } from "./app-d6477802.js";
3
3
  import { useCoreStore as _e } from "@feedmepos/mf-common";
4
4
  import { useSnackbar as we, useBreakpoints as Se } from "@feedmepos/ui-library";
5
5
  const De = {
@@ -0,0 +1,27 @@
1
+ import { defineComponent as o, computed as c, resolveComponent as u, openBlock as s, createElementBlock as a, createVNode as m } from "vue";
2
+ import { useCoreStore as i, FeedMeAuth as l } from "@feedmepos/mf-common";
3
+ const d = {
4
+ key: 0,
5
+ class: "w-full h-full flex items-center justify-center"
6
+ }, p = ["src"], b = /* @__PURE__ */ o({
7
+ __name: "TemplateBuilder",
8
+ setup(f) {
9
+ const e = i(), t = c(() => {
10
+ var r;
11
+ return e.currentBusiness.value ? `https://print-template-builder.feedme.cc//#/receipt-info?businessId=${(r = e.currentBusiness.value) == null ? void 0 : r.id}&country=${e.currentCountry.value}&token=${l.token}` : "";
12
+ });
13
+ return (r, _) => {
14
+ const n = u("FmCircularProgress");
15
+ return t.value ? (s(), a("iframe", {
16
+ key: 1,
17
+ class: "w-full h-full",
18
+ src: t.value
19
+ }, null, 8, p)) : (s(), a("div", d, [
20
+ m(n, { size: "lg" })
21
+ ]));
22
+ };
23
+ }
24
+ });
25
+ export {
26
+ b as default
27
+ };