@feedmepos/mf-report 5.4.36 → 5.5.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{App-DcfI_XNW.js → App-Cgynv4z6.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-DoZjQrXi.js +41 -0
- package/dist/DynamicWidget.vue_vue_type_script_setup_true_lang-9HLzKjix.js +1004 -0
- package/dist/{InsightView-PI6dgol0.js → InsightView-CazscxFM.js} +7 -7
- 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-B6nbTiWn.js} +1 -1
- package/dist/{LocationSelect.vue_vue_type_script_setup_true_lang-CF4VlKJk.js → LocationSelect.vue_vue_type_script_setup_true_lang-BRAZAoJz.js} +2 -2
- package/dist/{MenuTab.vue_vue_type_script_setup_true_lang-CkQjrXwQ.js → MenuTab.vue_vue_type_script_setup_true_lang-BdDMXz7S.js} +4 -4
- package/dist/NavigationTab.vue_vue_type_script_setup_true_lang-DfXW3V-Z.js +26466 -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-D4f5GD94.js} +5 -5
- package/dist/{Report-bQSl3Plq.js → Report-t5C_RytN.js} +4 -4
- package/dist/{ReportEditor-DswBRaYe.js → ReportEditor-CyI-OeIq.js} +5 -5
- package/dist/{ReportView-BoipuiKU.js → ReportView-DSa6UBCG.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-C3cEoUqd.js} +4 -4
- package/dist/{TileEditor-BmWA9yaI.js → TileEditor-DpD-oLcv.js} +8 -8
- package/dist/{TransitionFade-Bl7Fs0Kr.js → TransitionFade-DGn_cYeQ.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/{timeFormat-DJ-S2Pv8.js → timeFormat-CAyeO7-a.js} +1 -1
- package/dist/{v4-BdEILobK.js → v4-BDHq16P_.js} +427 -404
- 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/NavigationTab.vue_vue_type_script_setup_true_lang-CoAZxwTP.js +0 -26128
|
@@ -1,30 +1,30 @@
|
|
|
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 ie, F as ne, h as ee, b as Ie, c as ke, n as Ye, d as pe, e as je, k as ze } from "./global-loader-BqFQzk46.js";
|
|
2
|
+
import { storeToRefs as Y, 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
9
|
var Me = {};
|
|
10
|
-
(function(
|
|
10
|
+
(function(O) {
|
|
11
11
|
var x = typeof xe < "u" ? xe : window, w = Object.create(x);
|
|
12
12
|
w.scheduleImmediate = typeof setImmediate < "u" ? function(Q) {
|
|
13
13
|
setImmediate(Q);
|
|
14
14
|
} : function(Q) {
|
|
15
15
|
setTimeout(Q, 0);
|
|
16
|
-
}, w.exports =
|
|
17
|
-
var
|
|
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 V = !x.window;
|
|
18
18
|
try {
|
|
19
|
-
typeof WorkerGlobalScope < "u" && x instanceof WorkerGlobalScope && (
|
|
19
|
+
typeof WorkerGlobalScope < "u" && x instanceof WorkerGlobalScope && (V = !1), typeof process < "u" && process.versions && process.versions.hasOwnProperty("electron") && process.versions.hasOwnProperty("node") && (V = !0);
|
|
20
20
|
} catch {
|
|
21
21
|
}
|
|
22
|
-
if (
|
|
23
|
-
var
|
|
22
|
+
if (V) {
|
|
23
|
+
var N = (typeof __webpack_require__ < "u" ? __non_webpack_require__ : qe)("url");
|
|
24
24
|
Object.defineProperty(w, "location", {
|
|
25
25
|
value: {
|
|
26
26
|
get href() {
|
|
27
|
-
return
|
|
27
|
+
return N.pathToFileURL ? N.pathToFileURL(process.cwd()).href + "/" : "file://" + function() {
|
|
28
28
|
var Q = process.cwd();
|
|
29
29
|
return process.platform != "win32" ? Q : "/" + Q.replace(/\\/g, "/");
|
|
30
30
|
}() + "/";
|
|
@@ -34,33 +34,33 @@ var Me = {};
|
|
|
34
34
|
function Q() {
|
|
35
35
|
try {
|
|
36
36
|
throw new Error();
|
|
37
|
-
} catch (
|
|
38
|
-
var P =
|
|
37
|
+
} catch (G) {
|
|
38
|
+
var P = G.stack, q = new RegExp("^ *at [^(]*\\((.*):[0-9]*:[0-9]*\\)$", "mg"), H = null;
|
|
39
39
|
do {
|
|
40
|
-
var
|
|
41
|
-
|
|
42
|
-
} while (
|
|
43
|
-
return
|
|
40
|
+
var B = q.exec(P);
|
|
41
|
+
B != null && (H = B);
|
|
42
|
+
} while (B != null);
|
|
43
|
+
return H[1];
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
|
-
var
|
|
46
|
+
var k = null;
|
|
47
47
|
Object.defineProperty(w, "document", {
|
|
48
48
|
value: {
|
|
49
49
|
get currentScript() {
|
|
50
|
-
return
|
|
50
|
+
return k == null && (k = { src: Q() }), k;
|
|
51
51
|
}
|
|
52
52
|
}
|
|
53
53
|
});
|
|
54
|
-
}(), w.dartDeferredLibraryLoader = function(Q,
|
|
54
|
+
}(), w.dartDeferredLibraryLoader = function(Q, k, P) {
|
|
55
55
|
try {
|
|
56
|
-
load(Q),
|
|
56
|
+
load(Q), k();
|
|
57
57
|
} catch (q) {
|
|
58
58
|
P(q);
|
|
59
59
|
}
|
|
60
60
|
};
|
|
61
61
|
}
|
|
62
62
|
(function() {
|
|
63
|
-
function
|
|
63
|
+
function k(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];
|
|
@@ -75,7 +75,7 @@ var Me = {};
|
|
|
75
75
|
function q(r, e) {
|
|
76
76
|
Object.assign(e, r);
|
|
77
77
|
}
|
|
78
|
-
var
|
|
78
|
+
var H = 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 B(r, e) {
|
|
98
98
|
if (r.prototype.constructor = r, r.prototype["$is" + r.name] = r, e != null) {
|
|
99
|
-
if (
|
|
99
|
+
if (H) {
|
|
100
100
|
r.prototype.__proto__ = e.prototype;
|
|
101
101
|
return;
|
|
102
102
|
}
|
|
103
103
|
var i = Object.create(e.prototype);
|
|
104
|
-
|
|
104
|
+
k(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
|
+
B(e[i], r);
|
|
110
110
|
}
|
|
111
111
|
function W(r, e) {
|
|
112
112
|
q(e.prototype, r.prototype), r.prototype.constructor = r;
|
|
113
113
|
}
|
|
114
|
-
function
|
|
114
|
+
function ae(r, e) {
|
|
115
115
|
P(e.prototype, r.prototype), r.prototype.constructor = r;
|
|
116
116
|
}
|
|
117
|
-
function
|
|
117
|
+
function oe(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 X(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 se(r, e, i, n) {
|
|
143
143
|
var a = r;
|
|
144
144
|
r[e] = a, r[i] = function() {
|
|
145
145
|
if (r[e] === a) {
|
|
@@ -152,17 +152,17 @@ var Me = {};
|
|
|
152
152
|
}, l;
|
|
153
153
|
};
|
|
154
154
|
}
|
|
155
|
-
function
|
|
155
|
+
function Z(r) {
|
|
156
156
|
return r.immutable$list = Array, r.fixed$length = Array, r;
|
|
157
157
|
}
|
|
158
|
-
function
|
|
158
|
+
function te(r) {
|
|
159
159
|
return r;
|
|
160
160
|
}
|
|
161
|
-
function
|
|
161
|
+
function re(r) {
|
|
162
162
|
for (var e = 0; e < r.length; ++e)
|
|
163
163
|
r[e];
|
|
164
164
|
}
|
|
165
|
-
function
|
|
165
|
+
function le(r, e) {
|
|
166
166
|
var i = null;
|
|
167
167
|
return r ? function(n) {
|
|
168
168
|
return i === null && (i = t.closureFromTearOff(e)), new i(n, this);
|
|
@@ -170,23 +170,23 @@ var Me = {};
|
|
|
170
170
|
return i === null && (i = t.closureFromTearOff(e)), new i(this, null);
|
|
171
171
|
};
|
|
172
172
|
}
|
|
173
|
-
function
|
|
173
|
+
function _e(r) {
|
|
174
174
|
var e = null;
|
|
175
175
|
return function() {
|
|
176
176
|
return e === null && (e = t.closureFromTearOff(r).prototype), e;
|
|
177
177
|
};
|
|
178
178
|
}
|
|
179
|
-
var
|
|
180
|
-
function
|
|
181
|
-
return typeof _ == "number" && (_ +=
|
|
179
|
+
var ue = 0;
|
|
180
|
+
function fe(r, e, i, n, a, s, l, _, d, c) {
|
|
181
|
+
return typeof _ == "number" && (_ += ue), { co: r, iS: e, iI: i, rC: n, dV: a, cs: s, fs: l, fT: _, aI: d || 0, nDA: c };
|
|
182
182
|
}
|
|
183
|
-
function
|
|
184
|
-
var d =
|
|
183
|
+
function de(r, e, i, n, a, s, l, _) {
|
|
184
|
+
var d = fe(r, !0, !1, i, n, a, s, l, _, !1), c = _e(d);
|
|
185
185
|
r[e] = c;
|
|
186
186
|
}
|
|
187
187
|
function ye(r, e, i, n, a, s, l, _, d, c) {
|
|
188
188
|
i = !!i;
|
|
189
|
-
var p =
|
|
189
|
+
var p = fe(r, !1, i, n, a, s, l, _, d, !!c), $ = le(i, p);
|
|
190
190
|
r[e] = $;
|
|
191
191
|
}
|
|
192
192
|
function he(r) {
|
|
@@ -195,7 +195,7 @@ var Me = {};
|
|
|
195
195
|
T.interceptorsByTag = r;
|
|
196
196
|
return;
|
|
197
197
|
}
|
|
198
|
-
|
|
198
|
+
k(r, e);
|
|
199
199
|
}
|
|
200
200
|
function Te(r) {
|
|
201
201
|
var e = T.leafTags;
|
|
@@ -203,26 +203,26 @@ var Me = {};
|
|
|
203
203
|
T.leafTags = r;
|
|
204
204
|
return;
|
|
205
205
|
}
|
|
206
|
-
|
|
206
|
+
k(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 k(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);
|
|
219
219
|
};
|
|
220
220
|
}, e = function(i, n, a, s) {
|
|
221
221
|
return function(l, _, d, c) {
|
|
222
|
-
return
|
|
222
|
+
return de(l, _, i, n, a, [d], c, s);
|
|
223
223
|
};
|
|
224
224
|
};
|
|
225
|
-
return { inherit:
|
|
225
|
+
return { inherit: B, inheritMany: G, mixin: W, mixinHard: ae, installStaticTearOff: de, 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: Z, lazy: X, lazyFinal: se, lazyOld: oe, updateHolder: ge, convertToFastObject: te, 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, J) > 0 && (a = J, J = v, v = a), n.call$2(F,
|
|
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), J = C.$index(r, E);
|
|
263
|
+
if (n.call$2(F, D) > 0 && (a = D, D = F, F = a), n.call$2(v, J) > 0 && (a = J, J = 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, J) > 0 && (a = J, J = D, D = a), n.call$2(D, L) > 0 && (a = L, L = D, D = a), n.call$2(v, J) > 0 && (a = J, J = v, v = a), C.$indexSet(r, A, F), C.$indexSet(r, M, L), C.$indexSet(r, E, J), 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, J, U;
|
|
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[
|
|
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
1774
|
if (D >= C || (J = b[D], D += 3, v < J))
|
|
1775
1775
|
return !1;
|
|
1776
|
-
if (
|
|
1777
|
-
if (
|
|
1776
|
+
if (U = b[D - 2], J < v) {
|
|
1777
|
+
if (U)
|
|
1778
1778
|
return !1;
|
|
1779
1779
|
continue;
|
|
1780
1780
|
}
|
|
1781
|
-
if (M = R[
|
|
1781
|
+
if (M = R[L + 1], U && !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", J = "layerOtherChargeTotal", U = "customAttributes", ce = "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", J, J, "@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", U, U, e, r), t.Field_Field$string(e, !1, "Layer 0 parent ID", ce, ce, 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), J = t.DeLocale$(u.StartOfWeek_2), U = t.DeLocale$(u.StartOfWeek_2), ce = t.DeLocale$(u.StartOfWeek_2), Ce = t.ItLocale$(u.StartOfWeek_2), be = t.ItLocale$(u.StartOfWeek_2), Re = t.ArLyLocale$(!0, u.StartOfWeek_0), Fe = t.ArLyLocale$(!1, u.StartOfWeek_0), Oe = t.ArSaMaDzKwTnLocale$(!1, u.StartOfWeek_1), Le = t.ArSaMaDzKwTnLocale$(!1, u.StartOfWeek_1), ve = t.ArSaMaDzKwTnLocale$(!0, u.StartOfWeek_1), De = t.ArSaMaDzKwTnLocale$(!1, u.StartOfWeek_0), we = 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", J, "de_at", U, "de_ch", ce, "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 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
|
+
}, re(f), function(r) {
|
|
10078
10078
|
if (typeof document > "u") {
|
|
10079
10079
|
r(null);
|
|
10080
10080
|
return;
|
|
@@ -10099,50 +10099,50 @@ Arguments: [` + d + "]";
|
|
|
10099
10099
|
})();
|
|
10100
10100
|
})(Me);
|
|
10101
10101
|
var Ue = {};
|
|
10102
|
-
(function(
|
|
10103
|
-
|
|
10104
|
-
var
|
|
10105
|
-
if (
|
|
10106
|
-
setImmediate(
|
|
10107
|
-
} : function(
|
|
10108
|
-
setTimeout(
|
|
10109
|
-
},
|
|
10102
|
+
(function(O) {
|
|
10103
|
+
O.load = function(x, w) {
|
|
10104
|
+
var V = typeof process < "u" && (process.versions || {}).hasOwnProperty("node"), N = V ? Object.create(globalThis) : globalThis;
|
|
10105
|
+
if (N.scheduleImmediate = typeof setImmediate < "u" ? function(k) {
|
|
10106
|
+
setImmediate(k);
|
|
10107
|
+
} : function(k) {
|
|
10108
|
+
setTimeout(k, 0);
|
|
10109
|
+
}, N.exports = w || O, typeof process < "u" && (N.process = process), typeof __dirname < "u" && (N.__dirname = __dirname), typeof __filename < "u" && (N.__filename = __filename), typeof Buffer < "u" && (N.Buffer = Buffer), V) {
|
|
10110
10110
|
var Q = (typeof __webpack_require__ < "u" ? __non_webpack_require__ : qe)("url");
|
|
10111
|
-
Object.defineProperty(
|
|
10111
|
+
Object.defineProperty(N, "location", {
|
|
10112
10112
|
value: {
|
|
10113
10113
|
get href() {
|
|
10114
10114
|
return Q.pathToFileURL ? Q.pathToFileURL(process.cwd()).href + "/" : "file://" + function() {
|
|
10115
|
-
var
|
|
10116
|
-
return process.platform != "win32" ?
|
|
10115
|
+
var k = process.cwd();
|
|
10116
|
+
return process.platform != "win32" ? k : "/" + k.replace(/\\/g, "/");
|
|
10117
10117
|
}() + "/";
|
|
10118
10118
|
}
|
|
10119
10119
|
}
|
|
10120
10120
|
}), function() {
|
|
10121
|
-
function
|
|
10121
|
+
function k() {
|
|
10122
10122
|
try {
|
|
10123
10123
|
throw new Error();
|
|
10124
10124
|
} catch (W) {
|
|
10125
|
-
var q = W.stack,
|
|
10125
|
+
var q = W.stack, H = new RegExp("^ *at [^(]*\\((.*):[0-9]*:[0-9]*\\)$", "mg"), B = null;
|
|
10126
10126
|
do {
|
|
10127
|
-
var
|
|
10128
|
-
|
|
10129
|
-
} while (
|
|
10130
|
-
return
|
|
10127
|
+
var G = H.exec(q);
|
|
10128
|
+
G != null && (B = G);
|
|
10129
|
+
} while (G != null);
|
|
10130
|
+
return B[1];
|
|
10131
10131
|
}
|
|
10132
10132
|
}
|
|
10133
10133
|
var P = null;
|
|
10134
|
-
Object.defineProperty(
|
|
10134
|
+
Object.defineProperty(N, "document", {
|
|
10135
10135
|
value: {
|
|
10136
10136
|
get currentScript() {
|
|
10137
|
-
return P == null && (P = { src:
|
|
10137
|
+
return P == null && (P = { src: k() }), P;
|
|
10138
10138
|
}
|
|
10139
10139
|
}
|
|
10140
10140
|
});
|
|
10141
|
-
}(),
|
|
10141
|
+
}(), N.dartDeferredLibraryLoader = function(k, P, q) {
|
|
10142
10142
|
try {
|
|
10143
|
-
load(
|
|
10144
|
-
} catch (
|
|
10145
|
-
q(
|
|
10143
|
+
load(k), P();
|
|
10144
|
+
} catch (H) {
|
|
10145
|
+
q(H);
|
|
10146
10146
|
}
|
|
10147
10147
|
};
|
|
10148
10148
|
}
|
|
@@ -10159,10 +10159,10 @@ var Ue = {};
|
|
|
10159
10159
|
i.hasOwnProperty(s) || (i[s] = e[s]);
|
|
10160
10160
|
}
|
|
10161
10161
|
}
|
|
10162
|
-
function
|
|
10162
|
+
function H(e, i) {
|
|
10163
10163
|
Object.assign(i, e);
|
|
10164
10164
|
}
|
|
10165
|
-
var
|
|
10165
|
+
var B = function() {
|
|
10166
10166
|
var e = function() {
|
|
10167
10167
|
};
|
|
10168
10168
|
e.prototype = { p: {} };
|
|
@@ -10181,9 +10181,9 @@ 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 (B) {
|
|
10187
10187
|
e.prototype.__proto__ = i.prototype;
|
|
10188
10188
|
return;
|
|
10189
10189
|
}
|
|
@@ -10193,15 +10193,15 @@ var Ue = {};
|
|
|
10193
10193
|
}
|
|
10194
10194
|
function W(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 ae(e, i) {
|
|
10199
|
+
H(i.prototype, e.prototype), e.prototype.constructor = e;
|
|
10200
10200
|
}
|
|
10201
|
-
function
|
|
10201
|
+
function oe(e, i) {
|
|
10202
10202
|
q(i.prototype, e.prototype), e.prototype.constructor = e;
|
|
10203
10203
|
}
|
|
10204
|
-
function
|
|
10204
|
+
function X(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 se(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 Z(e, i, n, a) {
|
|
10230
10230
|
var s = e;
|
|
10231
10231
|
e[i] = s, e[n] = function() {
|
|
10232
10232
|
if (e[i] === s) {
|
|
@@ -10239,17 +10239,17 @@ var Ue = {};
|
|
|
10239
10239
|
}, _;
|
|
10240
10240
|
};
|
|
10241
10241
|
}
|
|
10242
|
-
function
|
|
10242
|
+
function te(e) {
|
|
10243
10243
|
return e.immutable$list = Array, e.fixed$length = Array, e;
|
|
10244
10244
|
}
|
|
10245
|
-
function
|
|
10245
|
+
function re(e) {
|
|
10246
10246
|
return e;
|
|
10247
10247
|
}
|
|
10248
|
-
function
|
|
10248
|
+
function le(e) {
|
|
10249
10249
|
for (var i = 0; i < e.length; ++i)
|
|
10250
10250
|
e[i];
|
|
10251
10251
|
}
|
|
10252
|
-
function
|
|
10252
|
+
function _e(e, i) {
|
|
10253
10253
|
var n = null;
|
|
10254
10254
|
return e ? function(a) {
|
|
10255
10255
|
return n === null && (n = o.closureFromTearOff(i)), new n(a, this);
|
|
@@ -10257,23 +10257,23 @@ var Ue = {};
|
|
|
10257
10257
|
return n === null && (n = o.closureFromTearOff(i)), new n(this, null);
|
|
10258
10258
|
};
|
|
10259
10259
|
}
|
|
10260
|
-
function
|
|
10260
|
+
function ue(e) {
|
|
10261
10261
|
var i = null;
|
|
10262
10262
|
return function() {
|
|
10263
10263
|
return i === null && (i = o.closureFromTearOff(e).prototype), i;
|
|
10264
10264
|
};
|
|
10265
10265
|
}
|
|
10266
|
-
var
|
|
10267
|
-
function
|
|
10268
|
-
return typeof d == "number" && (d +=
|
|
10266
|
+
var fe = 0;
|
|
10267
|
+
function de(e, i, n, a, s, l, _, d, c, p) {
|
|
10268
|
+
return typeof d == "number" && (d += fe), { co: e, iS: i, iI: n, rC: a, dV: s, cs: l, fs: _, fT: d, aI: c || 0, nDA: p };
|
|
10269
10269
|
}
|
|
10270
10270
|
function ye(e, i, n, a, s, l, _, d) {
|
|
10271
|
-
var c =
|
|
10271
|
+
var c = de(e, !0, !1, n, a, s, l, _, d, !1), p = ue(c);
|
|
10272
10272
|
e[i] = p;
|
|
10273
10273
|
}
|
|
10274
10274
|
function he(e, i, n, a, s, l, _, d, c, p) {
|
|
10275
10275
|
n = !!n;
|
|
10276
|
-
var $ =
|
|
10276
|
+
var $ = de(e, !1, n, a, s, l, _, d, c, !!p), g = _e(n, $);
|
|
10277
10277
|
e[i] = g;
|
|
10278
10278
|
}
|
|
10279
10279
|
function Te(e) {
|
|
@@ -10296,7 +10296,7 @@ var Ue = {};
|
|
|
10296
10296
|
var i = I.types, n = i.length;
|
|
10297
10297
|
return i.push.apply(i, e), n;
|
|
10298
10298
|
}
|
|
10299
|
-
function
|
|
10299
|
+
function j(e, i) {
|
|
10300
10300
|
return P(i, e), e;
|
|
10301
10301
|
}
|
|
10302
10302
|
var t = function() {
|
|
@@ -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: W, mixin: ae, mixinHard: oe, 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: te, lazy: se, lazyFinal: Z, lazyOld: X, updateHolder: j, convertToFastObject: re, 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), J = F.$index(e, C), U = F.$index(e, M);
|
|
10359
|
+
if (a.call$2(D, L) > 0 && (s = L, L = D, D = s), a.call$2(J, U) > 0 && (s = U, U = J, J = 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, J) > 0 && (s = J, J = D, D = s), a.call$2(v, J) > 0 && (s = J, J = v, v = s), a.call$2(L, U) > 0 && (s = U, U = L, L = s), a.call$2(L, v) > 0 && (s = v, v = L, L = s), a.call$2(J, U) > 0 && (s = U, U = J, J = s), F.$indexSet(e, E, D), F.$indexSet(e, b, v), F.$indexSet(e, M, U), 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, J), 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,7 +10376,7 @@ 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
10381
|
else if (a.call$2(c, J) > 0)
|
|
10382
10382
|
for (; ; )
|
|
@@ -10385,19 +10385,19 @@ var Ue = {};
|
|
|
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, J), 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
10397
|
for (; u.$eq$(a.call$2(F.$index(e, _), J), 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
10402
|
else if (a.call$2(c, J) === 0)
|
|
10403
10403
|
for (; ; )
|
|
@@ -10406,7 +10406,7 @@ var Ue = {};
|
|
|
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);
|
|
@@ -11473,7 +11473,7 @@ 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, J = ", ";
|
|
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 + _));
|
|
@@ -11482,19 +11482,19 @@ var Ue = {};
|
|
|
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 = J)
|
|
11486
|
+
L += v + o._rtiToString(E[_], i);
|
|
11487
11487
|
if (R > 0) {
|
|
11488
|
-
for (
|
|
11489
|
-
|
|
11490
|
-
|
|
11488
|
+
for (L += v + "[", v = "", _ = 0; _ < R; ++_, v = J)
|
|
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 = J)
|
|
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, J, U, ce;
|
|
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,
|
|
11867
|
+
for (R = l._named, C = _._named, F = R.length, D = C.length, L = 0, v = 0; v < D; v += 3)
|
|
11868
11868
|
for (J = C[v]; ; ) {
|
|
11869
|
-
if (
|
|
11869
|
+
if (L >= F || (U = R[L], L += 3, J < U))
|
|
11870
11870
|
return !1;
|
|
11871
|
-
if (
|
|
11872
|
-
if (
|
|
11871
|
+
if (ce = R[L - 2], U < J) {
|
|
11872
|
+
if (ce)
|
|
11873
11873
|
return !1;
|
|
11874
11874
|
continue;
|
|
11875
11875
|
}
|
|
11876
|
-
if (b = C[v + 1],
|
|
11876
|
+
if (b = C[v + 1], ce && !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,14 +13230,14 @@ 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, J = null;
|
|
13234
13234
|
if (n.length === 0)
|
|
13235
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 ? J : _.dateRange, J));
|
|
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 ? J : 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 ? J : 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
13243
|
return b = o.accumulate(i, b), s = o.IterableExtension_get_firstOrNull(n), s = s == null ? J : s.dateRange, l = o.ListExtension_elementAtOrNull(n, 1), new o.BaseXYChartDataModel(e, h, b, new o.DateComparison(s, l == null ? J : l.dateRange));
|
|
@@ -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;
|
|
@@ -13583,15 +13583,15 @@ var Ue = {};
|
|
|
13583
13583
|
}
|
|
13584
13584
|
},
|
|
13585
13585
|
formatChartData(e) {
|
|
13586
|
-
var i, n = f.C_JsonCodec.decode$2$reviver(
|
|
13587
|
-
return _ instanceof o.CircularDatasourceConfigModel ? i = o.formatCircularChartData(_, l, c).toJson$0() : _ instanceof o.BaseXYDatasourceConfigModel ? i = o.formatBaseXYChartData(d, _, l, c).toJson$0() : _ instanceof o.TableDatasourceConfigModel ? i = o.formatTableChartData(_, l, c).toJson$0() : i = d === f.ChartType_3 ? o.formatScoreCardChartData(_, l, c).toJson$0() : null,
|
|
13586
|
+
var i, n = f.C_JsonCodec.decode$2$reviver(N.JSON.stringify(e), null), a = u.getInterceptor$asx(n), s = u.map$1$1$ax(r.List_dynamic._as(a.$index(n, "responses")), new o.formatChartData_closure(), r.QueryResponse), l = o.List_List$of(s, !0, s.$ti._eval$1("ListIterable.E")), _ = o._getConfig(a.$index(n, "widget")), d = o.EnumByName_byName(f.List_OX3, u.$index$asx(a.$index(n, "widget"), "type")), c = a.$index(n, "country");
|
|
13587
|
+
return _ instanceof o.CircularDatasourceConfigModel ? i = o.formatCircularChartData(_, l, c).toJson$0() : _ instanceof o.BaseXYDatasourceConfigModel ? i = o.formatBaseXYChartData(d, _, l, c).toJson$0() : _ instanceof o.TableDatasourceConfigModel ? i = o.formatTableChartData(_, l, c).toJson$0() : i = d === f.ChartType_3 ? o.formatScoreCardChartData(_, l, c).toJson$0() : null, N.JSON.parse(f.C_JsonCodec.encode$2$toEncodable(i, null));
|
|
13588
13588
|
},
|
|
13589
13589
|
formatChartData_closure: function() {
|
|
13590
13590
|
},
|
|
13591
13591
|
Exports: function() {
|
|
13592
13592
|
},
|
|
13593
13593
|
main() {
|
|
13594
|
-
u.set$formatChartData$x(
|
|
13594
|
+
u.set$formatChartData$x(N.exports, o.allowInterop(o.js__formatChartData$closure()));
|
|
13595
13595
|
},
|
|
13596
13596
|
_Exports: function() {
|
|
13597
13597
|
},
|
|
@@ -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, J = o._setArrayType([[]], v), U = 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
17369
|
for (g = p.firstWhere$1(c, new o._formatTableResponse__closure7()), m = p.fold$2(c, !0, new o._formatTableResponse__closure8(i)), p = J.length, h = g.type, A = g.columnValue, E = 0; E < J.length; J.length === p || (0, o.throwConcurrentModificationError)(J), ++E)
|
|
17370
|
-
M = J[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,
|
|
17370
|
+
M = J[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(J, C) == null && (J.push(o.List_List$of(J[0], !0, a)),
|
|
17373
|
+
F = _[C], o.ListExtension_elementAtOrNull(J, C) == null && (J.push(o.List_List$of(J[0], !0, a)), U.push(o.List_List$of(U[0], !0, a))), h ? (A = J[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, U[C].push(b)) : p && (A = J[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
17375
|
for (D = 0; D < J.length; ++D)
|
|
17376
|
-
p = J[D], h = n.$index(0, $), A = p.length, d >= A && f.JSArray_methods.addAll$1(p, o.List_List$filled(d - A + 1,
|
|
17377
|
-
return v = r.Map_String_dynamic, n = o.List_List$of(e, !0, v), f.JSArray_methods.addAll$1(n, o.ListExtensions_mapIndexed(J, new o._formatTableResponse__closure9(
|
|
17376
|
+
p = J[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, U[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(J, new o._formatTableResponse__closure9(U, i), r.List_dynamic, v)), n;
|
|
17378
17378
|
},
|
|
17379
17379
|
$signature: 76
|
|
17380
17380
|
}, o._formatTableResponse__closure5.prototype = {
|
|
@@ -17792,7 +17792,7 @@ Arguments: [` + c + "]";
|
|
|
17792
17792
|
}
|
|
17793
17793
|
}
|
|
17794
17794
|
function l(p, $) {
|
|
17795
|
-
return
|
|
17795
|
+
return N.HTMLElement && p instanceof HTMLElement ? "HTMLElement" : s(p, $);
|
|
17796
17796
|
}
|
|
17797
17797
|
function _(p) {
|
|
17798
17798
|
if (typeof window > "u" || typeof window[p] > "u") return null;
|
|
@@ -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), J = o.DeLocale$(f.StartOfWeek_2), U = o.DeLocale$(f.StartOfWeek_2), ce = o.DeLocale$(f.StartOfWeek_2), Ce = o.DeLocale$(f.StartOfWeek_2), be = o.ItLocale$(f.StartOfWeek_2), Re = o.ItLocale$(f.StartOfWeek_2), Fe = o.ArLyLocale$(!0, f.StartOfWeek_0), Oe = o.ArLyLocale$(!1, f.StartOfWeek_0), Le = o.ArSaMaDzKwTnLocale$(!1, f.StartOfWeek_1), ve = o.ArSaMaDzKwTnLocale$(!1, f.StartOfWeek_1), De = o.ArSaMaDzKwTnLocale$(!0, f.StartOfWeek_1), we = 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", J, "de_de", U, "de_at", ce, "de_ch", Ce, "it", be, "it_ch", Re, "ar", Fe, "ar_ly", Oe, "ar_dz", Le, "ar_kw", ve, "ar_sa", De, "ar_ma", we, "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() {
|
|
@@ -17950,7 +17950,7 @@ Arguments: [` + c + "]";
|
|
|
17950
17950
|
return this(e, i, n, a, s, l, _, d);
|
|
17951
17951
|
}, Function.prototype.call$3 = function(e, i, n) {
|
|
17952
17952
|
return this(e, i, n);
|
|
17953
|
-
},
|
|
17953
|
+
}, le(S), function(e) {
|
|
17954
17954
|
if (typeof document > "u") {
|
|
17955
17955
|
e(null);
|
|
17956
17956
|
return;
|
|
@@ -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,115 +17990,115 @@ function It(L) {
|
|
|
17990
17990
|
return "Unknown";
|
|
17991
17991
|
}
|
|
17992
17992
|
}
|
|
17993
|
-
const Se = "/report-settings",
|
|
17994
|
-
const { businessId:
|
|
17995
|
-
if (
|
|
17993
|
+
const Se = "/report-settings", nt = async () => {
|
|
17994
|
+
const { businessId: O } = Y(ie());
|
|
17995
|
+
if (O) {
|
|
17996
17996
|
const x = {
|
|
17997
|
-
fetchType:
|
|
17998
|
-
url: `${Se}/${
|
|
17997
|
+
fetchType: ne.Get,
|
|
17998
|
+
url: `${Se}/${O.value}/reports`
|
|
17999
17999
|
};
|
|
18000
|
-
return
|
|
18000
|
+
return ee.fetch(x);
|
|
18001
18001
|
} else
|
|
18002
18002
|
return Promise.reject(new Error("Business Id is not defined"));
|
|
18003
|
-
},
|
|
18004
|
-
const { businessId: x } =
|
|
18005
|
-
fetchType:
|
|
18006
|
-
url: `${Se}/${x.value}/reports/${
|
|
18007
|
-
data:
|
|
18003
|
+
}, at = (O) => {
|
|
18004
|
+
const { businessId: x } = Y(ie()), w = {
|
|
18005
|
+
fetchType: ne.Put,
|
|
18006
|
+
url: `${Se}/${x.value}/reports/${O.id}`,
|
|
18007
|
+
data: O
|
|
18008
18008
|
};
|
|
18009
|
-
return
|
|
18010
|
-
},
|
|
18011
|
-
const { businessId: x } =
|
|
18012
|
-
fetchType:
|
|
18009
|
+
return ee.fetch(w);
|
|
18010
|
+
}, ot = (O) => {
|
|
18011
|
+
const { businessId: x } = Y(ie()), w = {
|
|
18012
|
+
fetchType: ne.Post,
|
|
18013
18013
|
url: `${Se}/${x.value}/reports`,
|
|
18014
|
-
data:
|
|
18014
|
+
data: O
|
|
18015
18015
|
};
|
|
18016
|
-
return
|
|
18017
|
-
},
|
|
18018
|
-
const { businessId: x } =
|
|
18019
|
-
fetchType:
|
|
18020
|
-
url: `${Se}/${x.value}/reports/${
|
|
18016
|
+
return ee.fetch(w);
|
|
18017
|
+
}, st = (O) => {
|
|
18018
|
+
const { businessId: x } = Y(ie()), w = {
|
|
18019
|
+
fetchType: ne.Delete,
|
|
18020
|
+
url: `${Se}/${x.value}/reports/${O.id}`
|
|
18021
18021
|
};
|
|
18022
|
-
return
|
|
18023
|
-
},
|
|
18024
|
-
const { businessId: x } =
|
|
18025
|
-
fetchType:
|
|
18022
|
+
return ee.fetch(w);
|
|
18023
|
+
}, lt = (O) => {
|
|
18024
|
+
const { businessId: x } = Y(ie()), w = {
|
|
18025
|
+
fetchType: ne.Put,
|
|
18026
18026
|
url: `${Se}/${x.value}/reports/default`,
|
|
18027
|
-
data: { defaultReport:
|
|
18027
|
+
data: { defaultReport: O }
|
|
18028
18028
|
};
|
|
18029
|
-
return
|
|
18030
|
-
},
|
|
18031
|
-
const { businessId:
|
|
18032
|
-
if (
|
|
18029
|
+
return ee.fetch(w);
|
|
18030
|
+
}, _t = async () => {
|
|
18031
|
+
const { businessId: O } = Y(ie());
|
|
18032
|
+
if (O) {
|
|
18033
18033
|
const x = {
|
|
18034
|
-
fetchType:
|
|
18035
|
-
url: `${Se}/${
|
|
18034
|
+
fetchType: ne.Get,
|
|
18035
|
+
url: `${Se}/${O.value}/overview-report`
|
|
18036
18036
|
};
|
|
18037
|
-
return
|
|
18037
|
+
return ee.fetch(x);
|
|
18038
18038
|
} else
|
|
18039
18039
|
return Promise.reject(new Error("Business Id is not defined"));
|
|
18040
|
-
},
|
|
18041
|
-
const { businessId:
|
|
18042
|
-
if (
|
|
18040
|
+
}, ut = async () => {
|
|
18041
|
+
const { businessId: O } = Y(ie());
|
|
18042
|
+
if (O) {
|
|
18043
18043
|
const x = {
|
|
18044
|
-
fetchType:
|
|
18045
|
-
url: `${Se}/${
|
|
18044
|
+
fetchType: ne.Get,
|
|
18045
|
+
url: `${Se}/${O.value}/config`
|
|
18046
18046
|
};
|
|
18047
|
-
return
|
|
18047
|
+
return ee.fetch(x);
|
|
18048
18048
|
} else
|
|
18049
18049
|
return Promise.reject(new Error("Business Id is not defined"));
|
|
18050
|
-
},
|
|
18051
|
-
const { businessId:
|
|
18052
|
-
if (
|
|
18050
|
+
}, dt = "/report-settings", ct = async () => {
|
|
18051
|
+
const { businessId: O } = Y(ie());
|
|
18052
|
+
if (O) {
|
|
18053
18053
|
const x = {
|
|
18054
|
-
fetchType:
|
|
18055
|
-
url: `${
|
|
18054
|
+
fetchType: ne.Get,
|
|
18055
|
+
url: `${dt}/${O.value}/categories`
|
|
18056
18056
|
};
|
|
18057
|
-
return
|
|
18057
|
+
return ee.fetch(x);
|
|
18058
18058
|
} else
|
|
18059
18059
|
return Promise.reject(new Error("Business Id is not defined"));
|
|
18060
|
-
},
|
|
18061
|
-
const { businessId: x } =
|
|
18062
|
-
fetchType:
|
|
18060
|
+
}, pt = (O) => {
|
|
18061
|
+
const { businessId: x } = Y(ie()), w = {
|
|
18062
|
+
fetchType: ne.Post,
|
|
18063
18063
|
url: `/report-settings/${x.value}/date-settings`,
|
|
18064
18064
|
data: {
|
|
18065
|
-
...
|
|
18065
|
+
...O
|
|
18066
18066
|
}
|
|
18067
18067
|
};
|
|
18068
|
-
return
|
|
18068
|
+
return ee.fetch(w);
|
|
18069
18069
|
};
|
|
18070
|
-
function Je(
|
|
18071
|
-
const w = localStorage.getItem(
|
|
18070
|
+
function Je(O, x = {}) {
|
|
18071
|
+
const w = localStorage.getItem(O);
|
|
18072
18072
|
return w === null && (x == null ? void 0 : x.fallback) !== void 0 ? x.fallback : w === null ? null : x.format ? x.format(w) : w;
|
|
18073
18073
|
}
|
|
18074
18074
|
const me = {
|
|
18075
18075
|
get: Je,
|
|
18076
|
-
getJson: (
|
|
18076
|
+
getJson: (O) => Je(O, {
|
|
18077
18077
|
fallback: {},
|
|
18078
18078
|
format: (x) => JSON.parse(x)
|
|
18079
18079
|
}),
|
|
18080
|
-
getNumber: (
|
|
18080
|
+
getNumber: (O) => Je(O, {
|
|
18081
18081
|
fallback: null,
|
|
18082
18082
|
format: (x) => Number(x)
|
|
18083
18083
|
}),
|
|
18084
18084
|
set: localStorage.setItem,
|
|
18085
|
-
setJson: (
|
|
18086
|
-
localStorage.setItem(
|
|
18085
|
+
setJson: (O, x) => {
|
|
18086
|
+
localStorage.setItem(O, JSON.stringify(x));
|
|
18087
18087
|
}
|
|
18088
|
-
},
|
|
18089
|
-
const { business:
|
|
18088
|
+
}, ft = "mf-reportreport-store", Qe = He(ft, () => {
|
|
18089
|
+
const { business: O } = Y(Ie()), { flags: x } = Y(ke()), w = K([]), V = K([]), N = K(0), Q = Ze(), k = Ae(() => w.value.filter((f) => f.editable)), P = Ae(() => w.value.filter((f) => !f.editable)), q = K(!1), H = K(""), B = K(), G = K(), W = Ae(() => {
|
|
18090
18090
|
const f = x.value.find(
|
|
18091
|
-
(S) => S.key ===
|
|
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
|
+
}), ae = Ae(() => W.value === null ? !0 : W.value - k.value.length > 0);
|
|
18095
|
+
async function oe() {
|
|
18096
|
+
return G.value = await _t(), G.value;
|
|
18097
18097
|
}
|
|
18098
|
-
async function
|
|
18098
|
+
async function X() {
|
|
18099
18099
|
var f;
|
|
18100
18100
|
try {
|
|
18101
|
-
w.value = await
|
|
18101
|
+
w.value = await nt(), V.value = await ct(), w.value.find((T) => T.id === H.value) || (H.value = ((f = w.value.find((T) => T.isDefault)) == null ? void 0 : f.id) || w.value[0].id);
|
|
18102
18102
|
} catch (S) {
|
|
18103
18103
|
console.log(S), Q.open({
|
|
18104
18104
|
title: "Report Fetch Error",
|
|
@@ -18107,36 +18107,36 @@ const me = {
|
|
|
18107
18107
|
});
|
|
18108
18108
|
}
|
|
18109
18109
|
}
|
|
18110
|
-
const
|
|
18111
|
-
() => w.value.find((f) => f.id ===
|
|
18112
|
-
),
|
|
18113
|
-
async function
|
|
18114
|
-
if (
|
|
18115
|
-
const T = await nt(f);
|
|
18116
|
-
U.value = T.id;
|
|
18117
|
-
} else {
|
|
18110
|
+
const se = Ae(
|
|
18111
|
+
() => w.value.find((f) => f.id === H.value)
|
|
18112
|
+
), Z = K(), te = K(0), re = K(), le = K(!1), _e = K(!1), ue = K(!1);
|
|
18113
|
+
async function fe(f) {
|
|
18114
|
+
if (k.value.findIndex((T) => T.id === f.id) >= 0) {
|
|
18118
18115
|
const T = await at(f);
|
|
18119
|
-
|
|
18116
|
+
H.value = T.id;
|
|
18117
|
+
} else {
|
|
18118
|
+
const T = await ot(f);
|
|
18119
|
+
H.value = T.id;
|
|
18120
18120
|
}
|
|
18121
|
-
await
|
|
18121
|
+
await X();
|
|
18122
18122
|
}
|
|
18123
|
-
async function
|
|
18124
|
-
return await
|
|
18123
|
+
async function de(f) {
|
|
18124
|
+
return await pt(f);
|
|
18125
18125
|
}
|
|
18126
18126
|
async function ye(f) {
|
|
18127
|
-
await
|
|
18127
|
+
await st(f), await X();
|
|
18128
18128
|
}
|
|
18129
18129
|
async function he(f) {
|
|
18130
|
-
await
|
|
18130
|
+
await lt(f), await X();
|
|
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 && (H.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,74 +18144,74 @@ 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[
|
|
18167
|
-
date:
|
|
18165
|
+
if (!f[O.value._id])
|
|
18166
|
+
f[O.value._id] = {
|
|
18167
|
+
date: pe().local().format("YYYY-MM-DD"),
|
|
18168
18168
|
feedback: !1
|
|
18169
18169
|
};
|
|
18170
18170
|
else {
|
|
18171
|
-
const S =
|
|
18172
|
-
Math.abs(S.diff(
|
|
18171
|
+
const S = pe(f[O.value._id].date).local();
|
|
18172
|
+
Math.abs(S.diff(pe().endOf("day").local(), "d")) >= 1 && !f[O.value._id].feedback && (_e.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
|
-
isOpenDownloadDialog:
|
|
18182
|
-
isOpenFeedbackDialog:
|
|
18183
|
-
isOpenEmailDialog:
|
|
18184
|
-
currentSelectWidgetType:
|
|
18181
|
+
isOpenDownloadDialog: le,
|
|
18182
|
+
isOpenFeedbackDialog: _e,
|
|
18183
|
+
isOpenEmailDialog: ue,
|
|
18184
|
+
currentSelectWidgetType: B,
|
|
18185
18185
|
reports: w,
|
|
18186
|
-
categories:
|
|
18187
|
-
currentReport:
|
|
18188
|
-
editingReport:
|
|
18189
|
-
editingIndex:
|
|
18190
|
-
editingTile:
|
|
18191
|
-
currentReportId:
|
|
18192
|
-
editableReports:
|
|
18186
|
+
categories: V,
|
|
18187
|
+
currentReport: se,
|
|
18188
|
+
editingReport: Z,
|
|
18189
|
+
editingIndex: te,
|
|
18190
|
+
editingTile: re,
|
|
18191
|
+
currentReportId: H,
|
|
18192
|
+
editableReports: k,
|
|
18193
18193
|
nonEditableReports: P,
|
|
18194
18194
|
isOpenAddReportDialog: q,
|
|
18195
|
-
overviewReport:
|
|
18195
|
+
overviewReport: G,
|
|
18196
18196
|
pinReport: $e,
|
|
18197
|
-
scrollPositionY:
|
|
18197
|
+
scrollPositionY: N,
|
|
18198
18198
|
customReportQuota: W,
|
|
18199
|
-
canCreateCustomReport:
|
|
18200
|
-
createOrUpdateReport:
|
|
18199
|
+
canCreateCustomReport: ae,
|
|
18200
|
+
createOrUpdateReport: fe,
|
|
18201
18201
|
removeReport: ye,
|
|
18202
18202
|
updateCurrentReportId: Te,
|
|
18203
|
-
getReports:
|
|
18203
|
+
getReports: X,
|
|
18204
18204
|
updateDefaultReport: he,
|
|
18205
18205
|
checkFeedback: o,
|
|
18206
|
-
getOverviewReport:
|
|
18206
|
+
getOverviewReport: oe,
|
|
18207
18207
|
refreshPinReport: ge,
|
|
18208
|
-
cachePinReport:
|
|
18208
|
+
cachePinReport: j,
|
|
18209
18209
|
clearPinReport: t,
|
|
18210
18210
|
getReportConfig: u,
|
|
18211
|
-
submitFeedback:
|
|
18211
|
+
submitFeedback: de
|
|
18212
18212
|
};
|
|
18213
|
-
}),
|
|
18214
|
-
const { disabled:
|
|
18213
|
+
}), yt = "mf-reportnavigation", Ve = He(yt, () => {
|
|
18214
|
+
const { disabled: O } = Y(je()), { isIntegrationWhitelist: x } = Y(ke()), w = K("v5"), V = Ae(() => {
|
|
18215
18215
|
const P = [
|
|
18216
18216
|
{
|
|
18217
18217
|
label: "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,71 +18235,72 @@ const me = {
|
|
|
18235
18235
|
route: "setting"
|
|
18236
18236
|
}
|
|
18237
18237
|
];
|
|
18238
|
-
return !
|
|
18238
|
+
return !O.value && x.value && P.push({
|
|
18239
18239
|
label: "integration",
|
|
18240
18240
|
value: "integration",
|
|
18241
18241
|
route: "integrations"
|
|
18242
18242
|
}), P;
|
|
18243
|
-
}),
|
|
18244
|
-
function
|
|
18243
|
+
}), N = K(""), { currentRoute: Q } = tt();
|
|
18244
|
+
function k(P) {
|
|
18245
18245
|
switch (P.name) {
|
|
18246
18246
|
case "report":
|
|
18247
18247
|
case "reports":
|
|
18248
|
-
|
|
18248
|
+
N.value = "report";
|
|
18249
18249
|
break;
|
|
18250
18250
|
case "overview":
|
|
18251
|
-
|
|
18251
|
+
N.value = "overview";
|
|
18252
18252
|
break;
|
|
18253
18253
|
case "setting":
|
|
18254
|
-
|
|
18254
|
+
N.value = "setting";
|
|
18255
18255
|
break;
|
|
18256
18256
|
case "insights":
|
|
18257
|
-
|
|
18257
|
+
N.value = "insight";
|
|
18258
18258
|
break;
|
|
18259
18259
|
case "integration":
|
|
18260
18260
|
case "integrations":
|
|
18261
|
-
|
|
18261
|
+
N.value = "integration";
|
|
18262
18262
|
break;
|
|
18263
18263
|
}
|
|
18264
18264
|
}
|
|
18265
|
-
return
|
|
18265
|
+
return Xe(
|
|
18266
18266
|
Q,
|
|
18267
18267
|
(P) => {
|
|
18268
|
-
|
|
18268
|
+
k(P);
|
|
18269
18269
|
},
|
|
18270
18270
|
{ immediate: !0 }
|
|
18271
18271
|
), {
|
|
18272
|
-
selectedNavigationTab:
|
|
18273
|
-
navigationTabs:
|
|
18272
|
+
selectedNavigationTab: N,
|
|
18273
|
+
navigationTabs: V,
|
|
18274
18274
|
version: w
|
|
18275
18275
|
};
|
|
18276
18276
|
});
|
|
18277
|
-
|
|
18278
|
-
|
|
18279
|
-
|
|
18280
|
-
|
|
18281
|
-
|
|
18277
|
+
var Ge = /* @__PURE__ */ ((O) => (O.generating = "GENERATING", O.completed = "COMPLETED", O.failed = "FAILED", O.canceled = "CANCELLED", O))(Ge || {});
|
|
18278
|
+
pe.extend(ze);
|
|
18279
|
+
const Ct = async (O, x) => {
|
|
18280
|
+
var ae, oe, X, se;
|
|
18281
|
+
const { businessId: w, country: V } = Y(ie()), {
|
|
18282
|
+
selectedRestaurantIds: N,
|
|
18282
18283
|
selectedWarehouseIds: Q,
|
|
18283
|
-
selectedLocationIds:
|
|
18284
|
+
selectedLocationIds: k,
|
|
18284
18285
|
dateRange: P,
|
|
18285
18286
|
compareDateRange: q,
|
|
18286
|
-
timeRange:
|
|
18287
|
+
timeRange: H
|
|
18287
18288
|
} = Ie();
|
|
18288
|
-
if (
|
|
18289
|
+
if (k.length === 0)
|
|
18289
18290
|
return null;
|
|
18290
|
-
const
|
|
18291
|
-
fetchType:
|
|
18291
|
+
const B = {
|
|
18292
|
+
fetchType: ne.Post,
|
|
18292
18293
|
url: `/${w.value}/postgres-query`,
|
|
18293
18294
|
data: Me.getQueryRequests({
|
|
18294
|
-
widget:
|
|
18295
|
+
widget: O,
|
|
18295
18296
|
dateRange: [P.startDate, P.endDate],
|
|
18296
18297
|
compareDateRange: q.startDate && q.endDate ? [q.startDate, q.endDate] : void 0,
|
|
18297
18298
|
timeRange: [
|
|
18298
|
-
|
|
18299
|
-
|
|
18299
|
+
pe().set("hour", Number((ae = H.start) == null ? void 0 : ae.hour)).set("minute", Number((oe = H.start) == null ? void 0 : oe.minute)).toISOString(),
|
|
18300
|
+
pe().set("hour", Number((X = H.end) == null ? void 0 : X.hour)).set("minute", Number((se = H.end) == null ? void 0 : se.minute)).toISOString()
|
|
18300
18301
|
],
|
|
18301
18302
|
businessIds: w.value ? [w.value] : [],
|
|
18302
|
-
restaurantIds:
|
|
18303
|
+
restaurantIds: N,
|
|
18303
18304
|
warehouseIds: Q
|
|
18304
18305
|
}),
|
|
18305
18306
|
requestConfig: {
|
|
@@ -18307,35 +18308,35 @@ const Mt = async (L, x) => {
|
|
|
18307
18308
|
signal: x
|
|
18308
18309
|
}
|
|
18309
18310
|
};
|
|
18310
|
-
let
|
|
18311
|
+
let G, W = [];
|
|
18311
18312
|
try {
|
|
18312
|
-
W = await
|
|
18313
|
+
W = await ee.fetch(B), G = Pe.formatChartData({
|
|
18313
18314
|
responses: W,
|
|
18314
|
-
widget:
|
|
18315
|
-
country:
|
|
18315
|
+
widget: O,
|
|
18316
|
+
country: V.value
|
|
18316
18317
|
});
|
|
18317
|
-
} catch (
|
|
18318
|
-
console.log(
|
|
18318
|
+
} catch (Z) {
|
|
18319
|
+
console.log(Z), B.url = B.url.replace("postgres-query", "query"), W = await ee.fetch(B), G = Pe.formatChartData({
|
|
18319
18320
|
responses: W,
|
|
18320
|
-
widget:
|
|
18321
|
-
country:
|
|
18321
|
+
widget: O,
|
|
18322
|
+
country: V.value
|
|
18322
18323
|
});
|
|
18323
18324
|
}
|
|
18324
|
-
return
|
|
18325
|
-
},
|
|
18326
|
-
const { businessId: w } =
|
|
18327
|
-
let
|
|
18328
|
-
|
|
18329
|
-
const W =
|
|
18330
|
-
fetchType:
|
|
18325
|
+
return G;
|
|
18326
|
+
}, bt = async (O, x) => {
|
|
18327
|
+
const { businessId: w } = Y(ie()), { selectedRestaurantIds: V, selectedWarehouseIds: N, dateRange: Q, timeRange: k } = Ie(), { currentReport: P, overviewReport: q } = Qe(), { selectedNavigationTab: H } = Ve();
|
|
18328
|
+
let B = P == null ? void 0 : P.id, G = (P == null ? void 0 : P.tiles) ?? [];
|
|
18329
|
+
H === "overview" && q && (B = q == null ? void 0 : q.id, G = (q == null ? void 0 : q.tiles) ?? []);
|
|
18330
|
+
const W = G.filter((re, le) => typeof x == "number" ? le === x : !0).map((re) => re.widget), ae = {
|
|
18331
|
+
fetchType: ne.Post,
|
|
18331
18332
|
url: `/${w.value}/file`,
|
|
18332
18333
|
data: {
|
|
18333
18334
|
configs: [
|
|
18334
|
-
...W.map((
|
|
18335
|
-
var
|
|
18335
|
+
...W.map((re, le) => {
|
|
18336
|
+
var _e, ue, fe, de;
|
|
18336
18337
|
return {
|
|
18337
18338
|
requests: Me.getQueryRequests({
|
|
18338
|
-
widget:
|
|
18339
|
+
widget: re,
|
|
18339
18340
|
dateRange: [Q.startDate, Q.endDate],
|
|
18340
18341
|
// TODO: export with comparable data?
|
|
18341
18342
|
// compareDateRange:
|
|
@@ -18343,106 +18344,128 @@ const Mt = async (L, x) => {
|
|
|
18343
18344
|
// ? [compareDateRange.start.toUTC().toISO(), compareDateRange.end.toUTC().toISO()]
|
|
18344
18345
|
// : undefined,
|
|
18345
18346
|
timeRange: [
|
|
18346
|
-
|
|
18347
|
-
|
|
18347
|
+
pe().set("hour", Number((_e = k.start) == null ? void 0 : _e.hour)).set("minute", Number((ue = k.start) == null ? void 0 : ue.minute)).toISOString(),
|
|
18348
|
+
pe().set("hour", Number((fe = k.end) == null ? void 0 : fe.hour)).set("minute", Number((de = k.end) == null ? void 0 : de.minute)).toISOString()
|
|
18348
18349
|
],
|
|
18349
18350
|
businessIds: w ? [w.value] : [],
|
|
18350
|
-
restaurantIds:
|
|
18351
|
-
warehouseIds:
|
|
18351
|
+
restaurantIds: V,
|
|
18352
|
+
warehouseIds: N
|
|
18352
18353
|
}),
|
|
18353
|
-
index: x ||
|
|
18354
|
-
showLabel:
|
|
18354
|
+
index: x || le,
|
|
18355
|
+
showLabel: re.config.showLabel,
|
|
18355
18356
|
drillDimension: null
|
|
18356
18357
|
};
|
|
18357
18358
|
})
|
|
18358
18359
|
],
|
|
18359
|
-
reportId:
|
|
18360
|
-
type:
|
|
18360
|
+
reportId: B,
|
|
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: oe, data: X } = await ee.rawFetch(ae), se = oe["content-disposition"].split("filename=")[1].replaceAll('"', ""), Z = window.URL.createObjectURL(new Blob([new Uint8Array(X).buffer])), te = document.createElement("a");
|
|
18368
|
+
te.href = Z, te.setAttribute("download", decodeURIComponent(se)), document.body.appendChild(te), te.click(), te.remove();
|
|
18369
|
+
}, Rt = async (O, x, w, V) => {
|
|
18370
|
+
const { businessId: N } = Y(ie()), { selectedRestaurantIds: Q, selectedWarehouseIds: k, dateRange: P, timeRange: q } = Ie(), { currentReport: H, overviewReport: B } = Qe(), { selectedNavigationTab: G } = Ve();
|
|
18371
|
+
if (O.length === 0) {
|
|
18370
18372
|
console.error("No email addresses provided.");
|
|
18371
18373
|
return;
|
|
18372
18374
|
}
|
|
18373
|
-
|
|
18374
|
-
|
|
18375
|
-
|
|
18376
|
-
|
|
18377
|
-
|
|
18378
|
-
|
|
18379
|
-
|
|
18380
|
-
|
|
18381
|
-
|
|
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
|
|
18375
|
+
let W = (H == null ? void 0 : H.id) || "", ae = (H == null ? void 0 : H.name) || "", oe = (H == null ? void 0 : H.tiles) ?? [];
|
|
18376
|
+
G === "overview" && B && (W = B == null ? void 0 : B.id, ae = B.name, oe = (B == null ? void 0 : B.tiles) ?? []);
|
|
18377
|
+
const X = oe.filter((Z, te) => !0).map((Z) => Z.widget), se = {
|
|
18378
|
+
jobId: w,
|
|
18379
|
+
businessId: N.value,
|
|
18380
|
+
status: Ge.generating,
|
|
18381
|
+
dateRange: {
|
|
18382
|
+
start: P.startDate,
|
|
18383
|
+
end: P.endDate
|
|
18405
18384
|
},
|
|
18385
|
+
reportName: ae,
|
|
18386
|
+
emails: O,
|
|
18387
|
+
configs: X.map((Z, te) => {
|
|
18388
|
+
var re, le, _e, ue;
|
|
18389
|
+
return {
|
|
18390
|
+
requests: Me.getQueryRequests({
|
|
18391
|
+
widget: Z,
|
|
18392
|
+
dateRange: [P.startDate, P.endDate],
|
|
18393
|
+
timeRange: [
|
|
18394
|
+
pe().hour(Number((re = q.start) == null ? void 0 : re.hour)).minute(Number((le = q.start) == null ? void 0 : le.minute)).toISOString(),
|
|
18395
|
+
pe().hour(Number((_e = q.end) == null ? void 0 : _e.hour)).minute(Number((ue = q.end) == null ? void 0 : ue.minute)).toISOString()
|
|
18396
|
+
],
|
|
18397
|
+
businessIds: N ? [N.value] : [],
|
|
18398
|
+
restaurantIds: Q,
|
|
18399
|
+
warehouseIds: k
|
|
18400
|
+
}),
|
|
18401
|
+
index: te,
|
|
18402
|
+
showLabel: Z.config.showLabel,
|
|
18403
|
+
drillDimension: null
|
|
18404
|
+
};
|
|
18405
|
+
}),
|
|
18406
|
+
reportId: W,
|
|
18407
|
+
type: x
|
|
18408
|
+
};
|
|
18409
|
+
await ee.fetch({
|
|
18410
|
+
fetchType: ne.Post,
|
|
18411
|
+
url: `/${N.value}/reports/email`,
|
|
18412
|
+
data: se,
|
|
18406
18413
|
requestConfig: { timeout: 1e3 * 60 * 3 }
|
|
18407
18414
|
});
|
|
18415
|
+
}, Ft = async () => {
|
|
18416
|
+
const { businessId: O } = Y(ie());
|
|
18417
|
+
return await ee.fetch({
|
|
18418
|
+
fetchType: ne.Get,
|
|
18419
|
+
url: `/${O.value}/reports/email-recipients`
|
|
18420
|
+
});
|
|
18421
|
+
}, Ot = async (O) => {
|
|
18422
|
+
const { businessId: x } = Y(ie());
|
|
18423
|
+
await ee.fetch({
|
|
18424
|
+
fetchType: ne.Post,
|
|
18425
|
+
url: `/${x.value}/reports/email-recipient/delete`,
|
|
18426
|
+
data: { email: O }
|
|
18427
|
+
});
|
|
18408
18428
|
};
|
|
18409
18429
|
let Ee;
|
|
18410
|
-
const
|
|
18411
|
-
function
|
|
18430
|
+
const $t = new Uint8Array(16);
|
|
18431
|
+
function gt() {
|
|
18412
18432
|
if (!Ee && (Ee = typeof crypto < "u" && crypto.getRandomValues && crypto.getRandomValues.bind(crypto), !Ee))
|
|
18413
18433
|
throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
|
|
18414
|
-
return Ee(
|
|
18434
|
+
return Ee($t);
|
|
18415
18435
|
}
|
|
18416
|
-
const
|
|
18417
|
-
for (let
|
|
18418
|
-
|
|
18419
|
-
function
|
|
18420
|
-
return
|
|
18436
|
+
const z = [];
|
|
18437
|
+
for (let O = 0; O < 256; ++O)
|
|
18438
|
+
z.push((O + 256).toString(16).slice(1));
|
|
18439
|
+
function mt(O, x = 0) {
|
|
18440
|
+
return z[O[x + 0]] + z[O[x + 1]] + z[O[x + 2]] + z[O[x + 3]] + "-" + z[O[x + 4]] + z[O[x + 5]] + "-" + z[O[x + 6]] + z[O[x + 7]] + "-" + z[O[x + 8]] + z[O[x + 9]] + "-" + z[O[x + 10]] + z[O[x + 11]] + z[O[x + 12]] + z[O[x + 13]] + z[O[x + 14]] + z[O[x + 15]];
|
|
18421
18441
|
}
|
|
18422
|
-
const
|
|
18423
|
-
randomUUID:
|
|
18442
|
+
const St = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), Ne = {
|
|
18443
|
+
randomUUID: St
|
|
18424
18444
|
};
|
|
18425
|
-
function
|
|
18426
|
-
if (Ne.randomUUID && !x && !
|
|
18445
|
+
function Lt(O, x, w) {
|
|
18446
|
+
if (Ne.randomUUID && !x && !O)
|
|
18427
18447
|
return Ne.randomUUID();
|
|
18428
|
-
|
|
18429
|
-
const
|
|
18430
|
-
if (
|
|
18448
|
+
O = O || {};
|
|
18449
|
+
const V = O.random || (O.rng || gt)();
|
|
18450
|
+
if (V[6] = V[6] & 15 | 64, V[8] = V[8] & 63 | 128, x) {
|
|
18431
18451
|
w = w || 0;
|
|
18432
|
-
for (let
|
|
18433
|
-
x[w +
|
|
18452
|
+
for (let N = 0; N < 16; ++N)
|
|
18453
|
+
x[w + N] = V[N];
|
|
18434
18454
|
return x;
|
|
18435
18455
|
}
|
|
18436
|
-
return
|
|
18456
|
+
return mt(V);
|
|
18437
18457
|
}
|
|
18438
18458
|
export {
|
|
18439
|
-
|
|
18440
|
-
|
|
18459
|
+
it as R,
|
|
18460
|
+
rt as W,
|
|
18441
18461
|
Qe as a,
|
|
18442
|
-
|
|
18443
|
-
|
|
18444
|
-
|
|
18445
|
-
|
|
18462
|
+
Ge as b,
|
|
18463
|
+
Ft as c,
|
|
18464
|
+
bt as d,
|
|
18465
|
+
Ot as e,
|
|
18466
|
+
Mt as g,
|
|
18467
|
+
Ct as q,
|
|
18468
|
+
Rt as s,
|
|
18446
18469
|
Ve as u,
|
|
18447
|
-
|
|
18470
|
+
Lt as v
|
|
18448
18471
|
};
|