@feedmepos/mf-report 5.4.36 → 5.5.0-beta.1
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-DcfI_XNW.js → App-C8OrqIII.js} +42 -42
- package/dist/{DateRangeSelect.vue_vue_type_script_setup_true_lang-i3aSXdHt.js → DateRangeSelect.vue_vue_type_script_setup_true_lang-Xex8S8XX.js} +2 -2
- package/dist/Default.vue_vue_type_script_setup_true_lang-BLozzioO.js +41 -0
- package/dist/DynamicWidget.vue_vue_type_script_setup_true_lang-C6n257cI.js +1004 -0
- package/dist/{InsightView-PI6dgol0.js → InsightView-D6SS99hR.js} +11 -12
- package/dist/{Integration-C1po_0N1.js → Integration-bg1bO0u3.js} +1319 -1319
- package/dist/{Integrations-BqqDb5qr.js → Integrations-B6ACZi86.js} +3 -3
- package/dist/{Layout-BUWlLMP4.js → Layout-Ddcn-nHV.js} +1 -1
- package/dist/MenuTab.vue_vue_type_script_setup_true_lang-DmU--6is.js +101 -0
- package/dist/NavigationTab.vue_vue_type_script_setup_true_lang-OVySbMGt.js +34665 -0
- package/dist/{NoData.vue_vue_type_script_setup_true_lang-BFnX-1M0.js → NoData.vue_vue_type_script_setup_true_lang-DI4X_DSc.js} +1 -1
- package/dist/{OverviewView-CoubbhjM.js → OverviewView-U5_KCGUs.js} +5 -5
- package/dist/{Report-bQSl3Plq.js → Report-C6XBxHBU.js} +4 -4
- package/dist/{ReportEditor-DswBRaYe.js → ReportEditor-CACAI5rx.js} +5 -5
- package/dist/{ReportView-BoipuiKU.js → ReportView-CXuc9Ou0.js} +72 -61
- package/dist/{SelectComponent.vue_vue_type_script_setup_true_lang-C_5JqpZI.js → SelectComponent.vue_vue_type_script_setup_true_lang-BVs1C4af.js} +1 -1
- package/dist/{Setting-D1cxNFnN.js → Setting-Bikoxb1y.js} +4 -4
- package/dist/{TileEditor-BmWA9yaI.js → TileEditor-DnDiDIo3.js} +8 -8
- package/dist/{TransitionFade-Bl7Fs0Kr.js → TransitionFade-DBduwk2M.js} +264 -264
- package/dist/app.js +17 -14
- package/dist/{global-loader-j3FZYjO_.js → global-loader-BqFQzk46.js} +1021 -1023
- package/dist/{index-BsN83BDH.js → index-Cmh079Bh.js} +1 -1
- package/dist/{report-schema-Bk6c6uMR.js → report-schema-OJAFh4P6.js} +1 -1
- package/dist/{v4-BdEILobK.js → v4-BS8SFGqd.js} +471 -434
- package/package.json +1 -1
- package/dist/Default.vue_vue_type_script_setup_true_lang-BvcF29hM.js +0 -41
- package/dist/DynamicWidget.vue_vue_type_script_setup_true_lang-B6izaIir.js +0 -999
- package/dist/LocationSelect.vue_vue_type_script_setup_true_lang-CF4VlKJk.js +0 -7988
- package/dist/MenuTab.vue_vue_type_script_setup_true_lang-CkQjrXwQ.js +0 -276
- package/dist/NavigationTab.vue_vue_type_script_setup_true_lang-CoAZxwTP.js +0 -26128
- package/dist/timeFormat-DJ-S2Pv8.js +0 -9
|
@@ -1,81 +1,81 @@
|
|
|
1
|
-
import { j as xe, a as
|
|
2
|
-
import { storeToRefs as
|
|
3
|
-
import { ref as
|
|
4
|
-
import { useSnackbar as
|
|
5
|
-
import { useRouter as
|
|
6
|
-
function qe(
|
|
7
|
-
throw new Error('Could not dynamically require "' +
|
|
1
|
+
import { j as xe, a as te, F as re, h as X, b as Je, c as ke, n as Ye, d as ue, e as je, k as ze } from "./global-loader-BqFQzk46.js";
|
|
2
|
+
import { storeToRefs as W, defineStore as He } from "pinia";
|
|
3
|
+
import { ref as K, computed as Ae, h as Ke, watch as Xe } from "vue";
|
|
4
|
+
import { useSnackbar as Ze, components as et } from "@feedmepos/ui-library";
|
|
5
|
+
import { useRouter as tt } from "vue-router";
|
|
6
|
+
function qe(O) {
|
|
7
|
+
throw new Error('Could not dynamically require "' + O + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
|
|
8
8
|
}
|
|
9
|
-
var
|
|
10
|
-
(function(
|
|
11
|
-
var
|
|
12
|
-
w.scheduleImmediate = typeof setImmediate < "u" ? function(
|
|
13
|
-
setImmediate(
|
|
14
|
-
} : function(
|
|
15
|
-
setTimeout(
|
|
16
|
-
}, w.exports =
|
|
17
|
-
var
|
|
9
|
+
var Ie = {};
|
|
10
|
+
(function(O) {
|
|
11
|
+
var J = typeof xe < "u" ? xe : window, w = Object.create(J);
|
|
12
|
+
w.scheduleImmediate = typeof setImmediate < "u" ? function(q) {
|
|
13
|
+
setImmediate(q);
|
|
14
|
+
} : function(q) {
|
|
15
|
+
setTimeout(q, 0);
|
|
16
|
+
}, w.exports = O, typeof process < "u" && (w.process = process), typeof __dirname < "u" && (w.__dirname = __dirname), typeof __filename < "u" && (w.__filename = __filename), typeof Buffer < "u" && (w.Buffer = Buffer);
|
|
17
|
+
var U = !J.window;
|
|
18
18
|
try {
|
|
19
|
-
typeof WorkerGlobalScope < "u" &&
|
|
19
|
+
typeof WorkerGlobalScope < "u" && J instanceof WorkerGlobalScope && (U = !1), typeof process < "u" && process.versions && process.versions.hasOwnProperty("electron") && process.versions.hasOwnProperty("node") && (U = !0);
|
|
20
20
|
} catch {
|
|
21
21
|
}
|
|
22
|
-
if (
|
|
22
|
+
if (U) {
|
|
23
23
|
var k = (typeof __webpack_require__ < "u" ? __non_webpack_require__ : qe)("url");
|
|
24
24
|
Object.defineProperty(w, "location", {
|
|
25
25
|
value: {
|
|
26
26
|
get href() {
|
|
27
27
|
return k.pathToFileURL ? k.pathToFileURL(process.cwd()).href + "/" : "file://" + function() {
|
|
28
|
-
var
|
|
29
|
-
return process.platform != "win32" ?
|
|
28
|
+
var q = process.cwd();
|
|
29
|
+
return process.platform != "win32" ? q : "/" + q.replace(/\\/g, "/");
|
|
30
30
|
}() + "/";
|
|
31
31
|
}
|
|
32
32
|
}
|
|
33
33
|
}), function() {
|
|
34
|
-
function
|
|
34
|
+
function q() {
|
|
35
35
|
try {
|
|
36
36
|
throw new Error();
|
|
37
|
-
} catch (
|
|
38
|
-
var
|
|
37
|
+
} catch (G) {
|
|
38
|
+
var N = G.stack, B = new RegExp("^ *at [^(]*\\((.*):[0-9]*:[0-9]*\\)$", "mg"), Q = null;
|
|
39
39
|
do {
|
|
40
|
-
var
|
|
41
|
-
|
|
42
|
-
} while (
|
|
43
|
-
return
|
|
40
|
+
var V = B.exec(N);
|
|
41
|
+
V != null && (Q = V);
|
|
42
|
+
} while (V != null);
|
|
43
|
+
return Q[1];
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
|
-
var
|
|
46
|
+
var P = null;
|
|
47
47
|
Object.defineProperty(w, "document", {
|
|
48
48
|
value: {
|
|
49
49
|
get currentScript() {
|
|
50
|
-
return
|
|
50
|
+
return P == null && (P = { src: q() }), P;
|
|
51
51
|
}
|
|
52
52
|
}
|
|
53
53
|
});
|
|
54
|
-
}(), w.dartDeferredLibraryLoader = function(
|
|
54
|
+
}(), w.dartDeferredLibraryLoader = function(q, P, N) {
|
|
55
55
|
try {
|
|
56
|
-
load(
|
|
57
|
-
} catch (
|
|
58
|
-
|
|
56
|
+
load(q), P();
|
|
57
|
+
} catch (B) {
|
|
58
|
+
N(B);
|
|
59
59
|
}
|
|
60
60
|
};
|
|
61
61
|
}
|
|
62
62
|
(function() {
|
|
63
|
-
function
|
|
63
|
+
function P(r, e) {
|
|
64
64
|
for (var i = Object.keys(r), n = 0; n < i.length; n++) {
|
|
65
65
|
var a = i[n];
|
|
66
66
|
e[a] = r[a];
|
|
67
67
|
}
|
|
68
68
|
}
|
|
69
|
-
function
|
|
69
|
+
function N(r, e) {
|
|
70
70
|
for (var i = Object.keys(r), n = 0; n < i.length; n++) {
|
|
71
71
|
var a = i[n];
|
|
72
72
|
e.hasOwnProperty(a) || (e[a] = r[a]);
|
|
73
73
|
}
|
|
74
74
|
}
|
|
75
|
-
function
|
|
75
|
+
function B(r, e) {
|
|
76
76
|
Object.assign(e, r);
|
|
77
77
|
}
|
|
78
|
-
var
|
|
78
|
+
var Q = function() {
|
|
79
79
|
var r = function() {
|
|
80
80
|
};
|
|
81
81
|
r.prototype = { p: {} };
|
|
@@ -94,27 +94,27 @@ var Me = {};
|
|
|
94
94
|
}
|
|
95
95
|
return !1;
|
|
96
96
|
}();
|
|
97
|
-
function
|
|
97
|
+
function V(r, e) {
|
|
98
98
|
if (r.prototype.constructor = r, r.prototype["$is" + r.name] = r, e != null) {
|
|
99
|
-
if (
|
|
99
|
+
if (Q) {
|
|
100
100
|
r.prototype.__proto__ = e.prototype;
|
|
101
101
|
return;
|
|
102
102
|
}
|
|
103
103
|
var i = Object.create(e.prototype);
|
|
104
|
-
|
|
104
|
+
P(r.prototype, i), r.prototype = i;
|
|
105
105
|
}
|
|
106
106
|
}
|
|
107
|
-
function
|
|
107
|
+
function G(r, e) {
|
|
108
108
|
for (var i = 0; i < e.length; i++)
|
|
109
|
-
|
|
109
|
+
V(e[i], r);
|
|
110
110
|
}
|
|
111
|
-
function
|
|
112
|
-
|
|
111
|
+
function Y(r, e) {
|
|
112
|
+
B(e.prototype, r.prototype), r.prototype.constructor = r;
|
|
113
113
|
}
|
|
114
|
-
function
|
|
115
|
-
|
|
114
|
+
function oe(r, e) {
|
|
115
|
+
N(e.prototype, r.prototype), r.prototype.constructor = r;
|
|
116
116
|
}
|
|
117
|
-
function
|
|
117
|
+
function Z(r, e, i, n) {
|
|
118
118
|
var a = r;
|
|
119
119
|
r[e] = a, r[i] = function() {
|
|
120
120
|
r[i] = function() {
|
|
@@ -131,7 +131,7 @@ var Me = {};
|
|
|
131
131
|
return s;
|
|
132
132
|
};
|
|
133
133
|
}
|
|
134
|
-
function
|
|
134
|
+
function ee(r, e, i, n) {
|
|
135
135
|
var a = r;
|
|
136
136
|
r[e] = a, r[i] = function() {
|
|
137
137
|
return r[e] === a && (r[e] = n()), r[i] = function() {
|
|
@@ -139,7 +139,7 @@ var Me = {};
|
|
|
139
139
|
}, r[e];
|
|
140
140
|
};
|
|
141
141
|
}
|
|
142
|
-
function
|
|
142
|
+
function ae(r, e, i, n) {
|
|
143
143
|
var a = r;
|
|
144
144
|
r[e] = a, r[i] = function() {
|
|
145
145
|
if (r[e] === a) {
|
|
@@ -152,13 +152,13 @@ var Me = {};
|
|
|
152
152
|
}, l;
|
|
153
153
|
};
|
|
154
154
|
}
|
|
155
|
-
function
|
|
155
|
+
function se(r) {
|
|
156
156
|
return r.immutable$list = Array, r.fixed$length = Array, r;
|
|
157
157
|
}
|
|
158
|
-
function
|
|
158
|
+
function ie(r) {
|
|
159
159
|
return r;
|
|
160
160
|
}
|
|
161
|
-
function
|
|
161
|
+
function ne(r) {
|
|
162
162
|
for (var e = 0; e < r.length; ++e)
|
|
163
163
|
r[e];
|
|
164
164
|
}
|
|
@@ -195,7 +195,7 @@ var Me = {};
|
|
|
195
195
|
T.interceptorsByTag = r;
|
|
196
196
|
return;
|
|
197
197
|
}
|
|
198
|
-
|
|
198
|
+
P(r, e);
|
|
199
199
|
}
|
|
200
200
|
function Te(r) {
|
|
201
201
|
var e = T.leafTags;
|
|
@@ -203,16 +203,16 @@ var Me = {};
|
|
|
203
203
|
T.leafTags = r;
|
|
204
204
|
return;
|
|
205
205
|
}
|
|
206
|
-
|
|
206
|
+
P(r, e);
|
|
207
207
|
}
|
|
208
208
|
function $e(r) {
|
|
209
209
|
var e = T.types, i = e.length;
|
|
210
210
|
return e.push.apply(e, r), i;
|
|
211
211
|
}
|
|
212
212
|
function ge(r, e) {
|
|
213
|
-
return
|
|
213
|
+
return P(e, r), r;
|
|
214
214
|
}
|
|
215
|
-
var
|
|
215
|
+
var j = function() {
|
|
216
216
|
var r = function(i, n, a, s, l) {
|
|
217
217
|
return function(_, d, c, p) {
|
|
218
218
|
return ye(_, d, i, n, a, s, [c], p, l, !1);
|
|
@@ -222,7 +222,7 @@ var Me = {};
|
|
|
222
222
|
return le(l, _, i, n, a, [d], c, s);
|
|
223
223
|
};
|
|
224
224
|
};
|
|
225
|
-
return { inherit:
|
|
225
|
+
return { inherit: V, inheritMany: G, mixin: Y, mixinHard: oe, installStaticTearOff: le, installInstanceTearOff: ye, _instance_0u: r(0, 0, null, ["call$0"], 0), _instance_1u: r(0, 1, null, ["call$1"], 0), _instance_2u: r(0, 2, null, ["call$2"], 0), _instance_0i: r(1, 0, null, ["call$0"], 0), _instance_1i: r(1, 1, null, ["call$1"], 0), _instance_2i: r(1, 2, null, ["call$2"], 0), _static_0: e(0, null, ["call$0"], 0), _static_1: e(1, null, ["call$1"], 0), _static_2: e(2, null, ["call$2"], 0), makeConstList: se, lazy: ee, lazyFinal: ae, lazyOld: Z, updateHolder: ge, convertToFastObject: ie, updateTypes: $e, setOrUpdateInterceptorsByTag: he, setOrUpdateLeafTags: Te };
|
|
226
226
|
}(), t = {
|
|
227
227
|
JS_CONST: function() {
|
|
228
228
|
},
|
|
@@ -259,8 +259,8 @@ var Me = {};
|
|
|
259
259
|
}
|
|
260
260
|
},
|
|
261
261
|
Sort__dualPivotQuicksort(r, e, i, n) {
|
|
262
|
-
var a, s, l, _, d, c, p, $, g, m, h = u.JSInt_methods._tdivFast$1(i - e + 1, 6), A = e + h, E = i - h, M = u.JSInt_methods._tdivFast$1(e + i, 2), b = M - h, R = M + h, C = o.getInterceptor$asx(r), F = C.$index(r, A), D = C.$index(r, b),
|
|
263
|
-
if (n.call$2(F, D) > 0 && (a = D, D = F, F = a), n.call$2(v,
|
|
262
|
+
var a, s, l, _, d, c, p, $, g, m, h = u.JSInt_methods._tdivFast$1(i - e + 1, 6), A = e + h, E = i - h, M = u.JSInt_methods._tdivFast$1(e + i, 2), b = M - h, R = M + h, C = o.getInterceptor$asx(r), F = C.$index(r, A), D = C.$index(r, b), L = C.$index(r, M), v = C.$index(r, R), x = C.$index(r, E);
|
|
263
|
+
if (n.call$2(F, D) > 0 && (a = D, D = F, F = a), n.call$2(v, x) > 0 && (a = x, x = v, v = a), n.call$2(F, L) > 0 && (a = L, L = F, F = a), n.call$2(D, L) > 0 && (a = L, L = D, D = a), n.call$2(F, v) > 0 && (a = v, v = F, F = a), n.call$2(L, v) > 0 && (a = v, v = L, L = a), n.call$2(D, x) > 0 && (a = x, x = D, D = a), n.call$2(D, L) > 0 && (a = L, L = D, D = a), n.call$2(v, x) > 0 && (a = x, x = v, v = a), C.$indexSet(r, A, F), C.$indexSet(r, M, L), C.$indexSet(r, E, x), C.$indexSet(r, b, C.$index(r, e)), C.$indexSet(r, R, C.$index(r, i)), s = e + 1, l = i - 1, o.$eq$(n.call$2(D, v), 0)) {
|
|
264
264
|
for (_ = s; _ <= l; ++_)
|
|
265
265
|
if (d = C.$index(r, _), c = n.call$2(d, D), c !== 0)
|
|
266
266
|
if (c < 0)
|
|
@@ -653,8 +653,8 @@ var Me = {};
|
|
|
653
653
|
var e, i, n, a, s, l, _, d, c, p, $ = r.co, g = r.iS, m = r.iI, h = r.nDA, A = r.aI, E = r.fs, M = r.cs, b = E[0], R = M[0], C = $[b], F = r.fT;
|
|
654
654
|
for (F.toString, e = Object.create(g ? new t.StaticClosure().constructor.prototype : new t.BoundClosure(null, null).constructor.prototype), e.$initialize = e.constructor, g ? i = function() {
|
|
655
655
|
this.$initialize();
|
|
656
|
-
} : i = function(
|
|
657
|
-
this.$initialize(
|
|
656
|
+
} : i = function(L, v) {
|
|
657
|
+
this.$initialize(L, v);
|
|
658
658
|
}, e.constructor = i, i.prototype = e, e.$_name = b, e.$_target = C, n = !g, n ? a = t.Closure_forwardCallTo(b, C, m, h) : (e.$static_name = b, a = C), e.$signature = t.Closure__computeSignatureFunctionNewRti(F, g, m), e[R] = a, s = a, l = 1; l < E.length; ++l)
|
|
659
659
|
_ = E[l], typeof _ == "string" ? (d = $[_], c = _, _ = d) : c = "", p = M[l], p != null && (n && (_ = t.Closure_forwardCallTo(c, _, m, h)), e[p] = _), l === A && (s = _);
|
|
660
660
|
return e["call*"] = s, e.$requiredArgCount = r.rC, e.$defaultValues = r.dV, i;
|
|
@@ -1378,7 +1378,7 @@ var Me = {};
|
|
|
1378
1378
|
return s + "})";
|
|
1379
1379
|
},
|
|
1380
1380
|
_functionRtiToString(r, e, i) {
|
|
1381
|
-
var n, a, s, l, _, d, c, p, $, g, m, h, A, E, M, b, R, C, F, D,
|
|
1381
|
+
var n, a, s, l, _, d, c, p, $, g, m, h, A, E, M, b, R, C, F, D, L, v = ", ";
|
|
1382
1382
|
if (i != null) {
|
|
1383
1383
|
for (n = i.length, e == null ? (e = t._setArrayType([], y.JSArray_String), a = null) : a = e.length, s = e.length, l = n; l > 0; --l)
|
|
1384
1384
|
e.push("T" + (s + l));
|
|
@@ -1387,16 +1387,16 @@ var Me = {};
|
|
|
1387
1387
|
c += ">";
|
|
1388
1388
|
} else
|
|
1389
1389
|
c = "", a = null;
|
|
1390
|
-
for (_ = r._primary, h = r._rest, A = h._requiredPositional, E = A.length, M = h._optionalPositional, b = M.length, R = h._named, C = R.length, F = t._rtiToString(_, e), D = "",
|
|
1391
|
-
D +=
|
|
1390
|
+
for (_ = r._primary, h = r._rest, A = h._requiredPositional, E = A.length, M = h._optionalPositional, b = M.length, R = h._named, C = R.length, F = t._rtiToString(_, e), D = "", L = "", l = 0; l < E; ++l, L = v)
|
|
1391
|
+
D += L + t._rtiToString(A[l], e);
|
|
1392
1392
|
if (b > 0) {
|
|
1393
|
-
for (D +=
|
|
1394
|
-
D +=
|
|
1393
|
+
for (D += L + "[", L = "", l = 0; l < b; ++l, L = v)
|
|
1394
|
+
D += L + t._rtiToString(M[l], e);
|
|
1395
1395
|
D += "]";
|
|
1396
1396
|
}
|
|
1397
1397
|
if (C > 0) {
|
|
1398
|
-
for (D +=
|
|
1399
|
-
D +=
|
|
1398
|
+
for (D += L + "{", L = "", l = 0; l < C; l += 3, L = v)
|
|
1399
|
+
D += L, R[l + 1] && (D += "required "), D += t._rtiToString(R[l + 2], e) + " " + R[l];
|
|
1400
1400
|
D += "}";
|
|
1401
1401
|
}
|
|
1402
1402
|
return a != null && (e.toString, e.length = a), c + "(" + D + ") => " + F;
|
|
@@ -1757,7 +1757,7 @@ var Me = {};
|
|
|
1757
1757
|
return d === 12 ? e === y.JavaScriptFunction ? !0 : s ? !1 : t._isFunctionSubtype(r, e, i, n, a) : l === 9 ? d !== 9 ? !1 : t._isInterfaceSubtype(r, e, i, n, a) : (s = l === 11, s && n === y.Record ? !0 : s && d === 11 ? t._isRecordSubtype(r, e, i, n, a) : !1);
|
|
1758
1758
|
},
|
|
1759
1759
|
_isFunctionSubtype(r, e, i, n, a) {
|
|
1760
|
-
var s, l, _, d, c, p, $, g, m, h, A, E, M, b, R, C, F, D,
|
|
1760
|
+
var s, l, _, d, c, p, $, g, m, h, A, E, M, b, R, C, F, D, L, v, x, H;
|
|
1761
1761
|
if (!t._isSubtype(r, e._primary, i, n._primary, a) || (s = e._rest, l = n._rest, _ = s._requiredPositional, d = l._requiredPositional, c = _.length, p = d.length, c > p) || ($ = p - c, g = s._optionalPositional, m = l._optionalPositional, h = g.length, A = m.length, c + h < p + A))
|
|
1762
1762
|
return !1;
|
|
1763
1763
|
for (E = 0; E < c; ++E)
|
|
@@ -1769,16 +1769,16 @@ var Me = {};
|
|
|
1769
1769
|
for (E = 0; E < A; ++E)
|
|
1770
1770
|
if (M = g[$ + E], !t._isSubtype(r, m[E], a, M, i))
|
|
1771
1771
|
return !1;
|
|
1772
|
-
for (b = s._named, R = l._named, C = b.length, F = R.length, D = 0,
|
|
1773
|
-
for (v = R[
|
|
1774
|
-
if (D >= C || (
|
|
1772
|
+
for (b = s._named, R = l._named, C = b.length, F = R.length, D = 0, L = 0; L < F; L += 3)
|
|
1773
|
+
for (v = R[L]; ; ) {
|
|
1774
|
+
if (D >= C || (x = b[D], D += 3, v < x))
|
|
1775
1775
|
return !1;
|
|
1776
|
-
if (H = b[D - 2],
|
|
1776
|
+
if (H = b[D - 2], x < v) {
|
|
1777
1777
|
if (H)
|
|
1778
1778
|
return !1;
|
|
1779
1779
|
continue;
|
|
1780
1780
|
}
|
|
1781
|
-
if (M = R[
|
|
1781
|
+
if (M = R[L + 1], H && !M || (M = b[D - 1], !t._isSubtype(r, R[L + 2], a, M, i)))
|
|
1782
1782
|
return !1;
|
|
1783
1783
|
break;
|
|
1784
1784
|
}
|
|
@@ -8342,10 +8342,10 @@ Arguments: [` + d + "]";
|
|
|
8342
8342
|
$signature: 1
|
|
8343
8343
|
}, t.flattenItemSchema_closure.prototype = {
|
|
8344
8344
|
call$1(r) {
|
|
8345
|
-
var e = null, i = "itemCreatedAt", n = "billCompletedAt", a = "perXUnit", s = "takeawayId", l = "takeawayName", _ = "productId", d = "isRefund", c = "servedAt", p = "isTakeaway", $ = "quantity", g = "unitQuantity", m = "billAdjustmentTotal", h = "itemAdjustmentTotal", A = "grossTotal", E = "takeawayPrice", M = "nettTotal", b = "layerNettTotal", R = "layerBillAdjustmentTotal", C = "layerItemAdjustmentTotal", F = "layerGrossTotal", D = "layerTakeawayPrice",
|
|
8345
|
+
var e = null, i = "itemCreatedAt", n = "billCompletedAt", a = "perXUnit", s = "takeawayId", l = "takeawayName", _ = "productId", d = "isRefund", c = "servedAt", p = "isTakeaway", $ = "quantity", g = "unitQuantity", m = "billAdjustmentTotal", h = "itemAdjustmentTotal", A = "grossTotal", E = "takeawayPrice", M = "nettTotal", b = "layerNettTotal", R = "layerBillAdjustmentTotal", C = "layerItemAdjustmentTotal", F = "layerGrossTotal", D = "layerTakeawayPrice", L = "layerTaxTotal", v = "layerScTotal", x = "layerOtherChargeTotal", H = "customAttributes", _e = "layerZeroParentId";
|
|
8346
8346
|
return t._setArrayType([t.Field_Field$string(e, !1, "ID", "id", "_id", e, r), t.Field_Field$string(e, !0, e, "docId", "_docId", e, r), t.Field_Field$string(e, !1, "Restaurant ID", "restaurantId", "_restaurantId", e, r), t.Field_Field$timestamp(e, !1, "Time", "createdAt", "_createdAt", e, r), t.Field_Field$timestamp(e, !0, e, "publishedAt", "_publishedAt", e, r), t.Field_Field$timestamp(e, !1, "Item time", i, i, e, r), t.Field_Field$timestamp(e, !1, "Bill close time", n, n, e, r), t.Field_Field$string(e, !1, "Bill ID", "billId", "billId", e, r), t.Field_Field$string(e, !1, "Status", "status", "status", e, r), t.Field_Field$string(e, !1, "Name", "name", "name", e, r), t.Field_Field$numeric(e, !1, "Per unit", a, a, e, r), t.Field_Field$string(e, !1, "Unit", "unit", "unit", e, r), t.Field_Field$string(`IF(@categoryName IS NULL OR @productId IS NULL OR REGEXP_CONTAINS(@productId, r'^\\d{4}-[01]\\d-[0-3]\\dT[0-2]\\d:[0-5]\\d:[0-5]\\d\\.\\d+([+-][0-2]\\d:[0-5]\\d|Z)$'), 'Other', @categoryName)
|
|
8347
8347
|
`, !1, "Category", "categoryName", "category", `CASE WHEN @category_name IS NULL OR @product_id IS NULL OR @product_id ~ '^\\d{4}-[01]\\d-[0-3]\\dT[0-2]\\d:[0-5]\\d:[0-5]\\d\\.\\d+([+-][0-2]\\d:[0-5]\\d|Z)$' THEN 'Other' ELSE @category_name END
|
|
8348
|
-
`, r), t.Field_Field$string(e, !1, "Takeaway ID", s, s, e, r), t.Field_Field$string(e, !1, "Takeaway name", l, l, e, r), t.Field_Field$string(e, !1, "Code", "code", "code", e, r), t.Field_Field$string(e, !1, "Remark", "remark", "remark", e, r), t.Field_Field$string(e, !1, "Product ID", _, _, e, r), t.Field_Field$string(e, !1, "Variant ID", "variantId", "variant.id", e, r), t.Field_Field$string(e, !1, "Variant", "variantName", "variant.name", e, r), t.Field_Field$bool(e, !1, "Refund", d, d, e, r), t.Field_Field$string(e, !1, "User id", "createdById", "createdBy.id", e, r), t.Field_Field$string(e, !1, "User", "createdByName", "createdBy.name", e, r), t.Field_Field$timestamp(e, !1, "Sent time", "sentAt", "sentAt", e, r), t.Field_Field$timestamp(e, !1, "Served time", c, c, e, r), t.Field_Field$timestamp(e, !1, "Printed time", "printedAt", "printBy.printAt", e, r), t.Field_Field$timestamp(e, !1, "Void time", "voidAt", "void.voidAt", e, r), t.Field_Field$string(e, !1, "Void reason", "voidReason", "void.reason", e, r), t.Field_Field$string(e, !0, e, "voidedById", "void.by.id", e, r), t.Field_Field$string(e, !1, "Void user", "voidedByName", "void.by.name", e, r), t.Field_Field$string(e, !0, e, "voidApprovedById", "void.approvedBy.id", e, r), t.Field_Field$string(e, !1, "Void approver", "voidApprovedByName", "void.approvedBy.name", e, r), t.Field_Field$bool(e, !1, "SST before discount", "sstBeforeDiscount", "sst.beforeDiscount", e, r), t.Field_Field$bool(e, !1, "SC before discount", "serviceChargeBeforeDiscount", "sc.beforeDiscount", e, r), t.Field_Field$bool(e, !1, "Takeaway", p, p, e, r), t.Field_Field$numeric("@quantity*IF(@isRefund, -1, 1)", !1, "Qty", $, $, I.x40quant, r), t.Field_Field$numeric("@unitQuantity*IF(@isRefund, -1, 1)", !1, "Unit qty", g, g, I.x40unit_, r), t.Field_Field$numeric("@sstTotal*IF(@isRefund, -1, 1)", !1, "SST", "sstTotal", "sst.total", I.x40sst_t, r), t.Field_Field$numeric(e, !0, "SST %", "sstPercentage", "sst.percentage", e, r), t.Field_Field$numeric(e, !0, "SC %", "serviceChargePercentage", "sc.percentage", e, r), t.Field_Field$numeric("@serviceChargeTotal*IF(@isRefund, -1, 1)", !1, "SC", "serviceChargeTotal", "sc.total", I.x40servi, r), t.Field_Field$numeric("@otherChargeTotal*IF(@isRefund, -1, 1)", !1, "Other charge", "otherChargeTotal", "otherCharge.total", I.x40other, r), t.Field_Field$numeric(I.x40billA, !1, "Bill discount", m, m, I.x40bill_, r), t.Field_Field$numeric(I.x40itemA, !1, "Item discount", h, h, I.x40item_, r), t.Field_Field$numeric("@grossTotal*IF(@isRefund, -1, 1)", !1, "Gross", A, A, I.x40gross, r), t.Field_Field$numeric(I.x28_grosT, !1, "Gross w/ takeaway", "grossTotalWithoutTakeaway", e, I.x28_gros_, r), t.Field_Field$numeric("@takeawayPrice*IF(@isRefund, -1, 1)", !1, "Takeaway price", E, E, I.x40takea, r), t.Field_Field$numeric("@nettTotal*IF(@isRefund, -1, 1)", !1, "Nett", M, M, I.x40nett_, r), t.Field_Field$string(e, !1, "Parent ID", "parentId", "parent.id", e, r), t.Field_Field$string(e, !1, "Parent name", "parentName", "parent.name", e, r), t.Field_Field$string(e, !1, "Addon type", "addonType", "addon.type", e, r), t.Field_Field$string(e, !1, "Addon ID", "addonId", "addon.selectionId", e, r), t.Field_Field$string("SPLIT(@addonId, '/')[OFFSET(0)]", !1, "Group ID", "groupId", e, "SPLIT_PART(@addon_id, '/',1)", r), t.Field_Field$numeric(e, !1, "Layer", "layer", "layer", e, r), t.Field_Field$numeric("@addonPrice*IF(@isRefund, -1, 1)", !1, "Addon price", "addonPrice", "addon.price", I.x40addon, r), t.Field_Field$numeric("@taxTotal*IF(@isRefund, -1, 1)", !1, "Tax", "taxTotal", "tax.total", "@tax_total*CASE WHEN @is_refund THEN -1 ELSE 1 END", r), t.Field_Field$numeric(I.x28IFNULb, !1, "Discount", "discountTotal", e, I.x28COALEb, r), t.Field_Field$numeric(I.x28IFNULgx2b, !1, "Gross before charges", "grossBeforeCharges", e, I.x28COALEgx2b, r), t.Field_Field$numeric(I.TIMEST, !1, "Preparation seconds", "preparationSeconds", e, I.EXTRAC, r), t.Field_Field$string(I.CONCAT_, !1, "Summary", "summary", e, I.CONCATA, r), t.Field_Field$numeric("@layerNettTotal*IF(@isRefund, -1, 1)", !1, "Layer nett", b, b, "@layer_nett_total*CASE WHEN @is_refund THEN -1 ELSE 1 END", r), t.Field_Field$numeric("@layerBillAdjustmentTotal*IF(@isRefund, -1, 1)", !1, "Layer bill discount", R, R, "@layer_bill_adjustment_total*CASE WHEN @is_refund THEN -1 ELSE 1 END", r), t.Field_Field$numeric("@layerItemAdjustmentTotal*IF(@isRefund, -1, 1)", !1, "Layer item discount", C, C, "@layer_item_adjustment_total*CASE WHEN @is_refund THEN -1 ELSE 1 END", r), t.Field_Field$numeric("@layerGrossTotal*IF(@isRefund, -1, 1)", !1, "Layer gross total", F, F, "@layer_gross_total*CASE WHEN @is_refund THEN -1 ELSE 1 END", r), t.Field_Field$numeric("@layerTakeawayPrice*IF(@isRefund, -1, 1)", !1, "Layer takeaway price", D, D, "@layer_takeaway_price*CASE WHEN @is_refund THEN -1 ELSE 1 END", r), t.Field_Field$numeric("@layerTaxTotal*IF(@isRefund, -1, 1)", !1, "Layer tax total",
|
|
8348
|
+
`, r), t.Field_Field$string(e, !1, "Takeaway ID", s, s, e, r), t.Field_Field$string(e, !1, "Takeaway name", l, l, e, r), t.Field_Field$string(e, !1, "Code", "code", "code", e, r), t.Field_Field$string(e, !1, "Remark", "remark", "remark", e, r), t.Field_Field$string(e, !1, "Product ID", _, _, e, r), t.Field_Field$string(e, !1, "Variant ID", "variantId", "variant.id", e, r), t.Field_Field$string(e, !1, "Variant", "variantName", "variant.name", e, r), t.Field_Field$bool(e, !1, "Refund", d, d, e, r), t.Field_Field$string(e, !1, "User id", "createdById", "createdBy.id", e, r), t.Field_Field$string(e, !1, "User", "createdByName", "createdBy.name", e, r), t.Field_Field$timestamp(e, !1, "Sent time", "sentAt", "sentAt", e, r), t.Field_Field$timestamp(e, !1, "Served time", c, c, e, r), t.Field_Field$timestamp(e, !1, "Printed time", "printedAt", "printBy.printAt", e, r), t.Field_Field$timestamp(e, !1, "Void time", "voidAt", "void.voidAt", e, r), t.Field_Field$string(e, !1, "Void reason", "voidReason", "void.reason", e, r), t.Field_Field$string(e, !0, e, "voidedById", "void.by.id", e, r), t.Field_Field$string(e, !1, "Void user", "voidedByName", "void.by.name", e, r), t.Field_Field$string(e, !0, e, "voidApprovedById", "void.approvedBy.id", e, r), t.Field_Field$string(e, !1, "Void approver", "voidApprovedByName", "void.approvedBy.name", e, r), t.Field_Field$bool(e, !1, "SST before discount", "sstBeforeDiscount", "sst.beforeDiscount", e, r), t.Field_Field$bool(e, !1, "SC before discount", "serviceChargeBeforeDiscount", "sc.beforeDiscount", e, r), t.Field_Field$bool(e, !1, "Takeaway", p, p, e, r), t.Field_Field$numeric("@quantity*IF(@isRefund, -1, 1)", !1, "Qty", $, $, I.x40quant, r), t.Field_Field$numeric("@unitQuantity*IF(@isRefund, -1, 1)", !1, "Unit qty", g, g, I.x40unit_, r), t.Field_Field$numeric("@sstTotal*IF(@isRefund, -1, 1)", !1, "SST", "sstTotal", "sst.total", I.x40sst_t, r), t.Field_Field$numeric(e, !0, "SST %", "sstPercentage", "sst.percentage", e, r), t.Field_Field$numeric(e, !0, "SC %", "serviceChargePercentage", "sc.percentage", e, r), t.Field_Field$numeric("@serviceChargeTotal*IF(@isRefund, -1, 1)", !1, "SC", "serviceChargeTotal", "sc.total", I.x40servi, r), t.Field_Field$numeric("@otherChargeTotal*IF(@isRefund, -1, 1)", !1, "Other charge", "otherChargeTotal", "otherCharge.total", I.x40other, r), t.Field_Field$numeric(I.x40billA, !1, "Bill discount", m, m, I.x40bill_, r), t.Field_Field$numeric(I.x40itemA, !1, "Item discount", h, h, I.x40item_, r), t.Field_Field$numeric("@grossTotal*IF(@isRefund, -1, 1)", !1, "Gross", A, A, I.x40gross, r), t.Field_Field$numeric(I.x28_grosT, !1, "Gross w/ takeaway", "grossTotalWithoutTakeaway", e, I.x28_gros_, r), t.Field_Field$numeric("@takeawayPrice*IF(@isRefund, -1, 1)", !1, "Takeaway price", E, E, I.x40takea, r), t.Field_Field$numeric("@nettTotal*IF(@isRefund, -1, 1)", !1, "Nett", M, M, I.x40nett_, r), t.Field_Field$string(e, !1, "Parent ID", "parentId", "parent.id", e, r), t.Field_Field$string(e, !1, "Parent name", "parentName", "parent.name", e, r), t.Field_Field$string(e, !1, "Addon type", "addonType", "addon.type", e, r), t.Field_Field$string(e, !1, "Addon ID", "addonId", "addon.selectionId", e, r), t.Field_Field$string("SPLIT(@addonId, '/')[OFFSET(0)]", !1, "Group ID", "groupId", e, "SPLIT_PART(@addon_id, '/',1)", r), t.Field_Field$numeric(e, !1, "Layer", "layer", "layer", e, r), t.Field_Field$numeric("@addonPrice*IF(@isRefund, -1, 1)", !1, "Addon price", "addonPrice", "addon.price", I.x40addon, r), t.Field_Field$numeric("@taxTotal*IF(@isRefund, -1, 1)", !1, "Tax", "taxTotal", "tax.total", "@tax_total*CASE WHEN @is_refund THEN -1 ELSE 1 END", r), t.Field_Field$numeric(I.x28IFNULb, !1, "Discount", "discountTotal", e, I.x28COALEb, r), t.Field_Field$numeric(I.x28IFNULgx2b, !1, "Gross before charges", "grossBeforeCharges", e, I.x28COALEgx2b, r), t.Field_Field$numeric(I.TIMEST, !1, "Preparation seconds", "preparationSeconds", e, I.EXTRAC, r), t.Field_Field$string(I.CONCAT_, !1, "Summary", "summary", e, I.CONCATA, r), t.Field_Field$numeric("@layerNettTotal*IF(@isRefund, -1, 1)", !1, "Layer nett", b, b, "@layer_nett_total*CASE WHEN @is_refund THEN -1 ELSE 1 END", r), t.Field_Field$numeric("@layerBillAdjustmentTotal*IF(@isRefund, -1, 1)", !1, "Layer bill discount", R, R, "@layer_bill_adjustment_total*CASE WHEN @is_refund THEN -1 ELSE 1 END", r), t.Field_Field$numeric("@layerItemAdjustmentTotal*IF(@isRefund, -1, 1)", !1, "Layer item discount", C, C, "@layer_item_adjustment_total*CASE WHEN @is_refund THEN -1 ELSE 1 END", r), t.Field_Field$numeric("@layerGrossTotal*IF(@isRefund, -1, 1)", !1, "Layer gross total", F, F, "@layer_gross_total*CASE WHEN @is_refund THEN -1 ELSE 1 END", r), t.Field_Field$numeric("@layerTakeawayPrice*IF(@isRefund, -1, 1)", !1, "Layer takeaway price", D, D, "@layer_takeaway_price*CASE WHEN @is_refund THEN -1 ELSE 1 END", r), t.Field_Field$numeric("@layerTaxTotal*IF(@isRefund, -1, 1)", !1, "Layer tax total", L, L, "@layer_tax_total*CASE WHEN @is_refund THEN -1 ELSE 1 END", r), t.Field_Field$numeric("@layerScTotal*IF(@isRefund, -1, 1)", !1, "Layer sc", v, v, "@layer_sc_total*CASE WHEN @is_refund THEN -1 ELSE 1 END", r), t.Field_Field$numeric("@layerOtherChargeTotal*IF(@isRefund, -1, 1)", !1, "Layer other charge", x, x, "@layer_other_charge_total*CASE WHEN @is_refund THEN -1 ELSE 1 END", r), t.Field_Field$numeric("(IFNULL(@layerGrossTotal,0)+IFNULL(@layerBillAdjustmentTotal,0)+IFNULL(@layerItemAdjustmentTotal,0))*IF(@isRefund, -1, 1)", !1, "Layer gross before charges", "layerGrossBeforeCharges", e, "(COALESCE(@layer_gross_total,0)+COALESCE(@layer_bill_adjustment_total,0)+COALESCE(@layer_item_adjustment_total,0))*CASE WHEN @is_refund THEN -1 ELSE 1 END", r), t.Field_Field$string(e, !1, "Custom attributes", H, H, e, r), t.Field_Field$string(e, !1, "Layer 0 parent ID", _e, _e, e, r), t.Field_Field$string(e, !1, "Charge variant", "chargeVariant", e, "(select variant from charges where charges.parent_id=@layer_zero_parent_id and charges.restaurant_id=@restaurant_id and charges.bill_id=@bill_id and charges.code in ('SST','GST'))", r)], y.JSArray_Field);
|
|
8349
8349
|
},
|
|
8350
8350
|
$signature: 0
|
|
8351
8351
|
}, t.flattenItemSchema_closure0.prototype = {
|
|
@@ -9531,12 +9531,12 @@ Arguments: [` + d + "]";
|
|
|
9531
9531
|
var e = o.LegacyJavaScriptObject.prototype;
|
|
9532
9532
|
e.super$LegacyJavaScriptObject$toString = e.toString$0, e = t.JsLinkedHashMap.prototype, e.super$JsLinkedHashMap$internalContainsKey = e.internalContainsKey$1, e.super$JsLinkedHashMap$internalGet = e.internalGet$1, e.super$JsLinkedHashMap$internalSet = e.internalSet$2, e.super$JsLinkedHashMap$internalRemove = e.internalRemove$1, e = t.Field.prototype, e.super$Field$getSql = e.getSql$3$option$schema$value, e = t.BaseDatasourceConfigModel.prototype, e.super$BaseDatasourceConfigModel$toRequests = e.toRequests$1, e.super$BaseDatasourceConfigModel$toJson = e.toJson$0;
|
|
9533
9533
|
}(), function() {
|
|
9534
|
-
var e =
|
|
9534
|
+
var e = j._static_2, i = j._static_1, n = j._instance_1u, a = j._instance_0u;
|
|
9535
9535
|
e(t, "collection___defaultEquals$closure", "_defaultEquals", 32), i(t, "collection___defaultHashCode$closure", "_defaultHashCode", 41), i(t, "convert___defaultToEncodable$closure", "_defaultToEncodable", 3), i(t, "core__identityHashCode$closure", "identityHashCode", 41), i(t, "core_RegExp_escape$closure", "RegExp_escape", 4), e(t, "core__identical$closure", "identical", 32);
|
|
9536
9536
|
var s;
|
|
9537
9537
|
n(s = t.DateBuilder.prototype, "get$setYear", "setYear$1", 6), n(s, "get$setMonth", "setMonth$1", 6), n(s, "get$setDay", "setDay$1", 6), n(s, "get$setDayOfYear", "setDayOfYear$1", 6), n(s, "get$setHour", "setHour$1", 6), n(s, "get$setMinute", "setMinute$1", 6), n(s, "get$setSecond", "setSecond$1", 6), n(s, "get$setFractionalSecond", "setFractionalSecond$1", 6), i(t, "date_format_DateFormat_localeExists$closure", "DateFormat_localeExists", 76), a(t.DateFormat.prototype, "get$_initDigitMatcher", "_initDigitMatcher$0", 48), n(t.ReCase.prototype, "get$_upperCaseFirstLetter", "_upperCaseFirstLetter$1", 4), i(t, "js_compiler__getMergeInfoSql$closure", "getMergeInfoSql", 3), i(t, "js_compiler__getClearTableSql$closure", "getClearTableSql", 3), i(t, "js_compiler__getMergeSql$closure", "getMergeSql", 3), i(t, "js_compiler__getSchemas$closure", "getSchemas", 3), i(t, "js_compiler__getVisualizationSchemas$closure", "getVisualizationSchemas", 3), i(t, "js_compiler__requestJsonToSql$closure", "requestJsonToSql", 3), i(t, "js_compiler__sqlResponsesToQueryResponses$closure", "sqlResponsesToQueryResponses", 3), i(t, "js_compiler__getQueryRequests$closure", "getQueryRequests", 3), i(t, "js_compiler__getCreateMaterializedTableSql$closure", "getCreateMaterializedTableSql", 3);
|
|
9538
9538
|
}(), function() {
|
|
9539
|
-
var e =
|
|
9539
|
+
var e = j.mixin, i = j.inherit, n = j.inheritMany;
|
|
9540
9540
|
i(t.Object, null), n(t.Object, [t.JS_CONST, o.Interceptor, o.ArrayIterator, t.Error, t.Iterable, t.ListIterator, t.Iterator, t.EmptyIterator, t.FixedLengthListMixin, t.Symbol, t.MapView, t.ConstantMap, t.Closure, t.JSInvocationMirror, t.TypeErrorDecoder, t.NullThrownFromJavaScriptException, t._Required, t.MapMixin, t.LinkedHashMapCell, t.LinkedHashMapKeyIterator, t.JSSyntaxRegExp, t._MatchImplementation, t._AllMatchesIterator, t.StringMatch, t._StringAllMatchesIterator, t._Cell, t.Rti, t._FunctionParameters, t._Type, t._IterationMarker, t._SyncStarIterator, t.StreamTransformerBase, t.__SetBase_Object_SetMixin, t._LinkedHashSetCell, t._LinkedHashSetIterator, t._ListBase_Object_ListMixin, t.ListMixin, t._UnmodifiableMapMixin, t.SetMixin, t.Codec, t._JsonStringifier, t._Utf8Encoder, t.DateTime, t.Duration, t._Enum, t.OutOfMemoryError, t.StackOverflowError, t._Exception, t.FormatException, t.Null, t.Sink, t.StringBuffer, t.Endian, t.Digest, t.HashSink, t.DateSymbols, t.DateBuilder, t.DateFormat, t._DateFormatField, t.StringStack, t.UninitializedLocaleData, t.LocaleDataException, t.Jiffy, t.Locale, t.JiffyException, t.Connection, t.SchemaLibrary, t.QueryEngineContext, t.Permission, t.TopLevelFilters, t.Source, t.Index, t.Schema, t.Field, t.Join, t.JoinCondition, t.QueryRequestComparisonTarget, t.QueryRequestComparison, t.QueryRequestCommonField, t._GetSourceTableResponse, t._PlainSqlColumn, t.QueryRequest, t.QueryRequestTimeDimension, t.QueryResponseColumn, t.DateTimeRange, t.QueryResponse, t.QueryResponseRow, t.VisualizationSchema, t.VisualizationField, t.QueryEngine, t.BaseDatasourceConfigModel, t.DataSourceDrillConfig, t.DataSourceRowColumnConfig, t.JoinDatasourceCondition, t.GlobalFilterModel, t.ReportWidgetModel, t.ReCase]), n(o.Interceptor, [o.JSBool, o.JSNull, o.JavaScriptObject, o.JSArray, o.JSNumber, o.JSString, t.NativeTypedData]), i(o.LegacyJavaScriptObject, o.JavaScriptObject), n(o.LegacyJavaScriptObject, [o.PlainJavaScriptObject, o.UnknownJavaScriptObject, o.JavaScriptFunction, t.BufferModule, t.BufferConstants, t.Buffer, t.ConsoleModule, t.Console, t.EventEmitter, t.Promise, t.Date, t.JsError, t.Atomics, t.Modules, t.Module, t.Net, t.Socket, t.NetAddress, t.NetServer, t.NodeJsError, t.Process, t.CPUUsage, t.Release, t.StreamModule, t.Readable, t.Writable, t.Duplex, t.Transform, t.WritableOptions, t.ReadableOptions, t.Immediate, t.Timeout, t.TTY, t.Util, t.Exports, t._Exports]), i(o.JSUnmodifiableArray, o.JSArray), n(o.JSNumber, [o.JSInt, o.JSNumNotInt]), n(t.Error, [t.LateError, t.TypeError, t.JsNoSuchMethodError, t.UnknownJsTypeError, t.RuntimeError, t._Error, t.JsonUnsupportedObjectError, t.AssertionError, t.NullThrownError, t.ArgumentError, t.NoSuchMethodError, t.UnsupportedError, t.UnimplementedError, t.StateError, t.ConcurrentModificationError, t.CyclicInitializationError]), n(t.Iterable, [t.EfficientLengthIterable, t.MappedIterable, t.WhereIterable, t._ConstantMapKeyIterable, t.IterableBase, t._StringAllMatchesIterable]), n(t.EfficientLengthIterable, [t.ListIterable, t.EmptyIterable, t.LinkedHashMapKeyIterable]), n(t.ListIterable, [t.SubListIterable, t.MappedListIterable, t.ReversedListIterable, t._JsonMapKeyIterable, t._GeneratorIterable]), i(t.EfficientLengthMappedIterable, t.MappedIterable), n(t.Iterator, [t.MappedIterator, t.WhereIterator]), i(t._UnmodifiableMapView_MapView__UnmodifiableMapMixin, t.MapView), i(t.UnmodifiableMapView, t._UnmodifiableMapView_MapView__UnmodifiableMapMixin), i(t.ConstantMapView, t.UnmodifiableMapView), n(t.Closure, [t.Closure2Args, t.Closure0Args, t.TearOffClosure, t.initHooks_closure, t.initHooks_closure1, t._LinkedCustomHashMap_closure, t.DateTime_parse_parseIntOrZero, t.DateTime_parse_parseMilliAndMicroseconds, t.DateFormat_dateTimeConstructor_closure, t.DateFormat__checkDateOnly_closure, t.DateFormat__initDigitMatcher_closure, t.DateFormat__initDigitMatcher_closure0, t._DateFormatPatternField_parseStandaloneDay_closure, t.Jiffy__parseString_closure, t.SchemaLibrary_getSchema_closure, t.SchemaLibrary_visualizationSchemas_closure, t.SchemaLibrary_visualizationSchemas_closure0, t.Materialize_get_createMaterializedTableSql_closure, t.Materialize_get_createMaterializedTableSql_closure0, t.Materialize_get_createMaterializedTableSql_closure1, t.Materialize_get_createMaterializedTableSql_closure2, t.Materialize_getMergeSql_closure, t.Materialize_getMergeSql_closure0, t.Materialize_getMergeSql_closure1, t.Materialize_getMergeSql_closure2, t.Materialize_getMergeSql_closure3, t.Materialize_getMergeSql_closure4, t.TopLevelFilters_fromJson_closure, t.TopLevelFilters_toJson_closure, t.Schema_visualizationSchema_closure, t.Schema_visualizationSchema_closure0, t.Schema_visualizationSchema_closure1, t.Schema_fromJson_closure, t.Schema_fromJson_closure0, t.Schema_fromJson_closure1, t.Schema_fromJson_closure2, t.Schema_toJson_closure, t.Schema_toJson_closure0, t.Schema_toJson_closure1, t.Schema_toJson_closure2, t.Field_getQueryPlainSql_closure, t.Join_fromJson_closure, t.Join_toJson_closure, t.QueryRequestComparison_QueryRequestComparison$nested_closure, t.QueryRequestComparison_getToValues_closure, t.QueryRequestComparison_getToValues__closure0, t.QueryRequestComparison_getToValues_closure0, t.QueryRequestComparison_getToValues__closure, t.QueryRequestComparison_getFromValue_closure, t.QueryRequestComparison_getSql_closure, t.QueryRequestComparison_getSql_closure0, t.uniqueAlias_closure, t.QueryRequestCommonField_getAggregatedSql_closure, t.QueryRequestDimension_getPlainSql_closure, t.QueryRequestDimension_getColumn_closure, t.QueryRequestMetric_getColumn_closure, t.QueryRequestMetric_getPlainSql_closure, t.QueryRequest__closure0, t.QueryRequest__closure, t.QueryRequest__getJoins_closure, t.QueryRequest__getJoins__closure, t.QueryRequest_fromJson_closure, t.QueryRequest_fromJson_closure0, t.QueryRequest_fromJson_closure1, t.QueryRequest_fromJson_closure2, t.QueryRequest_fromJson_closure3, t.QueryRequest_toJson_closure, t.QueryRequest_toJson_closure0, t.QueryRequest_toJson_closure1, t.QueryRequest_toJson_closure2, t.QueryRequest_toJson_closure3, t.QueryRequest_getColumns_closure, t.QueryRequest_getColumns_closure0, t.QueryRequest__getPlainSqlColumns_closure, t.QueryRequest__getPlainSqlColumns_closure0, t.QueryRequest__getPlainSqlColumns_closure1, t.QueryRequest__getPlainSqlColumns__closure, t.QueryRequest__getPlainSqlSorts_closure, t.QueryRequest__getSqlFilters_closure, t.QueryRequest__getSqlFilters_closure0, t.QueryRequest__getSqlFilters_closure1, t.QueryRequest__getSqlFilters_closure2, t.QueryRequest__getSqlFilters_closure3, t.QueryRequest__getSqlFilters_closure4, t.QueryRequest__getSqlJoins__closure, t.QueryRequest__getSqlJoins__closure0, t.QueryRequest__getRollupSelect_closure0, t.QueryRequest__getRollupSelect_closure2, t.QueryRequest__getRollupSelect_closure3, t.QueryRequest__getRollupSelect_closure4, t.QueryRequest__getRollupSelect_closure6, t.QueryRequest__getRollupSelect_closure7, t.QueryRequest__getRollupSelect_closure8, t.QueryRequest__getRollupSelect_closure9, t.QueryRequest__hasFillGap_closure, t.QueryRequest__getSqlSelectSorts_closure, t.QueryRequest__getSqlSelectSorts__closure, t.QueryRequest__getSqlSelectSorts__closure0, t.QueryRequest_getSqlSelect_closure, t.QueryRequest_getSqlSelect_closure0, t.QueryRequest_getSqlSelect_closure1, t.QueryRequest__transformSqlAlias_closure, t.QueryRequest__getSourceTable_closure, t.QueryRequest__getSourceTable_closure0, t.QueryRequest__getFillGapTable_closure0, t.QueryRequest__getFillGapTable__closure1, t.QueryRequest__getFillGapTable__closure2, t.QueryRequest__getFillGapTable_closure2, t.QueryRequest__getFillGapTable__closure, t.QueryRequest__getFillGapTable__closure0, t.QueryRequest__getFillGapTable_closure3, t.QueryRequest__getFillGapTable_closure4, t.QueryRequest__getFullTable_closure, t.QueryRequest__getFullTable_closure1, t.QueryRequest__getFullTable_closure2, t.QueryRequestSort_getPlainSql_closure, t.QueryRequestSort_getSortSql_closure, t.QueryResponse$map_closure, t.QueryResponse$map__closure, t.QueryResponse$map___closure, t.QueryResponse_toJson_closure, t.QueryResponse_toJson_closure0, t.VisualizationSchema_toJson_closure, t.VisualizationSchema_toJson_closure0, t.VisualizationField_filterDimensionOptions_closure, t.VisualizationField_fillGapDimensionOptions_closure, t.VisualizationField_isNumericAggregations_closure, t.VisualizationField_toJson_closure, t.VisualizationField_toJson_closure0, t.VisualizationField_toJson_closure1, t.VisualizationField_toJson_closure2, t.VisualizationField_toJson_closure3, t.VisualizationField_toJson_closure4, t.VisualizationField_toJson_closure5, t.VisualizationField_toJson_closure6, t.addonFlattenItemSchema_closure, t.addonFlattenItemSchema_closure0, t.adjustmentSchema_closure, t.adjustmentSchema_closure0, t.billSchema_closure, t.billSchema_closure0, t.businessSchema_closure, t.businessSchema_closure0, t.campaignSchema_closure, t.campaignSchema_closure0, t.campaignTierSchema_closure, t.campaignTierSchema_closure0, t.chargeSchema_closure, t.chargeSchema_closure0, t.collectibleCollectionSchema_closure, t.collectibleCollectionSchema_closure0, t.collectibleConfigSchema_closure, t.collectibleConfigSchema_closure0, t.collectibleTransactionSchema_closure, t.collectibleTransactionSchema_closure0, t.counterSchema_closure, t.counterSchema_closure0, t.creditTransactionSchema_closure, t.creditTransactionSchema_closure0, t.drawerSchema_closure, t.drawerSchema_closure0, t.dsBillItemSchema_closure, t.dsBillItemSchema_closure0, t.flattenItemSchema_closure, t.flattenItemSchema_closure0, t.internalPurchaseOrderSchema_closure, t.internalPurchaseOrderSchema_closure0, t.internalPurchaseOrderDeliveryFulfillmentSchema_closure, t.internalPurchaseOrderDeliveryFulfillmentSchema_closure0, t.internalPurchaseOrderDeliveryFulfillmentSkuSchema_closure, t.internalPurchaseOrderDeliveryFulfillmentSkuSchema_closure0, t.internalPurchaseOrderDeliveryOrderSchema_closure, t.internalPurchaseOrderDeliveryOrderSchema_closure0, t.internalPurchaseOrderDeliveryOrderSkuSchema_closure, t.internalPurchaseOrderDeliveryOrderSkuSchema_closure0, t.internalPurchaseOrderItemSchema_closure, t.internalPurchaseOrderItemSchema_closure0, t.inventoryAdjustmentSchema_closure, t.inventoryAdjustmentSchema_closure0, t.inventoryAdjustmentPhysicalSkuSchema_closure, t.inventoryAdjustmentPhysicalSkuSchema_closure0, t.inventoryAdjustmentSkuSchema_closure, t.inventoryAdjustmentSkuSchema_closure0, t.inventoryV1FlattenInventorySchema_closure, t.inventoryV1FlattenInventorySchema_closure0, t.itemSchema_closure, t.itemSchema_closure0, t.itemMovementSchema_closure, t.itemMovementSchema_closure0, t.kitchenStationSchema_closure, t.kitchenStationSchema_closure0, t.memberSchema_closure, t.memberSchema_closure0, t.memberStorePurchaseSchema_closure, t.memberStorePurchaseSchema_closure0, t.memberStorePurchasePaymentSchema_closure, t.memberStorePurchasePaymentSchema_closure0, t.memberTitleSchema_closure, t.memberTitleSchema_closure0, t.memberV2Schema_closure, t.memberV2Schema_closure0, t.membershipSchema_closure, t.membershipSchema_closure0, t.membershipTitleSchema_closure, t.membershipTitleSchema_closure0, t.menuV3GroupSchema_closure, t.menuV3GroupSchema_closure0, t.menuV3ItemSchema_closure, t.menuV3ItemSchema_closure0, t.menuV3SkuSchema_closure, t.menuV3SkuSchema_closure0, t.menuV4GroupSchema_closure, t.menuV4GroupSchema_closure0, t.menuV4ItemSchema_closure, t.menuV4ItemSchema_closure0, t.menuV4ItemInventoryBindingSchema_closure, t.menuV4ItemInventoryBindingSchema_closure0, t.menuV4SkuSchema_closure, t.menuV4SkuSchema_closure0, t.parentFlattenItemSchema_closure, t.parentFlattenItemSchema_closure0, t.paymentSchema_closure, t.paymentSchema_closure0, t.paymentTimePaymentSchema_closure, t.paymentTimePaymentSchema_closure0, t.purchaseOrderSchema_closure, t.purchaseOrderSchema_closure0, t.purchaseOrderDeliveryFulfillmentSchema_closure, t.purchaseOrderDeliveryFulfillmentSchema_closure0, t.purchaseOrderDeliveryFulfillmentSkuSchema_closure, t.purchaseOrderDeliveryFulfillmentSkuSchema_closure0, t.purchaseOrderDeliveryOrderSchema_closure, t.purchaseOrderDeliveryOrderSchema_closure0, t.purchaseOrderDeliveryOrderSkuSchema_closure, t.purchaseOrderDeliveryOrderSkuSchema_closure0, t.purchaseOrderItemSchema_closure, t.purchaseOrderItemSchema_closure0, t.recommendationCallSchema_closure, t.recommendationCallSchema_closure0, t.recordSchema_closure, t.recordSchema_closure0, t.refundBillSchema_closure, t.refundBillSchema_closure0, t.restaurantSchema_closure, t.restaurantSchema_closure0, t.restaurantFeatureSchema_closure, t.restaurantFeatureSchema_closure0, t.restaurantLocationSchema_closure, t.restaurantLocationSchema_closure0, t.reviewSchema_closure, t.reviewSchema_closure0, t.slotSchema_closure, t.slotSchema_closure0, t.staffSchema_closure, t.staffSchema_closure0, t.stockSchema_closure, t.stockSchema_closure0, t.storeBundleSchema_closure, t.storeBundleSchema_closure0, t.storeTransactionSchema_closure, t.storeTransactionSchema_closure0, t.subItemSchema_closure, t.subItemSchema_closure0, t.timesheetSchema_closure, t.timesheetSchema_closure0, t.timesheetRecordSchema_closure, t.timesheetRecordSchema_closure0, t.userSchema_closure, t.userSchema_closure0, t.voucherClaimSchema_closure, t.voucherClaimSchema_closure0, t.voucherClaimRedemptionSchema_closure, t.voucherClaimRedemptionSchema_closure0, t.warehouseLocationSchema_closure, t.warehouseLocationSchema_closure0, t.QueryEngine_getSql_closure, t.BaseDatasourceConfigModel_drilledDimensionIds_closure, t.BaseDatasourceConfigModel_metricIds_closure, t.BaseDatasourceConfigModel_toJson_closure, t.BaseDatasourceConfigModel_toJson_closure0, t.BaseDatasourceConfigModel_toJson_closure1, t.BaseDatasourceConfigModel_toJson_closure2, t.BaseDatasourceConfigModel_toJson_closure3, t.BaseDatasourceConfigModel_toJson_closure4, t.BaseDatasourceConfigModel_BaseDatasourceConfigModel$fromJson_closure, t.BaseDatasourceConfigModel_BaseDatasourceConfigModel$fromJson_closure0, t.BaseDatasourceConfigModel_BaseDatasourceConfigModel$fromJson_closure1, t.BaseDatasourceConfigModel_BaseDatasourceConfigModel$fromJson_closure2, t.BaseDatasourceConfigModel_BaseDatasourceConfigModel$fromJson_closure3, t.DataSourceDrillConfig_drilledDimensions_closure, t.DataSourceRowColumnConfig_rowIds_closure, t.DataSourceRowColumnConfig_rowIds_closure0, t.DataSourceRowColumnConfig_rowIds_closure2, t.DataSourceRowColumnConfig_rowIds_closure1, t.DataSourceRowColumnConfig_columnIds_closure, t.DataSourceRowColumnConfig_columnIds_closure0, t.DataSourceRowColumnConfig_columnIds_closure1, t.TableDatasourceConfigModel_joinDatasources_closure, t.TableDatasourceConfigModel_toRequests___closure, t.TableDatasourceConfigModel_toRequests_closure0, t.TableDatasourceConfigModel_toJson_closure, t.TableDatasourceConfigModel_TableDatasourceConfigModel$fromJson_closure, t.TableDatasourceConfigModel_TableDatasourceConfigModel$fromJson___closure, t.TableDatasourceConfigModel_TableDatasourceConfigModel$fromJson___closure0, t.TableDatasourceConfigModel_TableDatasourceConfigModel$fromJson____closure, t.JoinDatasourceConfig_JoinDatasourceConfig$fromJson_closure, t.JoinDatasourceConfig_toJson_closure, t.JoinDatasourceCondition_JoinDatasourceCondition$fromJson_closure, t.JoinDatasourceCondition_toJson_closure, t.getSchemas_closure, t.getVisualizationSchemas_closure, t.sqlResponsesToQueryResponses_closure, t.sqlResponsesToQueryResponses_closure1, t.getQueryRequests_closure, t.getQueryRequests_closure0, t.getQueryRequests_closure1, t.getQueryRequests_closure2, t.getQueryRequests_closure3, t.getQueryRequests_closure4, t.getQueryRequests_closure5, t.getQueryRequests_closure6, t.getQueryRequests_closure7, t.getQueryRequests_closure8, t.getQueryRequests_closure9]), n(t.Closure2Args, [t.ConstantMap_map_closure, t.Primitives_functionNoSuchMethod_closure, t.JsLinkedHashMap_addAll_closure, t.initHooks_closure0, t.LinkedHashMap_LinkedHashMap$from_closure, t.MapBase_mapToString_closure, t._JsonStringifier_writeMap_closure, t.NoSuchMethodError_toString_closure, t.DateFormat__fieldConstructors_closure, t.DateFormat__fieldConstructors_closure0, t.DateFormat__fieldConstructors_closure1, t.Jiffy__parseMap_closure, t.Join_getConditionsSql_closure, t.QueryRequest_closure, t.QueryRequest_closure0, t.QueryRequest__getPlainSqlColumns_closure2, t.QueryRequest__getSqlJoins_closure, t.QueryRequest__getRollupSelect_closure, t.QueryRequest__getRollupSelect_closure1, t.QueryRequest__getRollupSelect_closure5, t.QueryRequest__getSqlSelectSorts_closure0, t.QueryRequest__getSortedLimitTable_closure, t.QueryRequest__getFillGapTable_closure, t.QueryRequest__getFillGapTable_closure1, t.QueryRequest__getFullTable_closure0, t.VisualizationSchema_closure, t.DataSourceDrillConfig__availableIds_closure, t.DataSourceRowColumnConfig__availableIds_closure, t.DataSourceRowColumnConfig__availableIds_closure0, t.TableDatasourceConfigModel_drilledDimensions_closure, t.TableDatasourceConfigModel_toRequests_closure, t.TableDatasourceConfigModel_toRequests__closure0, t.TableDatasourceConfigModel_toRequests__closure, t.TableDatasourceConfigModel_TableDatasourceConfigModel$fromJson__closure, t.sqlResponsesToQueryResponses_closure0]), i(t.ConstantStringMap, t.ConstantMap), i(t.NullError, t.TypeError), n(t.TearOffClosure, [t.StaticClosure, t.BoundClosure]), i(t.MapBase, t.MapMixin), n(t.MapBase, [t.JsLinkedHashMap, t._JsonMap]), n(t.IterableBase, [t._AllMatchesIterable, t._SyncStarIterable]), i(t.NativeTypedArray, t.NativeTypedData), i(t._NativeTypedArrayOfInt_NativeTypedArray_ListMixin, t.NativeTypedArray), i(t._NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin, t._NativeTypedArrayOfInt_NativeTypedArray_ListMixin), i(t.NativeTypedArrayOfInt, t._NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin), n(t.NativeTypedArrayOfInt, [t.NativeUint16List, t.NativeUint32List, t.NativeUint8List]), i(t._TypeError, t._Error), n(t.JsLinkedHashMap, [t._LinkedIdentityHashMap, t._LinkedCustomHashMap]), i(t._SetBase, t.__SetBase_Object_SetMixin), i(t._LinkedHashSet, t._SetBase), i(t.ListBase, t._ListBase_Object_ListMixin), i(t.Converter, t.StreamTransformerBase), n(t.Codec, [t.Encoding, t.JsonCodec]), i(t.JsonCyclicError, t.JsonUnsupportedObjectError), n(t.Converter, [t.JsonEncoder, t.JsonDecoder, t.Utf8Encoder]), i(t._JsonStringStringifier, t._JsonStringifier), i(t.Utf8Codec, t.Encoding), n(t.ArgumentError, [t.RangeError, t.IndexError]), i(t.DigestSink, t.Sink), i(t._Sha1Sink, t.HashSink), n(t._DateFormatField, [t._DateFormatLiteralField, t._DateFormatQuotedField, t._DateFormatPatternField]), n(t._Enum, [t.StartOfWeek, t.Units, t.SOURCE_TYPE, t.SCHEMA_NAME, t.DATA_TYPE, t.AGGREGATION_TYPE, t.COMPARISON_OPERATOR, t.DIMENSION_OPTION, t.TIME_FORMATTER, t.SORT_TYPE, t.PermissionType, t.INDEX_METHOD, t.FIELD_TYPE, t.ChartType]), n(t.Locale, [t.ArLyLocale, t.ArSaMaDzKwTnLocale, t.AzLocale, t.BnLocale, t.DeLocale, t.EnLocale, t.EsLocale, t.FaLocale, t.FrLocale, t.HiLocale, t.IdLocale, t.ItLocale, t.JaLocale, t.KoLocale, t.NbLocale, t.NlLocale, t.PlLocale, t.PtLocale, t.RuLocale, t.SvLocale, t.ThLocale, t.TrLocale, t.UkLocale, t.ZhCnLocale, t.ZhLocale]), n(t.NodeJsError, [t.JsAssertionError, t.JsRangeError, t.JsReferenceError, t.JsSyntaxError, t.JsTypeError, t.JsSystemError]), n(t.Socket, [t.TTYReadStream, t.TTYWriteStream]), n(t.Field, [t._NumericField, t._TimestampField, t._BoolField, t._StringField]), n(t.QueryRequestComparisonTarget, [t._QueryRequestComparisonTargetValue, t._QueryRequestComparisonTargetVariable]), n(t.QueryRequestCommonField, [t.QueryRequestDimension, t.QueryRequestMetric, t.QueryRequestFilter, t.QueryRequestSort]), i(t.QueryRequest__getSqlFilters__closure, t.Closure0Args), n(t.BaseDatasourceConfigModel, [t._CircularDatasourceConfigModel_BaseDatasourceConfigModel_DataSourceDrillConfig, t.ScorecardDatasourceConfigModel, t._TableDatasourceConfigModel_BaseDatasourceConfigModel_DataSourceRowColumnConfig, t._JoinDatasourceConfig_BaseDatasourceConfigModel_DataSourceRowColumnConfig, t._BaseXYDatasourceConfigModel_BaseDatasourceConfigModel_DataSourceDrillConfig]), i(t.CircularDatasourceConfigModel, t._CircularDatasourceConfigModel_BaseDatasourceConfigModel_DataSourceDrillConfig), i(t._TableDatasourceConfigModel_BaseDatasourceConfigModel_DataSourceRowColumnConfig_DataSourceDrillConfig, t._TableDatasourceConfigModel_BaseDatasourceConfigModel_DataSourceRowColumnConfig), i(t.TableDatasourceConfigModel, t._TableDatasourceConfigModel_BaseDatasourceConfigModel_DataSourceRowColumnConfig_DataSourceDrillConfig), i(t.JoinDatasourceConfig, t._JoinDatasourceConfig_BaseDatasourceConfigModel_DataSourceRowColumnConfig), i(t.BaseXYDatasourceConfigModel, t._BaseXYDatasourceConfigModel_BaseDatasourceConfigModel_DataSourceDrillConfig), i(t.TypedDataBuffer, t.ListBase), i(t._IntBuffer, t.TypedDataBuffer), i(t.Uint8Buffer, t._IntBuffer), e(t._NativeTypedArrayOfInt_NativeTypedArray_ListMixin, t.ListMixin), e(t._NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin, t.FixedLengthListMixin), e(t._ListBase_Object_ListMixin, t.ListMixin), e(t._UnmodifiableMapView_MapView__UnmodifiableMapMixin, t._UnmodifiableMapMixin), e(t.__SetBase_Object_SetMixin, t.SetMixin), e(t._CircularDatasourceConfigModel_BaseDatasourceConfigModel_DataSourceDrillConfig, t.DataSourceDrillConfig), e(t._JoinDatasourceConfig_BaseDatasourceConfigModel_DataSourceRowColumnConfig, t.DataSourceRowColumnConfig), e(t._TableDatasourceConfigModel_BaseDatasourceConfigModel_DataSourceRowColumnConfig, t.DataSourceRowColumnConfig), e(t._TableDatasourceConfigModel_BaseDatasourceConfigModel_DataSourceRowColumnConfig_DataSourceDrillConfig, t.DataSourceDrillConfig), e(t._BaseXYDatasourceConfigModel_BaseDatasourceConfigModel_DataSourceDrillConfig, t.DataSourceDrillConfig);
|
|
9541
9541
|
}();
|
|
9542
9542
|
var T = {
|
|
@@ -9683,7 +9683,7 @@ Arguments: [` + d + "]";
|
|
|
9683
9683
|
};
|
|
9684
9684
|
}();
|
|
9685
9685
|
(function() {
|
|
9686
|
-
var e =
|
|
9686
|
+
var e = j.makeConstList;
|
|
9687
9687
|
u.Interceptor_methods = o.Interceptor.prototype, u.JSArray_methods = o.JSArray.prototype, u.JSInt_methods = o.JSInt.prototype, u.JSNumber_methods = o.JSNumber.prototype, u.JSString_methods = o.JSString.prototype, u.JavaScriptFunction_methods = o.JavaScriptFunction.prototype, u.JavaScriptObject_methods = o.JavaScriptObject.prototype, u.NativeUint8List_methods = t.NativeUint8List.prototype, u.PlainJavaScriptObject_methods = o.PlainJavaScriptObject.prototype, u.UnknownJavaScriptObject_methods = o.UnknownJavaScriptObject.prototype, u.AGGREGATION_TYPE_0 = new t.AGGREGATION_TYPE(0, "SUM"), u.AGGREGATION_TYPE_1 = new t.AGGREGATION_TYPE(1, "AVERAGE"), u.AGGREGATION_TYPE_2 = new t.AGGREGATION_TYPE(2, "COUNT"), u.AGGREGATION_TYPE_3 = new t.AGGREGATION_TYPE(3, "COUNT_DISTINCT"), u.AGGREGATION_TYPE_4 = new t.AGGREGATION_TYPE(4, "FIRST"), u.AGGREGATION_TYPE_5 = new t.AGGREGATION_TYPE(5, "LAST"), u.AGGREGATION_TYPE_6 = new t.AGGREGATION_TYPE(6, "ANY"), u.AGGREGATION_TYPE_7 = new t.AGGREGATION_TYPE(7, "MERGE"), u.AGGREGATION_TYPE_8 = new t.AGGREGATION_TYPE(8, "MIN"), u.AGGREGATION_TYPE_9 = new t.AGGREGATION_TYPE(9, "MAX"), u.COMPARISON_OPERATOR_0 = new t.COMPARISON_OPERATOR(0, "EQUAL"), u.COMPARISON_OPERATOR_1 = new t.COMPARISON_OPERATOR(1, "NOT_EQUAL"), u.COMPARISON_OPERATOR_10 = new t.COMPARISON_OPERATOR(10, "OR"), u.COMPARISON_OPERATOR_2 = new t.COMPARISON_OPERATOR(2, "GREATER_THAN"), u.COMPARISON_OPERATOR_3 = new t.COMPARISON_OPERATOR(3, "LESS_THAN"), u.COMPARISON_OPERATOR_4 = new t.COMPARISON_OPERATOR(4, "GREATER_THAN_OR_EQUAL"), u.COMPARISON_OPERATOR_5 = new t.COMPARISON_OPERATOR(5, "LESS_THAN_OR_EQUAL"), u.COMPARISON_OPERATOR_6 = new t.COMPARISON_OPERATOR(6, "BETWEEN"), u.COMPARISON_OPERATOR_7 = new t.COMPARISON_OPERATOR(7, "LIKE"), u.COMPARISON_OPERATOR_8 = new t.COMPARISON_OPERATOR(8, "NOT_LIKE"), u.C_EmptyIterator = new t.EmptyIterator(), u.C_Endian = new t.Endian(), u.C_Endian0 = new t.Endian(), u.C_JS_CONST = function(n) {
|
|
9688
9688
|
var a = Object.prototype.toString.call(n);
|
|
9689
9689
|
return a.substring(8, a.length - 1);
|
|
@@ -9785,7 +9785,7 @@ Arguments: [` + d + "]";
|
|
|
9785
9785
|
})(), function() {
|
|
9786
9786
|
S._JS_INTEROP_INTERCEPTOR_TAG = null, S.Primitives__identityHashCodeProperty = null, S.BoundClosure__receiverFieldNameCache = null, S.BoundClosure__interceptorFieldNameCache = null, S.getTagFunction = null, S.alternateTagFunction = null, S.prototypeForTagFunction = null, S.dispatchRecordsForInstanceTags = null, S.interceptorsForUncacheableTags = null, S.initNativeDispatchFlag = null, S._toStringVisiting = t._setArrayType([], t.findType("JSArray<Object>")), S.cachedDateSymbols = null, S.lastDateSymbolLocale = null, S._defaultLocale = null, S.DateFormat__useNativeDigitsByDefault = t.LinkedHashMap_LinkedHashMap$_empty(y.String, y.bool), S.DateFormat__digitMatchers = t.LinkedHashMap_LinkedHashMap$_empty(y.String, t.findType("RegExp")), S.Jiffy____defaultLocale = t._Cell$(), S.VisualizationField__filterDimensionOptions = t._setArrayType([u.DIMENSION_OPTION_5, u.DIMENSION_OPTION_6, u.DIMENSION_OPTION_7, u.DIMENSION_OPTION_8, u.DIMENSION_OPTION_9], y.JSArray_DIMENSION_OPTION), S.VisualizationField__fillGapDimensionOptions = t._setArrayType([u.DIMENSION_OPTION_1, u.DIMENSION_OPTION_2, u.DIMENSION_OPTION_3, u.DIMENSION_OPTION_4, u.DIMENSION_OPTION_6, u.DIMENSION_OPTION_7, u.DIMENSION_OPTION_8, u.DIMENSION_OPTION_9, u.DIMENSION_OPTION_10], y.JSArray_DIMENSION_OPTION), S.VisualizationField__isNumericAggregations = t._setArrayType([u.AGGREGATION_TYPE_2, u.AGGREGATION_TYPE_3], y.JSArray_AGGREGATION_TYPE);
|
|
9787
9787
|
}(), function() {
|
|
9788
|
-
var e =
|
|
9788
|
+
var e = j.lazyFinal, i = j.lazy;
|
|
9789
9789
|
e(S, "DART_CLOSURE_PROPERTY_NAME", "$get$DART_CLOSURE_PROPERTY_NAME", () => t.getIsolateAffinityTag("_$dart_dartClosure")), e(S, "TypeErrorDecoder_noSuchMethodPattern", "$get$TypeErrorDecoder_noSuchMethodPattern", () => t.TypeErrorDecoder_extractPattern(t.TypeErrorDecoder_provokeCallErrorOn({
|
|
9790
9790
|
toString: function() {
|
|
9791
9791
|
return "$receiver$";
|
|
@@ -9822,8 +9822,8 @@ Arguments: [` + d + "]";
|
|
|
9822
9822
|
return n.message;
|
|
9823
9823
|
}
|
|
9824
9824
|
}())), e(S, "DateTime__parseFormat", "$get$DateTime__parseFormat", () => t.RegExp_RegExp("^([+-]?\\d{4,6})-?(\\d\\d)-?(\\d\\d)(?:[ T](\\d\\d)(?::?(\\d\\d)(?::?(\\d\\d)(?:[.,](\\d+))?)?)?( ?[zZ]| ?([-+])(\\d\\d)(?::?(\\d\\d))?)?)?$")), e(S, "_hashSeed", "$get$_hashSeed", () => t.objectHashCode(u.Type_Object_xQ6)), e(S, "Endian_host", "$get$Endian_host", () => t.NativeByteData_NativeByteData$view(t.NativeUint16List__create1(t._ensureNativeList(t._setArrayType([1], y.JSArray_int))).buffer, 0, null).getInt8(0) === 1 ? u.C_Endian0 : u.C_Endian), e(S, "_clockKey", "$get$_clockKey", () => new t.Object()), e(S, "en_USSymbols", "$get$en_USSymbols", () => new t.DateSymbols("en_US", u.List_BC_AD, u.List_6xs, u.List_qpm, u.List_qpm, u.List_cIc, u.List_cIc, u.List_h8w, u.List_h8w, u.List_wMy, u.List_wMy, u.List_gc6, u.List_gc6, u.List_3US, u.List_AM_PM)), i(S, "_dateTimeSymbols", "$get$_dateTimeSymbols", () => t.UninitializedLocaleData$("initializeDateFormatting(<locale>)", S.$get$en_USSymbols())), i(S, "dateTimePatterns", "$get$dateTimePatterns", () => t.UninitializedLocaleData$("initializeDateFormatting(<locale>)", u.Map_EQ6TW)), e(S, "asciiZeroCodeUnit", "$get$asciiZeroCodeUnit", () => 48), e(S, "DateFormat__matchers", "$get$DateFormat__matchers", () => t._setArrayType([t.RegExp_RegExp("^'(?:[^']|'')*'"), t.RegExp_RegExp("^(?:G+|y+|M+|k+|S+|E+|a+|h+|K+|H+|c+|L+|Q+|d+|D+|m+|s+|v+|z+|Z+)"), t.RegExp_RegExp("^[^'GyMkSEahKHcLQdDmsvzZ]+")], t.findType("JSArray<RegExp>"))), e(S, "_DateFormatQuotedField__twoEscapedQuotes", "$get$_DateFormatQuotedField__twoEscapedQuotes", () => t.RegExp_RegExp("''")), e(S, "asciiDigitMatcher", "$get$asciiDigitMatcher", () => t.RegExp_RegExp("^\\d+")), i(S, "_availableLocales", "$get$_availableLocales", () => {
|
|
9825
|
-
var n, a, s = t.EnLocale$(u.StartOfWeek_1), l = t.EnLocale$(u.StartOfWeek_1), _ = t.EnLocale$(u.StartOfWeek_1), d = t.EnLocale$(u.StartOfWeek_1), c = t.EnLocale$(u.StartOfWeek_1), p = t.EnLocale$(u.StartOfWeek_2), $ = t.EnLocale$(u.StartOfWeek_2), g = t.EnLocale$(u.StartOfWeek_1), m = t.EnLocale$(u.StartOfWeek_1), h = t.EsLocale$(u.StartOfWeek_2), A = t.EsLocale$(u.StartOfWeek_2), E = t.EsLocale$(u.StartOfWeek_1), M = t.FrLocale$(u.StartOfWeek_2), b = t.FrLocale$(u.StartOfWeek_2), R = t.FrLocale$(u.StartOfWeek_1), C = t.ZhCnLocale$(u.StartOfWeek_1), F = t.ZhCnLocale$(u.StartOfWeek_1), D = t.ZhLocale$(u.StartOfWeek_1),
|
|
9826
|
-
return t.createSentinel(), t.createSentinel(), t.createSentinel(), t.createSentinel(), t.createSentinel(), t.createSentinel(), t.createSentinel(), n = t.PtLocale$(u.StartOfWeek_2), a = t.PtLocale$(u.StartOfWeek_1), t.createSentinel(), t.createSentinel(), t.createSentinel(), t.createSentinel(), t.createSentinel(), t.createSentinel(), t.createSentinel(), t.createSentinel(), t.LinkedHashMap_LinkedHashMap$_literal(["en", s, "en_us", l, "en_sg", _, "en_au", d, "en_ca", c, "en_gb", p, "en_ie", $, "en_il", g, "en_nz", m, "es", h, "es_do", A, "es_us", E, "fr", M, "fr_ch", b, "fr_ca", R, "zh", C, "zh_cn", F, "zh_hk", D, "zh_tw",
|
|
9825
|
+
var n, a, s = t.EnLocale$(u.StartOfWeek_1), l = t.EnLocale$(u.StartOfWeek_1), _ = t.EnLocale$(u.StartOfWeek_1), d = t.EnLocale$(u.StartOfWeek_1), c = t.EnLocale$(u.StartOfWeek_1), p = t.EnLocale$(u.StartOfWeek_2), $ = t.EnLocale$(u.StartOfWeek_2), g = t.EnLocale$(u.StartOfWeek_1), m = t.EnLocale$(u.StartOfWeek_1), h = t.EsLocale$(u.StartOfWeek_2), A = t.EsLocale$(u.StartOfWeek_2), E = t.EsLocale$(u.StartOfWeek_1), M = t.FrLocale$(u.StartOfWeek_2), b = t.FrLocale$(u.StartOfWeek_2), R = t.FrLocale$(u.StartOfWeek_1), C = t.ZhCnLocale$(u.StartOfWeek_1), F = t.ZhCnLocale$(u.StartOfWeek_1), D = t.ZhLocale$(u.StartOfWeek_1), L = t.ZhLocale$(u.StartOfWeek_1), v = t.DeLocale$(u.StartOfWeek_2), x = t.DeLocale$(u.StartOfWeek_2), H = t.DeLocale$(u.StartOfWeek_2), _e = t.DeLocale$(u.StartOfWeek_2), Me = t.ItLocale$(u.StartOfWeek_2), Ce = t.ItLocale$(u.StartOfWeek_2), be = t.ArLyLocale$(!0, u.StartOfWeek_0), Re = t.ArLyLocale$(!1, u.StartOfWeek_0), Fe = t.ArSaMaDzKwTnLocale$(!1, u.StartOfWeek_1), Oe = t.ArSaMaDzKwTnLocale$(!1, u.StartOfWeek_1), Le = t.ArSaMaDzKwTnLocale$(!0, u.StartOfWeek_1), ve = t.ArSaMaDzKwTnLocale$(!1, u.StartOfWeek_0), De = t.ArSaMaDzKwTnLocale$(!1, u.StartOfWeek_0);
|
|
9826
|
+
return t.createSentinel(), t.createSentinel(), t.createSentinel(), t.createSentinel(), t.createSentinel(), t.createSentinel(), t.createSentinel(), n = t.PtLocale$(u.StartOfWeek_2), a = t.PtLocale$(u.StartOfWeek_1), t.createSentinel(), t.createSentinel(), t.createSentinel(), t.createSentinel(), t.createSentinel(), t.createSentinel(), t.createSentinel(), t.createSentinel(), t.LinkedHashMap_LinkedHashMap$_literal(["en", s, "en_us", l, "en_sg", _, "en_au", d, "en_ca", c, "en_gb", p, "en_ie", $, "en_il", g, "en_nz", m, "es", h, "es_do", A, "es_us", E, "fr", M, "fr_ch", b, "fr_ca", R, "zh", C, "zh_cn", F, "zh_hk", D, "zh_tw", L, "de", v, "de_de", x, "de_at", H, "de_ch", _e, "it", Me, "it_ch", Ce, "ar", be, "ar_ly", Re, "ar_dz", Fe, "ar_kw", Oe, "ar_sa", Le, "ar_ma", ve, "ar_tn", De, "az", new t.AzLocale(u.StartOfWeek_2), "id", new t.IdLocale(u.StartOfWeek_1), "ja", new t.JaLocale(u.StartOfWeek_1), "ko", new t.KoLocale(u.StartOfWeek_1), "ru", new t.RuLocale(u.StartOfWeek_2), "uk", new t.UkLocale(u.StartOfWeek_2), "hi", new t.HiLocale(u.StartOfWeek_1), "pt", n, "pt_br", a, "pl", new t.PlLocale(u.StartOfWeek_2), "tr", new t.TrLocale(u.StartOfWeek_2), "sv", new t.SvLocale(u.StartOfWeek_2), "nb", new t.NbLocale(u.StartOfWeek_2), "fa", new t.FaLocale(u.StartOfWeek_0), "bn", new t.BnLocale(u.StartOfWeek_1), "nl", new t.NlLocale(u.StartOfWeek_2), "th", new t.ThLocale(u.StartOfWeek_1)], y.String, t.findType("Locale"));
|
|
9827
9827
|
}), e(S, "addonFlattenItemSchema", "$get$addonFlattenItemSchema", () => {
|
|
9828
9828
|
var n = "createdAt", a = t.Source_Source$couchdb("", ""), s = t.TopLevelFilters$(t._setArrayType([t.Permission_Permission$restaurant("restaurantId")], y.JSArray_Permission), n);
|
|
9829
9829
|
return t.Schema_Schema$build(t._setArrayType(["restaurantId"], y.JSArray_String), null, new t.addonFlattenItemSchema_closure(), u.List_empty, null, null, !1, !1, !0, !1, new t.addonFlattenItemSchema_closure0(), "Addon", "flatten_items", "flatten_item", u.SCHEMA_NAME_6, n, "", a, s);
|
|
@@ -10048,7 +10048,7 @@ Arguments: [` + d + "]";
|
|
|
10048
10048
|
(function() {
|
|
10049
10049
|
var e = function(_) {
|
|
10050
10050
|
var d = {};
|
|
10051
|
-
return d[_] = 1, Object.keys(
|
|
10051
|
+
return d[_] = 1, Object.keys(j.convertToFastObject(d))[0];
|
|
10052
10052
|
};
|
|
10053
10053
|
T.getIsolateTag = function(_) {
|
|
10054
10054
|
return e("___dart_" + _ + T.isolateTag);
|
|
@@ -10061,7 +10061,7 @@ Arguments: [` + d + "]";
|
|
|
10061
10061
|
}
|
|
10062
10062
|
}
|
|
10063
10063
|
T.dispatchPropertyName = T.getIsolateTag("dispatch_record");
|
|
10064
|
-
})(),
|
|
10064
|
+
})(), j.setOrUpdateInterceptorsByTag({ ArrayBuffer: o.Interceptor, DataView: t.NativeTypedData, ArrayBufferView: t.NativeTypedData, Uint16Array: t.NativeUint16List, Uint32Array: t.NativeUint32List, Uint8Array: t.NativeUint8List }), j.setOrUpdateLeafTags({ ArrayBuffer: !0, DataView: !0, ArrayBufferView: !1, Uint16Array: !0, Uint32Array: !0, Uint8Array: !1 }), t.NativeTypedArray.$nativeSuperclassTag = "ArrayBufferView", t._NativeTypedArrayOfInt_NativeTypedArray_ListMixin.$nativeSuperclassTag = "ArrayBufferView", t._NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin.$nativeSuperclassTag = "ArrayBufferView", t.NativeTypedArrayOfInt.$nativeSuperclassTag = "ArrayBufferView";
|
|
10065
10065
|
}(), Function.prototype.call$1 = function(r) {
|
|
10066
10066
|
return this(r);
|
|
10067
10067
|
}, Function.prototype.call$0 = function() {
|
|
@@ -10074,7 +10074,7 @@ Arguments: [` + d + "]";
|
|
|
10074
10074
|
return this(r, e, i);
|
|
10075
10075
|
}, Function.prototype.call$8 = function(r, e, i, n, a, s, l, _) {
|
|
10076
10076
|
return this(r, e, i, n, a, s, l, _);
|
|
10077
|
-
},
|
|
10077
|
+
}, ne(f), function(r) {
|
|
10078
10078
|
if (typeof document > "u") {
|
|
10079
10079
|
r(null);
|
|
10080
10080
|
return;
|
|
@@ -10097,72 +10097,72 @@ Arguments: [` + d + "]";
|
|
|
10097
10097
|
typeof dartMainRunner == "function" ? dartMainRunner(e, []) : e([]);
|
|
10098
10098
|
});
|
|
10099
10099
|
})();
|
|
10100
|
-
})(
|
|
10100
|
+
})(Ie);
|
|
10101
10101
|
var Ue = {};
|
|
10102
|
-
(function(
|
|
10103
|
-
|
|
10104
|
-
var
|
|
10105
|
-
if (k.scheduleImmediate = typeof setImmediate < "u" ? function(
|
|
10106
|
-
setImmediate(
|
|
10107
|
-
} : function(
|
|
10108
|
-
setTimeout(
|
|
10109
|
-
}, k.exports = w ||
|
|
10110
|
-
var
|
|
10102
|
+
(function(O) {
|
|
10103
|
+
O.load = function(J, w) {
|
|
10104
|
+
var U = typeof process < "u" && (process.versions || {}).hasOwnProperty("node"), k = U ? Object.create(globalThis) : globalThis;
|
|
10105
|
+
if (k.scheduleImmediate = typeof setImmediate < "u" ? function(P) {
|
|
10106
|
+
setImmediate(P);
|
|
10107
|
+
} : function(P) {
|
|
10108
|
+
setTimeout(P, 0);
|
|
10109
|
+
}, k.exports = w || O, typeof process < "u" && (k.process = process), typeof __dirname < "u" && (k.__dirname = __dirname), typeof __filename < "u" && (k.__filename = __filename), typeof Buffer < "u" && (k.Buffer = Buffer), U) {
|
|
10110
|
+
var q = (typeof __webpack_require__ < "u" ? __non_webpack_require__ : qe)("url");
|
|
10111
10111
|
Object.defineProperty(k, "location", {
|
|
10112
10112
|
value: {
|
|
10113
10113
|
get href() {
|
|
10114
|
-
return
|
|
10115
|
-
var
|
|
10116
|
-
return process.platform != "win32" ?
|
|
10114
|
+
return q.pathToFileURL ? q.pathToFileURL(process.cwd()).href + "/" : "file://" + function() {
|
|
10115
|
+
var P = process.cwd();
|
|
10116
|
+
return process.platform != "win32" ? P : "/" + P.replace(/\\/g, "/");
|
|
10117
10117
|
}() + "/";
|
|
10118
10118
|
}
|
|
10119
10119
|
}
|
|
10120
10120
|
}), function() {
|
|
10121
|
-
function
|
|
10121
|
+
function P() {
|
|
10122
10122
|
try {
|
|
10123
10123
|
throw new Error();
|
|
10124
|
-
} catch (
|
|
10125
|
-
var
|
|
10124
|
+
} catch (Y) {
|
|
10125
|
+
var B = Y.stack, Q = new RegExp("^ *at [^(]*\\((.*):[0-9]*:[0-9]*\\)$", "mg"), V = null;
|
|
10126
10126
|
do {
|
|
10127
|
-
var
|
|
10128
|
-
|
|
10129
|
-
} while (
|
|
10130
|
-
return
|
|
10127
|
+
var G = Q.exec(B);
|
|
10128
|
+
G != null && (V = G);
|
|
10129
|
+
} while (G != null);
|
|
10130
|
+
return V[1];
|
|
10131
10131
|
}
|
|
10132
10132
|
}
|
|
10133
|
-
var
|
|
10133
|
+
var N = null;
|
|
10134
10134
|
Object.defineProperty(k, "document", {
|
|
10135
10135
|
value: {
|
|
10136
10136
|
get currentScript() {
|
|
10137
|
-
return
|
|
10137
|
+
return N == null && (N = { src: P() }), N;
|
|
10138
10138
|
}
|
|
10139
10139
|
}
|
|
10140
10140
|
});
|
|
10141
|
-
}(), k.dartDeferredLibraryLoader = function(
|
|
10141
|
+
}(), k.dartDeferredLibraryLoader = function(P, N, B) {
|
|
10142
10142
|
try {
|
|
10143
|
-
load(
|
|
10144
|
-
} catch (
|
|
10145
|
-
|
|
10143
|
+
load(P), N();
|
|
10144
|
+
} catch (Q) {
|
|
10145
|
+
B(Q);
|
|
10146
10146
|
}
|
|
10147
10147
|
};
|
|
10148
10148
|
}
|
|
10149
10149
|
(function() {
|
|
10150
|
-
function
|
|
10150
|
+
function N(e, i) {
|
|
10151
10151
|
for (var n = Object.keys(e), a = 0; a < n.length; a++) {
|
|
10152
10152
|
var s = n[a];
|
|
10153
10153
|
i[s] = e[s];
|
|
10154
10154
|
}
|
|
10155
10155
|
}
|
|
10156
|
-
function
|
|
10156
|
+
function B(e, i) {
|
|
10157
10157
|
for (var n = Object.keys(e), a = 0; a < n.length; a++) {
|
|
10158
10158
|
var s = n[a];
|
|
10159
10159
|
i.hasOwnProperty(s) || (i[s] = e[s]);
|
|
10160
10160
|
}
|
|
10161
10161
|
}
|
|
10162
|
-
function
|
|
10162
|
+
function Q(e, i) {
|
|
10163
10163
|
Object.assign(i, e);
|
|
10164
10164
|
}
|
|
10165
|
-
var
|
|
10165
|
+
var V = function() {
|
|
10166
10166
|
var e = function() {
|
|
10167
10167
|
};
|
|
10168
10168
|
e.prototype = { p: {} };
|
|
@@ -10181,27 +10181,27 @@ var Ue = {};
|
|
|
10181
10181
|
}
|
|
10182
10182
|
return !1;
|
|
10183
10183
|
}();
|
|
10184
|
-
function
|
|
10184
|
+
function G(e, i) {
|
|
10185
10185
|
if (e.prototype.constructor = e, e.prototype["$is" + e.name] = e, i != null) {
|
|
10186
|
-
if (
|
|
10186
|
+
if (V) {
|
|
10187
10187
|
e.prototype.__proto__ = i.prototype;
|
|
10188
10188
|
return;
|
|
10189
10189
|
}
|
|
10190
10190
|
var n = Object.create(i.prototype);
|
|
10191
|
-
|
|
10191
|
+
N(e.prototype, n), e.prototype = n;
|
|
10192
10192
|
}
|
|
10193
10193
|
}
|
|
10194
|
-
function
|
|
10194
|
+
function Y(e, i) {
|
|
10195
10195
|
for (var n = 0; n < i.length; n++)
|
|
10196
|
-
|
|
10196
|
+
G(i[n], e);
|
|
10197
10197
|
}
|
|
10198
|
-
function
|
|
10199
|
-
|
|
10198
|
+
function oe(e, i) {
|
|
10199
|
+
Q(i.prototype, e.prototype), e.prototype.constructor = e;
|
|
10200
10200
|
}
|
|
10201
|
-
function
|
|
10202
|
-
|
|
10201
|
+
function Z(e, i) {
|
|
10202
|
+
B(i.prototype, e.prototype), e.prototype.constructor = e;
|
|
10203
10203
|
}
|
|
10204
|
-
function
|
|
10204
|
+
function ee(e, i, n, a) {
|
|
10205
10205
|
var s = e;
|
|
10206
10206
|
e[i] = s, e[n] = function() {
|
|
10207
10207
|
e[n] = function() {
|
|
@@ -10218,7 +10218,7 @@ var Ue = {};
|
|
|
10218
10218
|
return l;
|
|
10219
10219
|
};
|
|
10220
10220
|
}
|
|
10221
|
-
function
|
|
10221
|
+
function ae(e, i, n, a) {
|
|
10222
10222
|
var s = e;
|
|
10223
10223
|
e[i] = s, e[n] = function() {
|
|
10224
10224
|
return e[i] === s && (e[i] = a()), e[n] = function() {
|
|
@@ -10226,7 +10226,7 @@ var Ue = {};
|
|
|
10226
10226
|
}, e[i];
|
|
10227
10227
|
};
|
|
10228
10228
|
}
|
|
10229
|
-
function
|
|
10229
|
+
function se(e, i, n, a) {
|
|
10230
10230
|
var s = e;
|
|
10231
10231
|
e[i] = s, e[n] = function() {
|
|
10232
10232
|
if (e[i] === s) {
|
|
@@ -10239,10 +10239,10 @@ var Ue = {};
|
|
|
10239
10239
|
}, _;
|
|
10240
10240
|
};
|
|
10241
10241
|
}
|
|
10242
|
-
function
|
|
10242
|
+
function ie(e) {
|
|
10243
10243
|
return e.immutable$list = Array, e.fixed$length = Array, e;
|
|
10244
10244
|
}
|
|
10245
|
-
function
|
|
10245
|
+
function ne(e) {
|
|
10246
10246
|
return e;
|
|
10247
10247
|
}
|
|
10248
10248
|
function de(e) {
|
|
@@ -10282,7 +10282,7 @@ var Ue = {};
|
|
|
10282
10282
|
I.interceptorsByTag = e;
|
|
10283
10283
|
return;
|
|
10284
10284
|
}
|
|
10285
|
-
|
|
10285
|
+
N(e, i);
|
|
10286
10286
|
}
|
|
10287
10287
|
function $e(e) {
|
|
10288
10288
|
var i = I.leafTags;
|
|
@@ -10290,14 +10290,14 @@ var Ue = {};
|
|
|
10290
10290
|
I.leafTags = e;
|
|
10291
10291
|
return;
|
|
10292
10292
|
}
|
|
10293
|
-
|
|
10293
|
+
N(e, i);
|
|
10294
10294
|
}
|
|
10295
10295
|
function ge(e) {
|
|
10296
10296
|
var i = I.types, n = i.length;
|
|
10297
10297
|
return i.push.apply(i, e), n;
|
|
10298
10298
|
}
|
|
10299
|
-
function
|
|
10300
|
-
return
|
|
10299
|
+
function j(e, i) {
|
|
10300
|
+
return N(i, e), e;
|
|
10301
10301
|
}
|
|
10302
10302
|
var t = function() {
|
|
10303
10303
|
var e = function(n, a, s, l, _) {
|
|
@@ -10309,7 +10309,7 @@ var Ue = {};
|
|
|
10309
10309
|
return ye(_, d, n, a, s, [c], p, l);
|
|
10310
10310
|
};
|
|
10311
10311
|
};
|
|
10312
|
-
return { inherit:
|
|
10312
|
+
return { inherit: G, inheritMany: Y, mixin: oe, mixinHard: Z, installStaticTearOff: ye, installInstanceTearOff: he, _instance_0u: e(0, 0, null, ["call$0"], 0), _instance_1u: e(0, 1, null, ["call$1"], 0), _instance_2u: e(0, 2, null, ["call$2"], 0), _instance_0i: e(1, 0, null, ["call$0"], 0), _instance_1i: e(1, 1, null, ["call$1"], 0), _instance_2i: e(1, 2, null, ["call$2"], 0), _static_0: i(0, null, ["call$0"], 0), _static_1: i(1, null, ["call$1"], 0), _static_2: i(2, null, ["call$2"], 0), makeConstList: ie, lazy: ae, lazyFinal: se, lazyOld: ee, updateHolder: j, convertToFastObject: ne, updateTypes: ge, setOrUpdateInterceptorsByTag: Te, setOrUpdateLeafTags: $e };
|
|
10313
10313
|
}(), o = {
|
|
10314
10314
|
JS_CONST: function() {
|
|
10315
10315
|
},
|
|
@@ -10355,15 +10355,15 @@ var Ue = {};
|
|
|
10355
10355
|
}
|
|
10356
10356
|
},
|
|
10357
10357
|
Sort__dualPivotQuicksort(e, i, n, a) {
|
|
10358
|
-
var s, l, _, d, c, p, $, g, m, h, A = f.JSInt_methods._tdivFast$1(n - i + 1, 6), E = i + A, M = n - A, b = f.JSInt_methods._tdivFast$1(i + n, 2), R = b - A, C = b + A, F = u.getInterceptor$asx(e), D = F.$index(e, E),
|
|
10359
|
-
if (a.call$2(D,
|
|
10358
|
+
var s, l, _, d, c, p, $, g, m, h, A = f.JSInt_methods._tdivFast$1(n - i + 1, 6), E = i + A, M = n - A, b = f.JSInt_methods._tdivFast$1(i + n, 2), R = b - A, C = b + A, F = u.getInterceptor$asx(e), D = F.$index(e, E), L = F.$index(e, R), v = F.$index(e, b), x = F.$index(e, C), H = F.$index(e, M);
|
|
10359
|
+
if (a.call$2(D, L) > 0 && (s = L, L = D, D = s), a.call$2(x, H) > 0 && (s = H, H = x, x = s), a.call$2(D, v) > 0 && (s = v, v = D, D = s), a.call$2(L, v) > 0 && (s = v, v = L, L = s), a.call$2(D, x) > 0 && (s = x, x = D, D = s), a.call$2(v, x) > 0 && (s = x, x = v, v = s), a.call$2(L, H) > 0 && (s = H, H = L, L = s), a.call$2(L, v) > 0 && (s = v, v = L, L = s), a.call$2(x, H) > 0 && (s = H, H = x, x = s), F.$indexSet(e, E, D), F.$indexSet(e, b, v), F.$indexSet(e, M, H), F.$indexSet(e, R, F.$index(e, i)), F.$indexSet(e, C, F.$index(e, n)), l = i + 1, _ = n - 1, u.$eq$(a.call$2(L, x), 0)) {
|
|
10360
10360
|
for (d = l; d <= _; ++d)
|
|
10361
|
-
if (c = F.$index(e, d), p = a.call$2(c,
|
|
10361
|
+
if (c = F.$index(e, d), p = a.call$2(c, L), p !== 0)
|
|
10362
10362
|
if (p < 0)
|
|
10363
10363
|
d !== l && (F.$indexSet(e, d, F.$index(e, l)), F.$indexSet(e, l, c)), ++l;
|
|
10364
10364
|
else
|
|
10365
10365
|
for (; ; )
|
|
10366
|
-
if (p = a.call$2(F.$index(e, _),
|
|
10366
|
+
if (p = a.call$2(F.$index(e, _), L), p > 0) {
|
|
10367
10367
|
--_;
|
|
10368
10368
|
continue;
|
|
10369
10369
|
} else if ($ = _ - 1, p < 0) {
|
|
@@ -10376,37 +10376,37 @@ var Ue = {};
|
|
|
10376
10376
|
m = !0;
|
|
10377
10377
|
} else {
|
|
10378
10378
|
for (d = l; d <= _; ++d)
|
|
10379
|
-
if (c = F.$index(e, d), a.call$2(c,
|
|
10379
|
+
if (c = F.$index(e, d), a.call$2(c, L) < 0)
|
|
10380
10380
|
d !== l && (F.$indexSet(e, d, F.$index(e, l)), F.$indexSet(e, l, c)), ++l;
|
|
10381
|
-
else if (a.call$2(c,
|
|
10381
|
+
else if (a.call$2(c, x) > 0)
|
|
10382
10382
|
for (; ; )
|
|
10383
|
-
if (a.call$2(F.$index(e, _),
|
|
10383
|
+
if (a.call$2(F.$index(e, _), x) > 0) {
|
|
10384
10384
|
if (--_, _ < d)
|
|
10385
10385
|
break;
|
|
10386
10386
|
continue;
|
|
10387
10387
|
} else {
|
|
10388
|
-
$ = _ - 1, a.call$2(F.$index(e, _),
|
|
10388
|
+
$ = _ - 1, a.call$2(F.$index(e, _), L) < 0 ? (F.$indexSet(e, d, F.$index(e, l)), g = l + 1, F.$indexSet(e, l, F.$index(e, _)), F.$indexSet(e, _, c), l = g) : (F.$indexSet(e, d, F.$index(e, _)), F.$indexSet(e, _, c)), _ = $;
|
|
10389
10389
|
break;
|
|
10390
10390
|
}
|
|
10391
10391
|
m = !1;
|
|
10392
10392
|
}
|
|
10393
|
-
if (h = l - 1, F.$indexSet(e, i, F.$index(e, h)), F.$indexSet(e, h,
|
|
10393
|
+
if (h = l - 1, F.$indexSet(e, i, F.$index(e, h)), F.$indexSet(e, h, L), h = _ + 1, F.$indexSet(e, n, F.$index(e, h)), F.$indexSet(e, h, x), o.Sort__doSort(e, i, l - 2, a), o.Sort__doSort(e, _ + 2, n, a), !m)
|
|
10394
10394
|
if (l < E && _ > M) {
|
|
10395
|
-
for (; u.$eq$(a.call$2(F.$index(e, l),
|
|
10395
|
+
for (; u.$eq$(a.call$2(F.$index(e, l), L), 0); )
|
|
10396
10396
|
++l;
|
|
10397
|
-
for (; u.$eq$(a.call$2(F.$index(e, _),
|
|
10397
|
+
for (; u.$eq$(a.call$2(F.$index(e, _), x), 0); )
|
|
10398
10398
|
--_;
|
|
10399
10399
|
for (d = l; d <= _; ++d)
|
|
10400
|
-
if (c = F.$index(e, d), a.call$2(c,
|
|
10400
|
+
if (c = F.$index(e, d), a.call$2(c, L) === 0)
|
|
10401
10401
|
d !== l && (F.$indexSet(e, d, F.$index(e, l)), F.$indexSet(e, l, c)), ++l;
|
|
10402
|
-
else if (a.call$2(c,
|
|
10402
|
+
else if (a.call$2(c, x) === 0)
|
|
10403
10403
|
for (; ; )
|
|
10404
|
-
if (a.call$2(F.$index(e, _),
|
|
10404
|
+
if (a.call$2(F.$index(e, _), x) === 0) {
|
|
10405
10405
|
if (--_, _ < d)
|
|
10406
10406
|
break;
|
|
10407
10407
|
continue;
|
|
10408
10408
|
} else {
|
|
10409
|
-
$ = _ - 1, a.call$2(F.$index(e, _),
|
|
10409
|
+
$ = _ - 1, a.call$2(F.$index(e, _), L) < 0 ? (F.$indexSet(e, d, F.$index(e, l)), g = l + 1, F.$indexSet(e, l, F.$index(e, _)), F.$indexSet(e, _, c), l = g) : (F.$indexSet(e, d, F.$index(e, _)), F.$indexSet(e, _, c)), _ = $;
|
|
10410
10410
|
break;
|
|
10411
10411
|
}
|
|
10412
10412
|
o.Sort__doSort(e, l, _, a);
|
|
@@ -10743,8 +10743,8 @@ var Ue = {};
|
|
|
10743
10743
|
var i, n, a, s, l, _, d, c, p, $, g = e.co, m = e.iS, h = e.iI, A = e.nDA, E = e.aI, M = e.fs, b = e.cs, R = M[0], C = b[0], F = g[R], D = e.fT;
|
|
10744
10744
|
for (D.toString, i = Object.create(m ? new o.StaticClosure().constructor.prototype : new o.BoundClosure(null, null).constructor.prototype), i.$initialize = i.constructor, m ? n = function() {
|
|
10745
10745
|
this.$initialize();
|
|
10746
|
-
} : n = function(v,
|
|
10747
|
-
this.$initialize(v,
|
|
10746
|
+
} : n = function(v, x) {
|
|
10747
|
+
this.$initialize(v, x);
|
|
10748
10748
|
}, i.constructor = n, n.prototype = i, i.$_name = R, i.$_target = F, a = !m, a ? s = o.Closure_forwardCallTo(R, F, h, A) : (i.$static_name = R, s = F), i.$signature = o.Closure__computeSignatureFunctionNewRti(D, m, h), i[C] = s, l = s, _ = 1; _ < M.length; ++_)
|
|
10749
10749
|
d = M[_], typeof d == "string" ? (c = g[d], p = d, d = c) : p = "", $ = b[_], $ != null && (a && (d = o.Closure_forwardCallTo(p, d, h, A)), i[$] = d), _ === E && (l = d);
|
|
10750
10750
|
return i["call*"] = l, i.$requiredArgCount = e.rC, i.$defaultValues = e.dV, n;
|
|
@@ -11473,28 +11473,28 @@ var Ue = {};
|
|
|
11473
11473
|
return l + "})";
|
|
11474
11474
|
},
|
|
11475
11475
|
_functionRtiToString(e, i, n) {
|
|
11476
|
-
var a, s, l, _, d, c, p, $, g, m, h, A, E, M, b, R, C, F, D,
|
|
11476
|
+
var a, s, l, _, d, c, p, $, g, m, h, A, E, M, b, R, C, F, D, L, v, x = ", ";
|
|
11477
11477
|
if (n != null) {
|
|
11478
11478
|
for (a = n.length, i == null ? (i = o._setArrayType([], r.JSArray_String), s = null) : s = i.length, l = i.length, _ = a; _ > 0; --_)
|
|
11479
11479
|
i.push("T" + (l + _));
|
|
11480
|
-
for (d = r.nullable_Object, c = r.legacy_Object, p = "<", $ = "", _ = 0; _ < a; ++_, $ =
|
|
11480
|
+
for (d = r.nullable_Object, c = r.legacy_Object, p = "<", $ = "", _ = 0; _ < a; ++_, $ = x)
|
|
11481
11481
|
p = f.JSString_methods.$add(p + $, i[i.length - 1 - _]), g = n[_], m = g._kind, m === 2 || m === 3 || m === 4 || m === 5 || g === d ? h = !0 : g !== c ? h = !1 : h = !0, h || (p += " extends " + o._rtiToString(g, i));
|
|
11482
11482
|
p += ">";
|
|
11483
11483
|
} else
|
|
11484
11484
|
p = "", s = null;
|
|
11485
|
-
for (d = e._primary, A = e._rest, E = A._requiredPositional, M = E.length, b = A._optionalPositional, R = b.length, C = A._named, F = C.length, D = o._rtiToString(d, i),
|
|
11486
|
-
|
|
11485
|
+
for (d = e._primary, A = e._rest, E = A._requiredPositional, M = E.length, b = A._optionalPositional, R = b.length, C = A._named, F = C.length, D = o._rtiToString(d, i), L = "", v = "", _ = 0; _ < M; ++_, v = x)
|
|
11486
|
+
L += v + o._rtiToString(E[_], i);
|
|
11487
11487
|
if (R > 0) {
|
|
11488
|
-
for (
|
|
11489
|
-
|
|
11490
|
-
|
|
11488
|
+
for (L += v + "[", v = "", _ = 0; _ < R; ++_, v = x)
|
|
11489
|
+
L += v + o._rtiToString(b[_], i);
|
|
11490
|
+
L += "]";
|
|
11491
11491
|
}
|
|
11492
11492
|
if (F > 0) {
|
|
11493
|
-
for (
|
|
11494
|
-
|
|
11495
|
-
|
|
11493
|
+
for (L += v + "{", v = "", _ = 0; _ < F; _ += 3, v = x)
|
|
11494
|
+
L += v, C[_ + 1] && (L += "required "), L += o._rtiToString(C[_ + 2], i) + " " + C[_];
|
|
11495
|
+
L += "}";
|
|
11496
11496
|
}
|
|
11497
|
-
return s != null && (i.toString, i.length = s), p + "(" +
|
|
11497
|
+
return s != null && (i.toString, i.length = s), p + "(" + L + ") => " + D;
|
|
11498
11498
|
},
|
|
11499
11499
|
_rtiToString(e, i) {
|
|
11500
11500
|
var n, a, s, l, _, d, c = e._kind;
|
|
@@ -11852,7 +11852,7 @@ var Ue = {};
|
|
|
11852
11852
|
return c === 12 ? i === r.JavaScriptFunction ? !0 : l ? !1 : o._isFunctionSubtype(e, i, n, a, s) : _ === 9 ? c !== 9 ? !1 : o._isInterfaceSubtype(e, i, n, a, s) : (l = _ === 11, l && a === r.Record ? !0 : l && c === 11 ? o._isRecordSubtype(e, i, n, a, s) : !1);
|
|
11853
11853
|
},
|
|
11854
11854
|
_isFunctionSubtype(e, i, n, a, s) {
|
|
11855
|
-
var l, _, d, c, p, $, g, m, h, A, E, M, b, R, C, F, D,
|
|
11855
|
+
var l, _, d, c, p, $, g, m, h, A, E, M, b, R, C, F, D, L, v, x, H, _e;
|
|
11856
11856
|
if (!o._isSubtype(e, i._primary, n, a._primary, s) || (l = i._rest, _ = a._rest, d = l._requiredPositional, c = _._requiredPositional, p = d.length, $ = c.length, p > $) || (g = $ - p, m = l._optionalPositional, h = _._optionalPositional, A = m.length, E = h.length, p + A < $ + E))
|
|
11857
11857
|
return !1;
|
|
11858
11858
|
for (M = 0; M < p; ++M)
|
|
@@ -11864,23 +11864,23 @@ var Ue = {};
|
|
|
11864
11864
|
for (M = 0; M < E; ++M)
|
|
11865
11865
|
if (b = m[g + M], !o._isSubtype(e, h[M], s, b, n))
|
|
11866
11866
|
return !1;
|
|
11867
|
-
for (R = l._named, C = _._named, F = R.length, D = C.length,
|
|
11868
|
-
for (
|
|
11869
|
-
if (
|
|
11867
|
+
for (R = l._named, C = _._named, F = R.length, D = C.length, L = 0, v = 0; v < D; v += 3)
|
|
11868
|
+
for (x = C[v]; ; ) {
|
|
11869
|
+
if (L >= F || (H = R[L], L += 3, x < H))
|
|
11870
11870
|
return !1;
|
|
11871
|
-
if (_e = R[
|
|
11871
|
+
if (_e = R[L - 2], H < x) {
|
|
11872
11872
|
if (_e)
|
|
11873
11873
|
return !1;
|
|
11874
11874
|
continue;
|
|
11875
11875
|
}
|
|
11876
|
-
if (b = C[v + 1], _e && !b || (b = R[
|
|
11876
|
+
if (b = C[v + 1], _e && !b || (b = R[L - 1], !o._isSubtype(e, C[v + 2], s, b, n)))
|
|
11877
11877
|
return !1;
|
|
11878
11878
|
break;
|
|
11879
11879
|
}
|
|
11880
|
-
for (;
|
|
11881
|
-
if (R[
|
|
11880
|
+
for (; L < F; ) {
|
|
11881
|
+
if (R[L + 1])
|
|
11882
11882
|
return !1;
|
|
11883
|
-
|
|
11883
|
+
L += 3;
|
|
11884
11884
|
}
|
|
11885
11885
|
return !0;
|
|
11886
11886
|
},
|
|
@@ -13230,17 +13230,17 @@ var Ue = {};
|
|
|
13230
13230
|
return e instanceof o.BaseXYDatasourceConfigModel && e.isCumulative === !0 ? n = !0 : n = e instanceof o.ScorecardDatasourceConfigModel && e.isCumulative, n ? (n = r.XYDatasetModel, o.List_List$of(o.ListExtensions_mapIndexed(i, new o.accumulate_closure(e), n, n), !0, n)) : i;
|
|
13231
13231
|
},
|
|
13232
13232
|
formatBaseXYChartData(e, i, n, a) {
|
|
13233
|
-
var s, l, _, d, c, p, $, g, m, h, A, E, M, b, R, C, F, D,
|
|
13233
|
+
var s, l, _, d, c, p, $, g, m, h, A, E, M, b, R, C, F, D, L, v, x = null;
|
|
13234
13234
|
if (n.length === 0)
|
|
13235
|
-
return s = o._setArrayType([], r.JSArray_String), l = o._setArrayType([], r.JSArray_XYDatasetModel), _ = o.IterableExtension_get_firstOrNull(n), new o.BaseXYChartDataModel(e, s, l, new o.DateComparison(_ == null ?
|
|
13235
|
+
return s = o._setArrayType([], r.JSArray_String), l = o._setArrayType([], r.JSArray_XYDatasetModel), _ = o.IterableExtension_get_firstOrNull(n), new o.BaseXYChartDataModel(e, s, l, new o.DateComparison(_ == null ? x : _.dateRange, x));
|
|
13236
13236
|
for (d = f.JSArray_methods.get$first(n).columns, s = r.QueryResponse, c = o._formatRows(o.ListExtension_sublistOrEmpty(n, 0, 1, s)), p = o._formatRows(o.ListExtension_sublistOrEmpty(n, 1, 2, s)), p.length !== 0 && (s = o._arrayInstanceType(d)._eval$1("MappedListIterable<1,ComparisonDataColumn>"), $ = o.List_List$of(new o.MappedListIterable(d, new o.formatBaseXYChartData_closure(), s), !0, s._eval$1("ListIterable.E")), g = o.compare(new o.ComparisonData($, p), new o.ComparisonData($, c)), p = g.comparison, c = g.main), i.breakdownDimension == null && (m = f.JSArray_methods.indexWhere$1(d, new o.formatBaseXYChartData_closure0()), s = o._arrayInstanceType(c)._eval$1("MappedListIterable<1,List<@>>"), c = o.List_List$of(new o.MappedListIterable(c, new o.formatBaseXYChartData_closure1(d, m), s), !0, s._eval$1("ListIterable.E")), p.length !== 0 && (s = o._arrayInstanceType(p)._eval$1("MappedListIterable<1,List<@>>"), p = o.List_List$of(new o.MappedListIterable(p, new o.formatBaseXYChartData_closure2(d, m), s), !0, s._eval$1("ListIterable.E")))), s = r.JSArray_String, h = o._setArrayType([], s), A = o._setArrayType([], s), s = c.length, E = 0; E < c.length; c.length === s || (0, o.throwConcurrentModificationError)(c), ++E)
|
|
13237
13237
|
M = c[E], l = u.getInterceptor$asx(M), h.push(u.toString$0$(l.$index(M, 0))), A.push(u.toString$0$(l.$index(M, 1)));
|
|
13238
13238
|
for (s = r.String, l = o.LinkedHashSet_LinkedHashSet$from(h, s), h = o.List_List$of(l, !0, o._instanceType(l)._precomputed1), s = o.LinkedHashSet_LinkedHashSet$from(A, s), A = o.List_List$of(s, !0, o._instanceType(s)._precomputed1), b = o._setArrayType([], r.JSArray_XYDatasetModel), s = A.length, l = r.JSArray_num, E = 0; E < A.length; A.length === s || (0, o.throwConcurrentModificationError)(A), ++E) {
|
|
13239
13239
|
for (R = A[E], C = o._setArrayType([], l), F = o._setArrayType([], l), _ = h.length, D = 0; D < h.length; h.length === _ || (0, o.throwConcurrentModificationError)(h), ++D)
|
|
13240
|
-
|
|
13240
|
+
L = h[D], v = o.IterableExtension_firstWhereOrNull(c, new o.formatBaseXYChartData_closure3(L, R)), v = v == null ? x : o.ListExtension_elementAtOrNull(v, 2), C.push(v ?? 0), p.length !== 0 && (v = o.IterableExtension_firstWhereOrNull(p, new o.formatBaseXYChartData_closure4(L, R)), v = v == null ? x : o.ListExtension_elementAtOrNull(v, 2), F.push(v ?? 0));
|
|
13241
13241
|
b.push(new o.XYDatasetModel(R, !1, C)), F.length !== 0 && b.push(new o.XYDatasetModel(R, !0, F));
|
|
13242
13242
|
}
|
|
13243
|
-
return b = o.accumulate(i, b), s = o.IterableExtension_get_firstOrNull(n), s = s == null ?
|
|
13243
|
+
return b = o.accumulate(i, b), s = o.IterableExtension_get_firstOrNull(n), s = s == null ? x : s.dateRange, l = o.ListExtension_elementAtOrNull(n, 1), new o.BaseXYChartDataModel(e, h, b, new o.DateComparison(s, l == null ? x : l.dateRange));
|
|
13244
13244
|
},
|
|
13245
13245
|
_formatRows_closure: function(i) {
|
|
13246
13246
|
this.response = i;
|
|
@@ -13314,9 +13314,9 @@ var Ue = {};
|
|
|
13314
13314
|
return new o.RowInfo(l, u.map$1$1$ax(n, new o._getRowInfo_closure(e, i, a, l), s).join$0(0));
|
|
13315
13315
|
},
|
|
13316
13316
|
compare(e, i) {
|
|
13317
|
-
var n, a, s, l, _, d, c, p, $, g, m, h, A, E, M, b, R, C, F, D,
|
|
13318
|
-
for (
|
|
13319
|
-
if (A = c[h], E = o._getRowInfo(a,
|
|
13317
|
+
var n, a, s, l, _, d, c, p, $, g, m, h, A, E, M, b, R, C, F, D, L = {};
|
|
13318
|
+
for (L.comparisonDateIndex = L.mainDateIndex = null, n = L.comparisonIndexesCompleted = L.mainIndexesCompleted = !1, a = i.columns, s = r.JSArray_int, l = o.IterableExtension_foldIndexed(a, o._setArrayType([], s), new o.compare_closure(L)), _ = o.IterableExtension_foldIndexed(e.columns, o._setArrayType([], s), new o.compare_closure0(L)), s = r.JSArray_String, L.dates = o._setArrayType([], s), (L.mainDateIndex != null ? L.comparisonDateIndex != null : n) && (n = r.String, n = o.ListExtensions_mapIndexed(f.JSArray_methods.fold$2(i.rows, o._setArrayType([], s), new o.compare_closure1(L)), new o.compare_closure2(f.JSArray_methods.fold$2(e.rows, o._setArrayType([], s), new o.compare_closure3(L))), n, n), L.dates = o.List_List$of(n, !0, n.$ti._eval$1("Iterable.E"))), d = f.JSArray_methods.fold$2(e.rows, o.LinkedHashMap_LinkedHashMap$_empty(r.String, r.List_dynamic), new o.compare_closure4(L, e, _)), n = r.JSArray_List_dynamic, s = o._setArrayType([], n), n = o._setArrayType([], n), c = i.rows, p = c.length, $ = r.JSArray_dynamic, g = u.getInterceptor$asx(l), m = r.dynamic, h = 0; h < c.length; c.length === p || (0, o.throwConcurrentModificationError)(c), ++h) {
|
|
13319
|
+
if (A = c[h], E = o._getRowInfo(a, L.dates, l, A), M = d.$index(0, E.id), b = M == null ? null : u.toList$0$ax(M), b == null) {
|
|
13320
13320
|
for (M = E.row, R = o.List_List$of(o.ListExtensions_slice(M, 0, g.get$length(l), m), !0, m), C = M.length - g.get$length(l), C < 0 && o.throwExpression(o.ArgumentError$("Length must be a non-negative integer: " + C)), F = o._setArrayType(new Array(C), $), D = 0; D < C; ++D)
|
|
13321
13321
|
F[D] = null;
|
|
13322
13322
|
f.JSArray_methods.addAll$1(R, F), b = R;
|
|
@@ -17363,18 +17363,18 @@ Arguments: [` + c + "]";
|
|
|
17363
17363
|
$signature: 0
|
|
17364
17364
|
}, o._formatTableResponse_closure5.prototype = {
|
|
17365
17365
|
call$2(e, i) {
|
|
17366
|
-
var n, a, s, l, _, d, c, p, $, g, m, h, A, E, M, b, R, C, F, D,
|
|
17366
|
+
var n, a, s, l, _, d, c, p, $, g, m, h, A, E, M, b, R, C, F, D, L = null, v = r.JSArray_List_dynamic, x = o._setArrayType([[]], v), H = o._setArrayType([[]], v);
|
|
17367
17367
|
for (v = this.headers, n = i.value, a = r.dynamic, s = r.JSArray_String, l = r.String, _ = this.metricColumns, d = 0; d < v.length; ++d)
|
|
17368
17368
|
if (c = v[d], p = u.getInterceptor$ax(c), $ = p.map$1$1(c, new o._formatTableResponse__closure5(), l).join$1(0, "|"), o.IterableExtension_firstWhereOrNull(c, new o._formatTableResponse__closure6()) != null)
|
|
17369
|
-
for (g = p.firstWhere$1(c, new o._formatTableResponse__closure7()), m = p.fold$2(c, !0, new o._formatTableResponse__closure8(i)), p =
|
|
17370
|
-
M =
|
|
17369
|
+
for (g = p.firstWhere$1(c, new o._formatTableResponse__closure7()), m = p.fold$2(c, !0, new o._formatTableResponse__closure8(i)), p = x.length, h = g.type, A = g.columnValue, E = 0; E < x.length; x.length === p || (0, o.throwConcurrentModificationError)(x), ++E)
|
|
17370
|
+
M = x[E], m ? (b = n.$index(0, A), R = M.length, d >= R && f.JSArray_methods.addAll$1(M, o.List_List$filled(d - R + 1, L, !1, a)), M[d] = b) : (b = h == null ? L : o.DataTypeExtension_toData(h, L), R = M.length, d >= R && f.JSArray_methods.addAll$1(M, o.List_List$filled(d - R + 1, L, !1, a)), M[d] = b);
|
|
17371
17371
|
else if (f.JSArray_methods.contains$1(o._setArrayType(["_metric_name", "_metric_value"], s), $))
|
|
17372
17372
|
for (p = $ === "_metric_value", h = $ === "_metric_name", C = 0; C < _.length; ++C)
|
|
17373
|
-
F = _[C], o.ListExtension_elementAtOrNull(
|
|
17373
|
+
F = _[C], o.ListExtension_elementAtOrNull(x, C) == null && (x.push(o.List_List$of(x[0], !0, a)), H.push(o.List_List$of(H[0], !0, a))), h ? (A = x[C], b = F.label, R = A.length, d >= R && f.JSArray_methods.addAll$1(A, o.List_List$filled(d - R + 1, L, !1, a)), A[d] = b, H[C].push(b)) : p && (A = x[C], b = n.$index(0, F.id), R = A.length, d >= R && f.JSArray_methods.addAll$1(A, o.List_List$filled(d - R + 1, L, !1, a)), A[d] = b);
|
|
17374
17374
|
else
|
|
17375
|
-
for (D = 0; D <
|
|
17376
|
-
p =
|
|
17377
|
-
return v = r.Map_String_dynamic, n = o.List_List$of(e, !0, v), f.JSArray_methods.addAll$1(n, o.ListExtensions_mapIndexed(
|
|
17375
|
+
for (D = 0; D < x.length; ++D)
|
|
17376
|
+
p = x[D], h = n.$index(0, $), A = p.length, d >= A && f.JSArray_methods.addAll$1(p, o.List_List$filled(d - A + 1, L, !1, a)), p[d] = h, H[D].push(n.$index(0, $));
|
|
17377
|
+
return v = r.Map_String_dynamic, n = o.List_List$of(e, !0, v), f.JSArray_methods.addAll$1(n, o.ListExtensions_mapIndexed(x, new o._formatTableResponse__closure9(H, i), r.List_dynamic, v)), n;
|
|
17378
17378
|
},
|
|
17379
17379
|
$signature: 76
|
|
17380
17380
|
}, o._formatTableResponse__closure5.prototype = {
|
|
@@ -17917,8 +17917,8 @@ Arguments: [` + c + "]";
|
|
|
17917
17917
|
return a.message;
|
|
17918
17918
|
}
|
|
17919
17919
|
}())), i(T, "DateTime__parseFormat", "$get$DateTime__parseFormat", () => o.RegExp_RegExp("^([+-]?\\d{4,6})-?(\\d\\d)-?(\\d\\d)(?:[ T](\\d\\d)(?::?(\\d\\d)(?::?(\\d\\d)(?:[.,](\\d+))?)?)?( ?[zZ]| ?([-+])(\\d\\d)(?::?(\\d\\d))?)?)?$")), i(T, "_hashSeed", "$get$_hashSeed", () => o.objectHashCode(f.Type_Object_xQ6)), i(T, "Endian_host", "$get$Endian_host", () => o.NativeByteData_NativeByteData$view(o.NativeUint16List__create1(o._ensureNativeList(o._setArrayType([1], r.JSArray_int))).buffer, 0, null).getInt8(0) === 1 ? f.C_Endian0 : f.C_Endian), i(T, "_clockKey", "$get$_clockKey", () => new o.Object()), i(T, "en_USSymbols", "$get$en_USSymbols", () => new o.DateSymbols("en_US", f.List_BC_AD, f.List_6xs, f.List_qpm, f.List_qpm, f.List_cIc, f.List_cIc, f.List_h8w, f.List_h8w, f.List_wMy, f.List_wMy, f.List_gc6, f.List_gc6, f.List_3US, f.List_Q1_Q2_Q3_Q4, f.List_bJM, f.List_AM_PM)), n(T, "_dateTimeSymbols", "$get$_dateTimeSymbols", () => o.UninitializedLocaleData$("initializeDateFormatting(<locale>)", T.$get$en_USSymbols())), n(T, "dateTimePatterns", "$get$dateTimePatterns", () => o.UninitializedLocaleData$("initializeDateFormatting(<locale>)", f.Map_EQ6TW)), i(T, "asciiZeroCodeUnit", "$get$asciiZeroCodeUnit", () => 48), i(T, "DateFormat__matchers", "$get$DateFormat__matchers", () => o._setArrayType([o.RegExp_RegExp("^'(?:[^']|'')*'"), o.RegExp_RegExp("^(?:G+|y+|M+|k+|S+|E+|a+|h+|K+|H+|c+|L+|Q+|d+|D+|m+|s+|v+|z+|Z+)"), o.RegExp_RegExp("^[^'GyMkSEahKHcLQdDmsvzZ]+")], o.findType("JSArray<RegExp>"))), i(T, "_DateFormatQuotedField__twoEscapedQuotes", "$get$_DateFormatQuotedField__twoEscapedQuotes", () => o.RegExp_RegExp("''")), i(T, "asciiDigitMatcher", "$get$asciiDigitMatcher", () => o.RegExp_RegExp("^\\d+")), n(T, "_availableLocales", "$get$_availableLocales", () => {
|
|
17920
|
-
var a, s, l = o.EnLocale$(f.StartOfWeek_1), _ = o.EnLocale$(f.StartOfWeek_1), d = o.EnLocale$(f.StartOfWeek_1), c = o.EnLocale$(f.StartOfWeek_1), p = o.EnLocale$(f.StartOfWeek_1), $ = o.EnLocale$(f.StartOfWeek_2), g = o.EnLocale$(f.StartOfWeek_2), m = o.EnLocale$(f.StartOfWeek_1), h = o.EnLocale$(f.StartOfWeek_1), A = o.EsLocale$(f.StartOfWeek_2), E = o.EsLocale$(f.StartOfWeek_2), M = o.EsLocale$(f.StartOfWeek_1), b = o.FrLocale$(f.StartOfWeek_2), R = o.FrLocale$(f.StartOfWeek_2), C = o.FrLocale$(f.StartOfWeek_1), F = o.ZhCnLocale$(f.StartOfWeek_1), D = o.ZhCnLocale$(f.StartOfWeek_1),
|
|
17921
|
-
return o.createSentinel(), o.createSentinel(), o.createSentinel(), o.createSentinel(), o.createSentinel(), o.createSentinel(), o.createSentinel(), a = o.PtLocale$(f.StartOfWeek_2), s = o.PtLocale$(f.StartOfWeek_1), o.createSentinel(), o.createSentinel(), o.createSentinel(), o.createSentinel(), o.createSentinel(), o.createSentinel(), o.createSentinel(), o.createSentinel(), o.LinkedHashMap_LinkedHashMap$_literal(["en", l, "en_us", _, "en_sg", d, "en_au", c, "en_ca", p, "en_gb", $, "en_ie", g, "en_il", m, "en_nz", h, "es", A, "es_do", E, "es_us", M, "fr", b, "fr_ch", R, "fr_ca", C, "zh", F, "zh_cn", D, "zh_hk",
|
|
17920
|
+
var a, s, l = o.EnLocale$(f.StartOfWeek_1), _ = o.EnLocale$(f.StartOfWeek_1), d = o.EnLocale$(f.StartOfWeek_1), c = o.EnLocale$(f.StartOfWeek_1), p = o.EnLocale$(f.StartOfWeek_1), $ = o.EnLocale$(f.StartOfWeek_2), g = o.EnLocale$(f.StartOfWeek_2), m = o.EnLocale$(f.StartOfWeek_1), h = o.EnLocale$(f.StartOfWeek_1), A = o.EsLocale$(f.StartOfWeek_2), E = o.EsLocale$(f.StartOfWeek_2), M = o.EsLocale$(f.StartOfWeek_1), b = o.FrLocale$(f.StartOfWeek_2), R = o.FrLocale$(f.StartOfWeek_2), C = o.FrLocale$(f.StartOfWeek_1), F = o.ZhCnLocale$(f.StartOfWeek_1), D = o.ZhCnLocale$(f.StartOfWeek_1), L = o.ZhLocale$(f.StartOfWeek_1), v = o.ZhLocale$(f.StartOfWeek_1), x = o.DeLocale$(f.StartOfWeek_2), H = o.DeLocale$(f.StartOfWeek_2), _e = o.DeLocale$(f.StartOfWeek_2), Me = o.DeLocale$(f.StartOfWeek_2), Ce = o.ItLocale$(f.StartOfWeek_2), be = o.ItLocale$(f.StartOfWeek_2), Re = o.ArLyLocale$(!0, f.StartOfWeek_0), Fe = o.ArLyLocale$(!1, f.StartOfWeek_0), Oe = o.ArSaMaDzKwTnLocale$(!1, f.StartOfWeek_1), Le = o.ArSaMaDzKwTnLocale$(!1, f.StartOfWeek_1), ve = o.ArSaMaDzKwTnLocale$(!0, f.StartOfWeek_1), De = o.ArSaMaDzKwTnLocale$(!1, f.StartOfWeek_0), We = o.ArSaMaDzKwTnLocale$(!1, f.StartOfWeek_0);
|
|
17921
|
+
return o.createSentinel(), o.createSentinel(), o.createSentinel(), o.createSentinel(), o.createSentinel(), o.createSentinel(), o.createSentinel(), a = o.PtLocale$(f.StartOfWeek_2), s = o.PtLocale$(f.StartOfWeek_1), o.createSentinel(), o.createSentinel(), o.createSentinel(), o.createSentinel(), o.createSentinel(), o.createSentinel(), o.createSentinel(), o.createSentinel(), o.LinkedHashMap_LinkedHashMap$_literal(["en", l, "en_us", _, "en_sg", d, "en_au", c, "en_ca", p, "en_gb", $, "en_ie", g, "en_il", m, "en_nz", h, "es", A, "es_do", E, "es_us", M, "fr", b, "fr_ch", R, "fr_ca", C, "zh", F, "zh_cn", D, "zh_hk", L, "zh_tw", v, "de", x, "de_de", H, "de_at", _e, "de_ch", Me, "it", Ce, "it_ch", be, "ar", Re, "ar_ly", Fe, "ar_dz", Oe, "ar_kw", Le, "ar_sa", ve, "ar_ma", De, "ar_tn", We, "az", new o.AzLocale(f.StartOfWeek_2), "id", new o.IdLocale(f.StartOfWeek_1), "ja", new o.JaLocale(f.StartOfWeek_1), "ko", new o.KoLocale(f.StartOfWeek_1), "ru", new o.RuLocale(f.StartOfWeek_2), "uk", new o.UkLocale(f.StartOfWeek_2), "hi", new o.HiLocale(f.StartOfWeek_1), "pt", a, "pt_br", s, "pl", new o.PlLocale(f.StartOfWeek_2), "tr", new o.TrLocale(f.StartOfWeek_2), "sv", new o.SvLocale(f.StartOfWeek_2), "nb", new o.NbLocale(f.StartOfWeek_2), "fa", new o.FaLocale(f.StartOfWeek_0), "bn", new o.BnLocale(f.StartOfWeek_1), "nl", new o.NlLocale(f.StartOfWeek_2), "th", new o.ThLocale(f.StartOfWeek_1)], r.String, o.findType("Locale"));
|
|
17922
17922
|
});
|
|
17923
17923
|
}(), function() {
|
|
17924
17924
|
(function() {
|
|
@@ -17977,9 +17977,9 @@ Arguments: [` + c + "]";
|
|
|
17977
17977
|
})(Ue);
|
|
17978
17978
|
const Be = Ue;
|
|
17979
17979
|
Be.load({});
|
|
17980
|
-
var Pe = Be,
|
|
17981
|
-
function
|
|
17982
|
-
switch (
|
|
17980
|
+
var Pe = Be, rt = /* @__PURE__ */ ((O) => (O.Scorecard = "SCORECARD", O.Spacer = "SPACER", O.Table = "TABLE", O.BarChart = "BARCHART", O.StackBarChart = "STACKBARCHART", O.LineChart = "LINECHART", O.StackLineChart = "STACKLINECHART", O.Circular = "CIRCULAR", O))(rt || {}), it = /* @__PURE__ */ ((O) => (O.EXCEL = "excel", O.PDF = "pdf", O.PDFFULLSIZE = "pdfFullSize", O))(it || {});
|
|
17981
|
+
function Mt(O) {
|
|
17982
|
+
switch (O) {
|
|
17983
17983
|
case "excel":
|
|
17984
17984
|
return "Excel";
|
|
17985
17985
|
case "pdf":
|
|
@@ -17990,153 +17990,153 @@ function It(L) {
|
|
|
17990
17990
|
return "Unknown";
|
|
17991
17991
|
}
|
|
17992
17992
|
}
|
|
17993
|
-
const Se = "/report-settings",
|
|
17994
|
-
const { businessId:
|
|
17995
|
-
if (
|
|
17996
|
-
const
|
|
17997
|
-
fetchType:
|
|
17998
|
-
url: `${Se}/${
|
|
17993
|
+
const Se = "/report-settings", nt = async () => {
|
|
17994
|
+
const { businessId: O } = W(te());
|
|
17995
|
+
if (O) {
|
|
17996
|
+
const J = {
|
|
17997
|
+
fetchType: re.Get,
|
|
17998
|
+
url: `${Se}/${O.value}/reports`
|
|
17999
17999
|
};
|
|
18000
|
-
return
|
|
18000
|
+
return X.fetch(J);
|
|
18001
18001
|
} else
|
|
18002
18002
|
return Promise.reject(new Error("Business Id is not defined"));
|
|
18003
|
-
},
|
|
18004
|
-
const { businessId:
|
|
18005
|
-
fetchType:
|
|
18006
|
-
url: `${Se}/${
|
|
18007
|
-
data:
|
|
18003
|
+
}, at = (O) => {
|
|
18004
|
+
const { businessId: J } = W(te()), w = {
|
|
18005
|
+
fetchType: re.Put,
|
|
18006
|
+
url: `${Se}/${J.value}/reports/${O.id}`,
|
|
18007
|
+
data: O
|
|
18008
18008
|
};
|
|
18009
|
-
return
|
|
18010
|
-
},
|
|
18011
|
-
const { businessId:
|
|
18012
|
-
fetchType:
|
|
18013
|
-
url: `${Se}/${
|
|
18014
|
-
data:
|
|
18009
|
+
return X.fetch(w);
|
|
18010
|
+
}, ot = (O) => {
|
|
18011
|
+
const { businessId: J } = W(te()), w = {
|
|
18012
|
+
fetchType: re.Post,
|
|
18013
|
+
url: `${Se}/${J.value}/reports`,
|
|
18014
|
+
data: O
|
|
18015
18015
|
};
|
|
18016
|
-
return
|
|
18017
|
-
},
|
|
18018
|
-
const { businessId:
|
|
18019
|
-
fetchType:
|
|
18020
|
-
url: `${Se}/${
|
|
18016
|
+
return X.fetch(w);
|
|
18017
|
+
}, st = (O) => {
|
|
18018
|
+
const { businessId: J } = W(te()), w = {
|
|
18019
|
+
fetchType: re.Delete,
|
|
18020
|
+
url: `${Se}/${J.value}/reports/${O.id}`
|
|
18021
18021
|
};
|
|
18022
|
-
return
|
|
18023
|
-
},
|
|
18024
|
-
const { businessId:
|
|
18025
|
-
fetchType:
|
|
18026
|
-
url: `${Se}/${
|
|
18027
|
-
data: { defaultReport:
|
|
18022
|
+
return X.fetch(w);
|
|
18023
|
+
}, lt = (O) => {
|
|
18024
|
+
const { businessId: J } = W(te()), w = {
|
|
18025
|
+
fetchType: re.Put,
|
|
18026
|
+
url: `${Se}/${J.value}/reports/default`,
|
|
18027
|
+
data: { defaultReport: O }
|
|
18028
18028
|
};
|
|
18029
|
-
return
|
|
18030
|
-
},
|
|
18031
|
-
const { businessId:
|
|
18032
|
-
if (
|
|
18033
|
-
const
|
|
18034
|
-
fetchType:
|
|
18035
|
-
url: `${Se}/${
|
|
18029
|
+
return X.fetch(w);
|
|
18030
|
+
}, _t = async () => {
|
|
18031
|
+
const { businessId: O } = W(te());
|
|
18032
|
+
if (O) {
|
|
18033
|
+
const J = {
|
|
18034
|
+
fetchType: re.Get,
|
|
18035
|
+
url: `${Se}/${O.value}/overview-report`
|
|
18036
18036
|
};
|
|
18037
|
-
return
|
|
18037
|
+
return X.fetch(J);
|
|
18038
18038
|
} else
|
|
18039
18039
|
return Promise.reject(new Error("Business Id is not defined"));
|
|
18040
|
-
},
|
|
18041
|
-
const { businessId:
|
|
18042
|
-
if (
|
|
18043
|
-
const
|
|
18044
|
-
fetchType:
|
|
18045
|
-
url: `${Se}/${
|
|
18040
|
+
}, ut = async () => {
|
|
18041
|
+
const { businessId: O } = W(te());
|
|
18042
|
+
if (O) {
|
|
18043
|
+
const J = {
|
|
18044
|
+
fetchType: re.Get,
|
|
18045
|
+
url: `${Se}/${O.value}/config`
|
|
18046
18046
|
};
|
|
18047
|
-
return
|
|
18047
|
+
return X.fetch(J);
|
|
18048
18048
|
} else
|
|
18049
18049
|
return Promise.reject(new Error("Business Id is not defined"));
|
|
18050
|
-
},
|
|
18051
|
-
const { businessId:
|
|
18052
|
-
if (
|
|
18053
|
-
const
|
|
18054
|
-
fetchType:
|
|
18055
|
-
url: `${
|
|
18050
|
+
}, dt = "/report-settings", ct = async () => {
|
|
18051
|
+
const { businessId: O } = W(te());
|
|
18052
|
+
if (O) {
|
|
18053
|
+
const J = {
|
|
18054
|
+
fetchType: re.Get,
|
|
18055
|
+
url: `${dt}/${O.value}/categories`
|
|
18056
18056
|
};
|
|
18057
|
-
return
|
|
18057
|
+
return X.fetch(J);
|
|
18058
18058
|
} else
|
|
18059
18059
|
return Promise.reject(new Error("Business Id is not defined"));
|
|
18060
|
-
},
|
|
18061
|
-
const { businessId:
|
|
18062
|
-
fetchType:
|
|
18063
|
-
url: `/report-settings/${
|
|
18060
|
+
}, pt = (O) => {
|
|
18061
|
+
const { businessId: J } = W(te()), w = {
|
|
18062
|
+
fetchType: re.Post,
|
|
18063
|
+
url: `/report-settings/${J.value}/date-settings`,
|
|
18064
18064
|
data: {
|
|
18065
|
-
...
|
|
18065
|
+
...O
|
|
18066
18066
|
}
|
|
18067
18067
|
};
|
|
18068
|
-
return
|
|
18068
|
+
return X.fetch(w);
|
|
18069
18069
|
};
|
|
18070
|
-
function
|
|
18071
|
-
const w = localStorage.getItem(
|
|
18072
|
-
return w === null && (
|
|
18070
|
+
function we(O, J = {}) {
|
|
18071
|
+
const w = localStorage.getItem(O);
|
|
18072
|
+
return w === null && (J == null ? void 0 : J.fallback) !== void 0 ? J.fallback : w === null ? null : J.format ? J.format(w) : w;
|
|
18073
18073
|
}
|
|
18074
18074
|
const me = {
|
|
18075
|
-
get:
|
|
18076
|
-
getJson: (
|
|
18075
|
+
get: we,
|
|
18076
|
+
getJson: (O) => we(O, {
|
|
18077
18077
|
fallback: {},
|
|
18078
|
-
format: (
|
|
18078
|
+
format: (J) => JSON.parse(J)
|
|
18079
18079
|
}),
|
|
18080
|
-
getNumber: (
|
|
18080
|
+
getNumber: (O) => we(O, {
|
|
18081
18081
|
fallback: null,
|
|
18082
|
-
format: (
|
|
18082
|
+
format: (J) => Number(J)
|
|
18083
18083
|
}),
|
|
18084
18084
|
set: localStorage.setItem,
|
|
18085
|
-
setJson: (
|
|
18086
|
-
localStorage.setItem(
|
|
18085
|
+
setJson: (O, J) => {
|
|
18086
|
+
localStorage.setItem(O, JSON.stringify(J));
|
|
18087
18087
|
}
|
|
18088
|
-
},
|
|
18089
|
-
const { business:
|
|
18090
|
-
const f =
|
|
18091
|
-
(S) => S.key ===
|
|
18088
|
+
}, ft = "mf-reportreport-store", Qe = He(ft, () => {
|
|
18089
|
+
const { business: O } = W(Je()), { flags: J } = W(ke()), w = K([]), U = K([]), k = K(0), q = Ze(), P = Ae(() => w.value.filter((f) => f.editable)), N = Ae(() => w.value.filter((f) => !f.editable)), B = K(!1), Q = K(""), V = K(), G = K(), Y = Ae(() => {
|
|
18090
|
+
const f = J.value.find(
|
|
18091
|
+
(S) => S.key === Ye.report_portal_integration_custom_report
|
|
18092
18092
|
);
|
|
18093
18093
|
return typeof (f == null ? void 0 : f.value) == "number" ? f.value : null;
|
|
18094
|
-
}),
|
|
18095
|
-
async function
|
|
18096
|
-
return
|
|
18094
|
+
}), oe = Ae(() => Y.value === null ? !0 : Y.value - P.value.length > 0);
|
|
18095
|
+
async function Z() {
|
|
18096
|
+
return G.value = await _t(), G.value;
|
|
18097
18097
|
}
|
|
18098
|
-
async function
|
|
18098
|
+
async function ee() {
|
|
18099
18099
|
var f;
|
|
18100
18100
|
try {
|
|
18101
|
-
w.value = await
|
|
18101
|
+
w.value = await nt(), U.value = await ct(), w.value.find((T) => T.id === Q.value) || (Q.value = ((f = w.value.find((T) => T.isDefault)) == null ? void 0 : f.id) || w.value[0].id);
|
|
18102
18102
|
} catch (S) {
|
|
18103
|
-
console.log(S),
|
|
18103
|
+
console.log(S), q.open({
|
|
18104
18104
|
title: "Report Fetch Error",
|
|
18105
18105
|
message: "Internal Server Error",
|
|
18106
18106
|
type: "error"
|
|
18107
18107
|
});
|
|
18108
18108
|
}
|
|
18109
18109
|
}
|
|
18110
|
-
const
|
|
18111
|
-
() => w.value.find((f) => f.id ===
|
|
18112
|
-
),
|
|
18110
|
+
const ae = Ae(
|
|
18111
|
+
() => w.value.find((f) => f.id === Q.value)
|
|
18112
|
+
), se = K(), ie = K(0), ne = K(), de = K(!1), ce = K(!1), fe = K(!1);
|
|
18113
18113
|
async function pe(f) {
|
|
18114
|
-
if (
|
|
18115
|
-
const T = await nt(f);
|
|
18116
|
-
U.value = T.id;
|
|
18117
|
-
} else {
|
|
18114
|
+
if (P.value.findIndex((T) => T.id === f.id) >= 0) {
|
|
18118
18115
|
const T = await at(f);
|
|
18119
|
-
|
|
18116
|
+
Q.value = T.id;
|
|
18117
|
+
} else {
|
|
18118
|
+
const T = await ot(f);
|
|
18119
|
+
Q.value = T.id;
|
|
18120
18120
|
}
|
|
18121
|
-
await
|
|
18121
|
+
await ee();
|
|
18122
18122
|
}
|
|
18123
18123
|
async function le(f) {
|
|
18124
|
-
return await
|
|
18124
|
+
return await pt(f);
|
|
18125
18125
|
}
|
|
18126
18126
|
async function ye(f) {
|
|
18127
|
-
await
|
|
18127
|
+
await st(f), await ee();
|
|
18128
18128
|
}
|
|
18129
18129
|
async function he(f) {
|
|
18130
|
-
await
|
|
18130
|
+
await lt(f), await ee();
|
|
18131
18131
|
}
|
|
18132
18132
|
function Te(f) {
|
|
18133
|
-
w.value.findIndex((T) => T.id === f) !== -1 && (
|
|
18133
|
+
w.value.findIndex((T) => T.id === f) !== -1 && (Q.value = f);
|
|
18134
18134
|
}
|
|
18135
|
-
const $e =
|
|
18135
|
+
const $e = K(null);
|
|
18136
18136
|
function ge() {
|
|
18137
18137
|
var f;
|
|
18138
|
-
if ((f =
|
|
18139
|
-
const S = me.getJson("pinReport")[
|
|
18138
|
+
if ((f = O.value) != null && f._id) {
|
|
18139
|
+
const S = me.getJson("pinReport")[O.value._id];
|
|
18140
18140
|
if ((S == null ? void 0 : S.length) > 0) {
|
|
18141
18141
|
$e.value = S;
|
|
18142
18142
|
return;
|
|
@@ -18144,75 +18144,75 @@ const me = {
|
|
|
18144
18144
|
}
|
|
18145
18145
|
$e.value = null;
|
|
18146
18146
|
}
|
|
18147
|
-
function
|
|
18147
|
+
function j(f) {
|
|
18148
18148
|
var S;
|
|
18149
|
-
if (
|
|
18149
|
+
if (O.value && f) {
|
|
18150
18150
|
const T = me.getJson("pinReport");
|
|
18151
|
-
T[(S =
|
|
18151
|
+
T[(S = O.value) == null ? void 0 : S._id] ? T[O.value._id].push(f.id) : T[O.value._id] = [f.id], me.setJson("pinReport", T), ge();
|
|
18152
18152
|
}
|
|
18153
18153
|
}
|
|
18154
18154
|
function t(f) {
|
|
18155
|
-
if (
|
|
18155
|
+
if (O.value) {
|
|
18156
18156
|
const S = me.getJson("pinReport");
|
|
18157
|
-
S[
|
|
18157
|
+
S[O.value._id].length === 1 ? S[O.value._id] = [] : S[O.value._id] = S[O.value._id].filter(
|
|
18158
18158
|
(T) => T !== f
|
|
18159
18159
|
), me.setJson("pinReport", S), ge();
|
|
18160
18160
|
}
|
|
18161
18161
|
}
|
|
18162
18162
|
function o() {
|
|
18163
|
-
if (
|
|
18163
|
+
if (O.value) {
|
|
18164
18164
|
const f = me.getJson("feedback");
|
|
18165
|
-
if (!f[
|
|
18166
|
-
f[
|
|
18165
|
+
if (!f[O.value._id])
|
|
18166
|
+
f[O.value._id] = {
|
|
18167
18167
|
date: ue().local().format("YYYY-MM-DD"),
|
|
18168
18168
|
feedback: !1
|
|
18169
18169
|
};
|
|
18170
18170
|
else {
|
|
18171
|
-
const S = ue(f[
|
|
18172
|
-
Math.abs(S.diff(ue().endOf("day").local(), "d")) >= 1 && !f[
|
|
18171
|
+
const S = ue(f[O.value._id].date).local();
|
|
18172
|
+
Math.abs(S.diff(ue().endOf("day").local(), "d")) >= 1 && !f[O.value._id].feedback && (ce.value = !0);
|
|
18173
18173
|
}
|
|
18174
18174
|
me.setJson("feedback", f);
|
|
18175
18175
|
}
|
|
18176
18176
|
}
|
|
18177
18177
|
async function u() {
|
|
18178
|
-
return await
|
|
18178
|
+
return await ut();
|
|
18179
18179
|
}
|
|
18180
18180
|
return {
|
|
18181
18181
|
isOpenDownloadDialog: de,
|
|
18182
18182
|
isOpenFeedbackDialog: ce,
|
|
18183
18183
|
isOpenEmailDialog: fe,
|
|
18184
|
-
currentSelectWidgetType:
|
|
18184
|
+
currentSelectWidgetType: V,
|
|
18185
18185
|
reports: w,
|
|
18186
|
-
categories:
|
|
18187
|
-
currentReport:
|
|
18188
|
-
editingReport:
|
|
18189
|
-
editingIndex:
|
|
18190
|
-
editingTile:
|
|
18191
|
-
currentReportId:
|
|
18192
|
-
editableReports:
|
|
18193
|
-
nonEditableReports:
|
|
18194
|
-
isOpenAddReportDialog:
|
|
18195
|
-
overviewReport:
|
|
18186
|
+
categories: U,
|
|
18187
|
+
currentReport: ae,
|
|
18188
|
+
editingReport: se,
|
|
18189
|
+
editingIndex: ie,
|
|
18190
|
+
editingTile: ne,
|
|
18191
|
+
currentReportId: Q,
|
|
18192
|
+
editableReports: P,
|
|
18193
|
+
nonEditableReports: N,
|
|
18194
|
+
isOpenAddReportDialog: B,
|
|
18195
|
+
overviewReport: G,
|
|
18196
18196
|
pinReport: $e,
|
|
18197
18197
|
scrollPositionY: k,
|
|
18198
|
-
customReportQuota:
|
|
18199
|
-
canCreateCustomReport:
|
|
18198
|
+
customReportQuota: Y,
|
|
18199
|
+
canCreateCustomReport: oe,
|
|
18200
18200
|
createOrUpdateReport: pe,
|
|
18201
18201
|
removeReport: ye,
|
|
18202
18202
|
updateCurrentReportId: Te,
|
|
18203
|
-
getReports:
|
|
18203
|
+
getReports: ee,
|
|
18204
18204
|
updateDefaultReport: he,
|
|
18205
18205
|
checkFeedback: o,
|
|
18206
|
-
getOverviewReport:
|
|
18206
|
+
getOverviewReport: Z,
|
|
18207
18207
|
refreshPinReport: ge,
|
|
18208
|
-
cachePinReport:
|
|
18208
|
+
cachePinReport: j,
|
|
18209
18209
|
clearPinReport: t,
|
|
18210
18210
|
getReportConfig: u,
|
|
18211
18211
|
submitFeedback: le
|
|
18212
18212
|
};
|
|
18213
|
-
}),
|
|
18214
|
-
const { disabled:
|
|
18215
|
-
const
|
|
18213
|
+
}), yt = "mf-reportnavigation", Ve = He(yt, () => {
|
|
18214
|
+
const { disabled: O } = W(je()), { isIntegrationWhitelist: J } = W(ke()), w = K("v5"), U = Ae(() => {
|
|
18215
|
+
const N = [
|
|
18216
18216
|
{
|
|
18217
18217
|
label: "overview",
|
|
18218
18218
|
value: "overview",
|
|
@@ -18227,7 +18227,7 @@ const me = {
|
|
|
18227
18227
|
label: "insight",
|
|
18228
18228
|
value: "insight",
|
|
18229
18229
|
route: "insights",
|
|
18230
|
-
badge: () =>
|
|
18230
|
+
badge: () => Ke(et.FmPill, { variant: "beta" })
|
|
18231
18231
|
},
|
|
18232
18232
|
{
|
|
18233
18233
|
label: "setting",
|
|
@@ -18235,14 +18235,14 @@ const me = {
|
|
|
18235
18235
|
route: "setting"
|
|
18236
18236
|
}
|
|
18237
18237
|
];
|
|
18238
|
-
return !
|
|
18238
|
+
return !O.value && J.value && N.push({
|
|
18239
18239
|
label: "integration",
|
|
18240
18240
|
value: "integration",
|
|
18241
18241
|
route: "integrations"
|
|
18242
|
-
}),
|
|
18243
|
-
}), k =
|
|
18244
|
-
function N
|
|
18245
|
-
switch (
|
|
18242
|
+
}), N;
|
|
18243
|
+
}), k = K(""), { currentRoute: q } = tt();
|
|
18244
|
+
function P(N) {
|
|
18245
|
+
switch (N.name) {
|
|
18246
18246
|
case "report":
|
|
18247
18247
|
case "reports":
|
|
18248
18248
|
k.value = "report";
|
|
@@ -18262,187 +18262,224 @@ const me = {
|
|
|
18262
18262
|
break;
|
|
18263
18263
|
}
|
|
18264
18264
|
}
|
|
18265
|
-
return
|
|
18266
|
-
|
|
18267
|
-
(
|
|
18268
|
-
N
|
|
18265
|
+
return Xe(
|
|
18266
|
+
q,
|
|
18267
|
+
(N) => {
|
|
18268
|
+
P(N);
|
|
18269
18269
|
},
|
|
18270
18270
|
{ immediate: !0 }
|
|
18271
18271
|
), {
|
|
18272
18272
|
selectedNavigationTab: k,
|
|
18273
|
-
navigationTabs:
|
|
18273
|
+
navigationTabs: U,
|
|
18274
18274
|
version: w
|
|
18275
18275
|
};
|
|
18276
18276
|
});
|
|
18277
|
-
|
|
18278
|
-
|
|
18279
|
-
|
|
18280
|
-
|
|
18277
|
+
var Ge = /* @__PURE__ */ ((O) => (O.generating = "GENERATING", O.completed = "COMPLETED", O.failed = "FAILED", O.canceled = "CANCELLED", O))(Ge || {});
|
|
18278
|
+
ue.extend(ze);
|
|
18279
|
+
const Ct = async (O, J) => {
|
|
18280
|
+
var oe, Z, ee, ae;
|
|
18281
|
+
const { businessId: w, country: U } = W(te()), {
|
|
18281
18282
|
selectedRestaurantIds: k,
|
|
18282
|
-
selectedWarehouseIds:
|
|
18283
|
-
selectedLocationIds:
|
|
18284
|
-
dateRange:
|
|
18285
|
-
compareDateRange:
|
|
18286
|
-
timeRange:
|
|
18287
|
-
} =
|
|
18288
|
-
if (
|
|
18283
|
+
selectedWarehouseIds: q,
|
|
18284
|
+
selectedLocationIds: P,
|
|
18285
|
+
dateRange: N,
|
|
18286
|
+
compareDateRange: B,
|
|
18287
|
+
timeRange: Q
|
|
18288
|
+
} = Je();
|
|
18289
|
+
if (P.length === 0)
|
|
18289
18290
|
return null;
|
|
18290
|
-
const
|
|
18291
|
-
fetchType:
|
|
18291
|
+
const V = {
|
|
18292
|
+
fetchType: re.Post,
|
|
18292
18293
|
url: `/${w.value}/postgres-query`,
|
|
18293
|
-
data:
|
|
18294
|
-
widget:
|
|
18295
|
-
dateRange: [
|
|
18296
|
-
compareDateRange:
|
|
18294
|
+
data: Ie.getQueryRequests({
|
|
18295
|
+
widget: O,
|
|
18296
|
+
dateRange: [N.startDate, N.endDate],
|
|
18297
|
+
compareDateRange: B.startDate && B.endDate ? [B.startDate, B.endDate] : void 0,
|
|
18297
18298
|
timeRange: [
|
|
18298
|
-
ue().set("hour", Number((
|
|
18299
|
-
ue().set("hour", Number((
|
|
18299
|
+
ue().set("hour", Number((oe = Q.start) == null ? void 0 : oe.hour)).set("minute", Number((Z = Q.start) == null ? void 0 : Z.minute)).toISOString(),
|
|
18300
|
+
ue().set("hour", Number((ee = Q.end) == null ? void 0 : ee.hour)).set("minute", Number((ae = Q.end) == null ? void 0 : ae.minute)).toISOString()
|
|
18300
18301
|
],
|
|
18301
18302
|
businessIds: w.value ? [w.value] : [],
|
|
18302
18303
|
restaurantIds: k,
|
|
18303
|
-
warehouseIds:
|
|
18304
|
+
warehouseIds: q
|
|
18304
18305
|
}),
|
|
18305
18306
|
requestConfig: {
|
|
18306
18307
|
timeout: 1e3 * 60 * 5,
|
|
18307
|
-
signal:
|
|
18308
|
+
signal: J
|
|
18308
18309
|
}
|
|
18309
18310
|
};
|
|
18310
|
-
let
|
|
18311
|
+
let G, Y = [];
|
|
18311
18312
|
try {
|
|
18312
|
-
|
|
18313
|
-
responses:
|
|
18314
|
-
widget:
|
|
18315
|
-
country:
|
|
18313
|
+
Y = await X.fetch(V), G = Pe.formatChartData({
|
|
18314
|
+
responses: Y,
|
|
18315
|
+
widget: O,
|
|
18316
|
+
country: U.value
|
|
18316
18317
|
});
|
|
18317
|
-
} catch (
|
|
18318
|
-
console.log(
|
|
18319
|
-
responses:
|
|
18320
|
-
widget:
|
|
18321
|
-
country:
|
|
18318
|
+
} catch (se) {
|
|
18319
|
+
console.log(se), V.url = V.url.replace("postgres-query", "query"), Y = await X.fetch(V), G = Pe.formatChartData({
|
|
18320
|
+
responses: Y,
|
|
18321
|
+
widget: O,
|
|
18322
|
+
country: U.value
|
|
18322
18323
|
});
|
|
18323
18324
|
}
|
|
18324
|
-
return
|
|
18325
|
-
},
|
|
18326
|
-
const { businessId: w } =
|
|
18327
|
-
let
|
|
18328
|
-
|
|
18329
|
-
const
|
|
18330
|
-
fetchType:
|
|
18325
|
+
return G;
|
|
18326
|
+
}, bt = async (O, J) => {
|
|
18327
|
+
const { businessId: w } = W(te()), { selectedRestaurantIds: U, selectedWarehouseIds: k, dateRange: q, timeRange: P } = Je(), { currentReport: N, overviewReport: B } = Qe(), { selectedNavigationTab: Q } = Ve();
|
|
18328
|
+
let V = N == null ? void 0 : N.id, G = (N == null ? void 0 : N.tiles) ?? [];
|
|
18329
|
+
Q === "overview" && B && (V = B == null ? void 0 : B.id, G = (B == null ? void 0 : B.tiles) ?? []);
|
|
18330
|
+
const Y = G.filter((ne, de) => typeof J == "number" ? de === J : !0).map((ne) => ne.widget), oe = {
|
|
18331
|
+
fetchType: re.Post,
|
|
18331
18332
|
url: `/${w.value}/file`,
|
|
18332
18333
|
data: {
|
|
18333
18334
|
configs: [
|
|
18334
|
-
...
|
|
18335
|
+
...Y.map((ne, de) => {
|
|
18335
18336
|
var ce, fe, pe, le;
|
|
18336
18337
|
return {
|
|
18337
|
-
requests:
|
|
18338
|
-
widget:
|
|
18339
|
-
dateRange: [
|
|
18338
|
+
requests: Ie.getQueryRequests({
|
|
18339
|
+
widget: ne,
|
|
18340
|
+
dateRange: [q.startDate, q.endDate],
|
|
18340
18341
|
// TODO: export with comparable data?
|
|
18341
18342
|
// compareDateRange:
|
|
18342
18343
|
// compareDateRange.start && compareDateRange.end
|
|
18343
18344
|
// ? [compareDateRange.start.toUTC().toISO(), compareDateRange.end.toUTC().toISO()]
|
|
18344
18345
|
// : undefined,
|
|
18345
18346
|
timeRange: [
|
|
18346
|
-
ue().set("hour", Number((ce =
|
|
18347
|
-
ue().set("hour", Number((pe =
|
|
18347
|
+
ue().set("hour", Number((ce = P.start) == null ? void 0 : ce.hour)).set("minute", Number((fe = P.start) == null ? void 0 : fe.minute)).toISOString(),
|
|
18348
|
+
ue().set("hour", Number((pe = P.end) == null ? void 0 : pe.hour)).set("minute", Number((le = P.end) == null ? void 0 : le.minute)).toISOString()
|
|
18348
18349
|
],
|
|
18349
18350
|
businessIds: w ? [w.value] : [],
|
|
18350
|
-
restaurantIds:
|
|
18351
|
+
restaurantIds: U,
|
|
18351
18352
|
warehouseIds: k
|
|
18352
18353
|
}),
|
|
18353
|
-
index:
|
|
18354
|
-
showLabel:
|
|
18354
|
+
index: J || de,
|
|
18355
|
+
showLabel: ne.config.showLabel,
|
|
18355
18356
|
drillDimension: null
|
|
18356
18357
|
};
|
|
18357
18358
|
})
|
|
18358
18359
|
],
|
|
18359
|
-
reportId:
|
|
18360
|
-
type:
|
|
18360
|
+
reportId: V,
|
|
18361
|
+
type: O
|
|
18361
18362
|
},
|
|
18362
18363
|
requestConfig: {
|
|
18363
18364
|
responseType: "arraybuffer",
|
|
18364
18365
|
timeout: 1e3 * 60 * 3
|
|
18365
18366
|
}
|
|
18366
|
-
}, { headers:
|
|
18367
|
-
|
|
18368
|
-
},
|
|
18369
|
-
|
|
18367
|
+
}, { headers: Z, data: ee } = await X.rawFetch(oe), ae = Z["content-disposition"].split("filename=")[1].replaceAll('"', ""), se = window.URL.createObjectURL(new Blob([new Uint8Array(ee).buffer])), ie = document.createElement("a");
|
|
18368
|
+
ie.href = se, ie.setAttribute("download", decodeURIComponent(ae)), document.body.appendChild(ie), ie.click(), ie.remove();
|
|
18369
|
+
}, Rt = async ({
|
|
18370
|
+
emails: O,
|
|
18371
|
+
types: J,
|
|
18372
|
+
dateRange: w,
|
|
18373
|
+
timeRange: U,
|
|
18374
|
+
locationIds: k
|
|
18375
|
+
}) => {
|
|
18376
|
+
const { businessId: q } = W(te()), { currentReport: P, overviewReport: N } = Qe(), { selectedNavigationTab: B } = Ve();
|
|
18377
|
+
if (O.length === 0) {
|
|
18370
18378
|
console.error("No email addresses provided.");
|
|
18371
18379
|
return;
|
|
18372
18380
|
}
|
|
18373
|
-
|
|
18374
|
-
|
|
18375
|
-
|
|
18376
|
-
|
|
18377
|
-
|
|
18378
|
-
|
|
18379
|
-
|
|
18380
|
-
|
|
18381
|
-
url: `/${B.value}/reports/email`,
|
|
18382
|
-
data: {
|
|
18383
|
-
emails: L,
|
|
18384
|
-
configs: W.map((z, te) => {
|
|
18385
|
-
var K, re, ne, ee;
|
|
18386
|
-
return {
|
|
18387
|
-
requests: Me.getQueryRequests({
|
|
18388
|
-
widget: z,
|
|
18389
|
-
dateRange: [N.startDate, N.endDate],
|
|
18390
|
-
timeRange: [
|
|
18391
|
-
ue().hour(Number((K = P.start) == null ? void 0 : K.hour)).minute(Number((re = P.start) == null ? void 0 : re.minute)).toISOString(),
|
|
18392
|
-
ue().hour(Number((ne = P.end) == null ? void 0 : ne.hour)).minute(Number((ee = P.end) == null ? void 0 : ee.minute)).toISOString()
|
|
18393
|
-
],
|
|
18394
|
-
businessIds: B ? [B.value] : [],
|
|
18395
|
-
restaurantIds: k,
|
|
18396
|
-
warehouseIds: Q
|
|
18397
|
-
}),
|
|
18398
|
-
index: te,
|
|
18399
|
-
showLabel: z.config.showLabel,
|
|
18400
|
-
drillDimension: null
|
|
18401
|
-
};
|
|
18402
|
-
}),
|
|
18403
|
-
reportId: V.id,
|
|
18404
|
-
type: x
|
|
18381
|
+
let Q = (P == null ? void 0 : P.id) || "", V = (P == null ? void 0 : P.name) || "", G = (P == null ? void 0 : P.tiles) ?? [];
|
|
18382
|
+
B === "overview" && N && (Q = N == null ? void 0 : N.id, V = N.name, G = (N == null ? void 0 : N.tiles) ?? []);
|
|
18383
|
+
const Y = G.map((Z) => Z.widget), oe = {
|
|
18384
|
+
businessId: q.value,
|
|
18385
|
+
status: Ge.generating,
|
|
18386
|
+
dateRange: {
|
|
18387
|
+
start: w.startDate,
|
|
18388
|
+
end: w.endDate
|
|
18405
18389
|
},
|
|
18390
|
+
reportName: V,
|
|
18391
|
+
emails: O,
|
|
18392
|
+
configs: Y.map((Z, ee) => {
|
|
18393
|
+
var ae, se, ie, ne;
|
|
18394
|
+
return {
|
|
18395
|
+
requests: Ie.getQueryRequests({
|
|
18396
|
+
widget: Z,
|
|
18397
|
+
dateRange: [w.startDate, w.endDate],
|
|
18398
|
+
timeRange: [
|
|
18399
|
+
ue().hour(Number((ae = U.start) == null ? void 0 : ae.hour)).minute(Number((se = U.start) == null ? void 0 : se.minute)).toISOString(),
|
|
18400
|
+
ue().hour(Number((ie = U.end) == null ? void 0 : ie.hour)).minute(Number((ne = U.end) == null ? void 0 : ne.minute)).toISOString()
|
|
18401
|
+
],
|
|
18402
|
+
businessIds: q ? [q.value] : [],
|
|
18403
|
+
restaurantIds: k,
|
|
18404
|
+
warehouseIds: k
|
|
18405
|
+
}),
|
|
18406
|
+
index: ee,
|
|
18407
|
+
showLabel: Z.config.showLabel,
|
|
18408
|
+
drillDimension: null
|
|
18409
|
+
};
|
|
18410
|
+
}),
|
|
18411
|
+
reportId: Q,
|
|
18412
|
+
type: J
|
|
18413
|
+
};
|
|
18414
|
+
await X.fetch({
|
|
18415
|
+
fetchType: re.Post,
|
|
18416
|
+
url: `/${q.value}/reports/email`,
|
|
18417
|
+
data: oe,
|
|
18406
18418
|
requestConfig: { timeout: 1e3 * 60 * 3 }
|
|
18407
18419
|
});
|
|
18420
|
+
}, Ft = async (O) => {
|
|
18421
|
+
const { businessId: J } = W(te());
|
|
18422
|
+
await X.fetch({
|
|
18423
|
+
fetchType: re.Post,
|
|
18424
|
+
url: `/${J.value}/reports/resend-email`,
|
|
18425
|
+
data: { jobId: O },
|
|
18426
|
+
requestConfig: { timeout: 1e3 * 60 * 3 }
|
|
18427
|
+
});
|
|
18428
|
+
}, Ot = async () => {
|
|
18429
|
+
const { businessId: O } = W(te());
|
|
18430
|
+
return await X.fetch({
|
|
18431
|
+
fetchType: re.Get,
|
|
18432
|
+
url: `/${O.value}/reports/email-recipients`
|
|
18433
|
+
});
|
|
18434
|
+
}, Lt = async (O) => {
|
|
18435
|
+
const { businessId: J } = W(te());
|
|
18436
|
+
await X.fetch({
|
|
18437
|
+
fetchType: re.Post,
|
|
18438
|
+
url: `/${J.value}/reports/email-recipient/delete`,
|
|
18439
|
+
data: { email: O }
|
|
18440
|
+
});
|
|
18408
18441
|
};
|
|
18409
18442
|
let Ee;
|
|
18410
|
-
const
|
|
18411
|
-
function
|
|
18443
|
+
const $t = new Uint8Array(16);
|
|
18444
|
+
function gt() {
|
|
18412
18445
|
if (!Ee && (Ee = typeof crypto < "u" && crypto.getRandomValues && crypto.getRandomValues.bind(crypto), !Ee))
|
|
18413
18446
|
throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
|
|
18414
|
-
return Ee(
|
|
18447
|
+
return Ee($t);
|
|
18415
18448
|
}
|
|
18416
|
-
const
|
|
18417
|
-
for (let
|
|
18418
|
-
|
|
18419
|
-
function
|
|
18420
|
-
return
|
|
18449
|
+
const z = [];
|
|
18450
|
+
for (let O = 0; O < 256; ++O)
|
|
18451
|
+
z.push((O + 256).toString(16).slice(1));
|
|
18452
|
+
function mt(O, J = 0) {
|
|
18453
|
+
return z[O[J + 0]] + z[O[J + 1]] + z[O[J + 2]] + z[O[J + 3]] + "-" + z[O[J + 4]] + z[O[J + 5]] + "-" + z[O[J + 6]] + z[O[J + 7]] + "-" + z[O[J + 8]] + z[O[J + 9]] + "-" + z[O[J + 10]] + z[O[J + 11]] + z[O[J + 12]] + z[O[J + 13]] + z[O[J + 14]] + z[O[J + 15]];
|
|
18421
18454
|
}
|
|
18422
|
-
const
|
|
18423
|
-
randomUUID:
|
|
18455
|
+
const St = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), Ne = {
|
|
18456
|
+
randomUUID: St
|
|
18424
18457
|
};
|
|
18425
|
-
function
|
|
18426
|
-
if (Ne.randomUUID && !
|
|
18458
|
+
function vt(O, J, w) {
|
|
18459
|
+
if (Ne.randomUUID && !J && !O)
|
|
18427
18460
|
return Ne.randomUUID();
|
|
18428
|
-
|
|
18429
|
-
const
|
|
18430
|
-
if (
|
|
18461
|
+
O = O || {};
|
|
18462
|
+
const U = O.random || (O.rng || gt)();
|
|
18463
|
+
if (U[6] = U[6] & 15 | 64, U[8] = U[8] & 63 | 128, J) {
|
|
18431
18464
|
w = w || 0;
|
|
18432
18465
|
for (let k = 0; k < 16; ++k)
|
|
18433
|
-
|
|
18434
|
-
return
|
|
18466
|
+
J[w + k] = U[k];
|
|
18467
|
+
return J;
|
|
18435
18468
|
}
|
|
18436
|
-
return
|
|
18469
|
+
return mt(U);
|
|
18437
18470
|
}
|
|
18438
18471
|
export {
|
|
18439
|
-
|
|
18440
|
-
|
|
18472
|
+
it as R,
|
|
18473
|
+
rt as W,
|
|
18441
18474
|
Qe as a,
|
|
18442
|
-
|
|
18443
|
-
|
|
18444
|
-
|
|
18445
|
-
|
|
18475
|
+
Ge as b,
|
|
18476
|
+
Ot as c,
|
|
18477
|
+
bt as d,
|
|
18478
|
+
Lt as e,
|
|
18479
|
+
Mt as g,
|
|
18480
|
+
Ct as q,
|
|
18481
|
+
Ft as r,
|
|
18482
|
+
Rt as s,
|
|
18446
18483
|
Ve as u,
|
|
18447
|
-
|
|
18484
|
+
vt as v
|
|
18448
18485
|
};
|