@feedmepos/mf-common 1.18.0-beta.1 → 1.18.0-beta.2
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.
- package/dist/{CustomAttributesForm-cca869bb.js → CustomAttributesForm-9cf66d0e.js} +1 -1
- package/dist/{ItemSelector-7c0181b8.js → ItemSelector-37f89aaa.js} +1 -1
- package/dist/{RestaurantSelector-d633f87c.js → RestaurantSelector-74a93db8.js} +1 -1
- package/dist/{app-dadf0300.js → app-987c1411.js} +8 -8
- package/dist/app.js +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/utils/postMessageMethodCall.d.ts +2 -2
- package/dist/utils/postMessageMethodCall.d.ts.map +1 -1
- package/dist/vite-preset.d.ts.map +1 -1
- package/dist/vite-preset.js +168 -14
- package/package.json +1 -1
- package/dist/multipart-parser-1e60b03e.js +0 -207
- package/dist/vite-preset-62104d2c.js +0 -3978
@@ -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-
|
2
|
+
import { n as S, u as C } from "./app-987c1411.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-
|
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-987c1411.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-
|
4
|
+
import { n as ue, u as oe } from "./app-987c1411.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
|
-
|
38445
|
+
targetWindow: d,
|
38446
38446
|
methodName: o,
|
38447
38447
|
params: i = [],
|
38448
38448
|
timeout: N
|
@@ -38450,7 +38450,7 @@ function wM({
|
|
38450
38450
|
if (!d)
|
38451
38451
|
throw new Error("Target window not exist.");
|
38452
38452
|
const Z = String(Math.random());
|
38453
|
-
return
|
38453
|
+
return window.postMessage(
|
38454
38454
|
{
|
38455
38455
|
type: JR,
|
38456
38456
|
messageId: Z,
|
@@ -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),
|
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
|
-
|
38466
|
+
window.addEventListener("message", E);
|
38467
38467
|
let J;
|
38468
38468
|
N && (J = setTimeout(() => {
|
38469
|
-
|
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-
|
38534
|
+
() => import("./CustomAttributesForm-9cf66d0e.js")
|
38535
38535
|
), _M = Vo(
|
38536
|
-
() => import("./RestaurantSelector-
|
38537
|
-
), KM = Vo(() => import("./ItemSelector-
|
38536
|
+
() => import("./RestaurantSelector-74a93db8.js")
|
38537
|
+
), KM = Vo(() => import("./ItemSelector-37f89aaa.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-
|
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-987c1411.js";
|
3
3
|
import "pinia";
|
4
4
|
import "vue-router";
|
5
5
|
import "@feedmepos/ui-library";
|