@feedmepos/mf-report 5.5.3 → 5.5.4-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 (25) hide show
  1. package/dist/{App-Ds-SnsYH.js → App-Dq8dnEJk.js} +42 -42
  2. package/dist/{DateRangeSelect.vue_vue_type_script_setup_true_lang-wgBB4qb8.js → DateRangeSelect.vue_vue_type_script_setup_true_lang-Xex8S8XX.js} +2 -2
  3. package/dist/{Default.vue_vue_type_script_setup_true_lang-CJeWQMdJ.js → Default.vue_vue_type_script_setup_true_lang-BYUgUfMH.js} +2 -2
  4. package/dist/{DynamicWidget.vue_vue_type_script_setup_true_lang-DnF2zN4s.js → DynamicWidget.vue_vue_type_script_setup_true_lang-DGLtkzSY.js} +83 -82
  5. package/dist/{InsightView-CXYuVSpH.js → InsightView-DE5yiW3O.js} +6 -6
  6. package/dist/{Integration-CWrgoMjX.js → Integration-bg1bO0u3.js} +3 -3
  7. package/dist/{Integrations-RluH7jrn.js → Integrations-B6ACZi86.js} +3 -3
  8. package/dist/{Layout-CVdEU9ys.js → Layout-Dz8vZscf.js} +1 -1
  9. package/dist/{MenuTab.vue_vue_type_script_setup_true_lang-DvYLquMC.js → MenuTab.vue_vue_type_script_setup_true_lang-By8VPadv.js} +3 -3
  10. package/dist/{NavigationTab.vue_vue_type_script_setup_true_lang-_Ws6qno4.js → NavigationTab.vue_vue_type_script_setup_true_lang-BdqkXGVB.js} +14 -14
  11. package/dist/{NoData.vue_vue_type_script_setup_true_lang-CCA1l-Cz.js → NoData.vue_vue_type_script_setup_true_lang-DI4X_DSc.js} +1 -1
  12. package/dist/{OverviewView-B_HYkIRY.js → OverviewView-DYQewy_Z.js} +5 -5
  13. package/dist/{Report-DZPR8ccC.js → Report-DefWkKB4.js} +4 -4
  14. package/dist/{ReportEditor-DGABNUfp.js → ReportEditor-3a7bF4Rl.js} +5 -5
  15. package/dist/{ReportView-BGWJ_OvV.js → ReportView-BRy5-B-p.js} +7 -7
  16. package/dist/{SelectComponent.vue_vue_type_script_setup_true_lang-CXYvLXnR.js → SelectComponent.vue_vue_type_script_setup_true_lang-BVs1C4af.js} +1 -1
  17. package/dist/{Setting-O9eULs0H.js → Setting-bT2va3qo.js} +4 -4
  18. package/dist/{TileEditor-BIb4cc9R.js → TileEditor-3do7e-bs.js} +8 -8
  19. package/dist/{TransitionFade-DJDFS-B_.js → TransitionFade-qQ3q829p.js} +4 -4
  20. package/dist/app.js +20 -20
  21. package/dist/{global-loader-KvOGLx9k.js → global-loader-BqFQzk46.js} +1 -1
  22. package/dist/{index-CDf9QIwq.js → index-Cmh079Bh.js} +1 -1
  23. package/dist/{report-schema-Zw8e6-XZ.js → report-schema-OJAFh4P6.js} +1 -1
  24. package/dist/{v4-BX252AtO.js → v4-Dzkr7vpG.js} +1 -1
  25. package/package.json +1 -1
@@ -1,32 +1,32 @@
1
- import { defineComponent as O, resolveComponent as C, createBlock as T, openBlock as m, unref as r, isRef as Y, withCtx as w, createElementVNode as N, createVNode as $, toDisplayString as q, createTextVNode as Z, onMounted as j, watch as p, ref as z, computed as I, onBeforeMount as M, onBeforeUnmount as ee, createElementBlock as k, Fragment as te } from "vue";
2
- import { detectLocale as g, useCoreStore as b } from "@feedmepos/mf-common";
3
- import { u as oe, d as F, a as re, b as ne, c as se, e as ae, f as le, g as ue } from "./global-loader-KvOGLx9k.js";
1
+ import { defineComponent as O, resolveComponent as C, createBlock as T, openBlock as m, unref as r, isRef as Y, withCtx as w, createElementVNode as q, createVNode as $, toDisplayString as D, createTextVNode as Z, onMounted as z, watch as p, ref as j, computed as I, onBeforeMount as M, onBeforeUnmount as ee, createElementBlock as b, Fragment as te } from "vue";
2
+ import { detectLocale as g, useCoreStore as k } from "@feedmepos/mf-common";
3
+ import { u as oe, d as F, a as re, b as ne, c as ae, e as se, f as le, g as ue } from "./global-loader-BqFQzk46.js";
4
4
  import { storeToRefs as B } from "pinia";
5
- import { u as ie, a as ce } from "./v4-BX252AtO.js";
6
- import { u as me } from "./report-schema-Zw8e6-XZ.js";
7
- import { _ as de, u as ve } from "./NavigationTab.vue_vue_type_script_setup_true_lang-_Ws6qno4.js";
5
+ import { u as ie, a as ce } from "./v4-Dzkr7vpG.js";
6
+ import { u as me } from "./report-schema-OJAFh4P6.js";
7
+ import { _ as de, u as ve } from "./NavigationTab.vue_vue_type_script_setup_true_lang-BdqkXGVB.js";
8
8
  import { u as U } from "./message-dialog-UoMWOnil.js";
9
9
  import { useRoute as fe } from "vue-router";
10
10
  const pe = { class: "fm-typo-en-body-md-400 text-ellipsis overflow-hidden" }, ge = /* @__PURE__ */ O({
11
11
  __name: "Dialog",
12
12
  setup(d) {
13
- const { t } = oe(), n = U(), { isOpened: s, message: i, title: c } = B(U());
14
- return (h, u) => {
15
- const v = C("FmButton"), y = C("FmDialog");
16
- return m(), T(y, {
17
- modelValue: r(s),
18
- "onUpdate:modelValue": u[0] || (u[0] = (_) => Y(s) ? s.value = _ : null),
13
+ const { t } = oe(), n = U(), { isOpened: a, message: i, title: c } = B(U());
14
+ return (y, u) => {
15
+ const v = C("FmButton"), h = C("FmDialog");
16
+ return m(), T(h, {
17
+ modelValue: r(a),
18
+ "onUpdate:modelValue": u[0] || (u[0] = (_) => Y(a) ? a.value = _ : null),
19
19
  overlay: "",
20
20
  "close-button": !1
21
21
  }, {
22
22
  "dialog-header": w(() => [
23
- Z(q(r(c)), 1)
23
+ Z(D(r(c)), 1)
24
24
  ]),
25
25
  default: w(() => [
26
- N("p", pe, q(r(i)), 1)
26
+ q("p", pe, D(r(i)), 1)
27
27
  ]),
28
28
  "dialog-footer": w(() => [
29
- u[1] || (u[1] = N("div", { class: "grow" }, null, -1)),
29
+ u[1] || (u[1] = q("div", { class: "grow" }, null, -1)),
30
30
  $(v, {
31
31
  label: r(t)("report.common.cancel"),
32
32
  variant: "tertiary",
@@ -41,8 +41,8 @@ const pe = { class: "fm-typo-en-body-md-400 text-ellipsis overflow-hidden" }, ge
41
41
  }, 8, ["modelValue"]);
42
42
  };
43
43
  }
44
- }), x = z(g());
45
- function he() {
44
+ }), x = j(g());
45
+ function ye() {
46
46
  const d = (t) => {
47
47
  switch (x.value = t, t) {
48
48
  case "zh-CN":
@@ -53,27 +53,27 @@ function he() {
53
53
  break;
54
54
  }
55
55
  };
56
- return j(() => {
56
+ return z(() => {
57
57
  d(g());
58
58
  }), p(() => g(), d, { deep: !0, immediate: !0 }), {
59
59
  currentLocale: x
60
60
  };
61
61
  }
62
62
  F.locale(g() === "zh-CN" ? "zh-cn" : "en");
63
- const ye = ["src"], _e = ["src"], Le = /* @__PURE__ */ O({
63
+ const he = ["src"], _e = ["src"], Le = /* @__PURE__ */ O({
64
64
  __name: "App",
65
65
  setup(d) {
66
- const { businessId: t, token: n, country: s } = B(re()), { sessionUser: i, currentBusiness: c, currentCountry: h, registerSidebarComponent: u } = b(), { getRestaurantAndWarehouse: v, getBusinessSetting: y } = ne(), { getFeatureFlags: _ } = se(), { version: a } = B(ie()), { getSettings: A } = ae(), l = fe(), { promptLoader: J } = le(), G = I(() => `https://portal-v1.feedme.cc/b/${t.value}/report/CLOSE_UP?showHeader=false&country=${s.value.toUpperCase()}&menuOption=business-report&token=${n.value}&v2=true&reportV5Button=true`), P = I(() => `https://report-v4.feedme.cc?businessId=${t.value}&country=${s.value}&token=${n.value}&reportV3Button=true`);
66
+ const { businessId: t, token: n, country: a } = B(re()), { sessionUser: i, currentBusiness: c, currentCountry: y, registerSidebarComponent: u } = k(), { getRestaurantAndWarehouse: v, getBusinessSetting: h } = ne(), { getFeatureFlags: _ } = ae(), { version: s } = B(ie()), { getSettings: A } = se(), l = fe(), { promptLoader: J } = le(), W = I(() => `https://portal-v1.feedmedev.cc/b/${t.value}/report/CLOSE_UP?showHeader=false&country=${a.value.toUpperCase()}&menuOption=business-report&token=${n.value}&v2=true&reportV5Button=true`), G = I(() => `https://report-v4.feedmedev.cc?businessId=${t.value}&country=${a.value}&token=${n.value}&reportV3Button=true`);
67
67
  p(
68
68
  // if route query pass in the detail we switch accordingly
69
69
  [() => l.query, () => c.value, () => i.value],
70
70
  () => {
71
71
  var o, e, f;
72
- l.query.token && l.query.businessId && l.query.country ? (t.value = l.query.businessId, n.value = l.query.token, s.value = l.query.country) : ((o = c.value) != null && o.id && (t.value = c.value.id), (e = i.value) != null && e.token && (n.value = (f = i.value) == null ? void 0 : f.token), h.value && (s.value = h.value));
72
+ l.query.token && l.query.businessId && l.query.country ? (t.value = l.query.businessId, n.value = l.query.token, a.value = l.query.country) : ((o = c.value) != null && o.id && (t.value = c.value.id), (e = i.value) != null && e.token && (n.value = (f = i.value) == null ? void 0 : f.token), y.value && (a.value = y.value));
73
73
  },
74
74
  { immediate: !0 }
75
75
  );
76
- function R(o) {
76
+ function E(o) {
77
77
  if (typeof o.data == "string")
78
78
  try {
79
79
  const e = JSON.parse(o.data);
@@ -86,42 +86,42 @@ const ye = ["src"], _e = ["src"], Le = /* @__PURE__ */ O({
86
86
  if (typeof o.data == "string")
87
87
  try {
88
88
  const e = JSON.parse(o.data);
89
- (e == null ? void 0 : e.v5) === !0 ? a.value = S.value : (e == null ? void 0 : e.v3) === !0 && (a.value = "v3");
89
+ (e == null ? void 0 : e.v5) === !0 ? s.value = S.value : (e == null ? void 0 : e.v3) === !0 && (s.value = "v3");
90
90
  } catch (e) {
91
91
  console.error(e);
92
92
  }
93
93
  }
94
- p(a, () => {
95
- ["v3", "v4"].includes(a.value) ? b().hideSidebarToggle(!0) : b().hideSidebarToggle(!1);
94
+ p(s, () => {
95
+ ["v3", "v4"].includes(s.value) ? k().hideSidebarToggle(!0) : k().hideSidebarToggle(!1);
96
96
  }), M(() => {
97
97
  u(de);
98
- }), j(() => {
99
- console.log("5.5.3", !0), window.addEventListener("message", R), window.addEventListener("message", L);
98
+ }), z(() => {
99
+ console.log("5.5.4-beta.0", !0), window.addEventListener("message", E), window.addEventListener("message", L);
100
100
  });
101
- const V = ce(), D = ve();
101
+ const R = ce(), N = ve();
102
102
  ee(() => {
103
- window.removeEventListener("message", R), window.removeEventListener("message", L), V.$dispose(), D.$dispose();
103
+ window.removeEventListener("message", E), window.removeEventListener("message", L), R.$dispose(), N.$dispose();
104
104
  });
105
- const { getReports: H, getOverviewReport: K, getReportConfig: E } = V, { getSchema: Q } = me(), { fetchSchedules: W } = D, { init: X } = ue(), S = z("v5");
105
+ const { getReports: K, getOverviewReport: P, getReportConfig: V } = R, { getSchema: H } = me(), { fetchSchedules: Q } = N, { init: X } = ue(), S = j("v5");
106
106
  return p(
107
107
  () => t.value,
108
108
  () => {
109
109
  t.value !== "" && J(async () => {
110
110
  await X({
111
- apiKey: "6GhcttsJ9Rj9cTevcdrpin",
111
+ apiKey: "MaGoXrEWuEJNpWgKTqseee",
112
112
  url: "https://flag.feedme.farm/api/v1/",
113
113
  enableAnalytics: !1,
114
114
  cacheFlags: !1
115
115
  });
116
- const o = await E();
117
- S.value = o.version, a.value = S.value, await Promise.all([
116
+ const o = await V();
117
+ S.value = o.version, s.value = S.value, await Promise.all([
118
118
  _(),
119
- E(),
119
+ V(),
120
+ P(),
120
121
  K(),
121
122
  H(),
122
123
  Q(),
123
- W(),
124
- y(),
124
+ h(),
125
125
  v(),
126
126
  A()
127
127
  ]);
@@ -130,18 +130,18 @@ const ye = ["src"], _e = ["src"], Le = /* @__PURE__ */ O({
130
130
  {
131
131
  immediate: !0
132
132
  }
133
- ), he(), (o, e) => {
133
+ ), ye(), (o, e) => {
134
134
  const f = C("router-view");
135
- return m(), k(te, null, [
135
+ return m(), b(te, null, [
136
136
  $(ge),
137
- r(a) === "v3" ? (m(), k("iframe", {
137
+ r(s) === "v3" ? (m(), b("iframe", {
138
138
  key: 0,
139
139
  class: "bg-white h-full w-full",
140
- src: G.value
141
- }, null, 8, ye)) : r(a) === "v4" ? (m(), k("iframe", {
140
+ src: W.value
141
+ }, null, 8, he)) : r(s) === "v4" ? (m(), b("iframe", {
142
142
  key: 1,
143
143
  class: "bg-white h-full w-full",
144
- src: P.value
144
+ src: G.value
145
145
  }, null, 8, _e)) : (m(), T(f, { key: 2 }))
146
146
  ], 64);
147
147
  };
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as F, resolveComponent as g, createBlock as p, openBlock as u, withCtx as v, createCommentVNode as y, createElementVNode as w, toDisplayString as M, renderSlot as P, mergeModels as T, useModel as f, ref as C, watch as I, createElementBlock as x, createVNode as D, unref as c } from "vue";
2
- import { d as n, G as O, C as B } from "./global-loader-KvOGLx9k.js";
3
- import { b as V } from "./index-CDf9QIwq.js";
2
+ import { d as n, G as O, C as B } from "./global-loader-BqFQzk46.js";
3
+ import { b as V } from "./index-Cmh079Bh.js";
4
4
  import { detectLocale as $ } from "@feedmepos/mf-common";
5
5
  const Y = { class: "fm-typo-en-body-md-600 text-ellipsis overflow-hidden whitespace-nowrap" }, j = { class: "fm-typo-en-body-md-600 text-ellipsis overflow-hidden whitespace-nowrap" }, k = /* @__PURE__ */ F({
6
6
  __name: "FilterChip",
@@ -1,8 +1,8 @@
1
1
  import { defineComponent as u, computed as f, resolveComponent as p, createElementBlock as r, openBlock as s, normalizeStyle as l, normalizeClass as d, unref as e, createBlock as y, createCommentVNode as _, createVNode as h, createElementVNode as k, toDisplayString as x, renderSlot as g } from "vue";
2
- import { _ as v } from "./NavigationTab.vue_vue_type_script_setup_true_lang-_Ws6qno4.js";
2
+ import { _ as v } from "./NavigationTab.vue_vue_type_script_setup_true_lang-BdqkXGVB.js";
3
3
  import { useBreakpoints as b } from "@feedmepos/ui-library";
4
4
  import { storeToRefs as w } from "pinia";
5
- import { u as q, f as C } from "./global-loader-KvOGLx9k.js";
5
+ import { u as q, f as C } from "./global-loader-BqFQzk46.js";
6
6
  import { useRoute as B } from "vue-router";
7
7
  const $ = {
8
8
  key: 1,
@@ -1,10 +1,10 @@
1
- import { defineComponent as H, useModel as O, computed as s, ref as F, resolveComponent as w, createElementBlock as L, openBlock as h, Fragment as W, renderSlot as G, createVNode as S, createElementVNode as k, toDisplayString as Z, unref as j, withCtx as B, createBlock as $, createCommentVNode as K, normalizeClass as le, normalizeStyle as _e, h as ge, renderList as Ce, mergeModels as Ee, watch as ae, onMounted as ze, onUnmounted as We, resolveDynamicComponent as He, withDirectives as Oe, vShow as qe } from "vue";
2
- import { W as i, v as te, R as Ue, g as je, d as Ge, q as Je } from "./v4-BX252AtO.js";
3
- import { u as ie, b as xe, a as ue } from "./global-loader-KvOGLx9k.js";
4
- import { d as be } from "./index-CDf9QIwq.js";
5
- import { storeToRefs as se } from "pinia";
1
+ import { defineComponent as H, useModel as O, computed as o, ref as F, resolveComponent as w, createElementBlock as L, openBlock as h, Fragment as W, renderSlot as G, createVNode as S, createElementVNode as k, toDisplayString as Z, unref as j, withCtx as B, createBlock as $, createCommentVNode as K, normalizeClass as le, normalizeStyle as _e, h as ge, renderList as Ce, mergeModels as Ee, watch as ae, onMounted as ze, onUnmounted as We, resolveDynamicComponent as He, withDirectives as Oe, vShow as qe } from "vue";
2
+ import { W as i, v as te, R as Ue, g as je, d as Ge, q as Je } from "./v4-Dzkr7vpG.js";
3
+ import { u as ie, b as xe, a as ue } from "./global-loader-BqFQzk46.js";
4
+ import { d as be } from "./index-Cmh079Bh.js";
5
+ import { storeToRefs as oe } from "pinia";
6
6
  import { _ as Ke } from "./_plugin-vue_export-helper-CHgC5LLL.js";
7
- import { _ as ye } from "./NoData.vue_vue_type_script_setup_true_lang-CCA1l-Cz.js";
7
+ import { _ as ye } from "./NoData.vue_vue_type_script_setup_true_lang-DI4X_DSc.js";
8
8
  import { useBreakpoints as Qe, useSnackbar as Ze } from "@feedmepos/ui-library";
9
9
  var re = /* @__PURE__ */ ((t) => (t.line = "LINE", t.bar = "BAR", t))(re || {}), M = /* @__PURE__ */ ((t) => (t.top = "TOP", t.bottom = "BOTTOM", t))(M || {});
10
10
  i.Circular, i.Table, i.BarChart, i.LineChart, i.StackBarChart, i.StackLineChart, i.Scorecard, i.Spacer;
@@ -71,7 +71,7 @@ const Xe = [
71
71
  showSearchBar: !1
72
72
  }
73
73
  ];
74
- function oe(t) {
74
+ function se(t) {
75
75
  const e = [t.schemaName, t.name];
76
76
  return "option" in t && t.option && e.push(t.option), "aggregation" in t && t.aggregation && e.push(t.aggregation), e.push(t.label.replace(/[^a-zA-Z0-9]/g, "")), e.join("_").toLowerCase();
77
77
  }
@@ -125,8 +125,8 @@ function X({
125
125
  function ke(t, e, n) {
126
126
  if (t === "" || e === "")
127
127
  return null;
128
- let p = (o) => o == null ? void 0 : o.replace(/,/g, "");
129
- n === "ID" && (p = (o) => o == null ? void 0 : o.replace(/\./g, "").replace(/,/g, "."));
128
+ let p = (s) => s == null ? void 0 : s.replace(/,/g, "");
129
+ n === "ID" && (p = (s) => s == null ? void 0 : s.replace(/\./g, "").replace(/,/g, "."));
130
130
  const g = Number(p(t)), v = Number(p(e));
131
131
  if (isNaN(g) || isNaN(v))
132
132
  return null;
@@ -161,24 +161,24 @@ const aa = /* @__PURE__ */ H({
161
161
  },
162
162
  emits: ["update:modelValue"],
163
163
  setup(t) {
164
- const e = O(t, "modelValue"), n = s(() => {
165
- var o;
166
- return ((o = e.value.data) == null ? void 0 : o.xAxis) ?? [];
167
- }), p = s(() => {
168
- var o;
169
- return ((o = e.value.data) == null ? void 0 : o.datasets) ?? [];
170
- }), g = s(() => e.value.isTransposed ?? void 0), v = s(() => e.value.showLabel ?? void 0), u = F(null), l = s(() => p.value.length > 0 ? [
171
- ...p.value.map((o, m) => ({
172
- label: o.name,
173
- data: o.values,
174
- dash: !!o.isCompare,
175
- backgroundColor: X({ index: m, isCompare: o.isCompare })
164
+ const e = O(t, "modelValue"), n = o(() => {
165
+ var s;
166
+ return ((s = e.value.data) == null ? void 0 : s.xAxis) ?? [];
167
+ }), p = o(() => {
168
+ var s;
169
+ return ((s = e.value.data) == null ? void 0 : s.datasets) ?? [];
170
+ }), g = o(() => e.value.isTransposed ?? void 0), v = o(() => e.value.showLabel ?? void 0), u = F(null), l = o(() => p.value.length > 0 ? [
171
+ ...p.value.map((s, m) => ({
172
+ label: s.name,
173
+ data: s.values,
174
+ dash: !!s.isCompare,
175
+ backgroundColor: X({ index: m, isCompare: s.isCompare })
176
176
  }))
177
177
  ] : []);
178
- return (o, m) => {
178
+ return (s, m) => {
179
179
  const R = w("FmBarChart");
180
180
  return h(), L(W, null, [
181
- G(o.$slots, "menu"),
181
+ G(s.$slots, "menu"),
182
182
  S(R, {
183
183
  ref_key: "chartRef",
184
184
  ref: u,
@@ -208,7 +208,7 @@ const aa = /* @__PURE__ */ H({
208
208
  },
209
209
  emits: ["update:modelValue"],
210
210
  setup(t) {
211
- const e = O(t, "modelValue"), n = s(() => e.value.showLabel ?? void 0), p = s(() => {
211
+ const e = O(t, "modelValue"), n = o(() => e.value.showLabel ?? void 0), p = o(() => {
212
212
  let g = [];
213
213
  return e.value.data.datasets && e.value.data.metrics && e.value.data.datasets.length > 0 && e.value.data.metrics.length > 0 && (g = [
214
214
  {
@@ -242,7 +242,7 @@ const aa = /* @__PURE__ */ H({
242
242
  ], 64);
243
243
  };
244
244
  }
245
- }), la = { class: "flex flex-col gap-1" }, na = { class: "fm-typo-en-title-sm-600" }, oa = { class: "flex gap-2" }, sa = { key: 0 }, ra = { key: 1 }, ia = /* @__PURE__ */ H({
245
+ }), la = { class: "flex flex-col gap-1" }, na = { class: "fm-typo-en-title-sm-600" }, sa = { class: "flex gap-2" }, oa = { key: 0 }, ra = { key: 1 }, ia = /* @__PURE__ */ H({
246
246
  __name: "WidgetScorecard",
247
247
  props: {
248
248
  modelValue: { required: !0 },
@@ -250,14 +250,14 @@ const aa = /* @__PURE__ */ H({
250
250
  },
251
251
  emits: ["update:modelValue"],
252
252
  setup(t) {
253
- const e = O(t, "modelValue"), { t: n } = ie(), { compareDateRange: p, defaultDateSetting: g } = se(xe()), { country: v } = ue(), u = s(() => {
253
+ const e = O(t, "modelValue"), { t: n } = ie(), { compareDateRange: p, defaultDateSetting: g } = oe(xe()), { country: v } = ue(), u = o(() => {
254
254
  var y;
255
255
  return ((y = e.value.data) == null ? void 0 : y.value) || "";
256
- }), l = s(() => {
256
+ }), l = o(() => {
257
257
  const { data: y } = e.value;
258
258
  return y != null && y.comparison ? ke(u.value, y.comparison, v) : null;
259
259
  });
260
- function o(y) {
260
+ function s(y) {
261
261
  switch (y) {
262
262
  case re.bar:
263
263
  return "bar";
@@ -267,10 +267,10 @@ const aa = /* @__PURE__ */ H({
267
267
  return "line";
268
268
  }
269
269
  }
270
- const m = s(() => {
270
+ const m = o(() => {
271
271
  var y;
272
272
  return (y = e.value.data) == null ? void 0 : y.sparkline;
273
- }), R = s(() => m.value.datasets.map((y) => ({
273
+ }), R = o(() => m.value.datasets.map((y) => ({
274
274
  label: y.name,
275
275
  data: y.values,
276
276
  fill: !0,
@@ -282,7 +282,7 @@ const aa = /* @__PURE__ */ H({
282
282
  return h(), L("div", la, [
283
283
  G(y.$slots, "menu"),
284
284
  k("p", na, Z(u.value), 1),
285
- k("div", oa, [
285
+ k("div", sa, [
286
286
  S(D, {
287
287
  content: `vs. ${(c = j(g).defaultCompareType) == null ? void 0 : c.split("_").join(" ")}`,
288
288
  placement: "right",
@@ -325,8 +325,8 @@ const aa = /* @__PURE__ */ H({
325
325
  _: 1
326
326
  }, 8, ["content"])
327
327
  ]),
328
- m.value ? (h(), L("div", sa, [
329
- o(m.value.type) === "line" ? (h(), $(a, {
328
+ m.value ? (h(), L("div", oa, [
329
+ s(m.value.type) === "line" ? (h(), $(a, {
330
330
  key: 0,
331
331
  class: "sparkline",
332
332
  datasets: R.value,
@@ -335,6 +335,7 @@ const aa = /* @__PURE__ */ H({
335
335
  legend: {
336
336
  display: !1
337
337
  },
338
+ datalabes: { display: !1 },
338
339
  "x-axis": { categories: m.value.dimensions },
339
340
  "maintain-aspect-ratio": !1
340
341
  }, null, 8, ["datasets", "x-axis"])) : K("", !0)
@@ -366,13 +367,13 @@ const da = /* @__PURE__ */ Ke(ua, [["render", ca]]), ma = { class: "my-4" }, pa
366
367
  },
367
368
  emits: ["update:modelValue"],
368
369
  setup(t) {
369
- const { t: e } = ie(), n = O(t, "modelValue"), { country: p } = ue(), g = F(null), v = s(() => {
370
+ const { t: e } = ie(), n = O(t, "modelValue"), { country: p } = ue(), g = F(null), v = o(() => {
370
371
  var a;
371
372
  return ((a = n.value.data) == null ? void 0 : a.columns) || [{ label: "", key: "" }];
372
- }), u = s(() => {
373
+ }), u = o(() => {
373
374
  var a;
374
375
  return ((a = n.value.data) == null ? void 0 : a.rows) || [];
375
- }), l = s(() => n.value.filterText), o = s(() => {
376
+ }), l = o(() => n.value.filterText), s = o(() => {
376
377
  var a, c;
377
378
  if (!(l.value && l.value.trim().length > 0 || !((a = u.value[0]) != null && a.isRollup) && !((c = u.value[u.value.length - 1]) != null && c.isRollup))) {
378
379
  if (n.value.rollupPosition === M.top || n.value.rollupPosition === void 0)
@@ -380,13 +381,13 @@ const da = /* @__PURE__ */ Ke(ua, [["render", ca]]), ma = { class: "my-4" }, pa
380
381
  if (n.value.rollupPosition === M.bottom)
381
382
  return M.bottom;
382
383
  }
383
- }), m = s(() => {
384
- const d = o.value !== void 0 ? 1 : 0, x = (g.value ? g.value.$el.offsetHeight : 0) - 48;
384
+ }), m = o(() => {
385
+ const d = s.value !== void 0 ? 1 : 0, x = (g.value ? g.value.$el.offsetHeight : 0) - 48;
385
386
  return Math.floor((x - 34.5 - 32) / 48) - d;
386
- }), R = s(() => {
387
+ }), R = o(() => {
387
388
  var c, b;
388
389
  let a = [];
389
- switch (o.value) {
390
+ switch (s.value) {
390
391
  case M.top:
391
392
  a = [...((c = u.value[0]) == null ? void 0 : c.cells) || []].map((d, x) => {
392
393
  var _;
@@ -442,10 +443,10 @@ const da = /* @__PURE__ */ Ke(ua, [["render", ca]]), ma = { class: "my-4" }, pa
442
443
  difference: ke(a.main, a.comparison, p)
443
444
  };
444
445
  }
445
- const I = s(() => {
446
+ const I = o(() => {
446
447
  var x, _, N;
447
448
  let a = ((x = n.value.data) == null ? void 0 : x.rows) || [];
448
- switch (o.value) {
449
+ switch (s.value) {
449
450
  case M.bottom:
450
451
  a = (_ = a[a.length - 1]) != null && _.isRollup ? a.slice(0, -1) : a;
451
452
  break;
@@ -461,7 +462,7 @@ const da = /* @__PURE__ */ Ke(ua, [["render", ca]]), ma = { class: "my-4" }, pa
461
462
  )))).map((P) => y(P)), b = c.length % m.value;
462
463
  let d = 0;
463
464
  return b > 0 ? d = Math.abs(b - m.value) : c.length === 0 && (d = m.value), c.push(...T(d)), c;
464
- }), D = s(() => {
465
+ }), D = o(() => {
465
466
  var c;
466
467
  let a = [];
467
468
  return (c = n.value.data) != null && c.columns && (a = [...n.value.data.columns.map((d) => {
@@ -540,27 +541,27 @@ const da = /* @__PURE__ */ Ke(ua, [["render", ca]]), ma = { class: "my-4" }, pa
540
541
  },
541
542
  emits: ["update:modelValue"],
542
543
  setup(t) {
543
- const e = O(t, "modelValue"), n = s(() => {
544
+ const e = O(t, "modelValue"), n = o(() => {
544
545
  var m;
545
546
  return ((m = e.value.data) == null ? void 0 : m.xAxis) || [];
546
- }), p = s(() => {
547
- var o;
548
- return ((o = e.value.data) == null ? void 0 : o.datasets) ?? [];
549
- }), g = s(() => e.value.isTransposed ?? void 0), v = s(() => e.value.showLabel ?? void 0), u = F(null), l = s(() => p.value.length > 0 ? [
550
- ...p.value.map((o, m) => {
551
- let R = o.values;
547
+ }), p = o(() => {
548
+ var s;
549
+ return ((s = e.value.data) == null ? void 0 : s.datasets) ?? [];
550
+ }), g = o(() => e.value.isTransposed ?? void 0), v = o(() => e.value.showLabel ?? void 0), u = F(null), l = o(() => p.value.length > 0 ? [
551
+ ...p.value.map((s, m) => {
552
+ let R = s.values;
552
553
  return {
553
- label: o.name,
554
+ label: s.name,
554
555
  data: R,
555
- dash: !!o.isCompare,
556
- backgroundColor: X({ index: m, isCompare: o.isCompare })
556
+ dash: !!s.isCompare,
557
+ backgroundColor: X({ index: m, isCompare: s.isCompare })
557
558
  };
558
559
  })
559
560
  ] : []);
560
- return (o, m) => {
561
+ return (s, m) => {
561
562
  const R = w("FmBarChart");
562
563
  return h(), L(W, null, [
563
- G(o.$slots, "menu"),
564
+ G(s.$slots, "menu"),
564
565
  S(R, {
565
566
  ref_key: "chartRef",
566
567
  ref: u,
@@ -591,25 +592,25 @@ const da = /* @__PURE__ */ Ke(ua, [["render", ca]]), ma = { class: "my-4" }, pa
591
592
  },
592
593
  emits: ["update:modelValue"],
593
594
  setup(t) {
594
- const e = O(t, "modelValue"), n = s(() => {
595
+ const e = O(t, "modelValue"), n = o(() => {
595
596
  var l;
596
597
  return ((l = e.value.data) == null ? void 0 : l.xAxis) ?? [];
597
- }), p = s(() => {
598
+ }), p = o(() => {
598
599
  var l;
599
600
  return ((l = e.value.data) == null ? void 0 : l.datasets) ?? [];
600
- }), g = s(() => e.value.isTransposed ?? void 0), v = s(() => e.value.showLabel ?? void 0), u = s(() => p.value.length > 0 ? [
601
- ...p.value.map((l, o) => {
601
+ }), g = o(() => e.value.isTransposed ?? void 0), v = o(() => e.value.showLabel ?? void 0), u = o(() => p.value.length > 0 ? [
602
+ ...p.value.map((l, s) => {
602
603
  let m = l.values;
603
604
  return {
604
605
  label: l.name,
605
606
  data: m,
606
607
  dash: l.isCompare,
607
608
  fill: !1,
608
- color: X({ index: o, isCompare: l.isCompare })
609
+ color: X({ index: s, isCompare: l.isCompare })
609
610
  };
610
611
  })
611
612
  ] : []);
612
- return (l, o) => {
613
+ return (l, s) => {
613
614
  const m = w("FmLineChart");
614
615
  return h(), L(W, null, [
615
616
  G(l.$slots, "menu"),
@@ -664,22 +665,22 @@ const Ca = /* @__PURE__ */ H({
664
665
  },
665
666
  emits: ["update:modelValue"],
666
667
  setup(t) {
667
- const e = O(t, "modelValue"), n = s(() => {
668
+ const e = O(t, "modelValue"), n = o(() => {
668
669
  var l;
669
670
  return ((l = e.value.data) == null ? void 0 : l.xAxis) ?? [];
670
- }), p = s(() => {
671
+ }), p = o(() => {
671
672
  var l;
672
673
  return ((l = e.value.data) == null ? void 0 : l.datasets) ?? [];
673
- }), g = s(() => e.value.isTransposed ?? void 0), v = s(() => e.value.showLabel ?? void 0), u = s(() => p.value.length > 0 ? [
674
- ...p.value.map((l, o) => ({
674
+ }), g = o(() => e.value.isTransposed ?? void 0), v = o(() => e.value.showLabel ?? void 0), u = o(() => p.value.length > 0 ? [
675
+ ...p.value.map((l, s) => ({
675
676
  label: l.name,
676
677
  data: l.values,
677
678
  dash: !!l.isCompare,
678
679
  fill: !1,
679
- color: X({ index: o, isCompare: l.isCompare })
680
+ color: X({ index: s, isCompare: l.isCompare })
680
681
  }))
681
682
  ] : []);
682
- return (l, o) => {
683
+ return (l, s) => {
683
684
  const m = w("FmLineChart");
684
685
  return h(), L(W, null, [
685
686
  G(l.$slots, "menu"),
@@ -726,22 +727,22 @@ const Ca = /* @__PURE__ */ H({
726
727
  }),
727
728
  emits: ["update:modelValue"],
728
729
  setup(t) {
729
- const e = F(!0), n = O(t, "modelValue"), { t: p } = ie(), g = t, v = F(null), u = F(n.value.widget.config.rollup), l = F(te()), o = F(n.value.widget.config.drillDimension), m = s(() => {
730
+ const e = F(!0), n = O(t, "modelValue"), { t: p } = ie(), g = t, v = F(null), u = F(n.value.widget.config.rollup), l = F(te()), s = F(n.value.widget.config.drillDimension), m = o(() => {
730
731
  if (U.value.length > 0) {
731
732
  const r = U.value.findIndex(
732
- (f) => f.value === o.value
733
+ (f) => f.value === s.value
733
734
  );
734
735
  return r >= 0 ? r : 0;
735
736
  } else
736
737
  return -1;
737
- }), R = s(() => m.value !== 0), y = s(
738
+ }), R = o(() => m.value !== 0), y = o(
738
739
  () => m.value != U.value.length - 1
739
- ), T = F(n.value.widget.config.showLabel ?? !1), J = s(() => n.value.widget.config.showSearchBar), I = F(""), { breakpoints: D } = Qe(), a = F(), c = s(() => D.value.lg || D.value.md ? ya(n.value.size.width) : D.value.sm ? wa(n.value.size.width) : _a(n.value.size.width)), b = s(
740
+ ), T = F(n.value.widget.config.showLabel ?? !1), J = o(() => n.value.widget.config.showSearchBar), I = F(""), { breakpoints: D } = Qe(), a = F(), c = o(() => D.value.lg || D.value.md ? ya(n.value.size.width) : D.value.sm ? wa(n.value.size.width) : _a(n.value.size.width)), b = o(
740
741
  () => Xe.find((r) => r.type === n.value.widget.type)
741
742
  ), d = be(() => {
742
743
  var r;
743
744
  a.value = Le((r = v.value) == null ? void 0 : r.$el.offsetWidth), l.value = te();
744
- }), x = s(() => {
745
+ }), x = o(() => {
745
746
  if (Ye(C.value.type, _.value))
746
747
  switch (n.value.widget.type) {
747
748
  case i.BarChart:
@@ -765,18 +766,18 @@ const Ca = /* @__PURE__ */ H({
765
766
  }
766
767
  else
767
768
  return ye;
768
- }), _ = F(null), { selectedLocationIds: N, dateRange: P, compareDateRange: E, timeRange: q } = se(xe()), { businessId: Se } = se(ue()), C = s(() => {
769
+ }), _ = F(null), { selectedLocationIds: N, dateRange: P, compareDateRange: E, timeRange: q } = oe(xe()), { businessId: Se } = oe(ue()), C = o(() => {
769
770
  const r = JSON.parse(JSON.stringify(n.value.widget));
770
771
  return {
771
772
  ...r,
772
773
  config: {
773
774
  ...r.config,
774
775
  rollup: u.value,
775
- drillDimension: o.value,
776
+ drillDimension: s.value,
776
777
  showGrandTotal: !1
777
778
  }
778
779
  };
779
- }), ce = s(() => {
780
+ }), ce = o(() => {
780
781
  let r, f, V, z;
781
782
  switch (C.value.type) {
782
783
  case i.Table:
@@ -797,12 +798,12 @@ const Ca = /* @__PURE__ */ H({
797
798
  rollupPosition: z,
798
799
  filterText: V
799
800
  };
800
- }), de = s(() => {
801
+ }), de = o(() => {
801
802
  const { config: r } = n.value.widget;
802
803
  if (r.rollup != null) {
803
804
  const f = [...r.dimensions].filter((V) => !V.hide);
804
805
  return f.sort(
805
- (V, z) => (r.rowIds || []).indexOf(oe(V)) - (r.rowIds || []).indexOf(oe(z))
806
+ (V, z) => (r.rowIds || []).indexOf(se(V)) - (r.rowIds || []).indexOf(se(z))
806
807
  ), [
807
808
  { label: "None", value: null },
808
809
  { label: "Grand Total", value: 0 },
@@ -810,11 +811,11 @@ const Ca = /* @__PURE__ */ H({
810
811
  ];
811
812
  }
812
813
  return [];
813
- }), U = s(() => {
814
+ }), U = o(() => {
814
815
  const { config: r } = C.value;
815
816
  return r.isDrillable ? r.dimensions.map((f) => ({
816
817
  label: f.label,
817
- value: oe(f)
818
+ value: se(f)
818
819
  })) : [];
819
820
  });
820
821
  ae(n.value, (r) => {
@@ -879,11 +880,11 @@ const Ca = /* @__PURE__ */ H({
879
880
  }
880
881
  function De() {
881
882
  const r = m.value - 1;
882
- r >= 0 && (o.value = U.value[r].value);
883
+ r >= 0 && (s.value = U.value[r].value);
883
884
  }
884
885
  function Fe() {
885
886
  const r = m.value + 1;
886
- r >= 0 && r < U.value.length && (o.value = U.value[r].value);
887
+ r >= 0 && r < U.value.length && (s.value = U.value[r].value);
887
888
  }
888
889
  const Re = Object.values(Ue).map((r) => ({
889
890
  label: je(r),
@@ -1000,5 +1001,5 @@ const Ca = /* @__PURE__ */ H({
1000
1001
  export {
1001
1002
  M as R,
1002
1003
  Ba as _,
1003
- oe as g
1004
+ se as g
1004
1005
  };
@@ -2,14 +2,14 @@ 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-CJeWQMdJ.js";
6
- import { _ as na } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-wgBB4qb8.js";
7
- import { d as Bi, a as Kn, h as qn, F as Gn, u as Zn, b as oa } from "./global-loader-KvOGLx9k.js";
5
+ import { _ as sa } from "./Default.vue_vue_type_script_setup_true_lang-BYUgUfMH.js";
6
+ import { _ as na } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-Xex8S8XX.js";
7
+ import { d as Bi, a as Kn, h as qn, F as Gn, u as Zn, b as oa } from "./global-loader-BqFQzk46.js";
8
8
  import { storeToRefs as Jn } from "pinia";
9
9
  import { components as is, useSnackbar as aa } from "@feedmepos/ui-library";
10
- import { c as ys } from "./index-CDf9QIwq.js";
11
- import { _ as ra } from "./NoData.vue_vue_type_script_setup_true_lang-CCA1l-Cz.js";
12
- import { a as la, G as ca } from "./NavigationTab.vue_vue_type_script_setup_true_lang-_Ws6qno4.js";
10
+ import { c as ys } from "./index-Cmh079Bh.js";
11
+ import { _ as ra } from "./NoData.vue_vue_type_script_setup_true_lang-DI4X_DSc.js";
12
+ import { a as la, G as ca } from "./NavigationTab.vue_vue_type_script_setup_true_lang-BdqkXGVB.js";
13
13
  import { useCoreStore as ha } from "@feedmepos/mf-common";
14
14
  function da({ start: i, end: t }) {
15
15
  return `${Bi(t).format("DD MMM")}, ${Bi(t).format("YYYY")}`;
@@ -1,11 +1,11 @@
1
1
  import { defineComponent as q, mergeModels as ye, useModel as X, computed as Y, resolveComponent as S, createElementBlock as F, openBlock as c, createElementVNode as t, createCommentVNode as N, normalizeClass as Ke, Fragment as L, renderList as H, createBlock as M, createVNode as r, withCtx as ge, toDisplayString as T, unref as p, ref as B, watch as ve, isRef as be, h as I, resolveDynamicComponent as xe, mergeProps as Le, onMounted as Ee } from "vue";
2
2
  import { useRouter as de, useRoute as ze } from "vue-router";
3
- import { u as J, I as ce, d as je, e as _e, f as we, b as pe, q as Ye, m as qe, p as he, r as Ve, s as ke, t as $e, v as Ae, w as He, x as Xe, y as Qe, A as fe, z as Pe, B as Ge, E as Je } from "./global-loader-KvOGLx9k.js";
3
+ import { u as J, I as ce, d as je, e as _e, f as we, b as pe, q as Ye, m as qe, p as he, r as Ve, s as ke, t as $e, v as Ae, w as He, x as Xe, y as Qe, A as fe, z as Pe, B as Ge, E as Je } from "./global-loader-BqFQzk46.js";
4
4
  import { u as Se } from "./message-dialog-UoMWOnil.js";
5
5
  import { useSnackbar as ue } from "@feedmepos/ui-library";
6
- import { s as We } from "./index-CDf9QIwq.js";
6
+ import { s as We } from "./index-Cmh079Bh.js";
7
7
  import { storeToRefs as Ce } from "pinia";
8
- import { _ as Fe } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-wgBB4qb8.js";
8
+ import { _ as Fe } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-Xex8S8XX.js";
9
9
  const Ze = { class: "flex flex-row items-center w-[100%] gap-[4px] justify-between" }, et = { class: "text-nowrap w-[100%] overflow-hidden text-ellipsis" }, tt = {
10
10
  key: 0,
11
11
  class: "w-[24px] flex items-center"
@@ -1,11 +1,11 @@
1
1
  import { defineComponent as q, mergeModels as z, useModel as $, computed as G, resolveComponent as b, createBlock as S, unref as n, openBlock as V, withCtx as w, createElementVNode as i, createVNode as m, toDisplayString as J, createTextVNode as Q, ref as T, h as g, createElementBlock as X, Fragment as Y } from "vue";
2
2
  import { useRouter as Z, useRoute as ee } from "vue-router";
3
- import { I as R, u as E, e as N, f as oe, o as P, p as te } from "./global-loader-KvOGLx9k.js";
3
+ import { I as R, u as E, e as N, f as oe, o as P, p as te } from "./global-loader-BqFQzk46.js";
4
4
  import { useBreakpoints as K, useSnackbar as ae, components as le, FmButtonColorThemeVariant as M } from "@feedmepos/ui-library";
5
- import { _ as ne } from "./SelectComponent.vue_vue_type_script_setup_true_lang-CXYvLXnR.js";
5
+ import { _ as ne } from "./SelectComponent.vue_vue_type_script_setup_true_lang-BVs1C4af.js";
6
6
  import { storeToRefs as O } from "pinia";
7
7
  import { u as re } from "./message-dialog-UoMWOnil.js";
8
- import { _ as se } from "./NoData.vue_vue_type_script_setup_true_lang-CCA1l-Cz.js";
8
+ import { _ as se } from "./NoData.vue_vue_type_script_setup_true_lang-DI4X_DSc.js";
9
9
  import { _ as ie } from "./_plugin-vue_export-helper-CHgC5LLL.js";
10
10
  const me = { class: "flex flex-col" }, de = { class: "fm-typo-en-body-lg-600" }, ue = { class: "flex gap-2 overflow-hidden flex-col" }, pe = { class: "flex gap-2 overflow-hidden" }, ce = { class: "flex flex-col w-full" }, fe = { class: "flex flex-col gap-5 p-6" }, ge = { class: "flex" }, ve = /* @__PURE__ */ q({
11
11
  __name: "AddIntegrationDialog",
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as o, resolveComponent as t, createBlock as r, openBlock as n, withCtx as _, createVNode as c } from "vue";
2
- import { _ as a } from "./Default.vue_vue_type_script_setup_true_lang-CJeWQMdJ.js";
2
+ import { _ as a } from "./Default.vue_vue_type_script_setup_true_lang-BYUgUfMH.js";
3
3
  const f = /* @__PURE__ */ o({
4
4
  __name: "Layout",
5
5
  setup(m) {
@@ -1,8 +1,8 @@
1
1
  import { defineComponent as b, createElementBlock as y, openBlock as l, createVNode as d, unref as t, isRef as u, withCtx as g, useModel as R, resolveComponent as _, normalizeClass as x, createElementVNode as F, createBlock as v, createCommentVNode as C, Fragment as V, renderList as M, toDisplayString as T } from "vue";
2
- import { b as $ } from "./global-loader-KvOGLx9k.js";
2
+ import { b as $ } from "./global-loader-BqFQzk46.js";
3
3
  import { storeToRefs as B } from "pinia";
4
- import { a as D, d as I } from "./NavigationTab.vue_vue_type_script_setup_true_lang-_Ws6qno4.js";
5
- import { _ as U } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-wgBB4qb8.js";
4
+ import { a as D, d as I } from "./NavigationTab.vue_vue_type_script_setup_true_lang-BdqkXGVB.js";
5
+ import { _ as U } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-Xex8S8XX.js";
6
6
  import { useBreakpoints as w } from "@feedmepos/ui-library";
7
7
  const S = { class: "flex overflow-x-auto overflow-y-hidden scrollbar-hide" }, N = /* @__PURE__ */ b({
8
8
  __name: "Filter",
@@ -4,15 +4,15 @@ var ds = (e, t, r) => w9(e, typeof t != "symbol" ? t + "" : t, r);
4
4
  import { defineComponent as Hr, computed as Tr, useModel as Ta, ref as Xe, watch as ua, resolveComponent as he, createBlock as Ye, unref as J, openBlock as oe, withCtx as Me, createElementVNode as pe, createVNode as K, toDisplayString as Er, withDirectives as zn, createElementBlock as je, Fragment as br, renderList as jr, vShow as u0, createTextVNode as qa, mergeModels as Cn, createCommentVNode as Ir, normalizeClass as jn, withModifiers as wo, resolveDynamicComponent as vh, onMounted as Bd, renderSlot as Ld, mergeProps as b9, nextTick as C9, withKeys as k9, vModelText as T9, normalizeStyle as E9, isRef as V0, createSlots as F9 } from "vue";
5
5
  import { useRouter as Md, useRoute as Rd } from "vue-router";
6
6
  import { storeToRefs as Ct, defineStore as tu } from "pinia";
7
- import { a as Ri, R as Ds, g as bo, v as P9, d as S9, r as O9, b as xn, c as D9, e as I9, s as N9, u as V9 } from "./v4-BX252AtO.js";
7
+ import { a as Ri, R as Ds, g as bo, v as P9, d as S9, r as O9, b as xn, c as D9, e as I9, s as N9, u as V9 } from "./v4-Dzkr7vpG.js";
8
8
  import { useBreakpoints as nl, components as h0, useSnackbar as Xi, FmButtonVariant as mh, useDialog as B9, useDialogChild as L9 } from "@feedmepos/ui-library";
9
- import { u as ja, i as au, j as il, a as Ua, F as Za, h as Ya, d as Qe, b as zi, k as Hi, l as M9, m as R9, e as X9, n as As } from "./global-loader-KvOGLx9k.js";
10
- import { _ as xh } from "./SelectComponent.vue_vue_type_script_setup_true_lang-CXYvLXnR.js";
11
- import { C as nn, g as z9, a as Xd, s as H9, p as q9 } from "./index-CDf9QIwq.js";
12
- import { detectLocale as ps, useCoreStore as W9 } from "@feedmepos/mf-common";
13
- import { _ as j9 } from "./BaseDialog.vue_vue_type_script_setup_true_lang-DTNiGKgd.js";
14
- import { _ as U9 } from "./_plugin-vue_export-helper-CHgC5LLL.js";
15
- import { a as zd, _ as Z9 } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-wgBB4qb8.js";
9
+ import { u as ja, i as au, j as il, a as Ua, F as Za, h as Ya, d as Qe, b as zi, k as Hi, l as M9, m as R9, e as X9, n as As } from "./global-loader-BqFQzk46.js";
10
+ import { _ as xh } from "./SelectComponent.vue_vue_type_script_setup_true_lang-BVs1C4af.js";
11
+ import { C as nn, g as z9, a as Xd, s as H9, p as q9 } from "./index-Cmh079Bh.js";
12
+ import { _ as W9 } from "./BaseDialog.vue_vue_type_script_setup_true_lang-DTNiGKgd.js";
13
+ import { _ as j9 } from "./_plugin-vue_export-helper-CHgC5LLL.js";
14
+ import { a as zd, _ as U9 } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-Xex8S8XX.js";
15
+ import { detectLocale as ps, useCoreStore as Z9 } from "@feedmepos/mf-common";
16
16
  const Y9 = { class: "flex flex-col" }, G9 = { class: "fm-typo-en-title-sm-600" }, Q9 = { class: "grow" }, K9 = { class: "flex flex-col gap-8" }, J9 = { class: "flex flex-col w-full" }, _9 = { class: "flex flex-col gap-5 p-6" }, $9 = { class: "flex" }, gh = {
17
17
  // sales: [
18
18
  // {
@@ -644,7 +644,7 @@ const nu = /* @__PURE__ */ au(t6), a6 = () => {
644
644
  type: Object,
645
645
  default: () => ({
646
646
  name: "",
647
- option: { type: nn.Year, days: void 0, months: void 0 },
647
+ option: { type: nn.Day, days: void 0, months: void 0 },
648
648
  emails: [],
649
649
  exportFileTypes: [],
650
650
  sendTime: { hour: 0, minute: 0 },
@@ -743,7 +743,7 @@ const nu = /* @__PURE__ */ au(t6), a6 = () => {
743
743
  onClick: x[6] || (x[6] = wo((Y) => d.value = !0, ["stop"]))
744
744
  }, [
745
745
  K(w, {
746
- label: J(r)("report.input.recurrance"),
746
+ label: J(r)("report.input.recurrence"),
747
747
  "model-value": A.value,
748
748
  "prepend-icon": "calendar_month",
749
749
  class: "w-full",
@@ -955,7 +955,7 @@ const nu = /* @__PURE__ */ au(t6), a6 = () => {
955
955
  schedule: r.schedule,
956
956
  onIsOpen: v[1] || (v[1] = (I) => f.value = I)
957
957
  }, null, 8, ["is-open", "schedule"]),
958
- K(j9, {
958
+ K(W9, {
959
959
  modelValue: c.value,
960
960
  "onUpdate:modelValue": v[2] || (v[2] = (I) => c.value = I),
961
961
  title: J(t)("report.schedule.deleteSchedule"),
@@ -1011,7 +1011,7 @@ const nu = /* @__PURE__ */ au(t6), a6 = () => {
1011
1011
  });
1012
1012
  };
1013
1013
  }
1014
- }), w6 = /* @__PURE__ */ U9(y6, [["__scopeId", "data-v-1284dd51"]]), b6 = {
1014
+ }), w6 = /* @__PURE__ */ j9(y6, [["__scopeId", "data-v-1284dd51"]]), b6 = {
1015
1015
  key: 0,
1016
1016
  class: "flex flex-col gap-2"
1017
1017
  }, C6 = { class: "w-full flex flex-row" }, k6 = /* @__PURE__ */ Hr({
@@ -34307,7 +34307,7 @@ const sI = { class: "flex flex-col gap-2" }, lI = { class: "flex gap-2 items-cen
34307
34307
  "onUpdate:modelValue": q[2] || (q[2] = (me) => b.value = me),
34308
34308
  options: J(v)
34309
34309
  }, null, 8, ["modelValue", "options"]),
34310
- K(Z9, {
34310
+ K(U9, {
34311
34311
  "date-range": w.value,
34312
34312
  "onUpdate:dateRange": q[3] || (q[3] = (me) => w.value = me)
34313
34313
  }, null, 8, ["date-range"]),
@@ -34542,7 +34542,7 @@ const JI = { class: "flex gap-2 py-16" }, _I = { class: "fm-typo-en-title-md-400
34542
34542
  currentReport: d,
34543
34543
  isOpenAddReportDialog: A,
34544
34544
  isOpenEmailDialog: p
34545
- } = Ct(Ri()), { isOpenScheduleDialog: v } = Ct(Uo()), { isOpenAccountingDialog: y } = Ct(SS()), m = pl(), { isOpenJobDialog: x } = Ct(m), w = W9();
34545
+ } = Ct(Ri()), { isOpenScheduleDialog: v } = Ct(Uo()), { isOpenAccountingDialog: y } = Ct(SS()), m = pl(), { isOpenJobDialog: x } = Ct(m), w = Z9();
34546
34546
  function T(M) {
34547
34547
  const F = s.value.find((H) => H.value === M);
34548
34548
  F != null && F.route && (l.value = F.value, r.push({ name: F.route, query: a.query }), (F == null ? void 0 : F.route) === "insights" && w.pushDataLayer({ event: gv.report_insight_click_insight_page }));
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as m, computed as s, resolveComponent as p, createElementBlock as f, openBlock as u, renderSlot as d, createVNode as _, withCtx as g, createElementVNode as o, toDisplayString as r } from "vue";
2
- import { u as y } from "./global-loader-KvOGLx9k.js";
2
+ import { u as y } from "./global-loader-BqFQzk46.js";
3
3
  const x = { class: "flex flex-col h-full" }, D = { class: "fm-typo-en-body-lg-600 text-fm-color-typo-primary" }, T = { class: "fm-typo-en-body-sm-400 text-fm-color-typo-secondary text-center" }, v = /* @__PURE__ */ m({
4
4
  __name: "NoData",
5
5
  props: {
@@ -1,11 +1,11 @@
1
1
  import { defineComponent as g, computed as w, resolveComponent as k, createBlock as a, openBlock as t, withCtx as $, createVNode as d, createElementVNode as y, unref as e, normalizeStyle as C, normalizeClass as u, createElementBlock as _, Fragment as h, renderList as B } from "vue";
2
- import { _ as b } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-DnF2zN4s.js";
3
- import { _ as F } from "./Default.vue_vue_type_script_setup_true_lang-CJeWQMdJ.js";
4
- import { a as P } from "./v4-BX252AtO.js";
2
+ import { _ as b } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-DGLtkzSY.js";
3
+ import { _ as F } from "./Default.vue_vue_type_script_setup_true_lang-BYUgUfMH.js";
4
+ import { a as P } from "./v4-Dzkr7vpG.js";
5
5
  import { storeToRefs as R } from "pinia";
6
- import { _ as S } from "./NoData.vue_vue_type_script_setup_true_lang-CCA1l-Cz.js";
6
+ import { _ as S } from "./NoData.vue_vue_type_script_setup_true_lang-DI4X_DSc.js";
7
7
  import { useBreakpoints as V } from "@feedmepos/ui-library";
8
- import { _ as z } from "./MenuTab.vue_vue_type_script_setup_true_lang-DvYLquMC.js";
8
+ import { _ as z } from "./MenuTab.vue_vue_type_script_setup_true_lang-By8VPadv.js";
9
9
  import { useI18n as D } from "@feedmepos/mf-common";
10
10
  const G = /* @__PURE__ */ g({
11
11
  __name: "OverviewView",
@@ -1,11 +1,11 @@
1
1
  import { defineComponent as ce, ref as O, watch as Q, computed as w, h as f, withModifiers as ie, resolveComponent as C, createBlock as T, openBlock as F, withCtx as i, createVNode as n, createElementVNode as y, unref as e, normalizeStyle as me, normalizeClass as _, withDirectives as B, createElementBlock as ue, Fragment as pe, renderList as de, toDisplayString as R, createTextVNode as fe, vShow as D } from "vue";
2
2
  import { storeToRefs as W } from "pinia";
3
- import { a as ve } from "./v4-BX252AtO.js";
4
- import { _ as ye } from "./Default.vue_vue_type_script_setup_true_lang-CJeWQMdJ.js";
3
+ import { a as ve } from "./v4-Dzkr7vpG.js";
4
+ import { _ as ye } from "./Default.vue_vue_type_script_setup_true_lang-BYUgUfMH.js";
5
5
  import { u as ge } from "./message-dialog-UoMWOnil.js";
6
- import { b as be, f as xe } from "./global-loader-KvOGLx9k.js";
6
+ import { b as be, f as xe } from "./global-loader-BqFQzk46.js";
7
7
  import { useSnackbar as Ce, useBreakpoints as _e, components as he, FmButtonColorThemeVariant as ke } from "@feedmepos/ui-library";
8
- import { _ as we } from "./NoData.vue_vue_type_script_setup_true_lang-CCA1l-Cz.js";
8
+ import { _ as we } from "./NoData.vue_vue_type_script_setup_true_lang-DI4X_DSc.js";
9
9
  import { useRouter as $e, useRoute as Ie, onBeforeRouteLeave as Se } from "vue-router";
10
10
  import { useI18n as Fe } from "@feedmepos/mf-common";
11
11
  const Re = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Le = { class: "w-[343px]" }, Ve = { class: "fm-typo-en-body-md-600" }, Ke = /* @__PURE__ */ ce({
@@ -1,13 +1,13 @@
1
1
  import { defineComponent as S, mergeModels as $, useModel as M, ref as N, computed as P, resolveComponent as c, createBlock as b, openBlock as s, withCtx as m, createElementVNode as C, createVNode as a, unref as o, normalizeClass as E, createTextVNode as fe, toDisplayString as O, createElementBlock as x, Fragment as q, renderSlot as j, createCommentVNode as U, watch as ve, resolveDynamicComponent as K, isRef as Q, renderList as H, onMounted as ge, normalizeStyle as _e } from "vue";
2
- import { W as ye, i as Ce, S as be, d as Ve, T as ke, _ as Fe } from "./TransitionFade-DJDFS-B_.js";
3
- import { a as X, v as Y } from "./v4-BX252AtO.js";
2
+ import { W as ye, i as Ce, S as be, d as Ve, T as ke, _ as Fe } from "./TransitionFade-qQ3q829p.js";
3
+ import { a as X, v as Y } from "./v4-Dzkr7vpG.js";
4
4
  import { storeToRefs as Z } from "pinia";
5
5
  import { useRouter as ee, useRoute as oe } from "vue-router";
6
6
  import { useBreakpoints as A, FmButtonColorThemeVariant as W, useSnackbar as xe } from "@feedmepos/ui-library";
7
7
  import { u as te } from "./message-dialog-UoMWOnil.js";
8
- import { _ as le } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-DnF2zN4s.js";
9
- import { _ as re } from "./NoData.vue_vue_type_script_setup_true_lang-CCA1l-Cz.js";
10
- import { u as I, f as he } from "./global-loader-KvOGLx9k.js";
8
+ import { _ as le } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-DGLtkzSY.js";
9
+ import { _ as re } from "./NoData.vue_vue_type_script_setup_true_lang-DI4X_DSc.js";
10
+ import { u as I, f as he } from "./global-loader-BqFQzk46.js";
11
11
  const we = /* @__PURE__ */ S({
12
12
  __name: "WidgetDialog",
13
13
  props: /* @__PURE__ */ $({
@@ -1,14 +1,14 @@
1
1
  import { defineComponent as L, computed as v, resolveComponent as V, createBlock as g, openBlock as u, withCtx as z, createVNode as D, createElementVNode as H, unref as t, normalizeStyle as M, normalizeClass as R, createElementBlock as $, Fragment as Y, renderList as G } from "vue";
2
- import { _ as Q } from "./MenuTab.vue_vue_type_script_setup_true_lang-DvYLquMC.js";
3
- import { _ as U } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-DnF2zN4s.js";
2
+ import { _ as Q } from "./MenuTab.vue_vue_type_script_setup_true_lang-By8VPadv.js";
3
+ import { _ as U } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-DGLtkzSY.js";
4
4
  import { useRouter as W, useRoute as K } from "vue-router";
5
- import { _ as X } from "./Default.vue_vue_type_script_setup_true_lang-CJeWQMdJ.js";
6
- import { a as Z } from "./v4-BX252AtO.js";
5
+ import { _ as X } from "./Default.vue_vue_type_script_setup_true_lang-BYUgUfMH.js";
6
+ import { a as Z } from "./v4-Dzkr7vpG.js";
7
7
  import { storeToRefs as p } from "pinia";
8
- import { b as ee, c as oe, u as te } from "./NavigationTab.vue_vue_type_script_setup_true_lang-_Ws6qno4.js";
9
- import { _ as re } from "./NoData.vue_vue_type_script_setup_true_lang-CCA1l-Cz.js";
8
+ import { b as ee, c as oe, u as te } from "./NavigationTab.vue_vue_type_script_setup_true_lang-BdqkXGVB.js";
9
+ import { _ as re } from "./NoData.vue_vue_type_script_setup_true_lang-DI4X_DSc.js";
10
10
  import { useSnackbar as ae, useBreakpoints as le } from "@feedmepos/ui-library";
11
- import { u as ne, f as ie, e as se } from "./global-loader-KvOGLx9k.js";
11
+ import { u as ne, f as ie, e as se } from "./global-loader-BqFQzk46.js";
12
12
  import { u as ue } from "./message-dialog-UoMWOnil.js";
13
13
  const xe = /* @__PURE__ */ L({
14
14
  __name: "ReportView",
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as B, mergeModels as D, useModel as z, ref as _, computed as i, resolveComponent as t, createBlock as b, openBlock as p, withCtx as s, createElementVNode as r, normalizeStyle as L, withDirectives as U, createElementBlock as $, createVNode as u, unref as E, vShow as H, Fragment as N, renderList as q, toDisplayString as y, normalizeClass as A } from "vue";
2
- import { u as O } from "./global-loader-KvOGLx9k.js";
2
+ import { u as O } from "./global-loader-BqFQzk46.js";
3
3
  const P = { class: "fm-typo-en-body-lg-400 flex gap-4 text-fm-color-typo-primary" }, T = { class: "fm-typo-en-body-lg-400 line-clamp-1" }, j = { class: "sticky top-0" }, K = /* @__PURE__ */ B({
4
4
  __name: "SelectComponent",
5
5
  props: /* @__PURE__ */ D({
@@ -1,11 +1,11 @@
1
1
  import { defineComponent as B, ref as H, useModel as J, resolveComponent as h, createElementBlock as k, openBlock as x, createBlock as M, createElementVNode as t, resolveDynamicComponent as ne, unref as e, withCtx as y, createVNode as a, normalizeClass as O, toDisplayString as s, Fragment as K, renderList as Q, withDirectives as E, createTextVNode as ie, vShow as j, watch as me, normalizeStyle as ue } from "vue";
2
- import { _ as de } from "./Default.vue_vue_type_script_setup_true_lang-CJeWQMdJ.js";
3
- import { u as U, d as z, C as A, D as pe, b as ce } from "./global-loader-KvOGLx9k.js";
2
+ import { _ as de } from "./Default.vue_vue_type_script_setup_true_lang-BYUgUfMH.js";
3
+ import { u as U, d as z, C as A, D as pe, b as ce } from "./global-loader-BqFQzk46.js";
4
4
  import { components as I, useSnackbar as W, useBreakpoints as X, FmButtonColorThemeVariant as G } from "@feedmepos/ui-library";
5
- import { t as N, s as fe } from "./NavigationTab.vue_vue_type_script_setup_true_lang-_Ws6qno4.js";
5
+ import { t as N, s as fe } from "./NavigationTab.vue_vue_type_script_setup_true_lang-BdqkXGVB.js";
6
6
  import { u as ve } from "./message-dialog-UoMWOnil.js";
7
7
  import { detectLocale as F } from "@feedmepos/mf-common";
8
- import { _ as Y } from "./SelectComponent.vue_vue_type_script_setup_true_lang-CXYvLXnR.js";
8
+ import { _ as Y } from "./SelectComponent.vue_vue_type_script_setup_true_lang-BVs1C4af.js";
9
9
  import { storeToRefs as _e } from "pinia";
10
10
  const ge = { class: "px-5 py-2" }, ye = { class: "flex" }, he = { class: "flex px-5 gap-2" }, xe = { class: "flex flex-col gap-2" }, be = { class: "fm-typo-en-title-sm-600" }, Ce = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Ve = { class: "w-full gap-[24px] flex flex-col pt-2" }, Te = { class: "flex items-center w-full gap-3" }, De = { class: "text-fm-color-typo-primary" }, $e = { class: "text-fm-color-typo-secondary" }, Se = { class: "flex items-center gap-2" }, ke = /* @__PURE__ */ B({
11
11
  __name: "ReportHour",
@@ -1,17 +1,17 @@
1
1
  import { defineComponent as W, mergeModels as z, useModel as Y, computed as N, ref as A, resolveComponent as y, createElementBlock as L, openBlock as p, createVNode as d, createElementVNode as x, unref as i, withCtx as C, toDisplayString as I, Fragment as Q, renderList as se, withModifiers as ee, createTextVNode as ne, watch as re, createCommentVNode as T, createBlock as k, renderSlot as Ce, resolveDynamicComponent as _e, normalizeClass as Te, onMounted as Le, normalizeStyle as Be, isRef as Me } from "vue";
2
2
  import { useRoute as Re, useRouter as je } from "vue-router";
3
- import { h as Ee, d as ce, S as fe, W as Ae, a as qe, T as Pe, _ as He } from "./TransitionFade-DJDFS-B_.js";
4
- import { W as S, a as Je } from "./v4-BX252AtO.js";
3
+ import { h as Ee, d as ce, S as fe, W as Ae, a as qe, T as Pe, _ as He } from "./TransitionFade-qQ3q829p.js";
4
+ import { W as S, a as Je } from "./v4-Dzkr7vpG.js";
5
5
  import { storeToRefs as Ve } from "pinia";
6
6
  import { u as Se } from "./message-dialog-UoMWOnil.js";
7
- import { c as he, d as De, p as ze } from "./index-CDf9QIwq.js";
7
+ import { c as he, d as De, p as ze } from "./index-Cmh079Bh.js";
8
8
  import { useSnackbar as Ge, useBreakpoints as Ne, FmButtonColorThemeVariant as me } from "@feedmepos/ui-library";
9
- import { u as Ue } from "./report-schema-Zw8e6-XZ.js";
9
+ import { u as Ue } from "./report-schema-OJAFh4P6.js";
10
10
  import { _ as ie } from "./BaseDialog.vue_vue_type_script_setup_true_lang-DTNiGKgd.js";
11
- import { _ as H } from "./SelectComponent.vue_vue_type_script_setup_true_lang-CXYvLXnR.js";
12
- import { u as le, d as pe } from "./global-loader-KvOGLx9k.js";
13
- import { g as de, _ as $e } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-DnF2zN4s.js";
14
- import { _ as Oe } from "./NoData.vue_vue_type_script_setup_true_lang-CCA1l-Cz.js";
11
+ import { _ as H } from "./SelectComponent.vue_vue_type_script_setup_true_lang-BVs1C4af.js";
12
+ import { u as le, d as pe } from "./global-loader-BqFQzk46.js";
13
+ import { g as de, _ as $e } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-DGLtkzSY.js";
14
+ import { _ as Oe } from "./NoData.vue_vue_type_script_setup_true_lang-DI4X_DSc.js";
15
15
  var oe = /* @__PURE__ */ ((s) => (s.DateTime = "DATE_TIME", s.Hour = "HOUR", s.Day = "DAY", s.Week = "WEEK", s.Month = "MONTH", s.TimeOfDay = "TIME_OF_DAY", s.HourOfDay = "HOUR_OF_DAY", s.DayOfWeek = "DAY_OF_WEEK", s.DayOfMonth = "DAY_OF_MONTH", s.MonthOfYear = "MONTH_OF_YEAR", s.Year = "YEAR", s))(oe || {}), ge = /* @__PURE__ */ ((s) => (s.Asc = "ASC", s.Desc = "DESC", s))(ge || {}), Z = /* @__PURE__ */ ((s) => (s.Equal = "EQUAL", s.NotEqual = "NOT_EQUAL", s.GreaterThan = "GREATER_THAN", s.LessThan = "LESS_THAN", s.GreaterThanOrEqual = "GREATER_THAN_OR_EQUAL", s.LessThanOrEqual = "LESS_THAN_OR_EQUAL", s.Between = "BETWEEN", s.Like = "LIKE", s.NotLike = "NOT_LIKE", s.And = "AND", s.Or = "OR", s))(Z || {}), te = /* @__PURE__ */ ((s) => (s.String = "STRING", s.Timestamp = "TIMESTAMP", s.Bool = "BOOL", s.Numeric = "NUMERIC", s))(te || {});
16
16
  const we = [
17
17
  {
@@ -1,12 +1,12 @@
1
1
  import { defineComponent as Ne, onBeforeMount as cn, onBeforeUnmount as dn, resolveComponent as ge, createElementBlock as ce, openBlock as ne, normalizeStyle as fn, unref as Le, renderSlot as Pe, createVNode as ue, createElementVNode as Lt, toDisplayString as Rt, TransitionGroup as hn, nextTick as Bt, h as St, mergeModels as pn, useModel as Vt, computed as mn, Fragment as vt, renderList as gn, createBlock as vn, normalizeClass as bn, withCtx as ze, createTextVNode as _n, ref as yn, Transition as ct, createCommentVNode as dt } from "vue";
2
- import { u as Xt, f as wn } from "./global-loader-KvOGLx9k.js";
2
+ import { u as Xt, f as wn } from "./global-loader-BqFQzk46.js";
3
3
  import { useCoreStore as En } from "@feedmepos/mf-common";
4
4
  import { storeToRefs as Sn } from "pinia";
5
5
  import { useRoute as Dn } from "vue-router";
6
- import { W as x } from "./v4-BX252AtO.js";
7
- import { p as Cn } from "./index-CDf9QIwq.js";
6
+ import { W as x } from "./v4-Dzkr7vpG.js";
7
+ import { p as Cn } from "./index-Cmh079Bh.js";
8
8
  import { _ as bt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
9
- import { R as Tn } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-DnF2zN4s.js";
9
+ import { R as Tn } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-DGLtkzSY.js";
10
10
  const xn = {
11
11
  key: 0,
12
12
  class: "flex gap-24 flex-col h-screen w-screen justify-center items-center"
package/dist/app.js CHANGED
@@ -175,7 +175,7 @@ const r = {
175
175
  emailHelperText: "Separate @.lower:report.common.email addresses with commas",
176
176
  location: "Location",
177
177
  dateRange: "Date Range",
178
- recurrance: "Recurrance",
178
+ recurrence: "Recurrence",
179
179
  closeSales: "Close sales",
180
180
  to: "to",
181
181
  repeat: "Repeat"
@@ -216,9 +216,9 @@ const r = {
216
216
  table: {
217
217
  date: "Date",
218
218
  no: "No",
219
- loading: "Loading data...",
220
- uploadSuccess: "Upload successful"
219
+ loading: "Loading data..."
221
220
  },
221
+ uploadSuccess: "Upload successful",
222
222
  general: "General",
223
223
  refreshSetting: "Refresh Setting",
224
224
  auto: "Auto {label}",
@@ -621,7 +621,7 @@ const r = {
621
621
  emailHelperText: "用逗号分隔@:report.common.email地址",
622
622
  location: "位置",
623
623
  dateRange: "日期范围",
624
- recurrance: "重复",
624
+ recurrence: "重复",
625
625
  closeSales: "关闭销售",
626
626
  to: "到",
627
627
  repeat: "重复"
@@ -662,9 +662,9 @@ const r = {
662
662
  table: {
663
663
  date: "日期",
664
664
  no: "编号",
665
- loading: "正在加载数据...",
666
- uploadSuccess: "上传成功"
665
+ loading: "正在加载数据..."
667
666
  },
667
+ uploadSuccess: "上传成功",
668
668
  general: "一般",
669
669
  refreshSetting: "刷新设置",
670
670
  auto: "自动{label}",
@@ -1069,7 +1069,7 @@ const r = {
1069
1069
  emailHelperText: "คั่นที่อยู่อีเมลด้วยเครื่องหมายจุลภาค",
1070
1070
  location: "สถานที่",
1071
1071
  dateRange: "ช่วงวันที่",
1072
- recurrance: "ความถี่",
1072
+ recurrence: "ความถี่",
1073
1073
  closeSales: "ปิดการขาย",
1074
1074
  to: "ถึง",
1075
1075
  repeat: "ทำซ้ำ"
@@ -1110,9 +1110,9 @@ const r = {
1110
1110
  table: {
1111
1111
  date: "วันที่",
1112
1112
  no: "เลขที่",
1113
- loading: "กำลังโหลดข้อมูล...",
1114
- uploadSuccess: "อัปโหลดสำเร็จ"
1113
+ loading: "กำลังโหลดข้อมูล..."
1115
1114
  },
1115
+ uploadSuccess: "อัปโหลดสำเร็จ",
1116
1116
  general: "ทั่วไป",
1117
1117
  refreshSetting: "การตั้งค่าการรีเฟรช",
1118
1118
  auto: "อัตโนมัติ {label}",
@@ -1345,51 +1345,51 @@ const r = {
1345
1345
  path: "/overview",
1346
1346
  alias: ["/"],
1347
1347
  name: "overview",
1348
- component: () => import("./OverviewView-B_HYkIRY.js")
1348
+ component: () => import("./OverviewView-DYQewy_Z.js")
1349
1349
  },
1350
1350
  {
1351
1351
  path: "/report",
1352
1352
  name: "reports",
1353
- component: () => import("./Report-DZPR8ccC.js")
1353
+ component: () => import("./Report-DefWkKB4.js")
1354
1354
  },
1355
1355
  {
1356
1356
  path: "/insights",
1357
1357
  name: "insights",
1358
- component: () => import("./InsightView-CXYuVSpH.js")
1358
+ component: () => import("./InsightView-DE5yiW3O.js")
1359
1359
  },
1360
1360
  {
1361
1361
  path: "/report-view",
1362
1362
  name: "reportView",
1363
- component: () => import("./ReportView-BGWJ_OvV.js")
1363
+ component: () => import("./ReportView-BRy5-B-p.js")
1364
1364
  },
1365
1365
  {
1366
1366
  path: "/report-editor",
1367
1367
  name: "reportEditor",
1368
- component: () => import("./ReportEditor-DGABNUfp.js")
1368
+ component: () => import("./ReportEditor-3a7bF4Rl.js")
1369
1369
  },
1370
1370
  {
1371
1371
  path: "/report-editor/tile-editor",
1372
1372
  name: "tileEditor",
1373
- component: () => import("./TileEditor-BIb4cc9R.js")
1373
+ component: () => import("./TileEditor-3do7e-bs.js")
1374
1374
  },
1375
1375
  {
1376
1376
  path: "/setting",
1377
1377
  name: "setting",
1378
- component: () => import("./Setting-O9eULs0H.js")
1378
+ component: () => import("./Setting-bT2va3qo.js")
1379
1379
  },
1380
1380
  {
1381
1381
  path: "/integration",
1382
- component: () => import("./Layout-CVdEU9ys.js"),
1382
+ component: () => import("./Layout-Dz8vZscf.js"),
1383
1383
  children: [
1384
1384
  {
1385
1385
  name: "integrations",
1386
1386
  path: "",
1387
- component: () => import("./Integrations-RluH7jrn.js")
1387
+ component: () => import("./Integrations-B6ACZi86.js")
1388
1388
  },
1389
1389
  {
1390
1390
  name: "integration",
1391
1391
  path: "/integration/:id",
1392
- component: () => import("./Integration-CWrgoMjX.js")
1392
+ component: () => import("./Integration-bg1bO0u3.js")
1393
1393
  }
1394
1394
  ]
1395
1395
  },
@@ -1412,7 +1412,7 @@ const p = {
1412
1412
  "en-US": a,
1413
1413
  "zh-CN": i,
1414
1414
  "th-TH": c
1415
- }, u = e(() => import("./App-Ds-SnsYH.js"));
1415
+ }, u = e(() => import("./App-Dq8dnEJk.js"));
1416
1416
  export {
1417
1417
  u as FmApp,
1418
1418
  p as i18nMessages,
@@ -1713,7 +1713,7 @@ const {
1713
1713
  getAdapter: mc,
1714
1714
  mergeConfig: vc
1715
1715
  } = Oe;
1716
- var ft = { myQueryEngineBackendUrl: "https://query-engine.feedmeapi.com", idQueryEngineBackendUrl: "https://query-engine.id.feedmeapi.com", sgQueryEngineBackendUrl: "https://query-engine.sg.feedmeapi.com", moQueryEngineBackendUrl: "https://query-engine.mo.feedmeapi.com", thQueryEngineBackendUrl: "https://query-engine.th.feedmeapi.com", bnQueryEngineBackendUrl: "https://query-engine.bn.feedmeapi.com" }, he = /* @__PURE__ */ ((e) => (e.Get = "get", e.Post = "post", e.Put = "put", e.Delete = "delete", e))(he || {});
1716
+ var ft = { myQueryEngineBackendUrl: "https://query-engine-dev.feedmeapi.com", idQueryEngineBackendUrl: "https://query-engine.id.feedmeapidev.com", sgQueryEngineBackendUrl: "https://query-engine.sg.feedmeapidev.com", moQueryEngineBackendUrl: "https://query-engine.mo.feedmeapidev.com", thQueryEngineBackendUrl: "https://query-engine.th.feedmeapidev.com", bnQueryEngineBackendUrl: "https://query-engine.bn.feedmeapidev.com" }, he = /* @__PURE__ */ ((e) => (e.Get = "get", e.Post = "post", e.Put = "put", e.Delete = "delete", e))(he || {});
1717
1717
  class to extends Error {
1718
1718
  constructor(n, r) {
1719
1719
  super(n);
@@ -1,4 +1,4 @@
1
- import { d as n } from "./global-loader-KvOGLx9k.js";
1
+ import { d as n } from "./global-loader-BqFQzk46.js";
2
2
  var f = /* @__PURE__ */ ((r) => (r.Year = "YEAR", r.Month = "MONTH", r.Week = "WEEK", r.Day = "DAY", r))(f || {});
3
3
  function T(r, e = 100, t = !1) {
4
4
  let a = null;
@@ -1,4 +1,4 @@
1
- import { F as c, h as s } from "./global-loader-KvOGLx9k.js";
1
+ import { F as c, h as s } from "./global-loader-BqFQzk46.js";
2
2
  import { defineStore as a } from "pinia";
3
3
  import { ref as n } from "vue";
4
4
  import { useSnackbar as m } from "@feedmepos/ui-library";
@@ -1,4 +1,4 @@
1
- import { j as xe, a as te, F as re, h as X, b as Ie, c as ke, n as Ye, d as fe, e as je, k as ze } from "./global-loader-KvOGLx9k.js";
1
+ import { j as xe, a as te, F as re, h as X, b as Ie, c as ke, n as Ye, d as fe, e as je, k as ze } from "./global-loader-BqFQzk46.js";
2
2
  import { storeToRefs as Y, defineStore as He } from "pinia";
3
3
  import { ref as K, computed as Ae, h as Ke, watch as Xe } from "vue";
4
4
  import { useSnackbar as Ze, components as et } from "@feedmepos/ui-library";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@feedmepos/mf-report",
3
- "version": "5.5.3",
3
+ "version": "5.5.4-beta.0",
4
4
  "files": [
5
5
  "dist"
6
6
  ],