@feedmepos/mf-report 5.27.54 → 5.28.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-C6xpf-Q0.js → App-BDhSFQX_.js} +45 -44
- package/dist/DateRangeSelect-CRsKMi0U.js +437 -0
- package/dist/{Default.vue_vue_type_script_setup_true_lang-BwPZXC_d.js → Default.vue_vue_type_script_setup_true_lang-WGOOX2b8.js} +12 -11
- package/dist/{DynamicWidget.vue_vue_type_script_setup_true_lang-BpgXiPBY.js → DynamicWidget.vue_vue_type_script_setup_true_lang-CQM-l5Rk.js} +182 -181
- package/dist/{GlobalFilterSelect.vue_vue_type_script_setup_true_lang-CVShUWJC.js → GlobalFilterSelect.vue_vue_type_script_setup_true_lang-CMioHpn1.js} +5091 -5717
- package/dist/{InsightView-BYW66Wrv.js → InsightView-lnOobZAr.js} +17 -15
- package/dist/{Integration-DQPJBE-0.js → Integration-D5ssimUg.js} +27 -25
- package/dist/{Integrations-BW4H9lUS.js → Integrations-CaqGvkzI.js} +8 -7
- package/dist/{Layout-CMlh08aB.js → Layout-DS0XCT_E.js} +1 -1
- package/dist/LocationSelect.vue_vue_type_script_setup_true_lang-DC9QYJk-.js +8055 -0
- package/dist/{MenuTab.vue_vue_type_script_setup_true_lang-BUvD1_b0.js → MenuTab.vue_vue_type_script_setup_true_lang-nOukNXp3.js} +11 -10
- package/dist/{NavigationTab.vue_vue_type_script_setup_true_lang-TpeQ_Wm1.js → NavigationTab.vue_vue_type_script_setup_true_lang-DXNbt08D.js} +9636 -17677
- package/dist/{OverviewView-BtGpQkBY.js → OverviewView-BkIozvMs.js} +5 -5
- package/dist/{Report-CJ9myNLK.js → Report-HiSGRNhn.js} +27 -25
- package/dist/ReportCanvasView-ILVhB1KL.js +448 -0
- package/dist/{ReportEditor-DtnTBbY1.js → ReportEditor-B4tyVB8s.js} +30 -28
- package/dist/{ReportView-Ci8nFyI9.js → ReportView-CIQQHvWT.js} +14 -13
- package/dist/ReportViewRoute-B3KwVB0v.js +18 -0
- package/dist/{SelectComponent.vue_vue_type_script_setup_true_lang-Ckn2p74A.js → SelectComponent.vue_vue_type_script_setup_true_lang-DW7Dk7iQ.js} +1 -1
- package/dist/{Setting-QSiMSAQk.js → Setting-CvToMUKq.js} +5 -5
- package/dist/{Template-CAPlAQO9.js → Template-BBQEaHrM.js} +10 -9
- package/dist/{TileEditor-e7ZCWMU9.js → TileEditor-Cqy98LmJ.js} +19 -17
- package/dist/{TilePageStack.vue_vue_type_script_setup_true_lang-B4g3YPzM.js → TilePageStack.vue_vue_type_script_setup_true_lang-CzggUdfI.js} +3 -3
- package/dist/{TransitionFade-DqIazHHG.js → TransitionFade-D-8BYs6T.js} +36 -33
- package/dist/{_plugin-vue_export-helper-kkiiQoKl.js → _plugin-vue_export-helper-C6QDExPN.js} +276 -291
- package/dist/{app-BAgs-zHf.js → app-Bjt_JuJi.js} +670 -567
- package/dist/app.js +1 -1
- package/dist/assets/{formatChartData.worker-epD1fsTW.js → formatChartData.worker-BeBGCyYW.js} +1 -1
- package/dist/assets/{processTableData.worker-BJZ_Z45H.js → processTableData.worker-frTYV0ok.js} +39 -39
- package/dist/global-loader-BuxFfehu.js +19 -0
- package/dist/index-CtZE4sab.js +82 -0
- package/dist/report-DjGDWvm3.js +635 -0
- package/dist/report-canvas-frame.html +888 -0
- package/dist/report-canvas-libs/chart.js-4.js +14 -0
- package/dist/report-canvas-libs/fm-ui-1.js +904 -0
- package/dist/style.css +1 -1
- package/dist/{useRestaurantPermission-ChYMJfXG.js → useRestaurantPermission-Dkbh_cv8.js} +4 -4
- package/package.json +1 -1
- package/dist/DateRangeSelect-DYVOvSCA.js +0 -517
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { defineStore as a } from "pinia";
|
|
2
|
+
import { computed as n, ref as l } from "vue";
|
|
3
|
+
const u = "mf-reportglobal-loader", i = a(u, () => {
|
|
4
|
+
const r = n(() => o.value > 0), o = l(0);
|
|
5
|
+
async function e(t) {
|
|
6
|
+
try {
|
|
7
|
+
return o.value++, await t();
|
|
8
|
+
} finally {
|
|
9
|
+
o.value--;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
return {
|
|
13
|
+
isLoading: r,
|
|
14
|
+
promptLoader: e
|
|
15
|
+
};
|
|
16
|
+
});
|
|
17
|
+
export {
|
|
18
|
+
i as u
|
|
19
|
+
};
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
const P = new RegExp("([\\p{Ll}\\d])(\\p{Lu})", "gu"), R = new RegExp("(\\p{Lu})([\\p{Lu}][\\p{Ll}])", "gu"), A = new RegExp("(\\d)\\p{Ll}|(\\p{L})\\d", "u"), g = /[^\p{L}\d]+/giu, E = "$1\0$2", n = "";
|
|
2
|
+
function _(r) {
|
|
3
|
+
let e = r.trim();
|
|
4
|
+
e = e.replace(P, E).replace(R, E), e = e.replace(g, "\0");
|
|
5
|
+
let c = 0, l = e.length;
|
|
6
|
+
for (; e.charAt(c) === "\0"; )
|
|
7
|
+
c++;
|
|
8
|
+
if (c === l)
|
|
9
|
+
return [];
|
|
10
|
+
for (; e.charAt(l - 1) === "\0"; )
|
|
11
|
+
l--;
|
|
12
|
+
return e.slice(c, l).split(/\0/g);
|
|
13
|
+
}
|
|
14
|
+
function w(r) {
|
|
15
|
+
const e = _(r);
|
|
16
|
+
for (let c = 0; c < e.length; c++) {
|
|
17
|
+
const l = e[c], f = A.exec(l);
|
|
18
|
+
if (f) {
|
|
19
|
+
const a = f.index + (f[1] ?? f[2]).length;
|
|
20
|
+
e.splice(c, 1, l.slice(0, a), l.slice(a));
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
return e;
|
|
24
|
+
}
|
|
25
|
+
function T(r, e) {
|
|
26
|
+
const [c, l, f] = C(r, e), a = m(e == null ? void 0 : e.locale), u = x(e == null ? void 0 : e.locale), t = e != null && e.mergeAmbiguousCharacters ? L(a, u) : d(a, u);
|
|
27
|
+
return c + l.map((s, h) => h === 0 ? a(s) : t(s, h)).join((e == null ? void 0 : e.delimiter) ?? "") + f;
|
|
28
|
+
}
|
|
29
|
+
function F(r, e) {
|
|
30
|
+
const [c, l, f] = C(r, e), a = m(e == null ? void 0 : e.locale), u = x(e == null ? void 0 : e.locale), t = e != null && e.mergeAmbiguousCharacters ? L(a, u) : d(a, u);
|
|
31
|
+
return c + l.map(t).join((e == null ? void 0 : e.delimiter) ?? "") + f;
|
|
32
|
+
}
|
|
33
|
+
function S(r, e) {
|
|
34
|
+
const [c, l, f] = C(r, e), a = m(e == null ? void 0 : e.locale), u = x(e == null ? void 0 : e.locale);
|
|
35
|
+
return c + l.map(L(a, u)).join((e == null ? void 0 : e.delimiter) ?? " ") + f;
|
|
36
|
+
}
|
|
37
|
+
function U(r, e) {
|
|
38
|
+
const [c, l, f] = C(r, e), a = m(e == null ? void 0 : e.locale), u = x(e == null ? void 0 : e.locale), t = L(a, u);
|
|
39
|
+
return c + l.map((s, h) => h === 0 ? t(s) : a(s)).join((e == null ? void 0 : e.delimiter) ?? " ") + f;
|
|
40
|
+
}
|
|
41
|
+
function m(r) {
|
|
42
|
+
return r === !1 ? (e) => e.toLowerCase() : (e) => e.toLocaleLowerCase(r);
|
|
43
|
+
}
|
|
44
|
+
function x(r) {
|
|
45
|
+
return r === !1 ? (e) => e.toUpperCase() : (e) => e.toLocaleUpperCase(r);
|
|
46
|
+
}
|
|
47
|
+
function L(r, e) {
|
|
48
|
+
return (c) => `${e(c[0])}${r(c.slice(1))}`;
|
|
49
|
+
}
|
|
50
|
+
function d(r, e) {
|
|
51
|
+
return (c, l) => {
|
|
52
|
+
const f = c[0];
|
|
53
|
+
return (l > 0 && f >= "0" && f <= "9" ? "_" + f : e(f)) + r(c.slice(1));
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
function C(r, e = {}) {
|
|
57
|
+
const c = e.split ?? (e.separateNumbers ? w : _), l = e.prefixCharacters ?? n, f = e.suffixCharacters ?? n;
|
|
58
|
+
let a = 0, u = r.length;
|
|
59
|
+
for (; a < r.length; ) {
|
|
60
|
+
const t = r.charAt(a);
|
|
61
|
+
if (!l.includes(t))
|
|
62
|
+
break;
|
|
63
|
+
a++;
|
|
64
|
+
}
|
|
65
|
+
for (; u > a; ) {
|
|
66
|
+
const t = u - 1, s = r.charAt(t);
|
|
67
|
+
if (!f.includes(s))
|
|
68
|
+
break;
|
|
69
|
+
u = t;
|
|
70
|
+
}
|
|
71
|
+
return [
|
|
72
|
+
r.slice(0, a),
|
|
73
|
+
c(r.slice(a, u)),
|
|
74
|
+
r.slice(u)
|
|
75
|
+
];
|
|
76
|
+
}
|
|
77
|
+
export {
|
|
78
|
+
T as a,
|
|
79
|
+
S as c,
|
|
80
|
+
F as p,
|
|
81
|
+
U as s
|
|
82
|
+
};
|