@feedmepos/mf-report 5.4.7-beta.5 → 5.4.7-beta.6
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/{DateRangeSelect.vue_vue_type_script_setup_true_lang-1y3bfm-P.js → DateRangeSelect.vue_vue_type_script_setup_true_lang-M17LTF2r.js} +1 -1
- package/dist/{Default.vue_vue_type_script_setup_true_lang-fnarkkwx.js → Default.vue_vue_type_script_setup_true_lang-_LJL_51X.js} +1 -1
- package/dist/{DynamicWidget.vue_vue_type_script_setup_true_lang-q3W16zG2.js → DynamicWidget.vue_vue_type_script_setup_true_lang-0fjgpumu.js} +5 -2
- package/dist/{InsightView-CjgHlbUM.js → InsightView-CwWrGfuQ.js} +4 -4
- package/dist/{Integration-07xKsVh3.js → Integration-XnPLyvmv.js} +2 -2
- package/dist/{Integrations-r6TZCGLG.js → Integrations-S4cav8ab.js} +17 -17
- package/dist/{Layout-IbnqMZij.js → Layout-c0pbO51B.js} +1 -1
- package/dist/{LocationSelect.vue_vue_type_script_setup_true_lang-PUd_MNH5.js → LocationSelect.vue_vue_type_script_setup_true_lang-2MAU2xj7.js} +12 -9
- package/dist/{MenuTab.vue_vue_type_script_setup_true_lang-wGFzMxE1.js → MenuTab.vue_vue_type_script_setup_true_lang-WBdjQ26T.js} +5 -4
- package/dist/{OverviewView-zfQ90wYi.js → OverviewView-Vs70ianF.js} +4 -4
- package/dist/{Report-LiK12Gxt.js → Report-O2vDhIrH.js} +18 -18
- package/dist/{ReportEditor-REKyU4Ml.js → ReportEditor-vbc3amqM.js} +3 -3
- package/dist/{ReportView-4LqEXKsq.js → ReportView-ALqzSSeM.js} +4 -4
- package/dist/{Setting-r94GZCCd.js → Setting-KEycLTa4.js} +3 -3
- package/dist/{TileEditor-mcmq6cct.js → TileEditor-3QHr4FhC.js} +3 -3
- package/dist/{TransitionFade-hpVX4H6B.js → TransitionFade-ldPZBnJ3.js} +2 -2
- package/dist/{app-IQWI2Oae.js → app-rdvMd87h.js} +1098 -1096
- package/dist/app.js +1 -1
- package/dist/style.css +1 -1
- package/dist/{timeFormat-v3xpap9X.js → timeFormat-Rz5WEzHC.js} +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as _, resolveComponent as f, openBlock as r, createBlock as s, withCtx as g, createCommentVNode as D, createElementVNode as x, toDisplayString as F, mergeModels as M, useModel as i, ref as C, watch as b, createElementBlock as P, createVNode as p, unref as I } from "vue";
|
|
2
|
-
import { J as T, C as O, d as n, K as w } from "./app-
|
|
2
|
+
import { J as T, C as O, d as n, K as w } from "./app-rdvMd87h.js";
|
|
3
3
|
const B = { class: "fm-typo-en-body-md-600 text-ellipsis overflow-hidden whitespace-nowrap" }, V = /* @__PURE__ */ _({
|
|
4
4
|
__name: "FilterChip",
|
|
5
5
|
props: {
|
|
@@ -1,5 +1,5 @@
|
|
|
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 { c as v, r as h } from "./app-
|
|
2
|
+
import { c as v, r as h } from "./app-rdvMd87h.js";
|
|
3
3
|
import { useBreakpoints as b } from "@feedmepos/ui-library";
|
|
4
4
|
import { storeToRefs as w } from "pinia";
|
|
5
5
|
import { useRoute as q } from "vue-router";
|
|
@@ -1,5 +1,5 @@
|
|
|
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, a as _e, e as ne, m as Oe, v as ae, l as he, R as qe, n as Ue, o as je, q as Ge } from "./app-
|
|
2
|
+
import { W as n, a as _e, e as ne, m as Oe, v as ae, l as he, R as qe, n as Ue, o as je, q as Ge } from "./app-rdvMd87h.js";
|
|
3
3
|
import { storeToRefs as se } from "pinia";
|
|
4
4
|
import { _ as ge } from "./NoData.vue_vue_type_script_setup_true_lang-FeKqFs4A.js";
|
|
5
5
|
import { useBreakpoints as Je, useSnackbar as Ke } from "@feedmepos/ui-library";
|
|
@@ -953,7 +953,10 @@ const wa = /* @__PURE__ */ E({
|
|
|
953
953
|
class: "w-[150px]",
|
|
954
954
|
items: ue.value
|
|
955
955
|
}, null, 8, ["modelValue", "items"])) : G("", !0),
|
|
956
|
-
d.hideExport ? G("", !0) : (h(), R(Be, {
|
|
956
|
+
d.hideExport ? G("", !0) : (h(), R(Be, {
|
|
957
|
+
key: 4,
|
|
958
|
+
shift: !0
|
|
959
|
+
}, {
|
|
957
960
|
"menu-button": $(() => [
|
|
958
961
|
k(le, {
|
|
959
962
|
icon: "more_vert",
|
|
@@ -2,14 +2,14 @@ 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-_LJL_51X.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 { d as zi, e as Yn, F as Un, f as Xn, g as sa, a as na } from "./app-
|
|
7
|
+
import { _ as ia } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-M17LTF2r.js";
|
|
8
|
+
import { d as zi, e as Yn, F as Un, f as Xn, g as sa, a as na } from "./app-rdvMd87h.js";
|
|
9
9
|
import { storeToRefs as Kn } from "pinia";
|
|
10
10
|
import { useBreakpoints as oa, components as aa, useSnackbar as ra } from "@feedmepos/ui-library";
|
|
11
11
|
import { _ as la } from "./NoData.vue_vue_type_script_setup_true_lang-FeKqFs4A.js";
|
|
12
|
-
import { _ as ca } from "./LocationSelect.vue_vue_type_script_setup_true_lang-
|
|
12
|
+
import { _ as ca } from "./LocationSelect.vue_vue_type_script_setup_true_lang-2MAU2xj7.js";
|
|
13
13
|
function ha({ start: i, end: t }) {
|
|
14
14
|
return `${zi(t).format("DD MMM")}, ${zi(t).format("YYYY")}`;
|
|
15
15
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
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, w as Ue, d as Fe, j as ce, c as fe, b as ve, a as ne, x as Te, y as Ie, z as Ne, t as ge, A as ye, B as xe, E as $e, G as ae, H as ke } from "./app-
|
|
3
|
+
import { I as le, w as Ue, d as Fe, j as ce, c as fe, b as ve, a as ne, x as Te, y as Ie, z as Ne, t as ge, A as ye, B as xe, E as $e, G as ae, H as ke } from "./app-rdvMd87h.js";
|
|
4
4
|
import { useSnackbar as se } from "@feedmepos/ui-library";
|
|
5
5
|
import { storeToRefs as be } from "pinia";
|
|
6
|
-
import { _ as we } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-
|
|
6
|
+
import { _ as we } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-M17LTF2r.js";
|
|
7
7
|
const Ae = { class: "flex flex-row items-center w-[100%] gap-[4px] justify-between" }, Pe = {
|
|
8
8
|
key: 0,
|
|
9
9
|
class: "w-[50%]"
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as P, mergeModels as L, useModel as U, computed as R, resolveComponent as v, unref as C, openBlock as w, createBlock as A, withCtx as x, createElementVNode as r, createVNode as s, createTextVNode as W, 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, j as D, c as X, b as Z, s as $, t as ee, m as oe } from "./app-
|
|
4
|
-
import { useBreakpoints as E, useSnackbar as ae, FmButtonColorThemeVariant as
|
|
3
|
+
import { I as q, j as D, c as X, b as Z, s as $, t as ee, m as oe } from "./app-rdvMd87h.js";
|
|
4
|
+
import { useBreakpoints as E, useSnackbar as ae, FmButtonColorThemeVariant as S, components as te } from "@feedmepos/ui-library";
|
|
5
5
|
import { _ as le } from "./SelectComponent.vue_vue_type_script_setup_true_lang-6i3u0Axg.js";
|
|
6
6
|
import { storeToRefs as G } from "pinia";
|
|
7
7
|
import { _ as ne } from "./NoData.vue_vue_type_script_setup_true_lang-FeKqFs4A.js";
|
|
@@ -16,8 +16,8 @@ const re = { class: "flex gap-2 overflow-hidden flex-col" }, se = { class: "flex
|
|
|
16
16
|
formModifiers: {}
|
|
17
17
|
},
|
|
18
18
|
emits: /* @__PURE__ */ L(["confirm"], ["update:modelValue", "update:form"]),
|
|
19
|
-
setup(
|
|
20
|
-
const u = U(
|
|
19
|
+
setup(h, { emit: V }) {
|
|
20
|
+
const u = U(h, "modelValue"), n = U(h, "form"), { breakpoints: _ } = E(), { options: k } = G(D()), y = R(
|
|
21
21
|
() => k.value.map((i) => ({
|
|
22
22
|
label: i.name,
|
|
23
23
|
value: i.platform,
|
|
@@ -31,7 +31,7 @@ const re = { class: "flex gap-2 overflow-hidden flex-col" }, se = { class: "flex
|
|
|
31
31
|
p("confirm");
|
|
32
32
|
}
|
|
33
33
|
return (i, e) => {
|
|
34
|
-
const F = v("FmTextField"),
|
|
34
|
+
const F = v("FmTextField"), B = v("FmSelect"), b = v("FmButton"), I = v("FmDialog"), N = v("FmBottomSheet");
|
|
35
35
|
return C(_).lg || C(_).md ? (w(), A(I, {
|
|
36
36
|
key: 0,
|
|
37
37
|
modelValue: u.value,
|
|
@@ -51,7 +51,7 @@ const re = { class: "flex gap-2 overflow-hidden flex-col" }, se = { class: "flex
|
|
|
51
51
|
label: "Name",
|
|
52
52
|
placeholder: "Enter a name"
|
|
53
53
|
}, null, 8, ["modelValue"]),
|
|
54
|
-
s(
|
|
54
|
+
s(B, {
|
|
55
55
|
modelValue: n.value.platform,
|
|
56
56
|
"onUpdate:modelValue": e[1] || (e[1] = (l) => n.value.platform = l),
|
|
57
57
|
label: "App",
|
|
@@ -74,7 +74,7 @@ const re = { class: "flex gap-2 overflow-hidden flex-col" }, se = { class: "flex
|
|
|
74
74
|
}, null, 8, ["disabled"])
|
|
75
75
|
]),
|
|
76
76
|
_: 1
|
|
77
|
-
}, 8, ["modelValue"])) : (w(), A(
|
|
77
|
+
}, 8, ["modelValue"])) : (w(), A(N, {
|
|
78
78
|
key: 1,
|
|
79
79
|
modelValue: u.value,
|
|
80
80
|
"onUpdate:modelValue": e[5] || (e[5] = (l) => u.value = l)
|
|
@@ -121,7 +121,7 @@ const re = { class: "flex gap-2 overflow-hidden flex-col" }, se = { class: "flex
|
|
|
121
121
|
}
|
|
122
122
|
}), ce = { class: "gap-24 px-24 py-16 h-full" }, pe = /* @__PURE__ */ P({
|
|
123
123
|
__name: "Integrations",
|
|
124
|
-
setup(
|
|
124
|
+
setup(h) {
|
|
125
125
|
const V = J(), u = Q(), { settings: n, options: _, disabled: k } = G(D()), { getSettings: y } = D(), p = ae(), { promptLoader: f } = X(), g = T(!1), i = T({ name: "", platform: q.AutoCount }), e = R(() => n.value.reduce((a, o) => {
|
|
126
126
|
const d = _.value.find((t) => t.platform === o.platform.name);
|
|
127
127
|
return d && a.push({
|
|
@@ -137,7 +137,7 @@ const re = { class: "flex gap-2 overflow-hidden flex-col" }, se = { class: "flex
|
|
|
137
137
|
await y();
|
|
138
138
|
});
|
|
139
139
|
}
|
|
140
|
-
async function
|
|
140
|
+
async function B() {
|
|
141
141
|
await f(async () => {
|
|
142
142
|
try {
|
|
143
143
|
const a = await $({
|
|
@@ -164,7 +164,7 @@ const re = { class: "flex gap-2 overflow-hidden flex-col" }, se = { class: "flex
|
|
|
164
164
|
query: u.query
|
|
165
165
|
}) : p.open({ type: "error", message: "Invalid integration" });
|
|
166
166
|
}
|
|
167
|
-
const { FmButton:
|
|
167
|
+
const { FmButton: N, FmMenu: l, FmMenuItem: K, FmIcon: fe, FmChip: O } = te, { breakpoints: M } = E(), j = [
|
|
168
168
|
{
|
|
169
169
|
accessorKey: "name",
|
|
170
170
|
header: "Name",
|
|
@@ -246,7 +246,7 @@ const re = { class: "flex gap-2 overflow-hidden flex-col" }, se = { class: "flex
|
|
|
246
246
|
default: () => [
|
|
247
247
|
c(
|
|
248
248
|
l,
|
|
249
|
-
{ stopClickPropagation: !0 },
|
|
249
|
+
{ stopClickPropagation: !0, shift: !0 },
|
|
250
250
|
{
|
|
251
251
|
default: () => d.map(
|
|
252
252
|
(t) => c(
|
|
@@ -262,12 +262,12 @@ const re = { class: "flex gap-2 overflow-hidden flex-col" }, se = { class: "flex
|
|
|
262
262
|
)
|
|
263
263
|
),
|
|
264
264
|
"menu-button": () => c(
|
|
265
|
-
|
|
265
|
+
N,
|
|
266
266
|
{
|
|
267
267
|
variant: "tertiary",
|
|
268
268
|
size: "md",
|
|
269
269
|
icon: "more_vert",
|
|
270
|
-
iconColor:
|
|
270
|
+
iconColor: S.NeutralGray400
|
|
271
271
|
},
|
|
272
272
|
{}
|
|
273
273
|
)
|
|
@@ -290,7 +290,7 @@ const re = { class: "flex gap-2 overflow-hidden flex-col" }, se = { class: "flex
|
|
|
290
290
|
"onUpdate:modelValue": o[0] || (o[0] = (m) => g.value = m),
|
|
291
291
|
form: i.value,
|
|
292
292
|
"onUpdate:form": o[1] || (o[1] = (m) => i.value = m),
|
|
293
|
-
onConfirm:
|
|
293
|
+
onConfirm: B
|
|
294
294
|
}, null, 8, ["modelValue", "form"]),
|
|
295
295
|
s(d, {
|
|
296
296
|
title: "Integration",
|
|
@@ -300,8 +300,8 @@ const re = { class: "flex gap-2 overflow-hidden flex-col" }, se = { class: "flex
|
|
|
300
300
|
label: "Add Integration",
|
|
301
301
|
value: "create",
|
|
302
302
|
isPrimary: !0,
|
|
303
|
-
bgColor: C(k) ? C(
|
|
304
|
-
fontColor: C(k) ? C(
|
|
303
|
+
bgColor: C(k) ? C(S).NeutralGray100 : void 0,
|
|
304
|
+
fontColor: C(k) ? C(S).NeutralGray200 : void 0,
|
|
305
305
|
prependIcon: "add"
|
|
306
306
|
}
|
|
307
307
|
],
|
|
@@ -331,7 +331,7 @@ const re = { class: "flex gap-2 overflow-hidden flex-col" }, se = { class: "flex
|
|
|
331
331
|
], 64);
|
|
332
332
|
};
|
|
333
333
|
}
|
|
334
|
-
}), we = /* @__PURE__ */ oe(pe, [["__scopeId", "data-v-
|
|
334
|
+
}), we = /* @__PURE__ */ oe(pe, [["__scopeId", "data-v-1827f0dd"]]);
|
|
335
335
|
export {
|
|
336
336
|
we as default
|
|
337
337
|
};
|
|
@@ -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-_LJL_51X.js";
|
|
3
3
|
const f = /* @__PURE__ */ o({
|
|
4
4
|
__name: "Layout",
|
|
5
5
|
setup(m) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { defineComponent as k, mergeModels as w, useModel as C, computed as v, ref as V, resolveComponent as i, openBlock as c, createBlock as f, withCtx as
|
|
2
|
-
import { a as T } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-
|
|
3
|
-
import "./app-
|
|
4
|
-
const $ = { class: "flex flex-col bg-fm-color-neutral-white
|
|
1
|
+
import { defineComponent as k, mergeModels as w, useModel as C, computed as v, ref as V, resolveComponent as i, openBlock as c, createBlock as f, withCtx as h, createVNode as n, createElementVNode as y, withDirectives as S, vShow as L, createElementBlock as A, Fragment as B, renderList as D } from "vue";
|
|
2
|
+
import { a as T } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-M17LTF2r.js";
|
|
3
|
+
import "./app-rdvMd87h.js";
|
|
4
|
+
const $ = { class: "flex flex-col bg-fm-color-neutral-white max-h-[408px] overflow-y-auto overflow-x-hidden" }, N = /* @__PURE__ */ k({
|
|
5
5
|
__name: "LocationSelect",
|
|
6
6
|
props: /* @__PURE__ */ w({
|
|
7
7
|
options: {
|
|
@@ -21,7 +21,7 @@ const $ = { class: "flex flex-col bg-fm-color-neutral-white w-[260px] max-h-[408
|
|
|
21
21
|
}),
|
|
22
22
|
emits: ["update:modelValue"],
|
|
23
23
|
setup(t) {
|
|
24
|
-
const e = C(t, "modelValue"),
|
|
24
|
+
const e = C(t, "modelValue"), p = v(() => {
|
|
25
25
|
var l;
|
|
26
26
|
return e.value.length === 1 ? (l = t.options.find((o) => o.id === e.value[0])) == null ? void 0 : l.name : e.value.length > 1 ? `${e.value.length} selected` : "";
|
|
27
27
|
}), r = V(""), g = v(
|
|
@@ -35,15 +35,18 @@ const $ = { class: "flex flex-col bg-fm-color-neutral-white w-[260px] max-h-[408
|
|
|
35
35
|
}
|
|
36
36
|
return (l, o) => {
|
|
37
37
|
const a = i("FmSearch"), m = i("FmMenuDivider"), F = i("FmMenuHeader"), d = i("FmMenuItem"), M = i("FmMenu");
|
|
38
|
-
return c(), f(M, {
|
|
39
|
-
"
|
|
38
|
+
return c(), f(M, {
|
|
39
|
+
"close-on-click": !1,
|
|
40
|
+
shift: !0
|
|
41
|
+
}, {
|
|
42
|
+
"menu-button": h(() => [
|
|
40
43
|
n(T, {
|
|
41
44
|
"left-icon": "storefront",
|
|
42
45
|
"right-icon": "expand_more",
|
|
43
|
-
label:
|
|
46
|
+
label: p.value
|
|
44
47
|
}, null, 8, ["label"])
|
|
45
48
|
]),
|
|
46
|
-
"menu-wrapper":
|
|
49
|
+
"menu-wrapper": h(() => [
|
|
47
50
|
y("div", $, [
|
|
48
51
|
n(a, {
|
|
49
52
|
modelValue: r.value,
|
|
@@ -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 { d as k, a as J } from "./app-
|
|
2
|
+
import { d as k, a as J } from "./app-rdvMd87h.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-2MAU2xj7.js";
|
|
5
|
+
import { a as Z, _ as ee } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-M17LTF2r.js";
|
|
6
|
+
import { t as P, s as te } from "./timeFormat-Rz5WEzHC.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",
|
|
@@ -204,6 +204,7 @@ const ne = { class: "px-24 py-16 rounded-lg shadow-light-300" }, le = { class: "
|
|
|
204
204
|
key: 0,
|
|
205
205
|
trigger: "click",
|
|
206
206
|
placement: "left",
|
|
207
|
+
shift: !0,
|
|
207
208
|
class: B(l(s).sm || l(s).xs ? "pr-3" : "")
|
|
208
209
|
}, {
|
|
209
210
|
"menu-button": _(() => [
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { defineComponent as g, computed as w, resolveComponent as k, openBlock as n, createBlock as a, withCtx as m, createVNode as s, createElementVNode as p, toDisplayString as $, unref as e, createElementBlock as d, createCommentVNode as y, normalizeClass as v, normalizeStyle as C, Fragment as h, renderList as B, withDirectives as D, vShow as b } from "vue";
|
|
2
2
|
import { _ as S } from "./HeaderTab.vue_vue_type_script_setup_true_lang--56TBWoS.js";
|
|
3
|
-
import { _ as V } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-
|
|
4
|
-
import { _ as F } from "./Default.vue_vue_type_script_setup_true_lang-
|
|
5
|
-
import { u as N } from "./app-
|
|
3
|
+
import { _ as V } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-0fjgpumu.js";
|
|
4
|
+
import { _ as F } from "./Default.vue_vue_type_script_setup_true_lang-_LJL_51X.js";
|
|
5
|
+
import { u as N } from "./app-rdvMd87h.js";
|
|
6
6
|
import { storeToRefs as R } from "pinia";
|
|
7
7
|
import { _ as z } from "./NoData.vue_vue_type_script_setup_true_lang-FeKqFs4A.js";
|
|
8
8
|
import { useBreakpoints as E } from "@feedmepos/ui-library";
|
|
9
|
-
import { _ as L } from "./MenuTab.vue_vue_type_script_setup_true_lang-
|
|
9
|
+
import { _ as L } from "./MenuTab.vue_vue_type_script_setup_true_lang-WBdjQ26T.js";
|
|
10
10
|
const O = { class: "fm-typo-en-title-md-600" }, j = {
|
|
11
11
|
key: 0,
|
|
12
12
|
class: "flex gap-2"
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { defineComponent as ne, ref as U, watch as ee, computed as
|
|
1
|
+
import { defineComponent as ne, ref as U, watch as ee, computed as k, resolveComponent as w, openBlock as N, createBlock as B, withCtx as c, createVNode as s, createElementVNode as d, withDirectives as $, unref as e, withModifiers as A, vShow as I, normalizeClass as C, normalizeStyle as ce, toDisplayString as G, createElementBlock as ie, Fragment as ue, renderList as de, createTextVNode as me, h as f } from "vue";
|
|
2
2
|
import { storeToRefs as te } from "pinia";
|
|
3
|
-
import { u as pe, a as fe, b as ve, c as ye } from "./app-
|
|
4
|
-
import { _ as be } from "./Default.vue_vue_type_script_setup_true_lang-
|
|
3
|
+
import { u as pe, a as fe, b as ve, c as ye } from "./app-rdvMd87h.js";
|
|
4
|
+
import { _ as be } from "./Default.vue_vue_type_script_setup_true_lang-_LJL_51X.js";
|
|
5
5
|
import { _ as ge } from "./HeaderTab.vue_vue_type_script_setup_true_lang--56TBWoS.js";
|
|
6
6
|
import { useSnackbar as xe, useBreakpoints as Ce, FmButtonColorThemeVariant as R, components as _e } from "@feedmepos/ui-library";
|
|
7
|
-
import { _ as
|
|
8
|
-
import { useRouter as
|
|
7
|
+
import { _ as he } from "./NoData.vue_vue_type_script_setup_true_lang-FeKqFs4A.js";
|
|
8
|
+
import { useRouter as ke, useRoute as we, onBeforeRouteLeave as $e } from "vue-router";
|
|
9
9
|
const Ie = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Re = { class: "w-[343px]" }, Fe = { class: "fm-typo-en-body-md-600" }, Se = { class: "flex justify-end px-2" }, Be = /* @__PURE__ */ ne({
|
|
10
10
|
__name: "Report",
|
|
11
11
|
setup(Le) {
|
|
12
|
-
const M =
|
|
12
|
+
const M = ke(), j = we(), m = pe(), { business: le } = te(fe()), {
|
|
13
13
|
reports: p,
|
|
14
14
|
categories: F,
|
|
15
15
|
pinReport: S,
|
|
@@ -25,7 +25,7 @@ const Ie = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Re
|
|
|
25
25
|
b.value.$el.children[0].scrollTop = q.value;
|
|
26
26
|
}, 100);
|
|
27
27
|
});
|
|
28
|
-
const D =
|
|
28
|
+
const D = k(() => S.value && p.value ? p.value.filter((l) => {
|
|
29
29
|
var t;
|
|
30
30
|
return (t = S.value) == null ? void 0 : t.includes(l.id);
|
|
31
31
|
}) : []);
|
|
@@ -36,12 +36,12 @@ const Ie = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Re
|
|
|
36
36
|
},
|
|
37
37
|
{ immediate: !0 }
|
|
38
38
|
);
|
|
39
|
-
const E =
|
|
39
|
+
const E = k(() => D.value.length > 0 ? p.value.filter(
|
|
40
40
|
(l) => D.value.findIndex((t) => t.id === l.id) === -1
|
|
41
|
-
) : p.value), { FmButton: V, FmMenu: z, FmMenuItem:
|
|
41
|
+
) : p.value), { FmButton: V, FmMenu: z, FmMenuItem: h, FmIcon: O, FmChip: P } = _e, Q = k(() => [
|
|
42
42
|
{ value: void 0, label: "All" },
|
|
43
43
|
...F.value.map((l) => ({ value: l.id, label: l.name }))
|
|
44
|
-
]), y = U(Q.value[0]), L = U(""), g =
|
|
44
|
+
]), y = U(Q.value[0]), L = U(""), g = k(() => E.value.length === 0 || F.value.length === 0 ? [] : [
|
|
45
45
|
...D.value.map((t) => {
|
|
46
46
|
const o = F.value.find((n) => n.id === t.category);
|
|
47
47
|
return {
|
|
@@ -64,7 +64,7 @@ const Ie = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Re
|
|
|
64
64
|
pin: !1
|
|
65
65
|
};
|
|
66
66
|
}).filter((t) => y.value.value && t.categoryId !== y.value.value ? !1 : t.name.toLowerCase().indexOf(L.value.toLowerCase()) !== -1)
|
|
67
|
-
]), ae =
|
|
67
|
+
]), ae = k(
|
|
68
68
|
() => g.value.map((l) => `${l.name}${l.category}`).toString()
|
|
69
69
|
), re = [
|
|
70
70
|
{
|
|
@@ -147,11 +147,11 @@ const Ie = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Re
|
|
|
147
147
|
),
|
|
148
148
|
f(
|
|
149
149
|
z,
|
|
150
|
-
{ stopClickPropagation: !0 },
|
|
150
|
+
{ stopClickPropagation: !0, shift: !0 },
|
|
151
151
|
{
|
|
152
152
|
default: () => T.map(
|
|
153
153
|
(i) => f(
|
|
154
|
-
|
|
154
|
+
h,
|
|
155
155
|
{
|
|
156
156
|
onClick: i.disabled ? {} : i.onClick,
|
|
157
157
|
label: i.label,
|
|
@@ -265,7 +265,7 @@ const Ie = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Re
|
|
|
265
265
|
}, 8, ["label"])
|
|
266
266
|
]),
|
|
267
267
|
default: c(() => [
|
|
268
|
-
(N(!0), ie(ue, null, de(Q.value, (r, u) => (N(), B(e(
|
|
268
|
+
(N(!0), ie(ue, null, de(Q.value, (r, u) => (N(), B(e(h), {
|
|
269
269
|
key: u,
|
|
270
270
|
label: r.label,
|
|
271
271
|
onClick: (x) => y.value = r
|
|
@@ -345,7 +345,7 @@ const Ie = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Re
|
|
|
345
345
|
})
|
|
346
346
|
]),
|
|
347
347
|
default: c(() => [
|
|
348
|
-
s(e(
|
|
348
|
+
s(e(h), {
|
|
349
349
|
label: r.pin ? "Unpin" : "Pin",
|
|
350
350
|
onClick: () => {
|
|
351
351
|
const u = e(p).find(
|
|
@@ -354,7 +354,7 @@ const Ie = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Re
|
|
|
354
354
|
u && Z(u);
|
|
355
355
|
}
|
|
356
356
|
}, null, 8, ["label", "onClick"]),
|
|
357
|
-
s(e(
|
|
357
|
+
s(e(h), {
|
|
358
358
|
label: "Duplicate",
|
|
359
359
|
onClick: () => {
|
|
360
360
|
const u = e(p).find(
|
|
@@ -363,7 +363,7 @@ const Ie = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Re
|
|
|
363
363
|
u && H(u);
|
|
364
364
|
}
|
|
365
365
|
}, null, 8, ["onClick"]),
|
|
366
|
-
$(s(e(
|
|
366
|
+
$(s(e(h), {
|
|
367
367
|
label: "Delete",
|
|
368
368
|
class: "text-fm-color-typo-error",
|
|
369
369
|
onClick: () => {
|
|
@@ -394,7 +394,7 @@ const Ie = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Re
|
|
|
394
394
|
}, 8, ["class", "row-data", "page-size"])), [
|
|
395
395
|
[I, g.value.length > 0]
|
|
396
396
|
]),
|
|
397
|
-
$(s(
|
|
397
|
+
$(s(he, {
|
|
398
398
|
title: "No report",
|
|
399
399
|
"sub-title": "No report can be found"
|
|
400
400
|
}, null, 512), [
|
|
@@ -1,11 +1,11 @@
|
|
|
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 { u as j, b as K, v as Q, c as ke } from "./app-
|
|
2
|
+
import { W as ge, i as _e, S as ye, D as Ce, T as be, _ as Ve } from "./TransitionFade-ldPZBnJ3.js";
|
|
3
|
+
import { u as j, b as K, v as Q, c as ke } from "./app-rdvMd87h.js";
|
|
4
4
|
import { _ as Fe } from "./HeaderTab.vue_vue_type_script_setup_true_lang--56TBWoS.js";
|
|
5
5
|
import { storeToRefs as X } from "pinia";
|
|
6
6
|
import { useRouter as Z, useRoute as ee } from "vue-router";
|
|
7
7
|
import { useBreakpoints as I, FmButtonColorThemeVariant as q, useSnackbar as xe } from "@feedmepos/ui-library";
|
|
8
|
-
import { _ as oe } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-
|
|
8
|
+
import { _ as oe } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-0fjgpumu.js";
|
|
9
9
|
import { _ as te } from "./NoData.vue_vue_type_script_setup_true_lang-FeKqFs4A.js";
|
|
10
10
|
const we = /* @__PURE__ */ h({
|
|
11
11
|
__name: "WidgetDialog",
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineComponent as z, computed as D, resolveComponent as d, openBlock as n, createBlock as i, withCtx as c, createVNode as u, unref as e, createElementVNode as x, toDisplayString as Y, createElementBlock as f, Fragment as R, renderList as F, normalizeClass as N, normalizeStyle as Q, withDirectives as U, vShow as W } from "vue";
|
|
2
2
|
import { _ as H } from "./HeaderTab.vue_vue_type_script_setup_true_lang--56TBWoS.js";
|
|
3
|
-
import { _ as K } from "./MenuTab.vue_vue_type_script_setup_true_lang-
|
|
4
|
-
import { _ as P } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-
|
|
3
|
+
import { _ as K } from "./MenuTab.vue_vue_type_script_setup_true_lang-WBdjQ26T.js";
|
|
4
|
+
import { _ as P } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-0fjgpumu.js";
|
|
5
5
|
import { useRouter as X, useRoute as Z } from "vue-router";
|
|
6
|
-
import { _ as ee } from "./Default.vue_vue_type_script_setup_true_lang-
|
|
7
|
-
import { b as te, u as oe, c as re, h as ne, i as le, j as ae } from "./app-
|
|
6
|
+
import { _ as ee } from "./Default.vue_vue_type_script_setup_true_lang-_LJL_51X.js";
|
|
7
|
+
import { b as te, u as oe, c as re, h as ne, i as le, j as ae } from "./app-rdvMd87h.js";
|
|
8
8
|
import { storeToRefs as v } from "pinia";
|
|
9
9
|
import { _ as se } from "./NoData.vue_vue_type_script_setup_true_lang-FeKqFs4A.js";
|
|
10
10
|
import { useSnackbar as ie, useBreakpoints as ue, FmButtonColorThemeVariant as y } from "@feedmepos/ui-library";
|
|
@@ -1,9 +1,9 @@
|
|
|
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 ue } from "./HeaderTab.vue_vue_type_script_setup_true_lang--56TBWoS.js";
|
|
3
|
-
import { _ as me } from "./Default.vue_vue_type_script_setup_true_lang-
|
|
4
|
-
import { b as de, d as H, C as J, g as I, D as pe, a as fe } from "./app-
|
|
3
|
+
import { _ as me } from "./Default.vue_vue_type_script_setup_true_lang-_LJL_51X.js";
|
|
4
|
+
import { b as de, d as H, C as J, g as I, D as pe, a as fe } from "./app-rdvMd87h.js";
|
|
5
5
|
import { useSnackbar as K, useBreakpoints as Q, FmButtonColorThemeVariant as q, components as z } from "@feedmepos/ui-library";
|
|
6
|
-
import { t as w, s as ce } from "./timeFormat-
|
|
6
|
+
import { t as w, s as ce } from "./timeFormat-Rz5WEzHC.js";
|
|
7
7
|
import { _ as W } from "./SelectComponent.vue_vue_type_script_setup_true_lang-6i3u0Axg.js";
|
|
8
8
|
import { storeToRefs as ve } from "pinia";
|
|
9
9
|
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,12 +1,12 @@
|
|
|
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-ldPZBnJ3.js";
|
|
4
4
|
import { _ as qe } from "./HeaderTab.vue_vue_type_script_setup_true_lang--56TBWoS.js";
|
|
5
|
-
import { W as C, k as he, _ as te, d as de, g as ye, l as Te, p as Je, b as Se, u as He } from "./app-
|
|
5
|
+
import { W as C, k as he, _ as te, d as de, g as ye, l as Te, p as Je, b as Se, u as He } from "./app-rdvMd87h.js";
|
|
6
6
|
import { storeToRefs as Fe } from "pinia";
|
|
7
7
|
import { useSnackbar as Pe, useBreakpoints as _e, FmButtonColorThemeVariant as se } from "@feedmepos/ui-library";
|
|
8
8
|
import { _ as q } from "./SelectComponent.vue_vue_type_script_setup_true_lang-6i3u0Axg.js";
|
|
9
|
-
import { g as me, _ as De } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-
|
|
9
|
+
import { g as me, _ as De } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-0fjgpumu.js";
|
|
10
10
|
import { _ as Ne } from "./NoData.vue_vue_type_script_setup_true_lang-FeKqFs4A.js";
|
|
11
11
|
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 || {});
|
|
12
12
|
const Ve = [
|
|
@@ -1,9 +1,9 @@
|
|
|
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 { c as yn, W as x, p as _n, m as bt } from "./app-
|
|
2
|
+
import { c as yn, W as x, p as _n, m as bt } from "./app-rdvMd87h.js";
|
|
3
3
|
import { useCoreStore as wn } from "@feedmepos/mf-common";
|
|
4
4
|
import { storeToRefs as En } from "pinia";
|
|
5
5
|
import { useRoute as Dn } from "vue-router";
|
|
6
|
-
import { R as Sn } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-
|
|
6
|
+
import { R as Sn } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-0fjgpumu.js";
|
|
7
7
|
const Cn = {
|
|
8
8
|
key: 0,
|
|
9
9
|
class: "flex gap-24 flex-col h-screen w-screen justify-center items-center"
|