@feedmepos/mf-report 5.21.29-beta.5 → 5.21.29-beta.6

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.
@@ -99,7 +99,7 @@ const Ke = ["src"], He = ["src"], it = /* @__PURE__ */ se({
99
99
  }), Ee(() => {
100
100
  g(Qe);
101
101
  }), ue(() => {
102
- console.log("5.21.29-beta.5", !0), window.addEventListener("message", G), window.addEventListener("message", K);
102
+ console.log("5.21.29-beta.6", !0), window.addEventListener("message", G), window.addEventListener("message", K);
103
103
  }), Ce(() => {
104
104
  window.removeEventListener("message", G), window.removeEventListener("message", K), R.$dispose(), P.$dispose();
105
105
  });
@@ -139,7 +139,7 @@ const Ke = ["src"], He = ["src"], it = /* @__PURE__ */ se({
139
139
  v = r.selectedLocationIds;
140
140
  else {
141
141
  const o = C(n.query.locationIds);
142
- v = Array.isArray(o) ? o : void 0;
142
+ v = Array.isArray(o) ? o : [];
143
143
  }
144
144
  let S = n.query.reportId || X;
145
145
  if (De.value.find((o) => o.id === S) || (S = X), S && S !== R.currentReportId && R.updateCurrentReportId(S), e || t) {
@@ -183,6 +183,7 @@ const Ke = ["src"], He = ["src"], it = /* @__PURE__ */ se({
183
183
  query: {
184
184
  ...n.query,
185
185
  country: e,
186
+ restaurantId: void 0,
186
187
  locationIds: void 0,
187
188
  isAllLocation: "true"
188
189
  }
@@ -250,7 +251,7 @@ const Ke = ["src"], He = ["src"], it = /* @__PURE__ */ se({
250
251
  compareEndDate: f.endDate ? u(f.endDate).endOf("day").toISOString() : void 0,
251
252
  timeStart: i.start ? JSON.stringify(i.start) : void 0,
252
253
  timeEnd: i.end ? JSON.stringify(i.end) : void 0,
253
- locationIds: t.length === r.locations.length ? null : t.length > 0 ? JSON.stringify(t) : void 0,
254
+ locationIds: t.length === r.locations.length ? void 0 : t.length > 0 ? JSON.stringify(t) : void 0,
254
255
  isAllLocation: String(t.length === r.locations.length)
255
256
  }, k = JSON.stringify(n.query), A = JSON.stringify(q);
256
257
  k !== A && w.replace({
package/dist/app.js CHANGED
@@ -5710,7 +5710,7 @@ const u = {
5710
5710
  "zh-CN": n,
5711
5711
  "th-TH": c,
5712
5712
  "zh-Hant": p
5713
- }, h = e(() => import("./App-CnZhwWhc.js"));
5713
+ }, h = e(() => import("./App-B9AAccpw.js"));
5714
5714
  export {
5715
5715
  h as FmApp,
5716
5716
  u as i18nMessages,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@feedmepos/mf-report",
3
- "version": "5.21.29-beta.5",
3
+ "version": "5.21.29-beta.6",
4
4
  "files": [
5
5
  "dist"
6
6
  ],