@feedmepos/mf-report 5.35.0 → 5.35.1-beta.0

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.
Files changed (40) hide show
  1. package/dist/{App-Dv36-JBr.js → App-wJ9WSGoD.js} +41 -41
  2. package/dist/{DateRangeSelect-CSuWTBDR.js → DateRangeSelect-DP3kVLFZ.js} +2 -2
  3. package/dist/{Default.vue_vue_type_script_setup_true_lang-BFuav3fL.js → Default.vue_vue_type_script_setup_true_lang-ExZd3iUN.js} +2 -2
  4. package/dist/{DigestListView-lWXR-Yqe.js → DigestListView-DHZ9uWT8.js} +5 -5
  5. package/dist/{DigestReaderView-cKRrj4qw.js → DigestReaderView-GvmR498S.js} +6 -6
  6. package/dist/{DynamicWidget.vue_vue_type_script_setup_true_lang-D0OTyDep.js → DynamicWidget.vue_vue_type_script_setup_true_lang-BMyxEehB.js} +175 -175
  7. package/dist/{GlobalFilterSelect.vue_vue_type_script_setup_true_lang-lFm4G3pA.js → GlobalFilterSelect.vue_vue_type_script_setup_true_lang-MRlI711m.js} +86 -86
  8. package/dist/{InsightView-BO2y0s6E.js → InsightView-BU1hBisp.js} +7 -7
  9. package/dist/{Integration-DZR0sg3Y.js → Integration-DXHSSO_6.js} +4 -4
  10. package/dist/{Integrations-C8IJSs8_.js → Integrations-DShLPU8f.js} +4 -4
  11. package/dist/{Layout-DKE_UPyV.js → Layout-BMTJ5TJW.js} +1 -1
  12. package/dist/{LocationSelect.vue_vue_type_script_setup_true_lang-pKBQdsry.js → LocationSelect.vue_vue_type_script_setup_true_lang-6xAohPSs.js} +3 -3
  13. package/dist/{MenuTab.vue_vue_type_script_setup_true_lang-DsTCV4je.js → MenuTab.vue_vue_type_script_setup_true_lang-XdyA0h5e.js} +5 -5
  14. package/dist/{NavigationTab.vue_vue_type_script_setup_true_lang-uFKb4Unh.js → NavigationTab.vue_vue_type_script_setup_true_lang-Bc5u9ueb.js} +7 -7
  15. package/dist/{OverviewView--6juk8Ny.js → OverviewView-DnD6tsor.js} +6 -6
  16. package/dist/{Report-B7tYzV-u.js → Report-Ojq5zBYw.js} +4 -4
  17. package/dist/{ReportCanvasView-DJZItxK4.js → ReportCanvasView-DqLfg9wu.js} +6 -6
  18. package/dist/{ReportEditor-lP1wy7eF.js → ReportEditor-DsozpAI2.js} +9 -9
  19. package/dist/{ReportView-BFdf3j2m.js → ReportView-DSTwd9Bf.js} +8 -8
  20. package/dist/{ReportViewRoute-D5tZcb3A.js → ReportViewRoute-Cp8cpnbp.js} +2 -2
  21. package/dist/{SelectComponent.vue_vue_type_script_setup_true_lang-Cxx-TQz9.js → SelectComponent.vue_vue_type_script_setup_true_lang-D8f9NgeK.js} +1 -1
  22. package/dist/{Setting-CdOGOX1H.js → Setting-BTUhW6_R.js} +5 -5
  23. package/dist/{Template-CcNz2aVR.js → Template-f9-DqPdH.js} +5 -5
  24. package/dist/TileEditor-D3vwDcLv.js +4197 -0
  25. package/dist/{TilePageStack.vue_vue_type_script_setup_true_lang-D2Tz0EW3.js → TilePageStack.vue_vue_type_script_setup_true_lang-BkBTuFfY.js} +3 -3
  26. package/dist/{TransitionFade-qKsTOksI.js → TransitionFade-io2DbCi9.js} +7 -7
  27. package/dist/_plugin-vue_export-helper-N63MbPK5.js +2905 -0
  28. package/dist/{app-D9WJwZyu.js → app-CKZMopgy.js} +18 -17
  29. package/dist/app.js +1 -1
  30. package/dist/assets/{formatChartData.worker-Bt8turfo.js → formatChartData.worker-CQS_7KcL.js} +26 -23
  31. package/dist/assets/{processTableData.worker-MGb36f8J.js → processTableData.worker-OuexVqV8.js} +26 -23
  32. package/dist/{currency-Dx3wVA1Q.js → currency-Cpemdbbd.js} +1 -1
  33. package/dist/{index-c2QQydke.js → index-B3YkJCSm.js} +27 -24
  34. package/dist/{report-tffVXl4d.js → report-Df6BkcRs.js} +1 -1
  35. package/dist/{useDigestFont-DfORxCFz.js → useDigestFont-BpKzXve9.js} +2 -2
  36. package/dist/{useReportCanvasPicks-D1IdA31H.js → useReportCanvasPicks-CYG3eYe-.js} +4 -4
  37. package/dist/{useRestaurantPermission-CrqMkVed.js → useRestaurantPermission-BAzncDqR.js} +2 -2
  38. package/package.json +2 -2
  39. package/dist/TileEditor-D8QsUytE.js +0 -4183
  40. package/dist/_plugin-vue_export-helper-Bx7s49ra.js +0 -2828
@@ -1,19 +1,19 @@
1
- import { defineComponent as pe, resolveComponent as V, openBlock as C, createBlock as fe, isRef as Ke, unref as d, withCtx as G, createElementVNode as ne, createVNode as X, toDisplayString as se, createTextVNode as Pe, onMounted as ve, watch as z, ref as j, computed as ie, onBeforeMount as Ge, onBeforeUnmount as He, createElementBlock as H, Fragment as We } from "vue";
2
- import { detectLocale as K, useCoreStore as W } from "@feedmepos/mf-common";
3
- import { d as Y, u as Ze, a as ce, b as Ve, c as le, e as Xe, f as Ye, g as Me, r as Z, h as ue, t as et, z as tt, i as ot } from "./app-D9WJwZyu.js";
1
+ import { defineComponent as pe, resolveComponent as Z, openBlock as C, createBlock as fe, isRef as Ke, unref as d, withCtx as P, createElementVNode as ne, createVNode as V, toDisplayString as se, createTextVNode as We, onMounted as ve, watch as z, ref as j, computed as ie, onBeforeMount as Pe, onBeforeUnmount as Ge, createElementBlock as G, Fragment as He } from "vue";
2
+ import { detectLocale as K, useCoreStore as H } from "@feedmepos/mf-common";
3
+ import { d as Y, u as Xe, a as ce, b as Ze, c as le, e as Ve, f as Ye, g as Me, r as X, h as ue, t as et, z as tt, i as ot } from "./app-CKZMopgy.js";
4
4
  import { storeToRefs as N } from "pinia";
5
5
  import { u as at } from "./global-loader-BuxFfehu.js";
6
- import { u as rt, a as nt } from "./report-tffVXl4d.js";
7
- import { u as st, _ as it } from "./NavigationTab.vue_vue_type_script_setup_true_lang-uFKb4Unh.js";
6
+ import { u as rt, a as nt } from "./report-Df6BkcRs.js";
7
+ import { u as st, _ as it } from "./NavigationTab.vue_vue_type_script_setup_true_lang-Bc5u9ueb.js";
8
8
  import { u as de } from "./message-dialog-UoMWOnil.js";
9
- import { u as ct } from "./_plugin-vue_export-helper-Bx7s49ra.js";
9
+ import { u as ct } from "./_plugin-vue_export-helper-N63MbPK5.js";
10
10
  import { useRoute as lt, useRouter as ut } from "vue-router";
11
11
  const dt = { class: "fm-typo-en-body-md-400 text-ellipsis overflow-hidden" }, mt = /* @__PURE__ */ pe({
12
12
  __name: "Dialog",
13
13
  setup(O) {
14
- const { t: u } = ct(), b = de(), { isOpened: R, message: L, title: w } = N(de());
14
+ const { t: u } = ct(), b = de(), { isOpened: R, message: E, title: w } = N(de());
15
15
  return (T, m) => {
16
- const l = V("FmButton"), p = V("FmDialog");
16
+ const l = Z("FmButton"), p = Z("FmDialog");
17
17
  return C(), fe(p, {
18
18
  modelValue: d(R),
19
19
  "onUpdate:modelValue": m[0] || (m[0] = (A) => Ke(R) ? R.value = A : null),
@@ -21,20 +21,20 @@ const dt = { class: "fm-typo-en-body-md-400 text-ellipsis overflow-hidden" }, mt
21
21
  "close-button": !1,
22
22
  "z-index": 3e3
23
23
  }, {
24
- "dialog-header": G(() => [
25
- Pe(se(d(w)), 1)
24
+ "dialog-header": P(() => [
25
+ We(se(d(w)), 1)
26
26
  ]),
27
- default: G(() => [
28
- ne("p", dt, se(d(L)), 1)
27
+ default: P(() => [
28
+ ne("p", dt, se(d(E)), 1)
29
29
  ]),
30
- "dialog-footer": G(() => [
30
+ "dialog-footer": P(() => [
31
31
  m[1] || (m[1] = ne("div", { class: "grow" }, null, -1)),
32
- X(l, {
32
+ V(l, {
33
33
  label: d(u)("report.common.cancel"),
34
34
  variant: "tertiary",
35
35
  onClick: d(b).dismiss
36
36
  }, null, 8, ["label", "onClick"]),
37
- X(l, {
37
+ V(l, {
38
38
  label: d(u)("report.common.confirm"),
39
39
  onClick: d(b).confirm
40
40
  }, null, 8, ["label", "onClick"])
@@ -66,20 +66,20 @@ Y.locale(K() === "zh-CN" ? "zh-cn" : "en");
66
66
  const ft = ["src"], vt = ["src"], bt = /* @__PURE__ */ pe({
67
67
  __name: "App",
68
68
  setup(O) {
69
- const { scope: u, businessId: b, isFoodCourt: R, token: L, country: w } = N(Ze()), {
69
+ const { scope: u, businessId: b, isFoodCourt: R, token: E, country: w } = N(Xe()), {
70
70
  sessionUser: T,
71
71
  currentBusiness: m,
72
72
  currentFoodCourt: l,
73
73
  currentContextType: p,
74
74
  currentCountry: A,
75
75
  registerSidebarComponent: ge
76
- } = W(), {
76
+ } = H(), {
77
77
  getRestaurantAndWarehouse: ye,
78
78
  getBusinessSetting: Se,
79
79
  beginBusinessLoad: De,
80
80
  completeBusinessLoad: he,
81
81
  resetTimezoneContext: Ie
82
- } = ce(), _e = Ve(), { getFeatureFlags: Re } = _e, { version: S } = N(le()), { getSettings: Le } = Xe(), { loadHasDigest: Ee } = Ye(), { promptLoader: be } = at(), o = lt(), $ = ut(), k = rt(), M = st(), n = ce(), B = le(), { suppressReportRouteSync: F } = N(B), { getReports: we, getOverviewReport: Ae, getReportConfig: ke, currentReportId: ee } = k, { currentReportId: qe, reports: Ce } = N(k), { getSchema: ze } = nt(), { fetchSchedules: Ne } = M, { init: Oe } = Me(), P = j("v5"), x = j(!1), J = j(!0), Te = ie(() => `https://portal-v1.feedme.cc/b/${b.value}/report/CLOSE_UP?showHeader=false&country=${w.value.toUpperCase()}&menuOption=business-report&token=${L.value}&v2=true&reportV5Button=true`), $e = ie(() => `https://report-v4.feedme.cc?businessId=${b.value}&country=${w.value}&token=${L.value}&reportV3Button=true`);
82
+ } = ce(), _e = Ze(), { getFeatureFlags: Re } = _e, { version: S } = N(le()), { getSettings: Ee } = Ve(), { loadHasDigest: Le } = Ye(), { promptLoader: be } = at(), o = lt(), $ = ut(), k = rt(), M = st(), n = ce(), B = le(), { suppressReportRouteSync: F } = N(B), { getReports: we, getOverviewReport: Ae, getReportConfig: ke, currentReportId: ee } = k, { currentReportId: qe, reports: Ce } = N(k), { getSchema: ze } = nt(), { fetchSchedules: Ne } = M, { init: Oe } = Me(), W = j("v5"), x = j(!1), J = j(!0), Te = ie(() => `https://portal-v1.feedmedev.cc/b/${b.value}/report/CLOSE_UP?showHeader=false&country=${w.value.toUpperCase()}&menuOption=business-report&token=${E.value}&v2=true&reportV5Button=true`), $e = ie(() => `https://report-v4.feedmedev.cc?businessId=${b.value}&country=${w.value}&token=${E.value}&reportV3Button=true`);
83
83
  function Be() {
84
84
  var t, e;
85
85
  return (p == null ? void 0 : p.value) === "foodCourt" ? (t = l == null ? void 0 : l.value) != null && t._id ? { type: "foodCourt", id: l.value._id } : null : (e = m.value) != null && e.id ? { type: "business", id: m.value.id } : null;
@@ -95,7 +95,7 @@ const ft = ["src"], vt = ["src"], bt = /* @__PURE__ */ pe({
95
95
  () => {
96
96
  var e;
97
97
  const t = Be();
98
- t && T.value && A.value && (Z(u.value) !== Z(t) && (u.value = t), L.value = ((e = T.value) == null ? void 0 : e.token) ?? "", w.value = A.value ?? "");
98
+ t && T.value && A.value && (X(u.value) !== X(t) && (u.value = t), E.value = ((e = T.value) == null ? void 0 : e.token) ?? "", w.value = A.value ?? "");
99
99
  },
100
100
  { immediate: !0 }
101
101
  );
@@ -103,7 +103,7 @@ const ft = ["src"], vt = ["src"], bt = /* @__PURE__ */ pe({
103
103
  if (typeof t.data == "string")
104
104
  try {
105
105
  const e = JSON.parse(t.data);
106
- (e == null ? void 0 : e.token) !== "" && (e == null ? void 0 : e.token) !== void 0 && (L.value = e.token);
106
+ (e == null ? void 0 : e.token) !== "" && (e == null ? void 0 : e.token) !== void 0 && (E.value = e.token);
107
107
  } catch (e) {
108
108
  console.error(e);
109
109
  }
@@ -112,18 +112,18 @@ const ft = ["src"], vt = ["src"], bt = /* @__PURE__ */ pe({
112
112
  if (typeof t.data == "string")
113
113
  try {
114
114
  const e = JSON.parse(t.data);
115
- (e == null ? void 0 : e.v5) === !0 ? S.value = P.value : (e == null ? void 0 : e.v3) === !0 && (S.value = "v3");
115
+ (e == null ? void 0 : e.v5) === !0 ? S.value = W.value : (e == null ? void 0 : e.v3) === !0 && (S.value = "v3");
116
116
  } catch (e) {
117
117
  console.error(e);
118
118
  }
119
119
  }
120
120
  z(S, () => {
121
- ["v3", "v4"].includes(S.value) ? W().hideSidebarToggle(!0) : W().hideSidebarToggle(!1);
122
- }), Ge(() => {
121
+ ["v3", "v4"].includes(S.value) ? H().hideSidebarToggle(!0) : H().hideSidebarToggle(!1);
122
+ }), Pe(() => {
123
123
  ge(it);
124
124
  }), ve(() => {
125
- console.log("5.35.0", !0), window.addEventListener("message", te), window.addEventListener("message", oe);
126
- }), He(() => {
125
+ console.log("5.35.1-beta.0", !0), window.addEventListener("message", te), window.addEventListener("message", oe);
126
+ }), Ge(() => {
127
127
  window.removeEventListener("message", te), window.removeEventListener("message", oe), k.$dispose(), M.$dispose();
128
128
  });
129
129
  function Fe(t) {
@@ -160,7 +160,7 @@ const ft = ["src"], vt = ["src"], bt = /* @__PURE__ */ pe({
160
160
  return e === "start" ? tt(a, r) : ot(a, r);
161
161
  }
162
162
  function xe(t = o.query) {
163
- const e = t, r = n.timezone, a = f(e.startDate, "start", r), v = f(e.endDate, "end", r), i = typeof e.timeStart == "string", D = typeof e.timeEnd == "string", h = Q(e.timeStart), I = Q(e.timeEnd), q = ae(h) ? h : null, g = ae(I) ? I : null, E = f(e.compareStartDate, "start", r), c = f(e.compareEndDate, "end", r), U = e.isAllLocation === "true" || e.isAllLocation === void 0;
163
+ const e = t, r = n.timezone, a = f(e.startDate, "start", r), v = f(e.endDate, "end", r), i = typeof e.timeStart == "string", D = typeof e.timeEnd == "string", h = Q(e.timeStart), I = Q(e.timeEnd), q = ae(h) ? h : null, g = ae(I) ? I : null, L = f(e.compareStartDate, "start", r), c = f(e.compareEndDate, "end", r), U = e.isAllLocation === "true" || e.isAllLocation === void 0;
164
164
  let y = [];
165
165
  if (U)
166
166
  y = n.selectedLocationIds ?? [];
@@ -177,10 +177,10 @@ const ft = ["src"], vt = ["src"], bt = /* @__PURE__ */ pe({
177
177
  const s = n.timeRange;
178
178
  (s.start !== q || s.end !== g) && n.setTimeRange({ start: q, end: g });
179
179
  }
180
- if (E || c) {
180
+ if (L || c) {
181
181
  const s = n.compareDateRange;
182
- (s.startDate !== E || s.endDate !== c) && n.setCompareDateRange({
183
- startDate: E,
182
+ (s.startDate !== L || s.endDate !== c) && n.setCompareDateRange({
183
+ startDate: L,
184
184
  endDate: c
185
185
  });
186
186
  }
@@ -202,7 +202,7 @@ const ft = ["src"], vt = ["src"], bt = /* @__PURE__ */ pe({
202
202
  };
203
203
  }
204
204
  return z(
205
- () => Z(u.value),
205
+ () => X(u.value),
206
206
  async (t, e) => {
207
207
  if (t !== "") {
208
208
  x.value = !1, De(t);
@@ -221,7 +221,7 @@ const ft = ["src"], vt = ["src"], bt = /* @__PURE__ */ pe({
221
221
  startDate: I,
222
222
  endDate: q,
223
223
  timeStart: g,
224
- timeEnd: E,
224
+ timeEnd: L,
225
225
  compareStartDate: c,
226
226
  compareEndDate: U,
227
227
  ...y
@@ -237,13 +237,13 @@ const ft = ["src"], vt = ["src"], bt = /* @__PURE__ */ pe({
237
237
  }
238
238
  F.value !== void 0 && (F.value = !0), await be(async () => {
239
239
  await Oe({
240
- apiKey: "6GhcttsJ9Rj9cTevcdrpin",
240
+ apiKey: "MaGoXrEWuEJNpWgKTqseee",
241
241
  url: "https://flag.feedme.farm/api/v1/",
242
242
  enableAnalytics: !1,
243
243
  cacheFlags: !1
244
244
  });
245
245
  const h = await ke();
246
- P.value = h.version, S.value = P.value, await Re(), o.name === "template" && !B.canAccessTemplate() && await $.replace({
246
+ W.value = h.version, S.value = W.value, await Re(), o.name === "template" && !B.canAccessTemplate() && await $.replace({
247
247
  name: "reports",
248
248
  query: o.query
249
249
  });
@@ -262,9 +262,9 @@ const ft = ["src"], vt = ["src"], bt = /* @__PURE__ */ pe({
262
262
  })()
263
263
  )
264
264
  ];
265
- I && g.push(Ae()), q && !R.value && g.push(Le()), R.value || g.push(Ee());
266
- const E = await Promise.allSettled(g);
267
- for (const c of E)
265
+ I && g.push(Ae()), q && !R.value && g.push(Ee()), R.value || g.push(Le());
266
+ const L = await Promise.allSettled(g);
267
+ for (const c of L)
268
268
  c.status === "rejected" && console.log(c.reason);
269
269
  if (await Se(), xe(i), D) {
270
270
  const {
@@ -336,15 +336,15 @@ const ft = ["src"], vt = ["src"], bt = /* @__PURE__ */ pe({
336
336
  },
337
337
  { deep: !0 }
338
338
  ), pt(), (t, e) => {
339
- const r = V("router-view");
340
- return C(), H(We, null, [
341
- X(mt),
342
- d(S) === "v3" ? (C(), H("iframe", {
339
+ const r = Z("router-view");
340
+ return C(), G(He, null, [
341
+ V(mt),
342
+ d(S) === "v3" ? (C(), G("iframe", {
343
343
  key: 0,
344
344
  title: "Report v3",
345
345
  class: "bg-white h-full w-full",
346
346
  src: Te.value
347
- }, null, 8, ft)) : d(S) === "v4" ? (C(), H("iframe", {
347
+ }, null, 8, ft)) : d(S) === "v4" ? (C(), G("iframe", {
348
348
  key: 1,
349
349
  title: "Report v4",
350
350
  class: "bg-white h-full w-full",
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as ne, resolveComponent as A, openBlock as C, createBlock as b, normalizeClass as fe, withCtx as U, createCommentVNode as F, createElementVNode as I, toDisplayString as De, renderSlot as ye, useModel as L, ref as P, computed as z, watch as M, nextTick as K, onMounted as ve, onBeforeUnmount as pe, createElementBlock as ge, unref as $, createVNode as Z, mergeModels as J } from "vue";
2
- import { d as i, a as he, i as Q, z as X, C as E, s as Ce, t as be } from "./app-D9WJwZyu.js";
2
+ import { d as i, a as he, i as Q, z as X, C as E, s as Ce, t as be } from "./app-CKZMopgy.js";
3
3
  import { detectLocale as _ } from "@feedmepos/mf-common";
4
- import { u as Re, _ as Me } from "./_plugin-vue_export-helper-Bx7s49ra.js";
4
+ import { u as Re, _ as Me } from "./_plugin-vue_export-helper-N63MbPK5.js";
5
5
  import { storeToRefs as Ye } from "pinia";
6
6
  import { useSnackbar as $e } from "@feedmepos/ui-library";
7
7
  var S = /* @__PURE__ */ ((e) => (e.Year = "YEAR", e.Month = "MONTH", e.Week = "WEEK", e.Day = "DAY", e))(S || {}), Se = /* @__PURE__ */ ((e) => (e.Yesterday = "YESTERDAY", e.Today = "TODAY", e))(Se || {});
@@ -1,10 +1,10 @@
1
1
  import { defineComponent as u, computed as p, resolveComponent as f, openBlock as t, createElementBlock as r, normalizeStyle as n, unref as e, normalizeClass as d, createBlock as y, createCommentVNode as _, createVNode as h, createElementVNode as k, toDisplayString as g, renderSlot as x } from "vue";
2
- import { _ as v } from "./NavigationTab.vue_vue_type_script_setup_true_lang-uFKb4Unh.js";
2
+ import { _ as v } from "./NavigationTab.vue_vue_type_script_setup_true_lang-Bc5u9ueb.js";
3
3
  import { useBreakpoints as b } from "@feedmepos/ui-library";
4
4
  import { storeToRefs as C } from "pinia";
5
5
  import { u as q } from "./global-loader-BuxFfehu.js";
6
6
  import { useRoute as w } from "vue-router";
7
- import { u as B } from "./_plugin-vue_export-helper-Bx7s49ra.js";
7
+ import { u as B } from "./_plugin-vue_export-helper-N63MbPK5.js";
8
8
  const $ = {
9
9
  key: 1,
10
10
  class: "flex gap-24 flex-col h-screen w-screen justify-center items-center"
@@ -2,13 +2,13 @@ import { defineComponent as _t, ref as z, watch as Ft, onBeforeUnmount as Jt, co
2
2
  import { storeToRefs as oe } from "pinia";
3
3
  import { useI18n as St } from "@feedmepos/mf-common";
4
4
  import { useBreakpoints as Yt } from "@feedmepos/ui-library";
5
- import { _ as re } from "./Default.vue_vue_type_script_setup_true_lang-BFuav3fL.js";
6
- import { _ as jt } from "./SelectComponent.vue_vue_type_script_setup_true_lang-Cxx-TQz9.js";
5
+ import { _ as re } from "./Default.vue_vue_type_script_setup_true_lang-ExZd3iUN.js";
6
+ import { _ as jt } from "./SelectComponent.vue_vue_type_script_setup_true_lang-D8f9NgeK.js";
7
7
  import { useRoute as le } from "vue-router";
8
- import { c as ie, d as Kt, u as ce, a as ue, n as de, _ as he, D as fe } from "./useDigestFont-DfORxCFz.js";
8
+ import { c as ie, d as Kt, u as ce, a as ue, n as de, _ as he, D as fe } from "./useDigestFont-BpKzXve9.js";
9
9
  import { l as me } from "./report-canvas-libs-CNx4fuqd.js";
10
- import { _ as bt } from "./_plugin-vue_export-helper-Bx7s49ra.js";
11
- import { j as pe, f as ge, A as ve, k as Ct, l as ye, m as xe } from "./app-D9WJwZyu.js";
10
+ import { _ as bt } from "./_plugin-vue_export-helper-N63MbPK5.js";
11
+ import { j as pe, f as ge, A as ve, k as Ct, l as ye, m as xe } from "./app-CKZMopgy.js";
12
12
  const W = () => ({ rects: [], circles: [], paths: [] }), Q = (e) => e.x1 - e.x0, tt = (e) => e.y1 - e.y0, S = (e) => e.toFixed(1), kt = [0.14, 0.32, 0.54, 0.78, 1], wt = (e) => kt[Math.min(kt.length - 1, Math.floor(Math.max(0, Math.min(1, e)) * kt.length))];
13
13
  function Zt(e) {
14
14
  const t = Math.min(0, ...e), n = Math.max(0, ...e);
@@ -2,12 +2,12 @@ import { defineComponent as ue, ref as f, watch as Q, onMounted as pe, nextTick
2
2
  import { useRoute as nt, useRouter as it } from "vue-router";
3
3
  import { useI18n as fe } from "@feedmepos/mf-common";
4
4
  import { useBreakpoints as lt } from "@feedmepos/ui-library";
5
- import { _ as ct } from "./Default.vue_vue_type_script_setup_true_lang-BFuav3fL.js";
6
- import { _ as ce } from "./SelectComponent.vue_vue_type_script_setup_true_lang-Cxx-TQz9.js";
7
- import { u as dt, a as ut, R as pt, b as ft, c as mt, d as vt, e as gt, f as ht, g as M } from "./useReportCanvasPicks-D1IdA31H.js";
8
- import { b as kt, d as yt, a as wt, _ as bt, D as _t } from "./useDigestFont-DfORxCFz.js";
9
- import { f as xt, n as Ct, o as St, A as de } from "./app-D9WJwZyu.js";
10
- import { _ as Vt } from "./_plugin-vue_export-helper-Bx7s49ra.js";
5
+ import { _ as ct } from "./Default.vue_vue_type_script_setup_true_lang-ExZd3iUN.js";
6
+ import { _ as ce } from "./SelectComponent.vue_vue_type_script_setup_true_lang-D8f9NgeK.js";
7
+ import { u as dt, a as ut, R as pt, b as ft, c as mt, d as vt, e as gt, f as ht, g as M } from "./useReportCanvasPicks-CYG3eYe-.js";
8
+ import { b as kt, d as yt, a as wt, _ as bt, D as _t } from "./useDigestFont-BpKzXve9.js";
9
+ import { f as xt, n as Ct, o as St, A as de } from "./app-CKZMopgy.js";
10
+ import { _ as Vt } from "./_plugin-vue_export-helper-N63MbPK5.js";
11
11
  const Rt = { class: "relative flex min-h-0 grow flex-col" }, Et = ["srcdoc", "title"], Pt = {
12
12
  key: 0,
13
13
  class: "pointer-events-none absolute inset-0 flex items-center justify-center",