@feedmepos/mf-report 5.22.1-remy-beta.1 → 5.22.1-remy-beta.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.
Files changed (26) hide show
  1. package/dist/{App-C7mY8Mti.js → App-iSIj8_lS.js} +17 -17
  2. package/dist/BaseDialog.vue_vue_type_script_setup_true_lang-Bnu9l9U0.js +315 -0
  3. package/dist/{DateRangeSelect.vue_vue_type_script_setup_true_lang-BeBr4VIF.js → DateRangeSelect.vue_vue_type_script_setup_true_lang-CPniBJgZ.js} +37 -36
  4. package/dist/{Default.vue_vue_type_script_setup_true_lang-7MJTbycc.js → Default.vue_vue_type_script_setup_true_lang-Blc6DBml.js} +12 -11
  5. package/dist/{FilterSelector.vue_vue_type_script_setup_true_lang-Cq2Ssoih.js → FilterSelector.vue_vue_type_script_setup_true_lang-CHTMrqtt.js} +236 -235
  6. package/dist/{InsightView-CENPnVe7.js → InsightView-Ckkwb92m.js} +17 -16
  7. package/dist/{Integration-Czc6q14E.js → Integration-BoYn0XvH.js} +5 -4
  8. package/dist/{Integrations-DIXSWGS_.js → Integrations-D6Qz0hqf.js} +28 -27
  9. package/dist/{Layout-BJ7gfx7X.js → Layout-DIs6pMOT.js} +1 -1
  10. package/dist/{MenuTab.vue_vue_type_script_setup_true_lang-V28xf-H0.js → MenuTab.vue_vue_type_script_setup_true_lang-Brwm-7zb.js} +9 -9
  11. package/dist/{NavigationTab.vue_vue_type_script_setup_true_lang-9PbGrSC0.js → NavigationTab.vue_vue_type_script_setup_true_lang-DZIauCN0.js} +98 -97
  12. package/dist/{NoData.vue_vue_type_script_setup_true_lang-CtN7oqXx.js → NoData.vue_vue_type_script_setup_true_lang-CW6oZEnc.js} +1 -1
  13. package/dist/{OverviewView-C-DrSun5.js → OverviewView-Bx_6RMle.js} +16 -16
  14. package/dist/{Report-CrUITZYf.js → Report-E8GN07k7.js} +8 -9
  15. package/dist/{ReportEditor-hyFAa6EB.js → ReportEditor-bz8aajNj.js} +9 -8
  16. package/dist/{ReportView-Ci4mKX0q.js → ReportView-BEWiRAvV.js} +12 -12
  17. package/dist/{SelectComponent.vue_vue_type_script_setup_true_lang-BcQEW5MO.js → SelectComponent.vue_vue_type_script_setup_true_lang-CiT09OeD.js} +1 -1
  18. package/dist/{Setting-BzClHxv3.js → Setting-B6nnaJaX.js} +7 -6
  19. package/dist/{TileEditor-H3XGcpji.js → TileEditor-DncjwvcR.js} +18 -17
  20. package/dist/{TransitionFade-woMemCnD.js → TransitionFade-Bold22aO.js} +22 -21
  21. package/dist/app-CDw9UOqm.js +28808 -0
  22. package/dist/app.js +6 -5184
  23. package/dist/vue-i18n-CQAzKJVO.js +2711 -0
  24. package/package.json +1 -1
  25. package/dist/BaseDialog.vue_vue_type_script_setup_true_lang-Ccrz29qZ.js +0 -19983
  26. package/dist/vue-i18n-BJW_sJot.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-7MJTbycc.js";
6
- import { _ as na } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-BeBr4VIF.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-BJW_sJot.js";
8
- import { storeToRefs as Jn } from "pinia";
5
+ import { _ as sa } from "./Default.vue_vue_type_script_setup_true_lang-Blc6DBml.js";
6
+ import { _ as na } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-CPniBJgZ.js";
7
+ import { d as Bi, u as Kn, F as qn, q as Gn, j as ys, a as oa } from "./app-CDw9UOqm.js";
8
+ import { storeToRefs as Zn } from "pinia";
9
9
  import { components as is, useSnackbar as aa } from "@feedmepos/ui-library";
10
- import { _ as ra } from "./NoData.vue_vue_type_script_setup_true_lang-CtN7oqXx.js";
11
- import { a as la, G as ca } from "./NavigationTab.vue_vue_type_script_setup_true_lang-9PbGrSC0.js";
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-DZIauCN0.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 } = Jn(Kn());
19
+ const { businessId: t } = Zn(Kn());
19
20
  if (t) {
20
21
  const e = {
21
- fetchType: Gn.Post,
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 qn.fetch(e);
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: Gn.Post,
35
+ fetchType: qn.Post,
35
36
  url: `${t}/insights/feedbacks`,
36
37
  data: i
37
38
  };
38
- return qn.fetch(e);
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 } = 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;
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
- }, bu = /* @__PURE__ */ oe({
9598
+ }, xu = /* @__PURE__ */ oe({
9598
9599
  __name: "InsightView",
9599
9600
  setup(i) {
9600
- const { t } = Zn(), e = ha(), {
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
- } = Jn(oa()), c = $t([]), h = $t(null), d = $t(!1), u = aa();
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
- bu as default
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 { 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-BJW_sJot.js";
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-CDw9UOqm.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-BeBr4VIF.js";
8
+ import { _ as Be } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-CPniBJgZ.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" }, Xi = /* @__PURE__ */ J({
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
- Xi as default
6466
+ Wi as default
6466
6467
  };