@feedmepos/mf-report 5.5.3 → 5.5.4
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-Ds-SnsYH.js → App-DA8hqjXH.js} +2 -2
- package/dist/{Default.vue_vue_type_script_setup_true_lang-CJeWQMdJ.js → Default.vue_vue_type_script_setup_true_lang-BquQR5T1.js} +1 -1
- package/dist/{DynamicWidget.vue_vue_type_script_setup_true_lang-DnF2zN4s.js → DynamicWidget.vue_vue_type_script_setup_true_lang-DtI8K3i4.js} +79 -78
- package/dist/{InsightView-CXYuVSpH.js → InsightView-h_oOhB76.js} +2 -2
- package/dist/{Layout-CVdEU9ys.js → Layout-DhQKtiCY.js} +1 -1
- package/dist/{MenuTab.vue_vue_type_script_setup_true_lang-DvYLquMC.js → MenuTab.vue_vue_type_script_setup_true_lang-Cp2ydI0y.js} +1 -1
- package/dist/{NavigationTab.vue_vue_type_script_setup_true_lang-_Ws6qno4.js → NavigationTab.vue_vue_type_script_setup_true_lang-HjmfgcwA.js} +10 -10
- package/dist/{OverviewView-B_HYkIRY.js → OverviewView-CKevObsO.js} +3 -3
- package/dist/{Report-DZPR8ccC.js → Report-Cm4g8k1u.js} +1 -1
- package/dist/{ReportEditor-DGABNUfp.js → ReportEditor-Cm49TL0V.js} +2 -2
- package/dist/{ReportView-BGWJ_OvV.js → ReportView-DxsJrKQW.js} +4 -4
- package/dist/{Setting-O9eULs0H.js → Setting-BlqCrZ39.js} +2 -2
- package/dist/{TileEditor-BIb4cc9R.js → TileEditor-Gy18mERx.js} +2 -2
- package/dist/{TransitionFade-DJDFS-B_.js → TransitionFade-BtZM-oCt.js} +1 -1
- package/dist/app.js +18 -18
- package/package.json +1 -1
|
@@ -4,7 +4,7 @@ import { u as oe, d as F, a as re, b as ne, c as se, e as ae, f as le, g as ue }
|
|
|
4
4
|
import { storeToRefs as B } from "pinia";
|
|
5
5
|
import { u as ie, a as ce } from "./v4-BX252AtO.js";
|
|
6
6
|
import { u as me } from "./report-schema-Zw8e6-XZ.js";
|
|
7
|
-
import { _ as de, u as ve } from "./NavigationTab.vue_vue_type_script_setup_true_lang-
|
|
7
|
+
import { _ as de, u as ve } from "./NavigationTab.vue_vue_type_script_setup_true_lang-HjmfgcwA.js";
|
|
8
8
|
import { u as U } from "./message-dialog-UoMWOnil.js";
|
|
9
9
|
import { useRoute as fe } from "vue-router";
|
|
10
10
|
const pe = { class: "fm-typo-en-body-md-400 text-ellipsis overflow-hidden" }, ge = /* @__PURE__ */ O({
|
|
@@ -96,7 +96,7 @@ const ye = ["src"], _e = ["src"], Le = /* @__PURE__ */ O({
|
|
|
96
96
|
}), M(() => {
|
|
97
97
|
u(de);
|
|
98
98
|
}), j(() => {
|
|
99
|
-
console.log("5.5.
|
|
99
|
+
console.log("5.5.4", !0), window.addEventListener("message", R), window.addEventListener("message", L);
|
|
100
100
|
});
|
|
101
101
|
const V = ce(), D = ve();
|
|
102
102
|
ee(() => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as u, computed as f, resolveComponent as p, createElementBlock as r, openBlock as s, normalizeStyle as l, normalizeClass as d, unref as e, createBlock as y, createCommentVNode as _, createVNode as h, createElementVNode as k, toDisplayString as x, renderSlot as g } from "vue";
|
|
2
|
-
import { _ as v } from "./NavigationTab.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { _ as v } from "./NavigationTab.vue_vue_type_script_setup_true_lang-HjmfgcwA.js";
|
|
3
3
|
import { useBreakpoints as b } from "@feedmepos/ui-library";
|
|
4
4
|
import { storeToRefs as w } from "pinia";
|
|
5
5
|
import { u as q, f as C } from "./global-loader-KvOGLx9k.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { defineComponent as H, useModel as O, computed as
|
|
1
|
+
import { defineComponent as H, useModel as O, computed as o, ref as F, resolveComponent as w, createElementBlock as L, openBlock as h, Fragment as W, renderSlot as G, createVNode as S, createElementVNode as k, toDisplayString as Z, unref as j, withCtx as B, createBlock as $, createCommentVNode as K, normalizeClass as le, normalizeStyle as _e, h as ge, renderList as Ce, mergeModels as Ee, watch as ae, onMounted as ze, onUnmounted as We, resolveDynamicComponent as He, withDirectives as Oe, vShow as qe } from "vue";
|
|
2
2
|
import { W as i, v as te, R as Ue, g as je, d as Ge, q as Je } from "./v4-BX252AtO.js";
|
|
3
3
|
import { u as ie, b as xe, a as ue } from "./global-loader-KvOGLx9k.js";
|
|
4
4
|
import { d as be } from "./index-CDf9QIwq.js";
|
|
5
|
-
import { storeToRefs as
|
|
5
|
+
import { storeToRefs as oe } from "pinia";
|
|
6
6
|
import { _ as Ke } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
7
7
|
import { _ as ye } from "./NoData.vue_vue_type_script_setup_true_lang-CCA1l-Cz.js";
|
|
8
8
|
import { useBreakpoints as Qe, useSnackbar as Ze } from "@feedmepos/ui-library";
|
|
@@ -71,7 +71,7 @@ const Xe = [
|
|
|
71
71
|
showSearchBar: !1
|
|
72
72
|
}
|
|
73
73
|
];
|
|
74
|
-
function
|
|
74
|
+
function se(t) {
|
|
75
75
|
const e = [t.schemaName, t.name];
|
|
76
76
|
return "option" in t && t.option && e.push(t.option), "aggregation" in t && t.aggregation && e.push(t.aggregation), e.push(t.label.replace(/[^a-zA-Z0-9]/g, "")), e.join("_").toLowerCase();
|
|
77
77
|
}
|
|
@@ -125,8 +125,8 @@ function X({
|
|
|
125
125
|
function ke(t, e, n) {
|
|
126
126
|
if (t === "" || e === "")
|
|
127
127
|
return null;
|
|
128
|
-
let p = (
|
|
129
|
-
n === "ID" && (p = (
|
|
128
|
+
let p = (s) => s == null ? void 0 : s.replace(/,/g, "");
|
|
129
|
+
n === "ID" && (p = (s) => s == null ? void 0 : s.replace(/\./g, "").replace(/,/g, "."));
|
|
130
130
|
const g = Number(p(t)), v = Number(p(e));
|
|
131
131
|
if (isNaN(g) || isNaN(v))
|
|
132
132
|
return null;
|
|
@@ -161,24 +161,24 @@ const aa = /* @__PURE__ */ H({
|
|
|
161
161
|
},
|
|
162
162
|
emits: ["update:modelValue"],
|
|
163
163
|
setup(t) {
|
|
164
|
-
const e = O(t, "modelValue"), n =
|
|
165
|
-
var
|
|
166
|
-
return ((
|
|
167
|
-
}), p =
|
|
168
|
-
var
|
|
169
|
-
return ((
|
|
170
|
-
}), g =
|
|
171
|
-
...p.value.map((
|
|
172
|
-
label:
|
|
173
|
-
data:
|
|
174
|
-
dash: !!
|
|
175
|
-
backgroundColor: X({ index: m, isCompare:
|
|
164
|
+
const e = O(t, "modelValue"), n = o(() => {
|
|
165
|
+
var s;
|
|
166
|
+
return ((s = e.value.data) == null ? void 0 : s.xAxis) ?? [];
|
|
167
|
+
}), p = o(() => {
|
|
168
|
+
var s;
|
|
169
|
+
return ((s = e.value.data) == null ? void 0 : s.datasets) ?? [];
|
|
170
|
+
}), g = o(() => e.value.isTransposed ?? void 0), v = o(() => e.value.showLabel ?? void 0), u = F(null), l = o(() => p.value.length > 0 ? [
|
|
171
|
+
...p.value.map((s, m) => ({
|
|
172
|
+
label: s.name,
|
|
173
|
+
data: s.values,
|
|
174
|
+
dash: !!s.isCompare,
|
|
175
|
+
backgroundColor: X({ index: m, isCompare: s.isCompare })
|
|
176
176
|
}))
|
|
177
177
|
] : []);
|
|
178
|
-
return (
|
|
178
|
+
return (s, m) => {
|
|
179
179
|
const R = w("FmBarChart");
|
|
180
180
|
return h(), L(W, null, [
|
|
181
|
-
G(
|
|
181
|
+
G(s.$slots, "menu"),
|
|
182
182
|
S(R, {
|
|
183
183
|
ref_key: "chartRef",
|
|
184
184
|
ref: u,
|
|
@@ -208,7 +208,7 @@ const aa = /* @__PURE__ */ H({
|
|
|
208
208
|
},
|
|
209
209
|
emits: ["update:modelValue"],
|
|
210
210
|
setup(t) {
|
|
211
|
-
const e = O(t, "modelValue"), n =
|
|
211
|
+
const e = O(t, "modelValue"), n = o(() => e.value.showLabel ?? void 0), p = o(() => {
|
|
212
212
|
let g = [];
|
|
213
213
|
return e.value.data.datasets && e.value.data.metrics && e.value.data.datasets.length > 0 && e.value.data.metrics.length > 0 && (g = [
|
|
214
214
|
{
|
|
@@ -242,7 +242,7 @@ const aa = /* @__PURE__ */ H({
|
|
|
242
242
|
], 64);
|
|
243
243
|
};
|
|
244
244
|
}
|
|
245
|
-
}), la = { class: "flex flex-col gap-1" }, na = { class: "fm-typo-en-title-sm-600" },
|
|
245
|
+
}), la = { class: "flex flex-col gap-1" }, na = { class: "fm-typo-en-title-sm-600" }, sa = { class: "flex gap-2" }, oa = { key: 0 }, ra = { key: 1 }, ia = /* @__PURE__ */ H({
|
|
246
246
|
__name: "WidgetScorecard",
|
|
247
247
|
props: {
|
|
248
248
|
modelValue: { required: !0 },
|
|
@@ -250,14 +250,14 @@ const aa = /* @__PURE__ */ H({
|
|
|
250
250
|
},
|
|
251
251
|
emits: ["update:modelValue"],
|
|
252
252
|
setup(t) {
|
|
253
|
-
const e = O(t, "modelValue"), { t: n } = ie(), { compareDateRange: p, defaultDateSetting: g } =
|
|
253
|
+
const e = O(t, "modelValue"), { t: n } = ie(), { compareDateRange: p, defaultDateSetting: g } = oe(xe()), { country: v } = ue(), u = o(() => {
|
|
254
254
|
var y;
|
|
255
255
|
return ((y = e.value.data) == null ? void 0 : y.value) || "";
|
|
256
|
-
}), l =
|
|
256
|
+
}), l = o(() => {
|
|
257
257
|
const { data: y } = e.value;
|
|
258
258
|
return y != null && y.comparison ? ke(u.value, y.comparison, v) : null;
|
|
259
259
|
});
|
|
260
|
-
function
|
|
260
|
+
function s(y) {
|
|
261
261
|
switch (y) {
|
|
262
262
|
case re.bar:
|
|
263
263
|
return "bar";
|
|
@@ -267,10 +267,10 @@ const aa = /* @__PURE__ */ H({
|
|
|
267
267
|
return "line";
|
|
268
268
|
}
|
|
269
269
|
}
|
|
270
|
-
const m =
|
|
270
|
+
const m = o(() => {
|
|
271
271
|
var y;
|
|
272
272
|
return (y = e.value.data) == null ? void 0 : y.sparkline;
|
|
273
|
-
}), R =
|
|
273
|
+
}), R = o(() => m.value.datasets.map((y) => ({
|
|
274
274
|
label: y.name,
|
|
275
275
|
data: y.values,
|
|
276
276
|
fill: !0,
|
|
@@ -282,7 +282,7 @@ const aa = /* @__PURE__ */ H({
|
|
|
282
282
|
return h(), L("div", la, [
|
|
283
283
|
G(y.$slots, "menu"),
|
|
284
284
|
k("p", na, Z(u.value), 1),
|
|
285
|
-
k("div",
|
|
285
|
+
k("div", sa, [
|
|
286
286
|
S(D, {
|
|
287
287
|
content: `vs. ${(c = j(g).defaultCompareType) == null ? void 0 : c.split("_").join(" ")}`,
|
|
288
288
|
placement: "right",
|
|
@@ -325,8 +325,8 @@ const aa = /* @__PURE__ */ H({
|
|
|
325
325
|
_: 1
|
|
326
326
|
}, 8, ["content"])
|
|
327
327
|
]),
|
|
328
|
-
m.value ? (h(), L("div",
|
|
329
|
-
|
|
328
|
+
m.value ? (h(), L("div", oa, [
|
|
329
|
+
s(m.value.type) === "line" ? (h(), $(a, {
|
|
330
330
|
key: 0,
|
|
331
331
|
class: "sparkline",
|
|
332
332
|
datasets: R.value,
|
|
@@ -335,6 +335,7 @@ const aa = /* @__PURE__ */ H({
|
|
|
335
335
|
legend: {
|
|
336
336
|
display: !1
|
|
337
337
|
},
|
|
338
|
+
datalabes: { display: !1 },
|
|
338
339
|
"x-axis": { categories: m.value.dimensions },
|
|
339
340
|
"maintain-aspect-ratio": !1
|
|
340
341
|
}, null, 8, ["datasets", "x-axis"])) : K("", !0)
|
|
@@ -366,13 +367,13 @@ const da = /* @__PURE__ */ Ke(ua, [["render", ca]]), ma = { class: "my-4" }, pa
|
|
|
366
367
|
},
|
|
367
368
|
emits: ["update:modelValue"],
|
|
368
369
|
setup(t) {
|
|
369
|
-
const { t: e } = ie(), n = O(t, "modelValue"), { country: p } = ue(), g = F(null), v =
|
|
370
|
+
const { t: e } = ie(), n = O(t, "modelValue"), { country: p } = ue(), g = F(null), v = o(() => {
|
|
370
371
|
var a;
|
|
371
372
|
return ((a = n.value.data) == null ? void 0 : a.columns) || [{ label: "", key: "" }];
|
|
372
|
-
}), u =
|
|
373
|
+
}), u = o(() => {
|
|
373
374
|
var a;
|
|
374
375
|
return ((a = n.value.data) == null ? void 0 : a.rows) || [];
|
|
375
|
-
}), l =
|
|
376
|
+
}), l = o(() => n.value.filterText), s = o(() => {
|
|
376
377
|
var a, c;
|
|
377
378
|
if (!(l.value && l.value.trim().length > 0 || !((a = u.value[0]) != null && a.isRollup) && !((c = u.value[u.value.length - 1]) != null && c.isRollup))) {
|
|
378
379
|
if (n.value.rollupPosition === M.top || n.value.rollupPosition === void 0)
|
|
@@ -380,13 +381,13 @@ const da = /* @__PURE__ */ Ke(ua, [["render", ca]]), ma = { class: "my-4" }, pa
|
|
|
380
381
|
if (n.value.rollupPosition === M.bottom)
|
|
381
382
|
return M.bottom;
|
|
382
383
|
}
|
|
383
|
-
}), m =
|
|
384
|
-
const d =
|
|
384
|
+
}), m = o(() => {
|
|
385
|
+
const d = s.value !== void 0 ? 1 : 0, x = (g.value ? g.value.$el.offsetHeight : 0) - 48;
|
|
385
386
|
return Math.floor((x - 34.5 - 32) / 48) - d;
|
|
386
|
-
}), R =
|
|
387
|
+
}), R = o(() => {
|
|
387
388
|
var c, b;
|
|
388
389
|
let a = [];
|
|
389
|
-
switch (
|
|
390
|
+
switch (s.value) {
|
|
390
391
|
case M.top:
|
|
391
392
|
a = [...((c = u.value[0]) == null ? void 0 : c.cells) || []].map((d, x) => {
|
|
392
393
|
var _;
|
|
@@ -442,10 +443,10 @@ const da = /* @__PURE__ */ Ke(ua, [["render", ca]]), ma = { class: "my-4" }, pa
|
|
|
442
443
|
difference: ke(a.main, a.comparison, p)
|
|
443
444
|
};
|
|
444
445
|
}
|
|
445
|
-
const I =
|
|
446
|
+
const I = o(() => {
|
|
446
447
|
var x, _, N;
|
|
447
448
|
let a = ((x = n.value.data) == null ? void 0 : x.rows) || [];
|
|
448
|
-
switch (
|
|
449
|
+
switch (s.value) {
|
|
449
450
|
case M.bottom:
|
|
450
451
|
a = (_ = a[a.length - 1]) != null && _.isRollup ? a.slice(0, -1) : a;
|
|
451
452
|
break;
|
|
@@ -461,7 +462,7 @@ const da = /* @__PURE__ */ Ke(ua, [["render", ca]]), ma = { class: "my-4" }, pa
|
|
|
461
462
|
)))).map((P) => y(P)), b = c.length % m.value;
|
|
462
463
|
let d = 0;
|
|
463
464
|
return b > 0 ? d = Math.abs(b - m.value) : c.length === 0 && (d = m.value), c.push(...T(d)), c;
|
|
464
|
-
}), D =
|
|
465
|
+
}), D = o(() => {
|
|
465
466
|
var c;
|
|
466
467
|
let a = [];
|
|
467
468
|
return (c = n.value.data) != null && c.columns && (a = [...n.value.data.columns.map((d) => {
|
|
@@ -540,27 +541,27 @@ const da = /* @__PURE__ */ Ke(ua, [["render", ca]]), ma = { class: "my-4" }, pa
|
|
|
540
541
|
},
|
|
541
542
|
emits: ["update:modelValue"],
|
|
542
543
|
setup(t) {
|
|
543
|
-
const e = O(t, "modelValue"), n =
|
|
544
|
+
const e = O(t, "modelValue"), n = o(() => {
|
|
544
545
|
var m;
|
|
545
546
|
return ((m = e.value.data) == null ? void 0 : m.xAxis) || [];
|
|
546
|
-
}), p =
|
|
547
|
-
var
|
|
548
|
-
return ((
|
|
549
|
-
}), g =
|
|
550
|
-
...p.value.map((
|
|
551
|
-
let R =
|
|
547
|
+
}), p = o(() => {
|
|
548
|
+
var s;
|
|
549
|
+
return ((s = e.value.data) == null ? void 0 : s.datasets) ?? [];
|
|
550
|
+
}), g = o(() => e.value.isTransposed ?? void 0), v = o(() => e.value.showLabel ?? void 0), u = F(null), l = o(() => p.value.length > 0 ? [
|
|
551
|
+
...p.value.map((s, m) => {
|
|
552
|
+
let R = s.values;
|
|
552
553
|
return {
|
|
553
|
-
label:
|
|
554
|
+
label: s.name,
|
|
554
555
|
data: R,
|
|
555
|
-
dash: !!
|
|
556
|
-
backgroundColor: X({ index: m, isCompare:
|
|
556
|
+
dash: !!s.isCompare,
|
|
557
|
+
backgroundColor: X({ index: m, isCompare: s.isCompare })
|
|
557
558
|
};
|
|
558
559
|
})
|
|
559
560
|
] : []);
|
|
560
|
-
return (
|
|
561
|
+
return (s, m) => {
|
|
561
562
|
const R = w("FmBarChart");
|
|
562
563
|
return h(), L(W, null, [
|
|
563
|
-
G(
|
|
564
|
+
G(s.$slots, "menu"),
|
|
564
565
|
S(R, {
|
|
565
566
|
ref_key: "chartRef",
|
|
566
567
|
ref: u,
|
|
@@ -591,25 +592,25 @@ const da = /* @__PURE__ */ Ke(ua, [["render", ca]]), ma = { class: "my-4" }, pa
|
|
|
591
592
|
},
|
|
592
593
|
emits: ["update:modelValue"],
|
|
593
594
|
setup(t) {
|
|
594
|
-
const e = O(t, "modelValue"), n =
|
|
595
|
+
const e = O(t, "modelValue"), n = o(() => {
|
|
595
596
|
var l;
|
|
596
597
|
return ((l = e.value.data) == null ? void 0 : l.xAxis) ?? [];
|
|
597
|
-
}), p =
|
|
598
|
+
}), p = o(() => {
|
|
598
599
|
var l;
|
|
599
600
|
return ((l = e.value.data) == null ? void 0 : l.datasets) ?? [];
|
|
600
|
-
}), g =
|
|
601
|
-
...p.value.map((l,
|
|
601
|
+
}), g = o(() => e.value.isTransposed ?? void 0), v = o(() => e.value.showLabel ?? void 0), u = o(() => p.value.length > 0 ? [
|
|
602
|
+
...p.value.map((l, s) => {
|
|
602
603
|
let m = l.values;
|
|
603
604
|
return {
|
|
604
605
|
label: l.name,
|
|
605
606
|
data: m,
|
|
606
607
|
dash: l.isCompare,
|
|
607
608
|
fill: !1,
|
|
608
|
-
color: X({ index:
|
|
609
|
+
color: X({ index: s, isCompare: l.isCompare })
|
|
609
610
|
};
|
|
610
611
|
})
|
|
611
612
|
] : []);
|
|
612
|
-
return (l,
|
|
613
|
+
return (l, s) => {
|
|
613
614
|
const m = w("FmLineChart");
|
|
614
615
|
return h(), L(W, null, [
|
|
615
616
|
G(l.$slots, "menu"),
|
|
@@ -664,22 +665,22 @@ const Ca = /* @__PURE__ */ H({
|
|
|
664
665
|
},
|
|
665
666
|
emits: ["update:modelValue"],
|
|
666
667
|
setup(t) {
|
|
667
|
-
const e = O(t, "modelValue"), n =
|
|
668
|
+
const e = O(t, "modelValue"), n = o(() => {
|
|
668
669
|
var l;
|
|
669
670
|
return ((l = e.value.data) == null ? void 0 : l.xAxis) ?? [];
|
|
670
|
-
}), p =
|
|
671
|
+
}), p = o(() => {
|
|
671
672
|
var l;
|
|
672
673
|
return ((l = e.value.data) == null ? void 0 : l.datasets) ?? [];
|
|
673
|
-
}), g =
|
|
674
|
-
...p.value.map((l,
|
|
674
|
+
}), g = o(() => e.value.isTransposed ?? void 0), v = o(() => e.value.showLabel ?? void 0), u = o(() => p.value.length > 0 ? [
|
|
675
|
+
...p.value.map((l, s) => ({
|
|
675
676
|
label: l.name,
|
|
676
677
|
data: l.values,
|
|
677
678
|
dash: !!l.isCompare,
|
|
678
679
|
fill: !1,
|
|
679
|
-
color: X({ index:
|
|
680
|
+
color: X({ index: s, isCompare: l.isCompare })
|
|
680
681
|
}))
|
|
681
682
|
] : []);
|
|
682
|
-
return (l,
|
|
683
|
+
return (l, s) => {
|
|
683
684
|
const m = w("FmLineChart");
|
|
684
685
|
return h(), L(W, null, [
|
|
685
686
|
G(l.$slots, "menu"),
|
|
@@ -726,22 +727,22 @@ const Ca = /* @__PURE__ */ H({
|
|
|
726
727
|
}),
|
|
727
728
|
emits: ["update:modelValue"],
|
|
728
729
|
setup(t) {
|
|
729
|
-
const e = F(!0), n = O(t, "modelValue"), { t: p } = ie(), g = t, v = F(null), u = F(n.value.widget.config.rollup), l = F(te()),
|
|
730
|
+
const e = F(!0), n = O(t, "modelValue"), { t: p } = ie(), g = t, v = F(null), u = F(n.value.widget.config.rollup), l = F(te()), s = F(n.value.widget.config.drillDimension), m = o(() => {
|
|
730
731
|
if (U.value.length > 0) {
|
|
731
732
|
const r = U.value.findIndex(
|
|
732
|
-
(f) => f.value ===
|
|
733
|
+
(f) => f.value === s.value
|
|
733
734
|
);
|
|
734
735
|
return r >= 0 ? r : 0;
|
|
735
736
|
} else
|
|
736
737
|
return -1;
|
|
737
|
-
}), R =
|
|
738
|
+
}), R = o(() => m.value !== 0), y = o(
|
|
738
739
|
() => m.value != U.value.length - 1
|
|
739
|
-
), T = F(n.value.widget.config.showLabel ?? !1), J =
|
|
740
|
+
), T = F(n.value.widget.config.showLabel ?? !1), J = o(() => n.value.widget.config.showSearchBar), I = F(""), { breakpoints: D } = Qe(), a = F(), c = o(() => D.value.lg || D.value.md ? ya(n.value.size.width) : D.value.sm ? wa(n.value.size.width) : _a(n.value.size.width)), b = o(
|
|
740
741
|
() => Xe.find((r) => r.type === n.value.widget.type)
|
|
741
742
|
), d = be(() => {
|
|
742
743
|
var r;
|
|
743
744
|
a.value = Le((r = v.value) == null ? void 0 : r.$el.offsetWidth), l.value = te();
|
|
744
|
-
}), x =
|
|
745
|
+
}), x = o(() => {
|
|
745
746
|
if (Ye(C.value.type, _.value))
|
|
746
747
|
switch (n.value.widget.type) {
|
|
747
748
|
case i.BarChart:
|
|
@@ -765,18 +766,18 @@ const Ca = /* @__PURE__ */ H({
|
|
|
765
766
|
}
|
|
766
767
|
else
|
|
767
768
|
return ye;
|
|
768
|
-
}), _ = F(null), { selectedLocationIds: N, dateRange: P, compareDateRange: E, timeRange: q } =
|
|
769
|
+
}), _ = F(null), { selectedLocationIds: N, dateRange: P, compareDateRange: E, timeRange: q } = oe(xe()), { businessId: Se } = oe(ue()), C = o(() => {
|
|
769
770
|
const r = JSON.parse(JSON.stringify(n.value.widget));
|
|
770
771
|
return {
|
|
771
772
|
...r,
|
|
772
773
|
config: {
|
|
773
774
|
...r.config,
|
|
774
775
|
rollup: u.value,
|
|
775
|
-
drillDimension:
|
|
776
|
+
drillDimension: s.value,
|
|
776
777
|
showGrandTotal: !1
|
|
777
778
|
}
|
|
778
779
|
};
|
|
779
|
-
}), ce =
|
|
780
|
+
}), ce = o(() => {
|
|
780
781
|
let r, f, V, z;
|
|
781
782
|
switch (C.value.type) {
|
|
782
783
|
case i.Table:
|
|
@@ -797,12 +798,12 @@ const Ca = /* @__PURE__ */ H({
|
|
|
797
798
|
rollupPosition: z,
|
|
798
799
|
filterText: V
|
|
799
800
|
};
|
|
800
|
-
}), de =
|
|
801
|
+
}), de = o(() => {
|
|
801
802
|
const { config: r } = n.value.widget;
|
|
802
803
|
if (r.rollup != null) {
|
|
803
804
|
const f = [...r.dimensions].filter((V) => !V.hide);
|
|
804
805
|
return f.sort(
|
|
805
|
-
(V, z) => (r.rowIds || []).indexOf(
|
|
806
|
+
(V, z) => (r.rowIds || []).indexOf(se(V)) - (r.rowIds || []).indexOf(se(z))
|
|
806
807
|
), [
|
|
807
808
|
{ label: "None", value: null },
|
|
808
809
|
{ label: "Grand Total", value: 0 },
|
|
@@ -810,11 +811,11 @@ const Ca = /* @__PURE__ */ H({
|
|
|
810
811
|
];
|
|
811
812
|
}
|
|
812
813
|
return [];
|
|
813
|
-
}), U =
|
|
814
|
+
}), U = o(() => {
|
|
814
815
|
const { config: r } = C.value;
|
|
815
816
|
return r.isDrillable ? r.dimensions.map((f) => ({
|
|
816
817
|
label: f.label,
|
|
817
|
-
value:
|
|
818
|
+
value: se(f)
|
|
818
819
|
})) : [];
|
|
819
820
|
});
|
|
820
821
|
ae(n.value, (r) => {
|
|
@@ -879,11 +880,11 @@ const Ca = /* @__PURE__ */ H({
|
|
|
879
880
|
}
|
|
880
881
|
function De() {
|
|
881
882
|
const r = m.value - 1;
|
|
882
|
-
r >= 0 && (
|
|
883
|
+
r >= 0 && (s.value = U.value[r].value);
|
|
883
884
|
}
|
|
884
885
|
function Fe() {
|
|
885
886
|
const r = m.value + 1;
|
|
886
|
-
r >= 0 && r < U.value.length && (
|
|
887
|
+
r >= 0 && r < U.value.length && (s.value = U.value[r].value);
|
|
887
888
|
}
|
|
888
889
|
const Re = Object.values(Ue).map((r) => ({
|
|
889
890
|
label: je(r),
|
|
@@ -1000,5 +1001,5 @@ const Ca = /* @__PURE__ */ H({
|
|
|
1000
1001
|
export {
|
|
1001
1002
|
M as R,
|
|
1002
1003
|
Ba as _,
|
|
1003
|
-
|
|
1004
|
+
se as g
|
|
1004
1005
|
};
|
|
@@ -2,14 +2,14 @@ var Zo = Object.defineProperty;
|
|
|
2
2
|
var Jo = (i, t, e) => t in i ? Zo(i, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : i[t] = e;
|
|
3
3
|
var k = (i, t, e) => Jo(i, typeof t != "symbol" ? t + "" : t, e);
|
|
4
4
|
import { ref as $t, defineComponent as oe, watch as ri, computed as _t, onMounted as Qo, createElementBlock as U, openBlock as I, createElementVNode as R, renderSlot as Un, toDisplayString as lt, resolveDirective as Xn, createCommentVNode as St, Fragment as Ii, renderList as zi, createBlock as Ht, withDirectives as Ge, resolveDynamicComponent as es, unref as G, withCtx as Yt, createVNode as et, normalizeClass as Ze, resolveComponent as Me, useModel as ta, createTextVNode as ea, isRef as ki, nextTick as ia } from "vue";
|
|
5
|
-
import { _ as sa } from "./Default.vue_vue_type_script_setup_true_lang-
|
|
5
|
+
import { _ as sa } from "./Default.vue_vue_type_script_setup_true_lang-BquQR5T1.js";
|
|
6
6
|
import { _ as na } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-wgBB4qb8.js";
|
|
7
7
|
import { d as Bi, a as Kn, h as qn, F as Gn, u as Zn, b as oa } from "./global-loader-KvOGLx9k.js";
|
|
8
8
|
import { storeToRefs as Jn } from "pinia";
|
|
9
9
|
import { components as is, useSnackbar as aa } from "@feedmepos/ui-library";
|
|
10
10
|
import { c as ys } from "./index-CDf9QIwq.js";
|
|
11
11
|
import { _ as ra } from "./NoData.vue_vue_type_script_setup_true_lang-CCA1l-Cz.js";
|
|
12
|
-
import { a as la, G as ca } from "./NavigationTab.vue_vue_type_script_setup_true_lang-
|
|
12
|
+
import { a as la, G as ca } from "./NavigationTab.vue_vue_type_script_setup_true_lang-HjmfgcwA.js";
|
|
13
13
|
import { useCoreStore as ha } from "@feedmepos/mf-common";
|
|
14
14
|
function da({ start: i, end: t }) {
|
|
15
15
|
return `${Bi(t).format("DD MMM")}, ${Bi(t).format("YYYY")}`;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as o, resolveComponent as t, createBlock as r, openBlock as n, withCtx as _, createVNode as c } from "vue";
|
|
2
|
-
import { _ as a } from "./Default.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { _ as a } from "./Default.vue_vue_type_script_setup_true_lang-BquQR5T1.js";
|
|
3
3
|
const f = /* @__PURE__ */ o({
|
|
4
4
|
__name: "Layout",
|
|
5
5
|
setup(m) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as b, createElementBlock as y, openBlock as l, createVNode as d, unref as t, isRef as u, withCtx as g, useModel as R, resolveComponent as _, normalizeClass as x, createElementVNode as F, createBlock as v, createCommentVNode as C, Fragment as V, renderList as M, toDisplayString as T } from "vue";
|
|
2
2
|
import { b as $ } from "./global-loader-KvOGLx9k.js";
|
|
3
3
|
import { storeToRefs as B } from "pinia";
|
|
4
|
-
import { a as D, d as I } from "./NavigationTab.vue_vue_type_script_setup_true_lang-
|
|
4
|
+
import { a as D, d as I } from "./NavigationTab.vue_vue_type_script_setup_true_lang-HjmfgcwA.js";
|
|
5
5
|
import { _ as U } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-wgBB4qb8.js";
|
|
6
6
|
import { useBreakpoints as w } from "@feedmepos/ui-library";
|
|
7
7
|
const S = { class: "flex overflow-x-auto overflow-y-hidden scrollbar-hide" }, N = /* @__PURE__ */ b({
|
|
@@ -9,10 +9,10 @@ import { useBreakpoints as nl, components as h0, useSnackbar as Xi, FmButtonVari
|
|
|
9
9
|
import { u as ja, i as au, j as il, a as Ua, F as Za, h as Ya, d as Qe, b as zi, k as Hi, l as M9, m as R9, e as X9, n as As } from "./global-loader-KvOGLx9k.js";
|
|
10
10
|
import { _ as xh } from "./SelectComponent.vue_vue_type_script_setup_true_lang-CXYvLXnR.js";
|
|
11
11
|
import { C as nn, g as z9, a as Xd, s as H9, p as q9 } from "./index-CDf9QIwq.js";
|
|
12
|
-
import {
|
|
13
|
-
import { _ as j9 } from "./
|
|
14
|
-
import { _ as U9 } from "./
|
|
15
|
-
import {
|
|
12
|
+
import { _ as W9 } from "./BaseDialog.vue_vue_type_script_setup_true_lang-DTNiGKgd.js";
|
|
13
|
+
import { _ as j9 } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
14
|
+
import { a as zd, _ as U9 } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-wgBB4qb8.js";
|
|
15
|
+
import { detectLocale as ps, useCoreStore as Z9 } from "@feedmepos/mf-common";
|
|
16
16
|
const Y9 = { class: "flex flex-col" }, G9 = { class: "fm-typo-en-title-sm-600" }, Q9 = { class: "grow" }, K9 = { class: "flex flex-col gap-8" }, J9 = { class: "flex flex-col w-full" }, _9 = { class: "flex flex-col gap-5 p-6" }, $9 = { class: "flex" }, gh = {
|
|
17
17
|
// sales: [
|
|
18
18
|
// {
|
|
@@ -644,7 +644,7 @@ const nu = /* @__PURE__ */ au(t6), a6 = () => {
|
|
|
644
644
|
type: Object,
|
|
645
645
|
default: () => ({
|
|
646
646
|
name: "",
|
|
647
|
-
option: { type: nn.
|
|
647
|
+
option: { type: nn.Day, days: void 0, months: void 0 },
|
|
648
648
|
emails: [],
|
|
649
649
|
exportFileTypes: [],
|
|
650
650
|
sendTime: { hour: 0, minute: 0 },
|
|
@@ -743,7 +743,7 @@ const nu = /* @__PURE__ */ au(t6), a6 = () => {
|
|
|
743
743
|
onClick: x[6] || (x[6] = wo((Y) => d.value = !0, ["stop"]))
|
|
744
744
|
}, [
|
|
745
745
|
K(w, {
|
|
746
|
-
label: J(r)("report.input.
|
|
746
|
+
label: J(r)("report.input.recurrence"),
|
|
747
747
|
"model-value": A.value,
|
|
748
748
|
"prepend-icon": "calendar_month",
|
|
749
749
|
class: "w-full",
|
|
@@ -955,7 +955,7 @@ const nu = /* @__PURE__ */ au(t6), a6 = () => {
|
|
|
955
955
|
schedule: r.schedule,
|
|
956
956
|
onIsOpen: v[1] || (v[1] = (I) => f.value = I)
|
|
957
957
|
}, null, 8, ["is-open", "schedule"]),
|
|
958
|
-
K(
|
|
958
|
+
K(W9, {
|
|
959
959
|
modelValue: c.value,
|
|
960
960
|
"onUpdate:modelValue": v[2] || (v[2] = (I) => c.value = I),
|
|
961
961
|
title: J(t)("report.schedule.deleteSchedule"),
|
|
@@ -1011,7 +1011,7 @@ const nu = /* @__PURE__ */ au(t6), a6 = () => {
|
|
|
1011
1011
|
});
|
|
1012
1012
|
};
|
|
1013
1013
|
}
|
|
1014
|
-
}), w6 = /* @__PURE__ */
|
|
1014
|
+
}), w6 = /* @__PURE__ */ j9(y6, [["__scopeId", "data-v-1284dd51"]]), b6 = {
|
|
1015
1015
|
key: 0,
|
|
1016
1016
|
class: "flex flex-col gap-2"
|
|
1017
1017
|
}, C6 = { class: "w-full flex flex-row" }, k6 = /* @__PURE__ */ Hr({
|
|
@@ -34307,7 +34307,7 @@ const sI = { class: "flex flex-col gap-2" }, lI = { class: "flex gap-2 items-cen
|
|
|
34307
34307
|
"onUpdate:modelValue": q[2] || (q[2] = (me) => b.value = me),
|
|
34308
34308
|
options: J(v)
|
|
34309
34309
|
}, null, 8, ["modelValue", "options"]),
|
|
34310
|
-
K(
|
|
34310
|
+
K(U9, {
|
|
34311
34311
|
"date-range": w.value,
|
|
34312
34312
|
"onUpdate:dateRange": q[3] || (q[3] = (me) => w.value = me)
|
|
34313
34313
|
}, null, 8, ["date-range"]),
|
|
@@ -34542,7 +34542,7 @@ const JI = { class: "flex gap-2 py-16" }, _I = { class: "fm-typo-en-title-md-400
|
|
|
34542
34542
|
currentReport: d,
|
|
34543
34543
|
isOpenAddReportDialog: A,
|
|
34544
34544
|
isOpenEmailDialog: p
|
|
34545
|
-
} = Ct(Ri()), { isOpenScheduleDialog: v } = Ct(Uo()), { isOpenAccountingDialog: y } = Ct(SS()), m = pl(), { isOpenJobDialog: x } = Ct(m), w =
|
|
34545
|
+
} = Ct(Ri()), { isOpenScheduleDialog: v } = Ct(Uo()), { isOpenAccountingDialog: y } = Ct(SS()), m = pl(), { isOpenJobDialog: x } = Ct(m), w = Z9();
|
|
34546
34546
|
function T(M) {
|
|
34547
34547
|
const F = s.value.find((H) => H.value === M);
|
|
34548
34548
|
F != null && F.route && (l.value = F.value, r.push({ name: F.route, query: a.query }), (F == null ? void 0 : F.route) === "insights" && w.pushDataLayer({ event: gv.report_insight_click_insight_page }));
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { defineComponent as g, computed as w, resolveComponent as k, createBlock as a, openBlock as t, withCtx as $, createVNode as d, createElementVNode as y, unref as e, normalizeStyle as C, normalizeClass as u, createElementBlock as _, Fragment as h, renderList as B } from "vue";
|
|
2
|
-
import { _ as b } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-
|
|
3
|
-
import { _ as F } from "./Default.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { _ as b } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-DtI8K3i4.js";
|
|
3
|
+
import { _ as F } from "./Default.vue_vue_type_script_setup_true_lang-BquQR5T1.js";
|
|
4
4
|
import { a as P } from "./v4-BX252AtO.js";
|
|
5
5
|
import { storeToRefs as R } from "pinia";
|
|
6
6
|
import { _ as S } from "./NoData.vue_vue_type_script_setup_true_lang-CCA1l-Cz.js";
|
|
7
7
|
import { useBreakpoints as V } from "@feedmepos/ui-library";
|
|
8
|
-
import { _ as z } from "./MenuTab.vue_vue_type_script_setup_true_lang-
|
|
8
|
+
import { _ as z } from "./MenuTab.vue_vue_type_script_setup_true_lang-Cp2ydI0y.js";
|
|
9
9
|
import { useI18n as D } from "@feedmepos/mf-common";
|
|
10
10
|
const G = /* @__PURE__ */ g({
|
|
11
11
|
__name: "OverviewView",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
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-BX252AtO.js";
|
|
4
|
-
import { _ as ye } from "./Default.vue_vue_type_script_setup_true_lang-
|
|
4
|
+
import { _ as ye } from "./Default.vue_vue_type_script_setup_true_lang-BquQR5T1.js";
|
|
5
5
|
import { u as ge } from "./message-dialog-UoMWOnil.js";
|
|
6
6
|
import { b as be, f as xe } from "./global-loader-KvOGLx9k.js";
|
|
7
7
|
import { useSnackbar as Ce, useBreakpoints as _e, components as he, FmButtonColorThemeVariant as ke } from "@feedmepos/ui-library";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { defineComponent as S, mergeModels as $, useModel as M, ref as N, computed as P, resolveComponent as c, createBlock as b, openBlock as s, withCtx as m, createElementVNode as C, createVNode as a, unref as o, normalizeClass as E, createTextVNode as fe, toDisplayString as O, createElementBlock as x, Fragment as q, renderSlot as j, createCommentVNode as U, watch as ve, resolveDynamicComponent as K, isRef as Q, renderList as H, onMounted as ge, normalizeStyle as _e } from "vue";
|
|
2
|
-
import { W as ye, i as Ce, S as be, d as Ve, T as ke, _ as Fe } from "./TransitionFade-
|
|
2
|
+
import { W as ye, i as Ce, S as be, d as Ve, T as ke, _ as Fe } from "./TransitionFade-BtZM-oCt.js";
|
|
3
3
|
import { a as X, v as Y } from "./v4-BX252AtO.js";
|
|
4
4
|
import { storeToRefs as Z } from "pinia";
|
|
5
5
|
import { useRouter as ee, useRoute as oe } from "vue-router";
|
|
6
6
|
import { useBreakpoints as A, FmButtonColorThemeVariant as W, useSnackbar as xe } from "@feedmepos/ui-library";
|
|
7
7
|
import { u as te } from "./message-dialog-UoMWOnil.js";
|
|
8
|
-
import { _ as le } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-
|
|
8
|
+
import { _ as le } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-DtI8K3i4.js";
|
|
9
9
|
import { _ as re } from "./NoData.vue_vue_type_script_setup_true_lang-CCA1l-Cz.js";
|
|
10
10
|
import { u as I, f as he } from "./global-loader-KvOGLx9k.js";
|
|
11
11
|
const we = /* @__PURE__ */ S({
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { defineComponent as L, computed as v, resolveComponent as V, createBlock as g, openBlock as u, withCtx as z, createVNode as D, createElementVNode as H, unref as t, normalizeStyle as M, normalizeClass as R, createElementBlock as $, Fragment as Y, renderList as G } from "vue";
|
|
2
|
-
import { _ as Q } from "./MenuTab.vue_vue_type_script_setup_true_lang-
|
|
3
|
-
import { _ as U } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { _ as Q } from "./MenuTab.vue_vue_type_script_setup_true_lang-Cp2ydI0y.js";
|
|
3
|
+
import { _ as U } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-DtI8K3i4.js";
|
|
4
4
|
import { useRouter as W, useRoute as K } from "vue-router";
|
|
5
|
-
import { _ as X } from "./Default.vue_vue_type_script_setup_true_lang-
|
|
5
|
+
import { _ as X } from "./Default.vue_vue_type_script_setup_true_lang-BquQR5T1.js";
|
|
6
6
|
import { a as Z } from "./v4-BX252AtO.js";
|
|
7
7
|
import { storeToRefs as p } from "pinia";
|
|
8
|
-
import { b as ee, c as oe, u as te } from "./NavigationTab.vue_vue_type_script_setup_true_lang-
|
|
8
|
+
import { b as ee, c as oe, u as te } from "./NavigationTab.vue_vue_type_script_setup_true_lang-HjmfgcwA.js";
|
|
9
9
|
import { _ as re } from "./NoData.vue_vue_type_script_setup_true_lang-CCA1l-Cz.js";
|
|
10
10
|
import { useSnackbar as ae, useBreakpoints as le } from "@feedmepos/ui-library";
|
|
11
11
|
import { u as ne, f as ie, e as se } from "./global-loader-KvOGLx9k.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent as B, ref as H, useModel as J, resolveComponent as h, createElementBlock as k, openBlock as x, createBlock as M, createElementVNode as t, resolveDynamicComponent as ne, unref as e, withCtx as y, createVNode as a, normalizeClass as O, toDisplayString as s, Fragment as K, renderList as Q, withDirectives as E, createTextVNode as ie, vShow as j, watch as me, normalizeStyle as ue } from "vue";
|
|
2
|
-
import { _ as de } from "./Default.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { _ as de } from "./Default.vue_vue_type_script_setup_true_lang-BquQR5T1.js";
|
|
3
3
|
import { u as U, d as z, C as A, D as pe, b as ce } from "./global-loader-KvOGLx9k.js";
|
|
4
4
|
import { components as I, useSnackbar as W, useBreakpoints as X, FmButtonColorThemeVariant as G } from "@feedmepos/ui-library";
|
|
5
|
-
import { t as N, s as fe } from "./NavigationTab.vue_vue_type_script_setup_true_lang-
|
|
5
|
+
import { t as N, s as fe } from "./NavigationTab.vue_vue_type_script_setup_true_lang-HjmfgcwA.js";
|
|
6
6
|
import { u as ve } from "./message-dialog-UoMWOnil.js";
|
|
7
7
|
import { detectLocale as F } from "@feedmepos/mf-common";
|
|
8
8
|
import { _ as Y } from "./SelectComponent.vue_vue_type_script_setup_true_lang-CXYvLXnR.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as W, mergeModels as z, useModel as Y, computed as N, ref as A, resolveComponent as y, createElementBlock as L, openBlock as p, createVNode as d, createElementVNode as x, unref as i, withCtx as C, toDisplayString as I, Fragment as Q, renderList as se, withModifiers as ee, createTextVNode as ne, watch as re, createCommentVNode as T, createBlock as k, renderSlot as Ce, resolveDynamicComponent as _e, normalizeClass as Te, onMounted as Le, normalizeStyle as Be, isRef as Me } from "vue";
|
|
2
2
|
import { useRoute as Re, useRouter as je } from "vue-router";
|
|
3
|
-
import { h as Ee, d as ce, S as fe, W as Ae, a as qe, T as Pe, _ as He } from "./TransitionFade-
|
|
3
|
+
import { h as Ee, d as ce, S as fe, W as Ae, a as qe, T as Pe, _ as He } from "./TransitionFade-BtZM-oCt.js";
|
|
4
4
|
import { W as S, a as Je } from "./v4-BX252AtO.js";
|
|
5
5
|
import { storeToRefs as Ve } from "pinia";
|
|
6
6
|
import { u as Se } from "./message-dialog-UoMWOnil.js";
|
|
@@ -10,7 +10,7 @@ import { u as Ue } from "./report-schema-Zw8e6-XZ.js";
|
|
|
10
10
|
import { _ as ie } from "./BaseDialog.vue_vue_type_script_setup_true_lang-DTNiGKgd.js";
|
|
11
11
|
import { _ as H } from "./SelectComponent.vue_vue_type_script_setup_true_lang-CXYvLXnR.js";
|
|
12
12
|
import { u as le, d as pe } from "./global-loader-KvOGLx9k.js";
|
|
13
|
-
import { g as de, _ as $e } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-
|
|
13
|
+
import { g as de, _ as $e } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-DtI8K3i4.js";
|
|
14
14
|
import { _ as Oe } from "./NoData.vue_vue_type_script_setup_true_lang-CCA1l-Cz.js";
|
|
15
15
|
var oe = /* @__PURE__ */ ((s) => (s.DateTime = "DATE_TIME", s.Hour = "HOUR", s.Day = "DAY", s.Week = "WEEK", s.Month = "MONTH", s.TimeOfDay = "TIME_OF_DAY", s.HourOfDay = "HOUR_OF_DAY", s.DayOfWeek = "DAY_OF_WEEK", s.DayOfMonth = "DAY_OF_MONTH", s.MonthOfYear = "MONTH_OF_YEAR", s.Year = "YEAR", s))(oe || {}), ge = /* @__PURE__ */ ((s) => (s.Asc = "ASC", s.Desc = "DESC", s))(ge || {}), Z = /* @__PURE__ */ ((s) => (s.Equal = "EQUAL", s.NotEqual = "NOT_EQUAL", s.GreaterThan = "GREATER_THAN", s.LessThan = "LESS_THAN", s.GreaterThanOrEqual = "GREATER_THAN_OR_EQUAL", s.LessThanOrEqual = "LESS_THAN_OR_EQUAL", s.Between = "BETWEEN", s.Like = "LIKE", s.NotLike = "NOT_LIKE", s.And = "AND", s.Or = "OR", s))(Z || {}), te = /* @__PURE__ */ ((s) => (s.String = "STRING", s.Timestamp = "TIMESTAMP", s.Bool = "BOOL", s.Numeric = "NUMERIC", s))(te || {});
|
|
16
16
|
const we = [
|
|
@@ -6,7 +6,7 @@ import { useRoute as Dn } from "vue-router";
|
|
|
6
6
|
import { W as x } from "./v4-BX252AtO.js";
|
|
7
7
|
import { p as Cn } from "./index-CDf9QIwq.js";
|
|
8
8
|
import { _ as bt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
9
|
-
import { R as Tn } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-
|
|
9
|
+
import { R as Tn } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-DtI8K3i4.js";
|
|
10
10
|
const xn = {
|
|
11
11
|
key: 0,
|
|
12
12
|
class: "flex gap-24 flex-col h-screen w-screen justify-center items-center"
|
package/dist/app.js
CHANGED
|
@@ -175,7 +175,7 @@ const r = {
|
|
|
175
175
|
emailHelperText: "Separate @.lower:report.common.email addresses with commas",
|
|
176
176
|
location: "Location",
|
|
177
177
|
dateRange: "Date Range",
|
|
178
|
-
|
|
178
|
+
recurrence: "Recurrence",
|
|
179
179
|
closeSales: "Close sales",
|
|
180
180
|
to: "to",
|
|
181
181
|
repeat: "Repeat"
|
|
@@ -216,9 +216,9 @@ const r = {
|
|
|
216
216
|
table: {
|
|
217
217
|
date: "Date",
|
|
218
218
|
no: "No",
|
|
219
|
-
loading: "Loading data..."
|
|
220
|
-
uploadSuccess: "Upload successful"
|
|
219
|
+
loading: "Loading data..."
|
|
221
220
|
},
|
|
221
|
+
uploadSuccess: "Upload successful",
|
|
222
222
|
general: "General",
|
|
223
223
|
refreshSetting: "Refresh Setting",
|
|
224
224
|
auto: "Auto {label}",
|
|
@@ -621,7 +621,7 @@ const r = {
|
|
|
621
621
|
emailHelperText: "用逗号分隔@:report.common.email地址",
|
|
622
622
|
location: "位置",
|
|
623
623
|
dateRange: "日期范围",
|
|
624
|
-
|
|
624
|
+
recurrence: "重复",
|
|
625
625
|
closeSales: "关闭销售",
|
|
626
626
|
to: "到",
|
|
627
627
|
repeat: "重复"
|
|
@@ -662,9 +662,9 @@ const r = {
|
|
|
662
662
|
table: {
|
|
663
663
|
date: "日期",
|
|
664
664
|
no: "编号",
|
|
665
|
-
loading: "正在加载数据..."
|
|
666
|
-
uploadSuccess: "上传成功"
|
|
665
|
+
loading: "正在加载数据..."
|
|
667
666
|
},
|
|
667
|
+
uploadSuccess: "上传成功",
|
|
668
668
|
general: "一般",
|
|
669
669
|
refreshSetting: "刷新设置",
|
|
670
670
|
auto: "自动{label}",
|
|
@@ -1069,7 +1069,7 @@ const r = {
|
|
|
1069
1069
|
emailHelperText: "คั่นที่อยู่อีเมลด้วยเครื่องหมายจุลภาค",
|
|
1070
1070
|
location: "สถานที่",
|
|
1071
1071
|
dateRange: "ช่วงวันที่",
|
|
1072
|
-
|
|
1072
|
+
recurrence: "ความถี่",
|
|
1073
1073
|
closeSales: "ปิดการขาย",
|
|
1074
1074
|
to: "ถึง",
|
|
1075
1075
|
repeat: "ทำซ้ำ"
|
|
@@ -1110,9 +1110,9 @@ const r = {
|
|
|
1110
1110
|
table: {
|
|
1111
1111
|
date: "วันที่",
|
|
1112
1112
|
no: "เลขที่",
|
|
1113
|
-
loading: "กำลังโหลดข้อมูล..."
|
|
1114
|
-
uploadSuccess: "อัปโหลดสำเร็จ"
|
|
1113
|
+
loading: "กำลังโหลดข้อมูล..."
|
|
1115
1114
|
},
|
|
1115
|
+
uploadSuccess: "อัปโหลดสำเร็จ",
|
|
1116
1116
|
general: "ทั่วไป",
|
|
1117
1117
|
refreshSetting: "การตั้งค่าการรีเฟรช",
|
|
1118
1118
|
auto: "อัตโนมัติ {label}",
|
|
@@ -1345,41 +1345,41 @@ const r = {
|
|
|
1345
1345
|
path: "/overview",
|
|
1346
1346
|
alias: ["/"],
|
|
1347
1347
|
name: "overview",
|
|
1348
|
-
component: () => import("./OverviewView-
|
|
1348
|
+
component: () => import("./OverviewView-CKevObsO.js")
|
|
1349
1349
|
},
|
|
1350
1350
|
{
|
|
1351
1351
|
path: "/report",
|
|
1352
1352
|
name: "reports",
|
|
1353
|
-
component: () => import("./Report-
|
|
1353
|
+
component: () => import("./Report-Cm4g8k1u.js")
|
|
1354
1354
|
},
|
|
1355
1355
|
{
|
|
1356
1356
|
path: "/insights",
|
|
1357
1357
|
name: "insights",
|
|
1358
|
-
component: () => import("./InsightView-
|
|
1358
|
+
component: () => import("./InsightView-h_oOhB76.js")
|
|
1359
1359
|
},
|
|
1360
1360
|
{
|
|
1361
1361
|
path: "/report-view",
|
|
1362
1362
|
name: "reportView",
|
|
1363
|
-
component: () => import("./ReportView-
|
|
1363
|
+
component: () => import("./ReportView-DxsJrKQW.js")
|
|
1364
1364
|
},
|
|
1365
1365
|
{
|
|
1366
1366
|
path: "/report-editor",
|
|
1367
1367
|
name: "reportEditor",
|
|
1368
|
-
component: () => import("./ReportEditor-
|
|
1368
|
+
component: () => import("./ReportEditor-Cm49TL0V.js")
|
|
1369
1369
|
},
|
|
1370
1370
|
{
|
|
1371
1371
|
path: "/report-editor/tile-editor",
|
|
1372
1372
|
name: "tileEditor",
|
|
1373
|
-
component: () => import("./TileEditor-
|
|
1373
|
+
component: () => import("./TileEditor-Gy18mERx.js")
|
|
1374
1374
|
},
|
|
1375
1375
|
{
|
|
1376
1376
|
path: "/setting",
|
|
1377
1377
|
name: "setting",
|
|
1378
|
-
component: () => import("./Setting-
|
|
1378
|
+
component: () => import("./Setting-BlqCrZ39.js")
|
|
1379
1379
|
},
|
|
1380
1380
|
{
|
|
1381
1381
|
path: "/integration",
|
|
1382
|
-
component: () => import("./Layout-
|
|
1382
|
+
component: () => import("./Layout-DhQKtiCY.js"),
|
|
1383
1383
|
children: [
|
|
1384
1384
|
{
|
|
1385
1385
|
name: "integrations",
|
|
@@ -1412,7 +1412,7 @@ const p = {
|
|
|
1412
1412
|
"en-US": a,
|
|
1413
1413
|
"zh-CN": i,
|
|
1414
1414
|
"th-TH": c
|
|
1415
|
-
}, u = e(() => import("./App-
|
|
1415
|
+
}, u = e(() => import("./App-DA8hqjXH.js"));
|
|
1416
1416
|
export {
|
|
1417
1417
|
u as FmApp,
|
|
1418
1418
|
p as i18nMessages,
|