@feedmepos/mf-settings 0.0.48 → 0.0.49-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.
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as Xe, computed as Pe, ref as xt, watchEffect as Vt, resolveComponent as Wt, openBlock as Ye, createBlock as Qe, onMounted as Ht, unref as $t } from "vue";
2
2
  import { useRouter as Kt, RouterView as jt } from "vue-router";
3
3
  import { useI18n as Bt, useCoreStore as Ze, FeedMeAuth as zt } from "@feedmepos/mf-common";
4
- import { r as qt } from "./app-6da9af48.js";
4
+ import { r as qt } from "./app-53ec4ba9.js";
5
5
  import { c as Gt } from "./index-1eb3cc0a.js";
6
6
  import { e as Jt } from "./index-f1e5e565.js";
7
7
  import { r as de, g as et, i as Xt, a as Yt, _ 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";
@@ -10,7 +10,7 @@ import { _ as lr, r as ce } from "./rules-c9fa22f8.js";
10
10
  import { w as ke, u as ve, x as Dr, y as Gr, t as He, z as ze, A as Br, B as Kr, D as Hr, G as zr } from "./index.esm2017-c60b1ce5.js";
11
11
  import { D as dt, u as ur, _ as Xr, a as qr } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-977372d5.js";
12
12
  import { b as Xe, a as qe, g as ft, u as cr } from "./loading-a9743d80.js";
13
- import { u as Yr } from "./app-6da9af48.js";
13
+ import { u as Yr } from "./app-53ec4ba9.js";
14
14
  import { _ as Ee, c as Wr } from "./actionButton-cc6bcf01.js";
15
15
  import { b as Jr } from "./business-5239a754.js";
16
16
  import "pinia";
@@ -8,7 +8,7 @@ import { c as br } from "./index-f1e5e565.js";
8
8
  import { defineStore as jm } from "pinia";
9
9
  import { b as es } from "./business-5239a754.js";
10
10
  import "@vue/devtools-api";
11
- import { _ as eE } from "./app-6da9af48.js";
11
+ import { _ as eE } from "./app-53ec4ba9.js";
12
12
  import "@feedmepos/mf-mdm";
13
13
  import "vue-router";
14
14
  import "@feedmepos/mf-e-invoice";
@@ -32,11 +32,11 @@ function nE(r, s) {
32
32
  const u = Po(), { t: f } = Do();
33
33
  function _() {
34
34
  r() ? u.open({
35
- title: f("dismiss.title"),
36
- message: f("dismiss.message"),
35
+ title: f("portalCommon.dismiss.title"),
36
+ message: f("portalCommon.dismiss.message"),
37
37
  zIndex: 200,
38
38
  primaryActions: {
39
- text: f("dismiss.primaryActions"),
39
+ text: f("portalCommon.dismiss.primaryActions"),
40
40
  variant: "primary",
41
41
  close: !0
42
42
  },
@@ -3755,7 +3755,10 @@ const rE = { class: "fm-typo-en-title-md-600" }, iE = { class: "py-16 space-y-32
3755
3755
  { label: "Number", value: "number" }
3756
3756
  ]), W = rn(() => [
3757
3757
  { label: "Restaurant", value: "restaurant" },
3758
- { label: "Item", value: "item" }
3758
+ { label: "Item", value: "item" },
3759
+ { label: "Warehouse", value: "warehouse" },
3760
+ { label: "Inventory Sku", value: "inventorySku" },
3761
+ { label: "Inventory Recipe", value: "inventoryRecipe" }
3759
3762
  ]), F = tr(!1), $ = tr(!1), J = (R) => {
3760
3763
  $.value = !$.value;
3761
3764
  }, X = nE(
@@ -1,54 +1,56 @@
1
- import { FmApp as p, routers as g, i18nMessages as l } from "@feedmepos/mf-mdm";
2
- import { ref as d, watch as b, nextTick as v, onMounted as h, onBeforeUnmount as _, defineComponent as c, computed as y, openBlock as u, createElementBlock as f, normalizeStyle as R, renderSlot as w, resolveComponent as L, createBlock as C, withCtx as U, createElementVNode as q, createVNode as A, defineAsyncComponent as T } from "vue";
1
+ import { FmApp as b, routers as v, i18nMessages as d } from "@feedmepos/mf-mdm";
2
+ import { ref as m, watch as c, nextTick as u, onMounted as h, onBeforeUnmount as _, defineComponent as p, computed as y, openBlock as g, createElementBlock as f, normalizeStyle as R, renderSlot as w, resolveComponent as L, createBlock as C, withCtx as U, createElementVNode as q, createVNode as A, defineAsyncComponent as T } from "vue";
3
3
  import { useBreakpoints as k } from "@feedmepos/ui-library";
4
4
  import "vue-router";
5
5
  import { FmApp as F, routers as x } from "@feedmepos/mf-e-invoice";
6
6
  import { withPermission as S } from "@feedmepos/mf-common";
7
- function $(e) {
8
- const n = d({ top: 0, bottom: 0, left: 0, right: 0 });
9
- function a() {
7
+ function $(e, o) {
8
+ const n = m({ top: 0, bottom: 0, left: 0, right: 0 });
9
+ function t() {
10
10
  if (e.value) {
11
- const t = e.value.getBoundingClientRect();
11
+ const a = e.value.getBoundingClientRect();
12
12
  n.value = {
13
- top: t.top,
14
- bottom: t.bottom,
15
- left: t.left,
16
- right: t.right
13
+ top: a.top,
14
+ bottom: a.bottom,
15
+ left: a.left,
16
+ right: a.right
17
17
  };
18
18
  }
19
19
  }
20
- return b(e, async (t) => {
21
- t && (await v(), a());
20
+ return c(o, async () => {
21
+ await u(), t();
22
+ }), c(e, async (a) => {
23
+ a && (await u(), t());
22
24
  }), h(() => {
23
- window.addEventListener("resize", a);
25
+ window.addEventListener("resize", t);
24
26
  }), _(() => {
25
- window.removeEventListener("resize", a);
27
+ window.removeEventListener("resize", t);
26
28
  }), n;
27
29
  }
28
- const I = /* @__PURE__ */ c({
30
+ const I = /* @__PURE__ */ p({
29
31
  __name: "FullWrapper",
30
32
  setup(e) {
31
- const n = k(), a = d(null), t = $(a), m = y(() => {
32
- var r;
33
- const s = n.isAtMost("sm") ? 56 : 0;
33
+ const o = k(), n = m(null), t = $(n), a = y(() => {
34
+ var l;
35
+ const r = o.isAtMost("sm") ? 56 : 0;
34
36
  return {
35
- height: `calc(100dvh - ${((r = t.value) == null ? void 0 : r.top) + 24 + s}px)`
37
+ height: `calc(100dvh - ${((l = t.value) == null ? void 0 : l.top) + 24 + r}px)`
36
38
  };
37
39
  });
38
- return (o, s) => (u(), f("div", {
40
+ return (s, r) => (g(), f("div", {
39
41
  ref_key: "wrapper",
40
- ref: a,
41
- style: R(m.value)
42
+ ref: n,
43
+ style: R(a.value)
42
44
  }, [
43
- w(o.$slots, "default")
45
+ w(s.$slots, "default")
44
46
  ], 4));
45
47
  }
46
- }), N = { class: "flex justify-center items-center h-full w-full" }, P = /* @__PURE__ */ c({
48
+ }), N = { class: "flex justify-center items-center h-full w-full" }, P = /* @__PURE__ */ p({
47
49
  __name: "PageLoading",
48
50
  setup(e) {
49
- return (n, a) => {
51
+ return (o, n) => {
50
52
  const t = L("FmCircularProgress");
51
- return u(), C(I, null, {
53
+ return g(), C(I, null, {
52
54
  default: U(() => [
53
55
  q("div", N, [
54
56
  A(t, { size: "xl" })
@@ -696,7 +698,7 @@ const I = /* @__PURE__ */ c({
696
698
  {
697
699
  path: "/business",
698
700
  name: "$settings-my-business",
699
- component: i(() => import("./Business-e8c7eafc.js")),
701
+ component: i(() => import("./Business-c745610e.js")),
700
702
  meta: {
701
703
  i18nKey: "settings.business.title"
702
704
  }
@@ -720,8 +722,8 @@ const I = /* @__PURE__ */ c({
720
722
  {
721
723
  path: "/devices",
722
724
  name: "$settings-device",
723
- component: p,
724
- children: g.map((e) => ({ ...e, path: `/device${e.path}` })),
725
+ component: b,
726
+ children: v.map((e) => ({ ...e, path: `/device${e.path}` })),
725
727
  meta: {
726
728
  i18nKey: "settings.device.title"
727
729
  }
@@ -754,7 +756,7 @@ const I = /* @__PURE__ */ c({
754
756
  {
755
757
  path: "/tagging",
756
758
  name: "$settings-tagging",
757
- component: S(i(() => import("./Tagging-eca30670.js"))),
759
+ component: S(i(() => import("./Tagging-9df6a224.js"))),
758
760
  meta: {
759
761
  i18nKey: "settings.tagging.title",
760
762
  validationManifest: {
@@ -763,14 +765,14 @@ const I = /* @__PURE__ */ c({
763
765
  hideNavigation: !0
764
766
  }
765
767
  }
766
- ], Q = i(() => import("./App-cc67c5c1.js")), Y = {
768
+ ], Q = i(() => import("./App-bcaf0e13.js")), Y = {
767
769
  "en-US": {
768
770
  ...E,
769
- ...l["en-US"]
771
+ ...d["en-US"]
770
772
  },
771
773
  "zh-CN": {
772
774
  ...M,
773
- ...l["zh-CN"]
775
+ ...d["zh-CN"]
774
776
  }
775
777
  };
776
778
  export {
package/dist/app.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import "@feedmepos/mf-mdm";
2
- import { F as e, i as F, r as f } from "./app-6da9af48.js";
2
+ import { F as e, i as F, r as f } from "./app-53ec4ba9.js";
3
3
  import "vue";
4
4
  import "@feedmepos/ui-library";
5
5
  import "vue-router";