@feedmepos/mf-report 5.4.21 → 5.4.22
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.
|
@@ -1,33 +1,33 @@
|
|
|
1
|
-
import { defineComponent as ce, ref as O, watch as Q, computed as
|
|
1
|
+
import { defineComponent as ce, ref as O, watch as Q, computed as w, h as f, withModifiers as ie, resolveComponent as C, createBlock as T, openBlock as F, withCtx as i, createVNode as n, createElementVNode as y, unref as e, normalizeStyle as me, normalizeClass as _, withDirectives as B, createElementBlock as ue, Fragment as pe, renderList as de, toDisplayString as R, createTextVNode as fe, vShow as D } from "vue";
|
|
2
2
|
import { storeToRefs as W } from "pinia";
|
|
3
3
|
import { a as ve } from "./v4-DnHLPdn4.js";
|
|
4
4
|
import { _ as ye } from "./Default.vue_vue_type_script_setup_true_lang-QaO-A2KF.js";
|
|
5
5
|
import { u as ge } from "./message-dialog-UoMWOnil.js";
|
|
6
6
|
import { b as be, f as xe } from "./global-loader-D9UMph7l.js";
|
|
7
7
|
import { useSnackbar as Ce, useBreakpoints as _e, components as he, FmButtonColorThemeVariant as ke } from "@feedmepos/ui-library";
|
|
8
|
-
import { _ as
|
|
9
|
-
import { useRouter as
|
|
8
|
+
import { _ as we } from "./NoData.vue_vue_type_script_setup_true_lang-O7qHGZkw.js";
|
|
9
|
+
import { useRouter as $e, useRoute as Ie, onBeforeRouteLeave as Se } from "vue-router";
|
|
10
10
|
import { useI18n as Fe } from "@feedmepos/mf-common";
|
|
11
|
-
const
|
|
11
|
+
const Re = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Le = { class: "w-[343px]" }, Ve = { class: "fm-typo-en-body-md-600" }, Ke = /* @__PURE__ */ ce({
|
|
12
12
|
__name: "Report",
|
|
13
13
|
setup(ze) {
|
|
14
|
-
const { t: r } = Fe(),
|
|
14
|
+
const { t: r } = Fe(), A = $e(), M = Ie(), p = ve(), { business: X } = W(be()), {
|
|
15
15
|
reports: d,
|
|
16
|
-
categories:
|
|
16
|
+
categories: $,
|
|
17
17
|
pinReport: I,
|
|
18
18
|
isOpenAddReportDialog: Z,
|
|
19
19
|
scrollPositionY: q,
|
|
20
|
-
customReportQuota:
|
|
20
|
+
customReportQuota: J,
|
|
21
21
|
canCreateCustomReport: ee
|
|
22
|
-
} = W(p), { promptMessage:
|
|
23
|
-
|
|
22
|
+
} = W(p), { promptMessage: K } = ge(), { promptLoader: U } = xe(), v = Ce(), { breakpoints: s } = _e(), g = O();
|
|
23
|
+
Se(() => {
|
|
24
24
|
g.value && (q.value = g.value.$el.children[0].scrollTop);
|
|
25
25
|
}), Q(g, () => {
|
|
26
26
|
g.value && setTimeout(() => {
|
|
27
27
|
g.value.$el.children[0].scrollTop = q.value;
|
|
28
28
|
}, 200);
|
|
29
29
|
});
|
|
30
|
-
const L =
|
|
30
|
+
const L = w(() => I.value && d.value ? d.value.filter((t) => {
|
|
31
31
|
var o;
|
|
32
32
|
return (o = I.value) == null ? void 0 : o.includes(t.id);
|
|
33
33
|
}) : []);
|
|
@@ -38,28 +38,28 @@ const Se = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Le
|
|
|
38
38
|
},
|
|
39
39
|
{ immediate: !0 }
|
|
40
40
|
);
|
|
41
|
-
const j =
|
|
41
|
+
const j = w(() => L.value.length > 0 ? d.value.filter(
|
|
42
42
|
(t) => L.value.findIndex((o) => o.id === t.id) === -1
|
|
43
|
-
) : d.value), { FmButton: te, FmMenu: V, FmMenuItem: h, FmIcon: z, FmChip: P } = he, Y =
|
|
43
|
+
) : d.value), { FmButton: te, FmMenu: V, FmMenuItem: h, FmIcon: z, FmChip: P } = he, Y = w(() => [
|
|
44
44
|
{ value: void 0, label: "All" },
|
|
45
|
-
|
|
45
|
+
...$.value.map((t) => ({
|
|
46
46
|
value: t.id,
|
|
47
47
|
label: t.name
|
|
48
48
|
}))
|
|
49
|
-
]), b = O(Y.value[0]),
|
|
49
|
+
]), b = O(Y.value[0]), S = O(""), x = w(() => j.value.length === 0 || $.value.length === 0 ? [] : [
|
|
50
50
|
...L.value.map((o) => {
|
|
51
|
-
const a =
|
|
51
|
+
const a = $.value.find((c) => c.id === o.category);
|
|
52
52
|
return {
|
|
53
53
|
name: o.name,
|
|
54
54
|
categoryId: (a == null ? void 0 : a.id) ?? "",
|
|
55
|
-
category: a != null && a.name ? r(`report.category.${a.name}`) : r("report.common.
|
|
55
|
+
category: a != null && a.name ? r(`report.category.${a.name}`) : r("report.common.uncategorized"),
|
|
56
56
|
reportId: o.id,
|
|
57
57
|
editable: o.editable,
|
|
58
58
|
pin: !0
|
|
59
59
|
};
|
|
60
|
-
}).filter((o) => b.value.value && o.categoryId !== b.value.value ? !1 : o.name.toLowerCase().indexOf(
|
|
60
|
+
}).filter((o) => b.value.value && o.categoryId !== b.value.value ? !1 : o.name.toLowerCase().indexOf(S.value.toLowerCase()) !== -1),
|
|
61
61
|
...j.value.map((o) => {
|
|
62
|
-
const a =
|
|
62
|
+
const a = $.value.find((c) => c.id === o.category);
|
|
63
63
|
return {
|
|
64
64
|
name: o.name,
|
|
65
65
|
categoryId: (a == null ? void 0 : a.id) ?? "",
|
|
@@ -68,8 +68,8 @@ const Se = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Le
|
|
|
68
68
|
editable: o.editable,
|
|
69
69
|
pin: !1
|
|
70
70
|
};
|
|
71
|
-
}).filter((o) => b.value.value && o.categoryId !== b.value.value ? !1 : o.name.toLowerCase().indexOf(
|
|
72
|
-
]), oe =
|
|
71
|
+
}).filter((o) => b.value.value && o.categoryId !== b.value.value ? !1 : o.name.toLowerCase().indexOf(S.value.toLowerCase()) !== -1)
|
|
72
|
+
]), oe = w(
|
|
73
73
|
() => x.value.map((t) => `${t.name}${t.category}`).toString()
|
|
74
74
|
), re = [
|
|
75
75
|
{
|
|
@@ -102,7 +102,7 @@ const Se = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Le
|
|
|
102
102
|
width: "100px"
|
|
103
103
|
},
|
|
104
104
|
cell: (t) => {
|
|
105
|
-
const o = t.row.original, a = o.reportId, c = d.value.find((
|
|
105
|
+
const o = t.row.original, a = o.reportId, c = d.value.find((m) => m.id === a), N = [
|
|
106
106
|
{
|
|
107
107
|
label: r("report.common.duplicate"),
|
|
108
108
|
onClick: () => {
|
|
@@ -130,7 +130,7 @@ const Se = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Le
|
|
|
130
130
|
f(
|
|
131
131
|
"button",
|
|
132
132
|
{
|
|
133
|
-
onClick:
|
|
133
|
+
onClick: ie(() => {
|
|
134
134
|
c && H(c);
|
|
135
135
|
}, ["stop"]),
|
|
136
136
|
class: `text-fm-color-neutral-gray-400 ${o.pin ? "" : "show-pin"} hover:bg-fm-color-opacity-sm rounded-lg flex items-center justify-center`
|
|
@@ -155,16 +155,16 @@ const Se = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Le
|
|
|
155
155
|
{ stopClickPropagation: !0, shift: !0 },
|
|
156
156
|
{
|
|
157
157
|
default: () => N.map(
|
|
158
|
-
(
|
|
158
|
+
(m) => f(
|
|
159
159
|
h,
|
|
160
160
|
{
|
|
161
|
-
onClick:
|
|
162
|
-
label:
|
|
163
|
-
class:
|
|
164
|
-
disabled:
|
|
161
|
+
onClick: m.disabled ? {} : m.onClick,
|
|
162
|
+
label: m.label,
|
|
163
|
+
class: m.disabled ? "text-fm-color-typo-disabled" : m.variant === "destructive" ? "text-fm-color-typo-error" : "",
|
|
164
|
+
disabled: m.disabled
|
|
165
165
|
},
|
|
166
166
|
{
|
|
167
|
-
label: () => f("p",
|
|
167
|
+
label: () => f("p", m.label)
|
|
168
168
|
}
|
|
169
169
|
)
|
|
170
170
|
),
|
|
@@ -187,17 +187,18 @@ const Se = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Le
|
|
|
187
187
|
}
|
|
188
188
|
];
|
|
189
189
|
async function E(t) {
|
|
190
|
-
if (await
|
|
191
|
-
title: r("report.common.
|
|
192
|
-
message: r("report.
|
|
190
|
+
if (await K({
|
|
191
|
+
title: r("report.common.duplicate"),
|
|
192
|
+
message: r("report.messages.confirmAction", {
|
|
193
|
+
action: r("report.common.duplicate"),
|
|
194
|
+
name: t.name
|
|
195
|
+
})
|
|
193
196
|
})) {
|
|
194
197
|
const a = JSON.parse(JSON.stringify(t));
|
|
195
|
-
a.editable = !0, a.id = "", a.name = `${a.name} ${r("report.common.duplicate")}`,
|
|
198
|
+
a.editable = !0, a.id = "", a.name = `${a.name} ${r("report.common.duplicate")}`, U(async () => {
|
|
196
199
|
try {
|
|
197
200
|
await p.createOrUpdateReport(a), v.open({
|
|
198
|
-
message: `${r("report.
|
|
199
|
-
"report.common.successful"
|
|
200
|
-
)}`,
|
|
201
|
+
message: `${r("report.messages.duplicateSuccess", { name: a.name })}`,
|
|
201
202
|
type: "success"
|
|
202
203
|
});
|
|
203
204
|
} catch (c) {
|
|
@@ -207,13 +208,13 @@ const Se = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Le
|
|
|
207
208
|
}
|
|
208
209
|
}
|
|
209
210
|
async function G(t) {
|
|
210
|
-
await
|
|
211
|
+
await K({
|
|
211
212
|
title: r("report.messages.deleteReport"),
|
|
212
213
|
message: r("report.messages.confirmDelete", { name: t.name })
|
|
213
|
-
}) &&
|
|
214
|
+
}) && U(async () => {
|
|
214
215
|
try {
|
|
215
216
|
await p.removeReport(t), v.open({
|
|
216
|
-
message:
|
|
217
|
+
message: r("report.messages.deleteSuccess", { name: t.name }),
|
|
217
218
|
type: "success"
|
|
218
219
|
});
|
|
219
220
|
} catch (a) {
|
|
@@ -225,8 +226,8 @@ const Se = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Le
|
|
|
225
226
|
if (ee.value)
|
|
226
227
|
Z.value = !0;
|
|
227
228
|
else {
|
|
228
|
-
let t = `Your current plan only support up to ${
|
|
229
|
-
|
|
229
|
+
let t = `Your current plan only support up to ${J.value} custom reports.`;
|
|
230
|
+
J.value === 0 && (t = "Your current plan does not support custom report."), v.open({
|
|
230
231
|
message: t,
|
|
231
232
|
type: "error"
|
|
232
233
|
});
|
|
@@ -245,9 +246,9 @@ const Se = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Le
|
|
|
245
246
|
b.value = t;
|
|
246
247
|
}
|
|
247
248
|
return (t, o) => {
|
|
248
|
-
const a = C("FmPageHead"), c = C("FmSearch"), N = C("FmForm"),
|
|
249
|
+
const a = C("FmPageHead"), c = C("FmSearch"), N = C("FmForm"), m = C("FmListItem"), ne = C("FmList"), se = C("FmTable");
|
|
249
250
|
return F(), T(ye, null, {
|
|
250
|
-
default:
|
|
251
|
+
default: i(() => [
|
|
251
252
|
n(a, {
|
|
252
253
|
title: e(r)("report.common.report", 1),
|
|
253
254
|
class: "h-[68px]",
|
|
@@ -263,23 +264,23 @@ const Se = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Le
|
|
|
263
264
|
}, null, 8, ["title", "actions"]),
|
|
264
265
|
y("div", {
|
|
265
266
|
class: _(`overflow-y-hidden flex flex-col gap-8 ${e(s).sm || e(s).xs ? "mb-20" : ""}`),
|
|
266
|
-
style:
|
|
267
|
+
style: me({ height: `calc(100% - ${e(s).lg || e(s).md ? 72 : 64}px)` })
|
|
267
268
|
}, [
|
|
268
269
|
n(N, {
|
|
269
270
|
class: _(`flex items-center gap-2 ${e(s).sm || e(s).xs ? "px-3" : "px-24"}`)
|
|
270
271
|
}, {
|
|
271
|
-
default:
|
|
272
|
+
default: i(() => [
|
|
272
273
|
n(e(V), null, {
|
|
273
|
-
"menu-button":
|
|
274
|
+
"menu-button": i(() => [
|
|
274
275
|
n(e(P), { class: "fm-typo-en-body-md-600 text-fm-color-neutral-gray-400" }, {
|
|
275
|
-
default:
|
|
276
|
-
y("p", null,
|
|
276
|
+
default: i(() => [
|
|
277
|
+
y("p", null, R(e(r)(`report.category.${b.value.label}`)), 1),
|
|
277
278
|
n(e(z), { name: "expand_more" })
|
|
278
279
|
]),
|
|
279
280
|
_: 1
|
|
280
281
|
})
|
|
281
282
|
]),
|
|
282
|
-
default:
|
|
283
|
+
default: i(() => [
|
|
283
284
|
(F(!0), ue(pe, null, de(Y.value, (l, u) => (F(), T(e(h), {
|
|
284
285
|
key: u,
|
|
285
286
|
label: e(r)(`report.category.${l.label}`),
|
|
@@ -291,13 +292,13 @@ const Se = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Le
|
|
|
291
292
|
y("div", {
|
|
292
293
|
class: _(`flex ${e(s).sm || e(s).xs ? "justify-center items-center" : ""}`)
|
|
293
294
|
}, [
|
|
294
|
-
y("p",
|
|
295
|
+
y("p", Re, R(e(r)("report.common.results", { count: x.value.length })), 1)
|
|
295
296
|
], 2),
|
|
296
297
|
o[3] || (o[3] = y("div", { class: "grow" }, null, -1)),
|
|
297
298
|
y("div", Le, [
|
|
298
299
|
n(c, {
|
|
299
|
-
modelValue:
|
|
300
|
-
"onUpdate:modelValue": o[1] || (o[1] = (l) =>
|
|
300
|
+
modelValue: S.value,
|
|
301
|
+
"onUpdate:modelValue": o[1] || (o[1] = (l) => S.value = l),
|
|
301
302
|
class: _(`${e(s).lg || e(s).md ? "grow" : ""}`)
|
|
302
303
|
}, null, 8, ["modelValue", "class"])
|
|
303
304
|
])
|
|
@@ -316,36 +317,36 @@ const Se = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Le
|
|
|
316
317
|
"hide-footer": !0,
|
|
317
318
|
"row-class-name": "row",
|
|
318
319
|
onRowClick: o[2] || (o[2] = (l) => {
|
|
319
|
-
e(p).updateCurrentReportId(l.original.reportId), e(
|
|
320
|
+
e(p).updateCurrentReportId(l.original.reportId), e(A).push({
|
|
320
321
|
name: "reportView",
|
|
321
|
-
query: e(
|
|
322
|
+
query: e(M).query
|
|
322
323
|
});
|
|
323
324
|
})
|
|
324
325
|
}, {
|
|
325
|
-
"list-row":
|
|
326
|
+
"list-row": i(({ original: l }) => [
|
|
326
327
|
n(ne, {
|
|
327
328
|
onClick: () => {
|
|
328
|
-
l.reportId && (e(p).updateCurrentReportId(l.reportId), e(
|
|
329
|
+
l.reportId && (e(p).updateCurrentReportId(l.reportId), e(A).push({
|
|
329
330
|
name: "reportView",
|
|
330
|
-
query: e(
|
|
331
|
+
query: e(M).query
|
|
331
332
|
}));
|
|
332
333
|
}
|
|
333
334
|
}, {
|
|
334
|
-
default:
|
|
335
|
-
n(
|
|
335
|
+
default: i(() => [
|
|
336
|
+
n(m, {
|
|
336
337
|
tag: "label",
|
|
337
338
|
label: l.name,
|
|
338
339
|
clickable: ""
|
|
339
340
|
}, {
|
|
340
|
-
append:
|
|
341
|
+
append: i(() => [
|
|
341
342
|
n(e(P), {
|
|
342
343
|
class: _(
|
|
343
344
|
l.category !== "Uncategorized" ? "bg-fm-color-system-info-100 text-fm-color-typo-info" : "text-fm-color-typo-secondary"
|
|
344
345
|
),
|
|
345
346
|
compact: !0
|
|
346
347
|
}, {
|
|
347
|
-
default:
|
|
348
|
-
y("p", Ve,
|
|
348
|
+
default: i(() => [
|
|
349
|
+
y("p", Ve, R(l.category), 1)
|
|
349
350
|
]),
|
|
350
351
|
_: 2
|
|
351
352
|
}, 1032, ["class"]),
|
|
@@ -353,13 +354,13 @@ const Se = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Le
|
|
|
353
354
|
placement: "left",
|
|
354
355
|
"stop-click-propagation": !0
|
|
355
356
|
}, {
|
|
356
|
-
"menu-button":
|
|
357
|
+
"menu-button": i(() => [
|
|
357
358
|
n(e(z), {
|
|
358
359
|
name: "more_vert",
|
|
359
360
|
class: "btn-color"
|
|
360
361
|
})
|
|
361
362
|
]),
|
|
362
|
-
default:
|
|
363
|
+
default: i(() => [
|
|
363
364
|
n(e(h), {
|
|
364
365
|
label: l.pin ? "Unpin" : "Pin",
|
|
365
366
|
onClick: () => {
|
|
@@ -388,8 +389,8 @@ const Se = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Le
|
|
|
388
389
|
u && G(u);
|
|
389
390
|
}
|
|
390
391
|
}, {
|
|
391
|
-
label:
|
|
392
|
-
fe(
|
|
392
|
+
label: i(() => [
|
|
393
|
+
fe(R(e(r)("report.common.delete")), 1)
|
|
393
394
|
]),
|
|
394
395
|
_: 2
|
|
395
396
|
}, 1032, ["label", "onClick"]), [
|
|
@@ -409,7 +410,7 @@ const Se = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Le
|
|
|
409
410
|
}, 8, ["class", "row-data", "page-size"])), [
|
|
410
411
|
[D, x.value.length > 0]
|
|
411
412
|
]),
|
|
412
|
-
B(n(
|
|
413
|
+
B(n(we, null, null, 512), [
|
|
413
414
|
[D, x.value.length === 0]
|
|
414
415
|
])
|
|
415
416
|
], 6)
|
|
@@ -420,5 +421,5 @@ const Se = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Le
|
|
|
420
421
|
}
|
|
421
422
|
});
|
|
422
423
|
export {
|
|
423
|
-
|
|
424
|
+
Ke as default
|
|
424
425
|
};
|
package/dist/app.js
CHANGED
|
@@ -17,6 +17,8 @@ const r = {
|
|
|
17
17
|
category: "Category",
|
|
18
18
|
name: "Name",
|
|
19
19
|
uncategorized: "Uncategorized",
|
|
20
|
+
unpin: "Unpin",
|
|
21
|
+
pin: "Pin",
|
|
20
22
|
duplicate: "Duplicate",
|
|
21
23
|
remove: "Remove",
|
|
22
24
|
add: "Add",
|
|
@@ -52,7 +54,8 @@ const r = {
|
|
|
52
54
|
noData: "No data available",
|
|
53
55
|
isLoading: "Loading data...",
|
|
54
56
|
send: "Send",
|
|
55
|
-
update: "Update"
|
|
57
|
+
update: "Update",
|
|
58
|
+
successful: "Successful"
|
|
56
59
|
},
|
|
57
60
|
category: {
|
|
58
61
|
All: "All",
|
|
@@ -100,16 +103,18 @@ const r = {
|
|
|
100
103
|
errorLoading: "Error loading data",
|
|
101
104
|
saveReport: "@:report.common.save @:report.common.report",
|
|
102
105
|
confirmAction: "Do you really want to {action} {name} ?",
|
|
103
|
-
duplicateSuccess: "@:report.common.duplicate {name} successful",
|
|
106
|
+
duplicateSuccess: "@:report.common.duplicate {name} @.lower:report.common.successful",
|
|
104
107
|
confirmDelete: "@:report.common.confirm @:report.common.delete {name} ?",
|
|
105
108
|
deleteReport: "@:report.common.delete @:report.common.report",
|
|
106
|
-
deleteSuccess: "@:report.common.delete {name}
|
|
109
|
+
deleteSuccess: "@:report.common.delete {name} @.lower:report.common.successful",
|
|
110
|
+
unpin: "@:report.common.unpin {name} @.lower:report.common.sucessful",
|
|
111
|
+
pin: "@:report.common.pin {name} @.lower:report.common.sucessful",
|
|
107
112
|
addSchedule: "@:report.common.add schedule",
|
|
108
113
|
updateSchedule: "@:report.common.update schedule",
|
|
109
114
|
noWidget: "No Widget",
|
|
110
115
|
doYouWantToSave: "Do you want to @.lower:report.common.save {name} ?",
|
|
111
116
|
notSaved: "@:report.common.report {name} is not saved, are you sure you want to quit?",
|
|
112
|
-
saveSuccess: "@:report.common.save
|
|
117
|
+
saveSuccess: "@:report.common.save @.lower:report.common.successful",
|
|
113
118
|
saveError: "Failed to @.lower:report.common.save @.lower:report.common.report",
|
|
114
119
|
copiedReportIdToClipboard: "Copied @.lower:report.common.report ID to clipboard",
|
|
115
120
|
failedToAction: "Failed to {action} @.lower:report.common.report"
|
|
@@ -463,6 +468,8 @@ const r = {
|
|
|
463
468
|
category: "类别",
|
|
464
469
|
name: "名称",
|
|
465
470
|
uncategorized: "未分类",
|
|
471
|
+
unpin: "取消固定",
|
|
472
|
+
pin: "固定",
|
|
466
473
|
duplicate: "复制",
|
|
467
474
|
remove: "移除",
|
|
468
475
|
add: "添加",
|
|
@@ -498,7 +505,8 @@ const r = {
|
|
|
498
505
|
noData: "没有数据",
|
|
499
506
|
isLoading: "加载中...",
|
|
500
507
|
send: "发送",
|
|
501
|
-
update: "更新"
|
|
508
|
+
update: "更新",
|
|
509
|
+
successful: "成功"
|
|
502
510
|
},
|
|
503
511
|
category: {
|
|
504
512
|
All: "全部",
|
|
@@ -546,18 +554,20 @@ const r = {
|
|
|
546
554
|
errorLoading: "加载数据失败",
|
|
547
555
|
saveReport: "@:{'report.common.save'}@:report.common.report",
|
|
548
556
|
confirmAction: "你真的想{action}{name}吗?",
|
|
549
|
-
duplicateSuccess: "@:report.common.duplicate{name}
|
|
557
|
+
duplicateSuccess: "@:report.common.duplicate{name}@:report.common.sucessful",
|
|
550
558
|
confirmDelete: "@:report.common.confirm@:report.common.delete{name} ?",
|
|
551
559
|
deleteReport: "@:report.common.delete@:report.common.report",
|
|
552
|
-
deleteSuccess: "@:report.common.delete{name}
|
|
560
|
+
deleteSuccess: "@:report.common.delete{name}@:report.common.sucessful",
|
|
561
|
+
unpin: "@:report.common.unpin{name}@:report.common.sucessful",
|
|
562
|
+
pin: "@:report.common.pin{name}@:report.common.sucessful",
|
|
553
563
|
addSchedule: "@:report.common.add@report.common.schedule",
|
|
554
564
|
updateSchedule: "@:report.common.update@report.common.schedule",
|
|
555
565
|
noWidget: "没有小部件",
|
|
556
566
|
doYouWantToSave: "你想要@:report.common.save{name}吗?",
|
|
557
567
|
notSaved: "@:report.common.report{name}未保存,你确定要退出吗?",
|
|
558
|
-
saveSuccess: "@:report.common.save
|
|
568
|
+
saveSuccess: "@:report.common.save@:report.common.sucessful",
|
|
559
569
|
saveError: "失败@:report.common.save@:report.common.report",
|
|
560
|
-
copiedReportIdToClipboard: "
|
|
570
|
+
copiedReportIdToClipboard: "已复制@:report.common.reportID到剪贴板",
|
|
561
571
|
failedToAction: "失败{action} @:report.common.report"
|
|
562
572
|
},
|
|
563
573
|
schedule: {
|
|
@@ -903,7 +913,7 @@ const r = {
|
|
|
903
913
|
{
|
|
904
914
|
path: "/report",
|
|
905
915
|
name: "reports",
|
|
906
|
-
component: () => import("./Report-
|
|
916
|
+
component: () => import("./Report-BPF-9gdd.js")
|
|
907
917
|
},
|
|
908
918
|
{
|
|
909
919
|
path: "/insights",
|
|
@@ -942,7 +952,7 @@ const r = {
|
|
|
942
952
|
{
|
|
943
953
|
name: "integration",
|
|
944
954
|
path: "/integration/:id",
|
|
945
|
-
component: () => import("./Integration-
|
|
955
|
+
component: () => import("./Integration-CQmN91F8.js")
|
|
946
956
|
}
|
|
947
957
|
]
|
|
948
958
|
},
|
|
@@ -964,7 +974,7 @@ t({
|
|
|
964
974
|
const m = {
|
|
965
975
|
"en-US": a,
|
|
966
976
|
"zh-CN": i
|
|
967
|
-
}, s = e(() => import("./App-
|
|
977
|
+
}, s = e(() => import("./App-DNgpJqdO.js"));
|
|
968
978
|
export {
|
|
969
979
|
s as FmApp,
|
|
970
980
|
m as i18nMessages,
|