@feedmepos/mf-report 5.22.1-remy.1 → 5.22.1-remy.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/{App-cuHcpcZw.js → App-DllSHrhi.js} +10 -10
- package/dist/BaseDialog.vue_vue_type_script_setup_true_lang-BqaTjSqX.js +315 -0
- package/dist/{DateRangeSelect.vue_vue_type_script_setup_true_lang-cfshXMB2.js → DateRangeSelect.vue_vue_type_script_setup_true_lang-DMnXUzDy.js} +37 -36
- package/dist/{Default.vue_vue_type_script_setup_true_lang-BhMWXLug.js → Default.vue_vue_type_script_setup_true_lang-Da4Qj31I.js} +12 -11
- package/dist/{FilterSelector.vue_vue_type_script_setup_true_lang-fzO5gzwh.js → FilterSelector.vue_vue_type_script_setup_true_lang-CrDNlz99.js} +236 -235
- package/dist/{InsightView-DJJJmFkl.js → InsightView-D_V8GCdN.js} +17 -16
- package/dist/{Integration-D93eQCHy.js → Integration-F1OWPe2v.js} +5 -4
- package/dist/{Integrations-jn20KmcD.js → Integrations-6h3Ynyhx.js} +28 -27
- package/dist/{Layout-B1jaac85.js → Layout-D4Hl2RVc.js} +1 -1
- package/dist/{MenuTab.vue_vue_type_script_setup_true_lang-BrCMbeEl.js → MenuTab.vue_vue_type_script_setup_true_lang-BpSxzEVb.js} +9 -9
- package/dist/{NavigationTab.vue_vue_type_script_setup_true_lang-BZVeEoDt.js → NavigationTab.vue_vue_type_script_setup_true_lang-DCSjuXmi.js} +98 -97
- package/dist/{NoData.vue_vue_type_script_setup_true_lang-BUoYdn5S.js → NoData.vue_vue_type_script_setup_true_lang-CW6oZEnc.js} +1 -1
- package/dist/{OverviewView-Cuzw4aLB.js → OverviewView-BAhRRNeA.js} +16 -16
- package/dist/{Report-P_a1NjPi.js → Report-MYVRo7SL.js} +8 -9
- package/dist/{ReportEditor-CkNtAVi9.js → ReportEditor-DgVHv5lv.js} +9 -8
- package/dist/{ReportView-BiF6T_r0.js → ReportView-CI-bWx1T.js} +12 -12
- package/dist/{SelectComponent.vue_vue_type_script_setup_true_lang-B2oCOTUH.js → SelectComponent.vue_vue_type_script_setup_true_lang-CiT09OeD.js} +1 -1
- package/dist/{Setting-DLnskPxP.js → Setting-cnuWE3wM.js} +7 -6
- package/dist/{TileEditor-LFwn_4CK.js → TileEditor-BydbDg_b.js} +18 -17
- package/dist/{TransitionFade-12ARL50A.js → TransitionFade-D0ozPmOn.js} +22 -21
- package/dist/app-lLf0I618.js +28808 -0
- package/dist/app.js +6 -5184
- package/dist/vue-i18n-CQAzKJVO.js +2711 -0
- package/package.json +1 -1
- package/dist/BaseDialog.vue_vue_type_script_setup_true_lang-03nmej58.js +0 -19983
- package/dist/vue-i18n-BQN8HgvD.js +0 -6457
|
@@ -2,23 +2,24 @@ var Zo = Object.defineProperty;
|
|
|
2
2
|
var Jo = (i, t, e) => t in i ? Zo(i, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : i[t] = e;
|
|
3
3
|
var k = (i, t, e) => Jo(i, typeof t != "symbol" ? t + "" : t, e);
|
|
4
4
|
import { ref as $t, defineComponent as oe, watch as ri, computed as _t, onMounted as Qo, createElementBlock as U, openBlock as I, createElementVNode as R, renderSlot as Un, toDisplayString as lt, resolveDirective as Xn, createCommentVNode as St, Fragment as Ii, renderList as zi, createBlock as Ht, withDirectives as Ge, resolveDynamicComponent as es, unref as G, withCtx as Yt, createVNode as et, normalizeClass as Ze, resolveComponent as Me, useModel as ta, createTextVNode as ea, isRef as ki, nextTick as ia } from "vue";
|
|
5
|
-
import { _ as sa } from "./Default.vue_vue_type_script_setup_true_lang-
|
|
6
|
-
import { _ as na } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-
|
|
7
|
-
import { d as Bi,
|
|
8
|
-
import { storeToRefs as
|
|
5
|
+
import { _ as sa } from "./Default.vue_vue_type_script_setup_true_lang-Da4Qj31I.js";
|
|
6
|
+
import { _ as na } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-DMnXUzDy.js";
|
|
7
|
+
import { d as Bi, u as Kn, F as qn, q as Gn, j as ys, a as oa } from "./app-lLf0I618.js";
|
|
8
|
+
import { storeToRefs as Zn } from "pinia";
|
|
9
9
|
import { components as is, useSnackbar as aa } from "@feedmepos/ui-library";
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
10
|
+
import { u as Jn } from "./vue-i18n-CQAzKJVO.js";
|
|
11
|
+
import { _ as ra } from "./NoData.vue_vue_type_script_setup_true_lang-CW6oZEnc.js";
|
|
12
|
+
import { a as la, G as ca } from "./NavigationTab.vue_vue_type_script_setup_true_lang-DCSjuXmi.js";
|
|
12
13
|
import { useCoreStore as ha } from "@feedmepos/mf-common";
|
|
13
14
|
function da({ start: i, end: t }) {
|
|
14
15
|
return `${Bi(t).format("DD MMM")}, ${Bi(t).format("YYYY")}`;
|
|
15
16
|
}
|
|
16
17
|
$t(!0);
|
|
17
18
|
const ua = async (i) => {
|
|
18
|
-
const { businessId: t } =
|
|
19
|
+
const { businessId: t } = Zn(Kn());
|
|
19
20
|
if (t) {
|
|
20
21
|
const e = {
|
|
21
|
-
fetchType:
|
|
22
|
+
fetchType: qn.Post,
|
|
22
23
|
url: `${t.value}/insights`,
|
|
23
24
|
data: {
|
|
24
25
|
...i,
|
|
@@ -26,16 +27,16 @@ const ua = async (i) => {
|
|
|
26
27
|
// isAnomaly: anomaly.value
|
|
27
28
|
}
|
|
28
29
|
};
|
|
29
|
-
return
|
|
30
|
+
return Gn.fetch(e);
|
|
30
31
|
} else
|
|
31
32
|
return Promise.reject(new Error("Business Id is not defined"));
|
|
32
33
|
}, fa = async (i) => {
|
|
33
34
|
const { businessId: t } = Kn(), e = {
|
|
34
|
-
fetchType:
|
|
35
|
+
fetchType: qn.Post,
|
|
35
36
|
url: `${t}/insights/feedbacks`,
|
|
36
37
|
data: i
|
|
37
38
|
};
|
|
38
|
-
return
|
|
39
|
+
return Gn.fetch(e);
|
|
39
40
|
};
|
|
40
41
|
/*!
|
|
41
42
|
* @kurkle/color v0.3.4
|
|
@@ -9375,7 +9376,7 @@ const yd = { class: "flex flex-col h-full overflow-hidden" }, vd = { class: "fle
|
|
|
9375
9376
|
},
|
|
9376
9377
|
emits: ["click-feedback"],
|
|
9377
9378
|
setup(i, { emit: t }) {
|
|
9378
|
-
const { t: e } =
|
|
9379
|
+
const { t: e } = Jn(), s = _t(() => i.widget.data.isAnomaly > 0 ? "bg-fm-color-system-success-100 text-fm-color-typo-success" : i.widget.data.isAnomaly < 0 ? "bg-fm-color-system-error-100 text-fm-color-typo-error" : ""), n = t;
|
|
9379
9380
|
function o(u) {
|
|
9380
9381
|
u === i.widget.feedback.reaction ? n("click-feedback", null) : n("click-feedback", u);
|
|
9381
9382
|
}
|
|
@@ -9594,17 +9595,17 @@ const yd = { class: "flex flex-col h-full overflow-hidden" }, vd = { class: "fle
|
|
|
9594
9595
|
}, au = {
|
|
9595
9596
|
key: 0,
|
|
9596
9597
|
class: "flex flex-row flex-wrap gap-24 px-24 py-16"
|
|
9597
|
-
},
|
|
9598
|
+
}, xu = /* @__PURE__ */ oe({
|
|
9598
9599
|
__name: "InsightView",
|
|
9599
9600
|
setup(i) {
|
|
9600
|
-
const { t } =
|
|
9601
|
+
const { t } = Jn(), e = ha(), {
|
|
9601
9602
|
dateRange: s,
|
|
9602
9603
|
compareDateRange: n,
|
|
9603
9604
|
locations: o,
|
|
9604
9605
|
selectedLocationIds: a,
|
|
9605
9606
|
selectedRestaurantIds: r,
|
|
9606
9607
|
business: l
|
|
9607
|
-
} =
|
|
9608
|
+
} = Zn(oa()), c = $t([]), h = $t(null), d = $t(!1), u = aa();
|
|
9608
9609
|
ri(
|
|
9609
9610
|
l,
|
|
9610
9611
|
() => {
|
|
@@ -9720,5 +9721,5 @@ const yd = { class: "flex flex-col h-full overflow-hidden" }, vd = { class: "fle
|
|
|
9720
9721
|
}
|
|
9721
9722
|
});
|
|
9722
9723
|
export {
|
|
9723
|
-
|
|
9724
|
+
xu as default
|
|
9724
9725
|
};
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { defineComponent as J, mergeModels as Se, useModel as te, computed as q, resolveComponent as A, createElementBlock as I, openBlock as w, createElementVNode as t, createCommentVNode as L, normalizeClass as Ue, Fragment as ke, createBlock as j, withCtx as xe, toDisplayString as C, renderList as De, createVNode as l, unref as d, h as k, normalizeStyle as tt, createTextVNode as ot, ref as z, onUnmounted as Re, watch as Ce, isRef as Te, resolveDynamicComponent as Fe, mergeProps as Qe, onMounted as Ge } from "vue";
|
|
2
2
|
import { useRouter as be, useRoute as at } from "vue-router";
|
|
3
|
-
import {
|
|
3
|
+
import { Q as he, d as Ve, O as lt, V as nt, e as Ae, f as Pe, a as we, W as ve, X as st, J as rt, U as Me, Y as je, Z as Ke, _ as Le, $ as ze, a0 as it, a1 as dt, a2 as mt, a3 as qe, b as Ze, a4 as pt, a5 as ut, a6 as ct, a7 as ft, a8 as gt } from "./app-lLf0I618.js";
|
|
4
4
|
import { u as Oe } from "./message-dialog-UoMWOnil.js";
|
|
5
5
|
import { useSnackbar as _e } from "@feedmepos/ui-library";
|
|
6
|
+
import { u as oe } from "./vue-i18n-CQAzKJVO.js";
|
|
6
7
|
import { storeToRefs as Ee } from "pinia";
|
|
7
|
-
import { _ as Be } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-
|
|
8
|
+
import { _ as Be } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-DMnXUzDy.js";
|
|
8
9
|
const vt = { class: "flex flex-row items-center w-[100%] gap-[4px] justify-between" }, yt = { class: "w-[100%]" }, xt = { class: "text-nowrap w-[100%] overflow-hidden text-ellipsis font-semibold" }, bt = { class: "w-[100%] flex flex-row gap-[4px]" }, wt = { class: "text-nowrap w-[100%] overflow-hidden text-ellipsis font-semibold" }, _t = { class: "text-nowrap w-[100%] overflow-hidden text-ellipsis font-semibold" }, ht = {
|
|
9
10
|
key: 0,
|
|
10
11
|
class: "w-[24px] flex items-center"
|
|
@@ -6415,7 +6416,7 @@ const Jr = [
|
|
|
6415
6416
|
]);
|
|
6416
6417
|
};
|
|
6417
6418
|
}
|
|
6418
|
-
}), Ei = { class: "px-24 h-full relative" },
|
|
6419
|
+
}), Ei = { class: "px-24 h-full relative" }, Wi = /* @__PURE__ */ J({
|
|
6419
6420
|
__name: "Integration",
|
|
6420
6421
|
setup(f) {
|
|
6421
6422
|
const a = z(void 0), { params: e } = at(), i = Ae(), y = z(), K = z([]);
|
|
@@ -6462,5 +6463,5 @@ const Jr = [
|
|
|
6462
6463
|
}
|
|
6463
6464
|
});
|
|
6464
6465
|
export {
|
|
6465
|
-
|
|
6466
|
+
Wi as default
|
|
6466
6467
|
};
|