@feedmepos/mf-report 5.22.1-remy-beta.2 → 5.22.1-remy.1
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-iSIj8_lS.js → App-cuHcpcZw.js} +26 -26
- package/dist/BaseDialog.vue_vue_type_script_setup_true_lang-03nmej58.js +19983 -0
- package/dist/{DateRangeSelect.vue_vue_type_script_setup_true_lang-CPniBJgZ.js → DateRangeSelect.vue_vue_type_script_setup_true_lang-cfshXMB2.js} +36 -37
- package/dist/{Default.vue_vue_type_script_setup_true_lang-Blc6DBml.js → Default.vue_vue_type_script_setup_true_lang-BhMWXLug.js} +11 -12
- package/dist/{FilterSelector.vue_vue_type_script_setup_true_lang-CHTMrqtt.js → FilterSelector.vue_vue_type_script_setup_true_lang-fzO5gzwh.js} +235 -236
- package/dist/{InsightView-Ckkwb92m.js → InsightView-DJJJmFkl.js} +16 -17
- package/dist/{Integration-BoYn0XvH.js → Integration-D93eQCHy.js} +4 -5
- package/dist/{Integrations-D6Qz0hqf.js → Integrations-jn20KmcD.js} +27 -28
- package/dist/{Layout-DIs6pMOT.js → Layout-B1jaac85.js} +1 -1
- package/dist/{MenuTab.vue_vue_type_script_setup_true_lang-Brwm-7zb.js → MenuTab.vue_vue_type_script_setup_true_lang-BrCMbeEl.js} +9 -9
- package/dist/{NavigationTab.vue_vue_type_script_setup_true_lang-DZIauCN0.js → NavigationTab.vue_vue_type_script_setup_true_lang-BZVeEoDt.js} +97 -98
- package/dist/{NoData.vue_vue_type_script_setup_true_lang-CW6oZEnc.js → NoData.vue_vue_type_script_setup_true_lang-BUoYdn5S.js} +1 -1
- package/dist/{OverviewView-Bx_6RMle.js → OverviewView-Cuzw4aLB.js} +16 -16
- package/dist/{Report-E8GN07k7.js → Report-P_a1NjPi.js} +9 -8
- package/dist/{ReportEditor-bz8aajNj.js → ReportEditor-CkNtAVi9.js} +8 -9
- package/dist/{ReportView-BEWiRAvV.js → ReportView-BiF6T_r0.js} +12 -12
- package/dist/{SelectComponent.vue_vue_type_script_setup_true_lang-CiT09OeD.js → SelectComponent.vue_vue_type_script_setup_true_lang-B2oCOTUH.js} +1 -1
- package/dist/{Setting-B6nnaJaX.js → Setting-DLnskPxP.js} +6 -7
- package/dist/{TileEditor-DncjwvcR.js → TileEditor-LFwn_4CK.js} +17 -18
- package/dist/{TransitionFade-Bold22aO.js → TransitionFade-12ARL50A.js} +21 -22
- package/dist/app.js +5184 -6
- package/dist/vue-i18n-BQN8HgvD.js +6457 -0
- package/package.json +1 -1
- package/dist/BaseDialog.vue_vue_type_script_setup_true_lang-Bnu9l9U0.js +0 -315
- package/dist/app-CDw9UOqm.js +0 -28808
- package/dist/vue-i18n-CQAzKJVO.js +0 -2711
|
@@ -2,24 +2,23 @@ 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-BhMWXLug.js";
|
|
6
|
+
import { _ as na } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-cfshXMB2.js";
|
|
7
|
+
import { d as Bi, a as Kn, q as qn, F as Gn, u as Zn, h as ys, b as oa } from "./vue-i18n-BQN8HgvD.js";
|
|
8
|
+
import { storeToRefs as Jn } from "pinia";
|
|
9
9
|
import { components as is, useSnackbar as aa } from "@feedmepos/ui-library";
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import { a as la, G as ca } from "./NavigationTab.vue_vue_type_script_setup_true_lang-DZIauCN0.js";
|
|
10
|
+
import { _ as ra } from "./NoData.vue_vue_type_script_setup_true_lang-BUoYdn5S.js";
|
|
11
|
+
import { a as la, G as ca } from "./NavigationTab.vue_vue_type_script_setup_true_lang-BZVeEoDt.js";
|
|
13
12
|
import { useCoreStore as ha } from "@feedmepos/mf-common";
|
|
14
13
|
function da({ start: i, end: t }) {
|
|
15
14
|
return `${Bi(t).format("DD MMM")}, ${Bi(t).format("YYYY")}`;
|
|
16
15
|
}
|
|
17
16
|
$t(!0);
|
|
18
17
|
const ua = async (i) => {
|
|
19
|
-
const { businessId: t } =
|
|
18
|
+
const { businessId: t } = Jn(Kn());
|
|
20
19
|
if (t) {
|
|
21
20
|
const e = {
|
|
22
|
-
fetchType:
|
|
21
|
+
fetchType: Gn.Post,
|
|
23
22
|
url: `${t.value}/insights`,
|
|
24
23
|
data: {
|
|
25
24
|
...i,
|
|
@@ -27,16 +26,16 @@ const ua = async (i) => {
|
|
|
27
26
|
// isAnomaly: anomaly.value
|
|
28
27
|
}
|
|
29
28
|
};
|
|
30
|
-
return
|
|
29
|
+
return qn.fetch(e);
|
|
31
30
|
} else
|
|
32
31
|
return Promise.reject(new Error("Business Id is not defined"));
|
|
33
32
|
}, fa = async (i) => {
|
|
34
33
|
const { businessId: t } = Kn(), e = {
|
|
35
|
-
fetchType:
|
|
34
|
+
fetchType: Gn.Post,
|
|
36
35
|
url: `${t}/insights/feedbacks`,
|
|
37
36
|
data: i
|
|
38
37
|
};
|
|
39
|
-
return
|
|
38
|
+
return qn.fetch(e);
|
|
40
39
|
};
|
|
41
40
|
/*!
|
|
42
41
|
* @kurkle/color v0.3.4
|
|
@@ -9376,7 +9375,7 @@ const yd = { class: "flex flex-col h-full overflow-hidden" }, vd = { class: "fle
|
|
|
9376
9375
|
},
|
|
9377
9376
|
emits: ["click-feedback"],
|
|
9378
9377
|
setup(i, { emit: t }) {
|
|
9379
|
-
const { t: e } =
|
|
9378
|
+
const { t: e } = Zn(), 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;
|
|
9380
9379
|
function o(u) {
|
|
9381
9380
|
u === i.widget.feedback.reaction ? n("click-feedback", null) : n("click-feedback", u);
|
|
9382
9381
|
}
|
|
@@ -9595,17 +9594,17 @@ const yd = { class: "flex flex-col h-full overflow-hidden" }, vd = { class: "fle
|
|
|
9595
9594
|
}, au = {
|
|
9596
9595
|
key: 0,
|
|
9597
9596
|
class: "flex flex-row flex-wrap gap-24 px-24 py-16"
|
|
9598
|
-
},
|
|
9597
|
+
}, bu = /* @__PURE__ */ oe({
|
|
9599
9598
|
__name: "InsightView",
|
|
9600
9599
|
setup(i) {
|
|
9601
|
-
const { t } =
|
|
9600
|
+
const { t } = Zn(), e = ha(), {
|
|
9602
9601
|
dateRange: s,
|
|
9603
9602
|
compareDateRange: n,
|
|
9604
9603
|
locations: o,
|
|
9605
9604
|
selectedLocationIds: a,
|
|
9606
9605
|
selectedRestaurantIds: r,
|
|
9607
9606
|
business: l
|
|
9608
|
-
} =
|
|
9607
|
+
} = Jn(oa()), c = $t([]), h = $t(null), d = $t(!1), u = aa();
|
|
9609
9608
|
ri(
|
|
9610
9609
|
l,
|
|
9611
9610
|
() => {
|
|
@@ -9721,5 +9720,5 @@ const yd = { class: "flex flex-col h-full overflow-hidden" }, vd = { class: "fle
|
|
|
9721
9720
|
}
|
|
9722
9721
|
});
|
|
9723
9722
|
export {
|
|
9724
|
-
|
|
9723
|
+
bu as default
|
|
9725
9724
|
};
|
|
@@ -1,11 +1,10 @@
|
|
|
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 { u as oe, I as he, d as Ve, x as lt, A as nt, e as Ae, f as Pe, b as we, B as ve, E as st, o as rt, z as Me, G as je, H as Ke, J as Le, K as ze, L as it, M as dt, N as mt, O as qe, c as Ze, P as pt, Q as ut, R as ct, S as ft, T as gt } from "./vue-i18n-BQN8HgvD.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";
|
|
7
6
|
import { storeToRefs as Ee } from "pinia";
|
|
8
|
-
import { _ as Be } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-
|
|
7
|
+
import { _ as Be } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-cfshXMB2.js";
|
|
9
8
|
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 = {
|
|
10
9
|
key: 0,
|
|
11
10
|
class: "w-[24px] flex items-center"
|
|
@@ -6416,7 +6415,7 @@ const Jr = [
|
|
|
6416
6415
|
]);
|
|
6417
6416
|
};
|
|
6418
6417
|
}
|
|
6419
|
-
}), Ei = { class: "px-24 h-full relative" },
|
|
6418
|
+
}), Ei = { class: "px-24 h-full relative" }, Xi = /* @__PURE__ */ J({
|
|
6420
6419
|
__name: "Integration",
|
|
6421
6420
|
setup(f) {
|
|
6422
6421
|
const a = z(void 0), { params: e } = at(), i = Ae(), y = z(), K = z([]);
|
|
@@ -6463,5 +6462,5 @@ const Jr = [
|
|
|
6463
6462
|
}
|
|
6464
6463
|
});
|
|
6465
6464
|
export {
|
|
6466
|
-
|
|
6465
|
+
Xi as default
|
|
6467
6466
|
};
|