@feedmepos/mf-report 5.33.1 → 5.33.2
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-UhJDa13j.js → App-Bt0JnxKU.js} +4 -4
- package/dist/{DateRangeSelect-B4-MgrD0.js → DateRangeSelect-DV8-mG6R.js} +1 -1
- package/dist/{Default.vue_vue_type_script_setup_true_lang-GGtPfxs3.js → Default.vue_vue_type_script_setup_true_lang-D7oPGH9b.js} +1 -1
- package/dist/{DigestListView-BHz0b0o8.js → DigestListView-BvvcErG0.js} +3 -3
- package/dist/{DigestReaderView-j7SHeieI.js → DigestReaderView-BJyrbFOf.js} +4 -4
- package/dist/{DynamicWidget.vue_vue_type_script_setup_true_lang-CSQxSBH6.js → DynamicWidget.vue_vue_type_script_setup_true_lang-DgnLcmBN.js} +6 -6
- package/dist/{GlobalFilterSelect.vue_vue_type_script_setup_true_lang-CsX4EOdl.js → GlobalFilterSelect.vue_vue_type_script_setup_true_lang-BC5Ngfdx.js} +281 -277
- package/dist/{InsightView-BPaOKk4B.js → InsightView-DaDMVaSe.js} +5 -5
- package/dist/{Integration-Bm8wMPWD.js → Integration-n7lomXSq.js} +3 -3
- package/dist/{Integrations-CyLLU8W8.js → Integrations-CIu3fN_0.js} +2 -2
- package/dist/{Layout-B0PqazFQ.js → Layout-BOZibC0w.js} +1 -1
- package/dist/{LocationSelect.vue_vue_type_script_setup_true_lang-h1xIY9i5.js → LocationSelect.vue_vue_type_script_setup_true_lang-Cx2H3p4z.js} +2 -2
- package/dist/{MenuTab.vue_vue_type_script_setup_true_lang-gm7J8atP.js → MenuTab.vue_vue_type_script_setup_true_lang-BOf6udi4.js} +5 -5
- package/dist/{NavigationTab.vue_vue_type_script_setup_true_lang-SuWL1ncK.js → NavigationTab.vue_vue_type_script_setup_true_lang-6Ncw54c-.js} +5 -5
- package/dist/{OverviewView-qKzND69V.js → OverviewView-CqRNFYEM.js} +5 -5
- package/dist/{Report-Ct4JeUQk.js → Report-BHJdOKaa.js} +3 -3
- package/dist/{ReportCanvasView-ClGwud-9.js → ReportCanvasView-B9fzdqfn.js} +5 -5
- package/dist/{ReportEditor-B3tGyl-5.js → ReportEditor-BJy8q-wv.js} +724 -728
- package/dist/{ReportView-C-cmm-Fd.js → ReportView-CG8TEAS3.js} +6 -6
- package/dist/{ReportViewRoute-DnNFoHOw.js → ReportViewRoute-79AUeUY0.js} +2 -2
- package/dist/{Setting-CASVb8Rm.js → Setting-BCzoI1h5.js} +3 -3
- package/dist/{Template-BBUxUTFy.js → Template-D8ehIfYt.js} +3 -3
- package/dist/{TileEditor-De_F-7ds.js → TileEditor-BrUKQPhm.js} +6 -6
- package/dist/{TilePageStack.vue_vue_type_script_setup_true_lang-CdoiMoTQ.js → TilePageStack.vue_vue_type_script_setup_true_lang-Bhg8iu7W.js} +2 -2
- package/dist/{TransitionFade-TTr9MyTn.js → TransitionFade-CFlmelaO.js} +5 -5
- package/dist/{app-hV8LtdmM.js → app-BEXrO9sy.js} +14 -14
- package/dist/app.js +1 -1
- package/dist/{currency-NkW-Vt9H.js → currency-CbCdMoTW.js} +1 -1
- package/dist/{index-DT7UhcKk.js → index-CAiZ9tzQ.js} +1 -1
- package/dist/{report-Dxk_LHB_.js → report-CoSXTUpi.js} +1 -1
- package/dist/{useDigestFont-lRnNGFKY.js → useDigestFont-DdSYKfvI.js} +1 -1
- package/dist/{useReportCanvasPanel-DEo12E93.js → useReportCanvasPanel-vau_DTdo.js} +3 -3
- package/dist/{useRestaurantPermission-B22jfD3v.js → useRestaurantPermission-B8W8_pcf.js} +1 -1
- package/package.json +1 -1
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
import { ref as ye, computed as Se, defineComponent as yt, mergeModels as
|
|
2
|
-
import { c as
|
|
3
|
-
import { e as gt } from "./index-
|
|
4
|
-
import { d as E, u as ke, c as je, a as Pe, F as Oe, ah as St, w as $e, h as
|
|
5
|
-
import { b as B, C as j, Q as
|
|
1
|
+
import { ref as ye, computed as Se, defineComponent as yt, mergeModels as st, useModel as ft, watch as Ae, resolveComponent as te, createElementBlock as he, openBlock as X, createVNode as M, withCtx as ie, createElementVNode as Y, createCommentVNode as ht, Fragment as Le, renderList as bt, createBlock as De, unref as D, createTextVNode as rt, withDirectives as $l, toDisplayString as ve, vShow as Gl, renderSlot as Qt, normalizeStyle as El, normalizeClass as Lt, withModifiers as dt } from "vue";
|
|
2
|
+
import { c as Kt, _ as Jt, D as Ll, e as Pl } from "./DateRangeSelect-DV8-mG6R.js";
|
|
3
|
+
import { e as gt } from "./index-CAiZ9tzQ.js";
|
|
4
|
+
import { d as E, u as ke, c as je, a as Pe, F as Oe, ah as St, w as $e, h as Ml, j as Bl, z as zl, i as ql, t as Pt } from "./app-BEXrO9sy.js";
|
|
5
|
+
import { b as B, C as j, Q as at, u as Me, o as Ge, p as Ue, D as be, a as Wl, x as Mt, W as Bt, A as Ul, S as zt } from "./report-CoSXTUpi.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
|
|
9
|
-
import { _ as
|
|
10
|
-
var
|
|
11
|
-
const
|
|
12
|
-
function
|
|
8
|
+
import { u as Yt } from "./_plugin-vue_export-helper-C6QDExPN.js";
|
|
9
|
+
import { _ as jl } from "./SelectComponent.vue_vue_type_script_setup_true_lang-DW7Dk7iQ.js";
|
|
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-DvK7K5ca.js", mt = /* @__PURE__ */ new Map();
|
|
12
|
+
function qt(l) {
|
|
13
13
|
return new Worker(l, { type: "module" });
|
|
14
14
|
}
|
|
15
|
-
async function
|
|
15
|
+
async function Kl(l) {
|
|
16
16
|
if (mt.has(l))
|
|
17
|
-
return
|
|
17
|
+
return qt(mt.get(l));
|
|
18
18
|
let n = l;
|
|
19
19
|
if (location.hostname !== new URL(import.meta.url).hostname) {
|
|
20
20
|
const d = new URL(l.replace(/^\//, ""), import.meta.url).href, p = await fetch(d).then((F) => F.text()), f = new Blob([p], { type: "application/javascript" });
|
|
21
21
|
n = URL.createObjectURL(f);
|
|
22
22
|
}
|
|
23
|
-
const r =
|
|
23
|
+
const r = qt(n);
|
|
24
24
|
return mt.set(l, n), r;
|
|
25
25
|
}
|
|
26
|
-
async function
|
|
27
|
-
const s = await
|
|
26
|
+
async function Jl(l, n) {
|
|
27
|
+
const s = await Kl(l);
|
|
28
28
|
return s.postMessage(n), await new Promise((r) => {
|
|
29
29
|
s.onmessage = async (d) => {
|
|
30
30
|
const p = d.data;
|
|
@@ -32,7 +32,7 @@ async function Kl(l, n) {
|
|
|
32
32
|
};
|
|
33
33
|
});
|
|
34
34
|
}
|
|
35
|
-
const
|
|
35
|
+
const Yl = "mf-reportreport-sort-store", Zt = Ft(Yl, () => {
|
|
36
36
|
const l = ye([]);
|
|
37
37
|
function n(d, p) {
|
|
38
38
|
if (d == null) return;
|
|
@@ -47,7 +47,7 @@ const Jl = "mf-reportreport-sort-store", Ht = Ft(Jl, () => {
|
|
|
47
47
|
typeof d == "number" ? l.value = l.value.filter((p) => p.tileIndex !== d) : l.value = [];
|
|
48
48
|
}
|
|
49
49
|
return { tileSort: l, setTileSorts: n, getTileSorts: s, clearTileSorts: r };
|
|
50
|
-
}),
|
|
50
|
+
}), Hl = "mf-reportreport-search-store", Zl = Ft(Hl, () => {
|
|
51
51
|
const l = ye({});
|
|
52
52
|
function n(r, d) {
|
|
53
53
|
r != null && (d ? l.value[r] = d : delete l.value[r]);
|
|
@@ -57,11 +57,11 @@ const Jl = "mf-reportreport-sort-store", Ht = Ft(Jl, () => {
|
|
|
57
57
|
return l.value[r] || void 0;
|
|
58
58
|
}
|
|
59
59
|
return { tileSearch: l, setTileSearch: n, getTileSearch: s };
|
|
60
|
-
}),
|
|
60
|
+
}), Xt = "__EMPTY__";
|
|
61
61
|
function We(l = []) {
|
|
62
62
|
return Array.from(new Set(l));
|
|
63
63
|
}
|
|
64
|
-
function
|
|
64
|
+
function Xl(l) {
|
|
65
65
|
return [
|
|
66
66
|
l.schemaName,
|
|
67
67
|
l.name,
|
|
@@ -70,14 +70,14 @@ function Zl(l) {
|
|
|
70
70
|
l.operator
|
|
71
71
|
].join(":");
|
|
72
72
|
}
|
|
73
|
-
function
|
|
73
|
+
function en(l) {
|
|
74
74
|
const n = (s, r) => E().set("hour", s).set("minute", r).set("second", 0).set("millisecond", 0).toISOString();
|
|
75
75
|
return !l.startTime || !l.endTime ? [] : [
|
|
76
76
|
n(l.startTime.hour, l.startTime.minute),
|
|
77
77
|
n(l.endTime.hour, l.endTime.minute)
|
|
78
78
|
];
|
|
79
79
|
}
|
|
80
|
-
function
|
|
80
|
+
function tn(l, n) {
|
|
81
81
|
return {
|
|
82
82
|
schemaName: l.schemaName,
|
|
83
83
|
name: l.name,
|
|
@@ -88,8 +88,8 @@ function en(l, n) {
|
|
|
88
88
|
isGlobalFilter: !l.beforeAggregation
|
|
89
89
|
};
|
|
90
90
|
}
|
|
91
|
-
function
|
|
92
|
-
const s =
|
|
91
|
+
function ln(l, n) {
|
|
92
|
+
const s = en(n);
|
|
93
93
|
return s.length !== 2 ? null : {
|
|
94
94
|
schemaName: l.schemaName,
|
|
95
95
|
name: l.name,
|
|
@@ -100,7 +100,7 @@ function tn(l, n) {
|
|
|
100
100
|
isGlobalFilter: !l.beforeAggregation
|
|
101
101
|
};
|
|
102
102
|
}
|
|
103
|
-
function
|
|
103
|
+
function nn(l) {
|
|
104
104
|
var d, p, f, F;
|
|
105
105
|
const n = (l.filters ?? []).map((v) => ({
|
|
106
106
|
...v,
|
|
@@ -109,7 +109,7 @@ function ln(l) {
|
|
|
109
109
|
if (s.length === 1 && String(s[0]) === "EMPTY_GLOBAL_FILTER_VALUE") {
|
|
110
110
|
const v = Object.values(B).includes(
|
|
111
111
|
String(l.option ?? "")
|
|
112
|
-
), u = l.option === B.TimeOfDay ? ["1000-01-01T23:59:59.999Z", "1000-01-01T00:00:00.000Z"] : [v ? "-1" :
|
|
112
|
+
), u = l.option === B.TimeOfDay ? ["1000-01-01T23:59:59.999Z", "1000-01-01T00:00:00.000Z"] : [v ? "-1" : Xt];
|
|
113
113
|
return [
|
|
114
114
|
...n,
|
|
115
115
|
{
|
|
@@ -130,7 +130,7 @@ function ln(l) {
|
|
|
130
130
|
...((p = l.customTimeRanges) == null ? void 0 : p.filter((u) => {
|
|
131
131
|
const L = String(u.name ?? "");
|
|
132
132
|
return v.has(L);
|
|
133
|
-
}).map((u) =>
|
|
133
|
+
}).map((u) => ln(l, u)).filter((u) => !!u)) ?? []
|
|
134
134
|
];
|
|
135
135
|
}
|
|
136
136
|
if ((((f = l.customOptions) == null ? void 0 : f.length) ?? 0) > 0) {
|
|
@@ -140,7 +140,7 @@ function ln(l) {
|
|
|
140
140
|
...((F = l.customOptions) == null ? void 0 : F.filter((u) => {
|
|
141
141
|
const L = String(u.label ?? "");
|
|
142
142
|
return v.has(L);
|
|
143
|
-
}).map((u) =>
|
|
143
|
+
}).map((u) => tn(l, u)).filter((u) => Array.isArray(u.values) && u.values.length > 0)) ?? []
|
|
144
144
|
];
|
|
145
145
|
}
|
|
146
146
|
return s.length === 0 ? n : [
|
|
@@ -156,7 +156,7 @@ function ln(l) {
|
|
|
156
156
|
}
|
|
157
157
|
];
|
|
158
158
|
}
|
|
159
|
-
function
|
|
159
|
+
function Wt({
|
|
160
160
|
originalFilters: l,
|
|
161
161
|
globalFilters: n,
|
|
162
162
|
schemaNames: s
|
|
@@ -166,7 +166,7 @@ function qt({
|
|
|
166
166
|
const m = Object.values(B).includes(
|
|
167
167
|
String(c.option ?? "")
|
|
168
168
|
);
|
|
169
|
-
return c.option === B.TimeOfDay ? ["1000-01-01T23:59:59.999Z", "1000-01-01T00:00:00.000Z"] : [m ? "-1" :
|
|
169
|
+
return c.option === B.TimeOfDay ? ["1000-01-01T23:59:59.999Z", "1000-01-01T00:00:00.000Z"] : [m ? "-1" : Xt];
|
|
170
170
|
}
|
|
171
171
|
function u(c, m) {
|
|
172
172
|
const b = typeof c == "number" ? c : Number(c), y = typeof m == "number" ? m : Number(m);
|
|
@@ -225,7 +225,7 @@ function qt({
|
|
|
225
225
|
d.push(m);
|
|
226
226
|
return;
|
|
227
227
|
}
|
|
228
|
-
const y =
|
|
228
|
+
const y = Xl(m), C = r.get(y);
|
|
229
229
|
if (!C) {
|
|
230
230
|
r.set(y, m);
|
|
231
231
|
return;
|
|
@@ -244,12 +244,12 @@ function Qe(l, n, s) {
|
|
|
244
244
|
const r = JSON.parse(JSON.stringify(l)), d = n.filter((f) => {
|
|
245
245
|
var F;
|
|
246
246
|
return (F = f.tileIds) == null ? void 0 : F.includes(s);
|
|
247
|
-
}).flatMap((f) =>
|
|
247
|
+
}).flatMap((f) => nn(f));
|
|
248
248
|
return {
|
|
249
249
|
...r,
|
|
250
250
|
config: {
|
|
251
251
|
...r.config,
|
|
252
|
-
filters:
|
|
252
|
+
filters: Wt({
|
|
253
253
|
originalFilters: r.config.filters ?? [],
|
|
254
254
|
globalFilters: d ?? [],
|
|
255
255
|
schemaNames: r.config.schemaNames
|
|
@@ -258,7 +258,7 @@ function Qe(l, n, s) {
|
|
|
258
258
|
var v;
|
|
259
259
|
return {
|
|
260
260
|
...f,
|
|
261
|
-
filters:
|
|
261
|
+
filters: Wt({
|
|
262
262
|
originalFilters: f.filters ?? [],
|
|
263
263
|
globalFilters: d ?? [],
|
|
264
264
|
schemaNames: (v = r.config.joinDatasources) == null ? void 0 : v[F].schemaNames
|
|
@@ -268,10 +268,10 @@ function Qe(l, n, s) {
|
|
|
268
268
|
}
|
|
269
269
|
};
|
|
270
270
|
}
|
|
271
|
-
function
|
|
272
|
-
return (l == null ? void 0 : l.queryDatasource) ===
|
|
271
|
+
function an(l) {
|
|
272
|
+
return (l == null ? void 0 : l.queryDatasource) === at.BigQuery ? at.BigQuery : at.Postgres;
|
|
273
273
|
}
|
|
274
|
-
const
|
|
274
|
+
const sn = [
|
|
275
275
|
"schemaNames",
|
|
276
276
|
"schemas",
|
|
277
277
|
"dimensions",
|
|
@@ -299,9 +299,9 @@ const an = [
|
|
|
299
299
|
"isBlend",
|
|
300
300
|
"periodType"
|
|
301
301
|
];
|
|
302
|
-
function
|
|
302
|
+
function el(l) {
|
|
303
303
|
const n = { ...l.config };
|
|
304
|
-
for (const s of
|
|
304
|
+
for (const s of sn)
|
|
305
305
|
delete n[s];
|
|
306
306
|
return n;
|
|
307
307
|
}
|
|
@@ -315,12 +315,12 @@ function Ke({
|
|
|
315
315
|
compareDateRange: r,
|
|
316
316
|
timezone: d
|
|
317
317
|
}) {
|
|
318
|
-
const { canReadReportDateRange: p, canReadPageDateRange: f } =
|
|
318
|
+
const { canReadReportDateRange: p, canReadPageDateRange: f } = Bl(), F = (u) => n ? f(n, u, d) : l ? p(l, u, d) : !0, v = !!(r != null && r.startDate && (r != null && r.endDate));
|
|
319
319
|
return F(s) && (!v || F(r));
|
|
320
320
|
}
|
|
321
321
|
function Je(l) {
|
|
322
322
|
if (l === "overview")
|
|
323
|
-
return
|
|
323
|
+
return Ml.report_accessOverview;
|
|
324
324
|
}
|
|
325
325
|
function wt({
|
|
326
326
|
selectedNavigationTab: l,
|
|
@@ -331,7 +331,7 @@ function wt({
|
|
|
331
331
|
}) {
|
|
332
332
|
return l === "overview" && s ? s : n ? r ?? d : d;
|
|
333
333
|
}
|
|
334
|
-
async function
|
|
334
|
+
async function tl(l, n) {
|
|
335
335
|
for (let s = 0; s < l.length; s++)
|
|
336
336
|
try {
|
|
337
337
|
return await l[s]();
|
|
@@ -341,7 +341,7 @@ async function el(l, n) {
|
|
|
341
341
|
}
|
|
342
342
|
throw new Error("No callback");
|
|
343
343
|
}
|
|
344
|
-
const
|
|
344
|
+
const rn = async ({
|
|
345
345
|
widget: l,
|
|
346
346
|
signal: n,
|
|
347
347
|
tileId: s,
|
|
@@ -402,7 +402,7 @@ const sn = async ({
|
|
|
402
402
|
timezone: le,
|
|
403
403
|
skipStringSpaceGrouping: !!(b != null && b.batch) || vt(b),
|
|
404
404
|
reportId: b == null ? void 0 : b.id,
|
|
405
|
-
queryDatasource:
|
|
405
|
+
queryDatasource: an(b)
|
|
406
406
|
},
|
|
407
407
|
requestConfig: {
|
|
408
408
|
timeout: 1e3 * 60 * 5,
|
|
@@ -411,8 +411,8 @@ const sn = async ({
|
|
|
411
411
|
// A query is a read: a 502/503/504 from the gateway is safe to re-send.
|
|
412
412
|
retry: 2
|
|
413
413
|
};
|
|
414
|
-
return await
|
|
415
|
-
},
|
|
414
|
+
return await tl([() => $e.fetch(ce)], 2e3);
|
|
415
|
+
}, Un = async ({
|
|
416
416
|
widget: l,
|
|
417
417
|
signal: n,
|
|
418
418
|
tileId: s,
|
|
@@ -455,7 +455,7 @@ const sn = async ({
|
|
|
455
455
|
timezone: C,
|
|
456
456
|
skipStringSpaceGrouping: !1,
|
|
457
457
|
reportId: _ == null ? void 0 : _.id,
|
|
458
|
-
queryDatasource:
|
|
458
|
+
queryDatasource: at.BigQuery
|
|
459
459
|
},
|
|
460
460
|
requestConfig: {
|
|
461
461
|
timeout: 1e3 * 60,
|
|
@@ -463,7 +463,7 @@ const sn = async ({
|
|
|
463
463
|
}
|
|
464
464
|
};
|
|
465
465
|
return $e.fetch(Z);
|
|
466
|
-
},
|
|
466
|
+
}, on = async ({
|
|
467
467
|
widget: l,
|
|
468
468
|
signal: n,
|
|
469
469
|
tileId: s,
|
|
@@ -484,7 +484,7 @@ const sn = async ({
|
|
|
484
484
|
currentReport: O
|
|
485
485
|
}), C = Je(m);
|
|
486
486
|
if (vt(y))
|
|
487
|
-
return
|
|
487
|
+
return rn({
|
|
488
488
|
widget: l,
|
|
489
489
|
signal: n,
|
|
490
490
|
tileId: s,
|
|
@@ -548,14 +548,14 @@ const sn = async ({
|
|
|
548
548
|
}
|
|
549
549
|
}, re = [() => $e.fetch(ue)];
|
|
550
550
|
R.length < 50 && re.push(() => $e.fetch(ue)), re.push(() => $e.fetch(ue));
|
|
551
|
-
const Fe = await
|
|
552
|
-
return (await
|
|
551
|
+
const Fe = await tl(re, 2e3);
|
|
552
|
+
return (await Jl(Ql, {
|
|
553
553
|
responses: Fe,
|
|
554
554
|
widget: JSON.parse(JSON.stringify(l)),
|
|
555
555
|
country: _.value,
|
|
556
556
|
timezone: Z
|
|
557
557
|
})).data;
|
|
558
|
-
},
|
|
558
|
+
}, jn = async ({
|
|
559
559
|
fileType: l,
|
|
560
560
|
index: n,
|
|
561
561
|
orientationTypes: s,
|
|
@@ -565,7 +565,7 @@ const sn = async ({
|
|
|
565
565
|
dateRange: f,
|
|
566
566
|
globalFilters: F
|
|
567
567
|
}) => {
|
|
568
|
-
const { scopePath: v, requestBusinessIds: u } = oe(ke()), L = Pe(), { compareDateRange: Q } = oe(L), { restaurants: _, warehouses: O, timezone: S } = L, { globalFilters: c } = Ge(), { currentReport: m, overviewReport: b } = Me(), { selectedNavigationTab: y } = je(), { getTileSorts: C } =
|
|
568
|
+
const { scopePath: v, requestBusinessIds: u } = oe(ke()), L = Pe(), { compareDateRange: Q } = oe(L), { restaurants: _, warehouses: O, timezone: S } = L, { globalFilters: c } = Ge(), { currentReport: m, overviewReport: b } = Me(), { selectedNavigationTab: y } = je(), { getTileSorts: C } = Zt(), { getTileSearch: R } = Zl();
|
|
569
569
|
let H = m == null ? void 0 : m.id, z = Ue(m == null ? void 0 : m.tiles);
|
|
570
570
|
y === "overview" && b && (H = b == null ? void 0 : b.id, z = Ue(b == null ? void 0 : b.tiles));
|
|
571
571
|
const q = y === "overview" && b ? b : m, ee = Je(y);
|
|
@@ -606,7 +606,7 @@ const sn = async ({
|
|
|
606
606
|
requests: ce ? ue.map((ne) => ({ ...ne, search: ce })) : ue,
|
|
607
607
|
index: n || k,
|
|
608
608
|
drillDimension: null,
|
|
609
|
-
...
|
|
609
|
+
...el(x),
|
|
610
610
|
globalSorts: C(n ?? k)
|
|
611
611
|
};
|
|
612
612
|
})
|
|
@@ -622,7 +622,7 @@ const sn = async ({
|
|
|
622
622
|
}
|
|
623
623
|
}, { headers: W, data: ae } = await St.rawFetch(N), U = W["content-disposition"].split("filename=")[1].replaceAll('"', ""), K = window.URL.createObjectURL(new Blob([new Uint8Array(ae).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
|
+
}, Qn = async ({
|
|
626
626
|
emails: l,
|
|
627
627
|
types: n,
|
|
628
628
|
dateRange: s,
|
|
@@ -633,7 +633,7 @@ const sn = async ({
|
|
|
633
633
|
attachFiles: F,
|
|
634
634
|
globalFilters: v
|
|
635
635
|
}) => {
|
|
636
|
-
const { businessId: u, scopePath: L, requestBusinessIds: Q } = oe(ke()), { currentReport: _, overviewReport: O } = Me(), { selectedNavigationTab: S } = je(), c = Pe(), { compareDateRange: m } = oe(c), { restaurants: b, warehouses: y, timezone: C } = c, { globalFilters: R } = Ge(), { getTileSorts: H } =
|
|
636
|
+
const { businessId: u, scopePath: L, requestBusinessIds: Q } = oe(ke()), { currentReport: _, overviewReport: O } = Me(), { selectedNavigationTab: S } = je(), c = Pe(), { compareDateRange: m } = oe(c), { restaurants: b, warehouses: y, timezone: C } = c, { globalFilters: R } = Ge(), { getTileSorts: H } = Zt();
|
|
637
637
|
if (l.length === 0) {
|
|
638
638
|
console.error("No email addresses provided.");
|
|
639
639
|
return;
|
|
@@ -651,7 +651,7 @@ const sn = async ({
|
|
|
651
651
|
return;
|
|
652
652
|
const N = v ?? R, W = ee.map((U) => Qe(U.widget, N, U.id)), ae = {
|
|
653
653
|
businessId: u.value || void 0,
|
|
654
|
-
status:
|
|
654
|
+
status: Ht.generating,
|
|
655
655
|
dateRange: {
|
|
656
656
|
start: s.startDate,
|
|
657
657
|
end: s.endDate
|
|
@@ -680,7 +680,7 @@ const sn = async ({
|
|
|
680
680
|
}),
|
|
681
681
|
index: K,
|
|
682
682
|
drillDimension: null,
|
|
683
|
-
...
|
|
683
|
+
...el(U),
|
|
684
684
|
globalSorts: H(K)
|
|
685
685
|
};
|
|
686
686
|
}),
|
|
@@ -696,7 +696,7 @@ const sn = async ({
|
|
|
696
696
|
data: ae,
|
|
697
697
|
requestConfig: { timeout: 1e3 * 60 * 3 }
|
|
698
698
|
});
|
|
699
|
-
},
|
|
699
|
+
}, Kn = async (l) => {
|
|
700
700
|
const { scopePath: n } = oe(ke());
|
|
701
701
|
await St.fetch({
|
|
702
702
|
fetchType: Oe.Post,
|
|
@@ -704,20 +704,20 @@ const sn = async ({
|
|
|
704
704
|
data: { jobId: l },
|
|
705
705
|
requestConfig: { timeout: 1e3 * 60 * 3 }
|
|
706
706
|
});
|
|
707
|
-
},
|
|
707
|
+
}, Jn = async () => {
|
|
708
708
|
const { scopePath: l } = oe(ke());
|
|
709
709
|
return await $e.fetch({
|
|
710
710
|
fetchType: Oe.Get,
|
|
711
711
|
url: `/${l.value}/reports/email-recipients`
|
|
712
712
|
});
|
|
713
|
-
},
|
|
713
|
+
}, Yn = async (l) => {
|
|
714
714
|
const { scopePath: n } = oe(ke());
|
|
715
715
|
await $e.fetch({
|
|
716
716
|
fetchType: Oe.Post,
|
|
717
717
|
url: `/${n.value}/reports/email-recipient/delete`,
|
|
718
718
|
data: { email: l }
|
|
719
719
|
});
|
|
720
|
-
},
|
|
720
|
+
}, un = "mf-reportwidget-result-store", cn = Ft(un, () => {
|
|
721
721
|
const l = ye({}), n = ye(0), s = Se(() => n.value === 0);
|
|
722
722
|
function r() {
|
|
723
723
|
n.value += 1;
|
|
@@ -750,16 +750,16 @@ const sn = async ({
|
|
|
750
750
|
getWidgetResult: f,
|
|
751
751
|
clearAllWidgetResults: F
|
|
752
752
|
};
|
|
753
|
-
}),
|
|
753
|
+
}), Ut = (l, n = "en") => E().set("hour", l.hour).set("minute", l.minute).locale(n).format("h:mm A"), dn = (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
|
|
760
|
+
const mn = { class: "px-24 py-16 rounded-lg shadow-light-300" }, pn = { class: "text-fm-color-typo-primary" }, fn = { class: "text-fm-color-typo-secondary" }, hn = { class: "fm-typo-en-body-lg-600 mb-8" }, bn = { class: "flex items-center justify-center w-full" }, vn = { class: "fm-typo-en-body-lg-600 mb-8" }, yn = { class: "flex items-center justify-center" }, gn = { class: "flex flex-row mb-4 px-4 gap-2" }, Sn = /* @__PURE__ */ yt({
|
|
761
761
|
__name: "TimeRangeSelect",
|
|
762
|
-
props: /* @__PURE__ */
|
|
762
|
+
props: /* @__PURE__ */ st({
|
|
763
763
|
defaultDateRange: {
|
|
764
764
|
type: Array,
|
|
765
765
|
default: () => [
|
|
@@ -797,9 +797,9 @@ const dn = { class: "px-24 py-16 rounded-lg shadow-light-300" }, mn = { class: "
|
|
|
797
797
|
},
|
|
798
798
|
selectTimeDefaultModifiers: {}
|
|
799
799
|
}),
|
|
800
|
-
emits: /* @__PURE__ */
|
|
800
|
+
emits: /* @__PURE__ */ st(["update", "chip-closed"], ["update:timeRange", "update:selectTimeDefault"]),
|
|
801
801
|
setup(l, { emit: n }) {
|
|
802
|
-
const { t: s, locale: r } =
|
|
802
|
+
const { t: s, locale: r } = Yt(), d = ft(l, "timeRange"), p = n, f = ft(l, "selectTimeDefault");
|
|
803
803
|
function F(S) {
|
|
804
804
|
S && (d.value = S, p("update", d.value)), Q.value = !1;
|
|
805
805
|
}
|
|
@@ -834,7 +834,7 @@ const dn = { class: "px-24 py-16 rounded-lg shadow-light-300" }, mn = { class: "
|
|
|
834
834
|
function _(S) {
|
|
835
835
|
p("chip-closed", S);
|
|
836
836
|
}
|
|
837
|
-
const O = Se(() => l.label ? l.label :
|
|
837
|
+
const O = Se(() => l.label ? l.label : Kt({
|
|
838
838
|
startTime: d.value.start,
|
|
839
839
|
endTime: d.value.end,
|
|
840
840
|
locale: r.value
|
|
@@ -848,7 +848,7 @@ const dn = { class: "px-24 py-16 rounded-lg shadow-light-300" }, mn = { class: "
|
|
|
848
848
|
onPopoverChanged: c[6] || (c[6] = (q) => Q.value = q)
|
|
849
849
|
}, {
|
|
850
850
|
"popover-button": ie(() => [
|
|
851
|
-
M(
|
|
851
|
+
M(Jt, {
|
|
852
852
|
"left-icon": l.label ? "filter_alt" : "schedule",
|
|
853
853
|
label: O.value,
|
|
854
854
|
removable: l.removable,
|
|
@@ -858,7 +858,7 @@ const dn = { class: "px-24 py-16 rounded-lg shadow-light-300" }, mn = { class: "
|
|
|
858
858
|
default: ie(() => {
|
|
859
859
|
var q, ee, le, Z;
|
|
860
860
|
return [
|
|
861
|
-
Y("div",
|
|
861
|
+
Y("div", mn, [
|
|
862
862
|
M(C, {
|
|
863
863
|
modelValue: f.value,
|
|
864
864
|
"onUpdate:modelValue": c[1] || (c[1] = (N) => f.value = N)
|
|
@@ -867,21 +867,21 @@ const dn = { class: "px-24 py-16 rounded-lg shadow-light-300" }, mn = { class: "
|
|
|
867
867
|
(X(!0), he(Le, null, bt(l.defaultDateRange, (N, W) => (X(), De(b, {
|
|
868
868
|
key: `range_${W}`,
|
|
869
869
|
value: W + 1,
|
|
870
|
-
label: D(
|
|
870
|
+
label: D(jt)(N, D(s)),
|
|
871
871
|
onClick: (ae) => L(N.startTime, N.endTime)
|
|
872
872
|
}, {
|
|
873
873
|
label: ie(() => [
|
|
874
|
-
Y("p",
|
|
875
|
-
|
|
876
|
-
|
|
874
|
+
Y("p", pn, [
|
|
875
|
+
rt(ve(D(jt)(N, D(s))) + " ", 1),
|
|
876
|
+
$l(M(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",
|
|
879
879
|
compact: ""
|
|
880
880
|
}, null, 8, ["label"]), [
|
|
881
|
-
[
|
|
881
|
+
[Gl, N.isDefault]
|
|
882
882
|
])
|
|
883
883
|
]),
|
|
884
|
-
Y("p",
|
|
884
|
+
Y("p", fn, ve(D(Ut)(N.startTime, D(xe)())) + " - " + ve(D(Ut)(N.endTime, D(xe)())) + " " + ve(D(dn)(N.startTime, N.endTime)), 1)
|
|
885
885
|
]),
|
|
886
886
|
_: 2
|
|
887
887
|
}, 1032, ["value", "label", "onClick"]))), 128)),
|
|
@@ -895,8 +895,8 @@ const dn = { class: "px-24 py-16 rounded-lg shadow-light-300" }, mn = { class: "
|
|
|
895
895
|
_: 1
|
|
896
896
|
}, 8, ["modelValue"]),
|
|
897
897
|
f.value === l.defaultDateRange.length + 1 ? (X(), he(Le, { key: 0 }, [
|
|
898
|
-
Y("p",
|
|
899
|
-
Y("div",
|
|
898
|
+
Y("p", hn, ve(D(s)("report.date.startingTime")), 1),
|
|
899
|
+
Y("div", bn, [
|
|
900
900
|
M(R, {
|
|
901
901
|
"model-value": v(`${(q = u.value.start) == null ? void 0 : q.hour}:${(ee = u.value.start) == null ? void 0 : ee.minute}`),
|
|
902
902
|
"onUpdate:modelValue": c[2] || (c[2] = (N) => {
|
|
@@ -909,8 +909,8 @@ const dn = { class: "px-24 py-16 rounded-lg shadow-light-300" }, mn = { class: "
|
|
|
909
909
|
})
|
|
910
910
|
}, null, 8, ["model-value"])
|
|
911
911
|
]),
|
|
912
|
-
Y("p",
|
|
913
|
-
Y("div",
|
|
912
|
+
Y("p", vn, ve(D(s)("report.date.endingTime")), 1),
|
|
913
|
+
Y("div", yn, [
|
|
914
914
|
M(R, {
|
|
915
915
|
"model-value": v(`${(le = u.value.end) == null ? void 0 : le.hour}:${(Z = u.value.end) == null ? void 0 : Z.minute}`),
|
|
916
916
|
"onUpdate:modelValue": c[3] || (c[3] = (N) => {
|
|
@@ -924,7 +924,7 @@ const dn = { class: "px-24 py-16 rounded-lg shadow-light-300" }, mn = { class: "
|
|
|
924
924
|
}, null, 8, ["model-value"])
|
|
925
925
|
])
|
|
926
926
|
], 64)) : ht("", !0),
|
|
927
|
-
Y("div",
|
|
927
|
+
Y("div", gn, [
|
|
928
928
|
c[7] || (c[7] = Y("div", { class: "grow" }, null, -1)),
|
|
929
929
|
M(H, {
|
|
930
930
|
label: D(s)("report.common.cancel"),
|
|
@@ -944,9 +944,9 @@ const dn = { class: "px-24 py-16 rounded-lg shadow-light-300" }, mn = { class: "
|
|
|
944
944
|
]);
|
|
945
945
|
};
|
|
946
946
|
}
|
|
947
|
-
}),
|
|
947
|
+
}), Hn = /* @__PURE__ */ yt({
|
|
948
948
|
__name: "BaseDialog",
|
|
949
|
-
props: /* @__PURE__ */
|
|
949
|
+
props: /* @__PURE__ */ st({
|
|
950
950
|
title: {
|
|
951
951
|
type: String,
|
|
952
952
|
default: "Title"
|
|
@@ -963,7 +963,7 @@ const dn = { class: "px-24 py-16 rounded-lg shadow-light-300" }, mn = { class: "
|
|
|
963
963
|
modelValue: { type: Boolean, required: !0 },
|
|
964
964
|
modelModifiers: {}
|
|
965
965
|
}),
|
|
966
|
-
emits: /* @__PURE__ */
|
|
966
|
+
emits: /* @__PURE__ */ st(["confirm"], ["update:modelValue"]),
|
|
967
967
|
setup(l, { emit: n }) {
|
|
968
968
|
const s = ft(l, "modelValue"), r = l, d = n;
|
|
969
969
|
return Ae(s, () => {
|
|
@@ -976,10 +976,10 @@ const dn = { class: "px-24 py-16 rounded-lg shadow-light-300" }, mn = { class: "
|
|
|
976
976
|
overlay: ""
|
|
977
977
|
}, {
|
|
978
978
|
"dialog-header": ie(() => [
|
|
979
|
-
|
|
979
|
+
rt(ve(r.title), 1)
|
|
980
980
|
]),
|
|
981
981
|
default: ie(() => [
|
|
982
|
-
|
|
982
|
+
Qt(p.$slots, "content")
|
|
983
983
|
]),
|
|
984
984
|
"dialog-footer": ie(() => [
|
|
985
985
|
f[3] || (f[3] = Y("div", { class: "grow" }, null, -1)),
|
|
@@ -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 Ie = /* @__PURE__ */ ((l) => (l.Select = "Select", l.TextField = "TextField", l.Timestamp = "Timestamp", l))(Ie || {});
|
|
1003
|
-
function
|
|
1003
|
+
function Fn(l) {
|
|
1004
1004
|
let n = !1, s = 1;
|
|
1005
1005
|
switch (l) {
|
|
1006
1006
|
case j.Equal:
|
|
@@ -1024,13 +1024,13 @@ function Sn(l) {
|
|
|
1024
1024
|
count: s
|
|
1025
1025
|
};
|
|
1026
1026
|
}
|
|
1027
|
-
function
|
|
1027
|
+
function Zn({
|
|
1028
1028
|
operator: l,
|
|
1029
1029
|
dimensionOption: n,
|
|
1030
1030
|
dataType: s,
|
|
1031
1031
|
t: r
|
|
1032
1032
|
}) {
|
|
1033
|
-
const { fixed: d, count: p } =
|
|
1033
|
+
const { fixed: d, count: p } = Fn(l);
|
|
1034
1034
|
switch (s) {
|
|
1035
1035
|
case be.String:
|
|
1036
1036
|
return {
|
|
@@ -1060,7 +1060,7 @@ function Hn({
|
|
|
1060
1060
|
default: !0
|
|
1061
1061
|
};
|
|
1062
1062
|
case be.Timestamp:
|
|
1063
|
-
return
|
|
1063
|
+
return ll({
|
|
1064
1064
|
dimensionOption: n,
|
|
1065
1065
|
fixed: d,
|
|
1066
1066
|
count: p,
|
|
@@ -1075,7 +1075,7 @@ function Hn({
|
|
|
1075
1075
|
default: ""
|
|
1076
1076
|
};
|
|
1077
1077
|
}
|
|
1078
|
-
function
|
|
1078
|
+
function Xn(l) {
|
|
1079
1079
|
switch (l) {
|
|
1080
1080
|
case B.HourOfDay:
|
|
1081
1081
|
return 0;
|
|
@@ -1085,7 +1085,7 @@ function Zn(l) {
|
|
|
1085
1085
|
return;
|
|
1086
1086
|
}
|
|
1087
1087
|
}
|
|
1088
|
-
function
|
|
1088
|
+
function ea(l) {
|
|
1089
1089
|
switch (l) {
|
|
1090
1090
|
case B.HourOfDay:
|
|
1091
1091
|
return 23;
|
|
@@ -1095,7 +1095,7 @@ function Xn(l) {
|
|
|
1095
1095
|
return;
|
|
1096
1096
|
}
|
|
1097
1097
|
}
|
|
1098
|
-
function
|
|
1098
|
+
function ll({
|
|
1099
1099
|
dimensionOption: l,
|
|
1100
1100
|
fixed: n,
|
|
1101
1101
|
count: s,
|
|
@@ -1174,7 +1174,7 @@ function pt({
|
|
|
1174
1174
|
dimensionOption: l,
|
|
1175
1175
|
t: n
|
|
1176
1176
|
}) {
|
|
1177
|
-
const s =
|
|
1177
|
+
const s = ll({
|
|
1178
1178
|
dimensionOption: l,
|
|
1179
1179
|
fixed: !1,
|
|
1180
1180
|
count: 1,
|
|
@@ -1182,10 +1182,10 @@ function pt({
|
|
|
1182
1182
|
});
|
|
1183
1183
|
return s.type !== Ie.Select ? [] : [{ label: n("report.input.unknown"), value: "" }, ...s.options];
|
|
1184
1184
|
}
|
|
1185
|
-
const
|
|
1185
|
+
const wn = { class: "flex flex-row flex-wrap gap-2" }, Dn = { class: "inline-flex max-w-[460px]" }, Tn = {
|
|
1186
1186
|
key: 0,
|
|
1187
1187
|
class: "flex justify-center my-2"
|
|
1188
|
-
},
|
|
1188
|
+
}, Vn = { class: "px-2 pb-8" }, Nn = { class: "flex-1 overflow-y-auto overflow-x-hidden" }, Cn = { class: "px-2 pb-8" }, kn = { class: "flex items-start w-full" }, On = ["onClick"], _n = { class: "fm-typo-en-body-md-400" }, Rn = { key: 0 }, An = { class: "px-12 py-3" }, In = { class: "flex items-center justify-between" }, xn = { class: "text-xs max-w-[200px]" }, $n = { class: "px-4 py-3 flex flex-row justify-end gap-2 bg-white" }, Ce = "__EMPTY__", we = "__NO_SELECTION__", ta = /* @__PURE__ */ yt({
|
|
1189
1189
|
__name: "GlobalFilterSelect",
|
|
1190
1190
|
props: {
|
|
1191
1191
|
globalFilterId: {},
|
|
@@ -1197,8 +1197,8 @@ const Fn = { class: "flex flex-row flex-wrap gap-2" }, wn = { class: "inline-fle
|
|
|
1197
1197
|
isDialogGlobalFilter: { type: Boolean }
|
|
1198
1198
|
},
|
|
1199
1199
|
setup(l) {
|
|
1200
|
-
const n = l, { t: s, locale: r } =
|
|
1201
|
-
let { timeRange: f, dateRange: F, selectedLocationIds: v, timezone: u } = oe(Pe()), { globalFilters: L } = oe(Ge()), { schemas: Q } = oe(
|
|
1200
|
+
const n = l, { t: s, locale: r } = Yt(), { currentReport: d, editingTile: p } = oe(Me());
|
|
1201
|
+
let { timeRange: f, dateRange: F, selectedLocationIds: v, timezone: u } = oe(Pe()), { globalFilters: L } = oe(Ge()), { schemas: Q } = oe(Wl()), {
|
|
1202
1202
|
showMore: _,
|
|
1203
1203
|
getGlobalFilter: O,
|
|
1204
1204
|
setGlobalFilter: S,
|
|
@@ -1210,7 +1210,7 @@ const Fn = { class: "flex flex-row flex-wrap gap-2" }, wn = { class: "inline-fle
|
|
|
1210
1210
|
} = Ge();
|
|
1211
1211
|
const R = Se(() => s("report.input.empty")), H = ["NULL", "", " "];
|
|
1212
1212
|
let z;
|
|
1213
|
-
const q =
|
|
1213
|
+
const q = cn(), { getWidgetResult: ee } = q, { widgetResults: le, isAllWidgetResultLoaded: Z } = oe(q), N = ye(!1), W = ye(!1), ae = ye(""), U = ye({}), K = Se(() => {
|
|
1214
1214
|
var e;
|
|
1215
1215
|
return n.globalFilterId ?? ((e = d.value) == null ? void 0 : e.id) ?? "";
|
|
1216
1216
|
}), se = Se(() => n.report ?? d.value), x = ye([]);
|
|
@@ -1237,7 +1237,7 @@ const Fn = { class: "flex flex-row flex-wrap gap-2" }, wn = { class: "inline-fle
|
|
|
1237
1237
|
return ue(t, F.value) && re(o, f.value) && Fe(a, v.value);
|
|
1238
1238
|
});
|
|
1239
1239
|
function ge(e) {
|
|
1240
|
-
return e ? [...e.tileIds ?? []] : Array.from(new Set(
|
|
1240
|
+
return e ? [...e.tileIds ?? []] : Array.from(new Set(et.value.flatMap((t) => t.tileIds ?? [])));
|
|
1241
1241
|
}
|
|
1242
1242
|
function ne(e) {
|
|
1243
1243
|
n.isDialogGlobalFilter || C(ge(e));
|
|
@@ -1263,23 +1263,23 @@ const Fn = { class: "flex flex-row flex-wrap gap-2" }, wn = { class: "inline-fle
|
|
|
1263
1263
|
function Be(e) {
|
|
1264
1264
|
e.selectedValues = [], e.globalFilter.values = [], S(e.globalFilter, k(e.id), { selectedValues: [] });
|
|
1265
1265
|
}
|
|
1266
|
-
function
|
|
1266
|
+
function ot(e) {
|
|
1267
1267
|
const t = Ye(e);
|
|
1268
|
-
e.selectedValues = [...t], e.globalFilter.values =
|
|
1268
|
+
e.selectedValues = [...t], e.globalFilter.values = cl(e), S(e.globalFilter, k(e.id), {
|
|
1269
1269
|
selectedValues: t
|
|
1270
1270
|
});
|
|
1271
1271
|
}
|
|
1272
|
-
function
|
|
1272
|
+
function nl(e) {
|
|
1273
1273
|
e.options = [], Be(e);
|
|
1274
1274
|
}
|
|
1275
1275
|
function Dt(e) {
|
|
1276
1276
|
e.keepSelection || Be(e);
|
|
1277
1277
|
}
|
|
1278
|
-
function
|
|
1278
|
+
function al(e) {
|
|
1279
1279
|
const t = P(me(e));
|
|
1280
1280
|
U.value[e.id] = [...t], Be(e);
|
|
1281
1281
|
}
|
|
1282
|
-
function
|
|
1282
|
+
function sl() {
|
|
1283
1283
|
var a, h, T, g;
|
|
1284
1284
|
const e = F.value, t = f.value, o = v.value || [];
|
|
1285
1285
|
return JSON.stringify({
|
|
@@ -1306,7 +1306,7 @@ const Fn = { class: "flex flex-row flex-wrap gap-2" }, wn = { class: "inline-fle
|
|
|
1306
1306
|
);
|
|
1307
1307
|
return o.length ? o.map((a) => String(a)) : (e.globalFilter.values ?? []).map((a) => String(a));
|
|
1308
1308
|
}
|
|
1309
|
-
function
|
|
1309
|
+
function rl(e) {
|
|
1310
1310
|
if (Ve(e.selectedValues || []))
|
|
1311
1311
|
return [we];
|
|
1312
1312
|
const t = P(e.selectedValues || []);
|
|
@@ -1324,7 +1324,7 @@ const Fn = { class: "flex flex-row flex-wrap gap-2" }, wn = { class: "inline-fle
|
|
|
1324
1324
|
function Tt(e) {
|
|
1325
1325
|
return e === Ce || String(e ?? "").trim() === "";
|
|
1326
1326
|
}
|
|
1327
|
-
function
|
|
1327
|
+
function it(e) {
|
|
1328
1328
|
return [...e].sort((t, o) => {
|
|
1329
1329
|
const a = Tt(t.value), h = Tt(o.value);
|
|
1330
1330
|
return a !== h ? a ? -1 : 1 : t.label.localeCompare(o.label, r.value, {
|
|
@@ -1336,45 +1336,45 @@ const Fn = { class: "flex flex-row flex-wrap gap-2" }, wn = { class: "inline-fle
|
|
|
1336
1336
|
function Vt(e) {
|
|
1337
1337
|
return e.type === be.String && !ze(e.globalFilter);
|
|
1338
1338
|
}
|
|
1339
|
-
function
|
|
1339
|
+
function He(e) {
|
|
1340
1340
|
return (e.options || []).map((t) => t.value);
|
|
1341
1341
|
}
|
|
1342
1342
|
function ut(e) {
|
|
1343
|
-
return
|
|
1343
|
+
return He(e).length > 0;
|
|
1344
1344
|
}
|
|
1345
1345
|
function Ee(e) {
|
|
1346
1346
|
const t = P(e.selectedValues || []);
|
|
1347
|
-
return t.length ? t : Ve(e.selectedValues || []) ? [] : ut(e) ?
|
|
1347
|
+
return t.length ? t : Ve(e.selectedValues || []) ? [] : ut(e) ? He(e) : [];
|
|
1348
1348
|
}
|
|
1349
|
-
function
|
|
1349
|
+
function Ze(e, t) {
|
|
1350
1350
|
const o = new Set((e.options || []).map((a) => a.value));
|
|
1351
1351
|
return P(t).filter((a) => o.has(a));
|
|
1352
1352
|
}
|
|
1353
|
-
function
|
|
1354
|
-
const o = O(e.globalFilter, k(e.id)).selectedValues, a = n.isDialogGlobalFilter ?
|
|
1353
|
+
function ol(e) {
|
|
1354
|
+
const o = O(e.globalFilter, k(e.id)).selectedValues, a = n.isDialogGlobalFilter ? rl(e) : [];
|
|
1355
1355
|
if (Ve(e.selectedValues || []))
|
|
1356
1356
|
return [we];
|
|
1357
1357
|
if (Ve(o || []))
|
|
1358
1358
|
return [we];
|
|
1359
1359
|
if ((e.options || []).map((T) => T.value).length > 0) {
|
|
1360
|
-
const T =
|
|
1360
|
+
const T = Ze(
|
|
1361
1361
|
e,
|
|
1362
1362
|
a
|
|
1363
1363
|
);
|
|
1364
1364
|
if (T.length)
|
|
1365
1365
|
return T;
|
|
1366
|
-
const g =
|
|
1366
|
+
const g = Ze(e, o);
|
|
1367
1367
|
if (g.length)
|
|
1368
1368
|
return g;
|
|
1369
1369
|
if (e.keepSelection) {
|
|
1370
|
-
const A =
|
|
1370
|
+
const A = Ze(
|
|
1371
1371
|
e,
|
|
1372
1372
|
me(e)
|
|
1373
1373
|
);
|
|
1374
1374
|
if (A.length)
|
|
1375
1375
|
return A;
|
|
1376
1376
|
}
|
|
1377
|
-
const $ =
|
|
1377
|
+
const $ = Ze(
|
|
1378
1378
|
e,
|
|
1379
1379
|
e.globalFilter.defaultValues ?? []
|
|
1380
1380
|
);
|
|
@@ -1382,21 +1382,21 @@ const Fn = { class: "flex flex-row flex-wrap gap-2" }, wn = { class: "inline-fle
|
|
|
1382
1382
|
}
|
|
1383
1383
|
return a.length ? [...a] : o.length ? [...o] : e.keepSelection ? me(e) : [];
|
|
1384
1384
|
}
|
|
1385
|
-
function
|
|
1385
|
+
function il(e, t) {
|
|
1386
1386
|
const o = new Set(P(t));
|
|
1387
1387
|
if (!o.size) return !1;
|
|
1388
1388
|
const a = (e.options || []).map((h) => h.value);
|
|
1389
1389
|
return a.length ? a.every((h) => o.has(h)) : !1;
|
|
1390
1390
|
}
|
|
1391
|
-
function
|
|
1391
|
+
function ul(e) {
|
|
1392
1392
|
const t = e.selectedValues || [];
|
|
1393
1393
|
return Ve(t) || !ut(e) ? !1 : P(t).length === 0;
|
|
1394
1394
|
}
|
|
1395
|
-
function
|
|
1395
|
+
function cl(e) {
|
|
1396
1396
|
const t = Ye(e), o = P(t), a = Te(o), h = Ve(t);
|
|
1397
|
-
if (
|
|
1397
|
+
if (ul(e))
|
|
1398
1398
|
return [];
|
|
1399
|
-
if (
|
|
1399
|
+
if (il(e, t))
|
|
1400
1400
|
return [];
|
|
1401
1401
|
if (!e.keepSelection || n.isDialogGlobalFilter)
|
|
1402
1402
|
return a.length ? a : h ? [Ce] : [];
|
|
@@ -1409,31 +1409,31 @@ const Fn = { class: "flex flex-row flex-wrap gap-2" }, wn = { class: "inline-fle
|
|
|
1409
1409
|
), $ = Te(g);
|
|
1410
1410
|
return $.length ? $ : h ? [Ce] : [];
|
|
1411
1411
|
}
|
|
1412
|
-
function
|
|
1412
|
+
function Xe(e) {
|
|
1413
1413
|
const t = U.value[e.id];
|
|
1414
1414
|
if (t) {
|
|
1415
|
-
e.selectedValues = [...t],
|
|
1415
|
+
e.selectedValues = [...t], ot(e), delete U.value[e.id];
|
|
1416
1416
|
return;
|
|
1417
1417
|
}
|
|
1418
|
-
e.selectedValues =
|
|
1418
|
+
e.selectedValues = ol(e), ot(e);
|
|
1419
1419
|
}
|
|
1420
|
-
function
|
|
1420
|
+
function dl() {
|
|
1421
1421
|
x.value.forEach((e) => {
|
|
1422
1422
|
de.value || Dt(e);
|
|
1423
1423
|
});
|
|
1424
1424
|
}
|
|
1425
|
-
function
|
|
1426
|
-
const e =
|
|
1425
|
+
function ml() {
|
|
1426
|
+
const e = sl();
|
|
1427
1427
|
ae.value !== e && x.value.forEach((o) => {
|
|
1428
1428
|
if (o.keepSelection) {
|
|
1429
|
-
|
|
1429
|
+
al(o);
|
|
1430
1430
|
return;
|
|
1431
1431
|
}
|
|
1432
1432
|
Dt(o);
|
|
1433
1433
|
}), ae.value = e;
|
|
1434
1434
|
}
|
|
1435
|
-
const
|
|
1436
|
-
function
|
|
1435
|
+
const et = Se(() => n.globalFilters ?? L.value);
|
|
1436
|
+
function pl(e) {
|
|
1437
1437
|
return {
|
|
1438
1438
|
schemaName: e.schemaName,
|
|
1439
1439
|
name: e.name,
|
|
@@ -1446,10 +1446,10 @@ const Fn = { class: "flex flex-row flex-wrap gap-2" }, wn = { class: "inline-fle
|
|
|
1446
1446
|
customTimeRanges: e.customTimeRanges ?? []
|
|
1447
1447
|
};
|
|
1448
1448
|
}
|
|
1449
|
-
function
|
|
1450
|
-
return e.map((t) =>
|
|
1449
|
+
function fl(e) {
|
|
1450
|
+
return e.map((t) => pl(t));
|
|
1451
1451
|
}
|
|
1452
|
-
function
|
|
1452
|
+
function hl(e, t) {
|
|
1453
1453
|
const o = `${m(e, K.value)}|${t}`, a = O(e, k(o)), h = a.selectedValues.length ? [...a.selectedValues] : [...e.values ?? []];
|
|
1454
1454
|
return {
|
|
1455
1455
|
id: o,
|
|
@@ -1463,16 +1463,16 @@ const Fn = { class: "flex flex-row flex-wrap gap-2" }, wn = { class: "inline-fle
|
|
|
1463
1463
|
showAdvanced: a.showAdvanced
|
|
1464
1464
|
};
|
|
1465
1465
|
}
|
|
1466
|
-
function
|
|
1467
|
-
x.value =
|
|
1468
|
-
(e, t) =>
|
|
1466
|
+
function bl() {
|
|
1467
|
+
x.value = et.value.map(
|
|
1468
|
+
(e, t) => hl(e, t)
|
|
1469
1469
|
);
|
|
1470
1470
|
}
|
|
1471
|
-
const
|
|
1472
|
-
() => JSON.stringify(
|
|
1473
|
-
),
|
|
1474
|
-
const e =
|
|
1475
|
-
(t) =>
|
|
1471
|
+
const vl = Se(
|
|
1472
|
+
() => JSON.stringify(fl(et.value))
|
|
1473
|
+
), yl = Se(() => {
|
|
1474
|
+
const e = et.value.map(
|
|
1475
|
+
(t) => Mt(t, It())
|
|
1476
1476
|
);
|
|
1477
1477
|
return JSON.stringify(
|
|
1478
1478
|
e.map((t) => ({
|
|
@@ -1484,12 +1484,12 @@ const Fn = { class: "flex flex-row flex-wrap gap-2" }, wn = { class: "inline-fle
|
|
|
1484
1484
|
Ae(
|
|
1485
1485
|
() => ({
|
|
1486
1486
|
globalFilterId: K.value,
|
|
1487
|
-
globalFiltersConfigSignature:
|
|
1487
|
+
globalFiltersConfigSignature: vl.value
|
|
1488
1488
|
}),
|
|
1489
1489
|
(e, t) => {
|
|
1490
1490
|
t && t.globalFilterId !== e.globalFilterId && x.value.forEach((o) => {
|
|
1491
1491
|
o.options = [];
|
|
1492
|
-
}),
|
|
1492
|
+
}), bl(), t && t.globalFiltersConfigSignature !== e.globalFiltersConfigSignature && ne(), Z.value && lt();
|
|
1493
1493
|
},
|
|
1494
1494
|
{ immediate: !0 }
|
|
1495
1495
|
), Ae(
|
|
@@ -1503,7 +1503,7 @@ const Fn = { class: "flex flex-row flex-wrap gap-2" }, wn = { class: "inline-fle
|
|
|
1503
1503
|
() => n.locationIds
|
|
1504
1504
|
],
|
|
1505
1505
|
async () => {
|
|
1506
|
-
n.isDialogGlobalFilter ?
|
|
1506
|
+
n.isDialogGlobalFilter ? dl() : ml(), await lt();
|
|
1507
1507
|
},
|
|
1508
1508
|
{ immediate: !0 }
|
|
1509
1509
|
), Ae(
|
|
@@ -1511,18 +1511,18 @@ const Fn = { class: "flex flex-row flex-wrap gap-2" }, wn = { class: "inline-fle
|
|
|
1511
1511
|
async () => {
|
|
1512
1512
|
x.value.forEach((e) => {
|
|
1513
1513
|
e.options = [];
|
|
1514
|
-
}), await
|
|
1514
|
+
}), await lt();
|
|
1515
1515
|
},
|
|
1516
1516
|
{ deep: !0 }
|
|
1517
1517
|
), Ae(
|
|
1518
|
-
() =>
|
|
1518
|
+
() => yl.value,
|
|
1519
1519
|
async (e, t) => {
|
|
1520
|
-
e !== t && t && (n.isDialogGlobalFilter ||
|
|
1520
|
+
e !== t && t && (n.isDialogGlobalFilter || At() || await lt());
|
|
1521
1521
|
}
|
|
1522
1522
|
), Ae(
|
|
1523
1523
|
() => r.value,
|
|
1524
1524
|
() => {
|
|
1525
|
-
|
|
1525
|
+
gl();
|
|
1526
1526
|
}
|
|
1527
1527
|
);
|
|
1528
1528
|
function Nt(e, t) {
|
|
@@ -1532,14 +1532,14 @@ const Fn = { class: "flex flex-row flex-wrap gap-2" }, wn = { class: "inline-fle
|
|
|
1532
1532
|
t: s
|
|
1533
1533
|
}).find((h) => String(h.value) === String(t))) == null ? void 0 : o.label) ?? String(t) : String(t);
|
|
1534
1534
|
}
|
|
1535
|
-
function
|
|
1535
|
+
function gl() {
|
|
1536
1536
|
x.value.forEach((e) => {
|
|
1537
1537
|
if (!e.options.length) return;
|
|
1538
1538
|
const t = e.options.map((o) => ({
|
|
1539
1539
|
...o,
|
|
1540
1540
|
label: Nt(e, o.value)
|
|
1541
1541
|
}));
|
|
1542
|
-
e.options = Vt(e) ?
|
|
1542
|
+
e.options = Vt(e) ? it(t) : t;
|
|
1543
1543
|
});
|
|
1544
1544
|
}
|
|
1545
1545
|
function Ct(e) {
|
|
@@ -1547,7 +1547,7 @@ const Fn = { class: "flex flex-row flex-wrap gap-2" }, wn = { class: "inline-fle
|
|
|
1547
1547
|
const t = (o = Q.value.find((a) => a.name === e.schemaName)) == null ? void 0 : o.fields.find((a) => a.name === e.name);
|
|
1548
1548
|
return t == null ? void 0 : t.type;
|
|
1549
1549
|
}
|
|
1550
|
-
function
|
|
1550
|
+
function Sl(e) {
|
|
1551
1551
|
var $, A;
|
|
1552
1552
|
if (!se.value && !p.value) return [];
|
|
1553
1553
|
if (!(($ = e.tileIds) != null && $.length)) return [];
|
|
@@ -1584,7 +1584,7 @@ const Fn = { class: "flex flex-row flex-wrap gap-2" }, wn = { class: "inline-fle
|
|
|
1584
1584
|
};
|
|
1585
1585
|
};
|
|
1586
1586
|
return h.reduce((I, G) => {
|
|
1587
|
-
var qe,
|
|
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
1590
|
const J = g(i), V = (i.dimensions ?? []).some((Ne) => Ne.schemaName === a) || (i.schemaNames ?? []).includes(a), pe = T(
|
|
@@ -1593,7 +1593,7 @@ const Fn = { class: "flex flex-row flex-wrap gap-2" }, wn = { class: "inline-fle
|
|
|
1593
1593
|
var Re;
|
|
1594
1594
|
return (Re = i.schemaNames) == null ? void 0 : Re.includes(Ne.schemaName);
|
|
1595
1595
|
})
|
|
1596
|
-
), w = (
|
|
1596
|
+
), w = (Et = i.joinDatasources) == null ? void 0 : Et.find(
|
|
1597
1597
|
(Ne) => (Ne.schemaNames ?? []).includes(a) || (Ne.dimensions ?? []).some((Re) => Re.schemaName === a)
|
|
1598
1598
|
), _e = T(
|
|
1599
1599
|
(w == null ? void 0 : w.filters) ?? [],
|
|
@@ -1603,14 +1603,14 @@ const Fn = { class: "flex flex-row flex-wrap gap-2" }, wn = { class: "inline-fle
|
|
|
1603
1603
|
})
|
|
1604
1604
|
);
|
|
1605
1605
|
return I.push({
|
|
1606
|
-
type:
|
|
1606
|
+
type: Bt.Table,
|
|
1607
1607
|
title: "Global Filter",
|
|
1608
1608
|
config: {
|
|
1609
1609
|
schemaNames: i.schemaNames,
|
|
1610
1610
|
schemas: i.schemas,
|
|
1611
1611
|
dimensions: V ? [J] : [],
|
|
1612
1612
|
filters: pe,
|
|
1613
|
-
sorts: V ? [{ name: o, schemaName: a, type:
|
|
1613
|
+
sorts: V ? [{ name: o, schemaName: a, type: zt.Asc, aggregation: null, dimensionOption: null }] : [],
|
|
1614
1614
|
joinDatasources: !V && w ? [
|
|
1615
1615
|
{
|
|
1616
1616
|
...w,
|
|
@@ -1619,7 +1619,7 @@ const Fn = { class: "flex flex-row flex-wrap gap-2" }, wn = { class: "inline-fle
|
|
|
1619
1619
|
{
|
|
1620
1620
|
name: o,
|
|
1621
1621
|
schemaName: a,
|
|
1622
|
-
type:
|
|
1622
|
+
type: zt.Asc,
|
|
1623
1623
|
aggregation: null,
|
|
1624
1624
|
dimensionOption: null
|
|
1625
1625
|
}
|
|
@@ -1648,13 +1648,17 @@ const Fn = { class: "flex flex-row flex-wrap gap-2" }, wn = { class: "inline-fle
|
|
|
1648
1648
|
const t = new Set(Ee(e));
|
|
1649
1649
|
return e.options.every((o) => t.has(o.value));
|
|
1650
1650
|
}
|
|
1651
|
-
function
|
|
1652
|
-
|
|
1651
|
+
function Ot(e) {
|
|
1652
|
+
var t;
|
|
1653
|
+
return (t = e.globalFilter.defaultValues) != null && t.length ? He(e) : [];
|
|
1654
|
+
}
|
|
1655
|
+
function Fl(e) {
|
|
1656
|
+
kt(e) ? e.selectedValues = [we] : e.selectedValues = Ot(e);
|
|
1653
1657
|
}
|
|
1654
|
-
function
|
|
1658
|
+
function _t(e, t) {
|
|
1655
1659
|
return Ee(e).includes(t);
|
|
1656
1660
|
}
|
|
1657
|
-
const
|
|
1661
|
+
const Rt = Se(
|
|
1658
1662
|
() => x.value.map((e) => {
|
|
1659
1663
|
const t = e.options, o = e.search.toLowerCase() ?? "";
|
|
1660
1664
|
return t.filter(
|
|
@@ -1662,10 +1666,10 @@ const Fn = { class: "flex flex-row flex-wrap gap-2" }, wn = { class: "inline-fle
|
|
|
1662
1666
|
).slice(0, e.visibleCount);
|
|
1663
1667
|
})
|
|
1664
1668
|
);
|
|
1665
|
-
function
|
|
1669
|
+
function wl(e) {
|
|
1666
1670
|
e.visibleCount += 50, _(e.globalFilter, k(e.id), 50);
|
|
1667
1671
|
}
|
|
1668
|
-
function
|
|
1672
|
+
function Dl(e, t) {
|
|
1669
1673
|
S(e.globalFilter, k(e.id), { search: t });
|
|
1670
1674
|
}
|
|
1671
1675
|
function ze(e) {
|
|
@@ -1676,29 +1680,29 @@ const Fn = { class: "flex flex-row flex-wrap gap-2" }, wn = { class: "inline-fle
|
|
|
1676
1680
|
var t;
|
|
1677
1681
|
return !((t = e.globalFilter.tileIds) != null && t.length);
|
|
1678
1682
|
}
|
|
1679
|
-
function
|
|
1683
|
+
function At() {
|
|
1680
1684
|
return (n.isDialogGlobalFilter || !!p.value) && !de.value;
|
|
1681
1685
|
}
|
|
1682
|
-
function
|
|
1686
|
+
function It() {
|
|
1683
1687
|
var e;
|
|
1684
1688
|
return n.isDialogGlobalFilter && de.value && ((e = d.value) != null && e.id) ? d.value.id : K.value;
|
|
1685
1689
|
}
|
|
1686
|
-
function
|
|
1690
|
+
function tt(e) {
|
|
1687
1691
|
return String(e ?? "").trim() === "" ? Ce : String(e);
|
|
1688
1692
|
}
|
|
1689
|
-
function
|
|
1693
|
+
function Tl(e) {
|
|
1690
1694
|
var t, o;
|
|
1691
1695
|
return (((t = e.customTimeRanges) == null ? void 0 : t.length) ?? 0) > 0 ? e.customTimeRanges.map((a) => ({
|
|
1692
|
-
label:
|
|
1693
|
-
value:
|
|
1696
|
+
label: tt(a.name),
|
|
1697
|
+
value: tt(a.name),
|
|
1694
1698
|
available: !0
|
|
1695
1699
|
})) : (((o = e.customOptions) == null ? void 0 : o.length) ?? 0) > 0 ? e.customOptions.map((a) => ({
|
|
1696
|
-
label:
|
|
1697
|
-
value:
|
|
1700
|
+
label: tt(a.label),
|
|
1701
|
+
value: tt(a.label),
|
|
1698
1702
|
available: !0
|
|
1699
1703
|
})) : [];
|
|
1700
1704
|
}
|
|
1701
|
-
function
|
|
1705
|
+
function Vl(e) {
|
|
1702
1706
|
const t = P(e.selectedValues || []);
|
|
1703
1707
|
if (!t.length) return;
|
|
1704
1708
|
const o = new Set(e.options.map((h) => h.value)), a = t.filter((h) => !o.has(h)).map((h) => ({
|
|
@@ -1708,12 +1712,12 @@ const Fn = { class: "flex flex-row flex-wrap gap-2" }, wn = { class: "inline-fle
|
|
|
1708
1712
|
}));
|
|
1709
1713
|
if (a.length) {
|
|
1710
1714
|
const h = [...e.options, ...a];
|
|
1711
|
-
e.options = Vt(e) ?
|
|
1715
|
+
e.options = Vt(e) ? it(h) : h;
|
|
1712
1716
|
}
|
|
1713
1717
|
}
|
|
1714
|
-
function
|
|
1718
|
+
function Nl(e) {
|
|
1715
1719
|
if (e.keepSelection) {
|
|
1716
|
-
|
|
1720
|
+
Vl(e);
|
|
1717
1721
|
const o = me(e);
|
|
1718
1722
|
e.selectedValues = o.length ? [...o] : [...e.selectedValues || []];
|
|
1719
1723
|
} else {
|
|
@@ -1729,30 +1733,30 @@ const Fn = { class: "flex flex-row flex-wrap gap-2" }, wn = { class: "inline-fle
|
|
|
1729
1733
|
selectedValues: t
|
|
1730
1734
|
});
|
|
1731
1735
|
}
|
|
1732
|
-
async function
|
|
1736
|
+
async function Cl(e, t) {
|
|
1733
1737
|
var o;
|
|
1734
1738
|
if (e.options = [], !((o = e.globalFilter.tileIds) != null && o.length)) {
|
|
1735
|
-
|
|
1739
|
+
nl(e);
|
|
1736
1740
|
return;
|
|
1737
1741
|
}
|
|
1738
1742
|
if (!(!e.type && (e.type = Ct(e.globalFilter), !e.type))) {
|
|
1739
1743
|
if (ze(e.globalFilter)) {
|
|
1740
|
-
e.options =
|
|
1744
|
+
e.options = Tl(e.globalFilter), Xe(e);
|
|
1741
1745
|
return;
|
|
1742
1746
|
}
|
|
1743
1747
|
switch (e.type) {
|
|
1744
1748
|
case be.String:
|
|
1745
1749
|
try {
|
|
1746
|
-
const a =
|
|
1750
|
+
const a = Sl(e.globalFilter);
|
|
1747
1751
|
if (!a.length) {
|
|
1748
1752
|
e.options = [];
|
|
1749
1753
|
return;
|
|
1750
1754
|
}
|
|
1751
|
-
const h =
|
|
1755
|
+
const h = At(), T = [];
|
|
1752
1756
|
for (const i of a) {
|
|
1753
1757
|
if (t.aborted) return;
|
|
1754
1758
|
if (h) {
|
|
1755
|
-
const V = await
|
|
1759
|
+
const V = await on({
|
|
1756
1760
|
widget: i,
|
|
1757
1761
|
signal: t,
|
|
1758
1762
|
scopedLocationIds: n.locationIds,
|
|
@@ -1760,24 +1764,24 @@ const Fn = { class: "flex flex-row flex-wrap gap-2" }, wn = { class: "inline-fle
|
|
|
1760
1764
|
scopedDateRange: n.dateRange,
|
|
1761
1765
|
scopedGlobalFilters: n.globalFilters
|
|
1762
1766
|
});
|
|
1763
|
-
(V == null ? void 0 : V.type) ===
|
|
1767
|
+
(V == null ? void 0 : V.type) === Bt.Table && T.push(...V.rows.map((pe) => {
|
|
1764
1768
|
var w;
|
|
1765
1769
|
return ((w = pe.cells) == null ? void 0 : w[0]) ?? " ";
|
|
1766
1770
|
}));
|
|
1767
1771
|
continue;
|
|
1768
1772
|
}
|
|
1769
1773
|
const J = ee(
|
|
1770
|
-
|
|
1774
|
+
Mt(e.globalFilter, It())
|
|
1771
1775
|
);
|
|
1772
1776
|
T.push(...J);
|
|
1773
1777
|
}
|
|
1774
1778
|
const g = Array.from(new Set(T)), $ = me(e), A = e.keepSelection ? Array.from(/* @__PURE__ */ new Set([...g, ...$])) : g, I = new Set(T), G = new Set(g);
|
|
1775
|
-
e.options =
|
|
1776
|
-
|
|
1779
|
+
e.options = it(
|
|
1780
|
+
Ul(A, {
|
|
1777
1781
|
unknownLabel: R.value,
|
|
1778
1782
|
getAvailable: (i) => e.keepSelection ? I.has(i) : G.has(i)
|
|
1779
1783
|
})
|
|
1780
|
-
),
|
|
1784
|
+
), Xe(e);
|
|
1781
1785
|
} catch (a) {
|
|
1782
1786
|
if ((a == null ? void 0 : a.code) === "ERR_CANCELED" || (a == null ? void 0 : a.name) === "CanceledError")
|
|
1783
1787
|
return;
|
|
@@ -1788,7 +1792,7 @@ const Fn = { class: "flex flex-row flex-wrap gap-2" }, wn = { class: "inline-fle
|
|
|
1788
1792
|
e.options = [
|
|
1789
1793
|
{ label: s("report.common.yes"), value: !0 },
|
|
1790
1794
|
{ label: s("report.common.no"), value: !1 }
|
|
1791
|
-
],
|
|
1795
|
+
], Xe(e);
|
|
1792
1796
|
break;
|
|
1793
1797
|
}
|
|
1794
1798
|
case be.Timestamp:
|
|
@@ -1796,14 +1800,14 @@ const Fn = { class: "flex flex-row flex-wrap gap-2" }, wn = { class: "inline-fle
|
|
|
1796
1800
|
const a = e.globalFilter.option;
|
|
1797
1801
|
e.options = pt({ dimensionOption: a, t: s }), e.globalFilter.values = e.options.length ? e.options.map((h) => h.value) : ["NULL"];
|
|
1798
1802
|
}
|
|
1799
|
-
|
|
1803
|
+
Xe(e);
|
|
1800
1804
|
break;
|
|
1801
1805
|
case be.Numeric:
|
|
1802
1806
|
break;
|
|
1803
1807
|
}
|
|
1804
1808
|
}
|
|
1805
1809
|
}
|
|
1806
|
-
async function
|
|
1810
|
+
async function lt() {
|
|
1807
1811
|
if (!K.value || !x.value.length) return;
|
|
1808
1812
|
z && z.abort();
|
|
1809
1813
|
const e = new AbortController();
|
|
@@ -1811,50 +1815,50 @@ const Fn = { class: "flex flex-row flex-wrap gap-2" }, wn = { class: "inline-fle
|
|
|
1811
1815
|
try {
|
|
1812
1816
|
await Promise.all(
|
|
1813
1817
|
x.value.map(
|
|
1814
|
-
(t) =>
|
|
1818
|
+
(t) => Cl(t, e.signal)
|
|
1815
1819
|
)
|
|
1816
1820
|
);
|
|
1817
1821
|
} finally {
|
|
1818
1822
|
z === e && (N.value = !1), n.isDialogGlobalFilter && z === e && (W.value = !1);
|
|
1819
1823
|
}
|
|
1820
1824
|
}
|
|
1821
|
-
function
|
|
1822
|
-
const o =
|
|
1825
|
+
function xt(e, t) {
|
|
1826
|
+
const o = He(e), a = Ee(e);
|
|
1823
1827
|
if (a.includes(t)) {
|
|
1824
1828
|
const g = a.filter(($) => $ !== t);
|
|
1825
1829
|
e.selectedValues = g.length > 0 ? g : [we];
|
|
1826
1830
|
} else {
|
|
1827
1831
|
const g = [...a, t], $ = o.length > 0 && o.every((A) => g.includes(A));
|
|
1828
|
-
e.selectedValues = $ ?
|
|
1832
|
+
e.selectedValues = $ ? Ot(e) : g;
|
|
1829
1833
|
}
|
|
1830
1834
|
const T = Ye(e);
|
|
1831
1835
|
e.selectedValues = [...T], S(e.globalFilter, k(e.id), {
|
|
1832
1836
|
selectedValues: T
|
|
1833
1837
|
});
|
|
1834
1838
|
}
|
|
1835
|
-
function
|
|
1839
|
+
function $t(e, t) {
|
|
1836
1840
|
const o = e.globalFilter, a = t ? [
|
|
1837
|
-
|
|
1838
|
-
|
|
1841
|
+
zl(Pt(t.startDate, u.value), u.value),
|
|
1842
|
+
ql(Pt(t.endDate, u.value), u.value)
|
|
1839
1843
|
] : [];
|
|
1840
1844
|
t === null ? o.values = [] : o.values = a, e.selectedValues = [...a], e.keepSelection = t !== null, S(e.globalFilter, k(e.id), {
|
|
1841
1845
|
keepSelection: e.keepSelection,
|
|
1842
1846
|
selectedValues: [...a]
|
|
1843
1847
|
}), ne(e.globalFilter);
|
|
1844
1848
|
}
|
|
1845
|
-
function
|
|
1849
|
+
function kl(e) {
|
|
1846
1850
|
const t = Ee(e);
|
|
1847
1851
|
return `${s("report.section.filter.selectAll")} (${t.length}/${e.options.length})`;
|
|
1848
1852
|
}
|
|
1849
|
-
function
|
|
1853
|
+
function Ol() {
|
|
1850
1854
|
return s("report.section.filter.search");
|
|
1851
1855
|
}
|
|
1852
|
-
function
|
|
1856
|
+
function nt(e) {
|
|
1853
1857
|
const t = y(e.globalFilter), o = e.options.length > 0 ? "(0 selected)" : "";
|
|
1854
1858
|
if (e.type === be.Timestamp && !ze(e.globalFilter)) {
|
|
1855
1859
|
const g = fe(e), $ = g.length === 2;
|
|
1856
1860
|
if (e.globalFilter.option === B.DateTime)
|
|
1857
|
-
return { preview: $ ? `${t} is between ${
|
|
1861
|
+
return { preview: $ ? `${t} is between ${Pl({
|
|
1858
1862
|
startDate: g[0] || null,
|
|
1859
1863
|
endDate: g[1] || null,
|
|
1860
1864
|
locale: r.value,
|
|
@@ -1862,7 +1866,7 @@ const Fn = { class: "flex flex-row flex-wrap gap-2" }, wn = { class: "inline-fle
|
|
|
1862
1866
|
})}` : t, suffix: "" };
|
|
1863
1867
|
if (e.globalFilter.option === B.TimeOfDay) {
|
|
1864
1868
|
const A = g[0] ? E(g[0]).tz(u.value) : null, I = g[1] ? E(g[1]).tz(u.value) : null, G = (J) => J && J.isValid() ? { hour: J.hour(), minute: J.minute() } : null;
|
|
1865
|
-
return { preview: $ ? `${t} is between ${
|
|
1869
|
+
return { preview: $ ? `${t} is between ${Kt({
|
|
1866
1870
|
startTime: G(A),
|
|
1867
1871
|
endTime: G(I),
|
|
1868
1872
|
locale: r.value
|
|
@@ -1885,10 +1889,10 @@ const Fn = { class: "flex flex-row flex-wrap gap-2" }, wn = { class: "inline-fle
|
|
|
1885
1889
|
suffix: `(${h.length} selected)`
|
|
1886
1890
|
} : { preview: t, suffix: o };
|
|
1887
1891
|
}
|
|
1888
|
-
function Ol(e) {
|
|
1889
|
-
rt(e), ne(e.globalFilter), document.body.click();
|
|
1890
|
-
}
|
|
1891
1892
|
function _l(e) {
|
|
1893
|
+
ot(e), ne(e.globalFilter), document.body.click();
|
|
1894
|
+
}
|
|
1895
|
+
function Rl(e) {
|
|
1892
1896
|
const t = O(
|
|
1893
1897
|
e.globalFilter,
|
|
1894
1898
|
k(e.id)
|
|
@@ -1897,20 +1901,20 @@ const Fn = { class: "flex flex-row flex-wrap gap-2" }, wn = { class: "inline-fle
|
|
|
1897
1901
|
selectedValues: e.selectedValues
|
|
1898
1902
|
}), document.body.click();
|
|
1899
1903
|
}
|
|
1900
|
-
function
|
|
1904
|
+
function Al(e) {
|
|
1901
1905
|
e.showAdvanced = !e.showAdvanced, S(e.globalFilter, k(e.id), {
|
|
1902
1906
|
showAdvanced: e.showAdvanced
|
|
1903
1907
|
});
|
|
1904
1908
|
}
|
|
1905
|
-
function
|
|
1909
|
+
function Il(e) {
|
|
1906
1910
|
e.keepSelection = !e.keepSelection, c(e.keepSelection), S(e.globalFilter, k(e.id), {
|
|
1907
1911
|
keepSelection: e.keepSelection
|
|
1908
|
-
}),
|
|
1912
|
+
}), Nl(e);
|
|
1909
1913
|
}
|
|
1910
|
-
function
|
|
1914
|
+
function xl(e, t) {
|
|
1911
1915
|
return e ? e.length > t ? `${e.slice(0, t)}…` : e : R.value;
|
|
1912
1916
|
}
|
|
1913
|
-
function
|
|
1917
|
+
function Gt(e, t) {
|
|
1914
1918
|
var h, T, g, $;
|
|
1915
1919
|
const o = e.globalFilter;
|
|
1916
1920
|
let a = [];
|
|
@@ -1927,22 +1931,22 @@ const Fn = { class: "flex flex-row flex-wrap gap-2" }, wn = { class: "inline-fle
|
|
|
1927
1931
|
}
|
|
1928
1932
|
return (e, t) => {
|
|
1929
1933
|
const o = te("FmCircularProgress"), a = te("FmTextField"), h = te("FmMenuItem"), T = te("FmTooltip"), g = te("FmIcon"), $ = te("FmMenuDivider"), A = te("FmSwitch"), I = te("FmButton"), G = te("FmMenu");
|
|
1930
|
-
return X(), he("div",
|
|
1934
|
+
return X(), he("div", wn, [
|
|
1931
1935
|
(X(!0), he(Le, null, bt(x.value, (i, J) => (X(), he("div", {
|
|
1932
1936
|
key: i.id
|
|
1933
1937
|
}, [
|
|
1934
|
-
i.globalFilter.option === D(B).DateTime && !ze(i.globalFilter) ? (X(), De(
|
|
1938
|
+
i.globalFilter.option === D(B).DateTime && !ze(i.globalFilter) ? (X(), De(Ll, {
|
|
1935
1939
|
key: 0,
|
|
1936
1940
|
"date-range": {
|
|
1937
1941
|
startDate: fe(i)[0],
|
|
1938
1942
|
endDate: fe(i)[1]
|
|
1939
1943
|
},
|
|
1940
1944
|
class: "w-full",
|
|
1941
|
-
label:
|
|
1945
|
+
label: nt(i).preview,
|
|
1942
1946
|
removable: fe(i).length === 2,
|
|
1943
|
-
onUpdate: (V) =>
|
|
1944
|
-
onChipClosed: () =>
|
|
1945
|
-
}, null, 8, ["date-range", "label", "removable", "onUpdate", "onChipClosed"])) : i.globalFilter.option === D(B).TimeOfDay && !ze(i.globalFilter) ? (X(), De(
|
|
1947
|
+
onUpdate: (V) => $t(i, V),
|
|
1948
|
+
onChipClosed: () => $t(i, null)
|
|
1949
|
+
}, null, 8, ["date-range", "label", "removable", "onUpdate", "onChipClosed"])) : i.globalFilter.option === D(B).TimeOfDay && !ze(i.globalFilter) ? (X(), De(Sn, {
|
|
1946
1950
|
key: 1,
|
|
1947
1951
|
"time-range": {
|
|
1948
1952
|
start: fe(i)[0] ? {
|
|
@@ -1955,10 +1959,10 @@ const Fn = { class: "flex flex-row flex-wrap gap-2" }, wn = { class: "inline-fle
|
|
|
1955
1959
|
} : null
|
|
1956
1960
|
},
|
|
1957
1961
|
class: "w-full",
|
|
1958
|
-
label:
|
|
1962
|
+
label: nt(i).preview,
|
|
1959
1963
|
removable: fe(i).length === 2,
|
|
1960
|
-
onUpdate: (V) =>
|
|
1961
|
-
onChipClosed: () =>
|
|
1964
|
+
onUpdate: (V) => Gt(i, V),
|
|
1965
|
+
onChipClosed: () => Gt(i, null)
|
|
1962
1966
|
}, null, 8, ["time-range", "label", "removable", "onUpdate", "onChipClosed"])) : (X(), De(G, {
|
|
1963
1967
|
key: 2,
|
|
1964
1968
|
"close-on-click": !1,
|
|
@@ -1966,16 +1970,16 @@ const Fn = { class: "flex flex-row flex-wrap gap-2" }, wn = { class: "inline-fle
|
|
|
1966
1970
|
open: D(b)(i.id)
|
|
1967
1971
|
}, {
|
|
1968
1972
|
"menu-button": ie(() => [
|
|
1969
|
-
Y("div",
|
|
1970
|
-
M(
|
|
1973
|
+
Y("div", Dn, [
|
|
1974
|
+
M(Jt, {
|
|
1971
1975
|
"left-icon": "filter_alt",
|
|
1972
1976
|
"trailing-icon": "expand_more",
|
|
1973
1977
|
loading: ce(i),
|
|
1974
|
-
label:
|
|
1978
|
+
label: nt(i).preview,
|
|
1975
1979
|
class: "w-full"
|
|
1976
1980
|
}, {
|
|
1977
1981
|
default: ie(() => [
|
|
1978
|
-
|
|
1982
|
+
rt(ve(nt(i).suffix), 1)
|
|
1979
1983
|
]),
|
|
1980
1984
|
_: 2
|
|
1981
1985
|
}, 1032, ["loading", "label"])
|
|
@@ -1984,31 +1988,31 @@ const Fn = { class: "flex flex-row flex-wrap gap-2" }, wn = { class: "inline-fle
|
|
|
1984
1988
|
"menu-wrapper": ie(({ maxHeight: V, width: pe }) => [
|
|
1985
1989
|
Y("div", {
|
|
1986
1990
|
class: "flex flex-col bg-fm-color-neutral-white p-2 rounded-lg shadow-light-300",
|
|
1987
|
-
style:
|
|
1991
|
+
style: El({ maxHeight: `${V}px`, width: pe })
|
|
1988
1992
|
}, [
|
|
1989
|
-
ce(i) ? (X(), he("div",
|
|
1993
|
+
ce(i) ? (X(), he("div", Tn, [
|
|
1990
1994
|
M(o)
|
|
1991
1995
|
])) : i.options.length > 0 ? (X(), he(Le, { key: 1 }, [
|
|
1992
|
-
Y("div",
|
|
1996
|
+
Y("div", Vn, [
|
|
1993
1997
|
M(a, {
|
|
1994
1998
|
modelValue: i.search,
|
|
1995
|
-
"onUpdate:modelValue": [(w) => i.search = w, (w) =>
|
|
1999
|
+
"onUpdate:modelValue": [(w) => i.search = w, (w) => Dl(i, w)],
|
|
1996
2000
|
type: "text",
|
|
1997
2001
|
"prepend-icon": "search",
|
|
1998
|
-
placeholder:
|
|
2002
|
+
placeholder: Ol(),
|
|
1999
2003
|
class: "border px-2 pb-8 text-sm mb-1 rounded"
|
|
2000
2004
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder"])
|
|
2001
2005
|
]),
|
|
2002
|
-
Y("div",
|
|
2003
|
-
Y("div",
|
|
2006
|
+
Y("div", Nn, [
|
|
2007
|
+
Y("div", Cn, [
|
|
2004
2008
|
M(h, {
|
|
2005
|
-
label:
|
|
2009
|
+
label: kl(i),
|
|
2006
2010
|
"has-checkbox": !0,
|
|
2007
2011
|
"model-value": kt(i),
|
|
2008
2012
|
indeterminate: !0,
|
|
2009
|
-
onClick: (w) =>
|
|
2013
|
+
onClick: (w) => Fl(i)
|
|
2010
2014
|
}, null, 8, ["label", "model-value", "onClick"]),
|
|
2011
|
-
(X(!0), he(Le, null, bt(
|
|
2015
|
+
(X(!0), he(Le, null, bt(Rt.value[J], (w) => (X(), he(Le, {
|
|
2012
2016
|
key: w.value
|
|
2013
2017
|
}, [
|
|
2014
2018
|
w.label && w.label.length > 110 ? (X(), De(T, {
|
|
@@ -2018,19 +2022,19 @@ const Fn = { class: "flex flex-row flex-wrap gap-2" }, wn = { class: "inline-fle
|
|
|
2018
2022
|
"z-index": 2e3
|
|
2019
2023
|
}, {
|
|
2020
2024
|
content: ie(() => [
|
|
2021
|
-
|
|
2025
|
+
rt(ve(w.label), 1)
|
|
2022
2026
|
]),
|
|
2023
2027
|
default: ie(() => [
|
|
2024
|
-
Y("div",
|
|
2028
|
+
Y("div", kn, [
|
|
2025
2029
|
M(h, {
|
|
2026
|
-
label:
|
|
2030
|
+
label: xl(w.label, 110),
|
|
2027
2031
|
"has-checkbox": !0,
|
|
2028
|
-
"model-value":
|
|
2029
|
-
class:
|
|
2032
|
+
"model-value": _t(i, w.value),
|
|
2033
|
+
class: Lt([
|
|
2030
2034
|
"flex-1 text-left",
|
|
2031
2035
|
{ "bg-gray-200": w.available === !1 }
|
|
2032
2036
|
]),
|
|
2033
|
-
onClick: () =>
|
|
2037
|
+
onClick: () => xt(i, w.value)
|
|
2034
2038
|
}, null, 8, ["label", "model-value", "class", "onClick"])
|
|
2035
2039
|
])
|
|
2036
2040
|
]),
|
|
@@ -2039,47 +2043,47 @@ const Fn = { class: "flex flex-row flex-wrap gap-2" }, wn = { class: "inline-fle
|
|
|
2039
2043
|
key: 1,
|
|
2040
2044
|
label: w.label,
|
|
2041
2045
|
"has-checkbox": !0,
|
|
2042
|
-
"model-value":
|
|
2043
|
-
class:
|
|
2044
|
-
onClick: () =>
|
|
2046
|
+
"model-value": _t(i, w.value),
|
|
2047
|
+
class: Lt(["flex-1 text-left", { "bg-gray-100": w.available === !1 }]),
|
|
2048
|
+
onClick: () => xt(i, w.value)
|
|
2045
2049
|
}, null, 8, ["label", "model-value", "class", "onClick"]))
|
|
2046
2050
|
], 64))), 128)),
|
|
2047
|
-
|
|
2051
|
+
Rt.value[J].length < i.options.length && !i.search ? (X(), De(h, {
|
|
2048
2052
|
key: 0,
|
|
2049
2053
|
class: "fm-typo-en-body-md-400 -ml-2",
|
|
2050
2054
|
label: D(s)("report.section.filter.loadMore"),
|
|
2051
|
-
onClick: dt((w) =>
|
|
2055
|
+
onClick: dt((w) => wl(i), ["stop"]),
|
|
2052
2056
|
icon: "autorenew"
|
|
2053
2057
|
}, null, 8, ["label", "onClick"])) : ht("", !0)
|
|
2054
2058
|
])
|
|
2055
2059
|
]),
|
|
2056
2060
|
Y("div", {
|
|
2057
2061
|
class: "px-12 py-2 flex items-center gap-2 cursor-pointer hover:bg-fm-color-neutral-50 transition-colors",
|
|
2058
|
-
onClick: (w) =>
|
|
2062
|
+
onClick: (w) => Al(i)
|
|
2059
2063
|
}, [
|
|
2060
2064
|
M(g, {
|
|
2061
2065
|
name: i.showAdvanced ? "keyboard_arrow_up" : "keyboard_arrow_down",
|
|
2062
2066
|
size: "md",
|
|
2063
2067
|
class: ""
|
|
2064
2068
|
}, null, 8, ["name"]),
|
|
2065
|
-
Y("span",
|
|
2066
|
-
], 8,
|
|
2069
|
+
Y("span", _n, ve(D(s)("report.section.filter.advanced")), 1)
|
|
2070
|
+
], 8, On),
|
|
2067
2071
|
M($),
|
|
2068
|
-
i.showAdvanced ? (X(), he("div",
|
|
2069
|
-
Y("div",
|
|
2070
|
-
Y("div",
|
|
2072
|
+
i.showAdvanced ? (X(), he("div", Rn, [
|
|
2073
|
+
Y("div", An, [
|
|
2074
|
+
Y("div", In, [
|
|
2071
2075
|
M(A, {
|
|
2072
2076
|
"model-value": i.keepSelection,
|
|
2073
2077
|
label: D(s)("report.section.filter.keepSelection"),
|
|
2074
2078
|
labelPlacement: "right",
|
|
2075
|
-
"onUpdate:modelValue": () =>
|
|
2079
|
+
"onUpdate:modelValue": () => Il(i)
|
|
2076
2080
|
}, null, 8, ["model-value", "label", "onUpdate:modelValue"]),
|
|
2077
2081
|
M(T, {
|
|
2078
2082
|
placement: "top",
|
|
2079
2083
|
"z-index": 2e3
|
|
2080
2084
|
}, {
|
|
2081
2085
|
content: ie(() => [
|
|
2082
|
-
Y("div",
|
|
2086
|
+
Y("div", xn, ve(D(s)("report.section.filter.keepSelectionTooltip")), 1)
|
|
2083
2087
|
]),
|
|
2084
2088
|
default: ie(() => [
|
|
2085
2089
|
M(g, {
|
|
@@ -2093,19 +2097,19 @@ const Fn = { class: "flex flex-row flex-wrap gap-2" }, wn = { class: "inline-fle
|
|
|
2093
2097
|
])
|
|
2094
2098
|
])
|
|
2095
2099
|
])) : ht("", !0),
|
|
2096
|
-
Y("div",
|
|
2100
|
+
Y("div", $n, [
|
|
2097
2101
|
M(I, {
|
|
2098
2102
|
variant: "tertiary",
|
|
2099
2103
|
label: D(s)("report.common.cancel"),
|
|
2100
|
-
onClick: dt((w) =>
|
|
2104
|
+
onClick: dt((w) => Rl(i), ["stop"])
|
|
2101
2105
|
}, null, 8, ["label", "onClick"]),
|
|
2102
2106
|
M(I, {
|
|
2103
2107
|
color: "primary",
|
|
2104
|
-
onClick: dt((w) =>
|
|
2108
|
+
onClick: dt((w) => _l(i), ["stop"]),
|
|
2105
2109
|
label: D(s)("report.common.apply")
|
|
2106
2110
|
}, null, 8, ["onClick", "label"])
|
|
2107
2111
|
])
|
|
2108
|
-
], 64)) : (X(), De(
|
|
2112
|
+
], 64)) : (X(), De(jl, {
|
|
2109
2113
|
key: 2,
|
|
2110
2114
|
title: ct(i) ? D(s)("report.messages.noWidgetsApplied") : void 0,
|
|
2111
2115
|
"sub-title": ct(i) ? D(s)("report.messages.assignWidgetsToUseThisFilter") : void 0
|
|
@@ -2115,32 +2119,32 @@ const Fn = { class: "flex flex-row flex-wrap gap-2" }, wn = { class: "inline-fle
|
|
|
2115
2119
|
_: 2
|
|
2116
2120
|
}, 1032, ["open"]))
|
|
2117
2121
|
]))), 128)),
|
|
2118
|
-
|
|
2122
|
+
Qt(e.$slots, "default")
|
|
2119
2123
|
]);
|
|
2120
2124
|
};
|
|
2121
2125
|
}
|
|
2122
2126
|
});
|
|
2123
2127
|
export {
|
|
2124
2128
|
Ie as I,
|
|
2125
|
-
|
|
2126
|
-
|
|
2127
|
-
|
|
2128
|
-
|
|
2129
|
-
|
|
2130
|
-
|
|
2131
|
-
|
|
2132
|
-
|
|
2133
|
-
|
|
2134
|
-
|
|
2135
|
-
|
|
2136
|
-
|
|
2137
|
-
|
|
2138
|
-
|
|
2139
|
-
|
|
2140
|
-
|
|
2141
|
-
|
|
2142
|
-
|
|
2143
|
-
|
|
2144
|
-
|
|
2145
|
-
|
|
2129
|
+
Ht as R,
|
|
2130
|
+
ta as _,
|
|
2131
|
+
Hn as a,
|
|
2132
|
+
Xn as b,
|
|
2133
|
+
ea as c,
|
|
2134
|
+
Un as d,
|
|
2135
|
+
jt as e,
|
|
2136
|
+
Sn as f,
|
|
2137
|
+
Zn as g,
|
|
2138
|
+
Jl as h,
|
|
2139
|
+
jn as i,
|
|
2140
|
+
cn as j,
|
|
2141
|
+
Zl as k,
|
|
2142
|
+
Yn as l,
|
|
2143
|
+
Jn as m,
|
|
2144
|
+
Qn as n,
|
|
2145
|
+
on as q,
|
|
2146
|
+
Kn as r,
|
|
2147
|
+
dn as s,
|
|
2148
|
+
Ut as t,
|
|
2149
|
+
Zt as u
|
|
2146
2150
|
};
|