@feedmepos/mf-report 5.19.18 → 5.19.19-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.
Files changed (30) hide show
  1. package/dist/{App-B2WE7ZOa.js → App-BG5uoHAn.js} +31 -31
  2. package/dist/{BaseDialog.vue_vue_type_script_setup_true_lang-DlpIEV2j.js → BaseDialog.vue_vue_type_script_setup_true_lang-dX7Y4f-_.js} +5970 -5720
  3. package/dist/DateRangeSelect.vue_vue_type_script_setup_true_lang-BeBr4VIF.js +282 -0
  4. package/dist/{Default.vue_vue_type_script_setup_true_lang-Bk7Ojrpl.js → Default.vue_vue_type_script_setup_true_lang-arY3ZcKZ.js} +2 -2
  5. package/dist/FilterSelector.vue_vue_type_script_setup_true_lang-BlJuhyD7.js +2377 -0
  6. package/dist/{InsightView-C3xTImex.js → InsightView-BEo7cPN3.js} +5 -5
  7. package/dist/{Integration-GkPCivXG.js → Integration-BovNO2yX.js} +2 -2
  8. package/dist/{Integrations-BGNXoeWI.js → Integrations-DIXSWGS_.js} +3 -3
  9. package/dist/{Layout-BTxqXohN.js → Layout-DhAHGBTk.js} +1 -1
  10. package/dist/MenuTab.vue_vue_type_script_setup_true_lang-BSapw37S.js +107 -0
  11. package/dist/{NavigationTab.vue_vue_type_script_setup_true_lang-C25yhFfw.js → NavigationTab.vue_vue_type_script_setup_true_lang-DuzQ1OX-.js} +7331 -7518
  12. package/dist/{NoData.vue_vue_type_script_setup_true_lang-CUuIeYhQ.js → NoData.vue_vue_type_script_setup_true_lang-CtN7oqXx.js} +1 -1
  13. package/dist/{OverviewView-B3-uF-wj.js → OverviewView-DEZKfz6j.js} +5 -5
  14. package/dist/{Report-Cg07B-ME.js → Report-WQb5zc2W.js} +4 -4
  15. package/dist/ReportEditor-BiRciW22.js +1055 -0
  16. package/dist/{ReportView-uZbqFFrB.js → ReportView-CJ4PA-Je.js} +7 -7
  17. 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
  18. package/dist/{Setting-Q3RmUA-1.js → Setting-Do3ReOAh.js} +4 -4
  19. package/dist/TileEditor-S-aswtJh.js +2744 -0
  20. package/dist/TransitionFade-C6FDOvN4.js +2365 -0
  21. package/dist/app.js +41 -15
  22. package/dist/{vue-i18n-D33f1SSo.js → vue-i18n-BJW_sJot.js} +405 -400
  23. package/package.json +1 -1
  24. package/dist/DateRangeSelect.vue_vue_type_script_setup_true_lang-C7mhpRK0.js +0 -185
  25. package/dist/DynamicWidget.vue_vue_type_script_setup_true_lang-T1mI6axf.js +0 -1669
  26. package/dist/MenuTab.vue_vue_type_script_setup_true_lang-BikNRnd-.js +0 -352
  27. package/dist/ReportEditor-B_4Ia3lm.js +0 -1013
  28. package/dist/TileEditor-C_sn2q77.js +0 -2735
  29. package/dist/TransitionFade-DL95FCIn.js +0 -2499
  30. package/dist/helper-B2iB0Dbh.js +0 -75
@@ -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
- };