@feedmepos/mf-report 5.35.0-beta.0 → 5.35.1-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-DQyEf0mm.js → App-wJ9WSGoD.js} +5 -5
- package/dist/{DateRangeSelect-DvE_au_i.js → DateRangeSelect-DP3kVLFZ.js} +2 -2
- package/dist/{Default.vue_vue_type_script_setup_true_lang-B5Ir3Xuu.js → Default.vue_vue_type_script_setup_true_lang-ExZd3iUN.js} +2 -2
- package/dist/{DigestListView-Cl2EK5bf.js → DigestListView-DHZ9uWT8.js} +5 -5
- package/dist/{DigestReaderView-BS0iuanX.js → DigestReaderView-GvmR498S.js} +6 -6
- package/dist/{DynamicWidget.vue_vue_type_script_setup_true_lang-DfVW7Q_x.js → DynamicWidget.vue_vue_type_script_setup_true_lang-BMyxEehB.js} +175 -175
- package/dist/{GlobalFilterSelect.vue_vue_type_script_setup_true_lang-Fcz2N71N.js → GlobalFilterSelect.vue_vue_type_script_setup_true_lang-MRlI711m.js} +86 -86
- package/dist/{InsightView-CmA2Xi0T.js → InsightView-BU1hBisp.js} +7 -7
- package/dist/{Integration-DdfS7Jgh.js → Integration-DXHSSO_6.js} +4 -4
- package/dist/{Integrations-CRMbmKLq.js → Integrations-DShLPU8f.js} +4 -4
- package/dist/{Layout-kcAw_A-E.js → Layout-BMTJ5TJW.js} +1 -1
- package/dist/{LocationSelect.vue_vue_type_script_setup_true_lang-BRYP_afx.js → LocationSelect.vue_vue_type_script_setup_true_lang-6xAohPSs.js} +3 -3
- package/dist/{MenuTab.vue_vue_type_script_setup_true_lang-I8gsgGXJ.js → MenuTab.vue_vue_type_script_setup_true_lang-XdyA0h5e.js} +5 -5
- package/dist/{NavigationTab.vue_vue_type_script_setup_true_lang-D3QOPpyj.js → NavigationTab.vue_vue_type_script_setup_true_lang-Bc5u9ueb.js} +7 -7
- package/dist/{OverviewView-tS8EKm9q.js → OverviewView-DnD6tsor.js} +6 -6
- package/dist/{Report-BvJw6A0s.js → Report-Ojq5zBYw.js} +4 -4
- package/dist/{ReportCanvasView-Bywb09Z7.js → ReportCanvasView-DqLfg9wu.js} +6 -6
- package/dist/{ReportEditor-D88J-04n.js → ReportEditor-DsozpAI2.js} +9 -9
- package/dist/{ReportView-DxnYH37m.js → ReportView-DSTwd9Bf.js} +8 -8
- package/dist/{ReportViewRoute-DJdbgiqN.js → ReportViewRoute-Cp8cpnbp.js} +2 -2
- package/dist/{SelectComponent.vue_vue_type_script_setup_true_lang-Cxx-TQz9.js → SelectComponent.vue_vue_type_script_setup_true_lang-D8f9NgeK.js} +1 -1
- package/dist/{Setting-CNrh7nBB.js → Setting-BTUhW6_R.js} +5 -5
- package/dist/{Template-BreFV27K.js → Template-f9-DqPdH.js} +5 -5
- package/dist/TileEditor-D3vwDcLv.js +4197 -0
- package/dist/{TilePageStack.vue_vue_type_script_setup_true_lang-HMTKQELw.js → TilePageStack.vue_vue_type_script_setup_true_lang-BkBTuFfY.js} +3 -3
- package/dist/{TransitionFade-tUK-3l63.js → TransitionFade-io2DbCi9.js} +7 -7
- package/dist/_plugin-vue_export-helper-N63MbPK5.js +2905 -0
- package/dist/{app-CwMmSHUw.js → app-CKZMopgy.js} +16 -15
- package/dist/app.js +1 -1
- package/dist/assets/{formatChartData.worker-Bt8turfo.js → formatChartData.worker-CQS_7KcL.js} +26 -23
- package/dist/assets/{processTableData.worker-MGb36f8J.js → processTableData.worker-OuexVqV8.js} +26 -23
- package/dist/{currency-BUi-Xq6N.js → currency-Cpemdbbd.js} +1 -1
- package/dist/{index-cojDf4MH.js → index-B3YkJCSm.js} +27 -24
- package/dist/{report-CtMB0C_H.js → report-Df6BkcRs.js} +1 -1
- package/dist/{useDigestFont-HI14Bq_l.js → useDigestFont-BpKzXve9.js} +2 -2
- package/dist/{useReportCanvasPicks-ZAlJK9Cv.js → useReportCanvasPicks-CYG3eYe-.js} +4 -4
- package/dist/{useRestaurantPermission-DO4WIH7P.js → useRestaurantPermission-BAzncDqR.js} +2 -2
- package/package.json +2 -2
- package/dist/TileEditor-CLXi5in3.js +0 -4183
- package/dist/_plugin-vue_export-helper-Bx7s49ra.js +0 -2828
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { ref as ye, computed as Se, defineComponent as yt, useModel as ft, watch as Ae, resolveComponent as te, openBlock as X, createElementBlock as ve, createVNode as M, withCtx as ie, createElementVNode as Y, Fragment as Le, renderList as vt, createBlock as De, unref as D, createTextVNode as st, toDisplayString as be, withDirectives as $l, vShow as Gl, createCommentVNode as ht, mergeModels as rt, renderSlot as Qt, normalizeStyle as El, normalizeClass as Lt, withModifiers as mt } from "vue";
|
|
2
|
-
import { c as Kt, _ as Jt, D as Ll, e as Pl } from "./DateRangeSelect-
|
|
3
|
-
import { e as gt } from "./index-
|
|
4
|
-
import { d as E, u as ke, c as je, a as Pe, F as Oe, ai as St, w as $e, h as Ml, j as Bl, z as zl, t as Pt, i as ql } from "./app-
|
|
5
|
-
import { b as B, C as j, Q as nt, u as Me, o as Ge, p as Ue, D as he, a as Wl, x as Mt, W as Bt, A as Ul, S as zt } from "./report-
|
|
2
|
+
import { c as Kt, _ as Jt, D as Ll, e as Pl } from "./DateRangeSelect-DP3kVLFZ.js";
|
|
3
|
+
import { e as gt } from "./index-B3YkJCSm.js";
|
|
4
|
+
import { d as E, u as ke, c as je, a as Pe, F as Oe, ai as St, w as $e, h as Ml, j as Bl, z as zl, t as Pt, i as ql } from "./app-CKZMopgy.js";
|
|
5
|
+
import { b as B, C as j, Q as nt, u as Me, o as Ge, p as Ue, D as he, a as Wl, x as Mt, W as Bt, A as Ul, S as zt } from "./report-Df6BkcRs.js";
|
|
6
6
|
import { defineStore as Ft, storeToRefs as oe } from "pinia";
|
|
7
7
|
import { detectLocale as xe } from "@feedmepos/mf-common";
|
|
8
|
-
import { u as Yt } from "./_plugin-vue_export-helper-
|
|
9
|
-
import { _ as jl } from "./SelectComponent.vue_vue_type_script_setup_true_lang-
|
|
8
|
+
import { u as Yt } from "./_plugin-vue_export-helper-N63MbPK5.js";
|
|
9
|
+
import { _ as jl } from "./SelectComponent.vue_vue_type_script_setup_true_lang-D8f9NgeK.js";
|
|
10
10
|
var Ht = /* @__PURE__ */ ((l) => (l.generating = "GENERATING", l.completed = "COMPLETED", l.failed = "FAILED", l.canceled = "CANCELLED", l))(Ht || {});
|
|
11
|
-
const Ql = "/assets/formatChartData.worker-
|
|
11
|
+
const Ql = "/assets/formatChartData.worker-CQS_7KcL.js", dt = /* @__PURE__ */ new Map();
|
|
12
12
|
function qt(l) {
|
|
13
13
|
return new Worker(l, { type: "module" });
|
|
14
14
|
}
|
|
@@ -186,14 +186,14 @@ function Wt({
|
|
|
186
186
|
if (c.length < 2 || d.length < 2) return null;
|
|
187
187
|
const h = u(c[0], d[0]), y = u(c[1], d[1]);
|
|
188
188
|
if (h == null || y == null) return null;
|
|
189
|
-
const
|
|
190
|
-
return u(
|
|
189
|
+
const N = h >= 0 ? c[0] : d[0], R = y <= 0 ? c[1] : d[1];
|
|
190
|
+
return u(N, R) == null ? null : [N, R];
|
|
191
191
|
}
|
|
192
192
|
function O(c, d) {
|
|
193
193
|
const h = We(c.values), y = We(d.values);
|
|
194
194
|
switch (d.operator) {
|
|
195
195
|
case j.Equal: {
|
|
196
|
-
const
|
|
196
|
+
const N = new Set(y), R = h.filter((H) => N.has(H));
|
|
197
197
|
return R.length ? R : b(c);
|
|
198
198
|
}
|
|
199
199
|
case j.NotEqual:
|
|
@@ -225,17 +225,17 @@ function Wt({
|
|
|
225
225
|
m.push(d);
|
|
226
226
|
return;
|
|
227
227
|
}
|
|
228
|
-
const y = Xl(d),
|
|
229
|
-
if (!
|
|
228
|
+
const y = Xl(d), N = r.get(y);
|
|
229
|
+
if (!N) {
|
|
230
230
|
r.set(y, d);
|
|
231
231
|
return;
|
|
232
232
|
}
|
|
233
|
-
const R = O(
|
|
233
|
+
const R = O(N, d);
|
|
234
234
|
if (R == null) {
|
|
235
235
|
m.push(d);
|
|
236
236
|
return;
|
|
237
237
|
}
|
|
238
|
-
|
|
238
|
+
N.values = R, r.set(y, N);
|
|
239
239
|
};
|
|
240
240
|
return l.forEach(S), F.forEach(S), [...Array.from(r.values()), ...m];
|
|
241
241
|
}
|
|
@@ -361,7 +361,7 @@ const ra = async ({
|
|
|
361
361
|
editingReport: O,
|
|
362
362
|
currentReport: _
|
|
363
363
|
}), y = Je(c), {
|
|
364
|
-
selectedRestaurantIds:
|
|
364
|
+
selectedRestaurantIds: N,
|
|
365
365
|
selectedWarehouseIds: R,
|
|
366
366
|
selectedLocationIds: H,
|
|
367
367
|
dateRange: z,
|
|
@@ -369,7 +369,7 @@ const ra = async ({
|
|
|
369
369
|
timeRange: ee,
|
|
370
370
|
timezone: le,
|
|
371
371
|
restaurants: Z,
|
|
372
|
-
warehouses:
|
|
372
|
+
warehouses: C
|
|
373
373
|
} = Pe(), { globalFilters: W } = Ge();
|
|
374
374
|
if (H.length === 0)
|
|
375
375
|
return null;
|
|
@@ -382,7 +382,7 @@ const ra = async ({
|
|
|
382
382
|
timezone: le
|
|
383
383
|
}))
|
|
384
384
|
return null;
|
|
385
|
-
const se = (r == null ? void 0 : r.filter((ae) => Z.some((P) => P.id === ae))) ??
|
|
385
|
+
const se = (r == null ? void 0 : r.filter((ae) => Z.some((P) => P.id === ae))) ?? N, x = (r == null ? void 0 : r.filter((ae) => C.some((P) => P.id === ae))) ?? R, k = Qe(l, K, s ?? ""), ce = {
|
|
386
386
|
fetchType: Oe.Post,
|
|
387
387
|
url: b ? `/${L.value}/v2/query/page` : `/${L.value}/v2/query`,
|
|
388
388
|
data: {
|
|
@@ -419,14 +419,14 @@ const ra = async ({
|
|
|
419
419
|
scopedDateRange: r,
|
|
420
420
|
scopedCompareDateRange: m
|
|
421
421
|
}) => {
|
|
422
|
-
var
|
|
422
|
+
var C, W, ne, U;
|
|
423
423
|
const { scopePath: p, requestBusinessIds: f } = oe(ke()), { currentReport: F, editingReport: b, overviewReport: u } = Me(), { selectedNavigationTab: L, isEditorRoute: Q } = je(), _ = wt({
|
|
424
424
|
selectedNavigationTab: L,
|
|
425
425
|
isEditorRoute: Q,
|
|
426
426
|
overviewReport: u,
|
|
427
427
|
editingReport: b,
|
|
428
428
|
currentReport: F
|
|
429
|
-
}), O = Je(L), { restaurants: S, warehouses: c, dateRange: d, compareDateRange: h, timeRange: y, timezone:
|
|
429
|
+
}), O = Je(L), { restaurants: S, warehouses: c, dateRange: d, compareDateRange: h, timeRange: y, timezone: N } = Pe(), { globalFilters: R } = Ge();
|
|
430
430
|
if (S.length === 0 && c.length === 0)
|
|
431
431
|
return { totalBytesProcessed: 0 };
|
|
432
432
|
const H = r ?? d, z = m ?? h;
|
|
@@ -435,7 +435,7 @@ const ra = async ({
|
|
|
435
435
|
pageSubject: O,
|
|
436
436
|
dateRange: H,
|
|
437
437
|
compareDateRange: z,
|
|
438
|
-
timezone:
|
|
438
|
+
timezone: N
|
|
439
439
|
}))
|
|
440
440
|
return { totalBytesProcessed: 0 };
|
|
441
441
|
const q = S.map((K) => K.id), ee = c.map((K) => K.id), le = Qe(l, R, s ?? ""), Z = {
|
|
@@ -446,13 +446,13 @@ const ra = async ({
|
|
|
446
446
|
dateRange: [H.startDate, H.endDate],
|
|
447
447
|
compareDateRange: z.startDate && z.endDate ? [z.startDate, z.endDate] : void 0,
|
|
448
448
|
timeRange: [
|
|
449
|
-
E().tz(
|
|
450
|
-
E().tz(
|
|
449
|
+
E().tz(N).hour(Number((C = y.start) == null ? void 0 : C.hour)).minute(Number((W = y.start) == null ? void 0 : W.minute)).toISOString(),
|
|
450
|
+
E().tz(N).hour(Number((ne = y.end) == null ? void 0 : ne.hour)).minute(Number((U = y.end) == null ? void 0 : U.minute)).endOf("minutes").toISOString()
|
|
451
451
|
],
|
|
452
452
|
businessIds: f.value,
|
|
453
453
|
restaurantIds: q,
|
|
454
454
|
warehouseIds: ee,
|
|
455
|
-
timezone:
|
|
455
|
+
timezone: N,
|
|
456
456
|
skipStringSpaceGrouping: !1,
|
|
457
457
|
reportId: _ == null ? void 0 : _.id,
|
|
458
458
|
queryDatasource: nt.BigQuery
|
|
@@ -482,7 +482,7 @@ const ra = async ({
|
|
|
482
482
|
overviewReport: c,
|
|
483
483
|
editingReport: S,
|
|
484
484
|
currentReport: O
|
|
485
|
-
}),
|
|
485
|
+
}), N = Je(d);
|
|
486
486
|
if (bt(y))
|
|
487
487
|
return ra({
|
|
488
488
|
widget: l,
|
|
@@ -504,7 +504,7 @@ const ra = async ({
|
|
|
504
504
|
compareDateRange: ee,
|
|
505
505
|
timeRange: le,
|
|
506
506
|
timezone: Z,
|
|
507
|
-
restaurants:
|
|
507
|
+
restaurants: C,
|
|
508
508
|
warehouses: W
|
|
509
509
|
} = Pe(), { globalFilters: ne } = Ge();
|
|
510
510
|
if (z.length === 0)
|
|
@@ -512,13 +512,13 @@ const ra = async ({
|
|
|
512
512
|
const U = p ?? q, K = m ?? le, se = f ?? ne;
|
|
513
513
|
if (!Ke({
|
|
514
514
|
report: y,
|
|
515
|
-
pageSubject:
|
|
515
|
+
pageSubject: N,
|
|
516
516
|
dateRange: U,
|
|
517
517
|
compareDateRange: ee,
|
|
518
518
|
timezone: Z
|
|
519
519
|
}))
|
|
520
520
|
return null;
|
|
521
|
-
const x = (r == null ? void 0 : r.filter((Te) =>
|
|
521
|
+
const x = (r == null ? void 0 : r.filter((Te) => C.some((de) => de.id === Te))) ?? R, k = (r == null ? void 0 : r.filter((Te) => W.some((de) => de.id === Te))) ?? H, ce = Qe(l, se, s ?? ""), ue = {
|
|
522
522
|
fetchType: Oe.Post,
|
|
523
523
|
url: `/${L.value}/postgres-query`,
|
|
524
524
|
data: gt.getQueryRequests({
|
|
@@ -565,7 +565,7 @@ const ra = async ({
|
|
|
565
565
|
dateRange: f,
|
|
566
566
|
globalFilters: F
|
|
567
567
|
}) => {
|
|
568
|
-
const { scopePath: b, requestBusinessIds: u } = oe(ke()), L = Pe(), { compareDateRange: Q } = oe(L), { restaurants: _, warehouses: O, timezone: S } = L, { globalFilters: c } = Ge(), { currentReport: d, overviewReport: h } = Me(), { selectedNavigationTab: y } = je(), { getTileSorts:
|
|
568
|
+
const { scopePath: b, requestBusinessIds: u } = oe(ke()), L = Pe(), { compareDateRange: Q } = oe(L), { restaurants: _, warehouses: O, timezone: S } = L, { globalFilters: c } = Ge(), { currentReport: d, overviewReport: h } = Me(), { selectedNavigationTab: y } = je(), { getTileSorts: N } = Zt(), { getTileSearch: R } = Zl();
|
|
569
569
|
let H = d == null ? void 0 : d.id, z = Ue(d == null ? void 0 : d.tiles);
|
|
570
570
|
y === "overview" && h && (H = h == null ? void 0 : h.id, z = Ue(h == null ? void 0 : h.tiles));
|
|
571
571
|
const q = y === "overview" && h ? h : d, ee = Je(y);
|
|
@@ -577,7 +577,7 @@ const ra = async ({
|
|
|
577
577
|
timezone: S
|
|
578
578
|
}))
|
|
579
579
|
return;
|
|
580
|
-
const le = F ?? c, Z = z.filter((x, k) => typeof a == "number" ? k === a : !0).map((x) => Qe(x.widget, le, x.id)),
|
|
580
|
+
const le = F ?? c, Z = z.filter((x, k) => typeof a == "number" ? k === a : !0).map((x) => Qe(x.widget, le, x.id)), C = {
|
|
581
581
|
fetchType: Oe.Post,
|
|
582
582
|
url: `/${b.value}/file?lang=${xe()}`,
|
|
583
583
|
data: {
|
|
@@ -607,7 +607,7 @@ const ra = async ({
|
|
|
607
607
|
index: a || k,
|
|
608
608
|
drillDimension: null,
|
|
609
609
|
...el(x),
|
|
610
|
-
globalSorts:
|
|
610
|
+
globalSorts: N(a ?? k)
|
|
611
611
|
};
|
|
612
612
|
})
|
|
613
613
|
],
|
|
@@ -620,7 +620,7 @@ const ra = async ({
|
|
|
620
620
|
responseType: "arraybuffer",
|
|
621
621
|
timeout: 1e3 * 60 * 60 * 24
|
|
622
622
|
}
|
|
623
|
-
}, { headers: W, data: ne } = await St.rawFetch(
|
|
623
|
+
}, { headers: W, data: ne } = await St.rawFetch(C), U = W["content-disposition"].split("filename=")[1].replaceAll('"', ""), K = window.URL.createObjectURL(new Blob([new Uint8Array(ne).buffer])), se = document.createElement("a");
|
|
624
624
|
se.href = K, se.setAttribute("download", decodeURIComponent(U)), document.body.appendChild(se), se.click(), se.remove();
|
|
625
625
|
}, ja = async ({
|
|
626
626
|
emails: l,
|
|
@@ -633,7 +633,7 @@ const ra = async ({
|
|
|
633
633
|
attachFiles: F,
|
|
634
634
|
globalFilters: b
|
|
635
635
|
}) => {
|
|
636
|
-
const { businessId: u, scopePath: L, requestBusinessIds: Q } = oe(ke()), { currentReport: _, overviewReport: O } = Me(), { selectedNavigationTab: S } = je(), c = Pe(), { compareDateRange: d } = oe(c), { restaurants: h, warehouses: y, timezone:
|
|
636
|
+
const { businessId: u, scopePath: L, requestBusinessIds: Q } = oe(ke()), { currentReport: _, overviewReport: O } = Me(), { selectedNavigationTab: S } = je(), c = Pe(), { compareDateRange: d } = oe(c), { restaurants: h, warehouses: y, timezone: N } = c, { globalFilters: R } = Ge(), { getTileSorts: H } = Zt();
|
|
637
637
|
if (l.length === 0) {
|
|
638
638
|
console.error("No email addresses provided.");
|
|
639
639
|
return;
|
|
@@ -646,10 +646,10 @@ const ra = async ({
|
|
|
646
646
|
pageSubject: Z,
|
|
647
647
|
dateRange: s,
|
|
648
648
|
compareDateRange: d.value,
|
|
649
|
-
timezone:
|
|
649
|
+
timezone: N
|
|
650
650
|
}))
|
|
651
651
|
return;
|
|
652
|
-
const
|
|
652
|
+
const C = b ?? R, W = ee.map((U) => Qe(U.widget, C, U.id)), ne = {
|
|
653
653
|
businessId: u.value || void 0,
|
|
654
654
|
status: Ht.generating,
|
|
655
655
|
dateRange: {
|
|
@@ -666,8 +666,8 @@ const ra = async ({
|
|
|
666
666
|
dateRange: [s.startDate, s.endDate],
|
|
667
667
|
compareDateRange: d.value.startDate && d.value.endDate ? [d.value.startDate, d.value.endDate] : void 0,
|
|
668
668
|
timeRange: [
|
|
669
|
-
E().tz(
|
|
670
|
-
E().tz(
|
|
669
|
+
E().tz(N).hour(Number((se = r.start) == null ? void 0 : se.hour)).minute(Number((x = r.start) == null ? void 0 : x.minute)).toISOString(),
|
|
670
|
+
E().tz(N).hour(Number((k = r.end) == null ? void 0 : k.hour)).minute(Number((ce = r.end) == null ? void 0 : ce.minute)).endOf("minutes").toISOString()
|
|
671
671
|
],
|
|
672
672
|
businessIds: Q.value,
|
|
673
673
|
restaurantIds: m.filter(
|
|
@@ -676,7 +676,7 @@ const ra = async ({
|
|
|
676
676
|
warehouseIds: m.filter(
|
|
677
677
|
(ue) => y.find((re) => re.id === ue)
|
|
678
678
|
),
|
|
679
|
-
timezone:
|
|
679
|
+
timezone: N
|
|
680
680
|
}),
|
|
681
681
|
index: K,
|
|
682
682
|
drillDimension: null,
|
|
@@ -821,8 +821,8 @@ const ma = { class: "px-24 py-16 rounded-lg shadow-light-300" }, da = { class: "
|
|
|
821
821
|
if (m.value) {
|
|
822
822
|
const S = l.defaultDateRange.findIndex(
|
|
823
823
|
(c) => {
|
|
824
|
-
var d, h, y,
|
|
825
|
-
return c.startTime.hour === ((d = m.value.start) == null ? void 0 : d.hour) && c.startTime.minute === ((h = m.value.start) == null ? void 0 : h.minute) && c.endTime.hour === ((y = m.value.end) == null ? void 0 : y.hour) && c.endTime.minute === ((
|
|
824
|
+
var d, h, y, N;
|
|
825
|
+
return c.startTime.hour === ((d = m.value.start) == null ? void 0 : d.hour) && c.startTime.minute === ((h = m.value.start) == null ? void 0 : h.minute) && c.endTime.hour === ((y = m.value.end) == null ? void 0 : y.hour) && c.endTime.minute === ((N = m.value.end) == null ? void 0 : N.minute);
|
|
826
826
|
}
|
|
827
827
|
) + 1;
|
|
828
828
|
S !== 0 ? f.value = S : f.value = l.defaultDateRange.length + 1;
|
|
@@ -840,7 +840,7 @@ const ma = { class: "px-24 py-16 rounded-lg shadow-light-300" }, da = { class: "
|
|
|
840
840
|
locale: r.value
|
|
841
841
|
}));
|
|
842
842
|
return (S, c) => {
|
|
843
|
-
const d = te("FmChip"), h = te("FmRadio"), y = te("FmMenuDivider"),
|
|
843
|
+
const d = te("FmChip"), h = te("FmRadio"), y = te("FmMenuDivider"), N = te("FmRadioGroup"), R = te("FmTimeInput"), H = te("FmButton"), z = te("FmPopover");
|
|
844
844
|
return X(), ve("div", null, [
|
|
845
845
|
M(z, {
|
|
846
846
|
"show-popover": Q.value,
|
|
@@ -859,29 +859,29 @@ const ma = { class: "px-24 py-16 rounded-lg shadow-light-300" }, da = { class: "
|
|
|
859
859
|
var q, ee, le, Z;
|
|
860
860
|
return [
|
|
861
861
|
Y("div", ma, [
|
|
862
|
-
M(
|
|
862
|
+
M(N, {
|
|
863
863
|
modelValue: f.value,
|
|
864
|
-
"onUpdate:modelValue": c[1] || (c[1] = (
|
|
864
|
+
"onUpdate:modelValue": c[1] || (c[1] = (C) => f.value = C)
|
|
865
865
|
}, {
|
|
866
866
|
default: ie(() => [
|
|
867
|
-
(X(!0), ve(Le, null, vt(l.defaultDateRange, (
|
|
867
|
+
(X(!0), ve(Le, null, vt(l.defaultDateRange, (C, W) => (X(), De(h, {
|
|
868
868
|
key: `range_${W}`,
|
|
869
869
|
value: W + 1,
|
|
870
|
-
label: D(jt)(
|
|
871
|
-
onClick: (ne) => L(
|
|
870
|
+
label: D(jt)(C, D(s)),
|
|
871
|
+
onClick: (ne) => L(C.startTime, C.endTime)
|
|
872
872
|
}, {
|
|
873
873
|
label: ie(() => [
|
|
874
874
|
Y("p", da, [
|
|
875
|
-
st(be(D(jt)(
|
|
875
|
+
st(be(D(jt)(C, D(s))) + " ", 1),
|
|
876
876
|
$l(M(d, {
|
|
877
877
|
label: D(s)("report.common.default"),
|
|
878
878
|
class: "bg-fm-color-system-info-100 border-fm-color-typo-info text-fm-color-typo-info",
|
|
879
879
|
compact: ""
|
|
880
880
|
}, null, 8, ["label"]), [
|
|
881
|
-
[Gl,
|
|
881
|
+
[Gl, C.isDefault]
|
|
882
882
|
])
|
|
883
883
|
]),
|
|
884
|
-
Y("p", pa, be(D(Ut)(
|
|
884
|
+
Y("p", pa, be(D(Ut)(C.startTime, D(xe)())) + " - " + be(D(Ut)(C.endTime, D(xe)())) + " " + be(D(ca)(C.startTime, C.endTime)), 1)
|
|
885
885
|
]),
|
|
886
886
|
_: 2
|
|
887
887
|
}, 1032, ["value", "label", "onClick"]))), 128)),
|
|
@@ -899,9 +899,9 @@ const ma = { class: "px-24 py-16 rounded-lg shadow-light-300" }, da = { class: "
|
|
|
899
899
|
Y("div", va, [
|
|
900
900
|
M(R, {
|
|
901
901
|
"model-value": b(`${(q = u.value.start) == null ? void 0 : q.hour}:${(ee = u.value.start) == null ? void 0 : ee.minute}`),
|
|
902
|
-
"onUpdate:modelValue": c[2] || (c[2] = (
|
|
902
|
+
"onUpdate:modelValue": c[2] || (c[2] = (C) => {
|
|
903
903
|
if (u.value.start) {
|
|
904
|
-
const W = D(E)(`${
|
|
904
|
+
const W = D(E)(`${C.hours}:${C.minutes} ${C.period}`, "h:m A").locale(
|
|
905
905
|
D(xe)()
|
|
906
906
|
);
|
|
907
907
|
u.value.start.hour = W.get("hour"), u.value.start.minute = W.get("minute");
|
|
@@ -913,9 +913,9 @@ const ma = { class: "px-24 py-16 rounded-lg shadow-light-300" }, da = { class: "
|
|
|
913
913
|
Y("div", ba, [
|
|
914
914
|
M(R, {
|
|
915
915
|
"model-value": b(`${(le = u.value.end) == null ? void 0 : le.hour}:${(Z = u.value.end) == null ? void 0 : Z.minute}`),
|
|
916
|
-
"onUpdate:modelValue": c[3] || (c[3] = (
|
|
916
|
+
"onUpdate:modelValue": c[3] || (c[3] = (C) => {
|
|
917
917
|
if (u.value.end) {
|
|
918
|
-
const W = D(E)(`${
|
|
918
|
+
const W = D(E)(`${C.hours}:${C.minutes} ${C.period}`, "h:m A").locale(
|
|
919
919
|
D(xe)()
|
|
920
920
|
);
|
|
921
921
|
u.value.end.hour = W.get("hour"), u.value.end.minute = W.get("minute");
|
|
@@ -929,7 +929,7 @@ const ma = { class: "px-24 py-16 rounded-lg shadow-light-300" }, da = { class: "
|
|
|
929
929
|
M(H, {
|
|
930
930
|
label: D(s)("report.common.cancel"),
|
|
931
931
|
variant: "tertiary",
|
|
932
|
-
onClick: c[4] || (c[4] = (
|
|
932
|
+
onClick: c[4] || (c[4] = (C) => Q.value = !1)
|
|
933
933
|
}, null, 8, ["label"]),
|
|
934
934
|
M(H, {
|
|
935
935
|
label: D(s)("report.common.apply"),
|
|
@@ -1185,7 +1185,7 @@ function pt({
|
|
|
1185
1185
|
const Fa = { class: "flex flex-row flex-wrap gap-2" }, wa = { class: "inline-flex max-w-[460px]" }, Da = {
|
|
1186
1186
|
key: 0,
|
|
1187
1187
|
class: "flex justify-center my-2"
|
|
1188
|
-
}, Ta = { class: "px-2 pb-8" }, Va = { class: "flex-1 overflow-y-auto overflow-x-hidden" },
|
|
1188
|
+
}, Ta = { class: "px-2 pb-8" }, Va = { class: "flex-1 overflow-y-auto overflow-x-hidden" }, Ca = { class: "px-2 pb-8" }, Na = { class: "flex items-start w-full" }, ka = ["onClick"], Oa = { class: "fm-typo-en-body-md-400" }, _a = { key: 0 }, Ra = { class: "px-12 py-3" }, Aa = { class: "flex items-center justify-between" }, Ia = { class: "text-xs max-w-[200px]" }, xa = { class: "px-4 py-3 flex flex-row justify-end gap-2 bg-white" }, Ne = "__EMPTY__", we = "__NO_SELECTION__", en = /* @__PURE__ */ yt({
|
|
1189
1189
|
__name: "GlobalFilterSelect",
|
|
1190
1190
|
props: {
|
|
1191
1191
|
globalFilterId: {},
|
|
@@ -1206,11 +1206,11 @@ const Fa = { class: "flex flex-row flex-wrap gap-2" }, wa = { class: "inline-fle
|
|
|
1206
1206
|
getGlobalFilterKey: d,
|
|
1207
1207
|
isMenuOpen: h,
|
|
1208
1208
|
getGlobalFilterLabel: y,
|
|
1209
|
-
incrementAppliedTilesFiltersVersion:
|
|
1209
|
+
incrementAppliedTilesFiltersVersion: N
|
|
1210
1210
|
} = Ge();
|
|
1211
1211
|
const R = Se(() => s("report.input.empty")), H = ["NULL", "", " "];
|
|
1212
1212
|
let z;
|
|
1213
|
-
const q = ua(), { getWidgetResult: ee } = q, { widgetResults: le, isAllWidgetResultLoaded: Z } = oe(q),
|
|
1213
|
+
const q = ua(), { getWidgetResult: ee } = q, { widgetResults: le, isAllWidgetResultLoaded: Z } = oe(q), C = ye(!1), W = ye(!1), ne = ye(""), U = ye({}), K = Se(() => {
|
|
1214
1214
|
var e;
|
|
1215
1215
|
return a.globalFilterId ?? ((e = m.value) == null ? void 0 : e.id) ?? "";
|
|
1216
1216
|
}), se = Se(() => a.report ?? m.value), x = ye([]);
|
|
@@ -1218,7 +1218,7 @@ const Fa = { class: "flex flex-row flex-wrap gap-2" }, wa = { class: "inline-fle
|
|
|
1218
1218
|
return `${K.value}|instance:${e}`;
|
|
1219
1219
|
}
|
|
1220
1220
|
function ce(e) {
|
|
1221
|
-
return ct(e) ? !1 :
|
|
1221
|
+
return ct(e) ? !1 : C.value ? !0 : a.isDialogGlobalFilter ? W.value : !Z.value && e.options.length === 0;
|
|
1222
1222
|
}
|
|
1223
1223
|
function ue(e, t) {
|
|
1224
1224
|
return (e == null ? void 0 : e.startDate) === (t == null ? void 0 : t.startDate) && (e == null ? void 0 : e.endDate) === (t == null ? void 0 : t.endDate);
|
|
@@ -1240,16 +1240,16 @@ const Fa = { class: "flex flex-row flex-wrap gap-2" }, wa = { class: "inline-fle
|
|
|
1240
1240
|
return e ? [...e.tileIds ?? []] : Array.from(new Set(et.value.flatMap((t) => t.tileIds ?? [])));
|
|
1241
1241
|
}
|
|
1242
1242
|
function ae(e) {
|
|
1243
|
-
a.isDialogGlobalFilter ||
|
|
1243
|
+
a.isDialogGlobalFilter || N(ge(e));
|
|
1244
1244
|
}
|
|
1245
1245
|
function P(e) {
|
|
1246
1246
|
return e.filter((t) => t !== we);
|
|
1247
1247
|
}
|
|
1248
1248
|
function Te(e) {
|
|
1249
1249
|
const t = e.some(
|
|
1250
|
-
(n) => n ===
|
|
1250
|
+
(n) => n === Ne || n === "NULL" || typeof n == "string" && (n === "" || n === " ")
|
|
1251
1251
|
), o = e.flatMap(
|
|
1252
|
-
(n) => n ===
|
|
1252
|
+
(n) => n === Ne ? [...H] : [n]
|
|
1253
1253
|
);
|
|
1254
1254
|
return Array.from(t ? /* @__PURE__ */ new Set([...o, ...H]) : new Set(o));
|
|
1255
1255
|
}
|
|
@@ -1322,7 +1322,7 @@ const Fa = { class: "flex flex-row flex-wrap gap-2" }, wa = { class: "inline-fle
|
|
|
1322
1322
|
return e.includes(we);
|
|
1323
1323
|
}
|
|
1324
1324
|
function Tt(e) {
|
|
1325
|
-
return e ===
|
|
1325
|
+
return e === Ne || String(e ?? "").trim() === "";
|
|
1326
1326
|
}
|
|
1327
1327
|
function it(e) {
|
|
1328
1328
|
return [...e].sort((t, o) => {
|
|
@@ -1399,15 +1399,15 @@ const Fa = { class: "flex flex-row flex-wrap gap-2" }, wa = { class: "inline-fle
|
|
|
1399
1399
|
if (il(e, t))
|
|
1400
1400
|
return [];
|
|
1401
1401
|
if (!e.keepSelection || a.isDialogGlobalFilter)
|
|
1402
|
-
return n.length ? n : v ? [
|
|
1402
|
+
return n.length ? n : v ? [Ne] : [];
|
|
1403
1403
|
if (!ut(e))
|
|
1404
|
-
return n.length ? n : v ? [
|
|
1404
|
+
return n.length ? n : v ? [Ne] : [];
|
|
1405
1405
|
const T = new Set(
|
|
1406
1406
|
(e.options || []).filter((A) => A.available !== !1).map((A) => A.value)
|
|
1407
1407
|
), g = o.filter(
|
|
1408
1408
|
(A) => T.has(A)
|
|
1409
1409
|
), $ = Te(g);
|
|
1410
|
-
return $.length ? $ : v ? [
|
|
1410
|
+
return $.length ? $ : v ? [Ne] : [];
|
|
1411
1411
|
}
|
|
1412
1412
|
function Xe(e) {
|
|
1413
1413
|
const t = U.value[e.id];
|
|
@@ -1456,7 +1456,7 @@ const Fa = { class: "flex flex-row flex-wrap gap-2" }, wa = { class: "inline-fle
|
|
|
1456
1456
|
globalFilter: e,
|
|
1457
1457
|
search: n.search,
|
|
1458
1458
|
options: n.options,
|
|
1459
|
-
type:
|
|
1459
|
+
type: Nt(e),
|
|
1460
1460
|
selectedValues: v,
|
|
1461
1461
|
visibleCount: n.visibleCount,
|
|
1462
1462
|
keepSelection: n.keepSelection,
|
|
@@ -1525,9 +1525,9 @@ const Fa = { class: "flex flex-row flex-wrap gap-2" }, wa = { class: "inline-fle
|
|
|
1525
1525
|
gl();
|
|
1526
1526
|
}
|
|
1527
1527
|
);
|
|
1528
|
-
function
|
|
1528
|
+
function Ct(e, t) {
|
|
1529
1529
|
var o;
|
|
1530
|
-
return t === !0 ? s("report.common.yes") || "Yes" : t === !1 ? s("report.common.no") || "No" : String(t).trim() === "" || t ===
|
|
1530
|
+
return t === !0 ? s("report.common.yes") || "Yes" : t === !1 ? s("report.common.no") || "No" : String(t).trim() === "" || t === Ne ? R.value : e.type === he.Timestamp && e.globalFilter.option !== B.DateTime && e.globalFilter.option !== B.TimeOfDay ? ((o = pt({
|
|
1531
1531
|
dimensionOption: e.globalFilter.option,
|
|
1532
1532
|
t: s
|
|
1533
1533
|
}).find((v) => String(v.value) === String(t))) == null ? void 0 : o.label) ?? String(t) : String(t);
|
|
@@ -1537,12 +1537,12 @@ const Fa = { class: "flex flex-row flex-wrap gap-2" }, wa = { class: "inline-fle
|
|
|
1537
1537
|
if (!e.options.length) return;
|
|
1538
1538
|
const t = e.options.map((o) => ({
|
|
1539
1539
|
...o,
|
|
1540
|
-
label:
|
|
1540
|
+
label: Ct(e, o.value)
|
|
1541
1541
|
}));
|
|
1542
1542
|
e.options = Vt(e) ? it(t) : t;
|
|
1543
1543
|
});
|
|
1544
1544
|
}
|
|
1545
|
-
function
|
|
1545
|
+
function Nt(e) {
|
|
1546
1546
|
var o;
|
|
1547
1547
|
const t = (o = Q.value.find((n) => n.name === e.schemaName)) == null ? void 0 : o.fields.find((n) => n.name === e.name);
|
|
1548
1548
|
return t == null ? void 0 : t.type;
|
|
@@ -1587,19 +1587,19 @@ const Fa = { class: "flex flex-row flex-wrap gap-2" }, wa = { class: "inline-fle
|
|
|
1587
1587
|
var qe, Et;
|
|
1588
1588
|
const i = (qe = G == null ? void 0 : G.widget) == null ? void 0 : qe.config;
|
|
1589
1589
|
if (!i) return I;
|
|
1590
|
-
const J = g(i), V = (i.dimensions ?? []).some((
|
|
1590
|
+
const J = g(i), V = (i.dimensions ?? []).some((Ce) => Ce.schemaName === n) || (i.schemaNames ?? []).includes(n), pe = T(
|
|
1591
1591
|
i.filters ?? [],
|
|
1592
|
-
(e.filters ?? []).filter((
|
|
1592
|
+
(e.filters ?? []).filter((Ce) => {
|
|
1593
1593
|
var Re;
|
|
1594
|
-
return (Re = i.schemaNames) == null ? void 0 : Re.includes(
|
|
1594
|
+
return (Re = i.schemaNames) == null ? void 0 : Re.includes(Ce.schemaName);
|
|
1595
1595
|
})
|
|
1596
1596
|
), w = (Et = i.joinDatasources) == null ? void 0 : Et.find(
|
|
1597
|
-
(
|
|
1597
|
+
(Ce) => (Ce.schemaNames ?? []).includes(n) || (Ce.dimensions ?? []).some((Re) => Re.schemaName === n)
|
|
1598
1598
|
), _e = T(
|
|
1599
1599
|
(w == null ? void 0 : w.filters) ?? [],
|
|
1600
|
-
(e.filters ?? []).filter((
|
|
1600
|
+
(e.filters ?? []).filter((Ce) => {
|
|
1601
1601
|
var Re;
|
|
1602
|
-
return (Re = w == null ? void 0 : w.schemaNames) == null ? void 0 : Re.includes(
|
|
1602
|
+
return (Re = w == null ? void 0 : w.schemaNames) == null ? void 0 : Re.includes(Ce.schemaName);
|
|
1603
1603
|
})
|
|
1604
1604
|
);
|
|
1605
1605
|
return I.push({
|
|
@@ -1688,7 +1688,7 @@ const Fa = { class: "flex flex-row flex-wrap gap-2" }, wa = { class: "inline-fle
|
|
|
1688
1688
|
return a.isDialogGlobalFilter && me.value && ((e = m.value) != null && e.id) ? m.value.id : K.value;
|
|
1689
1689
|
}
|
|
1690
1690
|
function tt(e) {
|
|
1691
|
-
return String(e ?? "").trim() === "" ?
|
|
1691
|
+
return String(e ?? "").trim() === "" ? Ne : String(e);
|
|
1692
1692
|
}
|
|
1693
1693
|
function Tl(e) {
|
|
1694
1694
|
var t, o;
|
|
@@ -1707,7 +1707,7 @@ const Fa = { class: "flex flex-row flex-wrap gap-2" }, wa = { class: "inline-fle
|
|
|
1707
1707
|
if (!t.length) return;
|
|
1708
1708
|
const o = new Set(e.options.map((v) => v.value)), n = t.filter((v) => !o.has(v)).map((v) => ({
|
|
1709
1709
|
value: v,
|
|
1710
|
-
label:
|
|
1710
|
+
label: Ct(e, v),
|
|
1711
1711
|
available: !1
|
|
1712
1712
|
}));
|
|
1713
1713
|
if (n.length) {
|
|
@@ -1715,7 +1715,7 @@ const Fa = { class: "flex flex-row flex-wrap gap-2" }, wa = { class: "inline-fle
|
|
|
1715
1715
|
e.options = Vt(e) ? it(v) : v;
|
|
1716
1716
|
}
|
|
1717
1717
|
}
|
|
1718
|
-
function
|
|
1718
|
+
function Cl(e) {
|
|
1719
1719
|
if (e.keepSelection) {
|
|
1720
1720
|
Vl(e);
|
|
1721
1721
|
const o = de(e);
|
|
@@ -1733,13 +1733,13 @@ const Fa = { class: "flex flex-row flex-wrap gap-2" }, wa = { class: "inline-fle
|
|
|
1733
1733
|
selectedValues: t
|
|
1734
1734
|
});
|
|
1735
1735
|
}
|
|
1736
|
-
async function
|
|
1736
|
+
async function Nl(e, t) {
|
|
1737
1737
|
var o;
|
|
1738
1738
|
if (e.options = [], !((o = e.globalFilter.tileIds) != null && o.length)) {
|
|
1739
1739
|
al(e);
|
|
1740
1740
|
return;
|
|
1741
1741
|
}
|
|
1742
|
-
if (!(!e.type && (e.type =
|
|
1742
|
+
if (!(!e.type && (e.type = Nt(e.globalFilter), !e.type))) {
|
|
1743
1743
|
if (ze(e.globalFilter)) {
|
|
1744
1744
|
e.options = Tl(e.globalFilter), Xe(e);
|
|
1745
1745
|
return;
|
|
@@ -1811,15 +1811,15 @@ const Fa = { class: "flex flex-row flex-wrap gap-2" }, wa = { class: "inline-fle
|
|
|
1811
1811
|
if (!K.value || !x.value.length) return;
|
|
1812
1812
|
z && z.abort();
|
|
1813
1813
|
const e = new AbortController();
|
|
1814
|
-
z = e,
|
|
1814
|
+
z = e, C.value = !0, a.isDialogGlobalFilter && (W.value = !0);
|
|
1815
1815
|
try {
|
|
1816
1816
|
await Promise.all(
|
|
1817
1817
|
x.value.map(
|
|
1818
|
-
(t) =>
|
|
1818
|
+
(t) => Nl(t, e.signal)
|
|
1819
1819
|
)
|
|
1820
1820
|
);
|
|
1821
1821
|
} finally {
|
|
1822
|
-
z === e && (
|
|
1822
|
+
z === e && (C.value = !1), a.isDialogGlobalFilter && z === e && (W.value = !1);
|
|
1823
1823
|
}
|
|
1824
1824
|
}
|
|
1825
1825
|
function xt(e, t) {
|
|
@@ -1909,7 +1909,7 @@ const Fa = { class: "flex flex-row flex-wrap gap-2" }, wa = { class: "inline-fle
|
|
|
1909
1909
|
function Il(e) {
|
|
1910
1910
|
e.keepSelection = !e.keepSelection, c(e.keepSelection), S(e.globalFilter, k(e.id), {
|
|
1911
1911
|
keepSelection: e.keepSelection
|
|
1912
|
-
}),
|
|
1912
|
+
}), Cl(e);
|
|
1913
1913
|
}
|
|
1914
1914
|
function xl(e, t) {
|
|
1915
1915
|
return e ? e.length > t ? `${e.slice(0, t)}…` : e : R.value;
|
|
@@ -2004,7 +2004,7 @@ const Fa = { class: "flex flex-row flex-wrap gap-2" }, wa = { class: "inline-fle
|
|
|
2004
2004
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder"])
|
|
2005
2005
|
]),
|
|
2006
2006
|
Y("div", Va, [
|
|
2007
|
-
Y("div",
|
|
2007
|
+
Y("div", Ca, [
|
|
2008
2008
|
M(v, {
|
|
2009
2009
|
label: kl(i),
|
|
2010
2010
|
"has-checkbox": !0,
|
|
@@ -2025,7 +2025,7 @@ const Fa = { class: "flex flex-row flex-wrap gap-2" }, wa = { class: "inline-fle
|
|
|
2025
2025
|
st(be(w.label), 1)
|
|
2026
2026
|
]),
|
|
2027
2027
|
default: ie(() => [
|
|
2028
|
-
Y("div",
|
|
2028
|
+
Y("div", Na, [
|
|
2029
2029
|
M(v, {
|
|
2030
2030
|
label: xl(w.label, 110),
|
|
2031
2031
|
"has-checkbox": !0,
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { ref as I, defineComponent as S, watch as P, computed as $, onMounted as de, openBlock as o, createElementBlock as i, createElementVNode as s, renderSlot as J, toDisplayString as C, resolveDirective as K, Fragment as z, renderList as N, createBlock as R, resolveDynamicComponent as U, unref as m, withCtx as B, withDirectives as T, createVNode as p, createCommentVNode as D, normalizeClass as W, resolveComponent as M, useModel as ce, createTextVNode as ue, isRef as j, nextTick as fe } from "vue";
|
|
2
|
-
import { _ as me } from "./Default.vue_vue_type_script_setup_true_lang-
|
|
3
|
-
import { D as ge } from "./DateRangeSelect-
|
|
4
|
-
import { d as E, u as Q, F as ee, q as te, a as pe, j as ve, h as H, p as he, s as ye, v as xe } from "./app-
|
|
2
|
+
import { _ as me } from "./Default.vue_vue_type_script_setup_true_lang-ExZd3iUN.js";
|
|
3
|
+
import { D as ge } from "./DateRangeSelect-DP3kVLFZ.js";
|
|
4
|
+
import { d as E, u as Q, F as ee, q as te, a as pe, j as ve, h as H, p as he, s as ye, v as xe } from "./app-CKZMopgy.js";
|
|
5
5
|
import { storeToRefs as ae } from "pinia";
|
|
6
6
|
import { C as le, r as we } from "./chart-DU0N9V2o.js";
|
|
7
7
|
import { components as Y, useSnackbar as be } from "@feedmepos/ui-library";
|
|
8
|
-
import { u as se } from "./_plugin-vue_export-helper-
|
|
8
|
+
import { u as se } from "./_plugin-vue_export-helper-N63MbPK5.js";
|
|
9
9
|
import { c as X } from "./index-CtZE4sab.js";
|
|
10
|
-
import { _ as Ce } from "./SelectComponent.vue_vue_type_script_setup_true_lang-
|
|
11
|
-
import { _ as ke } from "./LocationSelect.vue_vue_type_script_setup_true_lang-
|
|
10
|
+
import { _ as Ce } from "./SelectComponent.vue_vue_type_script_setup_true_lang-D8f9NgeK.js";
|
|
11
|
+
import { _ as ke } from "./LocationSelect.vue_vue_type_script_setup_true_lang-6xAohPSs.js";
|
|
12
12
|
import { useCoreStore as _e } from "@feedmepos/mf-common";
|
|
13
|
-
import { G as $e } from "./NavigationTab.vue_vue_type_script_setup_true_lang-
|
|
13
|
+
import { G as $e } from "./NavigationTab.vue_vue_type_script_setup_true_lang-Bc5u9ueb.js";
|
|
14
14
|
function Ae({ start: e, end: t }) {
|
|
15
15
|
return `${E(t).format("DD MMM")}, ${E(t).format("YYYY")}`;
|
|
16
16
|
}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { defineComponent as fe, useModel as he, computed as G, resolveComponent as K, openBlock as v, createElementBlock as R, createElementVNode as o, normalizeClass as qe, Fragment as ke, renderList as Be, normalizeStyle as pt, createVNode as a, createBlock as W, withCtx as De, toDisplayString as k, renderSlot as Yt, createCommentVNode as Y, mergeModels as Ne, unref as n, h as C, createTextVNode as jt, ref as ae, onUnmounted as et, watch as $e, isRef as Qe, resolveDynamicComponent as We, mergeProps as gt, onMounted as bt, withKeys as dt, withModifiers as wt, nextTick as Pt } from "vue";
|
|
2
2
|
import { useRouter as Ve, useRoute as qt } from "vue-router";
|
|
3
|
-
import { K as Ae, L as ft, d as Re, M as zt, N as we, a as Se, e as ze, O as Ht, P as Gt, G as me, J as tt, Q as Xe, R as Ge, S as Qt, T as ot, U as vt, V as Wt, W as Xt, X as Jt, Y as Zt, Z as eo, _ as yt, b as _t, $ as to, a0 as oo, E as ao, I as He, a1 as lo, a2 as no, a3 as so } from "./app-
|
|
3
|
+
import { K as Ae, L as ft, d as Re, M as zt, N as we, a as Se, e as ze, O as Ht, P as Gt, G as me, J as tt, Q as Xe, R as Ge, S as Qt, T as ot, U as vt, V as Wt, W as Xt, X as Jt, Y as Zt, Z as eo, _ as yt, b as _t, $ as to, a0 as oo, E as ao, I as He, a1 as lo, a2 as no, a3 as so } from "./app-CKZMopgy.js";
|
|
4
4
|
import { u as at } from "./global-loader-BuxFfehu.js";
|
|
5
5
|
import { u as lt } from "./message-dialog-UoMWOnil.js";
|
|
6
6
|
import { useSnackbar as Ke } from "@feedmepos/ui-library";
|
|
7
7
|
import { s as Ot } from "./index-CtZE4sab.js";
|
|
8
|
-
import { u as xe, _ as ro } from "./_plugin-vue_export-helper-
|
|
8
|
+
import { u as xe, _ as ro } from "./_plugin-vue_export-helper-N63MbPK5.js";
|
|
9
9
|
import { storeToRefs as Ee } from "pinia";
|
|
10
|
-
import { u as Je, h as Te } from "./useRestaurantPermission-
|
|
11
|
-
import { D as nt } from "./DateRangeSelect-
|
|
10
|
+
import { u as Je, h as Te } from "./useRestaurantPermission-BAzncDqR.js";
|
|
11
|
+
import { D as nt } from "./DateRangeSelect-DP3kVLFZ.js";
|
|
12
12
|
const io = { class: "flex flex-row items-center w-[100%] gap-[4px] justify-between" }, po = { class: "w-[100%] overflow-hidden" }, uo = { class: "inline-flex max-w-full items-center gap-2 align-top" }, co = { class: "text-nowrap min-w-0 overflow-hidden text-ellipsis font-semibold" }, mo = {
|
|
13
13
|
key: 0,
|
|
14
14
|
class: "w-[24px] flex items-center"
|