@feedmepos/mf-report 5.12.0-beta.0 → 5.13.0-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-Dt-SMnWu.js → App-Ct3yuLBM.js} +3 -3
- package/dist/{v4-DW_zpoT-.js → BaseDialog.vue_vue_type_script_setup_true_lang-BVh9CBG8.js} +582 -508
- package/dist/{Default.vue_vue_type_script_setup_true_lang-BSwve-GF.js → Default.vue_vue_type_script_setup_true_lang-Dm_oN-5O.js} +1 -1
- package/dist/{DynamicWidget.vue_vue_type_script_setup_true_lang-BWxjFFx4.js → DynamicWidget.vue_vue_type_script_setup_true_lang-wpgkxZrA.js} +1 -1
- package/dist/{InsightView-Cf_uIadw.js → InsightView-DRwRR0H4.js} +2 -2
- package/dist/{Layout-DcBp5c1L.js → Layout-C1VAizPU.js} +1 -1
- package/dist/{MenuTab.vue_vue_type_script_setup_true_lang-COVQ5t0s.js → MenuTab.vue_vue_type_script_setup_true_lang-BUhdTqWm.js} +24 -22
- package/dist/{NavigationTab.vue_vue_type_script_setup_true_lang-CcgTfmOk.js → NavigationTab.vue_vue_type_script_setup_true_lang-CyvrW5EA.js} +25 -26
- package/dist/{OverviewView-C-xKuZxs.js → OverviewView-CyMUY5vR.js} +4 -4
- package/dist/{Report-DcL0fAqT.js → Report-C5VE4kBy.js} +2 -2
- package/dist/ReportEditor-JeuV4I-i.js +1017 -0
- package/dist/{ReportView-BUMzxXKN.js → ReportView-Cdotft9j.js} +5 -5
- package/dist/{Setting-Dx-ZiLqK.js → Setting-T1QsZfb_.js} +2 -2
- package/dist/TileEditor-CjtPunhn.js +2735 -0
- package/dist/TransitionFade-lILBAWNM.js +2499 -0
- package/dist/app.js +21 -9
- package/dist/assets/{formatChartData.worker-qsKmK9pO.js → formatChartData.worker-CvTUNmfE.js} +2 -2
- package/package.json +1 -1
- package/dist/BaseDialog.vue_vue_type_script_setup_true_lang-DTNiGKgd.js +0 -59
- package/dist/ReportEditor-C2TOXxs9.js +0 -972
- package/dist/TileEditor-TWUJBLe7.js +0 -3252
- package/dist/TransitionFade-CfPTdxon.js +0 -1980
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as u, computed as f, resolveComponent as p, createElementBlock as s, openBlock as t, normalizeStyle as n, normalizeClass as d, unref as e, createBlock as y, createCommentVNode as _, createVNode as h, createElementVNode as k, toDisplayString as g, renderSlot as x } 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-CyvrW5EA.js";
|
|
3
3
|
import { useBreakpoints as b } from "@feedmepos/ui-library";
|
|
4
4
|
import { storeToRefs as C } from "pinia";
|
|
5
5
|
import { u as q, f as w } from "./vue-i18n-BMM8dWbV.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { computed as m, defineComponent as Q, useModel as ee, ref as u, watchEffect as Fe, resolveComponent as z, createElementBlock as q, openBlock as W, Fragment as le, renderSlot as he, createVNode as B, normalizeStyle as oe, unref as n, createElementVNode as V, toDisplayString as Re, withCtx as I, createBlock as X, createCommentVNode as de, normalizeClass as Be, h as vt, watch as be, nextTick as gt, renderList as xt, mergeModels as St, createTextVNode as Jt, onMounted as Kt, onUnmounted as Zt, resolveDynamicComponent as Qt, withDirectives as ea, vShow as ta } from "vue";
|
|
2
|
-
import { W as C, a as Le, v as Ae, d as Xe, e as _t, q as aa, R as ke, g as la } from "./
|
|
2
|
+
import { W as C, a as Le, v as Ae, d as Xe, e as _t, q as aa, R as ke, g as la } from "./BaseDialog.vue_vue_type_script_setup_true_lang-BVh9CBG8.js";
|
|
3
3
|
import { u as Pe, b as Qe, a as et } from "./vue-i18n-BMM8dWbV.js";
|
|
4
4
|
import { a as yt } from "./helper-D4-BWsJj.js";
|
|
5
5
|
import { storeToRefs as j, defineStore as oa } from "pinia";
|
|
@@ -2,13 +2,13 @@ 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-
|
|
5
|
+
import { _ as sa } from "./Default.vue_vue_type_script_setup_true_lang-Dm_oN-5O.js";
|
|
6
6
|
import { _ as na } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-DIO5R9yT.js";
|
|
7
7
|
import { d as Bi, a as Kn, h as qn, F as Gn, u as Zn, i as ys, b as oa } from "./vue-i18n-BMM8dWbV.js";
|
|
8
8
|
import { storeToRefs as Jn } from "pinia";
|
|
9
9
|
import { components as is, useSnackbar as aa } from "@feedmepos/ui-library";
|
|
10
10
|
import { _ as ra } from "./NoData.vue_vue_type_script_setup_true_lang-DB3zDUVV.js";
|
|
11
|
-
import { a as la, G as ca } from "./NavigationTab.vue_vue_type_script_setup_true_lang-
|
|
11
|
+
import { a as la, G as ca } from "./NavigationTab.vue_vue_type_script_setup_true_lang-CyvrW5EA.js";
|
|
12
12
|
import { useCoreStore as ha } from "@feedmepos/mf-common";
|
|
13
13
|
function da({ start: i, end: t }) {
|
|
14
14
|
return `${Bi(t).format("DD MMM")}, ${Bi(t).format("YYYY")}`;
|
|
@@ -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-
|
|
2
|
+
import { _ as a } from "./Default.vue_vue_type_script_setup_true_lang-Dm_oN-5O.js";
|
|
3
3
|
const f = /* @__PURE__ */ o({
|
|
4
4
|
__name: "Layout",
|
|
5
5
|
setup(m) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineComponent as R, computed as W, ref as oe, watch as q, resolveComponent as b, createElementBlock as f, openBlock as u, renderSlot as re, Fragment as D, renderList as U, createBlock as g, unref as r, withCtx as C, createElementVNode as L, createCommentVNode as N, createVNode as p, isRef as S, useModel as ue, normalizeClass as z, toDisplayString as ie } from "vue";
|
|
2
2
|
import { u as me, b as H, d as E, j as de } from "./vue-i18n-BMM8dWbV.js";
|
|
3
3
|
import { storeToRefs as T } from "pinia";
|
|
4
|
-
import { a as pe, d as ce } from "./NavigationTab.vue_vue_type_script_setup_true_lang-
|
|
4
|
+
import { a as pe, d as ce } from "./NavigationTab.vue_vue_type_script_setup_true_lang-CyvrW5EA.js";
|
|
5
5
|
import { _ as J, a as fe } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-DIO5R9yT.js";
|
|
6
|
-
import { a as ve, b as be, D as w, q as _e, W as Y, S as
|
|
7
|
-
import { _ as
|
|
6
|
+
import { a as ve, b as be, D as w, q as _e, W as Y, S as ye } from "./BaseDialog.vue_vue_type_script_setup_true_lang-BVh9CBG8.js";
|
|
7
|
+
import { _ as he } from "./NoData.vue_vue_type_script_setup_true_lang-DB3zDUVV.js";
|
|
8
8
|
import { d as ge } from "./helper-D4-BWsJj.js";
|
|
9
9
|
import { detectLocale as Fe } from "@feedmepos/mf-common";
|
|
10
10
|
import { useBreakpoints as ke } from "@feedmepos/ui-library";
|
|
@@ -16,7 +16,7 @@ const xe = { class: "flex flex-wrap gap-2" }, we = { class: "flex flex-col gap-1
|
|
|
16
16
|
setup(I) {
|
|
17
17
|
var G;
|
|
18
18
|
const { t: v } = me(), { currentReport: m } = T(ve());
|
|
19
|
-
let { globalFilters: F, isGlobalFiltersLoading: i, timeRange: _, dateRange:
|
|
19
|
+
let { globalFilters: F, isGlobalFiltersLoading: i, timeRange: _, dateRange: y, selectedLocationIds: h } = T(H()), { schemas: $ } = T(be());
|
|
20
20
|
const n = W(() => {
|
|
21
21
|
var e;
|
|
22
22
|
return ((e = m.value) == null ? void 0 : e.id) ?? "";
|
|
@@ -33,7 +33,7 @@ const xe = { class: "flex flex-wrap gap-2" }, we = { class: "flex flex-col gap-1
|
|
|
33
33
|
},
|
|
34
34
|
{ deep: !0, immediate: !0 }
|
|
35
35
|
), q(
|
|
36
|
-
[_,
|
|
36
|
+
[_, y, h],
|
|
37
37
|
async () => {
|
|
38
38
|
await te();
|
|
39
39
|
},
|
|
@@ -49,7 +49,9 @@ const xe = { class: "flex flex-wrap gap-2" }, we = { class: "flex flex-col gap-1
|
|
|
49
49
|
return {
|
|
50
50
|
type: Y.Table,
|
|
51
51
|
config: {
|
|
52
|
-
schemaNames:
|
|
52
|
+
schemaNames: Array.from(
|
|
53
|
+
/* @__PURE__ */ new Set([e.schemaName, ...(e.filters ?? []).map((t) => t.schemaName)])
|
|
54
|
+
),
|
|
53
55
|
dimensions: [
|
|
54
56
|
{
|
|
55
57
|
name: e.name ?? "",
|
|
@@ -61,12 +63,12 @@ const xe = { class: "flex flex-wrap gap-2" }, we = { class: "flex flex-col gap-1
|
|
|
61
63
|
],
|
|
62
64
|
rowIds: [],
|
|
63
65
|
metrics: [],
|
|
64
|
-
filters: e.filters,
|
|
66
|
+
filters: e.filters || [],
|
|
65
67
|
sorts: [
|
|
66
68
|
{
|
|
67
69
|
name: e.name ?? "",
|
|
68
70
|
schemaName: e.schemaName ?? "",
|
|
69
|
-
type:
|
|
71
|
+
type: ye.Asc,
|
|
70
72
|
aggregation: null,
|
|
71
73
|
dimensionOption: null
|
|
72
74
|
}
|
|
@@ -102,6 +104,7 @@ const xe = { class: "flex flex-wrap gap-2" }, we = { class: "flex flex-col gap-1
|
|
|
102
104
|
async function ee(e) {
|
|
103
105
|
switch (e.type) {
|
|
104
106
|
case w.String:
|
|
107
|
+
case w.Numeric:
|
|
105
108
|
{
|
|
106
109
|
const t = await _e(
|
|
107
110
|
Q(e.filter),
|
|
@@ -123,7 +126,6 @@ const xe = { class: "flex flex-wrap gap-2" }, we = { class: "flex flex-col gap-1
|
|
|
123
126
|
], e.filter.values = [!0, !1];
|
|
124
127
|
break;
|
|
125
128
|
case w.Timestamp:
|
|
126
|
-
case w.Numeric:
|
|
127
129
|
break;
|
|
128
130
|
}
|
|
129
131
|
}
|
|
@@ -184,13 +186,13 @@ const xe = { class: "flex flex-wrap gap-2" }, we = { class: "flex flex-col gap-1
|
|
|
184
186
|
const l = b("FmCircularProgress"), a = b("FmTextField"), d = b("FmMenuItem"), x = b("FmMenu");
|
|
185
187
|
return u(), f("div", xe, [
|
|
186
188
|
(u(!0), f(D, null, U(o.value, (s, ne) => {
|
|
187
|
-
var
|
|
189
|
+
var A, B, j;
|
|
188
190
|
return u(), f("div", {
|
|
189
191
|
key: `${s.filter.schemaName}-${s.filter.name}`
|
|
190
192
|
}, [
|
|
191
193
|
s.type === r(w).Timestamp ? (u(), g(J, {
|
|
192
194
|
key: 0,
|
|
193
|
-
"model-value": { startDate: (
|
|
195
|
+
"model-value": { startDate: (A = s.filter.values) == null ? void 0 : A[0], endDate: (B = s.filter.values) == null ? void 0 : B[1] },
|
|
194
196
|
class: "w-full",
|
|
195
197
|
label: O(s),
|
|
196
198
|
removable: ((j = s.filter.values) == null ? void 0 : j.length) === 2,
|
|
@@ -239,7 +241,7 @@ const xe = { class: "flex flex-wrap gap-2" }, we = { class: "flex flex-col gap-1
|
|
|
239
241
|
onClick: () => le(s, c.value)
|
|
240
242
|
}, null, 8, ["label", "model-value", "onClick"]);
|
|
241
243
|
}), 128))
|
|
242
|
-
], 64)) : r(i) ? N("", !0) : (u(), g(
|
|
244
|
+
], 64)) : r(i) ? N("", !0) : (u(), g(he, { key: 2 }))
|
|
243
245
|
])
|
|
244
246
|
]),
|
|
245
247
|
_: 2
|
|
@@ -259,8 +261,8 @@ const xe = { class: "flex flex-wrap gap-2" }, we = { class: "flex flex-col gap-1
|
|
|
259
261
|
dateRange: F,
|
|
260
262
|
compareDateRange: i,
|
|
261
263
|
timeRange: _,
|
|
262
|
-
defaultDateSetting:
|
|
263
|
-
selectTimeDefault:
|
|
264
|
+
defaultDateSetting: y,
|
|
265
|
+
selectTimeDefault: h
|
|
264
266
|
} = T(H());
|
|
265
267
|
return ($, n) => (u(), f("div", $e, [
|
|
266
268
|
L("div", De, [
|
|
@@ -275,16 +277,16 @@ const xe = { class: "flex flex-wrap gap-2" }, we = { class: "flex flex-col gap-1
|
|
|
275
277
|
"onUpdate:dateRange": n[0] || (n[0] = (o) => S(F) ? F.value = o : null),
|
|
276
278
|
"compare-date-range": r(i),
|
|
277
279
|
"onUpdate:compareDateRange": n[1] || (n[1] = (o) => S(i) ? i.value = o : null),
|
|
278
|
-
"compare-type": r(
|
|
279
|
-
"onUpdate:compareType": n[2] || (n[2] = (o) => r(
|
|
280
|
+
"compare-type": r(y).defaultCompareType,
|
|
281
|
+
"onUpdate:compareType": n[2] || (n[2] = (o) => r(y).defaultCompareType = o),
|
|
280
282
|
compare: ""
|
|
281
283
|
}, null, 8, ["date-range", "compare-date-range", "compare-type"]),
|
|
282
284
|
p(ce, {
|
|
283
285
|
"time-range": r(_),
|
|
284
286
|
"onUpdate:timeRange": n[3] || (n[3] = (o) => S(_) ? _.value = o : null),
|
|
285
|
-
"select-time-default": r(
|
|
286
|
-
"onUpdate:selectTimeDefault": n[4] || (n[4] = (o) => S(
|
|
287
|
-
"default-date-range": r(
|
|
287
|
+
"select-time-default": r(h),
|
|
288
|
+
"onUpdate:selectTimeDefault": n[4] || (n[4] = (o) => S(h) ? h.value = o : null),
|
|
289
|
+
"default-date-range": r(y).timeOptions
|
|
288
290
|
}, null, 8, ["time-range", "select-time-default", "default-date-range"]),
|
|
289
291
|
p(Se)
|
|
290
292
|
]),
|
|
@@ -303,7 +305,7 @@ const xe = { class: "flex flex-wrap gap-2" }, we = { class: "flex flex-col gap-1
|
|
|
303
305
|
setup(I) {
|
|
304
306
|
const v = ue(I, "modelValue"), { breakpoints: m } = ke();
|
|
305
307
|
return (F, i) => {
|
|
306
|
-
const _ = b("FmButton"),
|
|
308
|
+
const _ = b("FmButton"), y = b("FmIcon"), h = b("FmMenuItem"), $ = b("FmMenu");
|
|
307
309
|
return u(), f("div", {
|
|
308
310
|
class: z(["flex items-start pb-2 px-24", `${r(m).lg || r(m).md ? "px-24" : "pl-3"}`])
|
|
309
311
|
}, [
|
|
@@ -325,12 +327,12 @@ const xe = { class: "flex flex-wrap gap-2" }, we = { class: "flex flex-col gap-1
|
|
|
325
327
|
})
|
|
326
328
|
]),
|
|
327
329
|
default: C(() => [
|
|
328
|
-
(u(!0), f(D, null, U(v.value, (n, o) => (u(), g(
|
|
330
|
+
(u(!0), f(D, null, U(v.value, (n, o) => (u(), g(h, {
|
|
329
331
|
key: `button-${o}`,
|
|
330
332
|
onClick: n.onClick
|
|
331
333
|
}, {
|
|
332
334
|
label: C(() => [
|
|
333
|
-
n.prependIcon ?? !1 ? (u(), g(
|
|
335
|
+
n.prependIcon ?? !1 ? (u(), g(y, {
|
|
334
336
|
key: 0,
|
|
335
337
|
name: n.icon
|
|
336
338
|
}, null, 8, ["name"])) : N("", !0),
|
|
@@ -4,12 +4,11 @@ var ds = (e, t, r) => E9(e, typeof t != "symbol" ? t + "" : t, r);
|
|
|
4
4
|
import { defineComponent as qr, computed as Fr, useModel as Ea, ref as Ne, watch as na, resolveComponent as Ae, createBlock as Ye, unref as Q, openBlock as le, withCtx as Me, createElementVNode as oe, createVNode as K, toDisplayString as ir, withDirectives as zn, createElementBlock as Be, Fragment as mr, renderList as Br, vShow as u0, createTextVNode as Lt, mergeModels as Cn, createCommentVNode as gr, normalizeClass as jn, withModifiers as Is, onMounted as Md, renderSlot as Rd, mergeProps as F9, nextTick as P9, resolveDynamicComponent as xh, withKeys as S9, vModelText as O9, normalizeStyle as D9, isRef as B0, createSlots as I9 } from "vue";
|
|
5
5
|
import { useRouter as Xd, useRoute as zd } from "vue-router";
|
|
6
6
|
import { storeToRefs as yt, defineStore as nu } from "pinia";
|
|
7
|
-
import { a as Xi, R as h0, g as Co,
|
|
8
|
-
import { useBreakpoints as il, components as d0, useSnackbar as zi, useDialog as
|
|
9
|
-
import { u as Pa, k as iu, l as sl, a as Ua, F as Za, h as Ya, d as Ke, b as w0, m as Hi, n as
|
|
10
|
-
import { _ as yh, a as
|
|
11
|
-
import { C as nn, g as
|
|
12
|
-
import { _ as K9 } from "./BaseDialog.vue_vue_type_script_setup_true_lang-DTNiGKgd.js";
|
|
7
|
+
import { a as Xi, R as h0, g as Co, _ as N9, v as V9, d as Cs, e as B9, r as L9, f as xn, h as M9, i as R9, j as X9, s as z9, u as H9 } from "./BaseDialog.vue_vue_type_script_setup_true_lang-BVh9CBG8.js";
|
|
8
|
+
import { useBreakpoints as il, components as d0, useSnackbar as zi, useDialog as q9, useDialogChild as W9, FmButtonVariant as gh } from "@feedmepos/ui-library";
|
|
9
|
+
import { u as Pa, k as iu, l as sl, a as Ua, F as Za, h as Ya, d as Ke, b as w0, m as Hi, n as j9, o as U9, e as Z9, q as As, s as Y9, p as G9 } from "./vue-i18n-BMM8dWbV.js";
|
|
10
|
+
import { _ as yh, a as Q9 } from "./SelectComponent.vue_vue_type_script_setup_true_lang-D_NmiN5U.js";
|
|
11
|
+
import { C as nn, g as K9, b as Hd } from "./helper-D4-BWsJj.js";
|
|
13
12
|
import { a as qd, _ as Wd } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-DIO5R9yT.js";
|
|
14
13
|
import { detectLocale as ps, useCoreStore as J9 } from "@feedmepos/mf-common";
|
|
15
14
|
const _9 = { class: "flex flex-col" }, $9 = { class: "fm-typo-en-title-sm-600" }, e6 = { class: "grow" }, r6 = { class: "flex flex-col gap-8" }, t6 = { class: "flex flex-col w-full" }, a6 = { class: "flex flex-col gap-5 p-6" }, n6 = { class: "flex" }, wh = {
|
|
@@ -524,7 +523,7 @@ const su = /* @__PURE__ */ iu(l6), o6 = () => {
|
|
|
524
523
|
// particular date
|
|
525
524
|
month: a.value.months ?? [1],
|
|
526
525
|
day: a.value.days ?? [1]
|
|
527
|
-
}), u = Object.entries(nn).map(([T, w]) => ({ label: r(`report.cycle.${T}`), value: w })), d = Fr(() =>
|
|
526
|
+
}), u = Object.entries(nn).map(([T, w]) => ({ label: r(`report.cycle.${T}`), value: w })), d = Fr(() => K9().map((w, S) => ({ label: w, value: S + 1 }))), A = Fr(() => Array(31).fill(void 0).map((w, S) => ({ label: `${S + 1}`, value: S + 1 }))), p = [
|
|
528
527
|
{ label: r("report.days.sunday"), value: 0 },
|
|
529
528
|
{ label: r("report.days.monday"), value: 1 },
|
|
530
529
|
{ label: r("report.days.tuesday"), value: 2 },
|
|
@@ -953,7 +952,7 @@ const su = /* @__PURE__ */ iu(l6), o6 = () => {
|
|
|
953
952
|
schedule: r.schedule,
|
|
954
953
|
onIsOpen: m[1] || (m[1] = (S) => f.value = S)
|
|
955
954
|
}, null, 8, ["is-open", "schedule"]),
|
|
956
|
-
K(
|
|
955
|
+
K(N9, {
|
|
957
956
|
modelValue: c.value,
|
|
958
957
|
"onUpdate:modelValue": m[2] || (m[2] = (S) => c.value = S),
|
|
959
958
|
title: Q(t)("report.schedule.deleteSchedule"),
|
|
@@ -988,7 +987,7 @@ const su = /* @__PURE__ */ iu(l6), o6 = () => {
|
|
|
988
987
|
]),
|
|
989
988
|
default: Me(() => [
|
|
990
989
|
(le(), Be(mr, null, Br(A, (S, N) => K(x, {
|
|
991
|
-
key: `${N}-${Q(
|
|
990
|
+
key: `${N}-${Q(V9)()}`,
|
|
992
991
|
onClick: async () => await S.onClick()
|
|
993
992
|
}, {
|
|
994
993
|
label: Me(() => [
|
|
@@ -1009,7 +1008,7 @@ const su = /* @__PURE__ */ iu(l6), o6 = () => {
|
|
|
1009
1008
|
});
|
|
1010
1009
|
};
|
|
1011
1010
|
}
|
|
1012
|
-
}), T6 = /* @__PURE__ */
|
|
1011
|
+
}), T6 = /* @__PURE__ */ Q9(k6, [["__scopeId", "data-v-1284dd51"]]), E6 = {
|
|
1013
1012
|
key: 0,
|
|
1014
1013
|
class: "flex flex-col gap-2"
|
|
1015
1014
|
}, F6 = { class: "w-full flex flex-row" }, P6 = /* @__PURE__ */ qr({
|
|
@@ -28887,7 +28886,7 @@ const xD = { class: "flex flex-col gap-8 py-8" }, gD = { class: "pt-16 pb-8 flex
|
|
|
28887
28886
|
})) : []
|
|
28888
28887
|
), a = Fr(
|
|
28889
28888
|
() => t.attributes.find((u) => u.key === l.value.property)
|
|
28890
|
-
), { emitData: n, emitAction: s } =
|
|
28889
|
+
), { emitData: n, emitAction: s } = W9(), l = Ne({ ...t.modelValue }), f = Ne(
|
|
28891
28890
|
t.modelValue.value && Array.isArray(t.modelValue.value) ? t.modelValue.value.join(`
|
|
28892
28891
|
`) : ""
|
|
28893
28892
|
);
|
|
@@ -28966,7 +28965,7 @@ const xD = { class: "flex flex-col gap-8 py-8" }, gD = { class: "pt-16 pb-8 flex
|
|
|
28966
28965
|
},
|
|
28967
28966
|
emits: ["update:model-value", "hide:sheet"],
|
|
28968
28967
|
setup(e, { emit: t }) {
|
|
28969
|
-
const r = e, a = Ne(r.modelValue), n = Ne(!1), s = t, l =
|
|
28968
|
+
const r = e, a = Ne(r.modelValue), n = Ne(!1), s = t, l = q9();
|
|
28970
28969
|
function f(u, d) {
|
|
28971
28970
|
l.open({
|
|
28972
28971
|
title: u.property,
|
|
@@ -33338,7 +33337,7 @@ const zD = { class: "flex flex-wrap gap-2 items-start sm:flex-col lg:flex-row" }
|
|
|
33338
33337
|
async function T() {
|
|
33339
33338
|
l.value = !0;
|
|
33340
33339
|
try {
|
|
33341
|
-
await
|
|
33340
|
+
await B9({
|
|
33342
33341
|
reportType: s.value,
|
|
33343
33342
|
index: void 0,
|
|
33344
33343
|
orientationTypes: [c.value],
|
|
@@ -33457,7 +33456,7 @@ var rI = { exports: {} };
|
|
|
33457
33456
|
var tI = { exports: {} };
|
|
33458
33457
|
(function(e, t) {
|
|
33459
33458
|
(function(r, a) {
|
|
33460
|
-
e.exports = a(
|
|
33459
|
+
e.exports = a(j9);
|
|
33461
33460
|
})(sl, function(r) {
|
|
33462
33461
|
function a(l) {
|
|
33463
33462
|
return l && typeof l == "object" && "default" in l ? l : { default: l };
|
|
@@ -33787,7 +33786,7 @@ const aI = { class: "flex flex-col gap-2" }, nI = { class: "flex gap-2 justify-c
|
|
|
33787
33786
|
Ke.extend(Hi);
|
|
33788
33787
|
const { t } = Pa(), r = Ea(e, "modelValue"), a = e;
|
|
33789
33788
|
async function n() {
|
|
33790
|
-
const s = await
|
|
33789
|
+
const s = await U9(a.reportId);
|
|
33791
33790
|
window.open(s.redirect, "_blank");
|
|
33792
33791
|
}
|
|
33793
33792
|
return (s, l) => {
|
|
@@ -33882,7 +33881,7 @@ const aI = { class: "flex flex-col gap-2" }, nI = { class: "flex gap-2 justify-c
|
|
|
33882
33881
|
}),
|
|
33883
33882
|
emits: ["update:modelValue"],
|
|
33884
33883
|
setup(e) {
|
|
33885
|
-
const { breakpoints: t } = il(), { availableFlagKeys: r } = yt(
|
|
33884
|
+
const { breakpoints: t } = il(), { availableFlagKeys: r } = yt(Z9()), { t: a } = Pa(), n = Ea(e, "modelValue"), s = e, l = [
|
|
33886
33885
|
{
|
|
33887
33886
|
value: At.AutoCount,
|
|
33888
33887
|
flag: As.report_portal_integration_autocount_export
|
|
@@ -34150,7 +34149,7 @@ const aI = { class: "flex flex-col gap-2" }, nI = { class: "flex gap-2 justify-c
|
|
|
34150
34149
|
const t = xl();
|
|
34151
34150
|
if (!t.jobs.find((a) => a._id === e))
|
|
34152
34151
|
throw new Error(`Job with ID ${e} not found in jobStore`);
|
|
34153
|
-
await
|
|
34152
|
+
await L9(e), await t.getJobs();
|
|
34154
34153
|
} catch (t) {
|
|
34155
34154
|
throw console.error("Error resending job:", t), t;
|
|
34156
34155
|
}
|
|
@@ -34214,7 +34213,7 @@ const aI = { class: "flex flex-col gap-2" }, nI = { class: "flex gap-2 justify-c
|
|
|
34214
34213
|
});
|
|
34215
34214
|
async function j() {
|
|
34216
34215
|
try {
|
|
34217
|
-
const _ = await
|
|
34216
|
+
const _ = await M9();
|
|
34218
34217
|
d.value = Array.isArray(_) ? _ : [];
|
|
34219
34218
|
} catch (_) {
|
|
34220
34219
|
console.error("Error fetching email lists:", _);
|
|
@@ -34222,7 +34221,7 @@ const aI = { class: "flex flex-col gap-2" }, nI = { class: "flex gap-2 justify-c
|
|
|
34222
34221
|
}
|
|
34223
34222
|
async function de(_) {
|
|
34224
34223
|
try {
|
|
34225
|
-
await
|
|
34224
|
+
await X9(_), d.value = d.value.filter((ce) => ce !== _), p.value = !0;
|
|
34226
34225
|
} catch (ce) {
|
|
34227
34226
|
console.error("Error deleting email recipient:", ce);
|
|
34228
34227
|
}
|
|
@@ -34275,7 +34274,7 @@ const aI = { class: "flex flex-col gap-2" }, nI = { class: "flex gap-2 justify-c
|
|
|
34275
34274
|
c.open({
|
|
34276
34275
|
message: "Report is being generated and will be sent to your email shortly. Large files may take some time.",
|
|
34277
34276
|
type: "success"
|
|
34278
|
-
}), s.value = !1, ee.value = !0, await
|
|
34277
|
+
}), s.value = !1, ee.value = !0, await z9({
|
|
34279
34278
|
emails: Ve.value,
|
|
34280
34279
|
types: l.value,
|
|
34281
34280
|
dateRange: w.value,
|
|
@@ -34376,7 +34375,7 @@ const aI = { class: "flex flex-col gap-2" }, nI = { class: "flex gap-2 justify-c
|
|
|
34376
34375
|
modelValue: z.value,
|
|
34377
34376
|
"onUpdate:modelValue": ce[2] || (ce[2] = (Qe) => z.value = Qe),
|
|
34378
34377
|
value: Ar,
|
|
34379
|
-
label: Q(
|
|
34378
|
+
label: Q(R9)(Ar),
|
|
34380
34379
|
class: "px-4"
|
|
34381
34380
|
}, null, 8, ["modelValue", "value", "label"])), 64))
|
|
34382
34381
|
])) : gr("", !0)
|
|
@@ -34605,7 +34604,7 @@ const wN = /* @__PURE__ */ iu(yN), bN = {
|
|
|
34605
34604
|
}, m.push(x)), x.jobs.push({
|
|
34606
34605
|
title: `${y.reportName} (${A(y.dateRange)})`,
|
|
34607
34606
|
icon: f(y.status),
|
|
34608
|
-
status:
|
|
34607
|
+
status: Y9(y.status),
|
|
34609
34608
|
isLoading: y.status === xn.generating,
|
|
34610
34609
|
actions: d(y),
|
|
34611
34610
|
time: p(y.createdAt),
|
|
@@ -34705,10 +34704,10 @@ const wN = /* @__PURE__ */ iu(yN), bN = {
|
|
|
34705
34704
|
}
|
|
34706
34705
|
});
|
|
34707
34706
|
var kv = /* @__PURE__ */ ((e) => (e.report_insight_click_insight_card = "report_insight_click_insight_card", e.report_insight_click_insight_page = "report_insight_click_insight_page", e))(kv || {});
|
|
34708
|
-
const FN = { class: "flex gap-2 py-16" }, PN = { class: "fm-typo-en-title-md-400" },
|
|
34707
|
+
const FN = { class: "flex gap-2 py-16" }, PN = { class: "fm-typo-en-title-md-400" }, zN = /* @__PURE__ */ qr({
|
|
34709
34708
|
__name: "NavigationTab",
|
|
34710
34709
|
setup(e) {
|
|
34711
|
-
const { t } = Pa(), r = Xd(), a = zd(), { breakpoints: n } = il(), { navigationTabs: s, selectedNavigationTab: l, version: f } = yt(
|
|
34710
|
+
const { t } = Pa(), r = Xd(), a = zd(), { breakpoints: n } = il(), { navigationTabs: s, selectedNavigationTab: l, version: f } = yt(H9()), {
|
|
34712
34711
|
isOpenDownloadDialog: c,
|
|
34713
34712
|
currentReportId: u,
|
|
34714
34713
|
currentReport: d,
|
|
@@ -34774,7 +34773,7 @@ const FN = { class: "flex gap-2 py-16" }, PN = { class: "fm-typo-en-title-md-400
|
|
|
34774
34773
|
name: "menu",
|
|
34775
34774
|
size: "md"
|
|
34776
34775
|
}),
|
|
34777
|
-
oe("p", PN, ir(Q(
|
|
34776
|
+
oe("p", PN, ir(Q(G9)(Q(l) ?? "")), 1)
|
|
34778
34777
|
])
|
|
34779
34778
|
]),
|
|
34780
34779
|
default: Me(() => [
|
|
@@ -34826,7 +34825,7 @@ const FN = { class: "flex gap-2 py-16" }, PN = { class: "fm-typo-en-title-md-400
|
|
|
34826
34825
|
});
|
|
34827
34826
|
export {
|
|
34828
34827
|
kv as G,
|
|
34829
|
-
|
|
34828
|
+
zN as _,
|
|
34830
34829
|
gv as a,
|
|
34831
34830
|
xl as b,
|
|
34832
34831
|
NS as c,
|
|
@@ -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-
|
|
3
|
-
import { _ as F } from "./Default.vue_vue_type_script_setup_true_lang-
|
|
4
|
-
import { a as P } from "./
|
|
2
|
+
import { _ as b } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-wpgkxZrA.js";
|
|
3
|
+
import { _ as F } from "./Default.vue_vue_type_script_setup_true_lang-Dm_oN-5O.js";
|
|
4
|
+
import { a as P } from "./BaseDialog.vue_vue_type_script_setup_true_lang-BVh9CBG8.js";
|
|
5
5
|
import { storeToRefs as R } from "pinia";
|
|
6
6
|
import { _ as S } from "./NoData.vue_vue_type_script_setup_true_lang-DB3zDUVV.js";
|
|
7
7
|
import { useBreakpoints as V } from "@feedmepos/ui-library";
|
|
8
|
-
import { _ as z } from "./MenuTab.vue_vue_type_script_setup_true_lang-
|
|
8
|
+
import { _ as z } from "./MenuTab.vue_vue_type_script_setup_true_lang-BUhdTqWm.js";
|
|
9
9
|
import { useI18n as D } from "@feedmepos/mf-common";
|
|
10
10
|
const G = /* @__PURE__ */ g({
|
|
11
11
|
__name: "OverviewView",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as me, ref as O, watch as W, computed as w, h as f, withModifiers as ue, resolveComponent as x, createBlock as T, openBlock as F, withCtx as i, createVNode as n, createElementVNode as y, unref as e, normalizeStyle as pe, normalizeClass as C, withDirectives as B, createElementBlock as de, Fragment as fe, renderList as ve, toDisplayString as R, createTextVNode as ye, vShow as D } from "vue";
|
|
2
2
|
import { storeToRefs as X } from "pinia";
|
|
3
|
-
import { a as ge } from "./
|
|
4
|
-
import { _ as be } from "./Default.vue_vue_type_script_setup_true_lang-
|
|
3
|
+
import { a as ge } from "./BaseDialog.vue_vue_type_script_setup_true_lang-BVh9CBG8.js";
|
|
4
|
+
import { _ as be } from "./Default.vue_vue_type_script_setup_true_lang-Dm_oN-5O.js";
|
|
5
5
|
import { u as he } from "./message-dialog-UoMWOnil.js";
|
|
6
6
|
import { b as xe, f as Ce } from "./vue-i18n-BMM8dWbV.js";
|
|
7
7
|
import { useSnackbar as _e, useBreakpoints as ke, components as we, FmButtonColorThemeVariant as $e } from "@feedmepos/ui-library";
|