@feedmepos/mf-settings 0.0.36 → 0.0.38

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.
@@ -7,7 +7,7 @@ import { useCoreStore as fe, useI18n as pe } from "@feedmepos/mf-common";
7
7
  import { useDialog as lr, useDialogChild as Mr, useSnackbar as ct, useBreakpoints as ur, components as cr } from "@feedmepos/ui-library";
8
8
  import { c as ge, D as dt, u as dr, _ as Ur, a as Dr, b as Gr, d as He } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-62e1008f.js";
9
9
  import { _ as fr, r as ce, b as Br } from "./business-b41c9d64.js";
10
- import { c as Ve, g as ve, a as Kr, b as qr, d as Xe, r as Ye, e as zr, u as Hr, f as Xr, h as Yr } from "./app-99c9cdb0.js";
10
+ import { c as Ve, g as ve, a as Kr, b as qr, d as Xe, r as Ye, e as zr, u as Hr, f as Xr, h as Yr } from "./app-9f936b37.js";
11
11
  import "pinia";
12
12
  import "vue-router";
13
13
  import "@feedmepos/mf-e-invoice";
@@ -5,7 +5,7 @@ import { u as K, F as X } from "./loading-810e6a97.js";
5
5
  import { useSnackbar as ee } from "@feedmepos/ui-library";
6
6
  import { useRouter as te } from "vue-router";
7
7
  import "pinia";
8
- function L(a) {
8
+ function U(a) {
9
9
  return typeof a == "function" ? a() : n(a);
10
10
  }
11
11
  typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
@@ -25,7 +25,7 @@ function ne(a, o = {}) {
25
25
  clearTimeout(s), r(), r = S;
26
26
  };
27
27
  return (s) => {
28
- const c = L(a), u = L(o.maxWait);
28
+ const c = U(a), u = U(o.maxWait);
29
29
  return l && m(l), c <= 0 || u !== void 0 && u <= 0 ? (e && (m(e), e = null), Promise.resolve(s())) : new Promise((v, C) => {
30
30
  r = o.rejectOnCancel ? C : v, u && !e && (e = setTimeout(() => {
31
31
  l && m(l), e = null, v(s());
@@ -66,7 +66,7 @@ const le = `<svg width="388" height="388" viewBox="0 0 388 388" fill="none" xmln
66
66
  }, null, 8, ie));
67
67
  }
68
68
  });
69
- const re = /* @__PURE__ */ Y(ae, [["__scopeId", "data-v-c0191534"]]), ce = { class: "flex flex-col justify-center items-center fixed top-[56px] left-0 w-screen h-[calc(100vh-56px)] bg-fm-color-neutral-white" }, ue = { class: "space-y-32" }, de = { class: "space-y-8" }, me = { class: "fm-typo-en-title-lg-600" }, pe = { class: "space-y-8" }, _e = { class: "fm-typo-en-title-sm-600" }, fe = { class: "flex gap-16" }, ve = ["onClick"], ge = { class: "space-y-8" }, he = { class: "m-8 w-[33px]" }, ye = ["innerHTML"], be = { class: "fm-typo-en-body-sm-600" }, Ce = { class: "space-y-16" }, Ue = /* @__PURE__ */ M({
69
+ const re = /* @__PURE__ */ Y(ae, [["__scopeId", "data-v-c0191534"]]), ce = { class: "flex flex-col justify-center items-center fixed top-[56px] left-0 w-screen h-[calc(100vh-56px)] bg-fm-color-neutral-white" }, ue = { class: "space-y-32" }, de = { class: "space-y-8" }, me = { class: "fm-typo-en-title-lg-600" }, pe = { class: "space-y-8" }, _e = { class: "fm-typo-en-title-sm-600" }, fe = { class: "flex gap-16" }, ve = ["onClick"], ge = { class: "space-y-8" }, he = { class: "m-8 w-[33px]" }, ye = ["innerHTML"], be = { class: "fm-typo-en-body-sm-600" }, Ce = { class: "space-y-16" }, Le = /* @__PURE__ */ M({
70
70
  __name: "CreateBusiness",
71
71
  setup(a) {
72
72
  var V;
@@ -128,7 +128,7 @@ const re = /* @__PURE__ */ Y(ae, [["__scopeId", "data-v-c0191534"]]), ce = { cla
128
128
  "on-validation-success": D
129
129
  }, {
130
130
  default: E(() => {
131
- var H, T, U;
131
+ var H, T, L;
132
132
  return [
133
133
  t("div", null, [
134
134
  f(re)
@@ -153,10 +153,12 @@ const re = /* @__PURE__ */ Y(ae, [["__scopeId", "data-v-c0191534"]]), ce = { cla
153
153
  f(k, {
154
154
  label: n(s)("settings.create_business.agent.label"),
155
155
  modelValue: e.value,
156
- "onUpdate:modelValue": d[1] || (d[1] = (i) => e.value = i),
157
- "onUpdate:modelValu": n(C),
156
+ "onUpdate:modelValue": [
157
+ d[1] || (d[1] = (i) => e.value = i),
158
+ n(C)
159
+ ],
158
160
  rules: [(i) => !i || !!r.value || n(s)("settings.create_business.agent.invalid")]
159
- }, null, 8, ["label", "modelValue", "onUpdate:modelValu", "rules"])
161
+ }, null, 8, ["label", "modelValue", "onUpdate:modelValue", "rules"])
160
162
  ]),
161
163
  t("div", pe, [
162
164
  t("div", _e, y(n(s)("settings.create_business.country.title")), 1),
@@ -184,7 +186,7 @@ const re = /* @__PURE__ */ Y(ae, [["__scopeId", "data-v-c0191534"]]), ce = { cla
184
186
  key: 0,
185
187
  variant: "info",
186
188
  title: n(s)("settings.create_business.country.exists.title"),
187
- description: n(s)("settings.create_business.country.exists.message", { name: (U = u.value[0]) == null ? void 0 : U.name })
189
+ description: n(s)("settings.create_business.country.exists.message", { name: (L = u.value[0]) == null ? void 0 : L.name })
188
190
  }, null, 8, ["title", "description"])) : R("", !0),
189
191
  t("div", Ce, [
190
192
  t("div", null, [
@@ -217,5 +219,5 @@ const re = /* @__PURE__ */ Y(ae, [["__scopeId", "data-v-c0191534"]]), ce = { cla
217
219
  }
218
220
  });
219
221
  export {
220
- Ue as default
222
+ Le as default
221
223
  };
@@ -7956,7 +7956,7 @@ const Ac = {
7956
7956
  {
7957
7957
  path: "/business",
7958
7958
  name: "$settings-my-business",
7959
- component: () => import("./Business-9706bfba.js"),
7959
+ component: () => import("./Business-f7728a38.js"),
7960
7960
  meta: {
7961
7961
  i18nKey: "settings.business.title"
7962
7962
  }
@@ -7964,7 +7964,7 @@ const Ac = {
7964
7964
  {
7965
7965
  path: "/create-business",
7966
7966
  name: "$settings-create-business",
7967
- component: () => import("./CreateBusiness-ee9dfb37.js"),
7967
+ component: () => import("./CreateBusiness-c2668ab8.js"),
7968
7968
  meta: {
7969
7969
  hideNavigation: !0
7970
7970
  }
package/dist/app.js CHANGED
@@ -1,4 +1,4 @@
1
- import { _ as a, j as e, i as n, k as g } from "./app-99c9cdb0.js";
1
+ import { _ as a, j as e, i as n, k as g } from "./app-9f936b37.js";
2
2
  import "@feedmepos/mf-common";
3
3
  import "vue";
4
4
  import "vue-router";