@feedmepos/mf-report 5.4.15-beta.1 → 5.4.15-beta.3

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 (45) hide show
  1. package/dist/App-DufL3Y8h.js +152 -0
  2. package/dist/DateRangeSelect.vue_vue_type_script_setup_true_lang-DLDk5l4R.js +162 -0
  3. package/dist/{Default.vue_vue_type_script_setup_true_lang-Bxuyjrkr.js → Default.vue_vue_type_script_setup_true_lang-DVLxkOOQ.js} +2 -2
  4. package/dist/DynamicWidget.vue_vue_type_script_setup_true_lang-C29g9w6o.js +999 -0
  5. package/dist/{InsightView-D78TK2E8.js → InsightView-tyeJBlRm.js} +1051 -1049
  6. package/dist/Integration-ILSIf-OL.js +3695 -0
  7. package/dist/Integrations-DwgNrM3U.js +334 -0
  8. package/dist/{Layout-DERpCrQk.js → Layout-Bw1oh6Q-.js} +1 -1
  9. package/dist/{LocationSelect.vue_vue_type_script_setup_true_lang-DurYBXa5.js → LocationSelect.vue_vue_type_script_setup_true_lang-BFj4d-UF.js} +1861 -1859
  10. package/dist/MenuTab.vue_vue_type_script_setup_true_lang-DzZeasAK.js +277 -0
  11. package/dist/{NavigationTab.vue_vue_type_script_setup_true_lang-C8yzWDXs.js → NavigationTab.vue_vue_type_script_setup_true_lang-_eC_tMk_.js} +5526 -5482
  12. package/dist/NoData.vue_vue_type_script_setup_true_lang-BtQobm-7.js +31 -0
  13. package/dist/OverviewView-Dl8oOobn.js +61 -0
  14. package/dist/Report-BqD8KVZ8.js +424 -0
  15. package/dist/ReportEditor-DkzFUgbO.js +532 -0
  16. package/dist/ReportView-DpWZHV0o.js +169 -0
  17. package/dist/SelectComponent.vue_vue_type_script_setup_true_lang-C3VG1mi_.js +104 -0
  18. package/dist/Setting-CYrg_50p.js +320 -0
  19. package/dist/TileEditor-CDrzLbqc.js +2320 -0
  20. package/dist/{TransitionFade-BLDfpF7R.js → TransitionFade-D19wC3tb.js} +225 -220
  21. package/dist/app.js +915 -27
  22. package/dist/{global-loader-CMC9fgBi.js → global-loader-C3JC7z-H.js} +4966 -2240
  23. package/dist/index-9IDzTnHw.js +147 -0
  24. package/dist/{report-schema-G0x3CoJb.js → report-schema-1zQJbLyB.js} +4 -4
  25. package/dist/style.css +1 -1
  26. package/dist/timeFormat-CjNvJMgk.js +9 -0
  27. package/dist/{v4-DF7wffYN.js → v4-D29FkHfi.js} +2666 -1927
  28. package/package.json +1 -1
  29. package/dist/App-mcSgbcVY.js +0 -133
  30. package/dist/DateRangeSelect.vue_vue_type_script_setup_true_lang-DPuhMR6i.js +0 -160
  31. package/dist/DynamicWidget.vue_vue_type_script_setup_true_lang-B6IzlHmr.js +0 -996
  32. package/dist/HeaderTab.vue_vue_type_script_setup_true_lang-B5VBDNwX.js +0 -19
  33. package/dist/Integration-Cm6_YEEE.js +0 -3554
  34. package/dist/Integrations-WWnSho0Q.js +0 -334
  35. package/dist/MenuTab.vue_vue_type_script_setup_true_lang-h87kWy1E.js +0 -261
  36. package/dist/NoData.vue_vue_type_script_setup_true_lang-DlBNFLa3.js +0 -30
  37. package/dist/OverviewView-D7zAR7_7.js +0 -60
  38. package/dist/Report-BnX5amn0.js +0 -409
  39. package/dist/ReportEditor-DW7uWg_a.js +0 -530
  40. package/dist/ReportView-xSaJA5F6.js +0 -166
  41. package/dist/SelectComponent.vue_vue_type_script_setup_true_lang-DBI9op0g.js +0 -103
  42. package/dist/Setting-D8JspXTN.js +0 -326
  43. package/dist/TileEditor-DQ8C5I_M.js +0 -2301
  44. package/dist/index-SmIkb24L.js +0 -143
  45. package/dist/timeFormat-BF-F4Rnt.js +0 -9
@@ -1,143 +0,0 @@
1
- import { g as f } from "./global-loader-CMC9fgBi.js";
2
- var n = /* @__PURE__ */ ((r) => (r.Year = "YEAR", r.Month = "MONTH", r.Week = "WEEK", r.Day = "DAY", r))(n || {});
3
- function R(r, e = 100, a = !1) {
4
- let t = null;
5
- const c = (...l) => {
6
- const u = () => {
7
- t = null, a !== !0 && r.apply(this, l);
8
- };
9
- t !== null ? clearTimeout(t) : a === !0 && r.apply(this, l), t = setTimeout(u, e);
10
- };
11
- return c.cancel = () => {
12
- t !== null && clearTimeout(t);
13
- }, c;
14
- }
15
- function L() {
16
- return [...Array(12).keys()].map((r) => f().month(r).format("MMM"));
17
- }
18
- function w(r, e = "") {
19
- switch (r.type) {
20
- case n.Day:
21
- return "Every Day";
22
- case n.Week: {
23
- let a = "Weekly , every ";
24
- const t = [
25
- "Sunday",
26
- "Monday",
27
- "Tuesday",
28
- "Wednesday",
29
- "Thursday",
30
- "Friday",
31
- "Saturday"
32
- ];
33
- if (r.days)
34
- for (let c = 0; c < r.days.length; c++)
35
- a = a + t[r.days[c]] + (c !== r.days.length - 1 ? "," : "");
36
- return a;
37
- }
38
- case n.Month: {
39
- let a = "Monthly , every ";
40
- return r.days && (a = a + r.days.join(",")), a;
41
- }
42
- case n.Year: {
43
- if (!r.months && !r.days)
44
- return "Custom Date";
45
- let a = "Yearly , every ";
46
- if (r.months) {
47
- const t = L();
48
- a = a + r.months.map((c) => t[c - 1]).join(",");
49
- }
50
- return r.months && r.days && (a = a + " and "), r.days && (a = a + r.days.join(",")), a;
51
- }
52
- default:
53
- return e;
54
- }
55
- }
56
- function S(r) {
57
- if (!r.startDate || !r.endDate)
58
- return "No comparison";
59
- let e = f().subtract(1, "day").endOf("day"), a = f().endOf("day");
60
- return r.startDate && (e = f(r.startDate)), r.endDate && (a = f(r.endDate)), e.format("YYYY") !== a.format("YYYY") ? `${e.format("DD MMM YYYY")} - ${a.format("DD MMM YYYY")}` : `${e.format("DD MMM")} - ${a.format("DD MMM YYYY")}`;
61
- }
62
- const x = new RegExp("([\\p{Ll}\\d])(\\p{Lu})", "gu"), A = new RegExp("(\\p{Lu})([\\p{Lu}][\\p{Ll}])", "gu"), T = new RegExp("(\\d)\\p{Ll}|(\\p{L})\\d", "u"), _ = /[^\p{L}\d]+/giu, Y = "$1\0$2", D = "";
63
- function E(r) {
64
- let e = r.trim();
65
- e = e.replace(x, Y).replace(A, Y), e = e.replace(_, "\0");
66
- let a = 0, t = e.length;
67
- for (; e.charAt(a) === "\0"; )
68
- a++;
69
- if (a === t)
70
- return [];
71
- for (; e.charAt(t - 1) === "\0"; )
72
- t--;
73
- return e.slice(a, t).split(/\0/g);
74
- }
75
- function g(r) {
76
- const e = E(r);
77
- for (let a = 0; a < e.length; a++) {
78
- const t = e[a], c = T.exec(t);
79
- if (c) {
80
- const l = c.index + (c[1] ?? c[2]).length;
81
- e.splice(a, 1, t.slice(0, l), t.slice(l));
82
- }
83
- }
84
- return e;
85
- }
86
- function F(r, e) {
87
- const [a, t, c] = i(r, e), l = y(e == null ? void 0 : e.locale), u = h(e == null ? void 0 : e.locale), s = e != null && e.mergeAmbiguousCharacters ? m(l, u) : C(l, u);
88
- return a + t.map(s).join((e == null ? void 0 : e.delimiter) ?? "") + c;
89
- }
90
- function I(r, e) {
91
- const [a, t, c] = i(r, e), l = y(e == null ? void 0 : e.locale), u = h(e == null ? void 0 : e.locale);
92
- return a + t.map(m(l, u)).join((e == null ? void 0 : e.delimiter) ?? " ") + c;
93
- }
94
- function U(r, e) {
95
- const [a, t, c] = i(r, e), l = y(e == null ? void 0 : e.locale), u = h(e == null ? void 0 : e.locale), s = m(l, u);
96
- return a + t.map((d, M) => M === 0 ? s(d) : l(d)).join((e == null ? void 0 : e.delimiter) ?? " ") + c;
97
- }
98
- function y(r) {
99
- return r === !1 ? (e) => e.toLowerCase() : (e) => e.toLocaleLowerCase(r);
100
- }
101
- function h(r) {
102
- return r === !1 ? (e) => e.toUpperCase() : (e) => e.toLocaleUpperCase(r);
103
- }
104
- function m(r, e) {
105
- return (a) => `${e(a[0])}${r(a.slice(1))}`;
106
- }
107
- function C(r, e) {
108
- return (a, t) => {
109
- const c = a[0];
110
- return (t > 0 && c >= "0" && c <= "9" ? "_" + c : e(c)) + r(a.slice(1));
111
- };
112
- }
113
- function i(r, e = {}) {
114
- const a = e.split ?? (e.separateNumbers ? g : E), t = e.prefixCharacters ?? D, c = e.suffixCharacters ?? D;
115
- let l = 0, u = r.length;
116
- for (; l < r.length; ) {
117
- const s = r.charAt(l);
118
- if (!t.includes(s))
119
- break;
120
- l++;
121
- }
122
- for (; u > l; ) {
123
- const s = u - 1, d = r.charAt(s);
124
- if (!c.includes(d))
125
- break;
126
- u = s;
127
- }
128
- return [
129
- r.slice(0, l),
130
- a(r.slice(l, u)),
131
- r.slice(u)
132
- ];
133
- }
134
- export {
135
- n as C,
136
- w as a,
137
- S as b,
138
- I as c,
139
- R as d,
140
- L as g,
141
- F as p,
142
- U as s
143
- };
@@ -1,9 +0,0 @@
1
- import { g as s } from "./global-loader-CMC9fgBi.js";
2
- const u = (t) => s().set("hour", t.hour).set("minute", t.minute).format("h:mm A"), m = (t, e) => {
3
- const o = s().set("hour", t.hour).set("minute", t.minute);
4
- return s().set("hour", e.hour).set("minute", e.minute) < o ? "+1" : "";
5
- };
6
- export {
7
- m as s,
8
- u as t
9
- };