@feedmepos/mf-common 1.18.0-beta.1 → 1.18.0-beta.3

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,5 +1,5 @@
1
1
  import { defineComponent as _, computed as m, resolveComponent as v, openBlock as c, createElementBlock as p, createVNode as k, toDisplayString as A, unref as N, h as V } from "vue";
2
- import { n as S, u as C } from "./app-dadf0300.js";
2
+ import { n as S, u as C } from "./app-7fdf5a55.js";
3
3
  import { components as O } from "@feedmepos/ui-library";
4
4
  import { c as w } from "./object-27ce045b.js";
5
5
  import "pinia";
@@ -2,7 +2,7 @@ import { ref as lt, computed as Re, defineComponent as si, onMounted as li, watc
2
2
  import { x as Mn, v as ci } from "./app-f61631fd.js";
3
3
  import { FmButtonVariant as Un } from "@feedmepos/ui-library";
4
4
  import { c as er } from "./object-27ce045b.js";
5
- import { c as on, l as fe, e as Nt, a as ve, d as Ze, b as Ke, f as di, u as En, g as pi, n as hi } from "./app-dadf0300.js";
5
+ import { c as on, l as fe, e as Nt, a as ve, d as Ze, b as Ke, f as di, u as En, g as pi, n as hi } from "./app-7fdf5a55.js";
6
6
  import { defineStore as fi } from "pinia";
7
7
  import "vue-router";
8
8
  var $t = {};
@@ -1,7 +1,7 @@
1
1
  import { ref as C, computed as i, defineComponent as J, mergeModels as X, useModel as Y, watch as Z, resolveComponent as x, openBlock as v, createElementBlock as h, createElementVNode as k, createVNode as m, withCtx as O, normalizeClass as ee, toDisplayString as le, createCommentVNode as B, withModifiers as E, unref as y, Fragment as z, renderList as $, createBlock as D, renderSlot as te, nextTick as ae } from "vue";
2
2
  import { x as L, v as ne } from "./app-f61631fd.js";
3
3
  import { storeToRefs as re } from "pinia";
4
- import { n as ue, u as oe } from "./app-dadf0300.js";
4
+ import { n as ue, u as oe } from "./app-7fdf5a55.js";
5
5
  import "@feedmepos/ui-library";
6
6
  import "vue-router";
7
7
  function se(p, t) {
@@ -38442,7 +38442,7 @@ function OM(d) {
38442
38442
  }
38443
38443
  const JR = "fm-post-message-request", ao = "fm-post-message-response";
38444
38444
  function wM({
38445
- window: d,
38445
+ targetWindow: d,
38446
38446
  methodName: o,
38447
38447
  params: i = [],
38448
38448
  timeout: N
@@ -38461,12 +38461,12 @@ function wM({
38461
38461
  ), new Promise((h, p) => {
38462
38462
  const E = (G) => {
38463
38463
  var B, g;
38464
- G.data.type === ao && ((B = G.data) == null ? void 0 : B.messageId) === Z && (clearTimeout(J), d.removeEventListener("message", E), h((g = G.data) == null ? void 0 : g.response));
38464
+ G.data.type === ao && ((B = G.data) == null ? void 0 : B.messageId) === Z && (clearTimeout(J), window.removeEventListener("message", E), h((g = G.data) == null ? void 0 : g.response));
38465
38465
  };
38466
- d.addEventListener("message", E);
38466
+ window.addEventListener("message", E);
38467
38467
  let J;
38468
38468
  N && (J = setTimeout(() => {
38469
- d.removeEventListener("message", E), p(new Error(`FeedMeAuth ${o} timed out`));
38469
+ window.removeEventListener("message", E), p(new Error(`FeedMeAuth ${o} timed out`));
38470
38470
  }, N));
38471
38471
  });
38472
38472
  }
@@ -38531,10 +38531,10 @@ function AM() {
38531
38531
  return localStorage.getItem("locale") !== i && localStorage.setItem("locale", i), i;
38532
38532
  }
38533
38533
  const PM = Vo(
38534
- () => import("./CustomAttributesForm-cca869bb.js")
38534
+ () => import("./CustomAttributesForm-786cf090.js")
38535
38535
  ), _M = Vo(
38536
- () => import("./RestaurantSelector-d633f87c.js")
38537
- ), KM = Vo(() => import("./ItemSelector-7c0181b8.js"));
38536
+ () => import("./RestaurantSelector-b1ac705f.js")
38537
+ ), KM = Vo(() => import("./ItemSelector-113424ef.js"));
38538
38538
  export {
38539
38539
  XM as A,
38540
38540
  xM as B,
package/dist/app.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import "vue";
2
- import { k as l, C as n, x as r, y as u, F as S, _ as m, m as M, I as d, P as p, r as P, R as h, g as c, z as E, h as g, j as C, i as F, v as _, B as A, q as I, o as O, p as R, A as b, s as w, D as y, u as B, n as L, t as T, w as v } from "./app-dadf0300.js";
2
+ import { k as l, C as n, x as r, y as u, F as S, _ as m, m as M, I as d, P as p, r as P, R as h, g as c, z as E, h as g, j as C, i as F, v as _, B as A, q as I, o as O, p as R, A as b, s as w, D as y, u as B, n as L, t as T, w as v } from "./app-7fdf5a55.js";
3
3
  import "pinia";
4
4
  import "vue-router";
5
5
  import "@feedmepos/ui-library";