@feedmepos/mf-settings 0.0.47-beta.3 → 0.0.47-beta.4

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,11 +2,11 @@ var Ir = Object.defineProperty;
2
2
  var Ar = (r, e, t) => e in r ? Ir(r, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[e] = t;
3
3
  var Be = (r, e, t) => (Ar(r, typeof e != "symbol" ? e + "" : e, t), t);
4
4
  import { ref as ne, computed as z, defineComponent as Q, resolveComponent as H, openBlock as F, createBlock as Z, Teleport as Or, createVNode as T, Transition as Sr, withCtx as q, normalizeClass as J, normalizeStyle as Ne, withKeys as Pr, createElementVNode as E, toDisplayString as D, renderSlot as ue, createElementBlock as K, Fragment as se, renderList as me, createCommentVNode as le, createTextVNode as Ce, h as _t, unref as R, watch as Et, onMounted as Tr, onUnmounted as Lr, toRaw as wt, reactive as lt, normalizeProps as Nr, guardReactiveProps as Cr, withModifiers as rt, nextTick as xr, getCurrentInstance as kr, isRef as Rt } from "vue";
5
- import { c as Vr, g as ar, a as ge, b as xe, d as ve, e as Fr, f as jr, h as Ke, i as qe, j as ut, k as ct, l as He, r as ze, m as Mr, u as Ur, n as Dr, o as Gr, p as or, q as Br, _ as Ee, s as Kr, t as qr, v as Hr, w as Xe } from "./app-d7d59b76.js";
5
+ import { c as Vr, g as ar, a as ge, b as xe, d as ve, e as Fr, f as jr, h as Ke, i as qe, j as ut, k as ct, l as He, r as ze, m as Mr, u as Ur, n as Dr, o as Gr, p as or, q as Br, _ as Ee, s as Kr, t as qr, v as Hr, w as Xe } from "./app-2e7e8646.js";
6
6
  import { useCoreStore as fe, useI18n as pe, CustomAttributesForm as zr } from "@feedmepos/mf-common";
7
7
  import { useDialog as ir, useDialogChild as Xr, useSnackbar as dt, useBreakpoints as lr, components as Yr } from "@feedmepos/ui-library";
8
8
  import { _ as ur, r as ce } from "./rules-c9fa22f8.js";
9
- import { D as ft, u as cr, _ as Wr, a as Jr } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-771cf5b0.js";
9
+ import { D as ft, u as cr, _ as Wr, a as Jr } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-65024695.js";
10
10
  import "@feedmepos/mf-mdm";
11
11
  import "vue-router";
12
12
  import "@feedmepos/mf-e-invoice";
@@ -1,7 +1,7 @@
1
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 { p as te, s as w, F as se } from "./app-d7d59b76.js";
4
+ import { p as te, s as w, F as se } from "./app-2e7e8646.js";
5
5
  import { useSnackbar as ne } from "@feedmepos/ui-library";
6
6
  import { useRouter as oe } from "vue-router";
7
7
  import "@feedmepos/mf-mdm";
@@ -2,8 +2,8 @@ var Yg = Object.defineProperty;
2
2
  var Kg = (u, l, c) => l in u ? Yg(u, l, { enumerable: !0, configurable: !0, writable: !0, value: c }) : u[l] = c;
3
3
  var Hi = (u, l, c) => (Kg(u, typeof l != "symbol" ? l + "" : l, c), c);
4
4
  import { defineComponent as hl, ref as Rt, resolveComponent as wt, openBlock as Dt, createElementBlock as Kn, Fragment as Vr, renderSlot as Gf, createVNode as gt, unref as zt, withCtx as Jt, createElementVNode as He, computed as Rn, watch as Vf, withKeys as Hg, toDisplayString as un, renderList as nl, createBlock as Ur, createCommentVNode as rl, h as Su, getCurrentInstance as Wg, withModifiers as Jg } from "vue";
5
- import { x as q, c as V, y as ze, z as Sc, k as Ei, A as Qg, B as zd, C as Yf, j as Gn, D as la, h as Fd, p as Oc, a as Kf, v as Xg, w as C$ } from "./app-d7d59b76.js";
6
- import { d as Zg, _ as hc, u as xg, a as ep } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-771cf5b0.js";
5
+ import { x as q, c as V, y as ze, z as Sc, k as Ei, A as Qg, B as zd, C as Yf, j as Gn, D as la, h as Fd, p as Oc, a as Kf, v as Xg, w as C$ } from "./app-2e7e8646.js";
6
+ import { d as Zg, _ as hc, u as xg, a as ep } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-65024695.js";
7
7
  import { useSnackbar as ml, components as so, useDialogChild as tp, useDialog as Hf, useBreakpoints as np } from "@feedmepos/ui-library";
8
8
  import { useCoreStore as gl, useI18n as Tc } from "@feedmepos/mf-common";
9
9
  import "@feedmepos/mf-mdm";
@@ -1,4 +1,4 @@
1
- import { c as it, g as ot } from "./app-d7d59b76.js";
1
+ import { c as it, g as ot } from "./app-2e7e8646.js";
2
2
  import { defineComponent as K, mergeModels as ut, useModel as ct, computed as N, watchEffect as lt, resolveComponent as z, openBlock as j, createBlock as P, withCtx as G, createVNode as X, createElementBlock as tt, Fragment as ft, renderList as dt, normalizeProps as ht, mergeProps as Q } from "vue";
3
3
  import { useCoreStore as mt } from "@feedmepos/mf-common";
4
4
  import { useSnackbar as $t, useBreakpoints as pt } from "@feedmepos/ui-library";
@@ -27443,7 +27443,7 @@ const A_ = {
27443
27443
  const i = Oa(), o = $i([]), a = yn(() => o.value.filter((z) => z.entity === "restaurant")), d = yn(() => o.value.filter((z) => z.entity === "item"));
27444
27444
  async function g() {
27445
27445
  const z = await A_.readBusiness(i.currentBusiness.value._id);
27446
- o.value = z.attributeSettings || [];
27446
+ o.value = z.attributeSettings || [], i.updateAttributeSettings(o.value);
27447
27447
  }
27448
27448
  async function b(z) {
27449
27449
  const C = Th(o.value), D = C.findIndex((V) => V.entity === z.entity && V.key === z.key);
@@ -34208,7 +34208,7 @@ const B3 = /* @__PURE__ */ ii({
34208
34208
  {
34209
34209
  path: "/business",
34210
34210
  name: "$settings-my-business",
34211
- component: () => import("./Business-79bf8706.js"),
34211
+ component: () => import("./Business-da053cc9.js"),
34212
34212
  meta: {
34213
34213
  i18nKey: "settings.business.title"
34214
34214
  }
@@ -34216,7 +34216,7 @@ const B3 = /* @__PURE__ */ ii({
34216
34216
  {
34217
34217
  path: "/create-business",
34218
34218
  name: "$settings-create-business",
34219
- component: () => import("./CreateBusiness-bf7d7f1a.js"),
34219
+ component: () => import("./CreateBusiness-e8bd3e32.js"),
34220
34220
  meta: {
34221
34221
  hideNavigation: !0
34222
34222
  }
@@ -34224,7 +34224,7 @@ const B3 = /* @__PURE__ */ ii({
34224
34224
  {
34225
34225
  path: "/foodcourt",
34226
34226
  name: "$settings-food-court",
34227
- component: () => import("./FoodCourt-fb055569.js"),
34227
+ component: () => import("./FoodCourt-80c621e8.js"),
34228
34228
  meta: {
34229
34229
  i18nKey: "settings.food_court.list.title"
34230
34230
  }
package/dist/app.js CHANGED
@@ -1,4 +1,4 @@
1
- import { I as g, G as f, E as u, H as x } from "./app-d7d59b76.js";
1
+ import { I as g, G as f, E as u, H as x } from "./app-2e7e8646.js";
2
2
  import "@feedmepos/mf-common";
3
3
  import "@feedmepos/mf-mdm";
4
4
  import "vue";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@feedmepos/mf-settings",
3
- "version": "0.0.47-beta.3",
3
+ "version": "0.0.47-beta.4",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist"
@@ -41,7 +41,7 @@
41
41
  "vue-i18n": "10.0.5",
42
42
  "vuedraggable": "^4.1.0",
43
43
  "lodash": "^4.17.21",
44
- "@feedmepos/mf-common": "^1.14.0-beta.4"
44
+ "@feedmepos/mf-common": "^1.14.0-beta.5"
45
45
  },
46
46
  "devDependencies": {
47
47
  "@rushstack/eslint-patch": "^1.3.3",