@feedmepos/mf-report 5.21.60 → 5.21.61
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-hkV_69de.js → App-j3usf8FY.js} +5 -5
- package/dist/{BaseDialog.vue_vue_type_script_setup_true_lang-BDvN4H57.js → BaseDialog.vue_vue_type_script_setup_true_lang-UggmboXZ.js} +8 -7
- package/dist/{DateRangeSelect.vue_vue_type_script_setup_true_lang-DLiCOf4l.js → DateRangeSelect.vue_vue_type_script_setup_true_lang-CpqzVOXy.js} +2 -2
- package/dist/{Default.vue_vue_type_script_setup_true_lang-Dksz7BxY.js → Default.vue_vue_type_script_setup_true_lang-B7b3bYC5.js} +2 -2
- package/dist/{FilterSelector.vue_vue_type_script_setup_true_lang-DmLDyd6w.js → FilterSelector.vue_vue_type_script_setup_true_lang-CIbCbfmC.js} +8 -8
- package/dist/{InsightView-CxPu5tDS.js → InsightView-CMgtW6qD.js} +6 -6
- package/dist/{Integration-hW9VPfLm.js → Integration-CkBqXwuz.js} +3 -3
- package/dist/{Integrations-CyUP0PhN.js → Integrations-Dk9y9Qjv.js} +3 -3
- package/dist/{Layout-DnW35n9m.js → Layout-DHZsuN72.js} +1 -1
- package/dist/{MenuTab.vue_vue_type_script_setup_true_lang-Biwwk8va.js → MenuTab.vue_vue_type_script_setup_true_lang-B_UNDwvq.js} +5 -5
- package/dist/{NavigationTab.vue_vue_type_script_setup_true_lang-BWV6EPIY.js → NavigationTab.vue_vue_type_script_setup_true_lang-AU5ZjMBm.js} +3465 -3441
- package/dist/{NoData.vue_vue_type_script_setup_true_lang-BWS9Qfxa.js → NoData.vue_vue_type_script_setup_true_lang-kxSAU57T.js} +1 -1
- package/dist/{OverviewView-kREZvSyu.js → OverviewView-BluLtqh0.js} +6 -6
- package/dist/{Report-BMlvdJNy.js → Report-BpjVd5nd.js} +56 -56
- package/dist/ReportEditor-B2SHMOOe.js +1103 -0
- package/dist/{ReportView-BoXqG73h.js → ReportView-DbhiaJX_.js} +9 -9
- package/dist/{SelectComponent.vue_vue_type_script_setup_true_lang-CluezcjG.js → SelectComponent.vue_vue_type_script_setup_true_lang-A3u4G6JX.js} +1 -1
- package/dist/{Setting-Ctd4ce90.js → Setting-CEgKxXdO.js} +5 -5
- package/dist/{TileEditor-ChHWyPhV.js → TileEditor-Bw3cr-tu.js} +12 -11
- package/dist/{TransitionFade-Cb2DNm5W.js → TransitionFade-BjCkyi78.js} +7 -7
- package/dist/{app-DWaJ-vEd.js → app-DggmOMWQ.js} +194 -178
- package/dist/app.js +1 -1
- package/dist/assets/{formatChartData.worker-DAwFx8Qz.js → formatChartData.worker-D2WGGG5c.js} +3 -3
- package/dist/assets/{processTableData.worker-CGM71S-g.js → processTableData.worker-2nFOrip5.js} +3 -3
- package/dist/i18n-CI_sQ5d_.js +76 -0
- package/dist/{vue-i18n-D94kFjeX.js → vue-i18n-DIv5YRC1.js} +1 -1
- package/package.json +1 -1
- package/dist/ReportEditor-Bcs5OUD5.js +0 -1097
- package/dist/i18n-7InkCBCc.js +0 -11
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as u, computed as o, resolveComponent as d, createElementBlock as r, openBlock as a, renderSlot as f, createVNode as g, withCtx as _, createCommentVNode as y, createElementVNode as l, toDisplayString as n } from "vue";
|
|
2
|
-
import { u as h } from "./vue-i18n-
|
|
2
|
+
import { u as h } from "./vue-i18n-DIv5YRC1.js";
|
|
3
3
|
const v = { class: "flex flex-col h-full" }, D = ["src"], T = { class: "fm-typo-en-body-lg-600 text-fm-color-typo-primary" }, b = { class: "fm-typo-en-body-sm-400 text-fm-color-typo-secondary text-center" }, F = /* @__PURE__ */ u({
|
|
4
4
|
__name: "NoData",
|
|
5
5
|
props: {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { defineComponent as k, computed as w, resolveComponent as $, createBlock as n, openBlock as t, withCtx as y, createVNode as d, createElementVNode as h, unref as e, normalizeStyle as C, normalizeClass as u, createElementBlock as _, Fragment as b, renderList as B } from "vue";
|
|
2
|
-
import { _ as F } from "./FilterSelector.vue_vue_type_script_setup_true_lang-
|
|
3
|
-
import { _ as L } from "./Default.vue_vue_type_script_setup_true_lang-
|
|
4
|
-
import { a as P } from "./BaseDialog.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { _ as F } from "./FilterSelector.vue_vue_type_script_setup_true_lang-CIbCbfmC.js";
|
|
3
|
+
import { _ as L } from "./Default.vue_vue_type_script_setup_true_lang-B7b3bYC5.js";
|
|
4
|
+
import { a as P } from "./BaseDialog.vue_vue_type_script_setup_true_lang-UggmboXZ.js";
|
|
5
5
|
import { storeToRefs as R } from "pinia";
|
|
6
|
-
import { _ as S } from "./NoData.vue_vue_type_script_setup_true_lang-
|
|
6
|
+
import { _ as S } from "./NoData.vue_vue_type_script_setup_true_lang-kxSAU57T.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-B_UNDwvq.js";
|
|
9
9
|
import { useI18n as D } from "@feedmepos/mf-common";
|
|
10
|
-
import { r as E } from "./i18n-
|
|
10
|
+
import { r as E } from "./i18n-CI_sQ5d_.js";
|
|
11
11
|
const M = /* @__PURE__ */ k({
|
|
12
12
|
__name: "OverviewView",
|
|
13
13
|
setup(H) {
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { defineComponent as ke, ref as U, watch as ce, computed as
|
|
1
|
+
import { defineComponent as ke, ref as U, watch as ce, computed as b, h as y, withModifiers as we, resolveComponent as w, createBlock as j, openBlock as A, withCtx as i, createVNode as s, createElementVNode as h, unref as e, normalizeStyle as xe, normalizeClass as x, withDirectives as G, createElementBlock as _e, Fragment as Ie, renderList as $e, toDisplayString as J, createTextVNode as Re, vShow as H } from "vue";
|
|
2
2
|
import { storeToRefs as ie } from "pinia";
|
|
3
|
-
import { a as De, u as Fe } from "./BaseDialog.vue_vue_type_script_setup_true_lang-
|
|
4
|
-
import { _ as Oe } from "./Default.vue_vue_type_script_setup_true_lang-
|
|
3
|
+
import { a as De, u as Fe } from "./BaseDialog.vue_vue_type_script_setup_true_lang-UggmboXZ.js";
|
|
4
|
+
import { _ as Oe } from "./Default.vue_vue_type_script_setup_true_lang-B7b3bYC5.js";
|
|
5
5
|
import { u as Le } from "./message-dialog-UoMWOnil.js";
|
|
6
|
-
import { b as ue, e as Ne } from "./vue-i18n-
|
|
6
|
+
import { b as ue, e as Ne } from "./vue-i18n-DIv5YRC1.js";
|
|
7
7
|
import { useSnackbar as Ve, useBreakpoints as Ae, components as Je, FmButtonColorThemeVariant as ze } from "@feedmepos/ui-library";
|
|
8
|
-
import { _ as Pe } from "./NoData.vue_vue_type_script_setup_true_lang-
|
|
8
|
+
import { _ as Pe } from "./NoData.vue_vue_type_script_setup_true_lang-kxSAU57T.js";
|
|
9
9
|
import { useRouter as Te, useRoute as Be, onBeforeRouteLeave as Ee } from "vue-router";
|
|
10
10
|
import { useI18n as Ke } from "@feedmepos/mf-common";
|
|
11
|
-
import { r as me } from "./i18n-
|
|
11
|
+
import { r as me } from "./i18n-CI_sQ5d_.js";
|
|
12
12
|
const Me = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Ye = { class: "w-[343px]" }, qe = { class: "fm-typo-en-body-md-600" }, nt = /* @__PURE__ */ ke({
|
|
13
13
|
__name: "Report",
|
|
14
14
|
setup(Ue) {
|
|
15
|
-
const { t: a, te: Q } = Ke(), W = Te(), X = Be(),
|
|
15
|
+
const { t: a, te: Q } = Ke(), W = Te(), X = Be(), p = De(), de = Fe(), { business: pe } = ie(ue()), {
|
|
16
16
|
reports: f,
|
|
17
17
|
overviewReport: z,
|
|
18
18
|
categories: I,
|
|
@@ -21,34 +21,34 @@ const Me = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Ye
|
|
|
21
21
|
scrollPositionY: Z,
|
|
22
22
|
customReportQuota: R,
|
|
23
23
|
canCreateCustomReport: ee
|
|
24
|
-
} = ie(
|
|
24
|
+
} = ie(p), { promptMessage: te } = Le(), { promptLoader: P } = Ne(), d = Ve(), { breakpoints: c } = Ae(), S = U();
|
|
25
25
|
Ee(() => {
|
|
26
|
-
|
|
27
|
-
}), ce(
|
|
28
|
-
|
|
29
|
-
|
|
26
|
+
S.value && (Z.value = S.value.$el.children[0].scrollTop);
|
|
27
|
+
}), ce(S, () => {
|
|
28
|
+
S.value && setTimeout(() => {
|
|
29
|
+
S.value.$el.children[0].scrollTop = Z.value;
|
|
30
30
|
}, 200);
|
|
31
31
|
});
|
|
32
|
-
const T =
|
|
32
|
+
const T = b(() => $.value && f.value ? f.value.filter((o) => {
|
|
33
33
|
var t;
|
|
34
34
|
return (t = $.value) == null ? void 0 : t.includes(o.id);
|
|
35
35
|
}) : []);
|
|
36
36
|
ce(
|
|
37
|
-
[() =>
|
|
37
|
+
[() => pe.value],
|
|
38
38
|
() => {
|
|
39
|
-
|
|
39
|
+
p.refreshPinReport();
|
|
40
40
|
},
|
|
41
41
|
{ immediate: !0 }
|
|
42
42
|
);
|
|
43
|
-
const oe =
|
|
43
|
+
const oe = b(() => T.value.length > 0 ? f.value.filter(
|
|
44
44
|
(o) => T.value.findIndex((t) => t.id === o.id) === -1
|
|
45
|
-
) : f.value), { FmButton: ve, FmMenu: B, FmMenuItem:
|
|
45
|
+
) : f.value), { FmButton: ve, FmMenu: B, FmMenuItem: C, FmIcon: E, FmChip: K } = Je, ae = b(() => [
|
|
46
46
|
{ value: void 0, label: "All" },
|
|
47
47
|
...I.value.map((o) => ({
|
|
48
48
|
value: o.id,
|
|
49
49
|
label: o.name
|
|
50
50
|
}))
|
|
51
|
-
]), D = U(ae.value[0]), M = U(""),
|
|
51
|
+
]), D = U(ae.value[0]), M = U(""), k = b(() => oe.value.length === 0 || I.value.length === 0 ? [] : [
|
|
52
52
|
...T.value.map((t) => {
|
|
53
53
|
const n = I.value.find((l) => l.id === t.category);
|
|
54
54
|
return {
|
|
@@ -73,9 +73,9 @@ const Me = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Ye
|
|
|
73
73
|
pin: !1
|
|
74
74
|
};
|
|
75
75
|
})
|
|
76
|
-
].filter((t) => D.value.value && t.categoryId !== D.value.value ? !1 : `${(t == null ? void 0 : t.name) || ""}${(t == null ? void 0 : t.description) || ""}`.toLowerCase().indexOf(M.value.toLowerCase()) !== -1)), ye =
|
|
77
|
-
() =>
|
|
78
|
-
), ge = [
|
|
76
|
+
].filter((t) => D.value.value && t.categoryId !== D.value.value ? !1 : `${(t == null ? void 0 : t.name) || ""}${(t == null ? void 0 : t.description) || ""}`.toLowerCase().indexOf(M.value.toLowerCase()) !== -1)), ye = b(
|
|
77
|
+
() => k.value.map((o) => `${o.name}${o.category}`).toString()
|
|
78
|
+
), ge = b(() => [
|
|
79
79
|
{
|
|
80
80
|
accessorKey: "name",
|
|
81
81
|
header: a("report.common.name"),
|
|
@@ -175,7 +175,7 @@ const Me = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Ye
|
|
|
175
175
|
{
|
|
176
176
|
default: () => q.map(
|
|
177
177
|
(u) => y(
|
|
178
|
-
|
|
178
|
+
C,
|
|
179
179
|
{
|
|
180
180
|
onClick: u.disabled ? {} : u.onClick,
|
|
181
181
|
label: u.label,
|
|
@@ -204,18 +204,18 @@ const Me = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Ye
|
|
|
204
204
|
);
|
|
205
205
|
}
|
|
206
206
|
}
|
|
207
|
-
];
|
|
207
|
+
]);
|
|
208
208
|
async function ne(o) {
|
|
209
209
|
await P(async () => {
|
|
210
210
|
var t;
|
|
211
211
|
try {
|
|
212
212
|
const n = o.id === ((t = z.value) == null ? void 0 : t.id);
|
|
213
|
-
await
|
|
213
|
+
await p.updateDefaultReport(n ? null : o.id), d.open({
|
|
214
214
|
message: `Successfully ${n ? "unset" : "set"} ${o.name} as Overview`,
|
|
215
215
|
type: "success"
|
|
216
216
|
});
|
|
217
217
|
} catch (n) {
|
|
218
|
-
|
|
218
|
+
d.open({ message: JSON.stringify(n), type: "error" });
|
|
219
219
|
}
|
|
220
220
|
});
|
|
221
221
|
}
|
|
@@ -230,12 +230,12 @@ const Me = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Ye
|
|
|
230
230
|
const n = JSON.parse(JSON.stringify(o));
|
|
231
231
|
n.editable = !0, n.id = "", n.name = `${n.name} ${a("report.common.duplicate")}`, P(async () => {
|
|
232
232
|
try {
|
|
233
|
-
await
|
|
233
|
+
await p.createOrUpdateReport(n), d.open({
|
|
234
234
|
message: `${a("report.messages.duplicateSuccess", { name: n.name })}`,
|
|
235
235
|
type: "success"
|
|
236
236
|
});
|
|
237
237
|
} catch (l) {
|
|
238
|
-
|
|
238
|
+
d.open({ message: JSON.stringify(l), type: "error" });
|
|
239
239
|
}
|
|
240
240
|
});
|
|
241
241
|
}
|
|
@@ -246,12 +246,12 @@ const Me = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Ye
|
|
|
246
246
|
message: a("report.messages.confirmDelete", { name: o.name })
|
|
247
247
|
}) && P(async () => {
|
|
248
248
|
try {
|
|
249
|
-
await
|
|
249
|
+
await p.removeReport(o), d.open({
|
|
250
250
|
message: a("report.messages.deleteSuccess", { name: o.name }),
|
|
251
251
|
type: "success"
|
|
252
252
|
});
|
|
253
253
|
} catch (n) {
|
|
254
|
-
|
|
254
|
+
d.open({ message: JSON.stringify(n), type: "error" });
|
|
255
255
|
}
|
|
256
256
|
});
|
|
257
257
|
}
|
|
@@ -260,7 +260,7 @@ const Me = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Ye
|
|
|
260
260
|
await be(o);
|
|
261
261
|
else {
|
|
262
262
|
let t = `Your current plan only support up to ${R.value} custom reports.`;
|
|
263
|
-
R.value === 0 && (t = "Your current plan does not support custom report."),
|
|
263
|
+
R.value === 0 && (t = "Your current plan does not support custom report."), d.open({
|
|
264
264
|
message: t,
|
|
265
265
|
type: "error"
|
|
266
266
|
});
|
|
@@ -271,25 +271,25 @@ const Me = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Ye
|
|
|
271
271
|
fe.value = !0;
|
|
272
272
|
else {
|
|
273
273
|
let o = `Your current plan only support up to ${R.value} custom reports.`;
|
|
274
|
-
R.value === 0 && (o = "Your current plan does not support custom report."),
|
|
274
|
+
R.value === 0 && (o = "Your current plan does not support custom report."), d.open({
|
|
275
275
|
message: o,
|
|
276
276
|
type: "error"
|
|
277
277
|
});
|
|
278
278
|
}
|
|
279
279
|
}
|
|
280
280
|
function se(o) {
|
|
281
|
-
$.value && $.value.includes(o.id) ? (
|
|
281
|
+
$.value && $.value.includes(o.id) ? (d.open({
|
|
282
282
|
message: `${a("report.common.unpin")} ${o.name} ${a("report.common.successful")}`,
|
|
283
283
|
type: "success"
|
|
284
|
-
}),
|
|
284
|
+
}), p.clearPinReport(o.id)) : (d.open({
|
|
285
285
|
message: `${a("report.common.pin")} ${o.name} ${a("report.common.successful")}`,
|
|
286
286
|
type: "success"
|
|
287
|
-
}),
|
|
287
|
+
}), p.cachePinReport(o));
|
|
288
288
|
}
|
|
289
289
|
function Se(o) {
|
|
290
290
|
D.value = o;
|
|
291
291
|
}
|
|
292
|
-
const { selectedLocationIds: _, dateRange: F, compareDateRange: O, timeRange: v, locations: Ce } = ue(), L =
|
|
292
|
+
const { selectedLocationIds: _, dateRange: F, compareDateRange: O, timeRange: v, locations: Ce } = ue(), L = b(() => _.length === Ce.length);
|
|
293
293
|
return (o, t) => {
|
|
294
294
|
const n = w("FmPageHead"), l = w("FmSearch"), Y = w("FmForm"), q = w("FmListItem"), N = w("FmList"), u = w("FmTable");
|
|
295
295
|
return A(), j(Oe, null, {
|
|
@@ -307,7 +307,7 @@ const Me = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Ye
|
|
|
307
307
|
],
|
|
308
308
|
"onClick:action": t[0] || (t[0] = (r) => he())
|
|
309
309
|
}, null, 8, ["title", "actions"]),
|
|
310
|
-
|
|
310
|
+
h("div", {
|
|
311
311
|
class: x(`overflow-y-hidden flex flex-col gap-8 ${e(c).sm || e(c).xs ? "mb-20" : ""}`),
|
|
312
312
|
style: xe({ height: `calc(100% - ${e(c).lg || e(c).md ? 72 : 64}px)` })
|
|
313
313
|
}, [
|
|
@@ -319,14 +319,14 @@ const Me = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Ye
|
|
|
319
319
|
"menu-button": i(() => [
|
|
320
320
|
s(e(K), { class: "fm-typo-en-body-md-600 text-fm-color-neutral-gray-400" }, {
|
|
321
321
|
default: i(() => [
|
|
322
|
-
|
|
322
|
+
h("p", null, J(e(a)(`report.category.${D.value.label}`)), 1),
|
|
323
323
|
s(e(E), { name: "expand_more" })
|
|
324
324
|
]),
|
|
325
325
|
_: 1
|
|
326
326
|
})
|
|
327
327
|
]),
|
|
328
328
|
default: i(() => [
|
|
329
|
-
(A(!0), _e(Ie, null, $e(ae.value, (r, V) => (A(), j(e(
|
|
329
|
+
(A(!0), _e(Ie, null, $e(ae.value, (r, V) => (A(), j(e(C), {
|
|
330
330
|
key: V,
|
|
331
331
|
label: e(a)(`report.category.${r.label}`),
|
|
332
332
|
onClick: () => Se(r)
|
|
@@ -334,13 +334,13 @@ const Me = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Ye
|
|
|
334
334
|
]),
|
|
335
335
|
_: 1
|
|
336
336
|
}),
|
|
337
|
-
|
|
337
|
+
h("div", {
|
|
338
338
|
class: x(`flex ${e(c).sm || e(c).xs ? "justify-center items-center" : ""}`)
|
|
339
339
|
}, [
|
|
340
|
-
|
|
340
|
+
h("p", Me, J(e(a)("report.common.results", { count: k.value.length })), 1)
|
|
341
341
|
], 2),
|
|
342
|
-
t[3] || (t[3] =
|
|
343
|
-
|
|
342
|
+
t[3] || (t[3] = h("div", { class: "grow" }, null, -1)),
|
|
343
|
+
h("div", Ye, [
|
|
344
344
|
s(l, {
|
|
345
345
|
modelValue: M.value,
|
|
346
346
|
"onUpdate:modelValue": t[1] || (t[1] = (r) => M.value = r),
|
|
@@ -353,16 +353,16 @@ const Me = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Ye
|
|
|
353
353
|
G((A(), j(u, {
|
|
354
354
|
key: ye.value,
|
|
355
355
|
ref_key: "table",
|
|
356
|
-
ref:
|
|
356
|
+
ref: S,
|
|
357
357
|
class: x([e(c).sm || e(c).xs ? "px-0" : "px-24", "report-table"]),
|
|
358
358
|
style: { height: "calc(100% - 40px)" },
|
|
359
|
-
"column-defs": ge,
|
|
360
|
-
"row-data":
|
|
361
|
-
"page-size":
|
|
359
|
+
"column-defs": ge.value,
|
|
360
|
+
"row-data": k.value,
|
|
361
|
+
"page-size": k.value.length,
|
|
362
362
|
"hide-footer": !0,
|
|
363
363
|
"row-class-name": "row",
|
|
364
364
|
onRowClick: t[2] || (t[2] = (r) => {
|
|
365
|
-
e(
|
|
365
|
+
e(de).suppressReportRouteSync = !0, e(p).updateCurrentReportId(r.original.reportId), e(W).push({
|
|
366
366
|
name: "reportView",
|
|
367
367
|
query: {
|
|
368
368
|
...e(X).query,
|
|
@@ -382,7 +382,7 @@ const Me = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Ye
|
|
|
382
382
|
"list-row": i(({ original: r }) => [
|
|
383
383
|
s(N, {
|
|
384
384
|
onClick: () => {
|
|
385
|
-
r.reportId && (e(
|
|
385
|
+
r.reportId && (e(p).updateCurrentReportId(r.reportId), e(W).push({
|
|
386
386
|
name: "reportView",
|
|
387
387
|
query: {
|
|
388
388
|
...e(X).query,
|
|
@@ -413,7 +413,7 @@ const Me = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Ye
|
|
|
413
413
|
compact: !0
|
|
414
414
|
}, {
|
|
415
415
|
default: i(() => [
|
|
416
|
-
|
|
416
|
+
h("p", qe, J(r.category), 1)
|
|
417
417
|
]),
|
|
418
418
|
_: 2
|
|
419
419
|
}, 1032, ["class"]),
|
|
@@ -430,7 +430,7 @@ const Me = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Ye
|
|
|
430
430
|
default: i(() => {
|
|
431
431
|
var V;
|
|
432
432
|
return [
|
|
433
|
-
s(e(
|
|
433
|
+
s(e(C), {
|
|
434
434
|
label: r.pin ? "Unpin" : "Pin",
|
|
435
435
|
onClick: () => {
|
|
436
436
|
const m = e(f).find(
|
|
@@ -439,7 +439,7 @@ const Me = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Ye
|
|
|
439
439
|
m && se(m);
|
|
440
440
|
}
|
|
441
441
|
}, null, 8, ["label", "onClick"]),
|
|
442
|
-
s(e(
|
|
442
|
+
s(e(C), {
|
|
443
443
|
label: e(a)("report.common.duplicate"),
|
|
444
444
|
onClick: () => {
|
|
445
445
|
const m = e(f).find(
|
|
@@ -448,7 +448,7 @@ const Me = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Ye
|
|
|
448
448
|
m && le(m);
|
|
449
449
|
}
|
|
450
450
|
}, null, 8, ["label", "onClick"]),
|
|
451
|
-
s(e(
|
|
451
|
+
s(e(C), {
|
|
452
452
|
label: e(a)(
|
|
453
453
|
r.reportId === ((V = e(z)) == null ? void 0 : V.id) ? "report.common.unsetAsOverview" : "report.common.setAsOverview"
|
|
454
454
|
),
|
|
@@ -459,7 +459,7 @@ const Me = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Ye
|
|
|
459
459
|
m && ne(m);
|
|
460
460
|
}
|
|
461
461
|
}, null, 8, ["label", "onClick"]),
|
|
462
|
-
G(s(e(
|
|
462
|
+
G(s(e(C), {
|
|
463
463
|
label: e(a)("report.common.delete"),
|
|
464
464
|
class: "text-fm-color-typo-error",
|
|
465
465
|
onClick: () => {
|
|
@@ -488,11 +488,11 @@ const Me = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Ye
|
|
|
488
488
|
}, 1032, ["onClick"])
|
|
489
489
|
]),
|
|
490
490
|
_: 1
|
|
491
|
-
}, 8, ["class", "row-data", "page-size"])), [
|
|
492
|
-
[H,
|
|
491
|
+
}, 8, ["class", "column-defs", "row-data", "page-size"])), [
|
|
492
|
+
[H, k.value.length > 0]
|
|
493
493
|
]),
|
|
494
494
|
G(s(Pe, null, null, 512), [
|
|
495
|
-
[H,
|
|
495
|
+
[H, k.value.length === 0]
|
|
496
496
|
])
|
|
497
497
|
], 6)
|
|
498
498
|
]),
|