@feedmepos/mf-report 5.4.9 → 5.4.10-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{App-kcBxi_q1.js → App-SIF6lHLh.js} +30 -30
- package/dist/{DateRangeSelect.vue_vue_type_script_setup_true_lang-pLx3gB7Y.js → DateRangeSelect.vue_vue_type_script_setup_true_lang-hQpL5FHX.js} +2 -2
- package/dist/{Default.vue_vue_type_script_setup_true_lang-1lLJDGcu.js → Default.vue_vue_type_script_setup_true_lang-iwJCOJD6.js} +2 -2
- package/dist/{DynamicWidget.vue_vue_type_script_setup_true_lang-yMu4zk2g.js → DynamicWidget.vue_vue_type_script_setup_true_lang-dX_mvV1x.js} +3 -3
- package/dist/{InsightView-GIj2fwLa.js → InsightView-FgiZhBtb.js} +5 -5
- package/dist/{Integration-YTGIj4Ae.js → Integration-leLnO99X.js} +3 -3
- package/dist/{Integrations-drS5pVEz.js → Integrations-bh3DT4es.js} +1 -1
- package/dist/{Layout-G0qypnQY.js → Layout-fD6T0q5c.js} +1 -1
- package/dist/{LocationSelect.vue_vue_type_script_setup_true_lang-PJJaEOeS.js → LocationSelect.vue_vue_type_script_setup_true_lang-g3S7BYN-.js} +2 -2
- package/dist/{MenuTab.vue_vue_type_script_setup_true_lang-UHwO2Vm5.js → MenuTab.vue_vue_type_script_setup_true_lang-66XCdIkn.js} +4 -4
- package/dist/{NavigationTab.vue_vue_type_script_setup_true_lang-LsUKLCAW.js → NavigationTab.vue_vue_type_script_setup_true_lang-fXBPYayv.js} +3 -3
- package/dist/{OverviewView-1MQAX-5G.js → OverviewView-ZQlfq5yy.js} +4 -4
- package/dist/{Report-WYkPEjUh.js → Report-_xQdeMoM.js} +3 -3
- package/dist/{ReportEditor-6EAPap-S.js → ReportEditor-Hzfu4OCe.js} +4 -4
- package/dist/{ReportView-aky03f2y.js → ReportView-w2pt6bPe.js} +6 -6
- package/dist/{Setting-IV26Ng45.js → Setting-9aTR2KdB.js} +4 -4
- package/dist/{TileEditor-Qn4ZRR39.js → TileEditor-AC6K6gLB.js} +6 -6
- package/dist/{TransitionFade-_dSKw899.js → TransitionFade-sEcanNsT.js} +4 -4
- package/dist/app.js +11 -11
- package/dist/{global-loader-hSpvBPX1.js → global-loader-kvJ6QmNj.js} +1 -1
- package/dist/{index-JAqUtp7I.js → index-PldaTS9O.js} +1 -1
- package/dist/{report-schema-IBXDBT4U.js → report-schema-FnZn9GD-.js} +1 -1
- package/dist/{timeFormat-yx3JOmGm.js → timeFormat-GYBV_DQe.js} +1 -1
- package/dist/{v4-Ihuna0O0.js → v4-oStGcMDo.js} +3592 -3571
- package/package.json +1 -1
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as N, resolveComponent as w, openBlock as c, createBlock as U, unref as u, isRef as H, withCtx as _, createTextVNode as Q, toDisplayString as R, createElementVNode as V, createVNode as k, computed as q, watch as y, onBeforeMount as X, onMounted as j, onBeforeUnmount as z, ref as Y, createElementBlock as S, Fragment as Z } from "vue";
|
|
2
2
|
import { useCoreStore as h } from "@feedmepos/mf-common";
|
|
3
|
-
import { u as M, a as ee, b as te, c as oe, d as re, e as ne } from "./global-loader-
|
|
3
|
+
import { u as M, a as ee, b as te, c as oe, d as re, e as ne } from "./global-loader-kvJ6QmNj.js";
|
|
4
4
|
import { storeToRefs as b } from "pinia";
|
|
5
|
-
import { u as se, a as ae } from "./v4-
|
|
6
|
-
import { u as ue } from "./report-schema-
|
|
7
|
-
import { _ as le, u as ie } from "./NavigationTab.vue_vue_type_script_setup_true_lang-
|
|
5
|
+
import { u as se, a as ae } from "./v4-oStGcMDo.js";
|
|
6
|
+
import { u as ue } from "./report-schema-FnZn9GD-.js";
|
|
7
|
+
import { _ as le, u as ie } from "./NavigationTab.vue_vue_type_script_setup_true_lang-fXBPYayv.js";
|
|
8
8
|
import { u as L } from "./message-dialog-yXvmoAPz.js";
|
|
9
9
|
import { useRoute as ce } from "vue-router";
|
|
10
|
-
const me = { class: "fm-typo-en-body-md-400 text-ellipsis overflow-hidden" }, de = /* @__PURE__ */
|
|
10
|
+
const me = { class: "fm-typo-en-body-md-400 text-ellipsis overflow-hidden" }, de = /* @__PURE__ */ N({
|
|
11
11
|
__name: "Dialog",
|
|
12
|
-
setup(
|
|
12
|
+
setup(x) {
|
|
13
13
|
const o = L(), { isOpened: r, message: l, title: i } = b(L());
|
|
14
14
|
return (m, n) => {
|
|
15
15
|
const d = w("FmButton"), f = w("FmDialog");
|
|
16
|
-
return c(),
|
|
16
|
+
return c(), U(f, {
|
|
17
17
|
modelValue: u(r),
|
|
18
|
-
"onUpdate:modelValue": n[0] || (n[0] = (p) =>
|
|
18
|
+
"onUpdate:modelValue": n[0] || (n[0] = (p) => H(r) ? r.value = p : null),
|
|
19
19
|
overlay: "",
|
|
20
20
|
"close-button": !1
|
|
21
21
|
}, {
|
|
22
22
|
"dialog-header": _(() => [
|
|
23
|
-
Q(
|
|
23
|
+
Q(R(u(i)), 1)
|
|
24
24
|
]),
|
|
25
25
|
default: _(() => [
|
|
26
|
-
|
|
26
|
+
V("p", me, R(u(l)), 1)
|
|
27
27
|
]),
|
|
28
28
|
"dialog-footer": _(() => [
|
|
29
|
-
n[1] || (n[1] =
|
|
29
|
+
n[1] || (n[1] = V("div", { class: "grow" }, null, -1)),
|
|
30
30
|
k(d, {
|
|
31
31
|
label: "Cancel",
|
|
32
32
|
variant: "tertiary",
|
|
@@ -41,10 +41,10 @@ const me = { class: "fm-typo-en-body-md-400 text-ellipsis overflow-hidden" }, de
|
|
|
41
41
|
}, 8, ["modelValue"]);
|
|
42
42
|
};
|
|
43
43
|
}
|
|
44
|
-
}), ve = ["src"], fe = ["src"], Ce = /* @__PURE__ */
|
|
44
|
+
}), ve = ["src"], fe = ["src"], Ce = /* @__PURE__ */ N({
|
|
45
45
|
__name: "App",
|
|
46
|
-
setup(
|
|
47
|
-
const { businessId: o, token: r, country: l } = b(M()), { sessionUser: i, currentBusiness: m, currentCountry: n, registerSidebarComponent: d } = h(), { getRestaurantAndWarehouse: f, getBusinessSetting: p } = ee(), { getFeatureFlags:
|
|
46
|
+
setup(x) {
|
|
47
|
+
const { businessId: o, token: r, country: l } = b(M()), { sessionUser: i, currentBusiness: m, currentCountry: n, registerSidebarComponent: d } = h(), { getRestaurantAndWarehouse: f, getBusinessSetting: p } = ee(), { getFeatureFlags: D } = te(), { version: s } = b(se()), { getSettings: I } = oe(), a = ce(), { promptLoader: O } = re(), T = q(() => `https://portal-v1.feedmedev.cc/b/${o.value}/report/CLOSE_UP?showHeader=false&country=${l.value.toUpperCase()}&menuOption=business-report&token=${r.value}&v2=true&reportV5Button=true`), A = q(() => `https://report-v4.feedmedev.cc?businessId=${o.value}&country=${l.value}&token=${r.value}&reportV3Button=true`);
|
|
48
48
|
y(
|
|
49
49
|
// if route query pass in the detail we switch accordingly
|
|
50
50
|
[() => a.query, () => m.value, () => i.value],
|
|
@@ -74,37 +74,37 @@ const me = { class: "fm-typo-en-body-md-400 text-ellipsis overflow-hidden" }, de
|
|
|
74
74
|
}
|
|
75
75
|
y(s, () => {
|
|
76
76
|
["v3", "v4"].includes(s.value) ? h().hideSidebarToggle(!0) : h().hideSidebarToggle(!1);
|
|
77
|
-
}),
|
|
77
|
+
}), X(() => {
|
|
78
78
|
d(le);
|
|
79
|
-
}),
|
|
80
|
-
console.log("5.4.
|
|
79
|
+
}), j(() => {
|
|
80
|
+
console.log("5.4.10-beta.0", !0), window.addEventListener("message", C), window.addEventListener("message", $);
|
|
81
81
|
});
|
|
82
82
|
const F = ae(), B = ie();
|
|
83
|
-
|
|
83
|
+
z(() => {
|
|
84
84
|
window.removeEventListener("message", C), window.removeEventListener("message", $), F.$dispose(), B.$dispose();
|
|
85
85
|
});
|
|
86
|
-
const { getReports: J, getOverviewReport:
|
|
86
|
+
const { getReports: J, getOverviewReport: W, getReportConfig: E } = F, { getSchema: G } = ue(), { fetchSchedules: K } = B, { init: P } = ne(), g = Y("v5");
|
|
87
87
|
return y(
|
|
88
88
|
() => o.value,
|
|
89
89
|
() => {
|
|
90
90
|
o.value !== "" && O(async () => {
|
|
91
|
-
await
|
|
92
|
-
apiKey: "
|
|
91
|
+
await P({
|
|
92
|
+
apiKey: "MaGoXrEWuEJNpWgKTqseee",
|
|
93
93
|
url: "https://flag.feedme.farm/api/v1/",
|
|
94
94
|
enableAnalytics: !1,
|
|
95
95
|
cacheFlags: !1
|
|
96
96
|
});
|
|
97
|
-
const t = await
|
|
97
|
+
const t = await E();
|
|
98
98
|
g.value = t.version, s.value = g.value, await Promise.all([
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
99
|
+
D(),
|
|
100
|
+
E(),
|
|
101
|
+
W(),
|
|
102
102
|
J(),
|
|
103
|
-
|
|
104
|
-
|
|
103
|
+
G(),
|
|
104
|
+
K(),
|
|
105
105
|
p(),
|
|
106
106
|
f(),
|
|
107
|
-
|
|
107
|
+
I()
|
|
108
108
|
]);
|
|
109
109
|
});
|
|
110
110
|
},
|
|
@@ -123,7 +123,7 @@ const me = { class: "fm-typo-en-body-md-400 text-ellipsis overflow-hidden" }, de
|
|
|
123
123
|
key: 1,
|
|
124
124
|
class: "bg-white h-full w-full",
|
|
125
125
|
src: A.value
|
|
126
|
-
}, null, 8, fe)) : (c(),
|
|
126
|
+
}, null, 8, fe)) : (c(), U(v, { key: 2 }))
|
|
127
127
|
], 64);
|
|
128
128
|
};
|
|
129
129
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as k, resolveComponent as f, openBlock as d, createBlock as c, withCtx as g, createCommentVNode as D, createElementVNode as _, toDisplayString as x, renderSlot as M, mergeModels as P, useModel as i, ref as h, watch as C, createElementBlock as T, createVNode as p, unref as I } from "vue";
|
|
2
|
-
import { v as O, C as $, f as n } from "./global-loader-
|
|
3
|
-
import { b as w } from "./index-
|
|
2
|
+
import { v as O, C as $, f as n } from "./global-loader-kvJ6QmNj.js";
|
|
3
|
+
import { b as w } from "./index-PldaTS9O.js";
|
|
4
4
|
const B = { class: "fm-typo-en-body-md-600 text-ellipsis overflow-hidden whitespace-nowrap" }, V = /* @__PURE__ */ k({
|
|
5
5
|
__name: "FilterChip",
|
|
6
6
|
props: {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent as u, computed as f, resolveComponent as p, openBlock as r, createElementBlock as s, normalizeClass as d, unref as e, normalizeStyle as n, createBlock as y, createCommentVNode as _, createVNode as k, createElementVNode as x, renderSlot as g } from "vue";
|
|
2
|
-
import { _ as v } from "./NavigationTab.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { _ as v } from "./NavigationTab.vue_vue_type_script_setup_true_lang-fXBPYayv.js";
|
|
3
3
|
import { useBreakpoints as h } from "@feedmepos/ui-library";
|
|
4
4
|
import { storeToRefs as b } from "pinia";
|
|
5
|
-
import { d as w } from "./global-loader-
|
|
5
|
+
import { d as w } from "./global-loader-kvJ6QmNj.js";
|
|
6
6
|
import { useRoute as q } from "vue-router";
|
|
7
7
|
const C = {
|
|
8
8
|
key: 1,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as E, useModel as z, computed as i, ref as D, resolveComponent as y, openBlock as h, createElementBlock as S, Fragment as W, renderSlot as U, createVNode as k, createElementVNode as C, toDisplayString as K, unref as q, withCtx as $, createBlock as R, normalizeClass as te, normalizeStyle as ye, createCommentVNode as G, h as fe, renderList as we, mergeModels as Ie, watch as ee, onMounted as Pe, onUnmounted as We, resolveDynamicComponent as Ee, withDirectives as ze, vShow as He } from "vue";
|
|
2
|
-
import { W as n, v as ae, R as Oe, g as qe, d as Ue, q as je } from "./v4-
|
|
3
|
-
import { a as _e, u as ne } from "./global-loader-
|
|
4
|
-
import { d as he } from "./index-
|
|
2
|
+
import { W as n, v as ae, R as Oe, g as qe, d as Ue, q as je } from "./v4-oStGcMDo.js";
|
|
3
|
+
import { a as _e, u as ne } from "./global-loader-kvJ6QmNj.js";
|
|
4
|
+
import { d as he } from "./index-PldaTS9O.js";
|
|
5
5
|
import { storeToRefs as se } from "pinia";
|
|
6
6
|
import { _ as Ge } from "./_plugin-vue_export-helper-hUChTQA_.js";
|
|
7
7
|
import { _ as ge } from "./NoData.vue_vue_type_script_setup_true_lang-FeKqFs4A.js";
|
|
@@ -2,15 +2,15 @@ var Xo = Object.defineProperty;
|
|
|
2
2
|
var Ko = (i, t, e) => t in i ? Xo(i, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : i[t] = e;
|
|
3
3
|
var k = (i, t, e) => (Ko(i, typeof t != "symbol" ? t + "" : t, e), e);
|
|
4
4
|
import { ref as Ht, defineComponent as ne, watch as ri, computed as wt, onMounted as qo, openBlock as z, createElementBlock as U, createElementVNode as R, renderSlot as jn, toDisplayString as ft, resolveDirective as $n, Fragment as Ei, renderList as Ii, withDirectives as Ge, createVNode as tt, createCommentVNode as Mt, normalizeClass as Ze, resolveComponent as li, unref as Qt, useModel as Go, createBlock as ue, resolveDynamicComponent as Zo, withCtx as Jt, createTextVNode as Qo, isRef as ki, nextTick as Jo } from "vue";
|
|
5
|
-
import { _ as ta } from "./Default.vue_vue_type_script_setup_true_lang-
|
|
5
|
+
import { _ as ta } from "./Default.vue_vue_type_script_setup_true_lang-iwJCOJD6.js";
|
|
6
6
|
import { _ as ea } from "./HeaderTab.vue_vue_type_script_setup_true_lang--56TBWoS.js";
|
|
7
|
-
import { _ as ia } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-
|
|
8
|
-
import { f as zi, u as Yn, F as Un, g as Xn, a as sa } from "./global-loader-
|
|
7
|
+
import { _ as ia } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-hQpL5FHX.js";
|
|
8
|
+
import { f as zi, u as Yn, F as Un, g as Xn, a as sa } from "./global-loader-kvJ6QmNj.js";
|
|
9
9
|
import { storeToRefs as Kn } from "pinia";
|
|
10
|
-
import { c as na } from "./index-
|
|
10
|
+
import { c as na } from "./index-PldaTS9O.js";
|
|
11
11
|
import { useBreakpoints as oa, components as aa, useSnackbar as ra } from "@feedmepos/ui-library";
|
|
12
12
|
import { _ as la } from "./NoData.vue_vue_type_script_setup_true_lang-FeKqFs4A.js";
|
|
13
|
-
import { _ as ca } from "./LocationSelect.vue_vue_type_script_setup_true_lang-
|
|
13
|
+
import { _ as ca } from "./LocationSelect.vue_vue_type_script_setup_true_lang-g3S7BYN-.js";
|
|
14
14
|
function ha({ start: i, end: t }) {
|
|
15
15
|
return `${zi(t).format("DD MMM")}, ${zi(t).format("YYYY")}`;
|
|
16
16
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { defineComponent as M, mergeModels as Ve, useModel as L, computed as R, resolveComponent as V, openBlock as u, createElementBlock as k, createElementVNode as l, normalizeClass as De, Fragment as K, renderList as j, createVNode as o, createBlock as T, withCtx as ue, toDisplayString as me, createCommentVNode as Y, unref as H, ref as P, watch as re, isRef as pe, h as F, resolveDynamicComponent as de, onMounted as Ce } from "vue";
|
|
2
2
|
import { useRouter as oe, useRoute as Se } from "vue-router";
|
|
3
|
-
import { I as le, f as Ue, c as ce, d as fe, a as ne, o as Fe, p as Te, k as Ie, n as ve, q as ge, r as ye, s as $e, A as ae, t as ke } from "./global-loader-
|
|
3
|
+
import { I as le, f as Ue, c as ce, d as fe, a as ne, o as Fe, p as Te, k as Ie, n as ve, q as ge, r as ye, s as $e, A as ae, t as ke } from "./global-loader-kvJ6QmNj.js";
|
|
4
4
|
import { u as xe } from "./message-dialog-yXvmoAPz.js";
|
|
5
5
|
import { useSnackbar as se } from "@feedmepos/ui-library";
|
|
6
6
|
import { storeToRefs as be } from "pinia";
|
|
7
|
-
import { _ as we } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-
|
|
8
|
-
import { s as Ne } from "./index-
|
|
7
|
+
import { _ as we } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-hQpL5FHX.js";
|
|
8
|
+
import { s as Ne } from "./index-PldaTS9O.js";
|
|
9
9
|
const Ae = { class: "flex flex-row items-center w-[100%] gap-[4px] justify-between" }, Pe = {
|
|
10
10
|
key: 0,
|
|
11
11
|
class: "w-[50%]"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as P, mergeModels as W, useModel as U, computed as R, resolveComponent as v, unref as x, openBlock as w, createBlock as h, withCtx as k, createElementVNode as r, createVNode as s, createTextVNode as j, ref as T, createElementBlock as z, Fragment as Y, h as c } from "vue";
|
|
2
2
|
import { useRouter as J, useRoute as Q } from "vue-router";
|
|
3
|
-
import { I as q, c as D, d as X, m as $, n as Z } from "./global-loader-
|
|
3
|
+
import { I as q, c as D, d as X, m as $, n as Z } from "./global-loader-kvJ6QmNj.js";
|
|
4
4
|
import { useBreakpoints as E, useSnackbar as ee, FmButtonColorThemeVariant as S, components as oe } from "@feedmepos/ui-library";
|
|
5
5
|
import { _ as ae } from "./SelectComponent.vue_vue_type_script_setup_true_lang-6i3u0Axg.js";
|
|
6
6
|
import { storeToRefs as G } from "pinia";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as o, resolveComponent as t, openBlock as r, createBlock as n, withCtx as _, createVNode as c } from "vue";
|
|
2
|
-
import { _ as a } from "./Default.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { _ as a } from "./Default.vue_vue_type_script_setup_true_lang-iwJCOJD6.js";
|
|
3
3
|
const f = /* @__PURE__ */ o({
|
|
4
4
|
__name: "Layout",
|
|
5
5
|
setup(m) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as kt, mergeModels as tu, useModel as qs, ref as ge, onMounted as ry, openBlock as F, createElementBlock as de, Fragment as Ve, unref as Ct, createBlock as ce, createCommentVNode as Ze, computed as mt, watch as Dn, resolveComponent as q, createElementVNode as ae, renderList as gt, withCtx as Oe, createVNode as P, toDisplayString as dr, renderSlot as Ks, mergeProps as ay, normalizeClass as iy, withModifiers as uy, withDirectives as oy, vShow as sy, nextTick as ly } from "vue";
|
|
2
|
-
import { a as cy } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-
|
|
3
|
-
import { a as dy } from "./global-loader-
|
|
2
|
+
import { a as cy } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-hQpL5FHX.js";
|
|
3
|
+
import { a as dy } from "./global-loader-kvJ6QmNj.js";
|
|
4
4
|
import { useBreakpoints as Gs, useDialog as fy, useDialogChild as py } from "@feedmepos/ui-library";
|
|
5
5
|
const hy = { class: "px-8" }, vy = { class: "max-h-[160px] overflow-y-auto" }, my = /* @__PURE__ */ kt({
|
|
6
6
|
__name: "FilterEntry",
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent as D, mergeModels as K, useModel as z, ref as T, resolveComponent as i, openBlock as d, createBlock as R, withCtx as _, createVNode as m, createElementVNode as u, createElementBlock as $, Fragment as w, renderList as E, createTextVNode as Q, toDisplayString as x, withDirectives as W, vShow as X, unref as l, createCommentVNode as C, isRef as V, normalizeClass as B } from "vue";
|
|
2
|
-
import { f as k, a as J } from "./global-loader-
|
|
2
|
+
import { f as k, a as J } from "./global-loader-kvJ6QmNj.js";
|
|
3
3
|
import { storeToRefs as j } from "pinia";
|
|
4
|
-
import { _ as Y } from "./LocationSelect.vue_vue_type_script_setup_true_lang-
|
|
5
|
-
import { a as Z, _ as ee } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-
|
|
6
|
-
import { t as P, s as te } from "./timeFormat-
|
|
4
|
+
import { _ as Y } from "./LocationSelect.vue_vue_type_script_setup_true_lang-g3S7BYN-.js";
|
|
5
|
+
import { a as Z, _ as ee } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-hQpL5FHX.js";
|
|
6
|
+
import { t as P, s as te } from "./timeFormat-GYBV_DQe.js";
|
|
7
7
|
import { useBreakpoints as oe } from "@feedmepos/ui-library";
|
|
8
8
|
const ne = { class: "px-24 py-16 rounded-lg shadow-light-300" }, le = { class: "text-fm-color-typo-primary" }, ae = { class: "text-fm-color-typo-secondary" }, me = { class: "flex items-center justify-center w-full" }, re = { class: "flex items-center justify-center" }, se = { class: "flex flex-row mb-4 px-4 gap-2" }, ue = "HH:mm", ie = /* @__PURE__ */ D({
|
|
9
9
|
__name: "TimeRangeSelect",
|
|
@@ -4,10 +4,10 @@ var za = (e, t, r) => (Lo(e, typeof t != "symbol" ? t + "" : t, r), r);
|
|
|
4
4
|
import { defineComponent as zr, computed as wr, useModel as zt, ref as Ve, watch as fn, resolveComponent as pe, unref as xe, openBlock as be, createBlock as er, withCtx as Ee, createElementVNode as ye, createVNode as se, createTextVNode as Ct, withDirectives as Sa, createElementBlock as gr, Fragment as bt, renderList as Dt, toDisplayString as Da, vShow as Fa, mergeModels as Ia, createCommentVNode as Wt, normalizeClass as ia, withModifiers as Bo, resolveDynamicComponent as Li, isRef as Rn, createSlots as Mo } from "vue";
|
|
5
5
|
import { useRouter as Js, useRoute as qs } from "vue-router";
|
|
6
6
|
import { storeToRefs as Pr, defineStore as Zs } from "pinia";
|
|
7
|
-
import { a as Pa, R as I0, g as Qs, v as Uo, d as Vo, u as Wo } from "./v4-
|
|
7
|
+
import { a as Pa, R as I0, g as Qs, v as Uo, d as Vo, u as Wo } from "./v4-oStGcMDo.js";
|
|
8
8
|
import { useBreakpoints as kn, components as sa, useSnackbar as Tn, FmButtonVariant as Bi } from "@feedmepos/ui-library";
|
|
9
|
-
import { h as Ho, i as Xo, u as pt, F as vt, g as gt, f as Pe, a as n0, j as La, k as Go, c as $o, l as Ya } from "./global-loader-
|
|
10
|
-
import { C as it, g as zo, a as ef, p as Yo } from "./index-
|
|
9
|
+
import { h as Ho, i as Xo, u as pt, F as vt, g as gt, f as Pe, a as n0, j as La, k as Go, c as $o, l as Ya } from "./global-loader-kvJ6QmNj.js";
|
|
10
|
+
import { C as it, g as zo, a as ef, p as Yo } from "./index-PldaTS9O.js";
|
|
11
11
|
import { _ as jo } from "./BaseDialog.vue_vue_type_script_setup_true_lang-MQNSV-xg.js";
|
|
12
12
|
import { _ as Ko } from "./_plugin-vue_export-helper-hUChTQA_.js";
|
|
13
13
|
const Jo = { class: "grow" }, qo = { class: "flex flex-col gap-8" }, Zo = { class: "flex flex-col w-full" }, Qo = { class: "flex flex-col gap-5 p-6" }, el = { class: "flex" }, Mi = {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { defineComponent as x, computed as g, resolveComponent as k, openBlock as t, createBlock as l, withCtx as w, createVNode as c, unref as e, createElementVNode as $, normalizeClass as d, normalizeStyle as y, createElementBlock as u, Fragment as C, renderList as h } from "vue";
|
|
2
2
|
import { useBreakpoints as B } from "@feedmepos/ui-library";
|
|
3
|
-
import { _ as b } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-
|
|
4
|
-
import { _ as D } from "./Default.vue_vue_type_script_setup_true_lang-
|
|
5
|
-
import { a as F } from "./v4-
|
|
3
|
+
import { _ as b } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-dX_mvV1x.js";
|
|
4
|
+
import { _ as D } from "./Default.vue_vue_type_script_setup_true_lang-iwJCOJD6.js";
|
|
5
|
+
import { a as F } from "./v4-oStGcMDo.js";
|
|
6
6
|
import { storeToRefs as P } from "pinia";
|
|
7
7
|
import { _ as R } from "./NoData.vue_vue_type_script_setup_true_lang-FeKqFs4A.js";
|
|
8
|
-
import { _ as S } from "./MenuTab.vue_vue_type_script_setup_true_lang-
|
|
8
|
+
import { _ as S } from "./MenuTab.vue_vue_type_script_setup_true_lang-66XCdIkn.js";
|
|
9
9
|
const q = /* @__PURE__ */ x({
|
|
10
10
|
__name: "OverviewView",
|
|
11
11
|
setup(V) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent as re, ref as N, watch as H, computed as k, resolveComponent as x, openBlock as $, createBlock as P, withCtx as i, createVNode as n, createElementVNode as y, normalizeClass as _, unref as l, normalizeStyle as se, toDisplayString as z, createElementBlock as ie, Fragment as ce, renderList as ue, withDirectives as O, createTextVNode as me, vShow as T, h as p, withModifiers as de } from "vue";
|
|
2
2
|
import { storeToRefs as Q } from "pinia";
|
|
3
|
-
import { a as pe } from "./v4-
|
|
4
|
-
import { _ as fe } from "./Default.vue_vue_type_script_setup_true_lang-
|
|
3
|
+
import { a as pe } from "./v4-oStGcMDo.js";
|
|
4
|
+
import { _ as fe } from "./Default.vue_vue_type_script_setup_true_lang-iwJCOJD6.js";
|
|
5
5
|
import { u as ve } from "./message-dialog-yXvmoAPz.js";
|
|
6
|
-
import { a as ye, d as be } from "./global-loader-
|
|
6
|
+
import { a as ye, d as be } from "./global-loader-kvJ6QmNj.js";
|
|
7
7
|
import { useSnackbar as ge, useBreakpoints as Ce, components as xe, FmButtonColorThemeVariant as _e } from "@feedmepos/ui-library";
|
|
8
8
|
import { _ as he } from "./NoData.vue_vue_type_script_setup_true_lang-FeKqFs4A.js";
|
|
9
9
|
import { useRouter as ke, useRoute as we, onBeforeRouteLeave as Ie } from "vue-router";
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { defineComponent as h, mergeModels as w, useModel as R, ref as D, computed as N, resolveComponent as m, openBlock as r, createBlock as y, withCtx as u, createTextVNode as pe, createVNode as t, normalizeClass as U, unref as l, createElementVNode as _, createElementBlock as F, Fragment as B, renderSlot as A, createCommentVNode as O, watch as ce, resolveDynamicComponent as G, isRef as Y, toDisplayString as L, renderList as z, onMounted as fe, normalizeStyle as ve } from "vue";
|
|
2
|
-
import { W as ge, i as _e, S as ye, D as Ce, T as be, _ as Ve } from "./TransitionFade-
|
|
3
|
-
import { a as j, v as K } from "./v4-
|
|
2
|
+
import { W as ge, i as _e, S as ye, D as Ce, T as be, _ as Ve } from "./TransitionFade-sEcanNsT.js";
|
|
3
|
+
import { a as j, v as K } from "./v4-oStGcMDo.js";
|
|
4
4
|
import { _ as ke } from "./HeaderTab.vue_vue_type_script_setup_true_lang--56TBWoS.js";
|
|
5
5
|
import { storeToRefs as Q } from "pinia";
|
|
6
6
|
import { useRouter as X, useRoute as Z } from "vue-router";
|
|
7
7
|
import { useBreakpoints as I, FmButtonColorThemeVariant as q, useSnackbar as Fe } from "@feedmepos/ui-library";
|
|
8
8
|
import { u as ee } from "./message-dialog-yXvmoAPz.js";
|
|
9
|
-
import { _ as oe } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-
|
|
9
|
+
import { _ as oe } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-dX_mvV1x.js";
|
|
10
10
|
import { _ as te } from "./NoData.vue_vue_type_script_setup_true_lang-FeKqFs4A.js";
|
|
11
|
-
import { d as xe } from "./global-loader-
|
|
11
|
+
import { d as xe } from "./global-loader-kvJ6QmNj.js";
|
|
12
12
|
const we = /* @__PURE__ */ h({
|
|
13
13
|
__name: "WidgetDialog",
|
|
14
14
|
props: /* @__PURE__ */ w({
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { defineComponent as F, computed as f, resolveComponent as J, openBlock as s, createBlock as v, withCtx as L, createVNode as x, unref as t, createElementVNode as T, normalizeClass as w, normalizeStyle as V, createElementBlock as S, Fragment as z, renderList as H } from "vue";
|
|
2
2
|
import { useSnackbar as M, useBreakpoints as Y } from "@feedmepos/ui-library";
|
|
3
|
-
import { _ as G } from "./MenuTab.vue_vue_type_script_setup_true_lang-
|
|
4
|
-
import { _ as Q } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-
|
|
3
|
+
import { _ as G } from "./MenuTab.vue_vue_type_script_setup_true_lang-66XCdIkn.js";
|
|
4
|
+
import { _ as Q } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-dX_mvV1x.js";
|
|
5
5
|
import { useRouter as U, useRoute as W } from "vue-router";
|
|
6
|
-
import { _ as j } from "./Default.vue_vue_type_script_setup_true_lang-
|
|
7
|
-
import { a as K } from "./v4-
|
|
6
|
+
import { _ as j } from "./Default.vue_vue_type_script_setup_true_lang-iwJCOJD6.js";
|
|
7
|
+
import { a as K } from "./v4-oStGcMDo.js";
|
|
8
8
|
import { storeToRefs as c } from "pinia";
|
|
9
|
-
import { a as X, u as Z } from "./NavigationTab.vue_vue_type_script_setup_true_lang-
|
|
9
|
+
import { a as X, u as Z } from "./NavigationTab.vue_vue_type_script_setup_true_lang-fXBPYayv.js";
|
|
10
10
|
import { _ as ee } from "./NoData.vue_vue_type_script_setup_true_lang-FeKqFs4A.js";
|
|
11
|
-
import { d as oe, c as te } from "./global-loader-
|
|
11
|
+
import { d as oe, c as te } from "./global-loader-kvJ6QmNj.js";
|
|
12
12
|
import { u as re } from "./message-dialog-yXvmoAPz.js";
|
|
13
13
|
const ye = /* @__PURE__ */ F({
|
|
14
14
|
__name: "ReportView",
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { defineComponent as $, ref as F, useModel as P, resolveComponent as C, openBlock as y, createElementBlock as S, createBlock as U, resolveDynamicComponent as ne, unref as e, withCtx as v, createElementVNode as l, createVNode as n, normalizeClass as h, Fragment as L, renderList as Y, createTextVNode as G, toDisplayString as g, withDirectives as B, vShow as M, watch as re, normalizeStyle as ie } from "vue";
|
|
2
2
|
import { _ as me } from "./HeaderTab.vue_vue_type_script_setup_true_lang--56TBWoS.js";
|
|
3
|
-
import { _ as ue } from "./Default.vue_vue_type_script_setup_true_lang-
|
|
4
|
-
import { f as H, C as J, D as de, a as pe } from "./global-loader-
|
|
3
|
+
import { _ as ue } from "./Default.vue_vue_type_script_setup_true_lang-iwJCOJD6.js";
|
|
4
|
+
import { f as H, C as J, D as de, a as pe } from "./global-loader-kvJ6QmNj.js";
|
|
5
5
|
import { useSnackbar as I, useBreakpoints as K, FmButtonColorThemeVariant as q, components as z } from "@feedmepos/ui-library";
|
|
6
|
-
import { t as w, s as fe } from "./timeFormat-
|
|
6
|
+
import { t as w, s as fe } from "./timeFormat-GYBV_DQe.js";
|
|
7
7
|
import { u as ce } from "./message-dialog-yXvmoAPz.js";
|
|
8
|
-
import { c as Q } from "./index-
|
|
8
|
+
import { c as Q } from "./index-PldaTS9O.js";
|
|
9
9
|
import { _ as W } from "./SelectComponent.vue_vue_type_script_setup_true_lang-6i3u0Axg.js";
|
|
10
10
|
import { storeToRefs as ve } from "pinia";
|
|
11
11
|
const ge = { class: "flex" }, ye = { class: "flex px-5 gap-2" }, _e = { class: "w-full gap-[24px] flex flex-col pt-2" }, xe = { class: "flex items-center w-full gap-3" }, Ce = { class: "text-fm-color-typo-primary" }, Ve = { class: "text-fm-color-typo-secondary" }, be = { class: "flex items-center gap-2" }, De = /* @__PURE__ */ $({
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { defineComponent as P, mergeModels as H, useModel as z, computed as N, ref as j, resolveComponent as f, openBlock as d, createElementBlock as $, createVNode as s, withCtx as w, createElementVNode as F, Fragment as G, renderList as ue, toDisplayString as X, withModifiers as Z, unref as T, createTextVNode as oe, watch as ie, createBlock as V, createCommentVNode as x, renderSlot as we, resolveDynamicComponent as xe, normalizeClass as Ce, onMounted as Oe, isRef as $e, normalizeStyle as Ie } from "vue";
|
|
2
2
|
import { useRoute as Le, useRouter as Me } from "vue-router";
|
|
3
|
-
import { h as Be, D as re, S as ve, W as Re, a as Ae, T as je, _ as Ee } from "./TransitionFade-
|
|
3
|
+
import { h as Be, D as re, S as ve, W as Re, a as Ae, T as je, _ as Ee } from "./TransitionFade-sEcanNsT.js";
|
|
4
4
|
import { _ as qe } from "./HeaderTab.vue_vue_type_script_setup_true_lang--56TBWoS.js";
|
|
5
|
-
import { W as C, a as Je } from "./v4-
|
|
5
|
+
import { W as C, a as Je } from "./v4-oStGcMDo.js";
|
|
6
6
|
import { storeToRefs as ye } from "pinia";
|
|
7
7
|
import { u as he } from "./message-dialog-yXvmoAPz.js";
|
|
8
|
-
import { c as Fe, d as Te, p as He } from "./index-
|
|
8
|
+
import { c as Fe, d as Te, p as He } from "./index-PldaTS9O.js";
|
|
9
9
|
import { useSnackbar as Pe, useBreakpoints as Se, FmButtonColorThemeVariant as se } from "@feedmepos/ui-library";
|
|
10
|
-
import { u as _e } from "./report-schema-
|
|
10
|
+
import { u as _e } from "./report-schema-FnZn9GD-.js";
|
|
11
11
|
import { _ as te } from "./BaseDialog.vue_vue_type_script_setup_true_lang-MQNSV-xg.js";
|
|
12
12
|
import { _ as q } from "./SelectComponent.vue_vue_type_script_setup_true_lang-6i3u0Axg.js";
|
|
13
|
-
import { g as me, _ as De } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-
|
|
14
|
-
import { f as de } from "./global-loader-
|
|
13
|
+
import { g as me, _ as De } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-dX_mvV1x.js";
|
|
14
|
+
import { f as de } from "./global-loader-kvJ6QmNj.js";
|
|
15
15
|
import { _ as Ne } from "./NoData.vue_vue_type_script_setup_true_lang-FeKqFs4A.js";
|
|
16
16
|
var le = /* @__PURE__ */ ((u) => (u.DateTime = "DATE_TIME", u.Hour = "HOUR", u.Day = "DAY", u.Week = "WEEK", u.Month = "MONTH", u.TimeOfDay = "TIME_OF_DAY", u.HourOfDay = "HOUR_OF_DAY", u.DayOfWeek = "DAY_OF_WEEK", u.DayOfMonth = "DAY_OF_MONTH", u.MonthOfYear = "MONTH_OF_YEAR", u.Year = "YEAR", u))(le || {}), pe = /* @__PURE__ */ ((u) => (u.Asc = "ASC", u.Desc = "DESC", u))(pe || {}), Q = /* @__PURE__ */ ((u) => (u.Equal = "EQUAL", u.NotEqual = "NOT_EQUAL", u.GreaterThan = "GREATER_THAN", u.LessThan = "LESS_THAN", u.GreaterThanOrEqual = "GREATER_THAN_OR_EQUAL", u.LessThanOrEqual = "LESS_THAN_OR_EQUAL", u.Between = "BETWEEN", u.Like = "LIKE", u.NotLike = "NOT_LIKE", u.And = "AND", u.Or = "OR", u))(Q || {}), ae = /* @__PURE__ */ ((u) => (u.String = "STRING", u.Timestamp = "TIMESTAMP", u.Bool = "BOOL", u.Numeric = "NUMERIC", u))(ae || {});
|
|
17
17
|
const Ve = [
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { defineComponent as Ne, onBeforeMount as sn, onBeforeUnmount as un, resolveComponent as ge, openBlock as ne, createElementBlock as ce, normalizeStyle as cn, unref as Ve, createVNode as ue, createElementVNode as Lt, renderSlot as Pe, TransitionGroup as dn, h as Dt, nextTick as Rt, mergeModels as fn, useModel as Bt, Fragment as vt, renderList as hn, createBlock as pn, normalizeClass as mn, withCtx as ze, createTextVNode as gn, toDisplayString as vn, ref as bn, Transition as ct, createCommentVNode as dt } from "vue";
|
|
2
|
-
import { d as _n } from "./global-loader-
|
|
2
|
+
import { d as _n } from "./global-loader-kvJ6QmNj.js";
|
|
3
3
|
import { useCoreStore as yn } from "@feedmepos/mf-common";
|
|
4
4
|
import { storeToRefs as wn } from "pinia";
|
|
5
5
|
import { useRoute as En } from "vue-router";
|
|
6
|
-
import { W as x } from "./v4-
|
|
7
|
-
import { p as Dn } from "./index-
|
|
6
|
+
import { W as x } from "./v4-oStGcMDo.js";
|
|
7
|
+
import { p as Dn } from "./index-PldaTS9O.js";
|
|
8
8
|
import { _ as bt } from "./_plugin-vue_export-helper-hUChTQA_.js";
|
|
9
|
-
import { R as Sn } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-
|
|
9
|
+
import { R as Sn } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-dX_mvV1x.js";
|
|
10
10
|
const Cn = {
|
|
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
|
@@ -13,51 +13,51 @@ const r = {
|
|
|
13
13
|
path: "/overview",
|
|
14
14
|
alias: ["/"],
|
|
15
15
|
name: "overview",
|
|
16
|
-
component: () => import("./OverviewView-
|
|
16
|
+
component: () => import("./OverviewView-ZQlfq5yy.js")
|
|
17
17
|
},
|
|
18
18
|
{
|
|
19
19
|
path: "/report",
|
|
20
20
|
name: "reports",
|
|
21
|
-
component: () => import("./Report-
|
|
21
|
+
component: () => import("./Report-_xQdeMoM.js")
|
|
22
22
|
},
|
|
23
23
|
{
|
|
24
24
|
path: "/insights",
|
|
25
25
|
name: "insights",
|
|
26
|
-
component: () => import("./InsightView-
|
|
26
|
+
component: () => import("./InsightView-FgiZhBtb.js")
|
|
27
27
|
},
|
|
28
28
|
{
|
|
29
29
|
path: "/report-view",
|
|
30
30
|
name: "reportView",
|
|
31
|
-
component: () => import("./ReportView-
|
|
31
|
+
component: () => import("./ReportView-w2pt6bPe.js")
|
|
32
32
|
},
|
|
33
33
|
{
|
|
34
34
|
path: "/report-editor",
|
|
35
35
|
name: "reportEditor",
|
|
36
|
-
component: () => import("./ReportEditor-
|
|
36
|
+
component: () => import("./ReportEditor-Hzfu4OCe.js")
|
|
37
37
|
},
|
|
38
38
|
{
|
|
39
39
|
path: "/report-editor/tile-editor",
|
|
40
40
|
name: "tileEditor",
|
|
41
|
-
component: () => import("./TileEditor-
|
|
41
|
+
component: () => import("./TileEditor-AC6K6gLB.js")
|
|
42
42
|
},
|
|
43
43
|
{
|
|
44
44
|
path: "/setting",
|
|
45
45
|
name: "setting",
|
|
46
|
-
component: () => import("./Setting-
|
|
46
|
+
component: () => import("./Setting-9aTR2KdB.js")
|
|
47
47
|
},
|
|
48
48
|
{
|
|
49
49
|
path: "/integration",
|
|
50
|
-
component: () => import("./Layout-
|
|
50
|
+
component: () => import("./Layout-fD6T0q5c.js"),
|
|
51
51
|
children: [
|
|
52
52
|
{
|
|
53
53
|
name: "integrations",
|
|
54
54
|
path: "",
|
|
55
|
-
component: () => import("./Integrations-
|
|
55
|
+
component: () => import("./Integrations-bh3DT4es.js")
|
|
56
56
|
},
|
|
57
57
|
{
|
|
58
58
|
name: "integration",
|
|
59
59
|
path: "/integration/:id",
|
|
60
|
-
component: () => import("./Integration-
|
|
60
|
+
component: () => import("./Integration-leLnO99X.js")
|
|
61
61
|
}
|
|
62
62
|
]
|
|
63
63
|
},
|
|
@@ -79,7 +79,7 @@ o({
|
|
|
79
79
|
const c = {
|
|
80
80
|
"en-US": n,
|
|
81
81
|
"zh-CN": i
|
|
82
|
-
}, h = t(() => import("./App-
|
|
82
|
+
}, h = t(() => import("./App-SIF6lHLh.js"));
|
|
83
83
|
export {
|
|
84
84
|
h as FmApp,
|
|
85
85
|
c as i18nMessages,
|
|
@@ -1458,7 +1458,7 @@ N.formToJSON = (t) => Pn(v.isHTMLForm(t) ? new FormData(t) : t);
|
|
|
1458
1458
|
N.getAdapter = qn.getAdapter;
|
|
1459
1459
|
N.HttpStatusCode = ai;
|
|
1460
1460
|
N.default = N;
|
|
1461
|
-
var Vt = { myQueryEngineBackendUrl: "https://query-engine.feedmeapi.com", idQueryEngineBackendUrl: "https://query-engine.id.feedmeapi.
|
|
1461
|
+
var Vt = { myQueryEngineBackendUrl: "https://query-engine-dev.feedmeapi.com", idQueryEngineBackendUrl: "https://query-engine.id.feedmeapi.dev", sgQueryEngineBackendUrl: "https://query-engine.sg.feedmeapi.dev" }, Z = /* @__PURE__ */ ((t) => (t.Get = "get", t.Post = "post", t.Put = "put", t.Delete = "delete", t))(Z || {});
|
|
1462
1462
|
function qe(t = "MY") {
|
|
1463
1463
|
let e = Vt.myQueryEngineBackendUrl;
|
|
1464
1464
|
switch (t) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { f as s } from "./global-loader-
|
|
1
|
+
import { f as s } from "./global-loader-kvJ6QmNj.js";
|
|
2
2
|
const u = (t) => s().set("hour", t.hour).set("minute", t.minute).format("h:mm A"), m = (t, e) => {
|
|
3
3
|
const o = s().set("hour", t.hour).set("minute", t.minute);
|
|
4
4
|
return s().set("hour", e.hour).set("minute", e.minute) < o ? "+1" : "";
|