@feedmepos/mf-report 5.19.20 → 5.19.21-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-CpPkDCME.js → App-C4x7ZEye.js} +31 -31
- package/dist/{BaseDialog.vue_vue_type_script_setup_true_lang-BLVm6EP9.js → BaseDialog.vue_vue_type_script_setup_true_lang-CosulEnD.js} +862 -662
- package/dist/DateRangeSelect.vue_vue_type_script_setup_true_lang-BeBr4VIF.js +282 -0
- package/dist/{Default.vue_vue_type_script_setup_true_lang-DTHkWGvx.js → Default.vue_vue_type_script_setup_true_lang-g1a2ZeGy.js} +2 -2
- package/dist/FilterSelector.vue_vue_type_script_setup_true_lang-Cgc4ZMrl.js +2455 -0
- package/dist/{InsightView-wYbhKrWa.js → InsightView-jAOVvZfx.js} +5 -5
- package/dist/{Integration-GkPCivXG.js → Integration-BovNO2yX.js} +2 -2
- package/dist/{Integrations-BGNXoeWI.js → Integrations-DIXSWGS_.js} +3 -3
- package/dist/{Layout-B7pJLV4_.js → Layout-CptBKFVs.js} +1 -1
- package/dist/MenuTab.vue_vue_type_script_setup_true_lang-BGEMZOKu.js +107 -0
- package/dist/{NavigationTab.vue_vue_type_script_setup_true_lang-Cl6q8Efn.js → NavigationTab.vue_vue_type_script_setup_true_lang-B3sRs2Tc.js} +7331 -7518
- package/dist/{NoData.vue_vue_type_script_setup_true_lang-CUuIeYhQ.js → NoData.vue_vue_type_script_setup_true_lang-CtN7oqXx.js} +1 -1
- package/dist/{OverviewView-DzumtIfB.js → OverviewView-DVL5KgO_.js} +5 -5
- package/dist/{Report-B_SX8ejx.js → Report-C6U6OiZy.js} +4 -4
- package/dist/ReportEditor-DD8jAl9a.js +1070 -0
- package/dist/{ReportView-DPMurcsC.js → ReportView-DAL1aJFD.js} +7 -7
- package/dist/{SelectComponent.vue_vue_type_script_setup_true_lang-IdXw91_v.js → SelectComponent.vue_vue_type_script_setup_true_lang-BcQEW5MO.js} +1 -1
- package/dist/{Setting-BsikuNba.js → Setting-DpyuOpXG.js} +4 -4
- package/dist/TileEditor-B4NsHTN2.js +2744 -0
- package/dist/TransitionFade-z0DXUsgP.js +2366 -0
- package/dist/app.js +41 -15
- package/dist/{vue-i18n-D33f1SSo.js → vue-i18n-BJW_sJot.js} +405 -400
- package/package.json +1 -1
- package/dist/DateRangeSelect.vue_vue_type_script_setup_true_lang-C7mhpRK0.js +0 -185
- package/dist/DynamicWidget.vue_vue_type_script_setup_true_lang-DVY4vxAN.js +0 -1669
- package/dist/MenuTab.vue_vue_type_script_setup_true_lang-C7pQMilo.js +0 -352
- package/dist/ReportEditor-D5OHT5As.js +0 -1013
- package/dist/TileEditor-Bzk4U52d.js +0 -2735
- package/dist/TransitionFade-Blz6m84x.js +0 -2499
- package/dist/helper-B2iB0Dbh.js +0 -75
package/dist/helper-B2iB0Dbh.js
DELETED
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
import { d } from "./vue-i18n-D33f1SSo.js";
|
|
2
|
-
var u = /* @__PURE__ */ ((e) => (e.Year = "YEAR", e.Month = "MONTH", e.Week = "WEEK", e.Day = "DAY", e))(u || {});
|
|
3
|
-
function c(e, a = 100) {
|
|
4
|
-
let r = null;
|
|
5
|
-
const t = function(...n) {
|
|
6
|
-
return r && clearTimeout(r), new Promise((s) => {
|
|
7
|
-
r = setTimeout(() => {
|
|
8
|
-
r = null;
|
|
9
|
-
const l = e(...n);
|
|
10
|
-
s(l);
|
|
11
|
-
}, a);
|
|
12
|
-
});
|
|
13
|
-
};
|
|
14
|
-
return t.cancel = () => {
|
|
15
|
-
r && (clearTimeout(r), r = null);
|
|
16
|
-
}, t;
|
|
17
|
-
}
|
|
18
|
-
function y() {
|
|
19
|
-
return [...Array(12).keys()].map((e) => d().month(e).format("MMM"));
|
|
20
|
-
}
|
|
21
|
-
function f(e, a, r = "") {
|
|
22
|
-
switch (e.type) {
|
|
23
|
-
case u.Day:
|
|
24
|
-
return a("report.schedule.everyDay");
|
|
25
|
-
case u.Week: {
|
|
26
|
-
let t = `${a("report.schedule.everyWeek")} `;
|
|
27
|
-
const n = [
|
|
28
|
-
a("report.days.sunday"),
|
|
29
|
-
a("report.days.monday"),
|
|
30
|
-
a("report.days.tuesday"),
|
|
31
|
-
a("report.days.wednesday"),
|
|
32
|
-
a("report.days.thursday"),
|
|
33
|
-
a("report.days.friday"),
|
|
34
|
-
a("report.days.saturday")
|
|
35
|
-
];
|
|
36
|
-
if (e.days)
|
|
37
|
-
for (let s = 0; s < e.days.length; s++)
|
|
38
|
-
t = t + n[e.days[s]] + (s !== e.days.length - 1 ? "," : "");
|
|
39
|
-
return t;
|
|
40
|
-
}
|
|
41
|
-
case u.Month: {
|
|
42
|
-
let t = `${a("report.schedule.everyMonth")} `;
|
|
43
|
-
return e.days && (t = t + e.days.join(",")), t;
|
|
44
|
-
}
|
|
45
|
-
case u.Year: {
|
|
46
|
-
if (!e.months && !e.days)
|
|
47
|
-
return a("report.schedule.customDate");
|
|
48
|
-
let t = `${a("report.schedule.everyYear")} `;
|
|
49
|
-
if (e.months) {
|
|
50
|
-
const n = y();
|
|
51
|
-
t = t + e.months.map((s) => n[s - 1]).join(",");
|
|
52
|
-
}
|
|
53
|
-
return e.months && e.days && (t = t + ` ${a("report.common.and")} `), e.days && (t = t + e.days.join(",")), t;
|
|
54
|
-
}
|
|
55
|
-
default:
|
|
56
|
-
return r;
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
function m(e = {
|
|
60
|
-
startDate: null,
|
|
61
|
-
endDate: null,
|
|
62
|
-
locale: "en-US"
|
|
63
|
-
}) {
|
|
64
|
-
if (!e.startDate || !e.endDate)
|
|
65
|
-
return "No comparison";
|
|
66
|
-
let a = d().subtract(1, "day").endOf("day"), r = d().endOf("day");
|
|
67
|
-
return e.startDate && (a = d(e.startDate).locale(e.locale)), e.endDate && (r = d(e.endDate).locale(e.locale)), a.format("YYYY") !== r.format("YYYY") ? `${a.format("DD MMM YYYY")} - ${r.format("DD MMM YYYY")}` : `${a.format("DD MMM")} - ${r.format("DD MMM YYYY")}`;
|
|
68
|
-
}
|
|
69
|
-
export {
|
|
70
|
-
u as C,
|
|
71
|
-
c as a,
|
|
72
|
-
f as b,
|
|
73
|
-
m as d,
|
|
74
|
-
y as g
|
|
75
|
-
};
|