@feedmepos/mf-settings 0.0.48-beta.0-ex → 0.0.48-beta.1-ex

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.
@@ -1,15 +1,12 @@
1
- import { unref as n, defineComponent as A, openBlock as v, createElementBlock as y, ref as f, watch as $, computed as j, watchEffect as G, onBeforeUnmount as P, resolveComponent as h, createVNode as g, withCtx as W, createElementVNode as s, toDisplayString as b, Fragment as q, renderList as z, normalizeClass as R, createBlock as Z, createCommentVNode as Q } from "vue";
1
+ import { unref as n, defineComponent as A, openBlock as v, createElementBlock as y, ref as f, watch as $, computed as j, watchEffect as G, onBeforeUnmount as P, resolveComponent as h, createVNode as g, withCtx as W, createElementVNode as s, toDisplayString as b, Fragment as z, renderList as R, normalizeClass as Z, createBlock as q, createCommentVNode as Q } from "vue";
2
2
  import { useCoreStore as Y, useI18n as J, CountryOptions as K } from "@feedmepos/mf-common";
3
3
  import { _ as X, r as ee } from "./rules-c9fa22f8.js";
4
- import { o as te, q as w, F as se } from "./app-29117ada.js";
4
+ import { b as w } from "./business-8b22c801.js";
5
5
  import "@feedmepos/core/entity";
6
- import { useSnackbar as ne } from "@feedmepos/ui-library";
6
+ import { useSnackbar as te } from "@feedmepos/ui-library";
7
+ import { u as se, F as ne } from "./loading-eb019aa4.js";
7
8
  import { useRouter as oe } from "vue-router";
8
- import "@feedmepos/mf-mdm";
9
- import "@feedmepos/mf-e-invoice";
10
9
  import "pinia";
11
- import "@vue/devtools-api";
12
- import "@feedmepos/core";
13
10
  function L(r) {
14
11
  return typeof r == "function" ? r() : n(r);
15
12
  }
@@ -71,12 +68,12 @@ const re = `<svg width="388" height="388" viewBox="0 0 388 388" fill="none" xmln
71
68
  }, null, 8, ce));
72
69
  }
73
70
  });
74
- const de = /* @__PURE__ */ X(ue, [["__scopeId", "data-v-c0191534"]]), me = { class: "flex flex-col justify-center items-center bg-fm-color-neutral-white py-24" }, pe = { class: "space-y-32" }, _e = { class: "space-y-8" }, fe = { class: "fm-typo-en-title-lg-600" }, ge = { class: "space-y-8" }, ve = { class: "fm-typo-en-title-sm-600" }, he = { class: "flex gap-16" }, be = ["onClick"], ye = { class: "space-y-8" }, Ce = { class: "m-8 w-[33px]" }, we = ["innerHTML"], xe = { class: "fm-typo-en-body-sm-600" }, Fe = { class: "space-y-16" }, Ne = /* @__PURE__ */ A({
71
+ const de = /* @__PURE__ */ X(ue, [["__scopeId", "data-v-c0191534"]]), me = { class: "flex flex-col justify-center items-center bg-fm-color-neutral-white py-24" }, pe = { class: "space-y-32" }, _e = { class: "space-y-8" }, fe = { class: "fm-typo-en-title-lg-600" }, ge = { class: "space-y-8" }, ve = { class: "fm-typo-en-title-sm-600" }, he = { class: "flex gap-16" }, be = ["onClick"], ye = { class: "space-y-8" }, Ce = { class: "m-8 w-[33px]" }, we = ["innerHTML"], xe = { class: "fm-typo-en-body-sm-600" }, Fe = { class: "space-y-16" }, De = /* @__PURE__ */ A({
75
72
  __name: "CreateBusiness",
76
73
  setup(r) {
77
74
  var V;
78
75
  oe();
79
- const e = Y(), o = f(""), t = f(""), c = f(""), u = f(!0), x = ne(), _ = te(x), { t: l } = J(), i = f(((V = e.currentCountry.value) == null ? void 0 : V.toUpperCase()) || "MY"), m = f([]);
76
+ const e = Y(), o = f(""), t = f(""), c = f(""), u = f(!0), x = te(), _ = se(x), { t: l } = J(), i = f(((V = e.currentCountry.value) == null ? void 0 : V.toUpperCase()) || "MY"), m = f([]);
80
77
  $(
81
78
  i,
82
79
  (p) => {
@@ -122,7 +119,7 @@ const de = /* @__PURE__ */ X(ue, [["__scopeId", "data-v-c0191534"]]), me = { cla
122
119
  }
123
120
  async function E() {
124
121
  await e.signOut(), setTimeout(() => {
125
- window.location.href = `${se.baseUrl}/login?fm_redirect=${encodeURIComponent(window.location.protocol + "//" + window.location.host)}`;
122
+ window.location.href = `${ne.baseUrl}/login?fm_redirect=${encodeURIComponent(window.location.protocol + "//" + window.location.host)}`;
126
123
  }, 500);
127
124
  }
128
125
  return G(() => {
@@ -173,9 +170,9 @@ const de = /* @__PURE__ */ X(ue, [["__scopeId", "data-v-c0191534"]]), me = { cla
173
170
  s("div", ge, [
174
171
  s("div", ve, b(n(l)("settings.create_business.country.title")), 1),
175
172
  s("div", he, [
176
- (v(!0), y(q, null, z(n(K), (a) => (v(), y("div", {
173
+ (v(!0), y(z, null, R(n(K), (a) => (v(), y("div", {
177
174
  key: a.code,
178
- class: R(["flex-1 h-[124px] flex justify-center items-center border-2 fm-corner-radius-md cursor-pointer", [
175
+ class: Z(["flex-1 h-[124px] flex justify-center items-center border-2 fm-corner-radius-md cursor-pointer", [
179
176
  i.value === a.code ? "border-fm-color-primary" : "border-fm-color-neutral-gray-200",
180
177
  i.value === a.code ? "bg-fm-color-system-warning-100" : "bg-fm-color-neutral-white"
181
178
  ]]),
@@ -192,7 +189,7 @@ const de = /* @__PURE__ */ X(ue, [["__scopeId", "data-v-c0191534"]]), me = { cla
192
189
  ], 10, be))), 128))
193
190
  ])
194
191
  ]),
195
- m.value.length > 0 ? (v(), Z(N, {
192
+ m.value.length > 0 ? (v(), q(N, {
196
193
  key: 0,
197
194
  variant: "info",
198
195
  title: n(l)("settings.create_business.country.exists.title"),
@@ -229,5 +226,5 @@ const de = /* @__PURE__ */ X(ue, [["__scopeId", "data-v-c0191534"]]), me = { cla
229
226
  }
230
227
  });
231
228
  export {
232
- Ne as default
229
+ De as default
233
230
  };
@@ -2,17 +2,14 @@ var ul = Object.defineProperty;
2
2
  var cl = (e, t, n) => t in e ? ul(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
3
  var Hn = (e, t, n) => (cl(e, typeof t != "symbol" ? t + "" : t, n), n);
4
4
  import { defineComponent as Ur, ref as Me, resolveComponent as we, openBlock as ze, createElementBlock as Ot, Fragment as qt, renderSlot as zs, createVNode as Te, unref as Pe, withCtx as Ze, createElementVNode as ne, computed as st, watch as Ms, withKeys as ll, toDisplayString as He, renderList as Ir, createBlock as Wt, createCommentVNode as wr, h as gr, getCurrentInstance as dl, withModifiers as fl } from "vue";
5
- import { c as y, w as Hi, j as pt, x as rn, h as qa, o as $i, a as Ns, t as hl, v as Lo } from "./app-29117ada.js";
5
+ import { c as y, d as Hi, a as Ns, _ as hl, b as Lo } from "./createForm-ad247a74.js";
6
6
  import tt from "@feedmepos/core/entity";
7
7
  import Bs from "@feedmepos/core";
8
8
  import { useSnackbar as jr, components as Xn, useDialogChild as _l, useDialog as Fs, useBreakpoints as ml } from "@feedmepos/ui-library";
9
+ import { g as pt, r as rn, b as qa, u as $i } from "./loading-eb019aa4.js";
9
10
  import { useCoreStore as Yr, useI18n as Wi } from "@feedmepos/mf-common";
10
11
  import { _ as Mi, u as yl, a as pl } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-65f62fbb.js";
11
- import "@feedmepos/mf-mdm";
12
- import "vue-router";
13
- import "@feedmepos/mf-e-invoice";
14
12
  import "pinia";
15
- import "@vue/devtools-api";
16
13
  var Xa = {}, $e = {}, kr = {}, W = {}, Ni = {}, Qa = {}, Ja = {}, Lr = {};
17
14
  (function(e) {
18
15
  Object.defineProperty(e, "__esModule", { value: !0 }), e.getParsedType = e.ZodParsedType = e.util = void 0;
@@ -12195,7 +12192,7 @@ const sg = { class: "fm-typo-en-title-md-600" }, ug = { class: "pt-8 space-y-24"
12195
12192
  }), _g = { class: "flex flex-1" }, mg = {
12196
12193
  key: 0,
12197
12194
  class: "space-y-24"
12198
- }, yg = { class: "flex justify-between" }, pg = { class: "py-8 px-16 space-y-8" }, gg = { class: "flex-1 pb-64 overflow-auto divide-y divide-fm-color-neutral-gray-100" }, Og = ["onClick"], vg = { class: "flex justify-between items-center" }, Sg = { class: "fm-typo-en-body-lg-600" }, bg = { class: "flex gap-8" }, Tg = { class: "text-fm-color-typo-secondary" }, Dg = { class: "text-fm-color-typo-secondary" }, Eg = { class: "text-fm-color-typo-secondary" }, kg = /* @__PURE__ */ Ur({
12195
+ }, yg = { class: "flex justify-between" }, pg = { class: "py-8 px-16 space-y-8" }, gg = { class: "flex-1 pb-64 overflow-auto divide-y divide-fm-color-neutral-gray-100" }, Og = ["onClick"], vg = { class: "flex justify-between items-center" }, Sg = { class: "fm-typo-en-body-lg-600" }, bg = { class: "flex gap-8" }, Tg = { class: "text-fm-color-typo-secondary" }, Dg = { class: "text-fm-color-typo-secondary" }, Eg = { class: "text-fm-color-typo-secondary" }, Ug = /* @__PURE__ */ Ur({
12199
12196
  __name: "FoodCourt",
12200
12197
  setup(e) {
12201
12198
  const { t } = Wi(), n = Me([]), r = Me(""), a = st(() => n.value.filter((N) => {
@@ -12450,5 +12447,5 @@ const sg = { class: "fm-typo-en-title-md-600" }, ug = { class: "pt-8 space-y-24"
12450
12447
  }
12451
12448
  });
12452
12449
  export {
12453
- kg as default
12450
+ Ug as default
12454
12451
  };