@feedmepos/mf-settings 0.0.77-dev.1 → 0.0.78-dev.1

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,8 +2,8 @@ import { defineComponent as Tu, computed as nu, ref as Tn, watchEffect as qn, re
2
2
  import { useRouter as Nn, RouterView as zn } from "vue-router";
3
3
  import { useI18n as Dn, useCoreStore as _u, FeedMeAuth as Bn } from "@feedmepos/mf-common";
4
4
  import { c as qr } from "./_commonjs-dynamic-modules-bed80856.js";
5
- import { e as Ru } from "./index-a468d838.js";
6
- import { c as rt, r as Cr } from "./app-8c2bd26c.js";
5
+ import { e as Ru } from "./index-a8e25242.js";
6
+ import { c as rt, r as Cr } from "./app-aa2abf30.js";
7
7
  import { g as Pn, s as On } from "./map-83d1fbe5.js";
8
8
  import "@feedmepos/mf-mdm";
9
9
  import "@feedmepos/mf-media";
@@ -5,14 +5,14 @@ import { defineComponent as Be, mergeModels as mc, useModel as p_, ref as Te, on
5
5
  import { useRouter as $_ } from "vue-router";
6
6
  import { useBreakpoints as As, useDialog as Is, useDialogChild as Xc, useSnackbar as ko, components as k_ } from "@feedmepos/ui-library";
7
7
  import { useI18n as On, useCoreStore as zt, CustomAttributesForm as E_, RestaurantSelector as A_, isEmptyRule as I_, useCustomAttributes as R_ } from "@feedmepos/mf-common";
8
- import { D as Jc, u as Qc, _ as C_ } from "./dayjs.min-4b595624.js";
8
+ import { D as Jc, u as Qc, _ as C_ } from "./dayjs.min-bb96e7b4.js";
9
9
  import { c as Gr, _ as T_, a as no } from "./object-8ac0c0d8.js";
10
10
  import { _ as Ur, c as O_ } from "./FormSection.vue_vue_type_script_setup_true_lang-f34c8596.js";
11
- import { e as Eo } from "./index-a468d838.js";
12
- import { e as vc, a as S_, b as Zr, u as ed, c as ro, g as ms } from "./index-d3531f7b.js";
13
- import { b as V_ } from "./business-aa881f3b.js";
11
+ import { e as Eo } from "./index-a8e25242.js";
12
+ import { e as vc, a as S_, b as Zr, u as ed, c as ro, g as ms } from "./index-3856d693.js";
13
+ import { b as V_ } from "./business-3ee3de0e.js";
14
14
  import { _ as td, r as An } from "./rules-c9fa22f8.js";
15
- import { g as N_, u as P_, A as nd, i as hs } from "./app-8c2bd26c.js";
15
+ import { g as N_, u as P_, A as nd, i as hs } from "./app-aa2abf30.js";
16
16
  import { c as vs, g as cr, a as j_, b as L_ } from "./map-83d1fbe5.js";
17
17
  import "pinia";
18
18
  import "@feedmepos/mf-mdm";
@@ -1,12 +1,12 @@
1
1
  import { openBlock as u, createBlock as L, createCommentVNode as X, withScopeId as W, defineComponent as q, createElementBlock as x, unref as f, ref as r, watch as H, computed as G, watchEffect as Y, onBeforeUnmount as M, resolveComponent as l, createVNode as k, withCtx as _, createElementVNode as g, toDisplayString as S, Fragment as $, renderList as AA, normalizeClass as oA } from "vue";
2
- import { u as nA, F as gA } from "./index-d3531f7b.js";
3
- import { useCoreStore as fA, useI18n as aA, useCountry as eA } from "@feedmepos/mf-common";
4
- import { useSnackbar as pA } from "@feedmepos/ui-library";
2
+ import { useCoreStore as nA, useI18n as gA, useCountry as fA, FeedMeAuth as aA } from "@feedmepos/mf-common";
3
+ import { useSnackbar as eA } from "@feedmepos/ui-library";
4
+ import { u as pA } from "./index-3856d693.js";
5
5
  import { _ as sA, r as dA } from "./rules-c9fa22f8.js";
6
- import { b as F } from "./business-aa881f3b.js";
7
- import { a as tA } from "./app-8c2bd26c.js";
6
+ import { b as F } from "./business-3ee3de0e.js";
7
+ import { a as tA } from "./app-aa2abf30.js";
8
8
  import "pinia";
9
- import "./index-a468d838.js";
9
+ import "./index-a8e25242.js";
10
10
  import "@feedmepos/mf-mdm";
11
11
  import "@feedmepos/mf-media";
12
12
  import "@feedmepos/mf-order-setting";
@@ -200,7 +200,7 @@ const vA = /* @__PURE__ */ sA(xA, [["__scopeId", "data-v-c0191534"]]), FA = { cl
200
200
  __name: "CreateBusiness",
201
201
  setup(A) {
202
202
  var O;
203
- const o = fA(), d = r(""), a = r(m.get()), n = r(""), b = r(!0), z = pA(), h = nA(z), { t: s } = aA(), t = r(((O = o.currentCountry.value) == null ? void 0 : O.toUpperCase()) || "MY"), Q = r([]), { countryOptions: T } = eA();
203
+ const o = nA(), d = r(""), a = r(m.get()), n = r(""), b = r(!0), z = eA(), h = pA(z), { t: s } = gA(), t = r(((O = o.currentCountry.value) == null ? void 0 : O.toUpperCase()) || "MY"), Q = r([]), { countryOptions: T } = fA();
204
204
  let v = 0;
205
205
  async function J() {
206
206
  const i = ++v, e = a.value, B = t.value;
@@ -257,7 +257,7 @@ const vA = /* @__PURE__ */ sA(xA, [["__scopeId", "data-v-c0191534"]]), FA = { cl
257
257
  }
258
258
  async function E() {
259
259
  await o.signOut(), setTimeout(() => {
260
- window.location.href = `${gA.baseUrl}/login?fm_redirect=${encodeURIComponent(window.location.protocol + "//" + window.location.host)}`;
260
+ window.location.href = `${aA.baseUrl}/login?fm_redirect=${encodeURIComponent(window.location.protocol + "//" + window.location.host)}`;
261
261
  }, 500);
262
262
  }
263
263
  return Y(() => {