@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.
- package/dist/{App-Dv36-JBr.js → App-wJ9WSGoD.js} +41 -41
- package/dist/{DateRangeSelect-CSuWTBDR.js → DateRangeSelect-DP3kVLFZ.js} +2 -2
- package/dist/{Default.vue_vue_type_script_setup_true_lang-BFuav3fL.js → Default.vue_vue_type_script_setup_true_lang-ExZd3iUN.js} +2 -2
- package/dist/{DigestListView-lWXR-Yqe.js → DigestListView-DHZ9uWT8.js} +5 -5
- package/dist/{DigestReaderView-cKRrj4qw.js → DigestReaderView-GvmR498S.js} +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
- package/dist/{GlobalFilterSelect.vue_vue_type_script_setup_true_lang-lFm4G3pA.js → GlobalFilterSelect.vue_vue_type_script_setup_true_lang-MRlI711m.js} +86 -86
- package/dist/{InsightView-BO2y0s6E.js → InsightView-BU1hBisp.js} +7 -7
- package/dist/{Integration-DZR0sg3Y.js → Integration-DXHSSO_6.js} +4 -4
- package/dist/{Integrations-C8IJSs8_.js → Integrations-DShLPU8f.js} +4 -4
- package/dist/{Layout-DKE_UPyV.js → Layout-BMTJ5TJW.js} +1 -1
- package/dist/{LocationSelect.vue_vue_type_script_setup_true_lang-pKBQdsry.js → LocationSelect.vue_vue_type_script_setup_true_lang-6xAohPSs.js} +3 -3
- package/dist/{MenuTab.vue_vue_type_script_setup_true_lang-DsTCV4je.js → MenuTab.vue_vue_type_script_setup_true_lang-XdyA0h5e.js} +5 -5
- package/dist/{NavigationTab.vue_vue_type_script_setup_true_lang-uFKb4Unh.js → NavigationTab.vue_vue_type_script_setup_true_lang-Bc5u9ueb.js} +7 -7
- package/dist/{OverviewView--6juk8Ny.js → OverviewView-DnD6tsor.js} +6 -6
- package/dist/{Report-B7tYzV-u.js → Report-Ojq5zBYw.js} +4 -4
- package/dist/{ReportCanvasView-DJZItxK4.js → ReportCanvasView-DqLfg9wu.js} +6 -6
- package/dist/{ReportEditor-lP1wy7eF.js → ReportEditor-DsozpAI2.js} +9 -9
- package/dist/{ReportView-BFdf3j2m.js → ReportView-DSTwd9Bf.js} +8 -8
- package/dist/{ReportViewRoute-D5tZcb3A.js → ReportViewRoute-Cp8cpnbp.js} +2 -2
- 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
- package/dist/{Setting-CdOGOX1H.js → Setting-BTUhW6_R.js} +5 -5
- package/dist/{Template-CcNz2aVR.js → Template-f9-DqPdH.js} +5 -5
- package/dist/TileEditor-D3vwDcLv.js +4197 -0
- package/dist/{TilePageStack.vue_vue_type_script_setup_true_lang-D2Tz0EW3.js → TilePageStack.vue_vue_type_script_setup_true_lang-BkBTuFfY.js} +3 -3
- package/dist/{TransitionFade-qKsTOksI.js → TransitionFade-io2DbCi9.js} +7 -7
- package/dist/_plugin-vue_export-helper-N63MbPK5.js +2905 -0
- package/dist/{app-D9WJwZyu.js → app-CKZMopgy.js} +18 -17
- package/dist/app.js +1 -1
- package/dist/assets/{formatChartData.worker-Bt8turfo.js → formatChartData.worker-CQS_7KcL.js} +26 -23
- package/dist/assets/{processTableData.worker-MGb36f8J.js → processTableData.worker-OuexVqV8.js} +26 -23
- package/dist/{currency-Dx3wVA1Q.js → currency-Cpemdbbd.js} +1 -1
- package/dist/{index-c2QQydke.js → index-B3YkJCSm.js} +27 -24
- package/dist/{report-tffVXl4d.js → report-Df6BkcRs.js} +1 -1
- package/dist/{useDigestFont-DfORxCFz.js → useDigestFont-BpKzXve9.js} +2 -2
- package/dist/{useReportCanvasPicks-D1IdA31H.js → useReportCanvasPicks-CYG3eYe-.js} +4 -4
- package/dist/{useRestaurantPermission-CrqMkVed.js → useRestaurantPermission-BAzncDqR.js} +2 -2
- package/package.json +2 -2
- package/dist/TileEditor-D8QsUytE.js +0 -4183
- package/dist/_plugin-vue_export-helper-Bx7s49ra.js +0 -2828
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { defineComponent as pe, resolveComponent as
|
|
2
|
-
import { detectLocale as K, useCoreStore as
|
|
3
|
-
import { d as Y, u as
|
|
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-
|
|
7
|
-
import { u as st, _ as it } from "./NavigationTab.vue_vue_type_script_setup_true_lang-
|
|
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-
|
|
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:
|
|
14
|
+
const { t: u } = ct(), b = de(), { isOpened: R, message: E, title: w } = N(de());
|
|
15
15
|
return (T, m) => {
|
|
16
|
-
const l =
|
|
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":
|
|
25
|
-
|
|
24
|
+
"dialog-header": P(() => [
|
|
25
|
+
We(se(d(w)), 1)
|
|
26
26
|
]),
|
|
27
|
-
default:
|
|
28
|
-
ne("p", dt, se(d(
|
|
27
|
+
default: P(() => [
|
|
28
|
+
ne("p", dt, se(d(E)), 1)
|
|
29
29
|
]),
|
|
30
|
-
"dialog-footer":
|
|
30
|
+
"dialog-footer": P(() => [
|
|
31
31
|
m[1] || (m[1] = ne("div", { class: "grow" }, null, -1)),
|
|
32
|
-
|
|
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
|
-
|
|
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:
|
|
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
|
-
} =
|
|
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 =
|
|
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 && (
|
|
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 && (
|
|
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 =
|
|
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) ?
|
|
122
|
-
}),
|
|
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
|
-
}),
|
|
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,
|
|
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 (
|
|
180
|
+
if (L || c) {
|
|
181
181
|
const s = n.compareDateRange;
|
|
182
|
-
(s.startDate !==
|
|
183
|
-
startDate:
|
|
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
|
-
() =>
|
|
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:
|
|
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: "
|
|
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
|
-
|
|
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(
|
|
266
|
-
const
|
|
267
|
-
for (const c of
|
|
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 =
|
|
340
|
-
return C(),
|
|
341
|
-
|
|
342
|
-
d(S) === "v3" ? (C(),
|
|
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(),
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
6
|
-
import { _ as jt } from "./SelectComponent.vue_vue_type_script_setup_true_lang-
|
|
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-
|
|
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-
|
|
11
|
-
import { j as pe, f as ge, A as ve, k as Ct, l as ye, m as xe } from "./app-
|
|
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-
|
|
6
|
-
import { _ as ce } from "./SelectComponent.vue_vue_type_script_setup_true_lang-
|
|
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-
|
|
8
|
-
import { b as kt, d as yt, a as wt, _ as bt, D as _t } from "./useDigestFont-
|
|
9
|
-
import { f as xt, n as Ct, o as St, A as de } from "./app-
|
|
10
|
-
import { _ as Vt } from "./_plugin-vue_export-helper-
|
|
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",
|