@feedmepos/mf-report 5.31.3-beta.0 → 5.32.0-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-o4z-EAO1.js +339 -0
- package/dist/{DateRangeSelect-AJd7gYva.js → DateRangeSelect-DO3T_rQs.js} +18 -18
- package/dist/{Default.vue_vue_type_script_setup_true_lang-CIVlgjSX.js → Default.vue_vue_type_script_setup_true_lang-CW_VllVL.js} +1 -1
- package/dist/DigestListView-DG-vojKl.js +637 -0
- package/dist/DigestReaderView-bRfEYtZA.js +507 -0
- package/dist/{DynamicWidget.vue_vue_type_script_setup_true_lang-BKHx9p3R.js → DynamicWidget.vue_vue_type_script_setup_true_lang-Bfmd5eMI.js} +173 -173
- package/dist/{GlobalFilterSelect.vue_vue_type_script_setup_true_lang-qQi-7kuX.js → GlobalFilterSelect.vue_vue_type_script_setup_true_lang-vy0FZKv0.js} +154 -154
- package/dist/{InsightView-noFPHcRY.js → InsightView-sLKiFc_-.js} +16 -16
- package/dist/{Integration-UwZP3vYt.js → Integration-CZn5gvF8.js} +3 -3
- package/dist/{Integrations-BMhJuw20.js → Integrations-I0rHAfPo.js} +2 -2
- package/dist/{Layout-CofH0rzo.js → Layout-DPEfiH3f.js} +1 -1
- package/dist/{LocationSelect.vue_vue_type_script_setup_true_lang-BsdJx7gt.js → LocationSelect.vue_vue_type_script_setup_true_lang-DFQ943gj.js} +2 -2
- package/dist/{MenuTab.vue_vue_type_script_setup_true_lang-BMJHW2E2.js → MenuTab.vue_vue_type_script_setup_true_lang-BjJcvN_z.js} +9 -9
- package/dist/{NavigationTab.vue_vue_type_script_setup_true_lang-b6hgoVnw.js → NavigationTab.vue_vue_type_script_setup_true_lang-zUF-G98m.js} +6 -6
- package/dist/{OverviewView-V-KcUYld.js → OverviewView-CJS82eII.js} +5 -5
- package/dist/{Report-Cxfxa7EK.js → Report-DDYgnr3v.js} +30 -30
- package/dist/ReportCanvasView-m_qW7QgV.js +966 -0
- package/dist/{ReportEditor-syPuiUDA.js → ReportEditor-CrMd2q2a.js} +7 -7
- package/dist/{ReportView-Dqc89voW.js → ReportView-CKLzDw5j.js} +6 -6
- package/dist/{ReportViewRoute-BE4Olg2t.js → ReportViewRoute-BrLi7iXr.js} +2 -2
- package/dist/{Setting-CSZG2_pc.js → Setting-BUmSYXCO.js} +3 -3
- package/dist/{Template-DE8y5xA7.js → Template-CljYVpCi.js} +18 -18
- package/dist/{TileEditor-DCLCIQqG.js → TileEditor-3fV8xOVc.js} +6 -6
- package/dist/{TilePageStack.vue_vue_type_script_setup_true_lang-BKM30woJ.js → TilePageStack.vue_vue_type_script_setup_true_lang-Biwl30EU.js} +2 -2
- package/dist/{TransitionFade-DSKakW7L.js → TransitionFade-BUSdiKFH.js} +5 -5
- package/dist/{app-BxEbZEnS.js → app-BXVd3ce-.js} +3354 -2967
- package/dist/app.js +4 -4
- package/dist/assets/{formatChartData.worker-R9EGYsk6.js → formatChartData.worker-BprlZnJs.js} +80 -58
- package/dist/assets/{processTableData.worker-CxpDa0tB.js → processTableData.worker-D5GSFMnH.js} +83 -61
- package/dist/{currency-lmnrd1Gz.js → currency-C6h0cwip.js} +1 -1
- package/dist/{index-Co3j0l3d.js → index-BoeJLw2U.js} +1279 -1244
- package/dist/{report-Dsp2krIZ.js → report-DG-20Pq8.js} +18 -18
- package/dist/report-canvas-libs/components-1.js +1126 -71
- package/dist/report-canvas-libs/geo-outlines-1.js +1 -1
- package/dist/style.css +1 -1
- package/dist/useDigestFont-Gf1l5qYq.js +205 -0
- package/dist/{ReportCanvasView-DDNkVmlA.js → useReportCanvasPanel-CquUHqIK.js} +2933 -3477
- package/dist/{useRestaurantPermission-D8xwhBHn.js → useRestaurantPermission-BNu9cN13.js} +1 -1
- package/package.json +1 -1
- package/dist/App-j08Hk0tX.js +0 -339
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { ref as ve, computed as
|
|
2
|
-
import { c as Qt, _ as Kt, D as El, e as Ll } from "./DateRangeSelect-
|
|
3
|
-
import { e as
|
|
4
|
-
import { d as E, u as ke, c as
|
|
5
|
-
import { b as B, C as W, Q as tt, u as Pe, o as Ge, p as Ue, D as be, a as Wl, x as Mt, W as Pt, A as Ul, S as Bt } from "./report-
|
|
1
|
+
import { ref as ve, computed as ge, defineComponent as yt, mergeModels as lt, useModel as ft, watch as Ie, resolveComponent as ee, createElementBlock as fe, openBlock as J, createVNode as P, withCtx as ue, createElementVNode as Q, createCommentVNode as bt, Fragment as Le, renderList as ht, createBlock as we, unref as D, createTextVNode as nt, withDirectives as xl, toDisplayString as he, vShow as Al, renderSlot as qt, normalizeStyle as Gl, normalizeClass as Et, withModifiers as dt } from "vue";
|
|
2
|
+
import { c as Qt, _ as Kt, D as El, e as Ll } from "./DateRangeSelect-DO3T_rQs.js";
|
|
3
|
+
import { e as gt } from "./index-BoeJLw2U.js";
|
|
4
|
+
import { d as E, u as ke, c as je, a as Me, F as Oe, ag as St, v as Ae, i as Ml, g as Pl, z as Bl, j as zl, t as Lt } from "./app-BXVd3ce-.js";
|
|
5
|
+
import { b as B, C as W, Q as tt, u as Pe, o as Ge, p as Ue, D as be, a as Wl, x as Mt, W as Pt, A as Ul, S as Bt } from "./report-DG-20Pq8.js";
|
|
6
6
|
import { defineStore as Ft, storeToRefs as re } from "pinia";
|
|
7
7
|
import { detectLocale as xe } from "@feedmepos/mf-common";
|
|
8
8
|
import { u as Jt } from "./_plugin-vue_export-helper-C6QDExPN.js";
|
|
9
|
-
import { _ as
|
|
9
|
+
import { _ as jl } from "./SelectComponent.vue_vue_type_script_setup_true_lang-DW7Dk7iQ.js";
|
|
10
10
|
var Yt = /* @__PURE__ */ ((l) => (l.generating = "GENERATING", l.completed = "COMPLETED", l.failed = "FAILED", l.canceled = "CANCELLED", l))(Yt || {});
|
|
11
|
-
const
|
|
11
|
+
const ql = "/assets/formatChartData.worker-BprlZnJs.js", mt = /* @__PURE__ */ new Map();
|
|
12
12
|
function zt(l) {
|
|
13
13
|
return new Worker(l, { type: "module" });
|
|
14
14
|
}
|
|
@@ -17,7 +17,7 @@ async function Ql(l) {
|
|
|
17
17
|
return zt(mt.get(l));
|
|
18
18
|
let n = l;
|
|
19
19
|
if (location.hostname !== new URL(import.meta.url).hostname) {
|
|
20
|
-
const d = new URL(l.replace(/^\//, ""), import.meta.url).href, p = await fetch(d).then((
|
|
20
|
+
const d = new URL(l.replace(/^\//, ""), import.meta.url).href, p = await fetch(d).then((S) => S.text()), f = new Blob([p], { type: "application/javascript" });
|
|
21
21
|
n = URL.createObjectURL(f);
|
|
22
22
|
}
|
|
23
23
|
const r = zt(n);
|
|
@@ -36,8 +36,8 @@ const Jl = "mf-reportreport-sort-store", Ht = Ft(Jl, () => {
|
|
|
36
36
|
const l = ve([]);
|
|
37
37
|
function n(d, p) {
|
|
38
38
|
if (d == null) return;
|
|
39
|
-
const f = Array.isArray(p) ? p.filter((i) => i && i.key) : [],
|
|
40
|
-
|
|
39
|
+
const f = Array.isArray(p) ? p.filter((i) => i && i.key) : [], S = l.value.findIndex((i) => i.tileIndex === d), v = { tileIndex: d, sorts: f };
|
|
40
|
+
S !== -1 ? l.value.splice(S, 1, v) : l.value.push(v);
|
|
41
41
|
}
|
|
42
42
|
function s(d) {
|
|
43
43
|
var p;
|
|
@@ -101,7 +101,7 @@ function tn(l, n) {
|
|
|
101
101
|
};
|
|
102
102
|
}
|
|
103
103
|
function ln(l) {
|
|
104
|
-
var d, p, f,
|
|
104
|
+
var d, p, f, S;
|
|
105
105
|
const n = (l.filters ?? []).map((v) => ({
|
|
106
106
|
...v,
|
|
107
107
|
isGlobalFilter: !0
|
|
@@ -137,7 +137,7 @@ function ln(l) {
|
|
|
137
137
|
const v = new Set(s.map((i) => String(i)));
|
|
138
138
|
return [
|
|
139
139
|
...n,
|
|
140
|
-
...((
|
|
140
|
+
...((S = l.customOptions) == null ? void 0 : S.filter((i) => {
|
|
141
141
|
const w = String(i.label ?? "");
|
|
142
142
|
return v.has(w);
|
|
143
143
|
}).map((i) => en(l, i)).filter((i) => Array.isArray(i.values) && i.values.length > 0)) ?? []
|
|
@@ -161,7 +161,7 @@ function Wt({
|
|
|
161
161
|
globalFilters: n,
|
|
162
162
|
schemaNames: s
|
|
163
163
|
}) {
|
|
164
|
-
const r = /* @__PURE__ */ new Map(), d = [], p = new Set((s ?? []).map((u) => String(u))), f = (u) => p.has(u.schemaName ?? ""),
|
|
164
|
+
const r = /* @__PURE__ */ new Map(), d = [], p = new Set((s ?? []).map((u) => String(u))), f = (u) => p.has(u.schemaName ?? ""), S = n.filter(f);
|
|
165
165
|
function v(u) {
|
|
166
166
|
const m = Object.values(B).includes(
|
|
167
167
|
String(u.option ?? "")
|
|
@@ -214,7 +214,7 @@ function Wt({
|
|
|
214
214
|
return null;
|
|
215
215
|
}
|
|
216
216
|
}
|
|
217
|
-
const
|
|
217
|
+
const g = (u) => {
|
|
218
218
|
if (!u || !f(u) || !Array.isArray(u.values) || u.values.length === 0)
|
|
219
219
|
return;
|
|
220
220
|
const m = {
|
|
@@ -237,13 +237,13 @@ function Wt({
|
|
|
237
237
|
}
|
|
238
238
|
I.values = O, r.set(N, I);
|
|
239
239
|
};
|
|
240
|
-
return l.forEach(
|
|
240
|
+
return l.forEach(g), S.forEach(g), [...Array.from(r.values()), ...d];
|
|
241
241
|
}
|
|
242
|
-
function
|
|
242
|
+
function qe(l, n, s) {
|
|
243
243
|
var p;
|
|
244
244
|
const r = JSON.parse(JSON.stringify(l)), d = n.filter((f) => {
|
|
245
|
-
var
|
|
246
|
-
return (
|
|
245
|
+
var S;
|
|
246
|
+
return (S = f.tileIds) == null ? void 0 : S.includes(s);
|
|
247
247
|
}).flatMap((f) => ln(f));
|
|
248
248
|
return {
|
|
249
249
|
...r,
|
|
@@ -254,14 +254,14 @@ function je(l, n, s) {
|
|
|
254
254
|
globalFilters: d ?? [],
|
|
255
255
|
schemaNames: r.config.schemaNames
|
|
256
256
|
}),
|
|
257
|
-
joinDatasources: ((p = r.config.joinDatasources) == null ? void 0 : p.map((f,
|
|
257
|
+
joinDatasources: ((p = r.config.joinDatasources) == null ? void 0 : p.map((f, S) => {
|
|
258
258
|
var v;
|
|
259
259
|
return {
|
|
260
260
|
...f,
|
|
261
261
|
filters: Wt({
|
|
262
262
|
originalFilters: f.filters ?? [],
|
|
263
263
|
globalFilters: d ?? [],
|
|
264
|
-
schemaNames: (v = r.config.joinDatasources) == null ? void 0 : v[
|
|
264
|
+
schemaNames: (v = r.config.joinDatasources) == null ? void 0 : v[S].schemaNames
|
|
265
265
|
})
|
|
266
266
|
};
|
|
267
267
|
})) ?? []
|
|
@@ -315,8 +315,8 @@ function Qe({
|
|
|
315
315
|
compareDateRange: r,
|
|
316
316
|
timezone: d
|
|
317
317
|
}) {
|
|
318
|
-
const { canReadReportDateRange: p, canReadPageDateRange: f } = Pl(),
|
|
319
|
-
return
|
|
318
|
+
const { canReadReportDateRange: p, canReadPageDateRange: f } = Pl(), S = (i) => n ? f(n, i, d) : l ? p(l, i, d) : !0, v = !!(r != null && r.startDate && (r != null && r.endDate));
|
|
319
|
+
return S(s) && (!v || S(r));
|
|
320
320
|
}
|
|
321
321
|
function Ke(l) {
|
|
322
322
|
if (l === "overview")
|
|
@@ -349,31 +349,31 @@ const sn = async ({
|
|
|
349
349
|
scopedTimeRange: d,
|
|
350
350
|
scopedDateRange: p,
|
|
351
351
|
scopedGlobalFilters: f,
|
|
352
|
-
page:
|
|
352
|
+
page: S,
|
|
353
353
|
pageRead: v,
|
|
354
354
|
search: i
|
|
355
355
|
}) => {
|
|
356
|
-
var me,
|
|
357
|
-
const { businessId: w } = re(ke()), { currentReport: k, editingReport: te, overviewReport: x } = Pe(), { selectedNavigationTab:
|
|
358
|
-
selectedNavigationTab:
|
|
356
|
+
var me, Se, ye, ce;
|
|
357
|
+
const { businessId: w } = re(ke()), { currentReport: k, editingReport: te, overviewReport: x } = Pe(), { selectedNavigationTab: g, isEditorRoute: u } = je(), m = wt({
|
|
358
|
+
selectedNavigationTab: g,
|
|
359
359
|
isEditorRoute: u,
|
|
360
360
|
overviewReport: x,
|
|
361
361
|
editingReport: te,
|
|
362
362
|
currentReport: k
|
|
363
|
-
}), h = Ke(
|
|
363
|
+
}), h = Ke(g), {
|
|
364
364
|
selectedRestaurantIds: N,
|
|
365
365
|
selectedWarehouseIds: I,
|
|
366
366
|
selectedLocationIds: O,
|
|
367
367
|
dateRange: L,
|
|
368
368
|
compareDateRange: U,
|
|
369
|
-
timeRange:
|
|
369
|
+
timeRange: j,
|
|
370
370
|
timezone: le,
|
|
371
371
|
restaurants: X,
|
|
372
372
|
warehouses: ne
|
|
373
373
|
} = Me(), { globalFilters: C } = Ge();
|
|
374
374
|
if (O.length === 0)
|
|
375
375
|
return null;
|
|
376
|
-
const _ = p ?? L, K = d ??
|
|
376
|
+
const _ = p ?? L, K = d ?? j, Y = f ?? C;
|
|
377
377
|
if (!Qe({
|
|
378
378
|
report: m,
|
|
379
379
|
pageSubject: h,
|
|
@@ -382,18 +382,18 @@ const sn = async ({
|
|
|
382
382
|
timezone: le
|
|
383
383
|
}))
|
|
384
384
|
return null;
|
|
385
|
-
const H = (r == null ? void 0 : r.filter((ie) => X.some((se) => se.id === ie))) ?? N, ae = (r == null ? void 0 : r.filter((ie) => ne.some((se) => se.id === ie))) ?? I, z =
|
|
385
|
+
const H = (r == null ? void 0 : r.filter((ie) => X.some((se) => se.id === ie))) ?? N, ae = (r == null ? void 0 : r.filter((ie) => ne.some((se) => se.id === ie))) ?? I, z = qe(l, Y, s ?? ""), R = {
|
|
386
386
|
fetchType: Oe.Post,
|
|
387
387
|
url: v ? `/${w.value}/v2/query/page` : `/${w.value}/v2/query`,
|
|
388
388
|
data: {
|
|
389
|
-
...
|
|
389
|
+
...S ? { page: S } : {},
|
|
390
390
|
...v ?? {},
|
|
391
391
|
...i ? { search: i } : {},
|
|
392
392
|
widget: z,
|
|
393
393
|
dateRange: [_.startDate, _.endDate],
|
|
394
394
|
compareDateRange: U.startDate && U.endDate ? [U.startDate, U.endDate] : void 0,
|
|
395
395
|
timeRange: [
|
|
396
|
-
E().tz(le).hour(Number((me = K.start) == null ? void 0 : me.hour)).minute(Number((
|
|
396
|
+
E().tz(le).hour(Number((me = K.start) == null ? void 0 : me.hour)).minute(Number((Se = K.start) == null ? void 0 : Se.minute)).toISOString(),
|
|
397
397
|
E().tz(le).hour(Number((ye = K.end) == null ? void 0 : ye.hour)).minute(Number((ce = K.end) == null ? void 0 : ce.minute)).endOf("minutes").toISOString()
|
|
398
398
|
],
|
|
399
399
|
businessIds: w.value ? [w.value] : [],
|
|
@@ -420,14 +420,14 @@ const sn = async ({
|
|
|
420
420
|
scopedCompareDateRange: d
|
|
421
421
|
}) => {
|
|
422
422
|
var ne, C, _, K;
|
|
423
|
-
const { businessId: p } = re(ke()), { currentReport: f, editingReport:
|
|
423
|
+
const { businessId: p } = re(ke()), { currentReport: f, editingReport: S, overviewReport: v } = Pe(), { selectedNavigationTab: i, isEditorRoute: w } = je(), k = wt({
|
|
424
424
|
selectedNavigationTab: i,
|
|
425
425
|
isEditorRoute: w,
|
|
426
426
|
overviewReport: v,
|
|
427
|
-
editingReport:
|
|
427
|
+
editingReport: S,
|
|
428
428
|
currentReport: f
|
|
429
|
-
}), te = Ke(i), { restaurants: x, warehouses:
|
|
430
|
-
if (x.length === 0 &&
|
|
429
|
+
}), te = Ke(i), { restaurants: x, warehouses: g, dateRange: u, compareDateRange: m, timeRange: h, timezone: N } = Me(), { globalFilters: I } = Ge();
|
|
430
|
+
if (x.length === 0 && g.length === 0)
|
|
431
431
|
return { totalBytesProcessed: 0 };
|
|
432
432
|
const O = r ?? u, L = d ?? m;
|
|
433
433
|
if (!Qe({
|
|
@@ -438,7 +438,7 @@ const sn = async ({
|
|
|
438
438
|
timezone: N
|
|
439
439
|
}))
|
|
440
440
|
return { totalBytesProcessed: 0 };
|
|
441
|
-
const U = x.map((Y) => Y.id),
|
|
441
|
+
const U = x.map((Y) => Y.id), j = g.map((Y) => Y.id), le = qe(l, I, s ?? ""), X = {
|
|
442
442
|
fetchType: Oe.Post,
|
|
443
443
|
url: `/${p.value}/v2/query/dry-run`,
|
|
444
444
|
data: {
|
|
@@ -451,7 +451,7 @@ const sn = async ({
|
|
|
451
451
|
],
|
|
452
452
|
businessIds: p.value ? [p.value] : [],
|
|
453
453
|
restaurantIds: U,
|
|
454
|
-
warehouseIds:
|
|
454
|
+
warehouseIds: j,
|
|
455
455
|
timezone: N,
|
|
456
456
|
skipStringSpaceGrouping: !1,
|
|
457
457
|
reportId: k == null ? void 0 : k.id,
|
|
@@ -471,15 +471,15 @@ const sn = async ({
|
|
|
471
471
|
scopedTimeRange: d,
|
|
472
472
|
scopedDateRange: p,
|
|
473
473
|
scopedGlobalFilters: f,
|
|
474
|
-
page:
|
|
474
|
+
page: S,
|
|
475
475
|
pageRead: v,
|
|
476
476
|
search: i
|
|
477
477
|
}) => {
|
|
478
478
|
var ye, ce, ie, se;
|
|
479
|
-
const { businessId: w, country: k } = re(ke()), { currentReport: te, editingReport: x, overviewReport:
|
|
479
|
+
const { businessId: w, country: k } = re(ke()), { currentReport: te, editingReport: x, overviewReport: g } = Pe(), { selectedNavigationTab: u, isEditorRoute: m } = je(), h = wt({
|
|
480
480
|
selectedNavigationTab: u,
|
|
481
481
|
isEditorRoute: m,
|
|
482
|
-
overviewReport:
|
|
482
|
+
overviewReport: g,
|
|
483
483
|
editingReport: x,
|
|
484
484
|
currentReport: te
|
|
485
485
|
}), N = Ke(u);
|
|
@@ -492,7 +492,7 @@ const sn = async ({
|
|
|
492
492
|
scopedTimeRange: d,
|
|
493
493
|
scopedDateRange: p,
|
|
494
494
|
scopedGlobalFilters: f,
|
|
495
|
-
page:
|
|
495
|
+
page: S,
|
|
496
496
|
pageRead: v,
|
|
497
497
|
search: i
|
|
498
498
|
});
|
|
@@ -501,7 +501,7 @@ const sn = async ({
|
|
|
501
501
|
selectedWarehouseIds: O,
|
|
502
502
|
selectedLocationIds: L,
|
|
503
503
|
dateRange: U,
|
|
504
|
-
compareDateRange:
|
|
504
|
+
compareDateRange: j,
|
|
505
505
|
timeRange: le,
|
|
506
506
|
timezone: X,
|
|
507
507
|
restaurants: ne,
|
|
@@ -514,17 +514,17 @@ const sn = async ({
|
|
|
514
514
|
report: h,
|
|
515
515
|
pageSubject: N,
|
|
516
516
|
dateRange: K,
|
|
517
|
-
compareDateRange:
|
|
517
|
+
compareDateRange: j,
|
|
518
518
|
timezone: X
|
|
519
519
|
}))
|
|
520
520
|
return null;
|
|
521
|
-
const ae = (r == null ? void 0 : r.filter((Z) => ne.some((De) => De.id === Z))) ?? I, z = (r == null ? void 0 : r.filter((Z) => C.some((De) => De.id === Z))) ?? O, R =
|
|
521
|
+
const ae = (r == null ? void 0 : r.filter((Z) => ne.some((De) => De.id === Z))) ?? I, z = (r == null ? void 0 : r.filter((Z) => C.some((De) => De.id === Z))) ?? O, R = qe(l, H, s ?? ""), oe = {
|
|
522
522
|
fetchType: Oe.Post,
|
|
523
523
|
url: `/${w.value}/postgres-query`,
|
|
524
|
-
data:
|
|
524
|
+
data: gt.getQueryRequests({
|
|
525
525
|
widget: R,
|
|
526
526
|
dateRange: [K.startDate, K.endDate],
|
|
527
|
-
compareDateRange:
|
|
527
|
+
compareDateRange: j.startDate && j.endDate ? [j.startDate, j.endDate] : void 0,
|
|
528
528
|
timeRange: [
|
|
529
529
|
E().tz(X).hour(Number((ye = Y.start) == null ? void 0 : ye.hour)).minute(Number((ce = Y.start) == null ? void 0 : ce.minute)).toISOString(),
|
|
530
530
|
E().tz(X).hour(Number((ie = Y.end) == null ? void 0 : ie.hour)).minute(Number((se = Y.end) == null ? void 0 : se.minute)).endOf("minutes").toISOString()
|
|
@@ -548,14 +548,14 @@ const sn = async ({
|
|
|
548
548
|
}
|
|
549
549
|
}, me = [() => Ae.fetch(oe)];
|
|
550
550
|
I.length < 50 && me.push(() => Ae.fetch(oe)), me.push(() => Ae.fetch(oe));
|
|
551
|
-
const
|
|
552
|
-
return (await Kl(
|
|
553
|
-
responses:
|
|
551
|
+
const Se = await el(me, 2e3);
|
|
552
|
+
return (await Kl(ql, {
|
|
553
|
+
responses: Se,
|
|
554
554
|
widget: JSON.parse(JSON.stringify(l)),
|
|
555
555
|
country: k.value,
|
|
556
556
|
timezone: X
|
|
557
557
|
})).data;
|
|
558
|
-
},
|
|
558
|
+
}, jn = async ({
|
|
559
559
|
fileType: l,
|
|
560
560
|
index: n,
|
|
561
561
|
orientationTypes: s,
|
|
@@ -563,33 +563,33 @@ const sn = async ({
|
|
|
563
563
|
locationIds: d,
|
|
564
564
|
timeRange: p,
|
|
565
565
|
dateRange: f,
|
|
566
|
-
globalFilters:
|
|
566
|
+
globalFilters: S
|
|
567
567
|
}) => {
|
|
568
|
-
const { businessId: v } = re(ke()), i = Me(), { compareDateRange: w } = re(i), { restaurants: k, warehouses: te, timezone: x } = i, { globalFilters:
|
|
568
|
+
const { businessId: v } = re(ke()), i = Me(), { compareDateRange: w } = re(i), { restaurants: k, warehouses: te, timezone: x } = i, { globalFilters: g } = Ge(), { currentReport: u, overviewReport: m } = Pe(), { selectedNavigationTab: h } = je(), { getTileSorts: N } = Ht(), { getTileSearch: I } = Hl();
|
|
569
569
|
let O = u == null ? void 0 : u.id, L = Ue(u == null ? void 0 : u.tiles);
|
|
570
570
|
h === "overview" && m && (O = m == null ? void 0 : m.id, L = Ue(m == null ? void 0 : m.tiles));
|
|
571
|
-
const U = h === "overview" && m ? m : u,
|
|
571
|
+
const U = h === "overview" && m ? m : u, j = Ke(h);
|
|
572
572
|
if (!Qe({
|
|
573
573
|
report: U,
|
|
574
|
-
pageSubject:
|
|
574
|
+
pageSubject: j,
|
|
575
575
|
dateRange: f,
|
|
576
576
|
compareDateRange: w.value,
|
|
577
577
|
timezone: x
|
|
578
578
|
}))
|
|
579
579
|
return;
|
|
580
|
-
const le =
|
|
580
|
+
const le = S ?? g, X = L.filter((ae, z) => typeof n == "number" ? z === n : !0).map((ae) => qe(ae.widget, le, ae.id)), ne = {
|
|
581
581
|
fetchType: Oe.Post,
|
|
582
582
|
url: `/${v.value}/file?lang=${xe()}`,
|
|
583
583
|
data: {
|
|
584
584
|
configs: [
|
|
585
585
|
...X.map((ae, z) => {
|
|
586
|
-
var me,
|
|
587
|
-
const R = I(n ?? z), oe =
|
|
586
|
+
var me, Se, ye, ce;
|
|
587
|
+
const R = I(n ?? z), oe = gt.getQueryRequests({
|
|
588
588
|
widget: ae,
|
|
589
589
|
dateRange: [f.startDate, f.endDate],
|
|
590
590
|
compareDateRange: w.value.startDate && w.value.endDate ? [w.value.startDate, w.value.endDate] : void 0,
|
|
591
591
|
timeRange: [
|
|
592
|
-
E().tz(x).set("hour", Number((me = p.start) == null ? void 0 : me.hour)).set("minute", Number((
|
|
592
|
+
E().tz(x).set("hour", Number((me = p.start) == null ? void 0 : me.hour)).set("minute", Number((Se = p.start) == null ? void 0 : Se.minute)).toISOString(),
|
|
593
593
|
E().tz(x).set("hour", Number((ye = p.end) == null ? void 0 : ye.hour)).set("minute", Number((ce = p.end) == null ? void 0 : ce.minute)).toISOString()
|
|
594
594
|
],
|
|
595
595
|
businessIds: v ? [v.value] : [],
|
|
@@ -620,9 +620,9 @@ const sn = async ({
|
|
|
620
620
|
responseType: "arraybuffer",
|
|
621
621
|
timeout: 1e3 * 60 * 60 * 24
|
|
622
622
|
}
|
|
623
|
-
}, { headers: C, data: _ } = await
|
|
623
|
+
}, { headers: C, data: _ } = await St.rawFetch(ne), K = C["content-disposition"].split("filename=")[1].replaceAll('"', ""), Y = window.URL.createObjectURL(new Blob([new Uint8Array(_).buffer])), H = document.createElement("a");
|
|
624
624
|
H.href = Y, H.setAttribute("download", decodeURIComponent(K)), document.body.appendChild(H), H.click(), H.remove();
|
|
625
|
-
},
|
|
625
|
+
}, qn = async ({
|
|
626
626
|
emails: l,
|
|
627
627
|
types: n,
|
|
628
628
|
dateRange: s,
|
|
@@ -630,26 +630,26 @@ const sn = async ({
|
|
|
630
630
|
locationIds: d,
|
|
631
631
|
orientationTypes: p,
|
|
632
632
|
isCombinedLocationLayout: f,
|
|
633
|
-
attachFiles:
|
|
633
|
+
attachFiles: S,
|
|
634
634
|
globalFilters: v
|
|
635
635
|
}) => {
|
|
636
|
-
const { businessId: i } = re(ke()), { currentReport: w, overviewReport: k } = Pe(), { selectedNavigationTab: te } =
|
|
636
|
+
const { businessId: i } = re(ke()), { currentReport: w, overviewReport: k } = Pe(), { selectedNavigationTab: te } = je(), x = Me(), { compareDateRange: g } = re(x), { restaurants: u, warehouses: m, timezone: h } = x, { globalFilters: N } = Ge(), { getTileSorts: I } = Ht();
|
|
637
637
|
if (l.length === 0) {
|
|
638
638
|
console.error("No email addresses provided.");
|
|
639
639
|
return;
|
|
640
640
|
}
|
|
641
641
|
let O = (w == null ? void 0 : w.id) || "", L = (w == null ? void 0 : w.name) || "", U = Ue(w == null ? void 0 : w.tiles);
|
|
642
642
|
te === "overview" && k && (O = k == null ? void 0 : k.id, L = k.name, U = Ue(k == null ? void 0 : k.tiles));
|
|
643
|
-
const
|
|
643
|
+
const j = te === "overview" && k ? k : w, le = Ke(te);
|
|
644
644
|
if (!Qe({
|
|
645
|
-
report:
|
|
645
|
+
report: j,
|
|
646
646
|
pageSubject: le,
|
|
647
647
|
dateRange: s,
|
|
648
|
-
compareDateRange:
|
|
648
|
+
compareDateRange: g.value,
|
|
649
649
|
timezone: h
|
|
650
650
|
}))
|
|
651
651
|
return;
|
|
652
|
-
const X = v ?? N, ne = U.map((_) =>
|
|
652
|
+
const X = v ?? N, ne = U.map((_) => qe(_.widget, X, _.id)), C = {
|
|
653
653
|
businessId: i.value,
|
|
654
654
|
status: Yt.generating,
|
|
655
655
|
dateRange: {
|
|
@@ -661,10 +661,10 @@ const sn = async ({
|
|
|
661
661
|
configs: ne.map((_, K) => {
|
|
662
662
|
var Y, H, ae, z;
|
|
663
663
|
return {
|
|
664
|
-
requests:
|
|
664
|
+
requests: gt.getQueryRequests({
|
|
665
665
|
widget: _,
|
|
666
666
|
dateRange: [s.startDate, s.endDate],
|
|
667
|
-
compareDateRange:
|
|
667
|
+
compareDateRange: g.value.startDate && g.value.endDate ? [g.value.startDate, g.value.endDate] : void 0,
|
|
668
668
|
timeRange: [
|
|
669
669
|
E().tz(h).hour(Number((Y = r.start) == null ? void 0 : Y.hour)).minute(Number((H = r.start) == null ? void 0 : H.minute)).toISOString(),
|
|
670
670
|
E().tz(h).hour(Number((ae = r.end) == null ? void 0 : ae.hour)).minute(Number((z = r.end) == null ? void 0 : z.minute)).endOf("minutes").toISOString()
|
|
@@ -688,9 +688,9 @@ const sn = async ({
|
|
|
688
688
|
type: n,
|
|
689
689
|
orientationTypes: p,
|
|
690
690
|
isCombinedLocationLayout: f,
|
|
691
|
-
attachFiles:
|
|
691
|
+
attachFiles: S
|
|
692
692
|
};
|
|
693
|
-
await
|
|
693
|
+
await St.fetch({
|
|
694
694
|
fetchType: Oe.Post,
|
|
695
695
|
url: `/${i.value}/reports/email?lang=${xe()}`,
|
|
696
696
|
data: C,
|
|
@@ -698,7 +698,7 @@ const sn = async ({
|
|
|
698
698
|
});
|
|
699
699
|
}, Qn = async (l) => {
|
|
700
700
|
const { businessId: n } = re(ke());
|
|
701
|
-
await
|
|
701
|
+
await St.fetch({
|
|
702
702
|
fetchType: Oe.Post,
|
|
703
703
|
url: `/${n.value}/reports/resend-email?lang=${xe()}`,
|
|
704
704
|
data: { jobId: l },
|
|
@@ -718,7 +718,7 @@ const sn = async ({
|
|
|
718
718
|
data: { email: l }
|
|
719
719
|
});
|
|
720
720
|
}, on = "mf-reportwidget-result-store", un = Ft(on, () => {
|
|
721
|
-
const l = ve({}), n = ve(0), s =
|
|
721
|
+
const l = ve({}), n = ve(0), s = ge(() => n.value === 0);
|
|
722
722
|
function r() {
|
|
723
723
|
n.value += 1;
|
|
724
724
|
}
|
|
@@ -737,7 +737,7 @@ const sn = async ({
|
|
|
737
737
|
function f(v) {
|
|
738
738
|
return v ? l.value[v] ?? [] : [];
|
|
739
739
|
}
|
|
740
|
-
function
|
|
740
|
+
function S() {
|
|
741
741
|
l.value = {};
|
|
742
742
|
}
|
|
743
743
|
return {
|
|
@@ -748,16 +748,16 @@ const sn = async ({
|
|
|
748
748
|
finishWidgetResultLoading: d,
|
|
749
749
|
setWidgetResult: p,
|
|
750
750
|
getWidgetResult: f,
|
|
751
|
-
clearAllWidgetResults:
|
|
751
|
+
clearAllWidgetResults: S
|
|
752
752
|
};
|
|
753
753
|
}), Ut = (l, n = "en") => E().set("hour", l.hour).set("minute", l.minute).locale(n).format("h:mm A"), cn = (l, n) => {
|
|
754
754
|
const s = E().set("hour", l.hour).set("minute", l.minute);
|
|
755
755
|
return E().set("hour", n.hour).set("minute", n.minute) < s ? "+1" : "";
|
|
756
756
|
};
|
|
757
|
-
function
|
|
757
|
+
function jt(l, n) {
|
|
758
758
|
return l.isSystem ? n("reportV5.reportHour.fullDay") : l.name;
|
|
759
759
|
}
|
|
760
|
-
const dn = { class: "px-24 py-16 rounded-lg shadow-light-300" }, mn = { class: "text-fm-color-typo-primary" }, pn = { class: "text-fm-color-typo-secondary" }, fn = { class: "fm-typo-en-body-lg-600 mb-8" }, bn = { class: "flex items-center justify-center w-full" }, hn = { class: "fm-typo-en-body-lg-600 mb-8" }, vn = { class: "flex items-center justify-center" }, yn = { class: "flex flex-row mb-4 px-4 gap-2" },
|
|
760
|
+
const dn = { class: "px-24 py-16 rounded-lg shadow-light-300" }, mn = { class: "text-fm-color-typo-primary" }, pn = { class: "text-fm-color-typo-secondary" }, fn = { class: "fm-typo-en-body-lg-600 mb-8" }, bn = { class: "flex items-center justify-center w-full" }, hn = { class: "fm-typo-en-body-lg-600 mb-8" }, vn = { class: "flex items-center justify-center" }, yn = { class: "flex flex-row mb-4 px-4 gap-2" }, gn = /* @__PURE__ */ yt({
|
|
761
761
|
__name: "TimeRangeSelect",
|
|
762
762
|
props: /* @__PURE__ */ lt({
|
|
763
763
|
defaultDateRange: {
|
|
@@ -800,11 +800,11 @@ const dn = { class: "px-24 py-16 rounded-lg shadow-light-300" }, mn = { class: "
|
|
|
800
800
|
emits: /* @__PURE__ */ lt(["update", "chip-closed"], ["update:timeRange", "update:selectTimeDefault"]),
|
|
801
801
|
setup(l, { emit: n }) {
|
|
802
802
|
const { t: s, locale: r } = Jt(), d = ft(l, "timeRange"), p = n, f = ft(l, "selectTimeDefault");
|
|
803
|
-
function g
|
|
804
|
-
|
|
803
|
+
function S(g) {
|
|
804
|
+
g && (d.value = g, p("update", d.value)), k.value = !1;
|
|
805
805
|
}
|
|
806
|
-
function v(
|
|
807
|
-
const u =
|
|
806
|
+
function v(g) {
|
|
807
|
+
const u = g.split(":"), m = E().set("hour", Number(u[0])).set("minute", Number(u[1]));
|
|
808
808
|
return {
|
|
809
809
|
hours: Number(m.format("h")),
|
|
810
810
|
minutes: Number(m.format("m")),
|
|
@@ -812,51 +812,51 @@ const dn = { class: "px-24 py-16 rounded-lg shadow-light-300" }, mn = { class: "
|
|
|
812
812
|
};
|
|
813
813
|
}
|
|
814
814
|
const i = ve(JSON.parse(JSON.stringify(d.value)));
|
|
815
|
-
function w(
|
|
816
|
-
i.value.start = JSON.parse(JSON.stringify(
|
|
815
|
+
function w(g, u) {
|
|
816
|
+
i.value.start = JSON.parse(JSON.stringify(g)), i.value.end = JSON.parse(JSON.stringify(u));
|
|
817
817
|
}
|
|
818
818
|
Ie(
|
|
819
819
|
() => [d.value, l.defaultDateRange],
|
|
820
820
|
() => {
|
|
821
821
|
if (d.value) {
|
|
822
|
-
const
|
|
822
|
+
const g = l.defaultDateRange.findIndex(
|
|
823
823
|
(u) => {
|
|
824
824
|
var m, h, N, I;
|
|
825
825
|
return u.startTime.hour === ((m = d.value.start) == null ? void 0 : m.hour) && u.startTime.minute === ((h = d.value.start) == null ? void 0 : h.minute) && u.endTime.hour === ((N = d.value.end) == null ? void 0 : N.hour) && u.endTime.minute === ((I = d.value.end) == null ? void 0 : I.minute);
|
|
826
826
|
}
|
|
827
827
|
) + 1;
|
|
828
|
-
|
|
828
|
+
g !== 0 ? f.value = g : f.value = l.defaultDateRange.length + 1;
|
|
829
829
|
}
|
|
830
830
|
},
|
|
831
831
|
{ deep: !0, immediate: !0 }
|
|
832
832
|
);
|
|
833
833
|
const k = ve(!1);
|
|
834
|
-
function te(
|
|
835
|
-
p("chip-closed",
|
|
834
|
+
function te(g) {
|
|
835
|
+
p("chip-closed", g);
|
|
836
836
|
}
|
|
837
|
-
const x =
|
|
837
|
+
const x = ge(() => l.label ? l.label : Qt({
|
|
838
838
|
startTime: d.value.start,
|
|
839
839
|
endTime: d.value.end,
|
|
840
840
|
locale: r.value
|
|
841
841
|
}));
|
|
842
|
-
return (
|
|
842
|
+
return (g, u) => {
|
|
843
843
|
const m = ee("FmChip"), h = ee("FmRadio"), N = ee("FmMenuDivider"), I = ee("FmRadioGroup"), O = ee("FmTimeInput"), L = ee("FmButton"), U = ee("FmPopover");
|
|
844
844
|
return J(), fe("div", null, [
|
|
845
845
|
P(U, {
|
|
846
846
|
"show-popover": k.value,
|
|
847
847
|
placement: "bottom",
|
|
848
|
-
onPopoverChanged: u[6] || (u[6] = (
|
|
848
|
+
onPopoverChanged: u[6] || (u[6] = (j) => k.value = j)
|
|
849
849
|
}, {
|
|
850
850
|
"popover-button": ue(() => [
|
|
851
851
|
P(Kt, {
|
|
852
852
|
"left-icon": l.label ? "filter_alt" : "schedule",
|
|
853
853
|
label: x.value,
|
|
854
854
|
removable: l.removable,
|
|
855
|
-
onChipClosed: u[0] || (u[0] = (
|
|
855
|
+
onChipClosed: u[0] || (u[0] = (j) => te(!0))
|
|
856
856
|
}, null, 8, ["left-icon", "label", "removable"])
|
|
857
857
|
]),
|
|
858
858
|
default: ue(() => {
|
|
859
|
-
var
|
|
859
|
+
var j, le, X, ne;
|
|
860
860
|
return [
|
|
861
861
|
Q("div", dn, [
|
|
862
862
|
P(I, {
|
|
@@ -867,12 +867,12 @@ const dn = { class: "px-24 py-16 rounded-lg shadow-light-300" }, mn = { class: "
|
|
|
867
867
|
(J(!0), fe(Le, null, ht(l.defaultDateRange, (C, _) => (J(), we(h, {
|
|
868
868
|
key: `range_${_}`,
|
|
869
869
|
value: _ + 1,
|
|
870
|
-
label: D(
|
|
870
|
+
label: D(jt)(C, D(s)),
|
|
871
871
|
onClick: (K) => w(C.startTime, C.endTime)
|
|
872
872
|
}, {
|
|
873
873
|
label: ue(() => [
|
|
874
874
|
Q("p", mn, [
|
|
875
|
-
nt(he(D(
|
|
875
|
+
nt(he(D(jt)(C, D(s))) + " ", 1),
|
|
876
876
|
xl(P(m, {
|
|
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",
|
|
@@ -898,7 +898,7 @@ const dn = { class: "px-24 py-16 rounded-lg shadow-light-300" }, mn = { class: "
|
|
|
898
898
|
Q("p", fn, he(D(s)("report.date.startingTime")), 1),
|
|
899
899
|
Q("div", bn, [
|
|
900
900
|
P(O, {
|
|
901
|
-
"model-value": v(`${(
|
|
901
|
+
"model-value": v(`${(j = i.value.start) == null ? void 0 : j.hour}:${(le = i.value.start) == null ? void 0 : le.minute}`),
|
|
902
902
|
"onUpdate:modelValue": u[2] || (u[2] = (C) => {
|
|
903
903
|
if (i.value.start) {
|
|
904
904
|
const _ = D(E)(`${C.hours}:${C.minutes} ${C.period}`, "h:m A").locale(
|
|
@@ -933,7 +933,7 @@ const dn = { class: "px-24 py-16 rounded-lg shadow-light-300" }, mn = { class: "
|
|
|
933
933
|
}, null, 8, ["label"]),
|
|
934
934
|
P(L, {
|
|
935
935
|
label: D(s)("report.common.apply"),
|
|
936
|
-
onClick: u[5] || (u[5] = () =>
|
|
936
|
+
onClick: u[5] || (u[5] = () => S(JSON.parse(JSON.stringify(i.value))))
|
|
937
937
|
}, null, 8, ["label"])
|
|
938
938
|
])
|
|
939
939
|
])
|
|
@@ -969,7 +969,7 @@ const dn = { class: "px-24 py-16 rounded-lg shadow-light-300" }, mn = { class: "
|
|
|
969
969
|
return Ie(s, () => {
|
|
970
970
|
s.value ? document.body.style.overflow = "hidden" : document.body.style.overflow = "scroll";
|
|
971
971
|
}), (p, f) => {
|
|
972
|
-
const
|
|
972
|
+
const S = ee("FmButton"), v = ee("FmDialog");
|
|
973
973
|
return J(), we(v, {
|
|
974
974
|
modelValue: s.value,
|
|
975
975
|
"onUpdate:modelValue": f[2] || (f[2] = (i) => s.value = i),
|
|
@@ -979,16 +979,16 @@ const dn = { class: "px-24 py-16 rounded-lg shadow-light-300" }, mn = { class: "
|
|
|
979
979
|
nt(he(r.title), 1)
|
|
980
980
|
]),
|
|
981
981
|
default: ue(() => [
|
|
982
|
-
|
|
982
|
+
qt(p.$slots, "content")
|
|
983
983
|
]),
|
|
984
984
|
"dialog-footer": ue(() => [
|
|
985
985
|
f[3] || (f[3] = Q("div", { class: "grow" }, null, -1)),
|
|
986
|
-
P(
|
|
986
|
+
P(S, {
|
|
987
987
|
label: r.secondaryButtonLabel,
|
|
988
988
|
variant: "tertiary",
|
|
989
989
|
onClick: f[0] || (f[0] = (i) => s.value = !1)
|
|
990
990
|
}, null, 8, ["label"]),
|
|
991
|
-
P(
|
|
991
|
+
P(S, {
|
|
992
992
|
label: r.primaryButtonLabel,
|
|
993
993
|
variant: "primary",
|
|
994
994
|
onClick: f[1] || (f[1] = (i) => d("confirm"))
|
|
@@ -1000,7 +1000,7 @@ const dn = { class: "px-24 py-16 rounded-lg shadow-light-300" }, mn = { class: "
|
|
|
1000
1000
|
}
|
|
1001
1001
|
});
|
|
1002
1002
|
var $e = /* @__PURE__ */ ((l) => (l.Select = "Select", l.TextField = "TextField", l.Timestamp = "Timestamp", l))($e || {});
|
|
1003
|
-
function
|
|
1003
|
+
function Sn(l) {
|
|
1004
1004
|
let n = !1, s = 1;
|
|
1005
1005
|
switch (l) {
|
|
1006
1006
|
case W.Equal:
|
|
@@ -1030,7 +1030,7 @@ function Hn({
|
|
|
1030
1030
|
dataType: s,
|
|
1031
1031
|
t: r
|
|
1032
1032
|
}) {
|
|
1033
|
-
const { fixed: d, count: p } =
|
|
1033
|
+
const { fixed: d, count: p } = Sn(l);
|
|
1034
1034
|
switch (s) {
|
|
1035
1035
|
case be.String:
|
|
1036
1036
|
return {
|
|
@@ -1198,22 +1198,22 @@ const Fn = { class: "flex flex-row flex-wrap gap-2" }, wn = { class: "inline-fle
|
|
|
1198
1198
|
},
|
|
1199
1199
|
setup(l) {
|
|
1200
1200
|
const n = l, { t: s, locale: r } = Jt(), { currentReport: d, editingTile: p } = re(Pe());
|
|
1201
|
-
let { timeRange: f, dateRange:
|
|
1201
|
+
let { timeRange: f, dateRange: S, selectedLocationIds: v, timezone: i } = re(Me()), { globalFilters: w } = re(Ge()), { schemas: k } = re(Wl()), {
|
|
1202
1202
|
showMore: te,
|
|
1203
1203
|
getGlobalFilter: x,
|
|
1204
|
-
setGlobalFilter:
|
|
1204
|
+
setGlobalFilter: g,
|
|
1205
1205
|
setIncludeUnavailable: u,
|
|
1206
1206
|
getGlobalFilterKey: m,
|
|
1207
1207
|
isMenuOpen: h,
|
|
1208
1208
|
getGlobalFilterLabel: N,
|
|
1209
1209
|
incrementAppliedTilesFiltersVersion: I
|
|
1210
1210
|
} = Ge();
|
|
1211
|
-
const O =
|
|
1211
|
+
const O = ge(() => s("report.input.empty")), L = ["NULL", "", " "];
|
|
1212
1212
|
let U;
|
|
1213
|
-
const
|
|
1213
|
+
const j = un(), { getWidgetResult: le } = j, { widgetResults: X, isAllWidgetResultLoaded: ne } = re(j), C = ve(!1), _ = ve(!1), K = ve(""), Y = ve({}), H = ge(() => {
|
|
1214
1214
|
var e;
|
|
1215
1215
|
return n.globalFilterId ?? ((e = d.value) == null ? void 0 : e.id) ?? "";
|
|
1216
|
-
}), ae =
|
|
1216
|
+
}), ae = ge(() => n.report ?? d.value), z = ve([]);
|
|
1217
1217
|
function R(e) {
|
|
1218
1218
|
return `${H.value}|instance:${e}`;
|
|
1219
1219
|
}
|
|
@@ -1223,18 +1223,18 @@ const Fn = { class: "flex flex-row flex-wrap gap-2" }, wn = { class: "inline-fle
|
|
|
1223
1223
|
function me(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);
|
|
1225
1225
|
}
|
|
1226
|
-
function
|
|
1226
|
+
function Se(e, t) {
|
|
1227
1227
|
var o, a, b, T, y, A, M, $;
|
|
1228
1228
|
return ((o = e == null ? void 0 : e.start) == null ? void 0 : o.hour) === ((a = t == null ? void 0 : t.start) == null ? void 0 : a.hour) && ((b = e == null ? void 0 : e.start) == null ? void 0 : b.minute) === ((T = t == null ? void 0 : t.start) == null ? void 0 : T.minute) && ((y = e == null ? void 0 : e.end) == null ? void 0 : y.hour) === ((A = t == null ? void 0 : t.end) == null ? void 0 : A.hour) && ((M = e == null ? void 0 : e.end) == null ? void 0 : M.minute) === (($ = t == null ? void 0 : t.end) == null ? void 0 : $.minute);
|
|
1229
1229
|
}
|
|
1230
1230
|
function ye(e, t) {
|
|
1231
1231
|
return !e || !t ? e === t : e.length === t.length && e.every((o, a) => o === t[a]);
|
|
1232
1232
|
}
|
|
1233
|
-
const ce =
|
|
1233
|
+
const ce = ge(() => {
|
|
1234
1234
|
if (!(n.isDialogGlobalFilter || !!p.value))
|
|
1235
1235
|
return !1;
|
|
1236
|
-
const t = n.dateRange ??
|
|
1237
|
-
return me(t,
|
|
1236
|
+
const t = n.dateRange ?? S.value, o = n.timeRange ?? f.value, a = n.locationIds ?? v.value;
|
|
1237
|
+
return me(t, S.value) && Se(o, f.value) && ye(a, v.value);
|
|
1238
1238
|
});
|
|
1239
1239
|
function ie(e) {
|
|
1240
1240
|
return e ? [...e.tileIds ?? []] : Array.from(new Set(He.value.flatMap((t) => t.tileIds ?? [])));
|
|
@@ -1261,11 +1261,11 @@ const Fn = { class: "flex flex-row flex-wrap gap-2" }, wn = { class: "inline-fle
|
|
|
1261
1261
|
return t != null && t.length ? t : e.selectedValues || [];
|
|
1262
1262
|
}
|
|
1263
1263
|
function at(e) {
|
|
1264
|
-
e.selectedValues = [], e.globalFilter.values = [],
|
|
1264
|
+
e.selectedValues = [], e.globalFilter.values = [], g(e.globalFilter, R(e.id), { selectedValues: [] });
|
|
1265
1265
|
}
|
|
1266
1266
|
function st(e) {
|
|
1267
1267
|
const t = Je(e);
|
|
1268
|
-
e.selectedValues = [...t], e.globalFilter.values = ul(e),
|
|
1268
|
+
e.selectedValues = [...t], e.globalFilter.values = ul(e), g(e.globalFilter, R(e.id), {
|
|
1269
1269
|
selectedValues: t
|
|
1270
1270
|
});
|
|
1271
1271
|
}
|
|
@@ -1281,7 +1281,7 @@ const Fn = { class: "flex flex-row flex-wrap gap-2" }, wn = { class: "inline-fle
|
|
|
1281
1281
|
}
|
|
1282
1282
|
function al() {
|
|
1283
1283
|
var a, b, T, y;
|
|
1284
|
-
const e =
|
|
1284
|
+
const e = S.value, t = f.value, o = v.value || [];
|
|
1285
1285
|
return JSON.stringify({
|
|
1286
1286
|
globalFilterId: H.value,
|
|
1287
1287
|
startDate: (e == null ? void 0 : e.startDate) ?? null,
|
|
@@ -1428,7 +1428,7 @@ const Fn = { class: "flex flex-row flex-wrap gap-2" }, wn = { class: "inline-fle
|
|
|
1428
1428
|
Dt(o);
|
|
1429
1429
|
}), K.value = e;
|
|
1430
1430
|
}
|
|
1431
|
-
const He =
|
|
1431
|
+
const He = ge(() => n.globalFilters ?? w.value);
|
|
1432
1432
|
function ml(e) {
|
|
1433
1433
|
return {
|
|
1434
1434
|
schemaName: e.schemaName,
|
|
@@ -1464,9 +1464,9 @@ const Fn = { class: "flex flex-row flex-wrap gap-2" }, wn = { class: "inline-fle
|
|
|
1464
1464
|
(e, t) => fl(e, t)
|
|
1465
1465
|
);
|
|
1466
1466
|
}
|
|
1467
|
-
const hl =
|
|
1467
|
+
const hl = ge(
|
|
1468
1468
|
() => JSON.stringify(pl(He.value))
|
|
1469
|
-
), vl =
|
|
1469
|
+
), vl = ge(() => {
|
|
1470
1470
|
const e = He.value.map(
|
|
1471
1471
|
(t) => Mt(t, It())
|
|
1472
1472
|
);
|
|
@@ -1492,7 +1492,7 @@ const Fn = { class: "flex flex-row flex-wrap gap-2" }, wn = { class: "inline-fle
|
|
|
1492
1492
|
[
|
|
1493
1493
|
ne,
|
|
1494
1494
|
f,
|
|
1495
|
-
|
|
1495
|
+
S,
|
|
1496
1496
|
v,
|
|
1497
1497
|
() => n.timeRange,
|
|
1498
1498
|
() => n.dateRange,
|
|
@@ -1543,7 +1543,7 @@ const Fn = { class: "flex flex-row flex-wrap gap-2" }, wn = { class: "inline-fle
|
|
|
1543
1543
|
const t = (o = k.value.find((a) => a.name === e.schemaName)) == null ? void 0 : o.fields.find((a) => a.name === e.name);
|
|
1544
1544
|
return t == null ? void 0 : t.type;
|
|
1545
1545
|
}
|
|
1546
|
-
function
|
|
1546
|
+
function gl(e) {
|
|
1547
1547
|
var A, M;
|
|
1548
1548
|
if (!ae.value && !p.value) return [];
|
|
1549
1549
|
if (!((A = e.tileIds) != null && A.length)) return [];
|
|
@@ -1553,22 +1553,22 @@ const Fn = { class: "flex flex-row flex-wrap gap-2" }, wn = { class: "inline-fle
|
|
|
1553
1553
|
if (!G || (F = e.tileIds) != null && F.length && !e.tileIds.includes($.id)) return !1;
|
|
1554
1554
|
const c = (G.dimensions ?? []).some(
|
|
1555
1555
|
(_e) => _e.schemaName === a && _e.name === o
|
|
1556
|
-
),
|
|
1556
|
+
), q = (G.joinDatasources ?? []).some(
|
|
1557
1557
|
(_e) => (_e.dimensions ?? []).some((ze) => ze.schemaName === a && ze.name === o)
|
|
1558
1558
|
), V = (G.schemaNames ?? []).includes(a);
|
|
1559
|
-
return c ||
|
|
1559
|
+
return c || q || V;
|
|
1560
1560
|
});
|
|
1561
1561
|
if (!b.length) return [];
|
|
1562
1562
|
const T = ($, G) => {
|
|
1563
|
-
const c = /* @__PURE__ */ new Map(),
|
|
1563
|
+
const c = /* @__PURE__ */ new Map(), q = (V) => {
|
|
1564
1564
|
const de = `${V.schemaName}:${V.name}:${V.operator}:${V.option ?? ""}:${V.dataFormula ?? ""}`, F = c.get(de);
|
|
1565
1565
|
F ? [W.Like, W.NotLike].includes(V.operator) ? F.values = Array.from(/* @__PURE__ */ new Set([...F.values ?? [], ...V.values ?? []])) : c.set(de, { ...V }) : c.set(de, { ...V });
|
|
1566
1566
|
};
|
|
1567
|
-
return $.forEach(
|
|
1567
|
+
return $.forEach(q), G.forEach(q), Array.from(c.values());
|
|
1568
1568
|
}, y = ($) => {
|
|
1569
1569
|
var c;
|
|
1570
1570
|
const G = (c = $.dimensions) == null ? void 0 : c.find(
|
|
1571
|
-
(
|
|
1571
|
+
(q) => q.schemaName === a && q.name === o
|
|
1572
1572
|
);
|
|
1573
1573
|
return {
|
|
1574
1574
|
name: o,
|
|
@@ -1583,7 +1583,7 @@ const Fn = { class: "flex flex-row flex-wrap gap-2" }, wn = { class: "inline-fle
|
|
|
1583
1583
|
var ze, Gt;
|
|
1584
1584
|
const c = (ze = G == null ? void 0 : G.widget) == null ? void 0 : ze.config;
|
|
1585
1585
|
if (!c) return $;
|
|
1586
|
-
const
|
|
1586
|
+
const q = y(c), V = (c.dimensions ?? []).some((Ne) => Ne.schemaName === a) || (c.schemaNames ?? []).includes(a), de = T(
|
|
1587
1587
|
c.filters ?? [],
|
|
1588
1588
|
(e.filters ?? []).filter((Ne) => {
|
|
1589
1589
|
var Re;
|
|
@@ -1604,13 +1604,13 @@ const Fn = { class: "flex flex-row flex-wrap gap-2" }, wn = { class: "inline-fle
|
|
|
1604
1604
|
config: {
|
|
1605
1605
|
schemaNames: c.schemaNames,
|
|
1606
1606
|
schemas: c.schemas,
|
|
1607
|
-
dimensions: V ? [
|
|
1607
|
+
dimensions: V ? [q] : [],
|
|
1608
1608
|
filters: de,
|
|
1609
1609
|
sorts: V ? [{ name: o, schemaName: a, type: Bt.Asc, aggregation: null, dimensionOption: null }] : [],
|
|
1610
1610
|
joinDatasources: !V && F ? [
|
|
1611
1611
|
{
|
|
1612
1612
|
...F,
|
|
1613
|
-
dimensions: [
|
|
1613
|
+
dimensions: [q],
|
|
1614
1614
|
sorts: [
|
|
1615
1615
|
{
|
|
1616
1616
|
name: o,
|
|
@@ -1644,13 +1644,13 @@ const Fn = { class: "flex flex-row flex-wrap gap-2" }, wn = { class: "inline-fle
|
|
|
1644
1644
|
const t = new Set(Ee(e));
|
|
1645
1645
|
return e.options.every((o) => t.has(o.value));
|
|
1646
1646
|
}
|
|
1647
|
-
function
|
|
1647
|
+
function Sl(e) {
|
|
1648
1648
|
kt(e) ? e.selectedValues = [Fe] : e.selectedValues = [];
|
|
1649
1649
|
}
|
|
1650
1650
|
function Ot(e, t) {
|
|
1651
1651
|
return Ee(e).includes(t);
|
|
1652
1652
|
}
|
|
1653
|
-
const _t =
|
|
1653
|
+
const _t = ge(
|
|
1654
1654
|
() => z.value.map((e) => {
|
|
1655
1655
|
const t = e.options, o = e.search.toLowerCase() ?? "";
|
|
1656
1656
|
return t.filter(
|
|
@@ -1662,7 +1662,7 @@ const Fn = { class: "flex flex-row flex-wrap gap-2" }, wn = { class: "inline-fle
|
|
|
1662
1662
|
e.visibleCount += 50, te(e.globalFilter, R(e.id), 50);
|
|
1663
1663
|
}
|
|
1664
1664
|
function wl(e, t) {
|
|
1665
|
-
|
|
1665
|
+
g(e.globalFilter, R(e.id), { search: t });
|
|
1666
1666
|
}
|
|
1667
1667
|
function Be(e) {
|
|
1668
1668
|
var t, o;
|
|
@@ -1721,7 +1721,7 @@ const Fn = { class: "flex flex-row flex-wrap gap-2" }, wn = { class: "inline-fle
|
|
|
1721
1721
|
e.selectedValues = b;
|
|
1722
1722
|
}
|
|
1723
1723
|
const t = Je(e);
|
|
1724
|
-
e.selectedValues = [...t],
|
|
1724
|
+
e.selectedValues = [...t], g(e.globalFilter, R(e.id), {
|
|
1725
1725
|
selectedValues: t
|
|
1726
1726
|
});
|
|
1727
1727
|
}
|
|
@@ -1739,7 +1739,7 @@ const Fn = { class: "flex flex-row flex-wrap gap-2" }, wn = { class: "inline-fle
|
|
|
1739
1739
|
switch (e.type) {
|
|
1740
1740
|
case be.String:
|
|
1741
1741
|
try {
|
|
1742
|
-
const a =
|
|
1742
|
+
const a = gl(e.globalFilter);
|
|
1743
1743
|
if (!a.length) {
|
|
1744
1744
|
e.options = [];
|
|
1745
1745
|
return;
|
|
@@ -1762,10 +1762,10 @@ const Fn = { class: "flex flex-row flex-wrap gap-2" }, wn = { class: "inline-fle
|
|
|
1762
1762
|
}));
|
|
1763
1763
|
continue;
|
|
1764
1764
|
}
|
|
1765
|
-
const
|
|
1765
|
+
const q = le(
|
|
1766
1766
|
Mt(e.globalFilter, It())
|
|
1767
1767
|
);
|
|
1768
|
-
T.push(...
|
|
1768
|
+
T.push(...q);
|
|
1769
1769
|
}
|
|
1770
1770
|
const y = Array.from(new Set(T)), A = Te(e), M = e.keepSelection ? Array.from(/* @__PURE__ */ new Set([...y, ...A])) : y, $ = new Set(T), G = new Set(y);
|
|
1771
1771
|
e.options = rt(
|
|
@@ -1824,7 +1824,7 @@ const Fn = { class: "flex flex-row flex-wrap gap-2" }, wn = { class: "inline-fle
|
|
|
1824
1824
|
e.selectedValues = A ? [] : y;
|
|
1825
1825
|
}
|
|
1826
1826
|
const T = Je(e);
|
|
1827
|
-
e.selectedValues = [...T],
|
|
1827
|
+
e.selectedValues = [...T], g(e.globalFilter, R(e.id), {
|
|
1828
1828
|
selectedValues: T
|
|
1829
1829
|
});
|
|
1830
1830
|
}
|
|
@@ -1833,7 +1833,7 @@ const Fn = { class: "flex flex-row flex-wrap gap-2" }, wn = { class: "inline-fle
|
|
|
1833
1833
|
Bl(Lt(t.startDate, i.value), i.value),
|
|
1834
1834
|
zl(Lt(t.endDate, i.value), i.value)
|
|
1835
1835
|
] : [];
|
|
1836
|
-
t === null ? o.values = [] : o.values = a, e.selectedValues = [...a], e.keepSelection = t !== null,
|
|
1836
|
+
t === null ? o.values = [] : o.values = a, e.selectedValues = [...a], e.keepSelection = t !== null, g(e.globalFilter, R(e.id), {
|
|
1837
1837
|
keepSelection: e.keepSelection,
|
|
1838
1838
|
selectedValues: [...a]
|
|
1839
1839
|
}), se(e.globalFilter);
|
|
@@ -1857,7 +1857,7 @@ const Fn = { class: "flex flex-row flex-wrap gap-2" }, wn = { class: "inline-fle
|
|
|
1857
1857
|
timezone: i.value
|
|
1858
1858
|
})}` : t, suffix: "" };
|
|
1859
1859
|
if (e.globalFilter.option === B.TimeOfDay) {
|
|
1860
|
-
const M = y[0] ? E(y[0]).tz(i.value) : null, $ = y[1] ? E(y[1]).tz(i.value) : null, G = (
|
|
1860
|
+
const M = y[0] ? E(y[0]).tz(i.value) : null, $ = y[1] ? E(y[1]).tz(i.value) : null, G = (q) => q && q.isValid() ? { hour: q.hour(), minute: q.minute() } : null;
|
|
1861
1861
|
return { preview: A ? `${t} is between ${Qt({
|
|
1862
1862
|
startTime: G(M),
|
|
1863
1863
|
endTime: G($),
|
|
@@ -1868,9 +1868,9 @@ const Fn = { class: "flex flex-row flex-wrap gap-2" }, wn = { class: "inline-fle
|
|
|
1868
1868
|
const M = pt({
|
|
1869
1869
|
dimensionOption: e.globalFilter.option,
|
|
1870
1870
|
t: s
|
|
1871
|
-
}), $ = new Map(M.map((V) => [String(V.value), V.label])), c = Ee(e).map((V) => $.get(String(V)) ?? String(V)),
|
|
1871
|
+
}), $ = new Map(M.map((V) => [String(V.value), V.label])), c = Ee(e).map((V) => $.get(String(V)) ?? String(V)), q = c.map((V) => V.length > 20 ? `${V.slice(0, 20)}…` : V).join(", ");
|
|
1872
1872
|
return c.length ? {
|
|
1873
|
-
preview: `${t}: ${
|
|
1873
|
+
preview: `${t}: ${q}`,
|
|
1874
1874
|
suffix: `(${c.length} selected)`
|
|
1875
1875
|
} : { preview: t, suffix: o };
|
|
1876
1876
|
}
|
|
@@ -1889,17 +1889,17 @@ const Fn = { class: "flex flex-row flex-wrap gap-2" }, wn = { class: "inline-fle
|
|
|
1889
1889
|
e.globalFilter,
|
|
1890
1890
|
R(e.id)
|
|
1891
1891
|
).selectedValues;
|
|
1892
|
-
e.selectedValues = t.length ? [...t] : [...e.globalFilter.values || []],
|
|
1892
|
+
e.selectedValues = t.length ? [...t] : [...e.globalFilter.values || []], g(e.globalFilter, R(e.id), {
|
|
1893
1893
|
selectedValues: e.selectedValues
|
|
1894
1894
|
}), document.body.click();
|
|
1895
1895
|
}
|
|
1896
1896
|
function Rl(e) {
|
|
1897
|
-
e.showAdvanced = !e.showAdvanced,
|
|
1897
|
+
e.showAdvanced = !e.showAdvanced, g(e.globalFilter, R(e.id), {
|
|
1898
1898
|
showAdvanced: e.showAdvanced
|
|
1899
1899
|
});
|
|
1900
1900
|
}
|
|
1901
1901
|
function Il(e) {
|
|
1902
|
-
e.keepSelection = !e.keepSelection, u(e.keepSelection),
|
|
1902
|
+
e.keepSelection = !e.keepSelection, u(e.keepSelection), g(e.globalFilter, R(e.id), {
|
|
1903
1903
|
keepSelection: e.keepSelection
|
|
1904
1904
|
}), Vl(e);
|
|
1905
1905
|
}
|
|
@@ -1916,7 +1916,7 @@ const Fn = { class: "flex flex-row flex-wrap gap-2" }, wn = { class: "inline-fle
|
|
|
1916
1916
|
const M = E().tz(i.value).set("hour", Number((b = t.start) == null ? void 0 : b.hour)).set("minute", Number((T = t.start) == null ? void 0 : T.minute)).toISOString(), $ = E().tz(i.value).set("hour", Number((y = t.end) == null ? void 0 : y.hour)).set("minute", Number((A = t.end) == null ? void 0 : A.minute)).toISOString();
|
|
1917
1917
|
a = [M, $], o.values = a;
|
|
1918
1918
|
}
|
|
1919
|
-
e.selectedValues = [...a], e.keepSelection = t !== null,
|
|
1919
|
+
e.selectedValues = [...a], e.keepSelection = t !== null, g(e.globalFilter, R(e.id), {
|
|
1920
1920
|
keepSelection: e.keepSelection,
|
|
1921
1921
|
selectedValues: [...a]
|
|
1922
1922
|
}), se(e.globalFilter);
|
|
@@ -1924,7 +1924,7 @@ const Fn = { class: "flex flex-row flex-wrap gap-2" }, wn = { class: "inline-fle
|
|
|
1924
1924
|
return (e, t) => {
|
|
1925
1925
|
const o = ee("FmCircularProgress"), a = ee("FmTextField"), b = ee("FmMenuItem"), T = ee("FmTooltip"), y = ee("FmIcon"), A = ee("FmMenuDivider"), M = ee("FmSwitch"), $ = ee("FmButton"), G = ee("FmMenu");
|
|
1926
1926
|
return J(), fe("div", Fn, [
|
|
1927
|
-
(J(!0), fe(Le, null, ht(z.value, (c,
|
|
1927
|
+
(J(!0), fe(Le, null, ht(z.value, (c, q) => (J(), fe("div", {
|
|
1928
1928
|
key: c.id
|
|
1929
1929
|
}, [
|
|
1930
1930
|
c.globalFilter.option === D(B).DateTime && !Be(c.globalFilter) ? (J(), we(El, {
|
|
@@ -1938,7 +1938,7 @@ const Fn = { class: "flex flex-row flex-wrap gap-2" }, wn = { class: "inline-fle
|
|
|
1938
1938
|
removable: pe(c).length === 2,
|
|
1939
1939
|
onUpdate: (V) => xt(c, V),
|
|
1940
1940
|
onChipClosed: () => xt(c, null)
|
|
1941
|
-
}, null, 8, ["date-range", "label", "removable", "onUpdate", "onChipClosed"])) : c.globalFilter.option === D(B).TimeOfDay && !Be(c.globalFilter) ? (J(), we(
|
|
1941
|
+
}, null, 8, ["date-range", "label", "removable", "onUpdate", "onChipClosed"])) : c.globalFilter.option === D(B).TimeOfDay && !Be(c.globalFilter) ? (J(), we(gn, {
|
|
1942
1942
|
key: 1,
|
|
1943
1943
|
"time-range": {
|
|
1944
1944
|
start: pe(c)[0] ? {
|
|
@@ -2002,9 +2002,9 @@ const Fn = { class: "flex flex-row flex-wrap gap-2" }, wn = { class: "inline-fle
|
|
|
2002
2002
|
"has-checkbox": !0,
|
|
2003
2003
|
"model-value": kt(c),
|
|
2004
2004
|
indeterminate: !0,
|
|
2005
|
-
onClick: (F) =>
|
|
2005
|
+
onClick: (F) => Sl(c)
|
|
2006
2006
|
}, null, 8, ["label", "model-value", "onClick"]),
|
|
2007
|
-
(J(!0), fe(Le, null, ht(_t.value[
|
|
2007
|
+
(J(!0), fe(Le, null, ht(_t.value[q], (F) => (J(), fe(Le, {
|
|
2008
2008
|
key: F.value
|
|
2009
2009
|
}, [
|
|
2010
2010
|
F.label && F.label.length > 110 ? (J(), we(T, {
|
|
@@ -2040,7 +2040,7 @@ const Fn = { class: "flex flex-row flex-wrap gap-2" }, wn = { class: "inline-fle
|
|
|
2040
2040
|
onClick: () => $t(c, F.value)
|
|
2041
2041
|
}, null, 8, ["label", "model-value", "class", "onClick"]))
|
|
2042
2042
|
], 64))), 128)),
|
|
2043
|
-
_t.value[
|
|
2043
|
+
_t.value[q].length < c.options.length && !c.search ? (J(), we(b, {
|
|
2044
2044
|
key: 0,
|
|
2045
2045
|
class: "fm-typo-en-body-md-400 -ml-2",
|
|
2046
2046
|
label: D(s)("report.section.filter.loadMore"),
|
|
@@ -2101,7 +2101,7 @@ const Fn = { class: "flex flex-row flex-wrap gap-2" }, wn = { class: "inline-fle
|
|
|
2101
2101
|
label: D(s)("report.common.apply")
|
|
2102
2102
|
}, null, 8, ["onClick", "label"])
|
|
2103
2103
|
])
|
|
2104
|
-
], 64)) : (J(), we(
|
|
2104
|
+
], 64)) : (J(), we(jl, {
|
|
2105
2105
|
key: 2,
|
|
2106
2106
|
title: ct(c) ? D(s)("report.messages.noWidgetsApplied") : void 0,
|
|
2107
2107
|
"sub-title": ct(c) ? D(s)("report.messages.assignWidgetsToUseThisFilter") : void 0
|
|
@@ -2111,7 +2111,7 @@ const Fn = { class: "flex flex-row flex-wrap gap-2" }, wn = { class: "inline-fle
|
|
|
2111
2111
|
_: 2
|
|
2112
2112
|
}, 1032, ["open"]))
|
|
2113
2113
|
]))), 128)),
|
|
2114
|
-
|
|
2114
|
+
qt(e.$slots, "default")
|
|
2115
2115
|
]);
|
|
2116
2116
|
};
|
|
2117
2117
|
}
|
|
@@ -2124,16 +2124,16 @@ export {
|
|
|
2124
2124
|
Zn as b,
|
|
2125
2125
|
Xn as c,
|
|
2126
2126
|
Un as d,
|
|
2127
|
-
|
|
2128
|
-
|
|
2127
|
+
jt as e,
|
|
2128
|
+
gn as f,
|
|
2129
2129
|
Hn as g,
|
|
2130
2130
|
Kl as h,
|
|
2131
|
-
|
|
2131
|
+
jn as i,
|
|
2132
2132
|
un as j,
|
|
2133
2133
|
Hl as k,
|
|
2134
2134
|
Jn as l,
|
|
2135
2135
|
Kn as m,
|
|
2136
|
-
|
|
2136
|
+
qn as n,
|
|
2137
2137
|
rn as q,
|
|
2138
2138
|
Qn as r,
|
|
2139
2139
|
cn as s,
|