@feedmepos/mf-settings 0.0.48-beta.1-ex → 0.0.48-beta.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.
@@ -1,11 +1,12 @@
1
1
  import { defineComponent as Ye, computed as Pe, ref as xt, watchEffect as Vt, resolveComponent as Wt, openBlock as Xe, createBlock as Qe, onMounted as Ht, unref as $t } from "vue";
2
2
  import { useRouter as jt, RouterView as Bt } from "vue-router";
3
3
  import { useI18n as Kt, useCoreStore as Ze, FeedMeAuth as qt } from "@feedmepos/mf-common";
4
- import { routers as Gt } from "./app.js";
5
- import { Pos as zt } from "@feedmepos/core";
6
- import { F_FEATURE as Jt } from "@feedmepos/core/entity";
4
+ import { r as Gt } from "./app-ce0bb813.js";
5
+ import { c as zt } from "./index-1eb3cc0a.js";
6
+ import { e as Jt } from "./index-f1e5e565.js";
7
7
  import { r as de, g as et, i as Yt, a as Xt, _ as Ne, C as Oe, b as Qt, S as F, c as O, E as pe, d as Zt, e as tt, f as en, h as tn, L as nt, j as f, k as nn, l as rn, F as ge, q as x, m as sn, n as on, o as an, p as cn, s as ln, t as un, u as dn, v as hn } from "./index.esm2017-c60b1ce5.js";
8
8
  import "@feedmepos/mf-mdm";
9
+ import "@feedmepos/ui-library";
9
10
  import "@feedmepos/mf-e-invoice";
10
11
  function me(n, e) {
11
12
  var t = {};
@@ -20,7 +21,7 @@ const fn = /* @__PURE__ */ Ye({
20
21
  __name: "NavigationTab",
21
22
  emits: ["close-navigation"],
22
23
  setup(n, { emit: e }) {
23
- const t = e, { t: i } = Kt(), r = jt(), s = Ze(), o = Pe(() => s.restaurants.value.some(({ posVersion: l }) => zt.canUse({ feature: Jt.Enum.templateBuilder, posVersion: l ?? "" }))), c = Pe(() => Gt.filter((d) => {
24
+ const t = e, { t: i } = Kt(), r = jt(), s = Ze(), o = Pe(() => s.restaurants.value.some(({ posVersion: l }) => zt.Pos.canUse({ feature: Jt.F_FEATURE.Enum.templateBuilder, posVersion: l ?? "" }))), c = Pe(() => Gt.filter((d) => {
24
25
  var h;
25
26
  return d.redirect || (h = d.meta) != null && h.hideNavigation ? !1 : !(d.name === "$settings-template-builder" && !o.value);
26
27
  }).map((d) => {
@@ -4337,7 +4338,7 @@ async function vr() {
4337
4338
  async function Ir() {
4338
4339
  await _r(), await vr();
4339
4340
  }
4340
- const Cr = /* @__PURE__ */ Ye({
4341
+ const Pr = /* @__PURE__ */ Ye({
4341
4342
  __name: "App",
4342
4343
  setup(n) {
4343
4344
  const e = Ze();
@@ -4347,5 +4348,5 @@ const Cr = /* @__PURE__ */ Ye({
4347
4348
  }
4348
4349
  });
4349
4350
  export {
4350
- Cr as default
4351
+ Pr as default
4351
4352
  };