@feedmepos/mf-report 5.23.0 → 5.23.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{App-CLg-JHbI.js → App-C32aFgsg.js} +4 -4
- package/dist/{BaseDialog.vue_vue_type_script_setup_true_lang-xeRRM67q.js → BaseDialog.vue_vue_type_script_setup_true_lang-Be3F_dkn.js} +884 -839
- package/dist/{DateRangeSelect.vue_vue_type_script_setup_true_lang-Cfqi9IdQ.js → DateRangeSelect.vue_vue_type_script_setup_true_lang-CzQJizvA.js} +1 -1
- package/dist/{Default.vue_vue_type_script_setup_true_lang-CA6a15LW.js → Default.vue_vue_type_script_setup_true_lang-C9IqBUOd.js} +1 -1
- package/dist/{FilterSelector.vue_vue_type_script_setup_true_lang-C1paTZUf.js → FilterSelector.vue_vue_type_script_setup_true_lang-D7BX1XcV.js} +221 -221
- package/dist/{InsightView-DljEmdnJ.js → InsightView-CxcCstZy.js} +4 -4
- package/dist/{Integration-BhHZLsxL.js → Integration-NrMS3Qs-.js} +3 -3
- package/dist/{Integrations-Dzawkc1P.js → Integrations-T5mzrxXG.js} +2 -2
- package/dist/{Layout-1y8qFyo1.js → Layout-55UnYR1s.js} +1 -1
- package/dist/{MenuTab.vue_vue_type_script_setup_true_lang-D9jfKPNk.js → MenuTab.vue_vue_type_script_setup_true_lang-CkQzSOQA.js} +5 -5
- package/dist/{NavigationTab.vue_vue_type_script_setup_true_lang-DE2KZ0HC.js → NavigationTab.vue_vue_type_script_setup_true_lang-CoaKAOy7.js} +3 -3
- package/dist/{OverviewView-BY0ZL6ch.js → OverviewView-D3i7AsSv.js} +4 -4
- package/dist/{Report-rJSJxgxS.js → Report-CbjCd1m5.js} +3 -3
- package/dist/{ReportEditor-D-Eh2pzd.js → ReportEditor-BG_yxbCF.js} +4 -4
- package/dist/{ReportView-DMXwoj61.js → ReportView-XCCf38Y_.js} +6 -6
- package/dist/{Setting-CHYCvIj2.js → Setting-DNUst5RZ.js} +3 -3
- package/dist/{TileEditor-BAxMjm-s.js → TileEditor-rJk6aZ-7.js} +5 -5
- package/dist/{TransitionFade-D19LRrDq.js → TransitionFade-DpsEJRIl.js} +4 -4
- package/dist/{app-D2I8ZDs1.js → app-VSV4uxyh.js} +11 -11
- package/dist/app.js +1 -1
- package/dist/assets/{formatChartData.worker-DR8QpYfd.js → formatChartData.worker-CVp--g2e.js} +8 -8
- package/dist/assets/{processTableData.worker-V2pxR4IU.js → processTableData.worker-CklDKC06.js} +8 -8
- package/dist/{useRestaurantPermission-DAyNjHLa.js → useRestaurantPermission-D2YJtmx-.js} +1 -1
- package/package.json +1 -1
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
import { u as $0, F as y0, x as g0, y as
|
|
2
|
-
import { storeToRefs as c0, defineStore as
|
|
3
|
-
import { ref as D0, computed as H0, watch as
|
|
4
|
-
import { useSnackbar as
|
|
5
|
-
import { u as
|
|
6
|
-
import { useCoreStore as
|
|
7
|
-
import { c as
|
|
8
|
-
function
|
|
9
|
-
throw new Error('Could not dynamically require "' +
|
|
1
|
+
import { u as $0, F as y0, x as g0, y as Me, a as q0, b as Re, w as xe, g as Le, d as E0, c as ce, r as re } from "./app-VSV4uxyh.js";
|
|
2
|
+
import { storeToRefs as c0, defineStore as z0 } from "pinia";
|
|
3
|
+
import { ref as D0, computed as H0, watch as ne, defineComponent as fe, mergeModels as G0, useModel as te, resolveComponent as O0, createElementBlock as K0, openBlock as k0, createVNode as C0, withCtx as B0, createElementVNode as L0, createCommentVNode as Oe, Fragment as ue, renderList as we, createBlock as pe, createTextVNode as $e, withDirectives as ve, toDisplayString as v0, unref as A0, vShow as Be, renderSlot as Pe } from "vue";
|
|
4
|
+
import { useSnackbar as ye } from "@feedmepos/ui-library";
|
|
5
|
+
import { u as Je } from "./vue-i18n-DVWuTfed.js";
|
|
6
|
+
import { useCoreStore as He, detectLocale as P0 } from "@feedmepos/mf-common";
|
|
7
|
+
import { c as Ne, a as ke } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-CzQJizvA.js";
|
|
8
|
+
function me(A) {
|
|
9
|
+
throw new Error('Could not dynamically require "' + A + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
|
|
10
10
|
}
|
|
11
|
-
var
|
|
12
|
-
(function(
|
|
11
|
+
var ge = {};
|
|
12
|
+
(function(A) {
|
|
13
13
|
var I = typeof globalThis < "u" ? globalThis : window, O = Object.create(I);
|
|
14
14
|
O.scheduleImmediate = typeof setImmediate < "u" ? function(J) {
|
|
15
15
|
setImmediate(J);
|
|
16
16
|
} : function(J) {
|
|
17
17
|
setTimeout(J, 0);
|
|
18
|
-
}, O.exports =
|
|
18
|
+
}, O.exports = A, typeof process < "u" && (O.process = process), typeof __dirname < "u" && (O.__dirname = __dirname), typeof __filename < "u" && (O.__filename = __filename), typeof Buffer < "u" && (O.Buffer = Buffer);
|
|
19
19
|
var P = !I.window;
|
|
20
20
|
try {
|
|
21
21
|
typeof WorkerGlobalScope < "u" && I instanceof WorkerGlobalScope && (P = !1), typeof process < "u" && process.versions && process.versions.hasOwnProperty("electron") && process.versions.hasOwnProperty("node") && (P = !0);
|
|
22
22
|
} catch {
|
|
23
23
|
}
|
|
24
24
|
if (P) {
|
|
25
|
-
var B = (typeof __webpack_require__ < "u" ? __non_webpack_require__ :
|
|
25
|
+
var B = (typeof __webpack_require__ < "u" ? __non_webpack_require__ : me)("url");
|
|
26
26
|
Object.defineProperty(O, "location", {
|
|
27
27
|
value: {
|
|
28
28
|
get href() {
|
|
@@ -116,7 +116,7 @@ var me = {};
|
|
|
116
116
|
function G(r, e) {
|
|
117
117
|
q(e.prototype, r.prototype), r.prototype.constructor = r;
|
|
118
118
|
}
|
|
119
|
-
function
|
|
119
|
+
function Z(r, e, n, i) {
|
|
120
120
|
var a = r;
|
|
121
121
|
r[e] = a, r[n] = function() {
|
|
122
122
|
r[n] = function() {
|
|
@@ -182,7 +182,7 @@ var me = {};
|
|
|
182
182
|
function z(r, e, n, i, a, s, o, l, d, D) {
|
|
183
183
|
return typeof l == "number" && (l += Q), { co: r, iS: e, iI: n, rC: i, dV: a, cs: s, fs: o, fT: l, aI: d || 0, nDA: D };
|
|
184
184
|
}
|
|
185
|
-
function
|
|
185
|
+
function r0(r, e, n, i, a, s, o, l) {
|
|
186
186
|
var d = z(r, !0, !1, n, i, a, s, o, l, !1), D = p0(d);
|
|
187
187
|
r[e] = D;
|
|
188
188
|
}
|
|
@@ -207,29 +207,29 @@ var me = {};
|
|
|
207
207
|
}
|
|
208
208
|
H(r, e);
|
|
209
209
|
}
|
|
210
|
-
function
|
|
210
|
+
function n0(r) {
|
|
211
211
|
var e = b.types, n = e.length;
|
|
212
212
|
return e.push.apply(e, r), n;
|
|
213
213
|
}
|
|
214
214
|
function _0(r, e) {
|
|
215
215
|
return H(e, r), r;
|
|
216
216
|
}
|
|
217
|
-
var
|
|
217
|
+
var K = function() {
|
|
218
218
|
var r = function(n, i, a, s, o) {
|
|
219
219
|
return function(l, d, D, f) {
|
|
220
220
|
return e0(l, d, n, i, a, s, [D], f, o, !1);
|
|
221
221
|
};
|
|
222
222
|
}, e = function(n, i, a, s) {
|
|
223
223
|
return function(o, l, d, D) {
|
|
224
|
-
return
|
|
224
|
+
return r0(o, l, n, i, a, [d], D, s);
|
|
225
225
|
};
|
|
226
226
|
};
|
|
227
|
-
return { inherit: X, inheritMany: Y, mixin: t0, mixinHard: G, installStaticTearOff:
|
|
227
|
+
return { inherit: X, inheritMany: Y, mixin: t0, mixinHard: G, installStaticTearOff: r0, installInstanceTearOff: e0, _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: s0, lazy: V, lazyFinal: u0, lazyOld: Z, updateHolder: _0, convertToFastObject: a0, updateTypes: n0, setOrUpdateInterceptorsByTag: i0, setOrUpdateLeafTags: W };
|
|
228
228
|
}(), t = {
|
|
229
229
|
JS_CONST: function() {
|
|
230
230
|
},
|
|
231
231
|
createSentinel() {
|
|
232
|
-
return
|
|
232
|
+
return h;
|
|
233
233
|
},
|
|
234
234
|
CastIterable_CastIterable(r, e, n) {
|
|
235
235
|
return e._eval$1("EfficientLengthIterable<0>")._is(r) ? new t._EfficientLengthCastIterable(r, e._eval$1("@<0>")._bind$1(n)._eval$1("_EfficientLengthCastIterable<1,2>")) : new t.CastIterable(r, e._eval$1("@<0>")._bind$1(n)._eval$1("CastIterable<1,2>"));
|
|
@@ -271,8 +271,8 @@ var me = {};
|
|
|
271
271
|
}
|
|
272
272
|
},
|
|
273
273
|
Sort__dualPivotQuicksort(r, e, n, i) {
|
|
274
|
-
var a, s, o, l, d, D, f, p, y, m, g = _.JSInt_methods._tdivFast$1(n - e + 1, 6),
|
|
275
|
-
if (i.call$2(R, L) > 0 && (a = L, L = R, R = a), i.call$2(v, k) > 0 && (a = k, k = v, v = a), i.call$2(R, w) > 0 && (a = w, w = R, R = a), i.call$2(L, w) > 0 && (a = w, w = L, L = a), i.call$2(R, v) > 0 && (a = v, v = R, R = a), i.call$2(w, v) > 0 && (a = v, v = w, w = a), i.call$2(L, k) > 0 && (a = k, k = L, L = a), i.call$2(L, w) > 0 && (a = w, w = L, L = a), i.call$2(v, k) > 0 && (a = k, k = v, v = a), x.$indexSet(r,
|
|
274
|
+
var a, s, o, l, d, D, f, p, y, m, g = _.JSInt_methods._tdivFast$1(n - e + 1, 6), S = e + g, E = n - g, C = _.JSInt_methods._tdivFast$1(e + n, 2), F = C - g, M = C + g, x = u.getInterceptor$asx(r), R = x.$index(r, S), L = x.$index(r, F), w = x.$index(r, C), v = x.$index(r, M), k = x.$index(r, E);
|
|
275
|
+
if (i.call$2(R, L) > 0 && (a = L, L = R, R = a), i.call$2(v, k) > 0 && (a = k, k = v, v = a), i.call$2(R, w) > 0 && (a = w, w = R, R = a), i.call$2(L, w) > 0 && (a = w, w = L, L = a), i.call$2(R, v) > 0 && (a = v, v = R, R = a), i.call$2(w, v) > 0 && (a = v, v = w, w = a), i.call$2(L, k) > 0 && (a = k, k = L, L = a), i.call$2(L, w) > 0 && (a = w, w = L, L = a), i.call$2(v, k) > 0 && (a = k, k = v, v = a), x.$indexSet(r, S, R), x.$indexSet(r, C, w), x.$indexSet(r, E, k), x.$indexSet(r, F, x.$index(r, e)), x.$indexSet(r, M, x.$index(r, n)), s = e + 1, o = n - 1, u.$eq$(i.call$2(L, v), 0)) {
|
|
276
276
|
for (l = s; l <= o; ++l)
|
|
277
277
|
if (d = x.$index(r, l), D = i.call$2(d, L), D !== 0)
|
|
278
278
|
if (D < 0)
|
|
@@ -307,7 +307,7 @@ var me = {};
|
|
|
307
307
|
y = !1;
|
|
308
308
|
}
|
|
309
309
|
if (m = s - 1, x.$indexSet(r, e, x.$index(r, m)), x.$indexSet(r, m, L), m = o + 1, x.$indexSet(r, n, x.$index(r, m)), x.$indexSet(r, m, v), t.Sort__doSort(r, e, s - 2, i), t.Sort__doSort(r, o + 2, n, i), !y)
|
|
310
|
-
if (s <
|
|
310
|
+
if (s < S && o > E) {
|
|
311
311
|
for (; u.$eq$(i.call$2(x.$index(r, s), L), 0); )
|
|
312
312
|
++s;
|
|
313
313
|
for (; u.$eq$(i.call$2(x.$index(r, o), v), 0); )
|
|
@@ -438,8 +438,8 @@ var me = {};
|
|
|
438
438
|
return e = u.toString$0$(r), e;
|
|
439
439
|
},
|
|
440
440
|
Primitives_objectHashCode(r) {
|
|
441
|
-
var e, n =
|
|
442
|
-
return n == null && (n =
|
|
441
|
+
var e, n = h.Primitives__identityHashCodeProperty;
|
|
442
|
+
return n == null && (n = h.Primitives__identityHashCodeProperty = Symbol("identityHashCode")), e = r[n], e == null && (e = Math.random() * 1073741823 | 0, r[n] = e), e;
|
|
443
443
|
},
|
|
444
444
|
Primitives_parseInt(r, e) {
|
|
445
445
|
var n, i = /^\s*[+-]?((0x[a-f0-9]+)|(\d+)|([a-z0-9]+))\s*$/i.exec(r);
|
|
@@ -575,34 +575,34 @@ var me = {};
|
|
|
575
575
|
return t.Primitives__generalApplyFunction(r, e, n);
|
|
576
576
|
},
|
|
577
577
|
Primitives__generalApplyFunction(r, e, n) {
|
|
578
|
-
var i, a, s, o, l, d, D, f, p, y, m, g,
|
|
579
|
-
if (
|
|
580
|
-
return t.Primitives_functionNoSuchMethod(r,
|
|
578
|
+
var i, a, s, o, l, d, D, f, p, y, m, g, S = Array.isArray(e) ? e : t.List_List$of(e, !0, c.dynamic), E = S.length, C = r.$requiredArgCount;
|
|
579
|
+
if (E < C)
|
|
580
|
+
return t.Primitives_functionNoSuchMethod(r, S, n);
|
|
581
581
|
if (i = r.$defaultValues, a = i == null, s = a ? null : i(), o = u.getInterceptor$(r), l = o["call*"], typeof l == "string" && (l = o[l]), a)
|
|
582
|
-
return n != null && n.__js_helper$_length !== 0 ? t.Primitives_functionNoSuchMethod(r,
|
|
582
|
+
return n != null && n.__js_helper$_length !== 0 ? t.Primitives_functionNoSuchMethod(r, S, n) : E === C ? l.apply(r, S) : t.Primitives_functionNoSuchMethod(r, S, n);
|
|
583
583
|
if (Array.isArray(s))
|
|
584
|
-
return n != null && n.__js_helper$_length !== 0 ? t.Primitives_functionNoSuchMethod(r,
|
|
585
|
-
if (
|
|
586
|
-
return t.Primitives_functionNoSuchMethod(r,
|
|
587
|
-
if (
|
|
584
|
+
return n != null && n.__js_helper$_length !== 0 ? t.Primitives_functionNoSuchMethod(r, S, n) : (d = C + s.length, E > d ? t.Primitives_functionNoSuchMethod(r, S, null) : (E < d && (D = s.slice(E - C), S === e && (S = t.List_List$of(S, !0, c.dynamic)), _.JSArray_methods.addAll$1(S, D)), l.apply(r, S)));
|
|
585
|
+
if (E > C)
|
|
586
|
+
return t.Primitives_functionNoSuchMethod(r, S, n);
|
|
587
|
+
if (S === e && (S = t.List_List$of(S, !0, c.dynamic)), f = Object.keys(s), n == null)
|
|
588
588
|
for (a = f.length, p = 0; p < f.length; f.length === a || (0, t.throwConcurrentModificationError)(f), ++p) {
|
|
589
589
|
if (y = s[f[p]], _.C__Required === y)
|
|
590
|
-
return t.Primitives_functionNoSuchMethod(r,
|
|
591
|
-
_.JSArray_methods.add$1(
|
|
590
|
+
return t.Primitives_functionNoSuchMethod(r, S, n);
|
|
591
|
+
_.JSArray_methods.add$1(S, y);
|
|
592
592
|
}
|
|
593
593
|
else {
|
|
594
594
|
for (a = f.length, m = 0, p = 0; p < f.length; f.length === a || (0, t.throwConcurrentModificationError)(f), ++p)
|
|
595
595
|
if (g = f[p], n.containsKey$1(g))
|
|
596
|
-
++m, _.JSArray_methods.add$1(
|
|
596
|
+
++m, _.JSArray_methods.add$1(S, n.$index(0, g));
|
|
597
597
|
else {
|
|
598
598
|
if (y = s[g], _.C__Required === y)
|
|
599
|
-
return t.Primitives_functionNoSuchMethod(r,
|
|
600
|
-
_.JSArray_methods.add$1(
|
|
599
|
+
return t.Primitives_functionNoSuchMethod(r, S, n);
|
|
600
|
+
_.JSArray_methods.add$1(S, y);
|
|
601
601
|
}
|
|
602
602
|
if (m !== n.__js_helper$_length)
|
|
603
|
-
return t.Primitives_functionNoSuchMethod(r,
|
|
603
|
+
return t.Primitives_functionNoSuchMethod(r, S, n);
|
|
604
604
|
}
|
|
605
|
-
return l.apply(r,
|
|
605
|
+
return l.apply(r, S);
|
|
606
606
|
},
|
|
607
607
|
diagnoseIndexError(r, e) {
|
|
608
608
|
var n, i = "index";
|
|
@@ -661,24 +661,24 @@ var me = {};
|
|
|
661
661
|
return c.Error._is(e) && e.$thrownJsError == null && (e.$thrownJsError = r), e;
|
|
662
662
|
},
|
|
663
663
|
_unwrapNonDartException(r) {
|
|
664
|
-
var e, n, i, a, s, o, l, d, D, f, p, y, m, g,
|
|
664
|
+
var e, n, i, a, s, o, l, d, D, f, p, y, m, g, S = null;
|
|
665
665
|
if (!("message" in r))
|
|
666
666
|
return r;
|
|
667
667
|
if (e = r.message, "number" in r && typeof r.number == "number" && (n = r.number, i = n & 65535, (_.JSInt_methods._shrOtherPositive$1(n, 16) & 8191) === 10))
|
|
668
668
|
switch (i) {
|
|
669
669
|
case 438:
|
|
670
|
-
return t.saveStackTrace(r, t.JsNoSuchMethodError$(t.S(e) + " (Error " + i + ")",
|
|
670
|
+
return t.saveStackTrace(r, t.JsNoSuchMethodError$(t.S(e) + " (Error " + i + ")", S));
|
|
671
671
|
case 445:
|
|
672
672
|
case 5007:
|
|
673
|
-
return a = t.S(e), t.saveStackTrace(r, new t.NullError(a + " (Error " + i + ")",
|
|
673
|
+
return a = t.S(e), t.saveStackTrace(r, new t.NullError(a + " (Error " + i + ")", S));
|
|
674
674
|
}
|
|
675
|
-
return r instanceof TypeError ? (s =
|
|
675
|
+
return r instanceof TypeError ? (s = h.$get$TypeErrorDecoder_noSuchMethodPattern(), o = h.$get$TypeErrorDecoder_notClosurePattern(), l = h.$get$TypeErrorDecoder_nullCallPattern(), d = h.$get$TypeErrorDecoder_nullLiteralCallPattern(), D = h.$get$TypeErrorDecoder_undefinedCallPattern(), f = h.$get$TypeErrorDecoder_undefinedLiteralCallPattern(), p = h.$get$TypeErrorDecoder_nullPropertyPattern(), h.$get$TypeErrorDecoder_nullLiteralPropertyPattern(), y = h.$get$TypeErrorDecoder_undefinedPropertyPattern(), m = h.$get$TypeErrorDecoder_undefinedLiteralPropertyPattern(), g = s.matchTypeError$1(e), g != null ? t.saveStackTrace(r, t.JsNoSuchMethodError$(e, g)) : (g = o.matchTypeError$1(e), g != null ? (g.method = "call", t.saveStackTrace(r, t.JsNoSuchMethodError$(e, g))) : (g = l.matchTypeError$1(e), g == null ? (g = d.matchTypeError$1(e), g == null ? (g = D.matchTypeError$1(e), g == null ? (g = f.matchTypeError$1(e), g == null ? (g = p.matchTypeError$1(e), g == null ? (g = d.matchTypeError$1(e), g == null ? (g = y.matchTypeError$1(e), g == null ? (g = m.matchTypeError$1(e), a = g != null) : a = !0) : a = !0) : a = !0) : a = !0) : a = !0) : a = !0) : a = !0, a ? t.saveStackTrace(r, new t.NullError(e, g == null ? S : g.method)) : t.saveStackTrace(r, new t.UnknownJsTypeError(typeof e == "string" ? e : ""))))) : r instanceof RangeError ? typeof e == "string" && e.indexOf("call stack") !== -1 ? new t.StackOverflowError() : (e = function(E) {
|
|
676
676
|
try {
|
|
677
|
-
return String(
|
|
677
|
+
return String(E);
|
|
678
678
|
} catch {
|
|
679
679
|
}
|
|
680
680
|
return null;
|
|
681
|
-
}(r), t.saveStackTrace(r, new t.ArgumentError(!1,
|
|
681
|
+
}(r), t.saveStackTrace(r, new t.ArgumentError(!1, S, S, typeof e == "string" ? e.replace(/^RangeError:\s*/, "") : e))) : typeof InternalError == "function" && r instanceof InternalError && typeof e == "string" && e === "too much recursion" ? new t.StackOverflowError() : r;
|
|
682
682
|
},
|
|
683
683
|
objectHashCode(r) {
|
|
684
684
|
return r == null || typeof r != "object" ? u.get$hashCode$(r) : t.Primitives_objectHashCode(r);
|
|
@@ -696,13 +696,13 @@ var me = {};
|
|
|
696
696
|
return e;
|
|
697
697
|
},
|
|
698
698
|
Closure_fromTearOff(r) {
|
|
699
|
-
var e, n, i, a, s, o, l, d, D, f, p = r.co, y = r.iS, m = r.iI, g = r.nDA,
|
|
699
|
+
var e, n, i, a, s, o, l, d, D, f, p = r.co, y = r.iS, m = r.iI, g = r.nDA, S = r.aI, E = r.fs, C = r.cs, F = E[0], M = C[0], x = p[F], R = r.fT;
|
|
700
700
|
for (R.toString, e = Object.create(y ? new t.StaticClosure().constructor.prototype : new t.BoundClosure(null, null).constructor.prototype), e.$initialize = e.constructor, y ? n = function() {
|
|
701
701
|
this.$initialize();
|
|
702
702
|
} : n = function(w, v) {
|
|
703
703
|
this.$initialize(w, v);
|
|
704
|
-
}, e.constructor = n, n.prototype = e, e.$_name = F, e.$_target = x, i = !y, i ? a = t.Closure_forwardCallTo(F, x, m, g) : (e.$static_name = F, a = x), e.$signature = t.Closure__computeSignatureFunctionNewRti(R, y, m), e[M] = a, s = a, o = 1; o <
|
|
705
|
-
l =
|
|
704
|
+
}, e.constructor = n, n.prototype = e, e.$_name = F, e.$_target = x, i = !y, i ? a = t.Closure_forwardCallTo(F, x, m, g) : (e.$static_name = F, a = x), e.$signature = t.Closure__computeSignatureFunctionNewRti(R, y, m), e[M] = a, s = a, o = 1; o < E.length; ++o)
|
|
705
|
+
l = E[o], typeof l == "string" ? (d = p[l], D = l, l = d) : D = "", f = C[o], f != null && (i && (l = t.Closure_forwardCallTo(D, l, m, g)), e[f] = l), o === S && (s = l);
|
|
706
706
|
return e["call*"] = s, e.$requiredArgCount = r.rC, e.$defaultValues = r.dV, n;
|
|
707
707
|
},
|
|
708
708
|
Closure__computeSignatureFunctionNewRti(r, e, n) {
|
|
@@ -822,7 +822,7 @@ var me = {};
|
|
|
822
822
|
},
|
|
823
823
|
Closure_forwardInterceptedCallTo(r, e, n) {
|
|
824
824
|
var i, a;
|
|
825
|
-
return
|
|
825
|
+
return h.BoundClosure__interceptorFieldNameCache == null && (h.BoundClosure__interceptorFieldNameCache = t.BoundClosure__computeFieldNamed("interceptor")), h.BoundClosure__receiverFieldNameCache == null && (h.BoundClosure__receiverFieldNameCache = t.BoundClosure__computeFieldNamed("receiver")), i = e.length, a = t.Closure_cspForwardInterceptedCall(i, n, r, e), a;
|
|
826
826
|
},
|
|
827
827
|
closureFromTearOff(r) {
|
|
828
828
|
return t.Closure_fromTearOff(r);
|
|
@@ -853,24 +853,24 @@ var me = {};
|
|
|
853
853
|
Object.defineProperty(r, e, { value: n, enumerable: !1, writable: !0, configurable: !0 });
|
|
854
854
|
},
|
|
855
855
|
lookupAndCacheInterceptor(r) {
|
|
856
|
-
var e, n, i, a, s, o =
|
|
856
|
+
var e, n, i, a, s, o = h.getTagFunction.call$1(r), l = h.dispatchRecordsForInstanceTags[o];
|
|
857
857
|
if (l != null)
|
|
858
858
|
return Object.defineProperty(r, b.dispatchPropertyName, { value: l, enumerable: !1, writable: !0, configurable: !0 }), l.i;
|
|
859
|
-
if (e =
|
|
859
|
+
if (e = h.interceptorsForUncacheableTags[o], e != null)
|
|
860
860
|
return e;
|
|
861
|
-
if (n = b.interceptorsByTag[o], n == null && (i =
|
|
862
|
-
if (l =
|
|
861
|
+
if (n = b.interceptorsByTag[o], n == null && (i = h.alternateTagFunction.call$2(r, o), i != null)) {
|
|
862
|
+
if (l = h.dispatchRecordsForInstanceTags[i], l != null)
|
|
863
863
|
return Object.defineProperty(r, b.dispatchPropertyName, { value: l, enumerable: !1, writable: !0, configurable: !0 }), l.i;
|
|
864
|
-
if (e =
|
|
864
|
+
if (e = h.interceptorsForUncacheableTags[i], e != null)
|
|
865
865
|
return e;
|
|
866
866
|
n = b.interceptorsByTag[i], o = i;
|
|
867
867
|
}
|
|
868
868
|
if (n == null)
|
|
869
869
|
return null;
|
|
870
870
|
if (e = n.prototype, a = o[0], a === "!")
|
|
871
|
-
return l = t.makeLeafDispatchRecord(e),
|
|
871
|
+
return l = t.makeLeafDispatchRecord(e), h.dispatchRecordsForInstanceTags[o] = l, Object.defineProperty(r, b.dispatchPropertyName, { value: l, enumerable: !1, writable: !0, configurable: !0 }), l.i;
|
|
872
872
|
if (a === "~")
|
|
873
|
-
return
|
|
873
|
+
return h.interceptorsForUncacheableTags[o] = e, e;
|
|
874
874
|
if (a === "-")
|
|
875
875
|
return s = t.makeLeafDispatchRecord(e), Object.defineProperty(Object.getPrototypeOf(r), b.dispatchPropertyName, { value: s, enumerable: !1, writable: !0, configurable: !0 }), s.i;
|
|
876
876
|
if (a === "+")
|
|
@@ -891,14 +891,14 @@ var me = {};
|
|
|
891
891
|
return b.leafTags[r] === !0 ? t.makeLeafDispatchRecord(i) : u.makeDispatchRecord(i, n, null, null);
|
|
892
892
|
},
|
|
893
893
|
initNativeDispatch() {
|
|
894
|
-
|
|
894
|
+
h.initNativeDispatchFlag !== !0 && (h.initNativeDispatchFlag = !0, t.initNativeDispatchContinue());
|
|
895
895
|
},
|
|
896
896
|
initNativeDispatchContinue() {
|
|
897
897
|
var r, e, n, i, a, s, o, l;
|
|
898
|
-
if (
|
|
898
|
+
if (h.dispatchRecordsForInstanceTags = /* @__PURE__ */ Object.create(null), h.interceptorsForUncacheableTags = /* @__PURE__ */ Object.create(null), t.initHooks(), r = b.interceptorsByTag, e = Object.getOwnPropertyNames(r), typeof window < "u")
|
|
899
899
|
for (n = function() {
|
|
900
900
|
}, i = 0; i < e.length; ++i)
|
|
901
|
-
a = e[i], s =
|
|
901
|
+
a = e[i], s = h.prototypeForTagFunction.call$1(a), s != null && (o = t.makeDefaultDispatchRecord(a, r[a], s), o != null && (Object.defineProperty(s, b.dispatchPropertyName, { value: o, enumerable: !1, writable: !0, configurable: !0 }), n.prototype = s));
|
|
902
902
|
for (i = 0; i < e.length; ++i)
|
|
903
903
|
a = e[i], /^[A-Za-z_]/.test(a) && (l = r[a], r["!" + a] = l, r["~" + a] = l, r["-" + a] = l, r["+" + a] = l, r["*" + a] = l);
|
|
904
904
|
},
|
|
@@ -907,7 +907,7 @@ var me = {};
|
|
|
907
907
|
if (o = t.applyHooksTransformer(_.C_JS_CONST1, t.applyHooksTransformer(_.C_JS_CONST2, t.applyHooksTransformer(_.C_JS_CONST3, t.applyHooksTransformer(_.C_JS_CONST3, t.applyHooksTransformer(_.C_JS_CONST4, t.applyHooksTransformer(_.C_JS_CONST5, t.applyHooksTransformer(_.C_JS_CONST6(_.C_JS_CONST), o))))))), typeof dartNativeDispatchHooksTransformer < "u" && (r = dartNativeDispatchHooksTransformer, typeof r == "function" && (r = [r]), r.constructor == Array))
|
|
908
908
|
for (e = 0; e < r.length; ++e)
|
|
909
909
|
n = r[e], typeof n == "function" && (o = n(o) || o);
|
|
910
|
-
i = o.getTag, a = o.getUnknownTag, s = o.prototypeForTag,
|
|
910
|
+
i = o.getTag, a = o.getUnknownTag, s = o.prototypeForTag, h.getTagFunction = new t.initHooks_closure(i), h.alternateTagFunction = new t.initHooks_closure0(a), h.prototypeForTagFunction = new t.initHooks_closure1(s);
|
|
911
911
|
},
|
|
912
912
|
applyHooksTransformer(r, e) {
|
|
913
913
|
return r(e) || e;
|
|
@@ -1148,7 +1148,7 @@ var me = {};
|
|
|
1148
1148
|
return t._Universe_eval(b.typeUniverse, r, !1);
|
|
1149
1149
|
},
|
|
1150
1150
|
_substitute(r, e, n, i) {
|
|
1151
|
-
var a, s, o, l, d, D, f, p, y, m, g,
|
|
1151
|
+
var a, s, o, l, d, D, f, p, y, m, g, S, E, C, F, M, x = e._kind;
|
|
1152
1152
|
switch (x) {
|
|
1153
1153
|
case 5:
|
|
1154
1154
|
case 1:
|
|
@@ -1167,9 +1167,9 @@ var me = {};
|
|
|
1167
1167
|
case 10:
|
|
1168
1168
|
return d = e._primary, D = t._substitute(r, d, n, i), f = e._rest, p = t._substituteArray(r, f, n, i), D === d && p === f ? e : t._Universe__lookupBindingRti(r, D, p);
|
|
1169
1169
|
case 12:
|
|
1170
|
-
return y = e._primary, m = t._substitute(r, y, n, i), g = e._rest,
|
|
1170
|
+
return y = e._primary, m = t._substitute(r, y, n, i), g = e._rest, S = t._substituteFunctionParameters(r, g, n, i), m === y && S === g ? e : t._Universe__lookupFunctionRti(r, m, S);
|
|
1171
1171
|
case 13:
|
|
1172
|
-
return
|
|
1172
|
+
return E = e._rest, i += E.length, C = t._substituteArray(r, E, n, i), d = e._primary, D = t._substitute(r, d, n, i), C === E && D === d ? e : t._Universe__lookupGenericFunctionRti(r, D, C, !0);
|
|
1173
1173
|
case 14:
|
|
1174
1174
|
return F = e._primary, F < i || (M = n[F - i], M == null) ? e : M;
|
|
1175
1175
|
default:
|
|
@@ -1431,7 +1431,7 @@ var me = {};
|
|
|
1431
1431
|
return s + "})";
|
|
1432
1432
|
},
|
|
1433
1433
|
_functionRtiToString(r, e, n) {
|
|
1434
|
-
var i, a, s, o, l, d, D, f, p, y, m, g,
|
|
1434
|
+
var i, a, s, o, l, d, D, f, p, y, m, g, S, E, C, F, M, x, R, L, w, v = ", ";
|
|
1435
1435
|
if (n != null) {
|
|
1436
1436
|
for (i = n.length, e == null ? (e = t._setArrayType([], c.JSArray_String), a = null) : a = e.length, s = e.length, o = i; o > 0; --o)
|
|
1437
1437
|
e.push("T" + (s + o));
|
|
@@ -1440,8 +1440,8 @@ var me = {};
|
|
|
1440
1440
|
D += ">";
|
|
1441
1441
|
} else
|
|
1442
1442
|
D = "", a = null;
|
|
1443
|
-
for (l = r._primary, g = r._rest,
|
|
1444
|
-
L += w + t._rtiToString(
|
|
1443
|
+
for (l = r._primary, g = r._rest, S = g._requiredPositional, E = S.length, C = g._optionalPositional, F = C.length, M = g._named, x = M.length, R = t._rtiToString(l, e), L = "", w = "", o = 0; o < E; ++o, w = v)
|
|
1444
|
+
L += w + t._rtiToString(S[o], e);
|
|
1445
1445
|
if (F > 0) {
|
|
1446
1446
|
for (L += w + "[", w = "", o = 0; o < F; ++o, w = v)
|
|
1447
1447
|
L += w + t._rtiToString(C[o], e);
|
|
@@ -1572,8 +1572,8 @@ var me = {};
|
|
|
1572
1572
|
return o ?? (i = new t.Rti(null, null), i._kind = 11, i._primary = e, i._rest = n, i._canonicalRecipe = s, a = t._Universe__installTypeTests(r, i), r.eC.set(s, a), a);
|
|
1573
1573
|
},
|
|
1574
1574
|
_Universe__lookupFunctionRti(r, e, n) {
|
|
1575
|
-
var i, a, s, o, l, d = e._canonicalRecipe, D = n._requiredPositional, f = D.length, p = n._optionalPositional, y = p.length, m = n._named, g = m.length,
|
|
1576
|
-
return y > 0 && (i = f > 0 ? "," : "",
|
|
1575
|
+
var i, a, s, o, l, d = e._canonicalRecipe, D = n._requiredPositional, f = D.length, p = n._optionalPositional, y = p.length, m = n._named, g = m.length, S = "(" + t._Universe__canonicalRecipeJoin(D);
|
|
1576
|
+
return y > 0 && (i = f > 0 ? "," : "", S += i + "[" + t._Universe__canonicalRecipeJoin(p) + "]"), g > 0 && (i = f > 0 ? "," : "", S += i + "{" + t._Universe__canonicalRecipeJoinNamed(m) + "}"), a = d + (S + ")"), s = r.eC.get(a), s ?? (o = new t.Rti(null, null), o._kind = 12, o._primary = e, o._rest = n, o._canonicalRecipe = a, l = t._Universe__installTypeTests(r, o), r.eC.set(a, l), l);
|
|
1577
1577
|
},
|
|
1578
1578
|
_Universe__lookupGenericFunctionRti(r, e, n, i) {
|
|
1579
1579
|
var a, s = e._canonicalRecipe + ("<" + t._Universe__canonicalRecipeJoin(n) + ">"), o = r.eC.get(s);
|
|
@@ -1810,17 +1810,17 @@ var me = {};
|
|
|
1810
1810
|
return d === 12 ? e === c.JavaScriptFunction ? !0 : s ? !1 : t._isFunctionSubtype(r, e, n, i, a) : o === 9 ? d !== 9 ? !1 : t._isInterfaceSubtype(r, e, n, i, a) : (s = o === 11, s && i === c.Record ? !0 : s && d === 11 ? t._isRecordSubtype(r, e, n, i, a) : !1);
|
|
1811
1811
|
},
|
|
1812
1812
|
_isFunctionSubtype(r, e, n, i, a) {
|
|
1813
|
-
var s, o, l, d, D, f, p, y, m, g,
|
|
1814
|
-
if (!t._isSubtype(r, e._primary, n, i._primary, a) || (s = e._rest, o = i._rest, l = s._requiredPositional, d = o._requiredPositional, D = l.length, f = d.length, D > f) || (p = f - D, y = s._optionalPositional, m = o._optionalPositional, g = y.length,
|
|
1813
|
+
var s, o, l, d, D, f, p, y, m, g, S, E, C, F, M, x, R, L, w, v, k, j;
|
|
1814
|
+
if (!t._isSubtype(r, e._primary, n, i._primary, a) || (s = e._rest, o = i._rest, l = s._requiredPositional, d = o._requiredPositional, D = l.length, f = d.length, D > f) || (p = f - D, y = s._optionalPositional, m = o._optionalPositional, g = y.length, S = m.length, D + g < f + S))
|
|
1815
1815
|
return !1;
|
|
1816
|
-
for (
|
|
1817
|
-
if (C = l[
|
|
1816
|
+
for (E = 0; E < D; ++E)
|
|
1817
|
+
if (C = l[E], !t._isSubtype(r, d[E], a, C, n))
|
|
1818
1818
|
return !1;
|
|
1819
|
-
for (
|
|
1820
|
-
if (C = y[
|
|
1819
|
+
for (E = 0; E < p; ++E)
|
|
1820
|
+
if (C = y[E], !t._isSubtype(r, d[D + E], a, C, n))
|
|
1821
1821
|
return !1;
|
|
1822
|
-
for (
|
|
1823
|
-
if (C = y[p +
|
|
1822
|
+
for (E = 0; E < S; ++E)
|
|
1823
|
+
if (C = y[p + E], !t._isSubtype(r, m[E], a, C, n))
|
|
1824
1824
|
return !1;
|
|
1825
1825
|
for (F = s._named, M = o._named, x = F.length, R = M.length, L = 0, w = 0; w < R; w += 3)
|
|
1826
1826
|
for (v = M[w]; ; ) {
|
|
@@ -1982,11 +1982,11 @@ var me = {};
|
|
|
1982
1982
|
var i, a;
|
|
1983
1983
|
if (t._isToStringVisiting(r))
|
|
1984
1984
|
return e === "(" && n === ")" ? "(...)" : e + "..." + n;
|
|
1985
|
-
i = t._setArrayType([], c.JSArray_String),
|
|
1985
|
+
i = t._setArrayType([], c.JSArray_String), h._toStringVisiting.push(r);
|
|
1986
1986
|
try {
|
|
1987
1987
|
t._iterablePartsToStrings(r, i);
|
|
1988
1988
|
} finally {
|
|
1989
|
-
|
|
1989
|
+
h._toStringVisiting.pop();
|
|
1990
1990
|
}
|
|
1991
1991
|
return a = t.StringBuffer__writeAll(e, i, ", ") + n, a.charCodeAt(0) == 0, a;
|
|
1992
1992
|
},
|
|
@@ -1994,18 +1994,18 @@ var me = {};
|
|
|
1994
1994
|
var i, a;
|
|
1995
1995
|
if (t._isToStringVisiting(r))
|
|
1996
1996
|
return e + "..." + n;
|
|
1997
|
-
i = new t.StringBuffer(e),
|
|
1997
|
+
i = new t.StringBuffer(e), h._toStringVisiting.push(r);
|
|
1998
1998
|
try {
|
|
1999
1999
|
a = i, a._contents = t.StringBuffer__writeAll(a._contents, r, ", ");
|
|
2000
2000
|
} finally {
|
|
2001
|
-
|
|
2001
|
+
h._toStringVisiting.pop();
|
|
2002
2002
|
}
|
|
2003
2003
|
return i._contents += n, a = i._contents, a.charCodeAt(0) == 0, a;
|
|
2004
2004
|
},
|
|
2005
2005
|
_isToStringVisiting(r) {
|
|
2006
2006
|
var e, n;
|
|
2007
|
-
for (e =
|
|
2008
|
-
if (r ===
|
|
2007
|
+
for (e = h._toStringVisiting.length, n = 0; n < e; ++n)
|
|
2008
|
+
if (r === h._toStringVisiting[n])
|
|
2009
2009
|
return !0;
|
|
2010
2010
|
return !1;
|
|
2011
2011
|
},
|
|
@@ -2055,9 +2055,9 @@ var me = {};
|
|
|
2055
2055
|
return "{...}";
|
|
2056
2056
|
e = new t.StringBuffer("");
|
|
2057
2057
|
try {
|
|
2058
|
-
|
|
2058
|
+
h._toStringVisiting.push(r), e._contents += "{", n.first = !0, r.forEach$1(0, new t.MapBase_mapToString_closure(n, e)), e._contents += "}";
|
|
2059
2059
|
} finally {
|
|
2060
|
-
|
|
2060
|
+
h._toStringVisiting.pop();
|
|
2061
2061
|
}
|
|
2062
2062
|
return n = e._contents, n.charCodeAt(0) == 0, n;
|
|
2063
2063
|
},
|
|
@@ -2296,11 +2296,11 @@ var me = {};
|
|
|
2296
2296
|
return new t.DateTime(Date.now(), !1);
|
|
2297
2297
|
},
|
|
2298
2298
|
DateTime_parse(r) {
|
|
2299
|
-
var e, n, i, a, s, o, l, d, D, f, p, y, m, g,
|
|
2299
|
+
var e, n, i, a, s, o, l, d, D, f, p, y, m, g, S, E, C = h.$get$DateTime__parseFormat().firstMatch$1(r);
|
|
2300
2300
|
if (C != null) {
|
|
2301
|
-
if (e = new t.DateTime_parse_parseIntOrZero(), n = C._match, i = n[1], i.toString, a = t.int_parse(i), i = n[2], i.toString, s = t.int_parse(i), i = n[3], i.toString, o = t.int_parse(i), l = e.call$1(n[4]), d = e.call$1(n[5]), D = e.call$1(n[6]), f = new t.DateTime_parse_parseMilliAndMicroseconds().call$1(n[7]), p = _.JSInt_methods._tdivFast$1(f, 1e3), n[8] != null ? (y = n[9], y != null && (m = y === "-" ? -1 : 1, i = n[10], i.toString, g = t.int_parse(i), d -= m * (e.call$1(n[11]) + 60 * g)),
|
|
2301
|
+
if (e = new t.DateTime_parse_parseIntOrZero(), n = C._match, i = n[1], i.toString, a = t.int_parse(i), i = n[2], i.toString, s = t.int_parse(i), i = n[3], i.toString, o = t.int_parse(i), l = e.call$1(n[4]), d = e.call$1(n[5]), D = e.call$1(n[6]), f = new t.DateTime_parse_parseMilliAndMicroseconds().call$1(n[7]), p = _.JSInt_methods._tdivFast$1(f, 1e3), n[8] != null ? (y = n[9], y != null && (m = y === "-" ? -1 : 1, i = n[10], i.toString, g = t.int_parse(i), d -= m * (e.call$1(n[11]) + 60 * g)), S = !0) : S = !1, E = t.Primitives_valueFromDecomposedDate(a, s, o, l, d, D, p + _.JSNumber_methods.round$0(f % 1e3 / 1e3), S), E == null)
|
|
2302
2302
|
throw t.wrapException(t.FormatException$("Time out of range", r, null));
|
|
2303
|
-
return t.DateTime$_withValue(
|
|
2303
|
+
return t.DateTime$_withValue(E, S);
|
|
2304
2304
|
} else
|
|
2305
2305
|
throw t.wrapException(t.FormatException$("Invalid date format", r, null));
|
|
2306
2306
|
},
|
|
@@ -2397,7 +2397,7 @@ var me = {};
|
|
|
2397
2397
|
return r <= 0 ? new t.EmptyIterable(n._eval$1("EmptyIterable<0>")) : new t._GeneratorIterable(r, e, n._eval$1("_GeneratorIterable<0>"));
|
|
2398
2398
|
},
|
|
2399
2399
|
Object_hashAll(r) {
|
|
2400
|
-
var e, n, i =
|
|
2400
|
+
var e, n, i = h.$get$_hashSeed();
|
|
2401
2401
|
for (e = r.length, n = 0; n < e; ++n)
|
|
2402
2402
|
i = i + _.JSInt_methods.get$hashCode(r[n]) & 536870911, i = i + ((i & 524287) << 10) & 536870911, i ^= i >>> 6;
|
|
2403
2403
|
return i = i + ((i & 67108863) << 3) & 536870911, i ^= i >>> 11, i + ((i & 16383) << 15) & 536870911;
|
|
@@ -2506,9 +2506,9 @@ var me = {};
|
|
|
2506
2506
|
var o = this;
|
|
2507
2507
|
o.digest = e, o._extended = n, o._hash_sink$_sink = i, o._currentChunk = a, o._lengthInBytes = 0, o._pendingData = s, o._isClosed = !1;
|
|
2508
2508
|
},
|
|
2509
|
-
DateSymbols: function(e, n, i, a, s, o, l, d, D, f, p, y, m, g,
|
|
2510
|
-
var
|
|
2511
|
-
|
|
2509
|
+
DateSymbols: function(e, n, i, a, s, o, l, d, D, f, p, y, m, g, S) {
|
|
2510
|
+
var E = this;
|
|
2511
|
+
E.NAME = e, E.ERAS = n, E.ERANAMES = i, E.NARROWMONTHS = a, E.STANDALONENARROWMONTHS = s, E.MONTHS = o, E.STANDALONEMONTHS = l, E.SHORTMONTHS = d, E.STANDALONESHORTMONTHS = D, E.WEEKDAYS = f, E.STANDALONEWEEKDAYS = p, E.SHORTWEEKDAYS = y, E.STANDALONESHORTWEEKDAYS = m, E.STANDALONENARROWWEEKDAYS = g, E.AMPMS = S;
|
|
2512
2512
|
},
|
|
2513
2513
|
DateBuilder: function(e, n) {
|
|
2514
2514
|
var i = this;
|
|
@@ -2519,7 +2519,7 @@ var me = {};
|
|
|
2519
2519
|
return e.toString, e = new t.DateFormat(new t.DateFormat_dateTimeConstructor_closure(), e), e.addPattern$1(r), e;
|
|
2520
2520
|
},
|
|
2521
2521
|
DateFormat_localeExists(r) {
|
|
2522
|
-
var e =
|
|
2522
|
+
var e = h.$get$_dateTimeSymbols();
|
|
2523
2523
|
return e.toString, t.canonicalizedLocale(r) !== "en_US" && e._throwException$0(), !0;
|
|
2524
2524
|
},
|
|
2525
2525
|
DateFormat__fieldConstructors() {
|
|
@@ -2527,7 +2527,7 @@ var me = {};
|
|
|
2527
2527
|
},
|
|
2528
2528
|
_DateFormatQuotedField__patchQuotes(r) {
|
|
2529
2529
|
var e, n;
|
|
2530
|
-
return r === "''" ? "'" : (e = _.JSString_methods.substring$2(r, 1, r.length - 1), n =
|
|
2530
|
+
return r === "''" ? "'" : (e = _.JSString_methods.substring$2(r, 1, r.length - 1), n = h.$get$_DateFormatQuotedField__twoEscapedQuotes(), t.stringReplaceAllUnchecked(e, n, "'"));
|
|
2531
2531
|
},
|
|
2532
2532
|
DateFormat: function(e, n) {
|
|
2533
2533
|
var i = this;
|
|
@@ -2578,7 +2578,7 @@ var me = {};
|
|
|
2578
2578
|
verifiedLocale(r, e, n) {
|
|
2579
2579
|
var i, a, s;
|
|
2580
2580
|
if (r == null)
|
|
2581
|
-
return t.defaultLocale() == null && (
|
|
2581
|
+
return t.defaultLocale() == null && (h._defaultLocale = "en_US"), i = t.defaultLocale(), i.toString, t.verifiedLocale(i, e, n);
|
|
2582
2582
|
if (e.call$1(r))
|
|
2583
2583
|
return r;
|
|
2584
2584
|
for (i = [t.canonicalizedLocale(r), t.shortLocale(r), "fallback"], a = 0; a < 3; ++a)
|
|
@@ -2607,10 +2607,10 @@ var me = {};
|
|
|
2607
2607
|
},
|
|
2608
2608
|
Jiffy$(r) {
|
|
2609
2609
|
var e, n, i, a = new t.Jiffy();
|
|
2610
|
-
return r == null ? e = new t.DateTime(Date.now(), !1) : c.DateTime._is(r) ? e = r : r instanceof t.Jiffy ? e = r.get$dateTime() : c.Map_dynamic_dynamic._is(r) ? e = a._parseMap$1(r) : c.List_dynamic._is(r) ? e = a._parseList$1(r) : typeof r == "string" ? e = a._parseString$2(r, null) : (t.throwExpression(t.JiffyException$("Jiffy only accepts String, List, Map, DateTime or Jiffy itself as parameters").get$cause()), e = null), a.__Jiffy__dateTime_A = e, n = t.defaultLocale(), n == null && (n =
|
|
2610
|
+
return r == null ? e = new t.DateTime(Date.now(), !1) : c.DateTime._is(r) ? e = r : r instanceof t.Jiffy ? e = r.get$dateTime() : c.Map_dynamic_dynamic._is(r) ? e = a._parseMap$1(r) : c.List_dynamic._is(r) ? e = a._parseList$1(r) : typeof r == "string" ? e = a._parseString$2(r, null) : (t.throwExpression(t.JiffyException$("Jiffy only accepts String, List, Map, DateTime or Jiffy itself as parameters").get$cause()), e = null), a.__Jiffy__dateTime_A = e, n = t.defaultLocale(), n == null && (n = h._defaultLocale = "en_US"), i = h.$get$_availableLocales().$index(0, n.toLowerCase()), i == null && (i = new t.EnLocale()), h.Jiffy____defaultLocale.__late_helper$_value = i, h.Jiffy____defaultLocale._readField$0(), a;
|
|
2611
2611
|
},
|
|
2612
2612
|
Jiffy: function() {
|
|
2613
|
-
this.__Jiffy__dateTime_A =
|
|
2613
|
+
this.__Jiffy__dateTime_A = h;
|
|
2614
2614
|
},
|
|
2615
2615
|
Jiffy__parseMap_closure: function() {
|
|
2616
2616
|
},
|
|
@@ -2810,7 +2810,7 @@ var me = {};
|
|
|
2810
2810
|
`;
|
|
2811
2811
|
},
|
|
2812
2812
|
Materialize_getMergeSql(r, e, n, i, a, s, o) {
|
|
2813
|
-
var l, d, D, f, p, y, m, g,
|
|
2813
|
+
var l, d, D, f, p, y, m, g, S, E, C, F, M = "') AND TIMESTAMP('", x = "and TIMESTAMP_TRUNC(target_table.createdAt, DAY, 'UTC') in UNNEST(@updateTimestamps)", R = "and target_table.restaurantId in UNNEST(@restaurantIds)", L = r.source;
|
|
2814
2814
|
return L.type === _.SOURCE_TYPE_2 ? (l = L.uniqueKey, l.toString, d = u.getInterceptor$asx(l), D = d.get$length(l) === 1 ? "CAST(" + t.S(d.get$first(l)) + " AS STRING)" : "CONCAT(" + d.map$1$1(l, new t.Materialize_getMergeSql_closure(), c.String).join$1(0, ", '_', ") + ")", f = L.timeColumn, f.toString, p = `WITH docs as
|
|
2815
2815
|
(
|
|
2816
2816
|
select * from (SELECT TO_JSON_STRING(src) AS data, ` + D + " AS id, '' AS db_name, " + f + " AS publish_time, false AS deleted, ROW_NUMBER() OVER (PARTITION BY " + d.join$1(l, ",") + " ORDER BY " + f + " DESC) as rn \n FROM `" + r.get$fullRawTableName() + "` AS src\n WHERE " + f + " between TIMESTAMP('" + i + M + n + `')) WHERE rn=1
|
|
@@ -2825,13 +2825,13 @@ var me = {};
|
|
|
2825
2825
|
SELECT
|
|
2826
2826
|
` + m + `
|
|
2827
2827
|
FROM raw_table ` + L + `
|
|
2828
|
-
`, L = f.where$1(d, new t.Materialize_getMergeSql_closure2()),
|
|
2829
|
-
`), u.get$isNotEmpty$asx(e) ? (f = r.get$fullMaterializedTableName(), l = l.get$isNotEmpty(o) ? x : "",
|
|
2828
|
+
`, L = f.where$1(d, new t.Materialize_getMergeSql_closure2()), S = new t.MappedIterable(L, new t.Materialize_getMergeSql_closure3(), L.$ti._eval$1("MappedIterable<1,String>")).join$1(0, ","), L = r.get$fullMaterializedTableName(), l = u.getInterceptor$asx(o), m = l.get$isNotEmpty(o) ? x : "", E = u.getInterceptor$asx(a), C = E.get$isNotEmpty(a) ? R : "", d = f.where$1(d, new t.Materialize_getMergeSql_closure4()), d = new t.MappedIterable(d, new t.Materialize_getMergeSql_closure5(), d.$ti._eval$1("MappedIterable<1,String>")).join$1(0, `,
|
|
2829
|
+
`), u.get$isNotEmpty$asx(e) ? (f = r.get$fullMaterializedTableName(), l = l.get$isNotEmpty(o) ? x : "", E = E.get$isNotEmpty(a) ? R : "", F = "DELETE FROM `" + f + "` target_table WHERE NOT EXISTS (\n select id,docId from (" + g + `) source_table
|
|
2830
2830
|
WHERE source_table.id = target_table.id
|
|
2831
2831
|
and source_table.docId = target_table.docId
|
|
2832
2832
|
)
|
|
2833
2833
|
` + l + `
|
|
2834
|
-
` +
|
|
2834
|
+
` + E + `
|
|
2835
2835
|
and target_table.docId in UNNEST(@docIds)
|
|
2836
2836
|
`) : F = "", "MERGE INTO `" + L + "` AS target_table USING (\n" + g + `
|
|
2837
2837
|
) AS source_table ON
|
|
@@ -2845,24 +2845,24 @@ and target_table.docId in UNNEST(@docIds)
|
|
|
2845
2845
|
then update set
|
|
2846
2846
|
` + d + `
|
|
2847
2847
|
when not matched by target
|
|
2848
|
-
then insert (` +
|
|
2848
|
+
then insert (` + S + ") values (" + S + `);
|
|
2849
2849
|
|
|
2850
2850
|
` + F + `
|
|
2851
2851
|
`;
|
|
2852
2852
|
},
|
|
2853
2853
|
Materialize_getMaterializeInfoSql(r, e, n, i, a) {
|
|
2854
|
-
var s, o, l, d, D, f, p, y, m, g,
|
|
2855
|
-
return F.type === _.SOURCE_TYPE_2 ? (s = F.uniqueKey, s.toString, o = u.getInterceptor$asx(s), l = o.get$length(s) === 1 ? "CAST(" + t.S(o.get$first(s)) + " AS STRING)" : "CONCAT(" + o.map$1$1(s, new t.Materialize_getMaterializeInfoSql_closure(), c.String).join$1(0, ", '_', ") + ")", d = F.timeColumn, d.toString, D = o.join$1(s, ","), f = F.dateColumns, f == null && (f = t._setArrayType([], c.JSArray_String)), p = d + ' between TIMESTAMP("' + i +
|
|
2854
|
+
var s, o, l, d, D, f, p, y, m, g, S = '") AND TIMESTAMP("', E = "CAST(JSON_VALUE(", C = ", '$._restaurantId') AS STRING) AS restaurantId,", F = r.source, M = F.field, x = M != null;
|
|
2855
|
+
return F.type === _.SOURCE_TYPE_2 ? (s = F.uniqueKey, s.toString, o = u.getInterceptor$asx(s), l = o.get$length(s) === 1 ? "CAST(" + t.S(o.get$first(s)) + " AS STRING)" : "CONCAT(" + o.map$1$1(s, new t.Materialize_getMaterializeInfoSql_closure(), c.String).join$1(0, ", '_', ") + ")", d = F.timeColumn, d.toString, D = o.join$1(s, ","), f = F.dateColumns, f == null && (f = t._setArrayType([], c.JSArray_String)), p = d + ' between TIMESTAMP("' + i + S + e + '")', F = u.getInterceptor$asx(f), y = F.get$isNotEmpty(f) ? "SELECT * REPLACE(" + F.map$1$1(f, new t.Materialize_getMaterializeInfoSql_closure0(a), c.String).join$1(0, ", ") + ") FROM `" + r.get$fullRawTableName() + "` WHERE " + p : "SELECT * FROM `" + r.get$fullRawTableName() + "` WHERE " + p, m = `docs AS (
|
|
2856
2856
|
SELECT * FROM (
|
|
2857
2857
|
SELECT TO_JSON_STRING(src) AS data, ` + l + " AS id, '' AS db_name, " + d + ` AS publish_time, false AS deleted,
|
|
2858
2858
|
ROW_NUMBER() OVER (PARTITION BY ` + D + " ORDER BY " + d + ` DESC) as rn
|
|
2859
2859
|
FROM (` + y + `) AS src
|
|
2860
2860
|
) WHERE rn=1
|
|
2861
|
-
)`) : m = "docs AS (\n SELECT data, db_name, publish_time, deleted, id FROM `" + r.get$fullRawTableName() + '`\n WHERE publish_time between TIMESTAMP("' + i +
|
|
2861
|
+
)`) : m = "docs AS (\n SELECT data, db_name, publish_time, deleted, id FROM `" + r.get$fullRawTableName() + '`\n WHERE publish_time between TIMESTAMP("' + i + S + e + `")
|
|
2862
2862
|
)`, F = r.getTransformedTableQuery$1$getParentDocs(!0), s = x ? `child_table AS (
|
|
2863
2863
|
` + r.getTransformedTableQuery$1$getParentDocs(!1) + `
|
|
2864
2864
|
),
|
|
2865
|
-
` : "", o = r.name._name, d = n ?
|
|
2865
|
+
` : "", o = r.name._name, d = n ? E + o + C : "", x ? (g = n ? E + o + C : "", M = ` UNION ALL
|
|
2866
2866
|
SELECT
|
|
2867
2867
|
CAST(JSON_VALUE(` + o + `, '$._docId') AS STRING) AS docId,
|
|
2868
2868
|
` + g + `
|
|
@@ -2978,16 +2978,16 @@ select
|
|
|
2978
2978
|
Index$(r, e, n) {
|
|
2979
2979
|
return new t.Index(r, e, n);
|
|
2980
2980
|
},
|
|
2981
|
-
Schema$(r, e, n, i, a, s, o, l, d, D, f, p, y, m, g,
|
|
2982
|
-
return new t.Schema(F,
|
|
2981
|
+
Schema$(r, e, n, i, a, s, o, l, d, D, f, p, y, m, g, S, E, C, F, M, x, R, L) {
|
|
2982
|
+
return new t.Schema(F, S, s, g, L, R, y, m, f, p, d, x, a, C, E, M, i, l, o, D, e, r, n);
|
|
2983
2983
|
},
|
|
2984
|
-
Schema_Schema$build(r, e, n, i, a, s, o, l, d, D, f, p, y, m, g,
|
|
2984
|
+
Schema_Schema$build(r, e, n, i, a, s, o, l, d, D, f, p, y, m, g, S, E, C, F, M, x, R, L) {
|
|
2985
2985
|
var w = s.call$1(F), v = g.call$1(F);
|
|
2986
|
-
return t.Schema$(r, e, n, i, a, w, o, l, d ?? 300, D, f, p, y, m, v,
|
|
2986
|
+
return t.Schema$(r, e, n, i, a, w, o, l, d ?? 300, D, f, p, y, m, v, S, E, C, F, M, x, R, L);
|
|
2987
2987
|
},
|
|
2988
2988
|
Schema_fromJson(r) {
|
|
2989
|
-
var e, n, i, a, s, o, l, d, D, f, p, y, m, g,
|
|
2990
|
-
return S0 = S0 == null ? F : u.cast$1$0$ax(S0, c.String), e = v.$index(0, "timeColumn"), v = o0._as(v.$index(0, "dateColumns")), v = v == null ? F : u.cast$1$0$ax(v, c.String), n = r.$index(0, "rawTableName"), i = r.$index(0, "dynamicRawTable"), a = r.$index(0, "materializedTableName"), s = r.$index(0, "materializedPostgresqlTableName"), o = r.$index(0, "isJoinOnly"), l = r.$index(0, "isMaterializeOnly"), d = r.$index(0, "isContinuousUpdate"), D = r.$index(0, "interval"), f = r.$index(0, "partition"), p = r.$index(0, "clusters"), p == null && (p = t._setArrayType([], c.JSArray_String)), y = r.$index(0, "indexes"), y = y == null ? F : u.map$1$ax(y, new t.Schema_fromJson_closure1()), y == null && (y = t._setArrayType([], c.JSArray_Index)), m = r.$index(0, "filters"), m = m == null ? F : u.map$1$ax(m, new t.Schema_fromJson_closure2()).toList$0(0), m == null && (m = t._setArrayType([], c.JSArray_QueryRequestFilter)), g = r.$index(0, "isGlobal"), g == null && (g = !1),
|
|
2989
|
+
var e, n, i, a, s, o, l, d, D, f, p, y, m, g, S, E, C, F = null, M = u.map$1$ax(r.$index(0, "fields"), new t.Schema_fromJson_closure()).toList$0(0), x = r.$index(0, "label"), R = t.EnumByName_byName(_.List_ahf, r.$index(0, "name")), L = u.map$1$ax(r.$index(0, "joins"), new t.Schema_fromJson_closure0()).toList$0(0), w = t.TopLevelFilters_fromJson(r.$index(0, "topLevelFilters")), v = r.$index(0, "source"), k = t.EnumByName_byName(_.List_ytA, v.$index(0, "type")), j = v.$index(0, "table"), f0 = v.$index(0, "field"), h0 = v.$index(0, "dataset"), o0 = c.nullable_List_dynamic, S0 = o0._as(v.$index(0, "uniqueKey"));
|
|
2990
|
+
return S0 = S0 == null ? F : u.cast$1$0$ax(S0, c.String), e = v.$index(0, "timeColumn"), v = o0._as(v.$index(0, "dateColumns")), v = v == null ? F : u.cast$1$0$ax(v, c.String), n = r.$index(0, "rawTableName"), i = r.$index(0, "dynamicRawTable"), a = r.$index(0, "materializedTableName"), s = r.$index(0, "materializedPostgresqlTableName"), o = r.$index(0, "isJoinOnly"), l = r.$index(0, "isMaterializeOnly"), d = r.$index(0, "isContinuousUpdate"), D = r.$index(0, "interval"), f = r.$index(0, "partition"), p = r.$index(0, "clusters"), p == null && (p = t._setArrayType([], c.JSArray_String)), y = r.$index(0, "indexes"), y = y == null ? F : u.map$1$ax(y, new t.Schema_fromJson_closure1()), y == null && (y = t._setArrayType([], c.JSArray_Index)), m = r.$index(0, "filters"), m = m == null ? F : u.map$1$ax(m, new t.Schema_fromJson_closure2()).toList$0(0), m == null && (m = t._setArrayType([], c.JSArray_QueryRequestFilter)), g = r.$index(0, "isGlobal"), g == null && (g = !1), S = r.$index(0, "isAiHidden"), S == null && (S = !1), o0 = o0._as(r.$index(0, "aiKeywords")), o0 = o0 == null ? F : u.cast$1$0$ax(o0, c.String), o0 == null && (o0 = t._setArrayType([], c.JSArray_String)), E = r.$index(0, "aiCategory"), C = r.$index(0, "aiPriority"), C == null && (C = 3), t.Schema$(E, o0, C, p, i, M, m, y, D, S, d, g, o, l, L, x, s, a, R, f, n, new t.Source(k, j, f0, h0, S0, e, v), w);
|
|
2991
2991
|
},
|
|
2992
2992
|
Field_Field$numeric(r, e, n, i, a, s, o, l, d) {
|
|
2993
2993
|
return new t._NumericField(s, o, _.DATA_TYPE_3, e, a, l, n, d, i, !1, r);
|
|
@@ -3002,16 +3002,16 @@ select
|
|
|
3002
3002
|
return new t._BoolField(s, o, _.DATA_TYPE_2, e, a, l, n, d, i, !1, r);
|
|
3003
3003
|
},
|
|
3004
3004
|
Field_fromJson(r) {
|
|
3005
|
-
var e, n, i, a, s, o, l, d, D = "name", f = "schemaName", p = "pointTo", y = "formula", m = "label", g = "hidden",
|
|
3005
|
+
var e, n, i, a, s, o, l, d, D = "name", f = "schemaName", p = "pointTo", y = "formula", m = "label", g = "hidden", S = "isAiHidden", E = null, C = "description";
|
|
3006
3006
|
switch (t.EnumByName_byName(_.List_k6a, r.$index(0, "type")).index) {
|
|
3007
3007
|
case 0:
|
|
3008
|
-
return e = r.$index(0, D), n = t.EnumByName_byName(_.List_ahf, r.$index(0, f)), i = r.$index(0, p), a = r.$index(0, y), s = r.$index(0, m), o = r.$index(0, g), l = r.$index(0,
|
|
3008
|
+
return e = r.$index(0, D), n = t.EnumByName_byName(_.List_ahf, r.$index(0, f)), i = r.$index(0, p), a = r.$index(0, y), s = r.$index(0, m), o = r.$index(0, g), l = r.$index(0, S), d = r.$index(0, "isCompareIgnoreSpaces"), d == null && (d = !1), t.Field_Field$string(r.$index(0, C), a, o, l, d, s, e, i, E, n);
|
|
3009
3009
|
case 2:
|
|
3010
|
-
return e = r.$index(0, D), n = t.EnumByName_byName(_.List_ahf, r.$index(0, f)), i = r.$index(0, p), a = r.$index(0, y), s = r.$index(0, m), o = r.$index(0, g), l = r.$index(0,
|
|
3010
|
+
return e = r.$index(0, D), n = t.EnumByName_byName(_.List_ahf, r.$index(0, f)), i = r.$index(0, p), a = r.$index(0, y), s = r.$index(0, m), o = r.$index(0, g), l = r.$index(0, S), t.Field_Field$bool(r.$index(0, C), a, o, l, s, e, i, E, n);
|
|
3011
3011
|
case 3:
|
|
3012
|
-
return e = r.$index(0, D), n = t.EnumByName_byName(_.List_ahf, r.$index(0, f)), i = r.$index(0, p), a = r.$index(0, y), s = r.$index(0, m), o = r.$index(0, g), l = r.$index(0,
|
|
3012
|
+
return e = r.$index(0, D), n = t.EnumByName_byName(_.List_ahf, r.$index(0, f)), i = r.$index(0, p), a = r.$index(0, y), s = r.$index(0, m), o = r.$index(0, g), l = r.$index(0, S), t.Field_Field$numeric(r.$index(0, C), a, o, l, s, e, i, E, n);
|
|
3013
3013
|
case 1:
|
|
3014
|
-
return e = r.$index(0, D), n = t.EnumByName_byName(_.List_ahf, r.$index(0, f)), i = r.$index(0, p), a = r.$index(0, y), s = r.$index(0, m), o = r.$index(0, g), l = r.$index(0,
|
|
3014
|
+
return e = r.$index(0, D), n = t.EnumByName_byName(_.List_ahf, r.$index(0, f)), i = r.$index(0, p), a = r.$index(0, y), s = r.$index(0, m), o = r.$index(0, g), l = r.$index(0, S), t.Field_Field$timestamp(r.$index(0, C), a, o, l, s, e, i, E, n);
|
|
3015
3015
|
}
|
|
3016
3016
|
},
|
|
3017
3017
|
Join_fromJson(r) {
|
|
@@ -3110,9 +3110,9 @@ select
|
|
|
3110
3110
|
Index: function(e, n, i) {
|
|
3111
3111
|
this.column = e, this.customName = n, this.indexMethod = i;
|
|
3112
3112
|
},
|
|
3113
|
-
Schema: function(e, n, i, a, s, o, l, d, D, f, p, y, m, g,
|
|
3113
|
+
Schema: function(e, n, i, a, s, o, l, d, D, f, p, y, m, g, S, E, C, F, M, x, R, L, w) {
|
|
3114
3114
|
var v = this;
|
|
3115
|
-
v.name = e, v.label = n, v.fields = i, v.joins = a, v.topLevelFilters = s, v.source = o, v.isJoinOnly = l, v.isMaterializeOnly = d, v.isContinuousUpdate = D, v.isGlobal = f, v.interval = p, v.rawTableName = y, v.dynamicRawTable = m, v.materializedTableName = g, v.materializedPostgresqlTableName =
|
|
3115
|
+
v.name = e, v.label = n, v.fields = i, v.joins = a, v.topLevelFilters = s, v.source = o, v.isJoinOnly = l, v.isMaterializeOnly = d, v.isContinuousUpdate = D, v.isGlobal = f, v.interval = p, v.rawTableName = y, v.dynamicRawTable = m, v.materializedTableName = g, v.materializedPostgresqlTableName = S, v.partition = E, v.clusters = C, v.indexes = F, v._materializeTablePrefix = v._rawTablePrefix = "", v.filters = M, v.isAiHidden = x, v.aiKeywords = R, v.aiCategory = L, v.aiPriority = w;
|
|
3116
3116
|
},
|
|
3117
3117
|
Schema_visualizationSchema_closure: function() {
|
|
3118
3118
|
},
|
|
@@ -3310,9 +3310,9 @@ select
|
|
|
3310
3310
|
var s = this;
|
|
3311
3311
|
s.field = e, s.id = n, s.alias = i, s.formula = a;
|
|
3312
3312
|
},
|
|
3313
|
-
QueryRequest: function(e, n, i, a, s, o, l, d, D, f, p, y, m, g,
|
|
3314
|
-
var
|
|
3315
|
-
|
|
3313
|
+
QueryRequest: function(e, n, i, a, s, o, l, d, D, f, p, y, m, g, S) {
|
|
3314
|
+
var E = this;
|
|
3315
|
+
E.schemaName = e, E.dimensions = n, E.metrics = i, E.joins = a, E.timeDimension = s, E.restaurantIds = o, E.warehouseIds = l, E.businessIds = d, E.filters = D, E.sorts = f, E.limit = p, E.timezone = y, E.rollup = m, E.rollupPosition = g, E.blendConditions = S;
|
|
3316
3316
|
},
|
|
3317
3317
|
QueryRequest_closure: function() {
|
|
3318
3318
|
},
|
|
@@ -4020,9 +4020,9 @@ select
|
|
|
4020
4020
|
DataSourceRowColumnConfig_columnIds_closure1: function(e) {
|
|
4021
4021
|
this.$this = e;
|
|
4022
4022
|
},
|
|
4023
|
-
TableDatasourceConfigModel: function(e, n, i, a, s, o, l, d, D, f, p, y, m, g,
|
|
4023
|
+
TableDatasourceConfigModel: function(e, n, i, a, s, o, l, d, D, f, p, y, m, g, S, E, C, F, M, x) {
|
|
4024
4024
|
var R = this;
|
|
4025
|
-
R.columnsWidth = e, R.isDrillable = n, R.showGrandTotal = i, R.rollup = a, R.rollupPosition = s, R.rowsPerPage = o, R.isBlend = l, R._table_datasource_config_model$_drillDimension = d, R._rowIds = D, R._columnIds = f, R._table_datasource_config_model$_joinDatasources = p, R.schemaNames = y, R.dimensions = m, R.metrics = g, R.filters =
|
|
4025
|
+
R.columnsWidth = e, R.isDrillable = n, R.showGrandTotal = i, R.rollup = a, R.rollupPosition = s, R.rowsPerPage = o, R.isBlend = l, R._table_datasource_config_model$_drillDimension = d, R._rowIds = D, R._columnIds = f, R._table_datasource_config_model$_joinDatasources = p, R.schemaNames = y, R.dimensions = m, R.metrics = g, R.filters = S, R.sorts = E, R.limit = C, R.isComparable = F, R.periodType = M, R.timezone = x;
|
|
4026
4026
|
},
|
|
4027
4027
|
TableDatasourceConfigModel_drilledDimensions_closure: function(e) {
|
|
4028
4028
|
this.$this = e;
|
|
@@ -4084,9 +4084,9 @@ select
|
|
|
4084
4084
|
var e, n, i, a, s, o = "breakdownDimension", l = t.BaseDatasourceConfigModel_BaseDatasourceConfigModel$fromJson(r), d = r.$index(0, o) != null ? t.QueryRequestDimension_fromJson(r.$index(0, o)) : null, D = r.$index(0, "isTransposed");
|
|
4085
4085
|
return D == null && (D = !1), e = r.$index(0, "showLabel"), e == null && (e = !1), n = r.$index(0, "drillDimension"), i = r.$index(0, "isBlend"), i == null && (i = !1), a = r.$index(0, "joinDatasources"), a == null && (a = []), a = t.List_List$from(a, c.Map_String_dynamic), s = t._arrayInstanceType(a)._eval$1("MappedListIterable<1,JoinDatasourceConfig>"), s = t.List_List$of(new t.MappedListIterable(a, new t.BaseXYDatasourceConfigModel_BaseXYDatasourceConfigModel$fromJson_closure(l), s), !0, s._eval$1("ListIterable.E")), new t.BaseXYDatasourceConfigModel(e, n, d, D, i, r.$index(0, "isCumulative"), s, l.schemaNames, l.dimensions, l.metrics, l.filters, l.sorts, l.limit, l.isComparable, l.periodType, l.timezone);
|
|
4086
4086
|
},
|
|
4087
|
-
BaseXYDatasourceConfigModel: function(e, n, i, a, s, o, l, d, D, f, p, y, m, g,
|
|
4087
|
+
BaseXYDatasourceConfigModel: function(e, n, i, a, s, o, l, d, D, f, p, y, m, g, S, E) {
|
|
4088
4088
|
var C = this;
|
|
4089
|
-
C.showLabel = e, C._xy_datasource_config_model$_drillDimension = n, C.breakdownDimension = i, C.isTransposed = a, C.isBlend = s, C.isCumulative = o, C._joinDatasources = l, C.schemaNames = d, C.dimensions = D, C.metrics = f, C.filters = p, C.sorts = y, C.limit = m, C.isComparable = g, C.periodType =
|
|
4089
|
+
C.showLabel = e, C._xy_datasource_config_model$_drillDimension = n, C.breakdownDimension = i, C.isTransposed = a, C.isBlend = s, C.isCumulative = o, C._joinDatasources = l, C.schemaNames = d, C.dimensions = D, C.metrics = f, C.filters = p, C.sorts = y, C.limit = m, C.isComparable = g, C.periodType = S, C.timezone = E;
|
|
4090
4090
|
},
|
|
4091
4091
|
BaseXYDatasourceConfigModel_joinDatasources_closure: function(e) {
|
|
4092
4092
|
this.$this = e;
|
|
@@ -4151,14 +4151,14 @@ select
|
|
|
4151
4151
|
return e.__ReCase__words_A = e._groupIntoWords$1(r), e;
|
|
4152
4152
|
},
|
|
4153
4153
|
ReCase: function(e, n) {
|
|
4154
|
-
this._upperAlphaRegex = e, this.symbolSet = n, this.__ReCase__words_A =
|
|
4154
|
+
this._upperAlphaRegex = e, this.symbolSet = n, this.__ReCase__words_A = h;
|
|
4155
4155
|
},
|
|
4156
4156
|
TZDateTime$(r, e, n, i, a, s, o) {
|
|
4157
4157
|
var l, d, D, f, p, y = t.Primitives_valueFromDecomposedDate(e, n, i, a, s, o, 0, !0);
|
|
4158
|
-
return t._isInt(y) || t.throwExpression(t.argumentErrorValue(y)), l = r.lookupTimeZone$1(y), d = l.timeZone.offset, d !== 0 && (D = y - d, d = l.start, D < d ? l = r.lookupTimeZone$1(d - 1) : (d = l.end, D >= d && (l = r.lookupTimeZone$1(d))), y -= l.timeZone.offset), d = _.JSNumber_methods.round$0(t.Duration$(0, 0, 0, y, 0, 0)._duration / 1e3), f = new t.DateTime(d, !0), Math.abs(d) <= 864e13 ? p = !1 : p = !0, p && t.throwExpression(t.ArgumentError$("DateTime is outside valid range: " + d)), t.checkNotNullable(!0, "isUtc", c.bool), d = f.toUtc$0(), p =
|
|
4158
|
+
return t._isInt(y) || t.throwExpression(t.argumentErrorValue(y)), l = r.lookupTimeZone$1(y), d = l.timeZone.offset, d !== 0 && (D = y - d, d = l.start, D < d ? l = r.lookupTimeZone$1(d - 1) : (d = l.end, D >= d && (l = r.lookupTimeZone$1(d))), y -= l.timeZone.offset), d = _.JSNumber_methods.round$0(t.Duration$(0, 0, 0, y, 0, 0)._duration / 1e3), f = new t.DateTime(d, !0), Math.abs(d) <= 864e13 ? p = !1 : p = !0, p && t.throwExpression(t.ArgumentError$("DateTime is outside valid range: " + d)), t.checkNotNullable(!0, "isUtc", c.bool), d = f.toUtc$0(), p = h.$get$_UTC(), f = r === p ? _.TimeZone_0_false_UTC : r.lookupTimeZone$1(f.get$millisecondsSinceEpoch()).timeZone, new t.TZDateTime(r === p ? d : d.add$1(0, t.Duration$(0, 0, 0, f.offset, 0, 0)), d, r, f);
|
|
4159
4159
|
},
|
|
4160
4160
|
TZDateTime$from(r, e) {
|
|
4161
|
-
var n = (r instanceof t.TZDateTime ? r._native : r).toUtc$0(), i =
|
|
4161
|
+
var n = (r instanceof t.TZDateTime ? r._native : r).toUtc$0(), i = h.$get$_UTC(), a = e === i ? _.TimeZone_0_false_UTC : e.lookupTimeZone$1(r.get$millisecondsSinceEpoch()).timeZone;
|
|
4162
4162
|
return new t.TZDateTime(e === i ? n : n.add$1(0, t.Duration$(0, 0, 0, a.offset, 0, 0)), n, e, a);
|
|
4163
4163
|
},
|
|
4164
4164
|
TZDateTime__fourDigits(r) {
|
|
@@ -4190,7 +4190,7 @@ select
|
|
|
4190
4190
|
},
|
|
4191
4191
|
Location: function(e, n, i, a) {
|
|
4192
4192
|
var s = this;
|
|
4193
|
-
s.name = e, s.transitionAt = n, s.transitionZone = i, s.zones = a, s._cacheEnd = s._cacheStart = 0, s.__Location__cacheZone_A =
|
|
4193
|
+
s.name = e, s.transitionAt = n, s.transitionZone = i, s.zones = a, s._cacheEnd = s._cacheStart = 0, s.__Location__cacheZone_A = h;
|
|
4194
4194
|
},
|
|
4195
4195
|
TimeZone: function(e, n, i) {
|
|
4196
4196
|
this.offset = e, this.isDst = n, this.abbreviation = i;
|
|
@@ -4210,7 +4210,7 @@ select
|
|
|
4210
4210
|
},
|
|
4211
4211
|
_getQueryEngine(r) {
|
|
4212
4212
|
var e, n, i = u.getInterceptor$asx(r);
|
|
4213
|
-
return i = new t.Connection("", "", i.$index(r, "sourceDatasetId"), i.$index(r, "targetDatasetId")), e =
|
|
4213
|
+
return i = new t.Connection("", "", i.$index(r, "sourceDatasetId"), i.$index(r, "targetDatasetId")), e = h.$get$defaultSchemas(), n = new t.SchemaLibrary(e), n.SchemaLibrary$2$connection$schemas(i, e), new t.QueryEngine(new t.QueryEngineContext(i, n));
|
|
4214
4214
|
},
|
|
4215
4215
|
getMergeInfoSql(r) {
|
|
4216
4216
|
var e, n, i, a = _.C_JsonCodec.decode$2$reviver(O.JSON.stringify(r), null), s = u.getInterceptor$asx(a), o = t._getQueryEngine(s.$index(a, "bigQuery"));
|
|
@@ -4242,8 +4242,8 @@ select
|
|
|
4242
4242
|
return i = t.ListExtensions_mapIndexed(u.map$1$ax(i.$index(n, "requests"), new t.sqlResponsesToQueryResponses_closure()).toList$0(0), new t.sqlResponsesToQueryResponses_closure0(i.$index(n, "sqlResponses"), a), c.QueryRequest, c.QueryResponse), e = t.List_List$of(i, !0, i.$ti._eval$1("Iterable.E")), i = t._arrayInstanceType(e)._eval$1("MappedListIterable<1,Map<String,@>>"), O.JSON.parse(_.C_JsonCodec.encode$2$toEncodable(t.List_List$of(new t.MappedListIterable(e, new t.sqlResponsesToQueryResponses_closure1(), i), !0, i._eval$1("ListIterable.E")), null));
|
|
4243
4243
|
},
|
|
4244
4244
|
getQueryRequests(r) {
|
|
4245
|
-
var e, n, i, a, s, o, l, d, D, f, p = _.C_JsonCodec.decode$2$reviver(O.JSON.stringify(r), null), y = u.getInterceptor$asx(p), m = t.ReportWidgetModel_fromJson(y.$index(p, "widget")), g = u.map$1$ax(y.$index(p, "dateRange"), new t.getQueryRequests_closure()).toList$0(0),
|
|
4246
|
-
return
|
|
4245
|
+
var e, n, i, a, s, o, l, d, D, f, p = _.C_JsonCodec.decode$2$reviver(O.JSON.stringify(r), null), y = u.getInterceptor$asx(p), m = t.ReportWidgetModel_fromJson(y.$index(p, "widget")), g = u.map$1$ax(y.$index(p, "dateRange"), new t.getQueryRequests_closure()).toList$0(0), S = y.$index(p, "compareDateRange");
|
|
4246
|
+
return S == null && (S = []), e = u.map$1$ax(S, new t.getQueryRequests_closure0()).toList$0(0), n = u.map$1$ax(y.$index(p, "timeRange"), new t.getQueryRequests_closure1()).toList$0(0), i = u.map$1$ax(y.$index(p, "restaurantIds"), new t.getQueryRequests_closure2()).toList$0(0), a = u.map$1$ax(y.$index(p, "warehouseIds"), new t.getQueryRequests_closure3()).toList$0(0), s = u.map$1$ax(y.$index(p, "businessIds"), new t.getQueryRequests_closure4()).toList$0(0), o = y.$index(p, "timezone"), y = m.config, S = t._arrayInstanceType(g)._eval$1("MappedListIterable<1,@>"), l = t._arrayInstanceType(n)._eval$1("MappedListIterable<1,@>"), d = l._eval$1("ListIterable.E"), D = y.toRequests$1(new t.GlobalFilterModel(t.List_List$of(new t.MappedListIterable(g, new t.getQueryRequests_closure5(), S), !0, S._eval$1("ListIterable.E")), t.List_List$of(new t.MappedListIterable(n, new t.getQueryRequests_closure6(), l), !0, d), i, a, s, !1, o)), e.length !== 0 && y.isComparable === !0 && (S = t.List_List$of(D, !0, c.QueryRequest), f = t._arrayInstanceType(e)._eval$1("MappedListIterable<1,@>"), _.JSArray_methods.addAll$1(S, y.toRequests$1(new t.GlobalFilterModel(t.List_List$of(new t.MappedListIterable(e, new t.getQueryRequests_closure7(), f), !0, f._eval$1("ListIterable.E")), t.List_List$of(new t.MappedListIterable(n, new t.getQueryRequests_closure8(), l), !0, d), i, a, s, !0, o))), D = S), y = t._arrayInstanceType(D)._eval$1("MappedListIterable<1,Map<String,@>>"), O.JSON.parse(_.C_JsonCodec.encode$2$toEncodable(t.List_List$of(new t.MappedListIterable(D, new t.getQueryRequests_closure9(), y), !0, y._eval$1("ListIterable.E")), null));
|
|
4247
4247
|
},
|
|
4248
4248
|
getCreateMaterializedTableSql(r) {
|
|
4249
4249
|
var e = _.C_JsonCodec.decode$2$reviver(O.JSON.stringify(r), null), n = u.getInterceptor$asx(e), i = t._getQueryEngine(n.$index(e, "bigQuery"));
|
|
@@ -4295,7 +4295,7 @@ select
|
|
|
4295
4295
|
return function() {
|
|
4296
4296
|
return i(a, Array.prototype.slice.apply(arguments));
|
|
4297
4297
|
};
|
|
4298
|
-
}(t._callDartFunctionFast, r), e[
|
|
4298
|
+
}(t._callDartFunctionFast, r), e[h.$get$DART_CLOSURE_PROPERTY_NAME()] = r, r.$dart_jsFunction = e, e);
|
|
4299
4299
|
},
|
|
4300
4300
|
_callDartFunctionFast(r, e) {
|
|
4301
4301
|
return t.Primitives_applyFunction(r, e, null);
|
|
@@ -4419,7 +4419,7 @@ select
|
|
|
4419
4419
|
}, i);
|
|
4420
4420
|
},
|
|
4421
4421
|
defaultLocale() {
|
|
4422
|
-
var r =
|
|
4422
|
+
var r = h._defaultLocale;
|
|
4423
4423
|
return r;
|
|
4424
4424
|
},
|
|
4425
4425
|
dayOfYear(r, e, n) {
|
|
@@ -4435,7 +4435,7 @@ select
|
|
|
4435
4435
|
return r.get$isUtc() ? (a = r.get$year(), s = r.get$month(), o = r.get$day(), l = r.get$hour(), d = r.get$minute(), a = t.Primitives_valueFromDecomposedDate(a, s, o, l, d, i, n + _.JSNumber_methods.round$0(e / 1e3), !0), t._isInt(a) || t.throwExpression(t.argumentErrorValue(a)), new t.DateTime(a, !0)) : (a = r.get$year(), s = r.get$month(), o = r.get$day(), l = r.get$hour(), d = r.get$minute(), a = t.Primitives_valueFromDecomposedDate(a, s, o, l, d, i, n + _.JSNumber_methods.round$0(e / 1e3), !1), t._isInt(a) || t.throwExpression(t.argumentErrorValue(a)), new t.DateTime(a, !1));
|
|
4436
4436
|
},
|
|
4437
4437
|
DateTimeExtension_startOfUtc(r, e, n, i) {
|
|
4438
|
-
var a, s =
|
|
4438
|
+
var a, s = h.$get$_database().$get$1(i), o = t.TZDateTime$from(n, s), l = o._localDateTime;
|
|
4439
4439
|
switch (e.index) {
|
|
4440
4440
|
case 7:
|
|
4441
4441
|
a = t.TZDateTime$(s, l.get$year(), 1, 1, 0, 0, 0);
|
|
@@ -4462,10 +4462,10 @@ select
|
|
|
4462
4462
|
a = t.TZDateTime$(s, l.get$year(), l.get$month(), l.get$day(), 0, 0, 0);
|
|
4463
4463
|
break;
|
|
4464
4464
|
}
|
|
4465
|
-
return l =
|
|
4465
|
+
return l = h.$get$_UTC(), a.location === l ? a : t.TZDateTime$from(a._native, l);
|
|
4466
4466
|
},
|
|
4467
4467
|
DateTimeExtension_endOfUtc(r, e, n, i) {
|
|
4468
|
-
var a, s, o, l =
|
|
4468
|
+
var a, s, o, l = h.$get$_database().$get$1(i), d = t.TZDateTime$from(n, l);
|
|
4469
4469
|
switch (e.index) {
|
|
4470
4470
|
case 7:
|
|
4471
4471
|
a = t.TZDateTime$(l, d._localDateTime.get$year() + 1, 1, 1, 0, 0, 0);
|
|
@@ -4491,7 +4491,7 @@ select
|
|
|
4491
4491
|
default:
|
|
4492
4492
|
return s = d._localDateTime, t.TZDateTime$(l, s.get$year(), s.get$month(), s.get$day() + 1, 0, 0, 0);
|
|
4493
4493
|
}
|
|
4494
|
-
return o = t.TZDateTime$from(a._native.subtract$1(_.Duration_1000), a.location), s =
|
|
4494
|
+
return o = t.TZDateTime$from(a._native.subtract$1(_.Duration_1000), a.location), s = h.$get$_UTC(), o.location === s ? o : t.TZDateTime$from(o._native, s);
|
|
4495
4495
|
},
|
|
4496
4496
|
ListExtension_elementAtOrNull(r, e) {
|
|
4497
4497
|
var n;
|
|
@@ -4558,10 +4558,10 @@ select
|
|
|
4558
4558
|
}
|
|
4559
4559
|
},
|
|
4560
4560
|
initializeDatabase(r) {
|
|
4561
|
-
var e, n, i =
|
|
4561
|
+
var e, n, i = h.$get$_database();
|
|
4562
4562
|
for (i._locations.clear$0(0), e = new t._SyncStarIterator(t.tzdbDeserialize(r)._outerHelper()); e.moveNext$0(); )
|
|
4563
4563
|
n = e.get$current(), i._locations.$indexSet(0, n.name, n);
|
|
4564
|
-
|
|
4564
|
+
h.___local.__late_helper$_value = h.$get$_UTC();
|
|
4565
4565
|
},
|
|
4566
4566
|
tzdbDeserialize(r) {
|
|
4567
4567
|
return t._makeSyncStarIterable(function() {
|
|
@@ -4589,16 +4589,16 @@ select
|
|
|
4589
4589
|
}, c.Location);
|
|
4590
4590
|
},
|
|
4591
4591
|
_deserializeLocation(r) {
|
|
4592
|
-
var e, n, i, a, s = t.NativeByteData_NativeByteData$view(r.buffer, r.byteOffset, r.byteLength), o = s.getUint32(0, !1), l = s.getUint32(4, !1), d = s.getUint32(8, !1), D = s.getUint32(12, !1), f = s.getUint32(16, !1), p = s.getUint32(20, !1), y = s.getUint32(24, !1), m = s.getUint32(28, !1), g = _.C_AsciiCodec.decode$1(t.NativeUint8List_NativeUint8List$view(r.buffer, r.byteOffset + o, l)),
|
|
4592
|
+
var e, n, i, a, s = t.NativeByteData_NativeByteData$view(r.buffer, r.byteOffset, r.byteLength), o = s.getUint32(0, !1), l = s.getUint32(4, !1), d = s.getUint32(8, !1), D = s.getUint32(12, !1), f = s.getUint32(16, !1), p = s.getUint32(20, !1), y = s.getUint32(24, !1), m = s.getUint32(28, !1), g = _.C_AsciiCodec.decode$1(t.NativeUint8List_NativeUint8List$view(r.buffer, r.byteOffset + o, l)), S = t._setArrayType([], c.JSArray_String), E = t._setArrayType([], c.JSArray_TimeZone), C = c.JSArray_int, F = t._setArrayType([], C), M = t._setArrayType([], C), x = d + D;
|
|
4593
4593
|
for (e = d, n = e; e < x; ++e)
|
|
4594
|
-
r[e] === 0 && (C = r.buffer, i = r.byteOffset, C = new Uint8Array(C, i + n, e - n),
|
|
4594
|
+
r[e] === 0 && (C = r.buffer, i = r.byteOffset, C = new Uint8Array(C, i + n, e - n), S.push(_.C_AsciiCodec.decode$1(C)), n = e + 1);
|
|
4595
4595
|
for (n = f, e = 0; e < p; ++e, n = a)
|
|
4596
|
-
a = n + 8,
|
|
4596
|
+
a = n + 8, E.push(new t.TimeZone(s.getInt32(n, !1) * 1e3, s.getUint8(n + 4) === 1, S[s.getUint8(n + 5)]));
|
|
4597
4597
|
for (n = y, e = 0; e < m; ++e)
|
|
4598
4598
|
F.push(_.JSNumber_methods.toInt$0(s.getFloat64(n, !1)) * 1e3), n += 8;
|
|
4599
4599
|
for (e = 0; e < m; ++e)
|
|
4600
4600
|
M.push(s.getUint8(n)), ++n;
|
|
4601
|
-
return t.Location$(g, F, M,
|
|
4601
|
+
return t.Location$(g, F, M, E);
|
|
4602
4602
|
}
|
|
4603
4603
|
}, u = {
|
|
4604
4604
|
makeDispatchRecord(r, e, n, i) {
|
|
@@ -4606,7 +4606,7 @@ select
|
|
|
4606
4606
|
},
|
|
4607
4607
|
getNativeInterceptor(r) {
|
|
4608
4608
|
var e, n, i, a, s, o = r[b.dispatchPropertyName];
|
|
4609
|
-
if (o == null &&
|
|
4609
|
+
if (o == null && h.initNativeDispatchFlag == null && (t.initNativeDispatch(), o = r[b.dispatchPropertyName]), o != null) {
|
|
4610
4610
|
if (e = o.p, e === !1)
|
|
4611
4611
|
return o.i;
|
|
4612
4612
|
if (e === !0)
|
|
@@ -4616,7 +4616,7 @@ select
|
|
|
4616
4616
|
if (o.e === n)
|
|
4617
4617
|
throw t.wrapException(t.UnimplementedError$("Return interceptor for " + t.S(e(r, o))));
|
|
4618
4618
|
}
|
|
4619
|
-
return i = r.constructor, i == null ? a = null : (s =
|
|
4619
|
+
return i = r.constructor, i == null ? a = null : (s = h._JS_INTEROP_INTERCEPTOR_TAG, s == null && (s = h._JS_INTEROP_INTERCEPTOR_TAG = b.getIsolateTag("_$dart_js")), a = i[s]), a != null || (a = t.lookupAndCacheInterceptor(r), a != null) ? a : typeof r == "function" ? _.JavaScriptFunction_methods : (e = Object.getPrototypeOf(r), e == null || e === Object.prototype ? _.PlainJavaScriptObject_methods : (typeof i == "function" && (s = h._JS_INTEROP_INTERCEPTOR_TAG, s == null && (s = h._JS_INTEROP_INTERCEPTOR_TAG = b.getIsolateTag("_$dart_js")), Object.defineProperty(i, s, { value: _.UnknownJavaScriptObject_methods, enumerable: !1, writable: !0, configurable: !0 })), _.UnknownJavaScriptObject_methods));
|
|
4620
4620
|
},
|
|
4621
4621
|
JSArray_JSArray$fixed(r, e) {
|
|
4622
4622
|
if (r < 0 || r > 4294967295)
|
|
@@ -4847,7 +4847,7 @@ select
|
|
|
4847
4847
|
},
|
|
4848
4848
|
JSString: function() {
|
|
4849
4849
|
}
|
|
4850
|
-
}, _ = {}, $ = [t, u, _],
|
|
4850
|
+
}, _ = {}, $ = [t, u, _], h = {};
|
|
4851
4851
|
t.JS_CONST.prototype = {}, u.Interceptor.prototype = {
|
|
4852
4852
|
$eq(r, e) {
|
|
4853
4853
|
return r === e;
|
|
@@ -4921,7 +4921,7 @@ select
|
|
|
4921
4921
|
}
|
|
4922
4922
|
}, u.PlainJavaScriptObject.prototype = {}, u.UnknownJavaScriptObject.prototype = {}, u.JavaScriptFunction.prototype = {
|
|
4923
4923
|
toString$0(r) {
|
|
4924
|
-
var e = r[
|
|
4924
|
+
var e = r[h.$get$DART_CLOSURE_PROPERTY_NAME()];
|
|
4925
4925
|
return e == null ? this.super$LegacyJavaScriptObject$toString(r) : "JavaScript function for " + t.S(u.toString$0$(e));
|
|
4926
4926
|
}
|
|
4927
4927
|
}, u.JSArray.prototype = {
|
|
@@ -6882,21 +6882,21 @@ Arguments: [` + d + "]";
|
|
|
6882
6882
|
}
|
|
6883
6883
|
}, t.FormatException.prototype = {
|
|
6884
6884
|
toString$0(r) {
|
|
6885
|
-
var e, n, i, a, s, o, l, d, D, f, p, y = this.message, m = y !== "" ? "FormatException: " + y : "FormatException", g = this.offset,
|
|
6886
|
-
if (typeof
|
|
6887
|
-
if (g != null ? e = g < 0 || g >
|
|
6888
|
-
return
|
|
6889
|
-
` +
|
|
6885
|
+
var e, n, i, a, s, o, l, d, D, f, p, y = this.message, m = y !== "" ? "FormatException: " + y : "FormatException", g = this.offset, S = this.source;
|
|
6886
|
+
if (typeof S == "string") {
|
|
6887
|
+
if (g != null ? e = g < 0 || g > S.length : e = !1, e && (g = null), g == null)
|
|
6888
|
+
return S.length > 78 && (S = _.JSString_methods.substring$2(S, 0, 75) + "..."), m + `
|
|
6889
|
+
` + S;
|
|
6890
6890
|
for (n = 1, i = 0, a = !1, s = 0; s < g; ++s)
|
|
6891
|
-
o = _.JSString_methods._codeUnitAt$1(
|
|
6891
|
+
o = _.JSString_methods._codeUnitAt$1(S, s), o === 10 ? ((i !== s || !a) && ++n, i = s + 1, a = !1) : o === 13 && (++n, i = s + 1, a = !0);
|
|
6892
6892
|
for (m = n > 1 ? m + (" (at line " + n + ", character " + (g - i + 1) + `)
|
|
6893
6893
|
`) : m + (" (at character " + (g + 1) + `)
|
|
6894
|
-
`), l =
|
|
6895
|
-
if (o = _.JSString_methods.codeUnitAt$1(
|
|
6894
|
+
`), l = S.length, s = g; s < l; ++s)
|
|
6895
|
+
if (o = _.JSString_methods.codeUnitAt$1(S, s), o === 10 || o === 13) {
|
|
6896
6896
|
l = s;
|
|
6897
6897
|
break;
|
|
6898
6898
|
}
|
|
6899
|
-
return l - i > 78 ? g - i < 75 ? (d = i + 75, D = i, f = "", p = "...") : (l - g < 75 ? (D = l - 75, d = l, p = "") : (D = g - 36, d = g + 36, p = "..."), f = "...") : (d = l, D = i, f = "", p = ""), m + f + _.JSString_methods.substring$2(
|
|
6899
|
+
return l - i > 78 ? g - i < 75 ? (d = i + 75, D = i, f = "", p = "...") : (l - g < 75 ? (D = l - 75, d = l, p = "") : (D = g - 36, d = g + 36, p = "..."), f = "...") : (d = l, D = i, f = "", p = ""), m + f + _.JSString_methods.substring$2(S, D, d) + p + `
|
|
6900
6900
|
` + _.JSString_methods.$mul(" ", g - D + f.length) + `^
|
|
6901
6901
|
`;
|
|
6902
6902
|
} else
|
|
@@ -7066,7 +7066,7 @@ Arguments: [` + d + "]";
|
|
|
7066
7066
|
},
|
|
7067
7067
|
_byteDigest$0() {
|
|
7068
7068
|
var r, e, n, i, a;
|
|
7069
|
-
if (_.C_Endian ===
|
|
7069
|
+
if (_.C_Endian === h.$get$Endian_host())
|
|
7070
7070
|
return t.NativeUint8List_NativeUint8List$view(this.digest.buffer, 0, null);
|
|
7071
7071
|
for (r = this.digest, e = r.byteLength, n = new Uint8Array(e), i = t.NativeByteData_NativeByteData$view(n.buffer, 0, null), a = 0; a < 5; ++a)
|
|
7072
7072
|
i.setUint32(a * 4, r[a], !1);
|
|
@@ -7130,7 +7130,7 @@ Arguments: [` + d + "]";
|
|
|
7130
7130
|
},
|
|
7131
7131
|
asDate$1$retries(r) {
|
|
7132
7132
|
var e, n, i, a, s, o, l, d, D, f, p, y = this, m = y._date;
|
|
7133
|
-
return m != null || (y._hasAmbiguousCentury ? (m = y.year, e = m < 0 || m >= 100) : e = !0, e ? (m = y.year, n = y.month, i = y.dayOfYear, i === 0 && (i = y.day), a = y.pm, s = y.hour, a = a ? s + 12 : s, o = y._dateTimeConstructor.call$8(m, n, i, a, y.minute, y.second, y.fractionalSecond, y.utc)) : (
|
|
7133
|
+
return m != null || (y._hasAmbiguousCentury ? (m = y.year, e = m < 0 || m >= 100) : e = !0, e ? (m = y.year, n = y.month, i = y.dayOfYear, i === 0 && (i = y.day), a = y.pm, s = y.hour, a = a ? s + 12 : s, o = y._dateTimeConstructor.call$8(m, n, i, a, y.minute, y.second, y.fractionalSecond, y.utc)) : (h.$get$_clockKey(), l = t.systemTime(), y.utc && (l = l.toUtc$0()), d = y._offsetYear$2(l, -80), D = y._offsetYear$2(l, 20), m = _.JSInt_methods._tdivFast$1(d.get$year(), 100), n = _.JSInt_methods._tdivFast$1(D.get$year(), 100), i = y.year, a = y.month, s = y.dayOfYear, s === 0 && (s = y.day), f = y.pm, p = y.hour, f = f ? p + 12 : p, p = y._dateTimeConstructor, o = p.call$8(n * 100 + i, a, s, f, y.minute, y.second, y.fractionalSecond, y.utc), o.compareTo$1(0, D) <= 0 || (n = y.year, i = y.month, a = y.dayOfYear, a === 0 && (a = y.day), s = y.pm, f = y.hour, s = s ? f + 12 : f, o = p.call$8(m * 100 + n, i, a, s, y.minute, y.second, y.fractionalSecond, y.utc))), y.utc && e ? (y._date = o, m = o) : m = y._date = y._correctForErrors$2(o, r)), m;
|
|
7134
7134
|
},
|
|
7135
7135
|
asDate$0() {
|
|
7136
7136
|
return this.asDate$1$retries(3);
|
|
@@ -7159,19 +7159,19 @@ Arguments: [` + d + "]";
|
|
|
7159
7159
|
},
|
|
7160
7160
|
addPattern$1(r) {
|
|
7161
7161
|
var e, n, i = this;
|
|
7162
|
-
return i._formatFieldsPrivate = null, e =
|
|
7162
|
+
return i._formatFieldsPrivate = null, e = h.$get$dateTimePatterns(), n = i._locale, e.toString, (t.canonicalizedLocale(n) === "en_US" ? e.fallbackData : e._throwException$0()).containsKey$1(r) ? (e = h.$get$dateTimePatterns(), e.toString, i._appendPattern$2((t.canonicalizedLocale(n) === "en_US" ? e.fallbackData : e._throwException$0()).$index(0, r), " ")) : i._appendPattern$2(r, " "), i;
|
|
7163
7163
|
},
|
|
7164
7164
|
get$dateSymbols() {
|
|
7165
7165
|
var r, e = this._locale;
|
|
7166
|
-
return e !==
|
|
7166
|
+
return e !== h.lastDateSymbolLocale && (h.lastDateSymbolLocale = e, r = h.$get$_dateTimeSymbols(), r.toString, h.cachedDateSymbols = t.canonicalizedLocale(e) === "en_US" ? r.fallbackData : r._throwException$0()), e = h.cachedDateSymbols, e.toString, e;
|
|
7167
7167
|
},
|
|
7168
7168
|
get$useNativeDigits() {
|
|
7169
7169
|
var r = this._useNativeDigits;
|
|
7170
|
-
return r == null && (
|
|
7170
|
+
return r == null && (h.DateFormat__useNativeDigitsByDefault.$index(0, this._locale), r = this._useNativeDigits = !0), r;
|
|
7171
7171
|
},
|
|
7172
7172
|
get$digitMatcher() {
|
|
7173
7173
|
var r = this, e = r._digitMatcher;
|
|
7174
|
-
return e != null || (e =
|
|
7174
|
+
return e != null || (e = h.DateFormat__digitMatchers.putIfAbsent$2(r.get$localeZero(), r.get$_initDigitMatcher()), r._digitMatcher = e, e.toString), e;
|
|
7175
7175
|
},
|
|
7176
7176
|
get$localeZeroCodeUnit() {
|
|
7177
7177
|
var r = this._localeZeroCodeUnit;
|
|
@@ -7183,7 +7183,7 @@ Arguments: [` + d + "]";
|
|
|
7183
7183
|
},
|
|
7184
7184
|
_initDigitMatcher$0() {
|
|
7185
7185
|
var r, e;
|
|
7186
|
-
return this.get$useNativeDigits(), r = this._localeZeroCodeUnit, e =
|
|
7186
|
+
return this.get$useNativeDigits(), r = this._localeZeroCodeUnit, e = h.$get$asciiZeroCodeUnit(), r == e ? h.$get$asciiDigitMatcher() : (r = c.int, t.RegExp_RegExp("^[" + t.String_String$fromCharCodes(t.Iterable_Iterable$generate(10, new t.DateFormat__initDigitMatcher_closure(), r).map$1$1(0, new t.DateFormat__initDigitMatcher_closure0(this), r).toList$0(0), 0, null) + "]+", !1));
|
|
7187
7187
|
},
|
|
7188
7188
|
_parsePatternHelper$1(r) {
|
|
7189
7189
|
var e, n;
|
|
@@ -7191,7 +7191,7 @@ Arguments: [` + d + "]";
|
|
|
7191
7191
|
},
|
|
7192
7192
|
_date_format$_match$1(r) {
|
|
7193
7193
|
var e, n, i, a;
|
|
7194
|
-
for (e = 0; n =
|
|
7194
|
+
for (e = 0; n = h.$get$DateFormat__matchers(), e < 3; ++e)
|
|
7195
7195
|
if (i = n[e].firstMatch$1(r), i != null)
|
|
7196
7196
|
return n = t.DateFormat__fieldConstructors()[e], a = i._match[0], a.toString, n.call$2(a, this);
|
|
7197
7197
|
return null;
|
|
@@ -7349,7 +7349,7 @@ Arguments: [` + d + "]";
|
|
|
7349
7349
|
var i, a, s, o, l = e.stringMatch$1(r.peek$1(r.contents.length - r._string_stack$_index));
|
|
7350
7350
|
if (l == null || l.length === 0)
|
|
7351
7351
|
return this.throwFormatException$1(r);
|
|
7352
|
-
if (i = l.length, r._string_stack$_index += i, a =
|
|
7352
|
+
if (i = l.length, r._string_stack$_index += i, a = h.$get$asciiZeroCodeUnit(), n !== a) {
|
|
7353
7353
|
for (i > 4294967295 && t.throwExpression(t.RangeError$range(i, 0, 4294967295, "length", null)), s = u.JSArray_JSArray$markFixed(new Array(i), c.int), o = 0; o < i; ++o)
|
|
7354
7354
|
s[o] = _.JSString_methods._codeUnitAt$1(l, o) - n + a;
|
|
7355
7355
|
l = t.String_String$fromCharCodes(s, 0, null);
|
|
@@ -7450,7 +7450,7 @@ Arguments: [` + d + "]";
|
|
|
7450
7450
|
}, t.Jiffy.prototype = {
|
|
7451
7451
|
get$dateTime() {
|
|
7452
7452
|
var r = this.__Jiffy__dateTime_A;
|
|
7453
|
-
return r ===
|
|
7453
|
+
return r === h && t.throwUnnamedLateFieldNI(), r;
|
|
7454
7454
|
},
|
|
7455
7455
|
_parseMap$1(r) {
|
|
7456
7456
|
var e, n, i, a, s, o, l;
|
|
@@ -7474,11 +7474,11 @@ Arguments: [` + d + "]";
|
|
|
7474
7474
|
},
|
|
7475
7475
|
add$1$minutes(r, e) {
|
|
7476
7476
|
var n = this, i = n.__Jiffy__dateTime_A;
|
|
7477
|
-
return i ===
|
|
7477
|
+
return i === h && t.throwUnnamedLateFieldNI(), i = i.add$1(0, _.Duration_0), n.__Jiffy__dateTime_A = i, i = i.add$1(0, t.Duration$(0, 0, 0, 0, e, 0)), n.__Jiffy__dateTime_A = i, i = n._addMonths$2(i, 0), n.__Jiffy__dateTime_A = i, n.__Jiffy__dateTime_A = n._addMonths$2(i, 0), t.Jiffy$(n);
|
|
7478
7478
|
},
|
|
7479
7479
|
subtract$1$days(r) {
|
|
7480
7480
|
var e = this, n = e.__Jiffy__dateTime_A;
|
|
7481
|
-
return n ===
|
|
7481
|
+
return n === h && t.throwUnnamedLateFieldNI(), n = n.subtract$1(_.Duration_0), e.__Jiffy__dateTime_A = n, n = n.subtract$1(t.Duration$(r, 0, 0, 0, 0, 0)), e.__Jiffy__dateTime_A = n, n = e._addMonths$2(n, -0), e.__Jiffy__dateTime_A = n, e.__Jiffy__dateTime_A = e._addMonths$2(n, -0), t.Jiffy$(e);
|
|
7482
7482
|
},
|
|
7483
7483
|
_addMonths$2(r, e) {
|
|
7484
7484
|
var n, i, a, s, o, l, d, D = _.JSInt_methods.$mod(e, 12), f = _.JSInt_methods._tdivFast$1(e - D, 12), p = r.get$year() + f, y = r.get$month() + D;
|
|
@@ -8139,7 +8139,7 @@ Arguments: [` + d + "]";
|
|
|
8139
8139
|
}, t.QueryRequestFilter.prototype = {
|
|
8140
8140
|
toComparison$2$timezone(r, e) {
|
|
8141
8141
|
var n, i, a, s, o, l, d, D, f, p = this, y = p.schemaName, m = r.getSchema$1(y), g = p.operator;
|
|
8142
|
-
return g === _.COMPARISON_OPERATOR_6 && p.option === _.DIMENSION_OPTION_5 && (n = p.values, i = u.getInterceptor$asx(n), a = t.Jiffy$(i.$index(n, 0)), s = t.Jiffy$(i.$index(n, 1)), n = a.__Jiffy__dateTime_A, n ===
|
|
8142
|
+
return g === _.COMPARISON_OPERATOR_6 && p.option === _.DIMENSION_OPTION_5 && (n = p.values, i = u.getInterceptor$asx(n), a = t.Jiffy$(i.$index(n, 0)), s = t.Jiffy$(i.$index(n, 1)), n = a.__Jiffy__dateTime_A, n === h && t.throwUnnamedLateFieldNI(), n = n.get$hour(), i = a.__Jiffy__dateTime_A.get$minute(), o = s.__Jiffy__dateTime_A, o === h && t.throwUnnamedLateFieldNI(), o.get$hour() * 60 + s.__Jiffy__dateTime_A.get$minute() < n * 60 + i) ? (y = m.name, g = p.name, n = c.JSArray_String, i = p.option, o = p.dataFormula, l = t._QueryRequestComparisonTargetVariable$(o, t._setArrayType([g], n), i, y), d = t.Jiffy$(a), D = d.__Jiffy__dateTime_A, D === h && t.throwUnnamedLateFieldNI(), D = D.toUtc$0(), d.__Jiffy__dateTime_A = D, D = D.toIso8601String$0(), d = a.__Jiffy__dateTime_A, d = t.DateTimeExtension_endOfUtc(d, _.Units_4, d, e)._toString$1$iso8601(!0), d = t.QueryRequestComparison_QueryRequestComparison$single(l, _.COMPARISON_OPERATOR_6, r, new t._QueryRequestComparisonTargetValue(y, t._setArrayType([g], n), [D, d], i, null)), o = t._QueryRequestComparisonTargetVariable$(o, t._setArrayType([g], n), i, y), D = s.__Jiffy__dateTime_A, D = t.DateTimeExtension_startOfUtc(D, _.Units_4, D, e)._toString$1$iso8601(!0), l = t.Jiffy$(s), f = l.__Jiffy__dateTime_A, f === h && t.throwUnnamedLateFieldNI(), f = f.toUtc$0(), l.__Jiffy__dateTime_A = f, f = f.toIso8601String$0(), t.QueryRequestComparison_QueryRequestComparison$nested(_.COMPARISON_OPERATOR_10, t._setArrayType([d, t.QueryRequestComparison_QueryRequestComparison$single(o, _.COMPARISON_OPERATOR_6, r, new t._QueryRequestComparisonTargetValue(y, t._setArrayType([g], n), [D, f], i, null))], c.JSArray_QueryRequestComparison))) : (n = p.name, i = c.JSArray_String, o = p.option, t.QueryRequestComparison_QueryRequestComparison$single(t._QueryRequestComparisonTargetVariable$(p.dataFormula, t._setArrayType([n], i), o, y), g, r, new t._QueryRequestComparisonTargetValue(y, t._setArrayType([n], i), p.values, o, null)));
|
|
8143
8143
|
},
|
|
8144
8144
|
toJson$0() {
|
|
8145
8145
|
var r = this, e = r.option;
|
|
@@ -8188,7 +8188,7 @@ Arguments: [` + d + "]";
|
|
|
8188
8188
|
},
|
|
8189
8189
|
_getTimeFilters$1(r) {
|
|
8190
8190
|
var e, n, i, a, s, o, l, d, D, f, p, y = null, m = t._setArrayType([], c.JSArray_QueryRequestFilter), g = r.topLevelFilters.timeControl;
|
|
8191
|
-
return g != null && (e = this.timeDimension, n = e.timeStart, n != null && e.timeEnd != null ? (i = t.Jiffy$(n), a = e.timeEnd, s = t.Jiffy$(a), o = i.__Jiffy__dateTime_A, o ===
|
|
8191
|
+
return g != null && (e = this.timeDimension, n = e.timeStart, n != null && e.timeEnd != null ? (i = t.Jiffy$(n), a = e.timeEnd, s = t.Jiffy$(a), o = i.__Jiffy__dateTime_A, o === h && t.throwUnnamedLateFieldNI(), l = o.get$hour() * 60 + i.__Jiffy__dateTime_A.get$minute(), o = s.__Jiffy__dateTime_A, o === h && t.throwUnnamedLateFieldNI(), d = o.get$hour() * 60 + s.__Jiffy__dateTime_A.get$minute(), D = d - l, D <= 0 && (D += 1440), f = l > 720 && D > 720, p = d < l ? s.__Jiffy__dateTime_A.toLocal$0().get$hour() * 60 + s.__Jiffy__dateTime_A.toLocal$0().get$minute() + 1 : 0, n.toString, a.toString, m.push(new t.QueryRequestFilter(_.COMPARISON_OPERATOR_6, _.DIMENSION_OPTION_5, y, y, [n, a], r.name, g))) : (p = 0, f = !1), n = t.Jiffy$(e.start), n = n.subtract$1$days(f ? 1 : 0).add$1$minutes(0, p), a = n.__Jiffy__dateTime_A, a === h && t.throwUnnamedLateFieldNI(), a = a.toUtc$0(), n.__Jiffy__dateTime_A = a, a = a.toIso8601String$0(), e = t.Jiffy$(e.end), e = e.subtract$1$days(f ? 1 : 0).add$1$minutes(0, p), n = e.__Jiffy__dateTime_A, n === h && t.throwUnnamedLateFieldNI(), n = n.toUtc$0(), e.__Jiffy__dateTime_A = n, m.push(new t.QueryRequestFilter(_.COMPARISON_OPERATOR_6, _.DIMENSION_OPTION_0, y, y, [a, n.toIso8601String$0()], r.name, g))), m;
|
|
8192
8192
|
},
|
|
8193
8193
|
_getSqlFilters$1(r) {
|
|
8194
8194
|
var e, n, i, a, s = this, o = t._setArrayType([], c.JSArray_QueryRequestFilter), l = r.getSchema$1(s.schemaName);
|
|
@@ -8198,8 +8198,8 @@ Arguments: [` + d + "]";
|
|
|
8198
8198
|
return _.JSArray_methods.fold$2(this._getJoins$1(r), "", new t.QueryRequest__getSqlJoins_closure(this, r));
|
|
8199
8199
|
},
|
|
8200
8200
|
_getRollupSelect$4$rollupIndex$schemaLibrary$sourceTableName$useFormula(r, e, n, i) {
|
|
8201
|
-
var a, s, o, l, d, D, f, p, y = this, m = r != null, g = y.dimensions,
|
|
8202
|
-
return
|
|
8201
|
+
var a, s, o, l, d, D, f, p, y = this, m = r != null, g = y.dimensions, S = c.QueryRequestDimension, E = t.ListExtensions_whereIndexed(g, new t.QueryRequest__getRollupSelect_closure(r), S), C = E.get$isEmpty(E) ? "" : "PARTITION BY " + t.MappedIterable_MappedIterable(E, new t.QueryRequest__getRollupSelect_closure0(), E.$ti._eval$1("Iterable.E"), c.String).join$1(0, ","), F = c.String;
|
|
8202
|
+
return S = t.List_List$of(t.ListExtensions_mapIndexed(g, new t.QueryRequest__getRollupSelect_closure1(y, e, r, C), S, F), !0, F), a = y.metrics, s = c.JSArray_String, _.JSArray_methods.addAll$1(S, t.IterableExtension_foldIndexed(a, t._setArrayType([], s), new t.QueryRequest__getRollupSelect_closure2(y, e, r, C))), o = y.sorts, l = t._arrayInstanceType(o), d = l._eval$1("MappedListIterable<1,String>"), _.JSArray_methods.addAll$1(S, new t.MappedListIterable(o, new t.QueryRequest__getRollupSelect_closure3(y, e, r, C), d)), S = _.JSArray_methods.join$1(S, ","), D = u.getInterceptor$ax(g), f = t.List_List$of(D.map$1$1(g, new t.QueryRequest__getRollupSelect_closure4(i), F), !0, F), _.JSArray_methods.addAll$1(f, u.fold$2$ax(a, t._setArrayType([], s), new t.QueryRequest__getRollupSelect_closure5(i, m))), _.JSArray_methods.addAll$1(f, new t.MappedListIterable(o, new t.QueryRequest__getRollupSelect_closure6(), d)), f.push("" + m + " _is_rollup"), p = "select " + _.JSArray_methods.join$1(f, ",") + " from (" + ("select " + S + " from " + n) + ")", D.get$isNotEmpty(g) && (g = t.List_List$of(D.map$1$1(g, new t.QueryRequest__getRollupSelect_closure7(), F), !0, F), S = l._eval$1("MappedIterable<1,String>"), _.JSArray_methods.addAll$1(g, t.List_List$of(new t.MappedIterable(new t.WhereIterable(o, new t.QueryRequest__getRollupSelect_closure8(), l._eval$1("WhereIterable<1>")), new t.QueryRequest__getRollupSelect_closure9(), S), !0, S._eval$1("Iterable.E"))), p = p + " group by " + _.JSArray_methods.join$1(g, ",")), p;
|
|
8203
8203
|
},
|
|
8204
8204
|
get$_hasFillGap() {
|
|
8205
8205
|
var r = u.where$1$ax(this.dimensions, new t.QueryRequest__hasFillGap_closure());
|
|
@@ -8229,10 +8229,10 @@ Arguments: [` + d + "]";
|
|
|
8229
8229
|
return new t._GetSourceTableResponse("SELECT " + new t.MappedListIterable(i, new t.QueryRequest__getSourceTable_closure0(p), a).join$1(0, ",") + " FROM (" + ("SELECT " + s + " FROM `" + o + "` AS " + l + d + D + f) + ")", p);
|
|
8230
8230
|
},
|
|
8231
8231
|
_getFillGapTable$2$schemaLibrary$sourceTableName(r, e) {
|
|
8232
|
-
var n, i, a, s, o, l, d, D, f, p, y, m = this, g = " CROSS JOIN ",
|
|
8232
|
+
var n, i, a, s, o, l, d, D, f, p, y, m = this, g = " CROSS JOIN ", S = c.JSArray_String, E = t._setArrayType([], S), C = m._getTimeFilters$1(r.getSchema$1(m.schemaName));
|
|
8233
8233
|
for (n = m.dimensions, i = u.getInterceptor$ax(n), a = i.get$iterator(n), s = m.timeDimension != null, o = m.timezone; a.moveNext$0(); )
|
|
8234
|
-
l = a.get$current(), d = l.getColumn$1(r), l.fillGap && d.dataType === _.DATA_TYPE_1 && s && (D = l.generateTimestampArraySql$2$timeFilters$timezone(C, o), d = l.option, d.toString,
|
|
8235
|
-
return a = c.String, f = t.ListExtensions_mapIndexed(
|
|
8234
|
+
l = a.get$current(), d = l.getColumn$1(r), l.fillGap && d.dataType === _.DATA_TYPE_1 && s && (D = l.generateTimestampArraySql$2$timeFilters$timezone(C, o), d = l.option, d.toString, E.push("SELECT " + t.DimensionOptionExtension_formatSql(d, t.uniqueAlias(l.get$alias()), o) + " " + t.uniqueAlias(l.get$alias()) + " FROM " + t.S(D) + " " + t.uniqueAlias(l.get$alias()) + " GROUP BY " + t.uniqueAlias(l.get$alias())));
|
|
8235
|
+
return a = c.String, f = t.ListExtensions_mapIndexed(E, new t.QueryRequest__getFillGapTable_closure(), a, a).join$1(0, g), a = t.List_List$of(i.map$1$1(n, new t.QueryRequest__getFillGapTable_closure0(), a), !0, a), _.JSArray_methods.addAll$1(a, u.fold$2$ax(m.metrics, t._setArrayType([], S), new t.QueryRequest__getFillGapTable_closure1(m, r))), s = m.sorts, _.JSArray_methods.addAll$1(a, new t.MappedListIterable(s, new t.QueryRequest__getFillGapTable_closure2(m, r), t._arrayInstanceType(s)._eval$1("MappedListIterable<1,String>"))), p = t._setArrayType(["SELECT " + _.JSArray_methods.join$1(a, ",") + " FROM (" + f + ")"], S), y = i.where$1(n, new t.QueryRequest__getFillGapTable_closure3()), y.get$isEmpty(y) || p.push("(SELECT DISTINCT " + new t.MappedIterable(y, new t.QueryRequest__getFillGapTable_closure4(), y.$ti._eval$1("MappedIterable<1,String>")).join$1(0, ",") + " FROM " + e + ")"), _.JSArray_methods.join$1(p, g);
|
|
8236
8236
|
},
|
|
8237
8237
|
_getFullTable$3$fillGapTableName$schemaLibrary$sourceTableName(r, e, n) {
|
|
8238
8238
|
var i, a = "fill_gap_table", s = this.dimensions, o = c.String, l = u.getInterceptor$ax(s), d = t.List_List$of(l.map$1$1(s, new t.QueryRequest__getFullTable_closure(a, n), o), !0, o);
|
|
@@ -8782,17 +8782,17 @@ Arguments: [` + d + "]";
|
|
|
8782
8782
|
}
|
|
8783
8783
|
}, t.VisualizationField_filterDimensionOptions_closure.prototype = {
|
|
8784
8784
|
call$1(r) {
|
|
8785
|
-
return _.JSArray_methods.contains$1(
|
|
8785
|
+
return _.JSArray_methods.contains$1(h.VisualizationField__filterDimensionOptions, r);
|
|
8786
8786
|
},
|
|
8787
8787
|
$signature: 38
|
|
8788
8788
|
}, t.VisualizationField_fillGapDimensionOptions_closure.prototype = {
|
|
8789
8789
|
call$1(r) {
|
|
8790
|
-
return _.JSArray_methods.contains$1(
|
|
8790
|
+
return _.JSArray_methods.contains$1(h.VisualizationField__fillGapDimensionOptions, r);
|
|
8791
8791
|
},
|
|
8792
8792
|
$signature: 38
|
|
8793
8793
|
}, t.VisualizationField_isNumericAggregations_closure.prototype = {
|
|
8794
8794
|
call$1(r) {
|
|
8795
|
-
return _.JSArray_methods.contains$1(
|
|
8795
|
+
return _.JSArray_methods.contains$1(h.VisualizationField__isNumericAggregations, r);
|
|
8796
8796
|
},
|
|
8797
8797
|
$signature: 84
|
|
8798
8798
|
}, t.VisualizationField_toJson_closure.prototype = {
|
|
@@ -8867,8 +8867,8 @@ Arguments: [` + d + "]";
|
|
|
8867
8867
|
$signature: 1
|
|
8868
8868
|
}, t.billSchema_closure.prototype = {
|
|
8869
8869
|
call$1(r) {
|
|
8870
|
-
var e = null, n = "seqNumber", i = "deliveryName", a = "isRefund", s = "isPickup", o = "isInHouseDelivery", l = "isDelivery", d = "completedAt", D = "integratedOrderId", f = "itemCount", p = "taxTotal", y = "discountTotal", m = "grossTotal", g = "rounding",
|
|
8871
|
-
return t._setArrayType([t.Field_Field$string(e, e, !1, !1, !1, "ID", "id", "_id", e, r), t.Field_Field$string(e, e, !0, !1, !1, e, "docId", "_docId", e, r), t.Field_Field$timestamp(e, e, !0, !1, e, "publishedAt", "_publishedAt", e, r), t.Field_Field$timestamp(e, e, !1, !1, "Time", "createdAt", "_createdAt", e, r), t.Field_Field$string(e, e, !1, !1, !1, "Restaurant ID", "restaurantId", "_restaurantId", e, r), t.Field_Field$string("Values: COMPLETED, DRAFT, VOIDED, REFUNDED", e, !1, !1, !1, "Status", "status", "status", e, r), t.Field_Field$string(e, e, !1, !1, !1, "No.", n, n, e, r), t.Field_Field$string("Dine-in table name/identifier", e, !1, !1, !1, "Table", "slot", "slot", e, r), t.Field_Field$string(e, e, !1, !1, !1, "Delivery", i, i, e, r), t.Field_Field$string(e, e, !1, !1, !1, "Refund ID", "refundFrom", "refundedFrom", e, r), t.Field_Field$bool(e, e, !1, !1, "Refund", a, a, e, r), t.Field_Field$string(e, e, !0, !1, !1, e, "refundApprovedById", "refund.approvedBy.id", e, r), t.Field_Field$string(e, e, !1, !1, !1, "Refund approver", "refundApprovedByName", "refund.approvedBy.name", e, r), t.Field_Field$string(e, e, !0, !1, !1, e, "refundedById", "refund.by.id", e, r), t.Field_Field$string(e, e, !1, !1, !1, "Refund user", "refundedByName", "refund.by.name", e, r), t.Field_Field$string(e, e, !1, !1, !1, "Refund reason", "refundReason", "refund.reason", e, r), t.Field_Field$string(e, e, !1, !1, !1, "Member ID", "memberId", "membership.id", e, r), t.Field_Field$string(e, e, !1, !1, !1, "Member user ID", "memberUserId", "membership.userId", e, r), t.Field_Field$string(e, e, !1, !1, !1, "Member name", "memberUserName", "membership.name", e, r), t.Field_Field$string(e, e, !0, !1, !1, "Member phone", "memberPhoneNumber", "membership.phoneNumber", e, r), t.Field_Field$timestamp(e, e, !1, !1, "Member birthday", "memberBirthday", "membership.birthday", e, r), t.Field_Field$string(e, e, !1, !1, !1, "Remark", "remark", "remark", e, r), t.Field_Field$string("Order source. Values: FEEDME (POS), GRABFOOD, FOODPANDA, SHOPEEFOOD, etc.", e, !1, !1, !1, "Source", "source", "source", T.x28case_, r), t.Field_Field$string("Order type. Values: DINE IN, TAKEAWAY, PICKUP, DELIVERY, DRIVE THRU", e, !1, !1, !1, "Type", "type", "type", "(case when upper(@type)='PICKUP' then upper(@type) when upper(@type)='DELIVERY' then upper(@type) when upper(@type)='DRIVE THRU' then upper(@type) when @is_takeaway is true then 'TAKEAWAY' else upper(@type) end)", r), t.Field_Field$bool(e, e, !0, !1, "Pickup", s, s, e, r), t.Field_Field$bool(e, e, !0, !1, "Is in house delivery", o, o, e, r), t.Field_Field$bool(e, e, !0, !1, "Is other delivery", l, l, e, r), t.Field_Field$bool(e, e, !0, !1, "Is takeaway", "isTakeaway", "is.takeaway", e, r), t.Field_Field$timestamp(e, e, !1, !1, "Closed at", d, d, e, r), t.Field_Field$string(e, e, !0, !1, !1, "Inclusive SST", "sstInclusive", "nettTaxes.SST.inclusive", e, r), t.Field_Field$string(e, e, !0, !1, !1, "SST before discount", "sstBeforeDiscount", "nettTaxes.SST.beforeDiscount", e, r), t.Field_Field$string(e, e, !0, !1, !1, "Inclusive SC", "serviceChargeInclusive", "nettTaxes.SERVICE_CHARGE.inclusive", e, r), t.Field_Field$string(e, e, !0, !1, !1, "SC before discount", "serviceChargeBeforeDiscount", "nettTaxes.SERVICE_CHARGE.beforeDiscount", e, r), t.Field_Field$numeric("Number of guests. Negated for refund, 0 for voided", "IF(@status = 'VOIDED', 0, IFNULL(@pax,0)*IF(@isRefund, -1, 1))", !1, !1, "Pax", "pax", "person", "(CASE WHEN @status = 'VOIDED' THEN 0 ELSE (COALESCE(@pax,0)*CASE WHEN @is_refund THEN -1 ELSE 1 END) END)", r), t.Field_Field$string(e, e, !1, !1, !1, "Integrated order ID", D, D, e, r), t.Field_Field$numeric(e, T.IFNULLi, !0, !1, "Item count", f, f, T.COALESi, r), t.Field_Field$numeric(e, "IFNULL(@taxTotal,0)*IF(@isRefund, -1, 1)", !1, !1, "Tax", p, p, T.COALEStax, r), t.Field_Field$numeric(e, T.IFNULLdiT, !1, !1, "Discount", y, y, T.COALESdit, r), t.Field_Field$numeric(e, T.IFNULLg, !1, !1, "Item gross", m, m, T.COALESg, r), t.Field_Field$numeric(e, T.x28IFNULnI, !1, !1, "Bill gross", "billGrossTotal", e, T.x28COALEnC, r), t.Field_Field$numeric(e, "IFNULL(@rounding,0)*IF(@isRefund, -1, 1)", !1, !1, "Rounding", g, g, T.COALESr, r), t.Field_Field$numeric(e, "IFNULL(@sstTotal,0)*IF(@isRefund, -1, 1)", !0, !1, "SST", "sstTotal", "nettTaxes.SST.total", T.COALESss, r), t.Field_Field$string(e, e, !0, !1, !1, "SST %", "sstPercentage", "nettTaxes.SST.percentage", e, r), t.Field_Field$numeric(e, T.IFNULLs, !1, !1, "SC", "serviceChargeTotal", "nettTaxes.SERVICE_CHARGE.total", T.COALESse, r), t.Field_Field$string(e, e, !0, !1, !1, "SC %", "serviceChargePercentage", "nettTaxes.SERVICE_CHARGE.percentage", e, r), t.Field_Field$numeric(e, T.x28IFNULo, !1, !1, "Other charge", "otherChargeTotal", "nettTaxes.OTHER_CHARGE.total", T.x28COALEo, r), t.Field_Field$numeric(e, T.x28IFNULgx2d, !1, !1, "Gross w/ takeaway", "subTotalWithoutTakeaway", e, T.x28COALEgx2d, r), t.Field_Field$numeric(e, T.IFNULLta, !1, !1, "Takeaway",
|
|
8870
|
+
var e = null, n = "seqNumber", i = "deliveryName", a = "isRefund", s = "isPickup", o = "isInHouseDelivery", l = "isDelivery", d = "completedAt", D = "integratedOrderId", f = "itemCount", p = "taxTotal", y = "discountTotal", m = "grossTotal", g = "rounding", S = "takeawayPrice", E = "thirdPartyExtraCharge", C = "deliveryFee", F = "nettTotal", M = "deliveryFeeWithTax", x = "deliveryFeeWithoutTax", R = "otherChargeWithTax", L = "otherChargeWithoutTax", w = "discountInclusiveTaxTotal";
|
|
8871
|
+
return t._setArrayType([t.Field_Field$string(e, e, !1, !1, !1, "ID", "id", "_id", e, r), t.Field_Field$string(e, e, !0, !1, !1, e, "docId", "_docId", e, r), t.Field_Field$timestamp(e, e, !0, !1, e, "publishedAt", "_publishedAt", e, r), t.Field_Field$timestamp(e, e, !1, !1, "Time", "createdAt", "_createdAt", e, r), t.Field_Field$string(e, e, !1, !1, !1, "Restaurant ID", "restaurantId", "_restaurantId", e, r), t.Field_Field$string("Values: COMPLETED, DRAFT, VOIDED, REFUNDED", e, !1, !1, !1, "Status", "status", "status", e, r), t.Field_Field$string(e, e, !1, !1, !1, "No.", n, n, e, r), t.Field_Field$string("Dine-in table name/identifier", e, !1, !1, !1, "Table", "slot", "slot", e, r), t.Field_Field$string(e, e, !1, !1, !1, "Delivery", i, i, e, r), t.Field_Field$string(e, e, !1, !1, !1, "Refund ID", "refundFrom", "refundedFrom", e, r), t.Field_Field$bool(e, e, !1, !1, "Refund", a, a, e, r), t.Field_Field$string(e, e, !0, !1, !1, e, "refundApprovedById", "refund.approvedBy.id", e, r), t.Field_Field$string(e, e, !1, !1, !1, "Refund approver", "refundApprovedByName", "refund.approvedBy.name", e, r), t.Field_Field$string(e, e, !0, !1, !1, e, "refundedById", "refund.by.id", e, r), t.Field_Field$string(e, e, !1, !1, !1, "Refund user", "refundedByName", "refund.by.name", e, r), t.Field_Field$string(e, e, !1, !1, !1, "Refund reason", "refundReason", "refund.reason", e, r), t.Field_Field$string(e, e, !1, !1, !1, "Member ID", "memberId", "membership.id", e, r), t.Field_Field$string(e, e, !1, !1, !1, "Member user ID", "memberUserId", "membership.userId", e, r), t.Field_Field$string(e, e, !1, !1, !1, "Member name", "memberUserName", "membership.name", e, r), t.Field_Field$string(e, e, !0, !1, !1, "Member phone", "memberPhoneNumber", "membership.phoneNumber", e, r), t.Field_Field$timestamp(e, e, !1, !1, "Member birthday", "memberBirthday", "membership.birthday", e, r), t.Field_Field$string(e, e, !1, !1, !1, "Remark", "remark", "remark", e, r), t.Field_Field$string("Order source. Values: FEEDME (POS), GRABFOOD, FOODPANDA, SHOPEEFOOD, etc.", e, !1, !1, !1, "Source", "source", "source", T.x28case_, r), t.Field_Field$string("Order type. Values: DINE IN, TAKEAWAY, PICKUP, DELIVERY, DRIVE THRU", e, !1, !1, !1, "Type", "type", "type", "(case when upper(@type)='PICKUP' then upper(@type) when upper(@type)='DELIVERY' then upper(@type) when upper(@type)='DRIVE THRU' then upper(@type) when @is_takeaway is true then 'TAKEAWAY' else upper(@type) end)", r), t.Field_Field$bool(e, e, !0, !1, "Pickup", s, s, e, r), t.Field_Field$bool(e, e, !0, !1, "Is in house delivery", o, o, e, r), t.Field_Field$bool(e, e, !0, !1, "Is other delivery", l, l, e, r), t.Field_Field$bool(e, e, !0, !1, "Is takeaway", "isTakeaway", "is.takeaway", e, r), t.Field_Field$timestamp(e, e, !1, !1, "Closed at", d, d, e, r), t.Field_Field$string(e, e, !0, !1, !1, "Inclusive SST", "sstInclusive", "nettTaxes.SST.inclusive", e, r), t.Field_Field$string(e, e, !0, !1, !1, "SST before discount", "sstBeforeDiscount", "nettTaxes.SST.beforeDiscount", e, r), t.Field_Field$string(e, e, !0, !1, !1, "Inclusive SC", "serviceChargeInclusive", "nettTaxes.SERVICE_CHARGE.inclusive", e, r), t.Field_Field$string(e, e, !0, !1, !1, "SC before discount", "serviceChargeBeforeDiscount", "nettTaxes.SERVICE_CHARGE.beforeDiscount", e, r), t.Field_Field$numeric("Number of guests. Negated for refund, 0 for voided", "IF(@status = 'VOIDED', 0, IFNULL(@pax,0)*IF(@isRefund, -1, 1))", !1, !1, "Pax", "pax", "person", "(CASE WHEN @status = 'VOIDED' THEN 0 ELSE (COALESCE(@pax,0)*CASE WHEN @is_refund THEN -1 ELSE 1 END) END)", r), t.Field_Field$string(e, e, !1, !1, !1, "Integrated order ID", D, D, e, r), t.Field_Field$numeric(e, T.IFNULLi, !0, !1, "Item count", f, f, T.COALESi, r), t.Field_Field$numeric(e, "IFNULL(@taxTotal,0)*IF(@isRefund, -1, 1)", !1, !1, "Tax", p, p, T.COALEStax, r), t.Field_Field$numeric(e, T.IFNULLdiT, !1, !1, "Discount", y, y, T.COALESdit, r), t.Field_Field$numeric(e, T.IFNULLg, !1, !1, "Item gross", m, m, T.COALESg, r), t.Field_Field$numeric(e, T.x28IFNULnI, !1, !1, "Bill gross", "billGrossTotal", e, T.x28COALEnC, r), t.Field_Field$numeric(e, "IFNULL(@rounding,0)*IF(@isRefund, -1, 1)", !1, !1, "Rounding", g, g, T.COALESr, r), t.Field_Field$numeric(e, "IFNULL(@sstTotal,0)*IF(@isRefund, -1, 1)", !0, !1, "SST", "sstTotal", "nettTaxes.SST.total", T.COALESss, r), t.Field_Field$string(e, e, !0, !1, !1, "SST %", "sstPercentage", "nettTaxes.SST.percentage", e, r), t.Field_Field$numeric(e, T.IFNULLs, !1, !1, "SC", "serviceChargeTotal", "nettTaxes.SERVICE_CHARGE.total", T.COALESse, r), t.Field_Field$string(e, e, !0, !1, !1, "SC %", "serviceChargePercentage", "nettTaxes.SERVICE_CHARGE.percentage", e, r), t.Field_Field$numeric(e, T.x28IFNULo, !1, !1, "Other charge", "otherChargeTotal", "nettTaxes.OTHER_CHARGE.total", T.x28COALEo, r), t.Field_Field$numeric(e, T.x28IFNULgx2d, !1, !1, "Gross w/ takeaway", "subTotalWithoutTakeaway", e, T.x28COALEgx2d, r), t.Field_Field$numeric(e, T.IFNULLta, !1, !1, "Takeaway", S, S, T.COALEStak, r), t.Field_Field$numeric(e, T.IFNULLth, !1, !1, "Extra charge", E, E, T.COALESth, r), t.Field_Field$numeric(e, T.IFNULLde_, !1, !1, "Delivery fee", C, C, T.COALESdex2c, r), t.Field_Field$numeric(e, T.IFNULLn, !1, !1, "Nett", F, F, T.COALESn, r), t.Field_Field$numeric(e, "(IFNULL(@grossTotal,0)+(case when @deliveryFeeWithTax>0 then IFNULL(@deliveryFee,0) else 0 end)+IFNULL(case when @otherChargeWithTax>0 then IFNULL(@thirdPartyExtraCharge,0) else 0 end)+IFNULL(@discountTotal,0))*IF(@isRefund, -1, 1)", !1, !1, "Item gross before charges", "grossBeforeCharges", e, "(COALESCE(@gross_total,0)+(case when @delivery_fee_with_tax>0 then COALESCE(@delivery_fee,0) else 0 end)+(case when @other_charge_with_tax>0 then COALESCE(@third_party_extra_charge,0) else 0 end)+COALESCE(@discount_total,0))*CASE WHEN @is_refund THEN -1 ELSE 1 END", r), t.Field_Field$numeric(e, T.x28IFNULn_, !1, !1, "Bill gross before charges", "billGrossBeforeCharges", e, T.x28COALEn_, r), t.Field_Field$numeric(e, e, !1, !1, "Member Recency", "recency", e, T.MIN_EX, r), t.Field_Field$numeric(e, e, !1, !1, "Member frequency", "frequency", e, T.COUNT_, r), t.Field_Field$numeric(e, e, !1, !1, "Member monetary", "monetary", e, T.SUM__n, r), t.Field_Field$numeric(e, T.IFNULLdeWT, !1, !1, "Delivery fee with tax", M, M, T.COALESdex5f_, r), t.Field_Field$numeric(e, T.IFNULLdeWo, !1, !1, "Delivery fee without tax", x, x, T.COALESdex5fo, r), t.Field_Field$numeric(e, T.IFNULLoT, !1, !1, "Other charge with tax", R, R, T.COALESo_, r), t.Field_Field$numeric(e, T.IFNULLoo, !1, !1, "Other charge without tax", L, L, T.COALESoo, r), t.Field_Field$numeric("Bill duration in seconds from creation to completion", e, !1, !1, "Duration", "duration", e, T.EXTRAC, r), t.Field_Field$string(e, e, !1, !1, !1, "Restaurant", "restaurantName", e, T.x28selecn, r), t.Field_Field$numeric(e, e, !1, !1, "Labour hour", "labourHour", e, T.x28selecS, r), t.Field_Field$string(e, e, !1, !1, !1, "Payments", "payments", e, T.x28selecstn, r), t.Field_Field$string(e, e, !1, !1, !1, "Items", "items", e, "(select string_agg(CONCAT(flatten_items.quantity,'x ',ARRAY_TO_STRING(ARRAY[CASE WHEN flatten_items.code='' THEN NULL ELSE flatten_items.code END, flatten_items.name], ' ')), ',') from flatten_items where flatten_items.bill_id=@id and flatten_items.restaurant_id=@restaurant_id and flatten_items.layer=0 and flatten_items.status!='VOIDED')", r), t.Field_Field$string(e, e, !1, !1, !1, "Discount reasons", "discountReasons", e, T.x28selecsta, r), t.Field_Field$numeric(e, T.IFNULLdiI, !1, !1, "Discount inc tax", w, w, T.COALESdii, r), t.Field_Field$string(e, e, !1, !1, !1, "Payment Summaries", "paymentSummaries", e, T.x28selecstC, r), t.Field_Field$numeric(e, e, !1, !1, "Is new member", "isNewMember", e, "(CASE WHEN EXISTS (SELECT 1 FROM members WHERE members.id=@member_id AND members.created_at::date = @created_at::date) THEN 1 ELSE 0 END)", r), t.Field_Field$numeric(e, e, !1, !1, "Is 30 days recency", "is30DaysRecency", e, "(CASE WHEN EXISTS (SELECT 1 FROM bills WHERE bills.member_id = @member_id AND bills.status != 'VOIDED' AND bills.restaurant_id = @restaurant_id AND bills.created_at >= @created_at - INTERVAL '30 days' AND bills.created_at < @created_at) THEN 1 ELSE 0 END)", r), t.Field_Field$numeric("Bill count flag: 1 normal, -1 refund, 0 voided. Use SUM to count bills", "IF(@status = 'VOIDED', 0, IF(@isRefund, -1, 1))", !1, !1, "Table count", "tableCount", e, "(CASE WHEN @status = 'VOIDED' THEN 0 ELSE (CASE WHEN @is_refund THEN -1 ELSE 1 END) END)", r), t.Field_Field$numeric("Member count flag: 1 normal, -1 refund, 0 voided. Use SUM to count members", "IF((@status = 'VOIDED' OR @memberId is null), 0, IF(@isRefund, -1, 1))", !1, !1, "Member count", "memberCount", e, "(CASE WHEN (@status = 'VOIDED' OR @member_id is null) THEN 0 ELSE (CASE WHEN @is_refund THEN -1 ELSE 1 END) END)", r)], c.JSArray_Field);
|
|
8872
8872
|
},
|
|
8873
8873
|
$signature: 0
|
|
8874
8874
|
}, t.billSchema_closure0.prototype = {
|
|
@@ -9007,8 +9007,8 @@ Arguments: [` + d + "]";
|
|
|
9007
9007
|
$signature: 1
|
|
9008
9008
|
}, t.completeTimeBillSchema_closure.prototype = {
|
|
9009
9009
|
call$1(r) {
|
|
9010
|
-
var e = null, n = "seqNumber", i = "deliveryName", a = "isRefund", s = "isPickup", o = "isInHouseDelivery", l = "isDelivery", d = "completedAt", D = "integratedOrderId", f = "itemCount", p = "taxTotal", y = "discountTotal", m = "grossTotal", g = "rounding",
|
|
9011
|
-
return t._setArrayType([t.Field_Field$string(e, e, !1, !1, !1, "ID", "id", "_id", e, r), t.Field_Field$string(e, e, !0, !1, !1, e, "docId", "_docId", e, r), t.Field_Field$timestamp(e, e, !0, !1, e, "publishedAt", "_publishedAt", e, r), t.Field_Field$timestamp(e, e, !1, !1, "Time", "createdAt", "_createdAt", e, r), t.Field_Field$string(e, e, !1, !1, !1, "Restaurant ID", "restaurantId", "_restaurantId", e, r), t.Field_Field$string(e, e, !1, !1, !1, "Status", "status", "status", e, r), t.Field_Field$string(e, e, !1, !1, !1, "No.", n, n, e, r), t.Field_Field$string(e, e, !1, !1, !1, "Table", "slot", "slot", e, r), t.Field_Field$string(e, e, !1, !1, !1, "Delivery", i, i, e, r), t.Field_Field$string(e, e, !1, !1, !1, "Refund ID", "refundFrom", "refundedFrom", e, r), t.Field_Field$bool(e, e, !1, !1, "Refund", a, a, e, r), t.Field_Field$string(e, e, !0, !1, !1, e, "refundApprovedById", "refund.approvedBy.id", e, r), t.Field_Field$string(e, e, !1, !1, !1, "Refund approver", "refundApprovedByName", "refund.approvedBy.name", e, r), t.Field_Field$string(e, e, !0, !1, !1, e, "refundedById", "refund.by.id", e, r), t.Field_Field$string(e, e, !1, !1, !1, "Refund user", "refundedByName", "refund.by.name", e, r), t.Field_Field$string(e, e, !1, !1, !1, "Refund reason", "refundReason", "refund.reason", e, r), t.Field_Field$string(e, e, !1, !1, !1, "Member ID", "memberId", "membership.id", e, r), t.Field_Field$string(e, e, !1, !1, !1, "Member user ID", "memberUserId", "membership.userId", e, r), t.Field_Field$string(e, e, !1, !1, !1, "Member name", "memberUserName", "membership.name", e, r), t.Field_Field$string(e, e, !0, !1, !1, "Member phone", "memberPhoneNumber", "membership.phoneNumber", e, r), t.Field_Field$timestamp(e, e, !1, !1, "Member birthday", "memberBirthday", "membership.birthday", e, r), t.Field_Field$string(e, e, !1, !1, !1, "Remark", "remark", "remark", e, r), t.Field_Field$string(e, e, !1, !1, !1, "Source", "source", "source", T.x28case_, r), t.Field_Field$string(e, e, !1, !1, !1, "Type", "type", "type", "(case when upper(@type)='PICKUP' then upper(@type) when upper(@type)='DELIVERY' then upper(@type) when @is_takeaway is true then 'TAKEAWAY' else upper(@type) end)", r), t.Field_Field$bool(e, e, !0, !1, "Pickup", s, s, e, r), t.Field_Field$bool(e, e, !0, !1, "Is in house delivery", o, o, e, r), t.Field_Field$bool(e, e, !0, !1, "Is other delivery", l, l, e, r), t.Field_Field$bool(e, e, !0, !1, "Is takeaway", "isTakeaway", "is.takeaway", e, r), t.Field_Field$timestamp(e, e, !1, !1, "Closed at", d, d, e, r), t.Field_Field$string(e, e, !0, !1, !1, "Inclusive SST", "sstInclusive", "nettTaxes.SST.inclusive", e, r), t.Field_Field$string(e, e, !0, !1, !1, "SST before discount", "sstBeforeDiscount", "nettTaxes.SST.beforeDiscount", e, r), t.Field_Field$string(e, e, !0, !1, !1, "Inclusive SC", "serviceChargeInclusive", "nettTaxes.SERVICE_CHARGE.inclusive", e, r), t.Field_Field$string(e, e, !0, !1, !1, "SC before discount", "serviceChargeBeforeDiscount", "nettTaxes.SERVICE_CHARGE.beforeDiscount", e, r), t.Field_Field$numeric(e, "IFNULL(@pax,0)*IF(@isRefund, -1, 1)", !1, !1, "Pax", "pax", "person", T.COALESp, r), t.Field_Field$string(e, e, !1, !1, !1, "Integrated order ID", D, D, e, r), t.Field_Field$numeric(e, T.IFNULLi, !0, !1, "Item count", f, f, T.COALESi, r), t.Field_Field$numeric(e, "IFNULL(@taxTotal,0)*IF(@isRefund, -1, 1)", !1, !1, "Tax", p, p, T.COALEStax, r), t.Field_Field$numeric(e, T.IFNULLdiT, !1, !1, "Discount", y, y, T.COALESdit, r), t.Field_Field$numeric(e, T.IFNULLg, !1, !1, "Item gross", m, m, T.COALESg, r), t.Field_Field$numeric(e, T.x28IFNULnI, !1, !1, "Bill gross", "billGrossTotal", e, T.x28COALEnC, r), t.Field_Field$numeric(e, "IFNULL(@rounding,0)*IF(@isRefund, -1, 1)", !1, !1, "Rounding", g, g, T.COALESr, r), t.Field_Field$numeric(e, "IFNULL(@sstTotal,0)*IF(@isRefund, -1, 1)", !0, !1, "SST", "sstTotal", "nettTaxes.SST.total", T.COALESss, r), t.Field_Field$string(e, e, !0, !1, !1, "SST %", "sstPercentage", "nettTaxes.SST.percentage", e, r), t.Field_Field$numeric(e, T.IFNULLs, !1, !1, "SC", "serviceChargeTotal", "nettTaxes.SERVICE_CHARGE.total", T.COALESse, r), t.Field_Field$string(e, e, !0, !1, !1, "SC %", "serviceChargePercentage", "nettTaxes.SERVICE_CHARGE.percentage", e, r), t.Field_Field$numeric(e, T.x28IFNULo, !1, !1, "Other charge", "otherChargeTotal", "nettTaxes.OTHER_CHARGE.total", T.x28COALEo, r), t.Field_Field$numeric(e, T.x28IFNULgx2d, !1, !1, "Gross w/ takeaway", "subTotalWithoutTakeaway", e, T.x28COALEgx2d, r), t.Field_Field$numeric(e, T.IFNULLta, !1, !1, "Takeaway",
|
|
9010
|
+
var e = null, n = "seqNumber", i = "deliveryName", a = "isRefund", s = "isPickup", o = "isInHouseDelivery", l = "isDelivery", d = "completedAt", D = "integratedOrderId", f = "itemCount", p = "taxTotal", y = "discountTotal", m = "grossTotal", g = "rounding", S = "takeawayPrice", E = "thirdPartyExtraCharge", C = "deliveryFee", F = "nettTotal", M = "deliveryFeeWithTax", x = "deliveryFeeWithoutTax", R = "otherChargeWithTax", L = "otherChargeWithoutTax", w = "discountInclusiveTaxTotal";
|
|
9011
|
+
return t._setArrayType([t.Field_Field$string(e, e, !1, !1, !1, "ID", "id", "_id", e, r), t.Field_Field$string(e, e, !0, !1, !1, e, "docId", "_docId", e, r), t.Field_Field$timestamp(e, e, !0, !1, e, "publishedAt", "_publishedAt", e, r), t.Field_Field$timestamp(e, e, !1, !1, "Time", "createdAt", "_createdAt", e, r), t.Field_Field$string(e, e, !1, !1, !1, "Restaurant ID", "restaurantId", "_restaurantId", e, r), t.Field_Field$string(e, e, !1, !1, !1, "Status", "status", "status", e, r), t.Field_Field$string(e, e, !1, !1, !1, "No.", n, n, e, r), t.Field_Field$string(e, e, !1, !1, !1, "Table", "slot", "slot", e, r), t.Field_Field$string(e, e, !1, !1, !1, "Delivery", i, i, e, r), t.Field_Field$string(e, e, !1, !1, !1, "Refund ID", "refundFrom", "refundedFrom", e, r), t.Field_Field$bool(e, e, !1, !1, "Refund", a, a, e, r), t.Field_Field$string(e, e, !0, !1, !1, e, "refundApprovedById", "refund.approvedBy.id", e, r), t.Field_Field$string(e, e, !1, !1, !1, "Refund approver", "refundApprovedByName", "refund.approvedBy.name", e, r), t.Field_Field$string(e, e, !0, !1, !1, e, "refundedById", "refund.by.id", e, r), t.Field_Field$string(e, e, !1, !1, !1, "Refund user", "refundedByName", "refund.by.name", e, r), t.Field_Field$string(e, e, !1, !1, !1, "Refund reason", "refundReason", "refund.reason", e, r), t.Field_Field$string(e, e, !1, !1, !1, "Member ID", "memberId", "membership.id", e, r), t.Field_Field$string(e, e, !1, !1, !1, "Member user ID", "memberUserId", "membership.userId", e, r), t.Field_Field$string(e, e, !1, !1, !1, "Member name", "memberUserName", "membership.name", e, r), t.Field_Field$string(e, e, !0, !1, !1, "Member phone", "memberPhoneNumber", "membership.phoneNumber", e, r), t.Field_Field$timestamp(e, e, !1, !1, "Member birthday", "memberBirthday", "membership.birthday", e, r), t.Field_Field$string(e, e, !1, !1, !1, "Remark", "remark", "remark", e, r), t.Field_Field$string(e, e, !1, !1, !1, "Source", "source", "source", T.x28case_, r), t.Field_Field$string(e, e, !1, !1, !1, "Type", "type", "type", "(case when upper(@type)='PICKUP' then upper(@type) when upper(@type)='DELIVERY' then upper(@type) when @is_takeaway is true then 'TAKEAWAY' else upper(@type) end)", r), t.Field_Field$bool(e, e, !0, !1, "Pickup", s, s, e, r), t.Field_Field$bool(e, e, !0, !1, "Is in house delivery", o, o, e, r), t.Field_Field$bool(e, e, !0, !1, "Is other delivery", l, l, e, r), t.Field_Field$bool(e, e, !0, !1, "Is takeaway", "isTakeaway", "is.takeaway", e, r), t.Field_Field$timestamp(e, e, !1, !1, "Closed at", d, d, e, r), t.Field_Field$string(e, e, !0, !1, !1, "Inclusive SST", "sstInclusive", "nettTaxes.SST.inclusive", e, r), t.Field_Field$string(e, e, !0, !1, !1, "SST before discount", "sstBeforeDiscount", "nettTaxes.SST.beforeDiscount", e, r), t.Field_Field$string(e, e, !0, !1, !1, "Inclusive SC", "serviceChargeInclusive", "nettTaxes.SERVICE_CHARGE.inclusive", e, r), t.Field_Field$string(e, e, !0, !1, !1, "SC before discount", "serviceChargeBeforeDiscount", "nettTaxes.SERVICE_CHARGE.beforeDiscount", e, r), t.Field_Field$numeric(e, "IFNULL(@pax,0)*IF(@isRefund, -1, 1)", !1, !1, "Pax", "pax", "person", T.COALESp, r), t.Field_Field$string(e, e, !1, !1, !1, "Integrated order ID", D, D, e, r), t.Field_Field$numeric(e, T.IFNULLi, !0, !1, "Item count", f, f, T.COALESi, r), t.Field_Field$numeric(e, "IFNULL(@taxTotal,0)*IF(@isRefund, -1, 1)", !1, !1, "Tax", p, p, T.COALEStax, r), t.Field_Field$numeric(e, T.IFNULLdiT, !1, !1, "Discount", y, y, T.COALESdit, r), t.Field_Field$numeric(e, T.IFNULLg, !1, !1, "Item gross", m, m, T.COALESg, r), t.Field_Field$numeric(e, T.x28IFNULnI, !1, !1, "Bill gross", "billGrossTotal", e, T.x28COALEnC, r), t.Field_Field$numeric(e, "IFNULL(@rounding,0)*IF(@isRefund, -1, 1)", !1, !1, "Rounding", g, g, T.COALESr, r), t.Field_Field$numeric(e, "IFNULL(@sstTotal,0)*IF(@isRefund, -1, 1)", !0, !1, "SST", "sstTotal", "nettTaxes.SST.total", T.COALESss, r), t.Field_Field$string(e, e, !0, !1, !1, "SST %", "sstPercentage", "nettTaxes.SST.percentage", e, r), t.Field_Field$numeric(e, T.IFNULLs, !1, !1, "SC", "serviceChargeTotal", "nettTaxes.SERVICE_CHARGE.total", T.COALESse, r), t.Field_Field$string(e, e, !0, !1, !1, "SC %", "serviceChargePercentage", "nettTaxes.SERVICE_CHARGE.percentage", e, r), t.Field_Field$numeric(e, T.x28IFNULo, !1, !1, "Other charge", "otherChargeTotal", "nettTaxes.OTHER_CHARGE.total", T.x28COALEo, r), t.Field_Field$numeric(e, T.x28IFNULgx2d, !1, !1, "Gross w/ takeaway", "subTotalWithoutTakeaway", e, T.x28COALEgx2d, r), t.Field_Field$numeric(e, T.IFNULLta, !1, !1, "Takeaway", S, S, T.COALEStak, r), t.Field_Field$numeric(e, T.IFNULLth, !1, !1, "Extra charge", E, E, T.COALESth, r), t.Field_Field$numeric(e, T.IFNULLde_, !1, !1, "Delivery fee", C, C, T.COALESdex2c, r), t.Field_Field$numeric(e, T.IFNULLn, !1, !1, "Nett", F, F, T.COALESn, r), t.Field_Field$numeric(e, "(IFNULL(@grossTotal,0)+IFNULL(@deliveryFeeWithTax,0)+IFNULL(@otherChargeWithTax,0)+IFNULL(@discountTotal,0))*IF(@isRefund, -1, 1)", !1, !1, "Item gross before charges", "grossBeforeCharges", e, "(COALESCE(@gross_total,0)+COALESCE(@delivery_fee_with_tax,0)+COALESCE(@other_charge_with_tax,0)+COALESCE(@discount_total,0))*CASE WHEN @is_refund THEN -1 ELSE 1 END", r), t.Field_Field$numeric(e, T.x28IFNULn_, !1, !1, "Bill gross before charges", "billGrossBeforeCharges", e, T.x28COALEn_, r), t.Field_Field$numeric(e, e, !1, !1, "Member Recency", "recency", e, T.MIN_EX, r), t.Field_Field$numeric(e, e, !1, !1, "Member frequency", "frequency", e, T.COUNT_, r), t.Field_Field$numeric(e, e, !1, !1, "Member monetary", "monetary", e, T.SUM__n, r), t.Field_Field$numeric(e, T.IFNULLdeWT, !1, !1, "Delivery fee with tax", M, M, T.COALESdex5f_, r), t.Field_Field$numeric(e, T.IFNULLdeWo, !1, !1, "Delivery fee without tax", x, x, T.COALESdex5fo, r), t.Field_Field$numeric(e, T.IFNULLoT, !1, !1, "Other charge with tax", R, R, T.COALESo_, r), t.Field_Field$numeric(e, T.IFNULLoo, !1, !1, "Other charge without tax", L, L, T.COALESoo, r), t.Field_Field$numeric(e, e, !1, !1, "Duration", "duration", e, T.EXTRAC, r), t.Field_Field$string(e, e, !1, !1, !1, "Restaurant", "restaurantName", e, T.x28selecn, r), t.Field_Field$numeric(e, e, !1, !1, "Labour hour", "labourHour", e, T.x28selecS, r), t.Field_Field$string(e, e, !1, !1, !1, "Payments", "payments", e, T.x28selecstn, r), t.Field_Field$string(e, e, !1, !1, !1, "Items", "items", e, "(select string_agg(CONCAT(flatten_items.quantity,'x ',ARRAY_TO_STRING(ARRAY[CASE WHEN flatten_items.code='' THEN NULL ELSE flatten_items.code END, flatten_items.name], ' ')), ',') from flatten_items where flatten_items.bill_id=@id and flatten_items.restaurant_id=@restaurant_id and flatten_items.layer=0)", r), t.Field_Field$string(e, e, !1, !1, !1, "Discount reasons", "discountReasons", e, T.x28selecsta, r), t.Field_Field$numeric(e, T.IFNULLdiI, !1, !1, "Discount inc tax", w, w, T.COALESdii, r), t.Field_Field$string(e, e, !1, !1, !1, "Payment Summaries", "paymentSummaries", e, T.x28selecstC, r)], c.JSArray_Field);
|
|
9012
9012
|
},
|
|
9013
9013
|
$signature: 0
|
|
9014
9014
|
}, t.completeTimeBillSchema_closure0.prototype = {
|
|
@@ -9077,10 +9077,10 @@ Arguments: [` + d + "]";
|
|
|
9077
9077
|
$signature: 1
|
|
9078
9078
|
}, t.flattenItemSchema_closure.prototype = {
|
|
9079
9079
|
call$1(r) {
|
|
9080
|
-
var e = null, n = "itemCreatedAt", i = "billCompletedAt", a = "perXUnit", s = "takeawayId", o = "takeawayName", l = "productId", d = "isRefund", D = "servedAt", f = "isTakeaway", p = "quantity", y = "unitQuantity", m = "billAdjustmentTotal", g = "itemAdjustmentTotal",
|
|
9080
|
+
var e = null, n = "itemCreatedAt", i = "billCompletedAt", a = "perXUnit", s = "takeawayId", o = "takeawayName", l = "productId", d = "isRefund", D = "servedAt", f = "isTakeaway", p = "quantity", y = "unitQuantity", m = "billAdjustmentTotal", g = "itemAdjustmentTotal", S = "grossTotal", E = "takeawayPrice", C = "nettTotal", F = "layerNettTotal", M = "layerBillAdjustmentTotal", x = "layerItemAdjustmentTotal", R = "layerGrossTotal", L = "layerTakeawayPrice", w = "layerTaxTotal", v = "layerScTotal", k = "layerOtherChargeTotal", j = "customAttributes", f0 = "layerZeroParentId", h0 = "collectedAt", o0 = "subCategories", S0 = "billAdjustmentInclusiveTaxTotal", b0 = "itemAdjustmentInclusiveTaxTotal", M0 = "layerBillAdjustmentInclusiveTaxTotal", R0 = "layerItemAdjustmentInclusiveTaxTotal", T0 = "billAdjustmentExclusiveTaxTotal", I0 = "itemAdjustmentExclusiveTaxTotal", x0 = "layerBillAdjustmentExclusiveTaxTotal", F0 = "layerItemAdjustmentExclusiveTaxTotal";
|
|
9081
9081
|
return t._setArrayType([t.Field_Field$string(e, e, !1, !1, !1, "ID", "id", "_id", e, r), t.Field_Field$string(e, e, !0, !1, !1, e, "docId", "_docId", e, r), t.Field_Field$string(e, e, !1, !1, !1, "Restaurant ID", "restaurantId", "_restaurantId", e, r), t.Field_Field$timestamp(e, e, !1, !1, "Time", "createdAt", "_createdAt", e, r), t.Field_Field$timestamp(e, e, !0, !1, e, "publishedAt", "_publishedAt", e, r), t.Field_Field$timestamp(e, e, !1, !1, "Item time", n, n, e, r), t.Field_Field$timestamp(e, e, !1, !1, "Bill close time", i, i, e, r), t.Field_Field$string(e, e, !1, !1, !1, "Bill ID", "billId", "billId", e, r), t.Field_Field$string("Values: DRAFT, VOIDED, SENT. DRAFT and SENT both considered valid sales.", e, !1, !1, !1, "Status", "status", "status", e, r), t.Field_Field$string(e, e, !1, !1, !0, "Name", "name", "name", e, r), t.Field_Field$numeric(e, e, !1, !1, "Per unit", a, a, e, r), t.Field_Field$string(e, e, !1, !1, !1, "Unit", "unit", "unit", e, r), t.Field_Field$string(e, `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)
|
|
9082
9082
|
`, !1, !1, !0, "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
|
|
9083
|
-
`, r), t.Field_Field$string(e, e, !1, !1, !1, "Takeaway ID", s, s, e, r), t.Field_Field$string(e, e, !1, !1, !1, "Takeaway name", o, o, e, r), t.Field_Field$string(e, e, !1, !1, !1, "Code", "code", "code", e, r), t.Field_Field$string(e, e, !1, !1, !1, "Remark", "remark", "remark", e, r), t.Field_Field$string(e, e, !1, !1, !1, "Product ID", l, l, e, r), t.Field_Field$string(e, e, !1, !1, !1, "Variant ID", "variantId", "variant.id", e, r), t.Field_Field$string(e, e, !1, !1, !1, "Variant", "variantName", "variant.name", e, r), t.Field_Field$bool(e, e, !1, !1, "Refund", d, d, e, r), t.Field_Field$string(e, e, !1, !1, !1, "User id", "createdById", "createdBy.id", e, r), t.Field_Field$string(e, e, !1, !1, !1, "User", "createdByName", "createdBy.name", e, r), t.Field_Field$timestamp(e, e, !1, !1, "Sent time", "sentAt", "sentAt", e, r), t.Field_Field$timestamp(e, e, !1, !1, "Served time", D, D, e, r), t.Field_Field$timestamp(e, e, !1, !1, "Printed time", "printedAt", "printBy.printAt", e, r), t.Field_Field$timestamp(e, e, !1, !1, "Void time", "voidAt", "void.voidAt", e, r), t.Field_Field$string(e, e, !1, !1, !1, "Void reason", "voidReason", "void.reason", e, r), t.Field_Field$string(e, e, !0, !1, !1, e, "voidedById", "void.by.id", e, r), t.Field_Field$string(e, e, !1, !1, !1, "Void user", "voidedByName", "void.by.name", e, r), t.Field_Field$string(e, e, !0, !1, !1, e, "voidApprovedById", "void.approvedBy.id", e, r), t.Field_Field$string(e, e, !1, !1, !1, "Void approver", "voidApprovedByName", "void.approvedBy.name", e, r), t.Field_Field$bool(e, e, !0, !1, "SST before discount", "sstBeforeDiscount", "sst.beforeDiscount", e, r), t.Field_Field$bool(e, e, !0, !1, "SC before discount", "serviceChargeBeforeDiscount", "sc.beforeDiscount", e, r), t.Field_Field$bool(e, e, !1, !1, "Takeaway", f, f, e, r), t.Field_Field$numeric(e, "@quantity*IF(@isRefund, -1, 1)", !1, !1, "Qty", p, p, T.x40quant, r), t.Field_Field$numeric(e, "@unitQuantity*IF(@isRefund, -1, 1)", !1, !1, "Unit qty", y, y, T.x40unit_, r), t.Field_Field$numeric(e, "@sstTotal*IF(@isRefund, -1, 1)", !1, !1, "SST", "sstTotal", "sst.total", T.x40sst_t, r), t.Field_Field$numeric(e, e, !0, !1, "SST %", "sstPercentage", "sst.percentage", e, r), t.Field_Field$numeric(e, e, !0, !1, "SC %", "serviceChargePercentage", "sc.percentage", e, r), t.Field_Field$numeric(e, "@serviceChargeTotal*IF(@isRefund, -1, 1)", !1, !1, "SC", "serviceChargeTotal", "sc.total", T.x40servi, r), t.Field_Field$numeric(e, "@otherChargeTotal*IF(@isRefund, -1, 1)", !1, !1, "Other charge", "otherChargeTotal", "otherCharge.total", T.x40other, r), t.Field_Field$numeric(e, T.x40billA, !1, !1, "Bill discount", m, m, T.x40bill_, r), t.Field_Field$numeric(e, T.x40itemA, !1, !1, "Item discount", g, g, T.x40item_, r), t.Field_Field$numeric(e, "@grossTotal*IF(@isRefund, -1, 1)", !1, !1, "Gross",
|
|
9083
|
+
`, r), t.Field_Field$string(e, e, !1, !1, !1, "Takeaway ID", s, s, e, r), t.Field_Field$string(e, e, !1, !1, !1, "Takeaway name", o, o, e, r), t.Field_Field$string(e, e, !1, !1, !1, "Code", "code", "code", e, r), t.Field_Field$string(e, e, !1, !1, !1, "Remark", "remark", "remark", e, r), t.Field_Field$string(e, e, !1, !1, !1, "Product ID", l, l, e, r), t.Field_Field$string(e, e, !1, !1, !1, "Variant ID", "variantId", "variant.id", e, r), t.Field_Field$string(e, e, !1, !1, !1, "Variant", "variantName", "variant.name", e, r), t.Field_Field$bool(e, e, !1, !1, "Refund", d, d, e, r), t.Field_Field$string(e, e, !1, !1, !1, "User id", "createdById", "createdBy.id", e, r), t.Field_Field$string(e, e, !1, !1, !1, "User", "createdByName", "createdBy.name", e, r), t.Field_Field$timestamp(e, e, !1, !1, "Sent time", "sentAt", "sentAt", e, r), t.Field_Field$timestamp(e, e, !1, !1, "Served time", D, D, e, r), t.Field_Field$timestamp(e, e, !1, !1, "Printed time", "printedAt", "printBy.printAt", e, r), t.Field_Field$timestamp(e, e, !1, !1, "Void time", "voidAt", "void.voidAt", e, r), t.Field_Field$string(e, e, !1, !1, !1, "Void reason", "voidReason", "void.reason", e, r), t.Field_Field$string(e, e, !0, !1, !1, e, "voidedById", "void.by.id", e, r), t.Field_Field$string(e, e, !1, !1, !1, "Void user", "voidedByName", "void.by.name", e, r), t.Field_Field$string(e, e, !0, !1, !1, e, "voidApprovedById", "void.approvedBy.id", e, r), t.Field_Field$string(e, e, !1, !1, !1, "Void approver", "voidApprovedByName", "void.approvedBy.name", e, r), t.Field_Field$bool(e, e, !0, !1, "SST before discount", "sstBeforeDiscount", "sst.beforeDiscount", e, r), t.Field_Field$bool(e, e, !0, !1, "SC before discount", "serviceChargeBeforeDiscount", "sc.beforeDiscount", e, r), t.Field_Field$bool(e, e, !1, !1, "Takeaway", f, f, e, r), t.Field_Field$numeric(e, "@quantity*IF(@isRefund, -1, 1)", !1, !1, "Qty", p, p, T.x40quant, r), t.Field_Field$numeric(e, "@unitQuantity*IF(@isRefund, -1, 1)", !1, !1, "Unit qty", y, y, T.x40unit_, r), t.Field_Field$numeric(e, "@sstTotal*IF(@isRefund, -1, 1)", !1, !1, "SST", "sstTotal", "sst.total", T.x40sst_t, r), t.Field_Field$numeric(e, e, !0, !1, "SST %", "sstPercentage", "sst.percentage", e, r), t.Field_Field$numeric(e, e, !0, !1, "SC %", "serviceChargePercentage", "sc.percentage", e, r), t.Field_Field$numeric(e, "@serviceChargeTotal*IF(@isRefund, -1, 1)", !1, !1, "SC", "serviceChargeTotal", "sc.total", T.x40servi, r), t.Field_Field$numeric(e, "@otherChargeTotal*IF(@isRefund, -1, 1)", !1, !1, "Other charge", "otherChargeTotal", "otherCharge.total", T.x40other, r), t.Field_Field$numeric(e, T.x40billA, !1, !1, "Bill discount", m, m, T.x40bill_, r), t.Field_Field$numeric(e, T.x40itemA, !1, !1, "Item discount", g, g, T.x40item_, r), t.Field_Field$numeric(e, "@grossTotal*IF(@isRefund, -1, 1)", !1, !1, "Gross", S, S, T.x40gross, r), t.Field_Field$numeric(e, T.x28_grosT, !1, !1, "Gross w/ takeaway", "grossTotalWithoutTakeaway", e, T.x28_gros_, r), t.Field_Field$numeric(e, "@takeawayPrice*IF(@isRefund, -1, 1)", !1, !1, "Takeaway price", E, E, T.x40takea, r), t.Field_Field$numeric(e, "@nettTotal*IF(@isRefund, -1, 1)", !1, !1, "Nett", C, C, T.x40nett_, r), t.Field_Field$string(e, e, !1, !1, !1, "Parent ID", "parentId", "parent.id", e, r), t.Field_Field$string(e, e, !1, !1, !1, "Parent name", "parentName", "parent.name", e, r), t.Field_Field$string(e, e, !1, !1, !1, "Addon type", "addonType", "addon.type", e, r), t.Field_Field$string(e, e, !1, !1, !1, "Addon ID", "addonId", "addon.selectionId", e, r), t.Field_Field$string(e, "SPLIT(@addonId, '/')[OFFSET(0)]", !1, !1, !1, "Group ID", "groupId", e, "SPLIT_PART(@addon_id, '/',1)", r), t.Field_Field$numeric("Item depth: 0 = main item. 1+ = addon/modifier level. -1 = bill level modifier, usually not consider item sales.", e, !1, !1, "Layer", "layer", "layer", e, r), t.Field_Field$numeric(e, "@addonPrice*IF(@isRefund, -1, 1)", !1, !1, "Addon price", "addonPrice", "addon.price", T.x40addon, r), t.Field_Field$numeric(e, "@taxTotal*IF(@isRefund, -1, 1)", !1, !1, "Tax", "taxTotal", "tax.total", "@tax_total*CASE WHEN @is_refund THEN -1 ELSE 1 END", r), t.Field_Field$numeric(e, T.x28IFNULb, !1, !1, "Discount", "discountTotal", e, T.x28COALEb, r), t.Field_Field$numeric(e, T.x28IFNULgx2b, !1, !1, "Gross before charges", "grossBeforeCharges", e, T.x28COALEgx2b, r), t.Field_Field$string(e, "CONCAT(@quantity,'x ',ARRAY_TO_STRING([IF(@code='', NULL, @code), @name], ' '))", !1, !1, !1, "Summary", "summary", e, "CONCAT(@quantity,'x ',ARRAY_TO_STRING(ARRAY[CASE WHEN @code='' THEN NULL ELSE @code END, @name], ' '))", r), t.Field_Field$numeric(e, "@layerNettTotal*IF(@isRefund, -1, 1)", !1, !1, "Layer nett", F, F, "@layer_nett_total*CASE WHEN @is_refund THEN -1 ELSE 1 END", r), t.Field_Field$numeric(e, "@layerBillAdjustmentTotal*IF(@isRefund, -1, 1)", !1, !1, "Layer bill discount", M, M, "@layer_bill_adjustment_total*CASE WHEN @is_refund THEN -1 ELSE 1 END", r), t.Field_Field$numeric(e, "@layerItemAdjustmentTotal*IF(@isRefund, -1, 1)", !1, !1, "Layer item discount", x, x, "@layer_item_adjustment_total*CASE WHEN @is_refund THEN -1 ELSE 1 END", r), t.Field_Field$numeric(e, "@layerGrossTotal*IF(@isRefund, -1, 1)", !1, !1, "Layer gross total", R, R, "@layer_gross_total*CASE WHEN @is_refund THEN -1 ELSE 1 END", r), t.Field_Field$numeric(e, "@layerTakeawayPrice*IF(@isRefund, -1, 1)", !1, !1, "Layer takeaway price", L, L, "@layer_takeaway_price*CASE WHEN @is_refund THEN -1 ELSE 1 END", r), t.Field_Field$numeric(e, "@layerTaxTotal*IF(@isRefund, -1, 1)", !1, !1, "Layer tax total", w, w, "@layer_tax_total*CASE WHEN @is_refund THEN -1 ELSE 1 END", r), t.Field_Field$numeric(e, "@layerScTotal*IF(@isRefund, -1, 1)", !1, !1, "Layer sc", v, v, "@layer_sc_total*CASE WHEN @is_refund THEN -1 ELSE 1 END", r), t.Field_Field$numeric(e, "@layerOtherChargeTotal*IF(@isRefund, -1, 1)", !1, !1, "Layer other charge", k, k, "@layer_other_charge_total*CASE WHEN @is_refund THEN -1 ELSE 1 END", r), t.Field_Field$numeric(e, "(IFNULL(@layerGrossTotal,0)+IFNULL(@layerBillAdjustmentTotal,0)+IFNULL(@layerItemAdjustmentTotal,0))*IF(@isRefund, -1, 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, e, !1, !1, !1, "Custom attributes", j, j, e, r), t.Field_Field$string(e, e, !1, !1, !1, "Layer 0 parent ID", f0, f0, e, r), t.Field_Field$string(e, e, !1, !1, !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 != 'SERVICE_CHARGE')", r), t.Field_Field$timestamp(e, e, !1, !1, "Collected time", h0, h0, e, r), t.Field_Field$numeric(e, e, !1, !1, "Costing", "costing", "costing", e, r), t.Field_Field$numeric(e, "ROUND(TIMESTAMP_DIFF(IFNULL(@servedAt, CURRENT_TIMESTAMP), @sentAt, SECOND),0)", !1, !1, "Preparation seconds", "preparationSeconds", e, "ROUND(EXTRACT(EPOCH FROM AGE(COALESCE(@served_at, CURRENT_TIMESTAMP),@sent_at)),0)", r), t.Field_Field$numeric("Computed: nett total minus costing", "(@nettTotal-coalesce(@costing, 0))", !1, !1, "Profit", "profit", e, "(@nett_total-coalesce(@costing, 0))", r), t.Field_Field$string(e, e, !1, !1, !1, "Layer 0 parent name", "layerZeroParentName", e, "(select name from flatten_items where flatten_items.id=@layer_zero_parent_id and flatten_items.restaurant_id=@restaurant_id and flatten_items.bill_id=@bill_id)", r), t.Field_Field$string(e, e, !1, !1, !1, "Layer 0 parent code", "layerZeroParentCode", e, "(select code from flatten_items where flatten_items.id=@layer_zero_parent_id and flatten_items.restaurant_id=@restaurant_id and flatten_items.bill_id=@bill_id)", r), t.Field_Field$string(e, e, !1, !1, !1, "Layer 0 parent category", "layerZeroParentCategory", e, "(select category_name from flatten_items where flatten_items.id=@layer_zero_parent_id and flatten_items.restaurant_id=@restaurant_id and flatten_items.bill_id=@bill_id)", r), t.Field_Field$string(e, e, !1, !1, !1, "Sub categories", o0, o0, e, r), t.Field_Field$numeric(e, "@billAdjustmentInclusiveTaxTotal*IF(@isRefund, -1, 1)", !1, !1, "Bill discount inc tax", S0, S0, "@bill_adjustment_inclusive_tax_total*CASE WHEN @is_refund THEN -1 ELSE 1 END", r), t.Field_Field$numeric(e, "@itemAdjustmentInclusiveTaxTotal*IF(@isRefund, -1, 1)", !1, !1, "Item discount inc tax", b0, b0, "@item_adjustment_inclusive_tax_total*CASE WHEN @is_refund THEN -1 ELSE 1 END", r), t.Field_Field$numeric(e, "@layerBillAdjustmentInclusiveTaxTotal*IF(@isRefund, -1, 1)", !1, !1, "Layer bill discount inc tax", M0, M0, "@layer_bill_adjustment_inclusive_tax_total*CASE WHEN @is_refund THEN -1 ELSE 1 END", r), t.Field_Field$numeric(e, "@layerItemAdjustmentInclusiveTaxTotal*IF(@isRefund, -1, 1)", !1, !1, "Layer item discount inc tax", R0, R0, "@layer_item_adjustment_inclusive_tax_total*CASE WHEN @is_refund THEN -1 ELSE 1 END", r), t.Field_Field$numeric(e, "@billAdjustmentExclusiveTaxTotal*IF(@isRefund, -1, 1)", !1, !1, "Bill discount exc tax", T0, T0, "@bill_adjustment_exclusive_tax_total*CASE WHEN @is_refund THEN -1 ELSE 1 END", r), t.Field_Field$numeric(e, "@itemAdjustmentExclusiveTaxTotal*IF(@isRefund, -1, 1)", !1, !1, "Item discount exc tax", I0, I0, "@item_adjustment_exclusive_tax_total*CASE WHEN @is_refund THEN -1 ELSE 1 END", r), t.Field_Field$numeric(e, "@layerBillAdjustmentExclusiveTaxTotal*IF(@isRefund, -1, 1)", !1, !1, "Layer bill discount exc tax", x0, x0, "@layer_bill_adjustment_exclusive_tax_total*CASE WHEN @is_refund THEN -1 ELSE 1 END", r), t.Field_Field$numeric(e, "@layerItemAdjustmentExclusiveTaxTotal*IF(@isRefund, -1, 1)", !1, !1, "Layer item discount exc tax", F0, F0, "@layer_item_adjustment_exclusive_tax_total*CASE WHEN @is_refund THEN -1 ELSE 1 END", r)], c.JSArray_Field);
|
|
9084
9084
|
},
|
|
9085
9085
|
$signature: 0
|
|
9086
9086
|
}, t.flattenItemSchema_closure0.prototype = {
|
|
@@ -9199,8 +9199,8 @@ Arguments: [` + d + "]";
|
|
|
9199
9199
|
$signature: 1
|
|
9200
9200
|
}, t.inventoryAdjustmentSkuSchema_closure.prototype = {
|
|
9201
9201
|
call$1(r) {
|
|
9202
|
-
var e = null, n = "locationId", i = "inventoryAdjustmentId", a = "fromBalance", s = "toBalance", o = "unitPrecision", l = "unitName", d = "unitAbbrev", D = "amountCost", f = "fromBalanceCost", p = "toBalanceCost", y = "trackingAmount", m = "trackingUnitName", g = "trackingUnitAbbrev",
|
|
9203
|
-
return t._setArrayType([t.Field_Field$string(e, e, !1, !1, !1, "ID", "id", "_id", e, r), t.Field_Field$string(e, e, !0, !1, !1, e, "docId", "_docId", e, r), t.Field_Field$string(e, e, !1, !1, !1, "Restaurant ID", "restaurantId", "_restaurantId", e, r), t.Field_Field$string(e, e, !1, !1, !1, "Warehouse ID", "warehouseId", "_warehouseId", e, r), t.Field_Field$timestamp(e, e, !1, !1, "Time", "createdAt", "_createdAt", e, r), t.Field_Field$timestamp(e, e, !0, !1, e, "publishedAt", "_publishedAt", e, r), t.Field_Field$string(e, e, !1, !1, !1, "Location ID", n, n, e, r), t.Field_Field$string(e, e, !1, !1, !1, "Inventory Adjustment ID", i, i, e, r), t.Field_Field$numeric("Stock quantity change. Positive = in, negative = out", e, !1, !1, "Amount", "amount", "amount", e, r), t.Field_Field$numeric(e, "IF(@amount>=0, @amount, 0)", !1, !1, "In", "in", e, T.CASE_Wax3e, r), t.Field_Field$numeric(e, "IF(@amount<0, @amount, 0)", !1, !1, "Out", "out", e, T.CASE_Wax3c, r), t.Field_Field$string(e, e, !1, !1, !1, "Remark", "remark", "remark", e, r), t.Field_Field$string("Values: SALES, DAMAGE, PURCHASE, TRANSFER, ADJUSTMENT, OPENING, PRODUCTION", e, !1, !1, !1, "Type", "type", "type", e, r), t.Field_Field$numeric(e, e, !1, !1, "From balance", a, a, e, r), t.Field_Field$numeric(e, e, !1, !1, "To balance", s, s, e, r), t.Field_Field$string(e, e, !1, !1, !1, "Name", "name", "name", e, r), t.Field_Field$string(e, e, !1, !1, !1, "Code", "code", "code", e, r), t.Field_Field$string(e, e, !1, !1, !1, "Unit ID", "unitId", "unitId", e, r), t.Field_Field$string(e, e, !1, !1, !1, "Unit Precision", o, o, e, r), t.Field_Field$string(e, e, !1, !1, !1, "SKU ID", "skuId", "skuId", e, r), t.Field_Field$string(e, e, !1, !1, !1, "Unit", l, l, e, r), t.Field_Field$string(e, e, !1, !1, !1, "Unit abbrev.", d, d, e, r), t.Field_Field$numeric(e, e, !1, !1, "Amount cost", D, D, "case when @amount<0 then -@amount_cost else @amount_cost end", r), t.Field_Field$numeric(e, e, !1, !1, "From balance cost", f, f, e, r), t.Field_Field$numeric(e, e, !1, !1, "To balance cost", p, p, e, r), t.Field_Field$string(e, e, !1, !1, !1, "Name (unit)", "nameUnit", e, "concat(@name,' (',@unit_abbrev,')')", r), t.Field_Field$numeric(e, e, !1, !1, "Daily consumption", "dailyConsumption", e, "(sum(@amount) filter (where type in ('SALES','DAMAGE')) over (partition by @name)/(EXTRACT(DAY FROM (!end - !start))+1))", r), t.Field_Field$numeric(e, e, !1, !1, "Days outstanding", "daysOutstanding", e, "-(last_value(@to_balance) over (partition by @name order by @created_at asc ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING)/(sum(@amount) filter (where type in ('SALES','DAMAGE')) over (partition by @name)/(EXTRACT(DAY FROM (!end - !start))+1)))", r), t.Field_Field$numeric(e, e, !1, !1, "Tracking amount", y, y, e, r), t.Field_Field$string(e, e, !1, !1, !1, "Tracking unit", m, m, e, r), t.Field_Field$string(e, e, !1, !1, !1, "Tracking unit abbrev.", g, g, e, r), t.Field_Field$numeric(e, e, !1, !1, "Conversion",
|
|
9202
|
+
var e = null, n = "locationId", i = "inventoryAdjustmentId", a = "fromBalance", s = "toBalance", o = "unitPrecision", l = "unitName", d = "unitAbbrev", D = "amountCost", f = "fromBalanceCost", p = "toBalanceCost", y = "trackingAmount", m = "trackingUnitName", g = "trackingUnitAbbrev", S = "conversion", E = "customAttributes", C = "defaultCostPerUnit";
|
|
9203
|
+
return t._setArrayType([t.Field_Field$string(e, e, !1, !1, !1, "ID", "id", "_id", e, r), t.Field_Field$string(e, e, !0, !1, !1, e, "docId", "_docId", e, r), t.Field_Field$string(e, e, !1, !1, !1, "Restaurant ID", "restaurantId", "_restaurantId", e, r), t.Field_Field$string(e, e, !1, !1, !1, "Warehouse ID", "warehouseId", "_warehouseId", e, r), t.Field_Field$timestamp(e, e, !1, !1, "Time", "createdAt", "_createdAt", e, r), t.Field_Field$timestamp(e, e, !0, !1, e, "publishedAt", "_publishedAt", e, r), t.Field_Field$string(e, e, !1, !1, !1, "Location ID", n, n, e, r), t.Field_Field$string(e, e, !1, !1, !1, "Inventory Adjustment ID", i, i, e, r), t.Field_Field$numeric("Stock quantity change. Positive = in, negative = out", e, !1, !1, "Amount", "amount", "amount", e, r), t.Field_Field$numeric(e, "IF(@amount>=0, @amount, 0)", !1, !1, "In", "in", e, T.CASE_Wax3e, r), t.Field_Field$numeric(e, "IF(@amount<0, @amount, 0)", !1, !1, "Out", "out", e, T.CASE_Wax3c, r), t.Field_Field$string(e, e, !1, !1, !1, "Remark", "remark", "remark", e, r), t.Field_Field$string("Values: SALES, DAMAGE, PURCHASE, TRANSFER, ADJUSTMENT, OPENING, PRODUCTION", e, !1, !1, !1, "Type", "type", "type", e, r), t.Field_Field$numeric(e, e, !1, !1, "From balance", a, a, e, r), t.Field_Field$numeric(e, e, !1, !1, "To balance", s, s, e, r), t.Field_Field$string(e, e, !1, !1, !1, "Name", "name", "name", e, r), t.Field_Field$string(e, e, !1, !1, !1, "Code", "code", "code", e, r), t.Field_Field$string(e, e, !1, !1, !1, "Unit ID", "unitId", "unitId", e, r), t.Field_Field$string(e, e, !1, !1, !1, "Unit Precision", o, o, e, r), t.Field_Field$string(e, e, !1, !1, !1, "SKU ID", "skuId", "skuId", e, r), t.Field_Field$string(e, e, !1, !1, !1, "Unit", l, l, e, r), t.Field_Field$string(e, e, !1, !1, !1, "Unit abbrev.", d, d, e, r), t.Field_Field$numeric(e, e, !1, !1, "Amount cost", D, D, "case when @amount<0 then -@amount_cost else @amount_cost end", r), t.Field_Field$numeric(e, e, !1, !1, "From balance cost", f, f, e, r), t.Field_Field$numeric(e, e, !1, !1, "To balance cost", p, p, e, r), t.Field_Field$string(e, e, !1, !1, !1, "Name (unit)", "nameUnit", e, "concat(@name,' (',@unit_abbrev,')')", r), t.Field_Field$numeric(e, e, !1, !1, "Daily consumption", "dailyConsumption", e, "(sum(@amount) filter (where type in ('SALES','DAMAGE')) over (partition by @name)/(EXTRACT(DAY FROM (!end - !start))+1))", r), t.Field_Field$numeric(e, e, !1, !1, "Days outstanding", "daysOutstanding", e, "-(last_value(@to_balance) over (partition by @name order by @created_at asc ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING)/(sum(@amount) filter (where type in ('SALES','DAMAGE')) over (partition by @name)/(EXTRACT(DAY FROM (!end - !start))+1)))", r), t.Field_Field$numeric(e, e, !1, !1, "Tracking amount", y, y, e, r), t.Field_Field$string(e, e, !1, !1, !1, "Tracking unit", m, m, e, r), t.Field_Field$string(e, e, !1, !1, !1, "Tracking unit abbrev.", g, g, e, r), t.Field_Field$numeric(e, e, !1, !1, "Conversion", S, S, e, r), t.Field_Field$string(e, e, !1, !1, !1, "Custom attributes", E, E, e, r), t.Field_Field$string(e, e, !1, !1, !1, "Ref", "ref", "ref", e, r), t.Field_Field$numeric(e, e, !1, !1, "Default unit cost", C, C, e, r), t.Field_Field$bool(e, e, !1, !1, "From closing template", "fromClosingTemplate", e, "((select 1 from closing_draft_skus where closing_adjustment_id = @inventory_adjustment_id and sku_id = @sku_id limit 1) is not null)", r), t.Field_Field$numeric(e, e, !1, !1, "Default cost", "defaultCost", e, "@default_cost_per_unit*@amount", r)], c.JSArray_Field);
|
|
9204
9204
|
},
|
|
9205
9205
|
$signature: 0
|
|
9206
9206
|
}, t.inventoryAdjustmentSkuSchema_closure0.prototype = {
|
|
@@ -9474,8 +9474,8 @@ limit 1) when @tier is null then null else @tier::numeric end)`, r), t.Field_Fie
|
|
|
9474
9474
|
$signature: 1
|
|
9475
9475
|
}, t.posOverrideItemLogSchema_closure.prototype = {
|
|
9476
9476
|
call$1(r) {
|
|
9477
|
-
var e = null
|
|
9478
|
-
return t._setArrayType([t.Field_Field$string(e, e, !1, !1, !1, "ID", "id", "_id", e, r), t.Field_Field$string(e, e, !0, !1, !1, e, "docId", "_docId", e, r), t.Field_Field$string(e, e, !1, !1, !1, "Restaurant ID", "restaurantId", "_restaurantId", e, r), t.Field_Field$timestamp(e, e, !1, !1, "Time", "createdAt", "_createdAt", e, r), t.Field_Field$timestamp(e, e, !0, !1, e, "publishedAt", "_publishedAt", e, r), t.Field_Field$string(e, e, !1, !1, !1, "Subject", "subject", "subject", e, r), t.Field_Field$string(e, e, !1, !1, !1, "Type", "type", "type", e, r), t.Field_Field$string(e, e, !0, !1, !1, e, "itemId", "ref.itemId", e, r), t.Field_Field$string(e, e, !1, !1, !1, "Item", "itemName", "ref.itemName", e, r), t.Field_Field$string(e, e, !0, !1, !1, e, "groupId", "ref.groupId", e, r), t.Field_Field$string(e, e, !1, !1, !1, "Group", "groupName", "ref.groupName", e, r), t.Field_Field$string(e, e, !1, !1, !1, "Internal Name (Before)", "fromInternalName", "name2.from", e, r), t.Field_Field$string(e, e, !1, !1, !1, "Internal Name (After)", "toInternalName", "name2.to", e, r), t.Field_Field$string(e, e, !1, !1, !1, "Order From (Before)", "fromOrderFrom", "orderFrom.from", e, r), t.Field_Field$string(e, e, !1, !1, !1, "Order From (After)", "toOrderFrom", "orderFrom.to", e, r), t.Field_Field$string(e, e, !1, !1, !1, "Visibility (Before)", "fromAppVisiblity", "visibility.from.app.visible", e, r), t.Field_Field$string(e, e, !1, !1, !1, "Visibility Reason (Before)", "fromAppVisibilityReason", "visibility.from.app.reason", e, r), t.Field_Field$string(e, e, !1, !1, !1, "Visibility (After)", "toAppVisiblity", "visibility.to.app.visible", e, r), t.Field_Field$string(e, e, !1, !1, !1, "Visibility Reason (After)", "toAppVisibilityReason", "visibility.to.app.reason", e, r), t.Field_Field$string(e, e, !0, !1, !1, e, "changedById", "changeBy.id", e, r), t.Field_Field$string(e, e, !1, !1, !1, "Changed By", "changedByName", "changeBy.name", e, r), t.Field_Field$string(e, e, !1, !1, !1, "
|
|
9477
|
+
var e = null;
|
|
9478
|
+
return t._setArrayType([t.Field_Field$string(e, e, !1, !1, !1, "ID", "id", "_id", e, r), t.Field_Field$string(e, e, !0, !1, !1, e, "docId", "_docId", e, r), t.Field_Field$string(e, e, !1, !1, !1, "Restaurant ID", "restaurantId", "_restaurantId", e, r), t.Field_Field$timestamp(e, e, !1, !1, "Time", "createdAt", "_createdAt", e, r), t.Field_Field$timestamp(e, e, !0, !1, e, "publishedAt", "_publishedAt", e, r), t.Field_Field$string(e, e, !1, !1, !1, "Subject", "subject", "subject", e, r), t.Field_Field$string(e, e, !1, !1, !1, "Type", "type", "type", e, r), t.Field_Field$string(e, e, !0, !1, !1, e, "itemId", "ref.itemId", e, r), t.Field_Field$string(e, e, !1, !1, !1, "Item", "itemName", "ref.itemName", e, r), t.Field_Field$string(e, e, !0, !1, !1, e, "groupId", "ref.groupId", e, r), t.Field_Field$string(e, e, !1, !1, !1, "Group", "groupName", "ref.groupName", e, r), t.Field_Field$string(e, e, !1, !1, !1, "Internal Name (Before)", "fromInternalName", "name2.from", e, r), t.Field_Field$string(e, e, !1, !1, !1, "Internal Name (After)", "toInternalName", "name2.to", e, r), t.Field_Field$string(e, e, !1, !1, !1, "Order From (Before)", "fromOrderFrom", "orderFrom.from", e, r), t.Field_Field$string(e, e, !1, !1, !1, "Order From (After)", "toOrderFrom", "orderFrom.to", e, r), t.Field_Field$string(e, e, !1, !1, !1, "Visibility (Before)", "fromAppVisiblity", "visibility.from.app.visible", e, r), t.Field_Field$string(e, e, !1, !1, !1, "Visibility Reason (Before)", "fromAppVisibilityReason", "visibility.from.app.reason", e, r), t.Field_Field$string(e, e, !1, !1, !1, "Visibility (After)", "toAppVisiblity", "visibility.to.app.visible", e, r), t.Field_Field$string(e, e, !1, !1, !1, "Visibility Reason (After)", "toAppVisibilityReason", "visibility.to.app.reason", e, r), t.Field_Field$string(e, e, !0, !1, !1, e, "changedById", "changeBy.id", e, r), t.Field_Field$string(e, e, !1, !1, !1, "Changed By", "changedByName", "changeBy.name", e, r), t.Field_Field$string(e, e, !1, !1, !1, "Counter ID", "counterId", "metadata.counterId", e, r), t.Field_Field$numeric("Seconds until the next change for the same item in the same restaurant, ordered by time. Null if there is no subsequent change.", e, !1, !1, "State Duration (s)", "stateDurationSeconds", e, "EXTRACT(EPOCH FROM (LEAD(@created_at) OVER (PARTITION BY @restaurant_id, @item_id ORDER BY @created_at) - @created_at))", r)], c.JSArray_Field);
|
|
9479
9479
|
},
|
|
9480
9480
|
$signature: 0
|
|
9481
9481
|
}, t.posOverrideItemLogSchema_closure0.prototype = {
|
|
@@ -9580,8 +9580,8 @@ limit 1) when @tier is null then null else @tier::numeric end)`, r), t.Field_Fie
|
|
|
9580
9580
|
$signature: 1
|
|
9581
9581
|
}, t.refundBillSchema_closure.prototype = {
|
|
9582
9582
|
call$1(r) {
|
|
9583
|
-
var e = null, n = "seqNumber", i = "deliveryName", a = "isRefund", s = "isPickup", o = "isInHouseDelivery", l = "isDelivery", d = "Takeaway", D = "completedAt", f = "integratedOrderId", p = "itemCount", y = "taxTotal", m = "discountTotal", g = "grossTotal",
|
|
9584
|
-
return t._setArrayType([t.Field_Field$string(e, "_", !1, !1, !1, "ID", "id", "_id", e, r), t.Field_Field$string(e, e, !0, !1, !1, e, "docId", "_docId", e, r), t.Field_Field$timestamp(e, e, !0, !1, e, "publishedAt", "_publishedAt", e, r), t.Field_Field$timestamp(e, e, !1, !1, "Time", "createdAt", "_createdAt", e, r), t.Field_Field$string(e, e, !1, !1, !1, "Restaurant ID", "restaurantId", "_restaurantId", e, r), t.Field_Field$string(e, e, !1, !1, !1, "Status", "status", "status", e, r), t.Field_Field$string(e, e, !1, !1, !1, "No.", n, n, e, r), t.Field_Field$string(e, e, !1, !1, !1, "Table", "slot", "slot", e, r), t.Field_Field$string(e, e, !1, !1, !1, "Delivery", i, i, e, r), t.Field_Field$string(e, e, !1, !1, !1, "Refund ID", "refundFrom", "refundedFrom", e, r), t.Field_Field$bool(e, e, !1, !1, "Refund", a, a, e, r), t.Field_Field$string(e, e, !0, !1, !1, e, "refundApprovedById", "refund.approvedBy.id", e, r), t.Field_Field$string(e, e, !1, !1, !1, "Refund approver", "refundApprovedByName", "refund.approvedBy.name", e, r), t.Field_Field$string(e, e, !0, !1, !1, e, "refundedById", "refund.by.id", e, r), t.Field_Field$string(e, e, !1, !1, !1, "Refund user", "refundedByName", "refund.by.name", e, r), t.Field_Field$string(e, e, !1, !1, !1, "Refund reason", "refundReason", "refund.reason", e, r), t.Field_Field$string(e, e, !1, !1, !1, "Member ID", "memberId", "membership.id", e, r), t.Field_Field$string(e, e, !1, !1, !1, "Member user ID", "memberUserId", "membership.userId", e, r), t.Field_Field$string(e, e, !1, !1, !1, "Member name", "memberUserName", "membership.name", e, r), t.Field_Field$string(e, e, !0, !1, !1, "Member phone", "memberPhoneNumber", "membership.phoneNumber", e, r), t.Field_Field$timestamp(e, e, !1, !1, "Member birthday", "memberBirthday", "membership.birthday", e, r), t.Field_Field$string(e, e, !1, !1, !1, "Remark", "remark", "remark", e, r), t.Field_Field$string(e, e, !1, !1, !1, "Source", "source", "source", e, r), t.Field_Field$string(e, e, !1, !1, !1, "Type", "type", "type", e, r), t.Field_Field$bool(e, e, !1, !1, "Pickup", s, s, e, r), t.Field_Field$bool(e, e, !1, !1, "Is in house delivery", o, o, e, r), t.Field_Field$bool(e, e, !1, !1, "Is other delivery", l, l, e, r), t.Field_Field$bool(e, e, !1, !1, d, "isTakeaway", "is.takeaway", e, r), t.Field_Field$timestamp(e, e, !1, !1, "Closed at", D, D, e, r), t.Field_Field$string(e, e, !1, !1, !1, "Inclusive SST", "sstInclusive", "nettTaxes.SST.inclusive", e, r), t.Field_Field$string(e, e, !1, !1, !1, "SST before discount", "sstBeforeDiscount", "nettTaxes.SST.beforeDiscount", e, r), t.Field_Field$string(e, e, !1, !1, !1, "Inclusive SC", "serviceChargeInclusive", "nettTaxes.SERVICE_CHARGE.inclusive", e, r), t.Field_Field$string(e, e, !1, !1, !1, "SC before discount", "serviceChargeBeforeDiscount", "nettTaxes.SERVICE_CHARGE.beforeDiscount", e, r), t.Field_Field$numeric(e, "IFNULL(@pax,0)*IF(@isRefund, -1, 1)", !1, !1, "Pax", "pax", "person", T.COALESp, r), t.Field_Field$string(e, e, !1, !1, !1, "Integrated order ID", f, f, e, r), t.Field_Field$numeric(e, T.IFNULLi, !0, !1, "Item count", p, p, T.COALESi, r), t.Field_Field$numeric(e, "IFNULL(@taxTotal,0)*IF(@isRefund, -1, 1)", !0, !1, e, y, y, T.COALEStax, r), t.Field_Field$numeric(e, T.IFNULLdiT, !1, !1, "Discount", m, m, T.COALESdit, r), t.Field_Field$numeric(e, T.IFNULLg, !1, !1, "Gross", g, g, T.COALESg, r), t.Field_Field$numeric(e, "IFNULL(@rounding,0)*IF(@isRefund, -1, 1)", !1, !1, "Rounding",
|
|
9583
|
+
var e = null, n = "seqNumber", i = "deliveryName", a = "isRefund", s = "isPickup", o = "isInHouseDelivery", l = "isDelivery", d = "Takeaway", D = "completedAt", f = "integratedOrderId", p = "itemCount", y = "taxTotal", m = "discountTotal", g = "grossTotal", S = "rounding", E = "takeawayPrice", C = "thirdPartyExtraCharge", F = "deliveryFee", M = "nettTotal";
|
|
9584
|
+
return t._setArrayType([t.Field_Field$string(e, "_", !1, !1, !1, "ID", "id", "_id", e, r), t.Field_Field$string(e, e, !0, !1, !1, e, "docId", "_docId", e, r), t.Field_Field$timestamp(e, e, !0, !1, e, "publishedAt", "_publishedAt", e, r), t.Field_Field$timestamp(e, e, !1, !1, "Time", "createdAt", "_createdAt", e, r), t.Field_Field$string(e, e, !1, !1, !1, "Restaurant ID", "restaurantId", "_restaurantId", e, r), t.Field_Field$string(e, e, !1, !1, !1, "Status", "status", "status", e, r), t.Field_Field$string(e, e, !1, !1, !1, "No.", n, n, e, r), t.Field_Field$string(e, e, !1, !1, !1, "Table", "slot", "slot", e, r), t.Field_Field$string(e, e, !1, !1, !1, "Delivery", i, i, e, r), t.Field_Field$string(e, e, !1, !1, !1, "Refund ID", "refundFrom", "refundedFrom", e, r), t.Field_Field$bool(e, e, !1, !1, "Refund", a, a, e, r), t.Field_Field$string(e, e, !0, !1, !1, e, "refundApprovedById", "refund.approvedBy.id", e, r), t.Field_Field$string(e, e, !1, !1, !1, "Refund approver", "refundApprovedByName", "refund.approvedBy.name", e, r), t.Field_Field$string(e, e, !0, !1, !1, e, "refundedById", "refund.by.id", e, r), t.Field_Field$string(e, e, !1, !1, !1, "Refund user", "refundedByName", "refund.by.name", e, r), t.Field_Field$string(e, e, !1, !1, !1, "Refund reason", "refundReason", "refund.reason", e, r), t.Field_Field$string(e, e, !1, !1, !1, "Member ID", "memberId", "membership.id", e, r), t.Field_Field$string(e, e, !1, !1, !1, "Member user ID", "memberUserId", "membership.userId", e, r), t.Field_Field$string(e, e, !1, !1, !1, "Member name", "memberUserName", "membership.name", e, r), t.Field_Field$string(e, e, !0, !1, !1, "Member phone", "memberPhoneNumber", "membership.phoneNumber", e, r), t.Field_Field$timestamp(e, e, !1, !1, "Member birthday", "memberBirthday", "membership.birthday", e, r), t.Field_Field$string(e, e, !1, !1, !1, "Remark", "remark", "remark", e, r), t.Field_Field$string(e, e, !1, !1, !1, "Source", "source", "source", e, r), t.Field_Field$string(e, e, !1, !1, !1, "Type", "type", "type", e, r), t.Field_Field$bool(e, e, !1, !1, "Pickup", s, s, e, r), t.Field_Field$bool(e, e, !1, !1, "Is in house delivery", o, o, e, r), t.Field_Field$bool(e, e, !1, !1, "Is other delivery", l, l, e, r), t.Field_Field$bool(e, e, !1, !1, d, "isTakeaway", "is.takeaway", e, r), t.Field_Field$timestamp(e, e, !1, !1, "Closed at", D, D, e, r), t.Field_Field$string(e, e, !1, !1, !1, "Inclusive SST", "sstInclusive", "nettTaxes.SST.inclusive", e, r), t.Field_Field$string(e, e, !1, !1, !1, "SST before discount", "sstBeforeDiscount", "nettTaxes.SST.beforeDiscount", e, r), t.Field_Field$string(e, e, !1, !1, !1, "Inclusive SC", "serviceChargeInclusive", "nettTaxes.SERVICE_CHARGE.inclusive", e, r), t.Field_Field$string(e, e, !1, !1, !1, "SC before discount", "serviceChargeBeforeDiscount", "nettTaxes.SERVICE_CHARGE.beforeDiscount", e, r), t.Field_Field$numeric(e, "IFNULL(@pax,0)*IF(@isRefund, -1, 1)", !1, !1, "Pax", "pax", "person", T.COALESp, r), t.Field_Field$string(e, e, !1, !1, !1, "Integrated order ID", f, f, e, r), t.Field_Field$numeric(e, T.IFNULLi, !0, !1, "Item count", p, p, T.COALESi, r), t.Field_Field$numeric(e, "IFNULL(@taxTotal,0)*IF(@isRefund, -1, 1)", !0, !1, e, y, y, T.COALEStax, r), t.Field_Field$numeric(e, T.IFNULLdiT, !1, !1, "Discount", m, m, T.COALESdit, r), t.Field_Field$numeric(e, T.IFNULLg, !1, !1, "Gross", g, g, T.COALESg, r), t.Field_Field$numeric(e, "IFNULL(@rounding,0)*IF(@isRefund, -1, 1)", !1, !1, "Rounding", S, S, T.COALESr, r), t.Field_Field$numeric(e, "IFNULL(@sstTotal,0)*IF(@isRefund, -1, 1)", !1, !1, "SST", "sstTotal", "nettTaxes.SST.total", T.COALESss, r), t.Field_Field$string(e, e, !1, !1, !1, "SST %", "sstPercentage", "nettTaxes.SST.percentage", e, r), t.Field_Field$numeric(e, T.IFNULLs, !1, !1, "SC", "serviceChargeTotal", "nettTaxes.SERVICE_CHARGE.total", T.COALESse, r), t.Field_Field$string(e, e, !1, !1, !1, "SC %", "serviceChargePercentage", "nettTaxes.SERVICE_CHARGE.percentage", e, r), t.Field_Field$numeric(e, T.x28IFNULo, !1, !1, "Other charge", "otherChargeTotal", "nettTaxes.OTHER_CHARGE.total", T.x28COALEo, r), t.Field_Field$numeric(e, T.x28IFNULgx2d, !1, !1, "Gross w/ takeaway", "subTotalWithoutTakeaway", e, T.x28COALEgx2d, r), t.Field_Field$numeric(e, T.IFNULLta, !1, !1, d, E, E, T.COALEStak, r), t.Field_Field$numeric(e, T.IFNULLth, !1, !1, "Extra charge", C, C, T.COALESth, r), t.Field_Field$numeric(e, T.IFNULLde_, !1, !1, "Delivery fee", F, F, T.COALESdex2c, r), t.Field_Field$numeric(e, T.IFNULLn, !1, !1, "Nett", M, M, T.COALESn, r), t.Field_Field$numeric(e, "IFNULL(@grossTotal,0)*IF(@isRefund, -1, 1)+IFNULL(@deliveryFee,0)*IF(@isRefund, -1, 1)+IFNULL(@discountTotal,0)*IF(@isRefund, -1, 1)", !1, !1, "Gross before charges", "grossBeforeCharges", e, "COALESCE(@gross_total,0)*CASE WHEN @is_refund THEN -1 ELSE 1 END+COALESCE(@delivery_fee,0)*CASE WHEN @is_refund THEN -1 ELSE 1 END+COALESCE(@discount_total,0)*CASE WHEN @is_refund THEN -1 ELSE 1 END", r), t.Field_Field$numeric(e, e, !1, !1, "Member Recency", "recency", e, T.MIN_EX, r), t.Field_Field$numeric(e, e, !1, !1, "Member frequency", "frequency", e, T.COUNT_, r), t.Field_Field$numeric(e, e, !1, !1, "Member monetary", "monetary", e, T.SUM__n, r)], c.JSArray_Field);
|
|
9585
9585
|
},
|
|
9586
9586
|
$signature: 0
|
|
9587
9587
|
}, t.refundBillSchema_closure0.prototype = {
|
|
@@ -10288,7 +10288,7 @@ limit 1) when @tier is null then null else @tier::numeric end)`, r), t.Field_Fie
|
|
|
10288
10288
|
},
|
|
10289
10289
|
_getCamelCase$0() {
|
|
10290
10290
|
var r, e, n = this.__ReCase__words_A;
|
|
10291
|
-
return n ===
|
|
10291
|
+
return n === h && t.throwUnnamedLateFieldNI(), r = t._arrayInstanceType(n)._eval$1("MappedListIterable<1,String>"), e = t.List_List$of(new t.MappedListIterable(n, this.get$_upperCaseFirstLetter(), r), !0, r._eval$1("ListIterable.E")), this.__ReCase__words_A.length !== 0 && (e[0] = e[0].toLowerCase()), _.JSArray_methods.join$1(e, "");
|
|
10292
10292
|
},
|
|
10293
10293
|
_upperCaseFirstLetter$1(r) {
|
|
10294
10294
|
return _.JSString_methods.substring$2(r, 0, 1).toUpperCase() + _.JSString_methods.substring$1(r, 1).toLowerCase();
|
|
@@ -10298,14 +10298,14 @@ limit 1) when @tier is null then null else @tier::numeric end)`, r), t.Field_Fie
|
|
|
10298
10298
|
return this._native.get$millisecondsSinceEpoch();
|
|
10299
10299
|
},
|
|
10300
10300
|
get$isUtc() {
|
|
10301
|
-
return this.location ===
|
|
10301
|
+
return this.location === h.$get$_UTC();
|
|
10302
10302
|
},
|
|
10303
10303
|
toUtc$0() {
|
|
10304
|
-
var r =
|
|
10304
|
+
var r = h.$get$_UTC();
|
|
10305
10305
|
return this.location === r ? this : t.TZDateTime$from(this._native, r);
|
|
10306
10306
|
},
|
|
10307
10307
|
toLocal$0() {
|
|
10308
|
-
return this.location ===
|
|
10308
|
+
return this.location === h.___local._readField$0() ? this : t.TZDateTime$from(this._native, h.___local._readField$0());
|
|
10309
10309
|
},
|
|
10310
10310
|
toString$0(r) {
|
|
10311
10311
|
return this._toString$1$iso8601(!1);
|
|
@@ -10315,7 +10315,7 @@ limit 1) when @tier is null then null else @tier::numeric end)`, r), t.Field_Fie
|
|
|
10315
10315
|
},
|
|
10316
10316
|
_toString$1$iso8601(r) {
|
|
10317
10317
|
var e, n = this.timeZone.offset, i = this._localDateTime, a = t.TZDateTime__fourDigits(i.get$year()), s = t.TZDateTime__twoDigits(i.get$month()), o = t.TZDateTime__twoDigits(i.get$day()), l = r ? "T" : " ", d = t.TZDateTime__twoDigits(i.get$hour()), D = t.TZDateTime__twoDigits(i.get$minute()), f = t.TZDateTime__twoDigits(i.get$second()), p = t.TZDateTime__threeDigits(i.get$millisecond()), y = i.get$microsecond() === 0 ? "" : t.TZDateTime__threeDigits(i.get$microsecond());
|
|
10318
|
-
return this.location ===
|
|
10318
|
+
return this.location === h.$get$_UTC() ? a + "-" + s + "-" + o + l + d + ":" + D + ":" + f + "." + p + y + "Z" : (n > 0 ? i = 1 : i = n < 0 ? -1 : n, e = i >= 0 ? "+" : "-", n = _.JSInt_methods._tdivFast$1(Math.abs(n), 1e3), a + "-" + s + "-" + o + l + d + ":" + D + ":" + f + "." + p + y + e + t.TZDateTime__twoDigits(_.JSInt_methods._tdivFast$1(n, 3600)) + t.TZDateTime__twoDigits(_.JSInt_methods._tdivFast$1(_.JSInt_methods.$mod(n, 3600), 60)));
|
|
10319
10319
|
},
|
|
10320
10320
|
add$1(r, e) {
|
|
10321
10321
|
return t.TZDateTime$from(this._native.add$1(0, e), this.location);
|
|
@@ -10383,14 +10383,14 @@ limit 1) when @tier is null then null else @tier::numeric end)`, r), t.Field_Fie
|
|
|
10383
10383
|
Location$4(r, e, n, i) {
|
|
10384
10384
|
var a, s, o, l, d, D, f, p, y = this;
|
|
10385
10385
|
for (a = y.transitionAt, s = y.zones, o = y.transitionZone, l = 0; d = a.length, l < d; ++l)
|
|
10386
|
-
D = a[l], f =
|
|
10386
|
+
D = a[l], f = h.$get$Location__cacheNow(), D <= f ? (p = l + 1, f = p === d || f < a[p]) : f = !1, f && (y._cacheStart = D, y._cacheEnd = 864e13, f = l + 1, f < d && (y._cacheEnd = a[f]), y.__Location__cacheZone_A = s[o[l]]);
|
|
10387
10387
|
},
|
|
10388
10388
|
lookupTimeZone$1(r) {
|
|
10389
10389
|
var e, n, i, a, s, o, l, d, D = this, f = 864e13, p = D.zones;
|
|
10390
10390
|
if (p.length === 0)
|
|
10391
10391
|
return _.TzInstant_ww8;
|
|
10392
10392
|
if (e = D._cacheStart, r >= e && r < D._cacheEnd)
|
|
10393
|
-
return p = D.__Location__cacheZone_A, p ===
|
|
10393
|
+
return p = D.__Location__cacheZone_A, p === h && t.throwUnnamedLateFieldNI(), new t.TzInstant(p, e, D._cacheEnd);
|
|
10394
10394
|
if (e = D.transitionAt, n = e.length, n === 0 || r < e[0])
|
|
10395
10395
|
return i = D._firstZone$0(), new t.TzInstant(i, -864e13, e.length === 0 ? f : _.JSArray_methods.get$first(e));
|
|
10396
10396
|
for (a = f, s = 0; o = n - s, o > 1; )
|
|
@@ -10554,25 +10554,25 @@ limit 1) when @tier is null then null else @tier::numeric end)`, r), t.Field_Fie
|
|
|
10554
10554
|
}, t.getQueryRequests_closure5.prototype = {
|
|
10555
10555
|
call$1(r) {
|
|
10556
10556
|
var e = t.Jiffy$(r).__Jiffy__dateTime_A;
|
|
10557
|
-
return e ===
|
|
10557
|
+
return e === h && t.throwUnnamedLateFieldNI(), e.toUtc$0();
|
|
10558
10558
|
},
|
|
10559
10559
|
$signature: 12
|
|
10560
10560
|
}, t.getQueryRequests_closure6.prototype = {
|
|
10561
10561
|
call$1(r) {
|
|
10562
10562
|
var e = t.Jiffy$(r).__Jiffy__dateTime_A;
|
|
10563
|
-
return e ===
|
|
10563
|
+
return e === h && t.throwUnnamedLateFieldNI(), e.toUtc$0();
|
|
10564
10564
|
},
|
|
10565
10565
|
$signature: 12
|
|
10566
10566
|
}, t.getQueryRequests_closure7.prototype = {
|
|
10567
10567
|
call$1(r) {
|
|
10568
10568
|
var e = t.Jiffy$(r).__Jiffy__dateTime_A;
|
|
10569
|
-
return e ===
|
|
10569
|
+
return e === h && t.throwUnnamedLateFieldNI(), e.toUtc$0();
|
|
10570
10570
|
},
|
|
10571
10571
|
$signature: 12
|
|
10572
10572
|
}, t.getQueryRequests_closure8.prototype = {
|
|
10573
10573
|
call$1(r) {
|
|
10574
10574
|
var e = t.Jiffy$(r).__Jiffy__dateTime_A;
|
|
10575
|
-
return e ===
|
|
10575
|
+
return e === h && t.throwUnnamedLateFieldNI(), e.toUtc$0();
|
|
10576
10576
|
},
|
|
10577
10577
|
$signature: 12
|
|
10578
10578
|
}, t.getQueryRequests_closure9.prototype = {
|
|
@@ -10584,12 +10584,12 @@ limit 1) when @tier is null then null else @tier::numeric end)`, r), t.Field_Fie
|
|
|
10584
10584
|
var e = u.LegacyJavaScriptObject.prototype;
|
|
10585
10585
|
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 = t.ListMixin.prototype, e.super$ListMixin$setRange = e.setRange$4, 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;
|
|
10586
10586
|
}(), function() {
|
|
10587
|
-
var e =
|
|
10587
|
+
var e = K._static_2, n = K._static_1, i = K._instance_1u, a = K._instance_0u;
|
|
10588
10588
|
e(u, "_interceptors_JSArray__compareAny$closure", "JSArray__compareAny", 114), e(t, "collection___defaultEquals$closure", "_defaultEquals", 49), n(t, "collection___defaultHashCode$closure", "_defaultHashCode", 37), n(t, "convert___defaultToEncodable$closure", "_defaultToEncodable", 4), n(t, "core__identityHashCode$closure", "identityHashCode", 37), n(t, "core_RegExp_escape$closure", "RegExp_escape", 3), e(t, "core__identical$closure", "identical", 49);
|
|
10589
10589
|
var s;
|
|
10590
10590
|
i(s = t.DateBuilder.prototype, "get$setYear", "setYear$1", 7), i(s, "get$setMonth", "setMonth$1", 7), i(s, "get$setDay", "setDay$1", 7), i(s, "get$setDayOfYear", "setDayOfYear$1", 7), i(s, "get$setHour", "setHour$1", 7), i(s, "get$setMinute", "setMinute$1", 7), i(s, "get$setSecond", "setSecond$1", 7), i(s, "get$setFractionalSecond", "setFractionalSecond$1", 7), n(t, "date_format_DateFormat_localeExists$closure", "DateFormat_localeExists", 77), a(t.DateFormat.prototype, "get$_initDigitMatcher", "_initDigitMatcher$0", 75), i(t.ReCase.prototype, "get$_upperCaseFirstLetter", "_upperCaseFirstLetter$1", 3), n(t, "js_compiler__getMergeInfoSql$closure", "getMergeInfoSql", 4), n(t, "js_compiler__getClearTableSql$closure", "getClearTableSql", 4), n(t, "js_compiler__getMergeSql$closure", "getMergeSql", 4), n(t, "js_compiler__getSchemas$closure", "getSchemas", 4), n(t, "js_compiler__getVisualizationSchemas$closure", "getVisualizationSchemas", 4), n(t, "js_compiler__requestJsonToSql$closure", "requestJsonToSql", 4), n(t, "js_compiler__sqlResponsesToQueryResponses$closure", "sqlResponsesToQueryResponses", 4), n(t, "js_compiler__getQueryRequests$closure", "getQueryRequests", 4), n(t, "js_compiler__getCreateMaterializedTableSql$closure", "getCreateMaterializedTableSql", 4);
|
|
10591
10591
|
}(), function() {
|
|
10592
|
-
var e =
|
|
10592
|
+
var e = K.mixin, n = K.inherit, i = K.inheritMany;
|
|
10593
10593
|
n(t.Object, null), i(t.Object, [t.JS_CONST, u.Interceptor, u.ArrayIterator, t.Iterable, t.CastIterator, t.Error, t._ListBase_Object_ListMixin, t.ListIterator, t.Iterator, t.EmptyIterator, t.FixedLengthListMixin, t.UnmodifiableListMixin, 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.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.MapEntry, 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.JoinLateralSort, t.JoinLateral, 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, t.TZDateTime, t.TimeZoneInitException, t.LocationNotFoundException, t.Location, t.TimeZone, t.TzInstant, t.LocationDatabase]), i(u.Interceptor, [u.JSBool, u.JSNull, u.JavaScriptObject, u.JSArray, u.JSNumber, u.JSString, t.NativeTypedData]), n(u.LegacyJavaScriptObject, u.JavaScriptObject), i(u.LegacyJavaScriptObject, [u.PlainJavaScriptObject, u.UnknownJavaScriptObject, u.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]), n(u.JSUnmodifiableArray, u.JSArray), i(u.JSNumber, [u.JSInt, u.JSNumNotInt]), i(t.Iterable, [t._CastIterableBase, t.EfficientLengthIterable, t.MappedIterable, t.WhereIterable, t.SkipIterable, t._ConstantMapKeyIterable, t.IterableBase, t._StringAllMatchesIterable]), i(t._CastIterableBase, [t.CastIterable, t.__CastListBase__CastIterableBase_ListMixin]), n(t._EfficientLengthCastIterable, t.CastIterable), n(t._CastListBase, t.__CastListBase__CastIterableBase_ListMixin), n(t.CastList, t._CastListBase), i(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.ListBase, t._ListBase_Object_ListMixin), i(t.ListBase, [t.UnmodifiableListBase, t.TypedDataBuffer]), n(t.CodeUnits, t.UnmodifiableListBase), i(t.EfficientLengthIterable, [t.ListIterable, t.EmptyIterable, t.LinkedHashMapKeyIterable]), i(t.ListIterable, [t.SubListIterable, t.MappedListIterable, t.ReversedListIterable, t._JsonMapKeyIterable, t._GeneratorIterable]), n(t.EfficientLengthMappedIterable, t.MappedIterable), i(t.Iterator, [t.MappedIterator, t.WhereIterator, t.SkipIterator]), n(t.EfficientLengthSkipIterable, t.SkipIterable), n(t._UnmodifiableMapView_MapView__UnmodifiableMapMixin, t.MapView), n(t.UnmodifiableMapView, t._UnmodifiableMapView_MapView__UnmodifiableMapMixin), n(t.ConstantMapView, t.UnmodifiableMapView), i(t.Closure, [t.Closure2Args, t.Closure0Args, t.TearOffClosure, t.initHooks_closure, t.initHooks_closure1, t._LinkedCustomHashMap_closure, t.MapMixin_entries_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.Materialize_getMergeSql_closure5, t.Materialize_getMaterializeInfoSql_closure, t.Materialize_getMaterializeInfoSql_closure0, 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.JoinLateral_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_fromJson_closure4, t.QueryRequest_toJson_closure, t.QueryRequest_toJson_closure0, t.QueryRequest_toJson_closure1, t.QueryRequest_toJson_closure2, t.QueryRequest_toJson_closure3, t.QueryRequest_toJson_closure4, 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_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.VisualizationField_toJson_closure7, 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.changePaymentActivitySchema_closure, t.changePaymentActivitySchema_closure0, t.chargeSchema_closure, t.chargeSchema_closure0, t.closingDraftSchema_closure, t.closingDraftSchema_closure0, t.closingDraftSkuSchema_closure, t.closingDraftSkuSchema_closure0, t.closingSkuSchema_closure, t.closingSkuSchema_closure0, t.collectibleCollectionSchema_closure, t.collectibleCollectionSchema_closure0, t.collectibleConfigSchema_closure, t.collectibleConfigSchema_closure0, t.collectibleTransactionSchema_closure, t.collectibleTransactionSchema_closure0, t.completeTimeBillSchema_closure, t.completeTimeBillSchema_closure0, t.counterSchema_closure, t.counterSchema_closure0, t.creditTransactionSchema_closure, t.creditTransactionSchema_closure0, t.dailyForecastSalesSchema_closure, t.dailyForecastSalesSchema_closure0, t.discountSchema_closure, t.discountSchema_closure0, t.drawerSchema_closure, t.drawerSchema_closure0, t.flattenItemSchema_closure, t.flattenItemSchema_closure0, t.hourlyForecastSalesSchema_closure, t.hourlyForecastSalesSchema_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.menuV4CatalogItemSchema_closure, t.menuV4CatalogItemSchema_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.posOverrideItemLogSchema_closure, t.posOverrideItemLogSchema_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.salePaymentSchema_closure, t.salePaymentSchema_closure0, t.saleTransactionSchema_closure, t.saleTransactionSchema_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.unitCostHistorySchema_closure, t.unitCostHistorySchema_closure0, t.userSchema_closure, t.userSchema_closure0, t.vnEInvoiceSubmissionSchema_closure, t.vnEInvoiceSubmissionSchema_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.BaseXYDatasourceConfigModel_joinDatasources_closure, t.BaseXYDatasourceConfigModel_toRequests___closure, t.BaseXYDatasourceConfigModel_toRequests_closure0, t.BaseXYDatasourceConfigModel_BaseXYDatasourceConfigModel$fromJson_closure, t.BaseXYDatasourceConfigModel_BaseXYDatasourceConfigModel$fromJson___closure, t.BaseXYDatasourceConfigModel_BaseXYDatasourceConfigModel$fromJson___closure0, t.BaseXYDatasourceConfigModel_BaseXYDatasourceConfigModel$fromJson____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]), i(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.BaseXYDatasourceConfigModel_toRequests_closure, t.BaseXYDatasourceConfigModel_toRequests__closure0, t.BaseXYDatasourceConfigModel_toRequests__closure, t.BaseXYDatasourceConfigModel_BaseXYDatasourceConfigModel$fromJson__closure, t.sqlResponsesToQueryResponses_closure0]), n(t.ConstantStringMap, t.ConstantMap), n(t.NullError, t.TypeError), i(t.TearOffClosure, [t.StaticClosure, t.BoundClosure]), n(t.MapBase, t.MapMixin), i(t.MapBase, [t.JsLinkedHashMap, t._JsonMap]), i(t.IterableBase, [t._AllMatchesIterable, t._SyncStarIterable]), n(t.NativeTypedArray, t.NativeTypedData), n(t._NativeTypedArrayOfInt_NativeTypedArray_ListMixin, t.NativeTypedArray), n(t._NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin, t._NativeTypedArrayOfInt_NativeTypedArray_ListMixin), n(t.NativeTypedArrayOfInt, t._NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin), i(t.NativeTypedArrayOfInt, [t.NativeUint16List, t.NativeUint32List, t.NativeUint8List]), n(t._TypeError, t._Error), i(t.JsLinkedHashMap, [t._LinkedIdentityHashMap, t._LinkedCustomHashMap]), n(t._SetBase, t.__SetBase_Object_SetMixin), n(t._LinkedHashSet, t._SetBase), i(t.Codec, [t.Encoding, t.JsonCodec]), i(t.Encoding, [t.AsciiCodec, t.Utf8Codec]), n(t.Converter, t.StreamTransformerBase), i(t.Converter, [t._UnicodeSubsetDecoder, t.JsonEncoder, t.JsonDecoder, t.Utf8Encoder]), n(t.AsciiDecoder, t._UnicodeSubsetDecoder), n(t.JsonCyclicError, t.JsonUnsupportedObjectError), n(t._JsonStringStringifier, t._JsonStringifier), i(t.ArgumentError, [t.RangeError, t.IndexError]), n(t.DigestSink, t.Sink), n(t._Sha1Sink, t.HashSink), i(t._DateFormatField, [t._DateFormatLiteralField, t._DateFormatQuotedField, t._DateFormatPatternField]), i(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.FORMATTER_TYPE, t.PERIOD_TYPE, t.SORT_TYPE, t.PermissionType, t.INDEX_METHOD, t.FIELD_TYPE, t.ChartType]), i(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]), i(t.NodeJsError, [t.JsAssertionError, t.JsRangeError, t.JsReferenceError, t.JsSyntaxError, t.JsTypeError, t.JsSystemError]), i(t.Socket, [t.TTYReadStream, t.TTYWriteStream]), i(t.Field, [t._NumericField, t._TimestampField, t._BoolField, t._StringField]), i(t.QueryRequestComparisonTarget, [t._QueryRequestComparisonTargetValue, t._QueryRequestComparisonTargetVariable]), i(t.QueryRequestCommonField, [t.QueryRequestDimension, t.QueryRequestMetric, t.QueryRequestFilter, t.QueryRequestSort]), i(t.Closure0Args, [t.QueryRequestDimension_generateTimestampArraySql_closure, t.QueryRequestDimension_generateTimestampArraySql_closure0, t.QueryRequest__getSqlFilters__closure]), i(t.BaseDatasourceConfigModel, [t._CircularDatasourceConfigModel_BaseDatasourceConfigModel_DataSourceDrillConfig, t.ScorecardDatasourceConfigModel, t._TableDatasourceConfigModel_BaseDatasourceConfigModel_DataSourceRowColumnConfig, t._JoinDatasourceConfig_BaseDatasourceConfigModel_DataSourceRowColumnConfig, t._BaseXYDatasourceConfigModel_BaseDatasourceConfigModel_DataSourceDrillConfig]), n(t.CircularDatasourceConfigModel, t._CircularDatasourceConfigModel_BaseDatasourceConfigModel_DataSourceDrillConfig), n(t._TableDatasourceConfigModel_BaseDatasourceConfigModel_DataSourceRowColumnConfig_DataSourceDrillConfig, t._TableDatasourceConfigModel_BaseDatasourceConfigModel_DataSourceRowColumnConfig), n(t.TableDatasourceConfigModel, t._TableDatasourceConfigModel_BaseDatasourceConfigModel_DataSourceRowColumnConfig_DataSourceDrillConfig), n(t.JoinDatasourceConfig, t._JoinDatasourceConfig_BaseDatasourceConfigModel_DataSourceRowColumnConfig), n(t.BaseXYDatasourceConfigModel, t._BaseXYDatasourceConfigModel_BaseDatasourceConfigModel_DataSourceDrillConfig), n(t._IntBuffer, t.TypedDataBuffer), n(t.Uint8Buffer, t._IntBuffer), e(t.UnmodifiableListBase, t.UnmodifiableListMixin), e(t.__CastListBase__CastIterableBase_ListMixin, t.ListMixin), 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);
|
|
10594
10594
|
}();
|
|
10595
10595
|
var b = {
|
|
@@ -10773,7 +10773,7 @@ then EXTRACT(EPOCH FROM COALESCE(timesheets.ended_at,!end)-(timesheets.created_a
|
|
|
10773
10773
|
};
|
|
10774
10774
|
}();
|
|
10775
10775
|
(function() {
|
|
10776
|
-
var e =
|
|
10776
|
+
var e = K.makeConstList;
|
|
10777
10777
|
_.Interceptor_methods = u.Interceptor.prototype, _.JSArray_methods = u.JSArray.prototype, _.JSInt_methods = u.JSInt.prototype, _.JSNumber_methods = u.JSNumber.prototype, _.JSString_methods = u.JSString.prototype, _.JavaScriptFunction_methods = u.JavaScriptFunction.prototype, _.JavaScriptObject_methods = u.JavaScriptObject.prototype, _.NativeUint8List_methods = t.NativeUint8List.prototype, _.PlainJavaScriptObject_methods = u.PlainJavaScriptObject.prototype, _.UnknownJavaScriptObject_methods = u.UnknownJavaScriptObject.prototype, _.AGGREGATION_TYPE_0 = new t.AGGREGATION_TYPE(0, "SUM"), _.AGGREGATION_TYPE_1 = new t.AGGREGATION_TYPE(1, "AVERAGE"), _.AGGREGATION_TYPE_10 = new t.AGGREGATION_TYPE(10, "CUMULATIVE_SUM"), _.AGGREGATION_TYPE_11 = new t.AGGREGATION_TYPE(11, "CUMULATIVE_AVERAGE"), _.AGGREGATION_TYPE_12 = new t.AGGREGATION_TYPE(12, "CUMULATIVE_COUNT"), _.AGGREGATION_TYPE_2 = new t.AGGREGATION_TYPE(2, "COUNT"), _.AGGREGATION_TYPE_3 = new t.AGGREGATION_TYPE(3, "COUNT_DISTINCT"), _.AGGREGATION_TYPE_4 = new t.AGGREGATION_TYPE(4, "FIRST"), _.AGGREGATION_TYPE_5 = new t.AGGREGATION_TYPE(5, "LAST"), _.AGGREGATION_TYPE_6 = new t.AGGREGATION_TYPE(6, "ANY"), _.AGGREGATION_TYPE_7 = new t.AGGREGATION_TYPE(7, "MERGE"), _.AGGREGATION_TYPE_8 = new t.AGGREGATION_TYPE(8, "MIN"), _.AGGREGATION_TYPE_9 = new t.AGGREGATION_TYPE(9, "MAX"), _.AsciiDecoder_false = new t.AsciiDecoder(!1), _.COMPARISON_OPERATOR_0 = new t.COMPARISON_OPERATOR(0, "EQUAL"), _.COMPARISON_OPERATOR_1 = new t.COMPARISON_OPERATOR(1, "NOT_EQUAL"), _.COMPARISON_OPERATOR_10 = new t.COMPARISON_OPERATOR(10, "OR"), _.COMPARISON_OPERATOR_2 = new t.COMPARISON_OPERATOR(2, "GREATER_THAN"), _.COMPARISON_OPERATOR_3 = new t.COMPARISON_OPERATOR(3, "LESS_THAN"), _.COMPARISON_OPERATOR_4 = new t.COMPARISON_OPERATOR(4, "GREATER_THAN_OR_EQUAL"), _.COMPARISON_OPERATOR_5 = new t.COMPARISON_OPERATOR(5, "LESS_THAN_OR_EQUAL"), _.COMPARISON_OPERATOR_6 = new t.COMPARISON_OPERATOR(6, "BETWEEN"), _.COMPARISON_OPERATOR_7 = new t.COMPARISON_OPERATOR(7, "LIKE"), _.COMPARISON_OPERATOR_8 = new t.COMPARISON_OPERATOR(8, "NOT_LIKE"), _.C_AsciiCodec = new t.AsciiCodec(), _.C_EmptyIterator = new t.EmptyIterator(), _.C_Endian = new t.Endian(), _.C_Endian0 = new t.Endian(), _.C_JS_CONST = function(i) {
|
|
10778
10778
|
var a = Object.prototype.toString.call(i);
|
|
10779
10779
|
return a.substring(8, a.length - 1);
|
|
@@ -10873,72 +10873,72 @@ then EXTRACT(EPOCH FROM COALESCE(timesheets.ended_at,!end)-(timesheets.created_a
|
|
|
10873
10873
|
return n;
|
|
10874
10874
|
}, _.C_JsonCodec = new t.JsonCodec(), _.C_OutOfMemoryError = new t.OutOfMemoryError(), _.C_Utf8Codec = new t.Utf8Codec(), _.C_Utf8Encoder = new t.Utf8Encoder(), _.C__Required = new t._Required(), _.DATA_TYPE_0 = new t.DATA_TYPE(0, "STRING"), _.DATA_TYPE_1 = new t.DATA_TYPE(1, "TIMESTAMP"), _.DATA_TYPE_2 = new t.DATA_TYPE(2, "BOOL"), _.DATA_TYPE_3 = new t.DATA_TYPE(3, "NUMERIC"), _.DIMENSION_OPTION_0 = new t.DIMENSION_OPTION(0, "DATE_TIME"), _.DIMENSION_OPTION_1 = new t.DIMENSION_OPTION(1, "HOUR"), _.DIMENSION_OPTION_10 = new t.DIMENSION_OPTION(10, "YEAR"), _.DIMENSION_OPTION_11 = new t.DIMENSION_OPTION(11, "YEAR_MONTH_DAY"), _.DIMENSION_OPTION_2 = new t.DIMENSION_OPTION(2, "DAY"), _.DIMENSION_OPTION_3 = new t.DIMENSION_OPTION(3, "WEEK"), _.DIMENSION_OPTION_4 = new t.DIMENSION_OPTION(4, "MONTH"), _.DIMENSION_OPTION_5 = new t.DIMENSION_OPTION(5, "TIME_OF_DAY"), _.DIMENSION_OPTION_6 = new t.DIMENSION_OPTION(6, "HOUR_OF_DAY"), _.DIMENSION_OPTION_7 = new t.DIMENSION_OPTION(7, "DAY_OF_WEEK"), _.DIMENSION_OPTION_8 = new t.DIMENSION_OPTION(8, "DAY_OF_MONTH"), _.DIMENSION_OPTION_9 = new t.DIMENSION_OPTION(9, "MONTH_OF_YEAR"), _.Duration_0 = new t.Duration(0), _.Duration_1000 = new t.Duration(1e3), _.FIELD_TYPE_0 = new t.FIELD_TYPE(0, "DIMENSION"), _.FIELD_TYPE_1 = new t.FIELD_TYPE(1, "METRIC"), _.JsonDecoder_null = new t.JsonDecoder(null), _.JsonEncoder_null = new t.JsonEncoder(null), _.List_3US = t._setArrayType(e(["S", "M", "T", "W", "T", "F", "S"]), c.JSArray_String), _.List_6xs = t._setArrayType(e(["Before Christ", "Anno Domini"]), c.JSArray_String), _.INDEX_METHOD_0 = new t.INDEX_METHOD(0, "BTREE"), _.INDEX_METHOD_1 = new t.INDEX_METHOD(1, "HASH"), _.INDEX_METHOD_2 = new t.INDEX_METHOD(2, "GIST"), _.INDEX_METHOD_3 = new t.INDEX_METHOD(3, "SPGIST"), _.INDEX_METHOD_4 = new t.INDEX_METHOD(4, "BRIN"), _.INDEX_METHOD_5 = new t.INDEX_METHOD(5, "GIN"), _.List_88s = t._setArrayType(e([_.INDEX_METHOD_0, _.INDEX_METHOD_1, _.INDEX_METHOD_2, _.INDEX_METHOD_3, _.INDEX_METHOD_4, _.INDEX_METHOD_5]), t.findType("JSArray<INDEX_METHOD>")), _.List_AM_PM = t._setArrayType(e(["AM", "PM"]), c.JSArray_String), _.List_BC_AD = t._setArrayType(e(["BC", "AD"]), c.JSArray_String), _.FORMATTER_TYPE_0 = new t.FORMATTER_TYPE(0, "HOUR"), _.FORMATTER_TYPE_1 = new t.FORMATTER_TYPE(1, "MINUTE"), _.FORMATTER_TYPE_2 = new t.FORMATTER_TYPE(2, "SECOND"), _.FORMATTER_TYPE_3 = new t.FORMATTER_TYPE(3, "HOUR_NO_DAY"), _.FORMATTER_TYPE_4 = new t.FORMATTER_TYPE(4, "MINUTE_NO_DAY"), _.FORMATTER_TYPE_5 = new t.FORMATTER_TYPE(5, "SECOND_NO_DAY"), _.FORMATTER_TYPE_6 = new t.FORMATTER_TYPE(6, "PERCENT"), _.List_Jwp = t._setArrayType(e([_.FORMATTER_TYPE_0, _.FORMATTER_TYPE_1, _.FORMATTER_TYPE_2, _.FORMATTER_TYPE_3, _.FORMATTER_TYPE_4, _.FORMATTER_TYPE_5, _.FORMATTER_TYPE_6]), c.JSArray_FORMATTER_TYPE), _.COMPARISON_OPERATOR_9 = new t.COMPARISON_OPERATOR(9, "AND"), _.List_LO4 = t._setArrayType(e([_.COMPARISON_OPERATOR_0, _.COMPARISON_OPERATOR_1, _.COMPARISON_OPERATOR_2, _.COMPARISON_OPERATOR_3, _.COMPARISON_OPERATOR_4, _.COMPARISON_OPERATOR_5, _.COMPARISON_OPERATOR_6, _.COMPARISON_OPERATOR_7, _.COMPARISON_OPERATOR_8, _.COMPARISON_OPERATOR_9, _.COMPARISON_OPERATOR_10]), c.JSArray_COMPARISON_OPERATOR), _.PERIOD_TYPE_0 = new t.PERIOD_TYPE(0, "MTD"), _.List_PERIOD_TYPE_0 = t._setArrayType(e([_.PERIOD_TYPE_0]), t.findType("JSArray<PERIOD_TYPE>")), _.SORT_TYPE_0 = new t.SORT_TYPE(0, "ASC"), _.SORT_TYPE_1 = new t.SORT_TYPE(1, "DESC"), _.List_SORT_TYPE_0_SORT_TYPE_1 = t._setArrayType(e([_.SORT_TYPE_0, _.SORT_TYPE_1]), t.findType("JSArray<SORT_TYPE>")), _.ChartType_0 = new t.ChartType(0, "CIRCULAR"), _.ChartType_1 = new t.ChartType(1, "TABLE"), _.ChartType_2 = new t.ChartType(2, "LIST"), _.ChartType_3 = new t.ChartType(3, "SCORECARD"), _.ChartType_4 = new t.ChartType(4, "LINECHART"), _.ChartType_5 = new t.ChartType(5, "BARCHART"), _.ChartType_6 = new t.ChartType(6, "CLUSTEREDSTACKBARCHART"), _.ChartType_7 = new t.ChartType(7, "COLUMNCHART"), _.ChartType_8 = new t.ChartType(8, "STACKLINECHART"), _.ChartType_9 = new t.ChartType(9, "STACKBARCHART"), _.ChartType_10 = new t.ChartType(10, "STACKCOLUMNCHART"), _.ChartType_11 = new t.ChartType(11, "SPACER"), _.List_W3w = t._setArrayType(e([_.ChartType_0, _.ChartType_1, _.ChartType_2, _.ChartType_3, _.ChartType_4, _.ChartType_5, _.ChartType_6, _.ChartType_7, _.ChartType_8, _.ChartType_9, _.ChartType_10, _.ChartType_11]), t.findType("JSArray<ChartType>")), _.SCHEMA_NAME_0 = new t.SCHEMA_NAME(0, "BILL"), _.SCHEMA_NAME_1 = new t.SCHEMA_NAME(1, "COMPLETE_TIME_BILL"), _.SCHEMA_NAME_2 = new t.SCHEMA_NAME(2, "BUSINESS"), _.SCHEMA_NAME_3 = new t.SCHEMA_NAME(3, "COUNTER"), _.SCHEMA_NAME_4 = new t.SCHEMA_NAME(4, "DRAWER"), _.SCHEMA_NAME_5 = new t.SCHEMA_NAME(5, "FLATTEN_ITEM"), _.SCHEMA_NAME_6 = new t.SCHEMA_NAME(6, "PARENT_FLATTEN_ITEM"), _.SCHEMA_NAME_7 = new t.SCHEMA_NAME(7, "ADDON_FLATTEN_ITEM"), _.SCHEMA_NAME_8 = new t.SCHEMA_NAME(8, "ITEM"), _.SCHEMA_NAME_9 = new t.SCHEMA_NAME(9, "SUB_ITEM"), _.SCHEMA_NAME_10 = new t.SCHEMA_NAME(10, "PAYMENT"), _.SCHEMA_NAME_11 = new t.SCHEMA_NAME(11, "PAYMENT_TIME_PAYMENT"), _.SCHEMA_NAME_12 = new t.SCHEMA_NAME(12, "CHARGE"), _.SCHEMA_NAME_13 = new t.SCHEMA_NAME(13, "RECORD"), _.SCHEMA_NAME_14 = new t.SCHEMA_NAME(14, "RESTAURANT"), _.SCHEMA_NAME_15 = new t.SCHEMA_NAME(15, "RESTAURANT_FEATURE"), _.SCHEMA_NAME_16 = new t.SCHEMA_NAME(16, "SLOT"), _.SCHEMA_NAME_17 = new t.SCHEMA_NAME(17, "STAFF"), _.SCHEMA_NAME_18 = new t.SCHEMA_NAME(18, "TIMESHEET"), _.SCHEMA_NAME_19 = new t.SCHEMA_NAME(19, "TIMESHEET_RECORD"), _.SCHEMA_NAME_20 = new t.SCHEMA_NAME(20, "DISCOUNT"), _.SCHEMA_NAME_21 = new t.SCHEMA_NAME(21, "ADJUSTMENT"), _.SCHEMA_NAME_22 = new t.SCHEMA_NAME(22, "INVENTORY_ADJUSTMENT"), _.SCHEMA_NAME_23 = new t.SCHEMA_NAME(23, "INVENTORY_ADJUSTMENT_SKU"), _.SCHEMA_NAME_24 = new t.SCHEMA_NAME(24, "INVENTORY_ADJUSTMENT_PHYSICAL_SKU"), _.SCHEMA_NAME_25 = new t.SCHEMA_NAME(25, "CLOSING_SKU"), _.SCHEMA_NAME_26 = new t.SCHEMA_NAME(26, "CLOSING_DRAFT"), _.SCHEMA_NAME_27 = new t.SCHEMA_NAME(27, "CLOSING_DRAFT_SKU"), _.SCHEMA_NAME_28 = new t.SCHEMA_NAME(28, "PURCHASE_ORDER"), _.SCHEMA_NAME_29 = new t.SCHEMA_NAME(29, "PURCHASE_ORDER_ITEM"), _.SCHEMA_NAME_30 = new t.SCHEMA_NAME(30, "PURCHASE_ORDER_DELIVERY_ORDER"), _.SCHEMA_NAME_31 = new t.SCHEMA_NAME(31, "PURCHASE_ORDER_DELIVERY_FULFILLMENT"), _.SCHEMA_NAME_32 = new t.SCHEMA_NAME(32, "PURCHASE_ORDER_DELIVERY_ORDER_SKU"), _.SCHEMA_NAME_33 = new t.SCHEMA_NAME(33, "PURCHASE_ORDER_DELIVERY_FULFILLMENT_SKU"), _.SCHEMA_NAME_34 = new t.SCHEMA_NAME(34, "INTERNAL_PURCHASE_ORDER"), _.SCHEMA_NAME_35 = new t.SCHEMA_NAME(35, "INTERNAL_PURCHASE_ORDER_ITEM"), _.SCHEMA_NAME_36 = new t.SCHEMA_NAME(36, "INTERNAL_PURCHASE_ORDER_DELIVERY_ORDER"), _.SCHEMA_NAME_37 = new t.SCHEMA_NAME(37, "INTERNAL_PURCHASE_ORDER_DELIVERY_FULFILLMENT"), _.SCHEMA_NAME_38 = new t.SCHEMA_NAME(38, "INTERNAL_PURCHASE_ORDER_DELIVERY_ORDER_SKU"), _.SCHEMA_NAME_39 = new t.SCHEMA_NAME(39, "INTERNAL_PURCHASE_ORDER_DELIVERY_FULFILLMENT_SKU"), _.SCHEMA_NAME_40 = new t.SCHEMA_NAME(40, "VOUCHER_CLAIM"), _.SCHEMA_NAME_41 = new t.SCHEMA_NAME(41, "VOUCHER_CLAIM_REDEMPTION"), _.SCHEMA_NAME_42 = new t.SCHEMA_NAME(42, "USER"), _.SCHEMA_NAME_43 = new t.SCHEMA_NAME(43, "MEMBER"), _.SCHEMA_NAME_44 = new t.SCHEMA_NAME(44, "MEMBER_V2"), _.SCHEMA_NAME_45 = new t.SCHEMA_NAME(45, "INVENTORY_WAREHOUSE_LOCATION"), _.SCHEMA_NAME_46 = new t.SCHEMA_NAME(46, "INVENTORY_RESTAURANT_LOCATION"), _.SCHEMA_NAME_47 = new t.SCHEMA_NAME(47, "MEMBER_STORE_PURCHASE"), _.SCHEMA_NAME_48 = new t.SCHEMA_NAME(48, "MEMBER_STORE_PURCHASE_PAYMENT"), _.SCHEMA_NAME_49 = new t.SCHEMA_NAME(49, "MEMBER_TITLE"), _.SCHEMA_NAME_50 = new t.SCHEMA_NAME(50, "MEMBERSHIP"), _.SCHEMA_NAME_51 = new t.SCHEMA_NAME(51, "MEMBERSHIP_TITLE"), _.SCHEMA_NAME_52 = new t.SCHEMA_NAME(52, "CREDIT_TRANSACTION"), _.SCHEMA_NAME_53 = new t.SCHEMA_NAME(53, "MENU_V3_GROUP"), _.SCHEMA_NAME_54 = new t.SCHEMA_NAME(54, "MENU_V4_GROUP"), _.SCHEMA_NAME_55 = new t.SCHEMA_NAME(55, "MENU_V3_SKU"), _.SCHEMA_NAME_56 = new t.SCHEMA_NAME(56, "MENU_V4_SKU"), _.SCHEMA_NAME_57 = new t.SCHEMA_NAME(57, "MENU_V3_ITEM"), _.SCHEMA_NAME_58 = new t.SCHEMA_NAME(58, "MENU_V4_ITEM"), _.SCHEMA_NAME_59 = new t.SCHEMA_NAME(59, "MENU_V4_CATALOG_ITEM"), _.SCHEMA_NAME_60 = new t.SCHEMA_NAME(60, "STOCK"), _.SCHEMA_NAME_61 = new t.SCHEMA_NAME(61, "REVIEW"), _.SCHEMA_NAME_62 = new t.SCHEMA_NAME(62, "CAMPAIGN"), _.SCHEMA_NAME_63 = new t.SCHEMA_NAME(63, "COLLECTIBLE_CONFIG"), _.SCHEMA_NAME_64 = new t.SCHEMA_NAME(64, "COLLECTIBLE_TRANSACTION"), _.SCHEMA_NAME_65 = new t.SCHEMA_NAME(65, "CAMPAIGN_TIER"), _.SCHEMA_NAME_66 = new t.SCHEMA_NAME(66, "STORE_TRANSACTION"), _.SCHEMA_NAME_67 = new t.SCHEMA_NAME(67, "STORE_BUNDLE"), _.SCHEMA_NAME_68 = new t.SCHEMA_NAME(68, "COLLECTIBLE_COLLECTION"), _.SCHEMA_NAME_69 = new t.SCHEMA_NAME(69, "KITCHEN_STATION"), _.SCHEMA_NAME_70 = new t.SCHEMA_NAME(70, "REFUND_BILL"), _.SCHEMA_NAME_71 = new t.SCHEMA_NAME(71, "MENU_V4_ITEM_INVENTORY_BINDING"), _.SCHEMA_NAME_72 = new t.SCHEMA_NAME(72, "INVENTORY_V1_FLATTEN_INVENTORY"), _.SCHEMA_NAME_73 = new t.SCHEMA_NAME(73, "ITEM_MOVEMENT"), _.SCHEMA_NAME_74 = new t.SCHEMA_NAME(74, "UNIT_COST_HISTORY"), _.SCHEMA_NAME_75 = new t.SCHEMA_NAME(75, "DS_BILL_ITEM"), _.SCHEMA_NAME_76 = new t.SCHEMA_NAME(76, "DS_MENU_PRODUCT"), _.SCHEMA_NAME_77 = new t.SCHEMA_NAME(77, "DS_MENU_PRODUCT_2"), _.SCHEMA_NAME_78 = new t.SCHEMA_NAME(78, "DS_BILL_ITEM_PRODUCT"), _.SCHEMA_NAME_79 = new t.SCHEMA_NAME(79, "RECOMMENDATION_CALL"), _.SCHEMA_NAME_80 = new t.SCHEMA_NAME(80, "VN_E_INVOICE_SUBMISSION"), _.SCHEMA_NAME_81 = new t.SCHEMA_NAME(81, "DAILY_FORECAST_SALE"), _.SCHEMA_NAME_82 = new t.SCHEMA_NAME(82, "HOURLY_FORECAST_SALE"), _.SCHEMA_NAME_83 = new t.SCHEMA_NAME(83, "CHANGE_PAYMENT_ACTIVITY"), _.SCHEMA_NAME_84 = new t.SCHEMA_NAME(84, "SALE_PAYMENT"), _.SCHEMA_NAME_85 = new t.SCHEMA_NAME(85, "SALE_TRANSACTION"), _.SCHEMA_NAME_86 = new t.SCHEMA_NAME(86, "POS_OVERRIDE_ITEM_LOG"), _.List_ahf = t._setArrayType(e([_.SCHEMA_NAME_0, _.SCHEMA_NAME_1, _.SCHEMA_NAME_2, _.SCHEMA_NAME_3, _.SCHEMA_NAME_4, _.SCHEMA_NAME_5, _.SCHEMA_NAME_6, _.SCHEMA_NAME_7, _.SCHEMA_NAME_8, _.SCHEMA_NAME_9, _.SCHEMA_NAME_10, _.SCHEMA_NAME_11, _.SCHEMA_NAME_12, _.SCHEMA_NAME_13, _.SCHEMA_NAME_14, _.SCHEMA_NAME_15, _.SCHEMA_NAME_16, _.SCHEMA_NAME_17, _.SCHEMA_NAME_18, _.SCHEMA_NAME_19, _.SCHEMA_NAME_20, _.SCHEMA_NAME_21, _.SCHEMA_NAME_22, _.SCHEMA_NAME_23, _.SCHEMA_NAME_24, _.SCHEMA_NAME_25, _.SCHEMA_NAME_26, _.SCHEMA_NAME_27, _.SCHEMA_NAME_28, _.SCHEMA_NAME_29, _.SCHEMA_NAME_30, _.SCHEMA_NAME_31, _.SCHEMA_NAME_32, _.SCHEMA_NAME_33, _.SCHEMA_NAME_34, _.SCHEMA_NAME_35, _.SCHEMA_NAME_36, _.SCHEMA_NAME_37, _.SCHEMA_NAME_38, _.SCHEMA_NAME_39, _.SCHEMA_NAME_40, _.SCHEMA_NAME_41, _.SCHEMA_NAME_42, _.SCHEMA_NAME_43, _.SCHEMA_NAME_44, _.SCHEMA_NAME_45, _.SCHEMA_NAME_46, _.SCHEMA_NAME_47, _.SCHEMA_NAME_48, _.SCHEMA_NAME_49, _.SCHEMA_NAME_50, _.SCHEMA_NAME_51, _.SCHEMA_NAME_52, _.SCHEMA_NAME_53, _.SCHEMA_NAME_54, _.SCHEMA_NAME_55, _.SCHEMA_NAME_56, _.SCHEMA_NAME_57, _.SCHEMA_NAME_58, _.SCHEMA_NAME_59, _.SCHEMA_NAME_60, _.SCHEMA_NAME_61, _.SCHEMA_NAME_62, _.SCHEMA_NAME_63, _.SCHEMA_NAME_64, _.SCHEMA_NAME_65, _.SCHEMA_NAME_66, _.SCHEMA_NAME_67, _.SCHEMA_NAME_68, _.SCHEMA_NAME_69, _.SCHEMA_NAME_70, _.SCHEMA_NAME_71, _.SCHEMA_NAME_72, _.SCHEMA_NAME_73, _.SCHEMA_NAME_74, _.SCHEMA_NAME_75, _.SCHEMA_NAME_76, _.SCHEMA_NAME_77, _.SCHEMA_NAME_78, _.SCHEMA_NAME_79, _.SCHEMA_NAME_80, _.SCHEMA_NAME_81, _.SCHEMA_NAME_82, _.SCHEMA_NAME_83, _.SCHEMA_NAME_84, _.SCHEMA_NAME_85, _.SCHEMA_NAME_86]), t.findType("JSArray<SCHEMA_NAME>")), _.List_cIc = t._setArrayType(e(["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"]), c.JSArray_String), _.TIME_FORMATTER_0 = new t.TIME_FORMATTER(0, "HOUR"), _.TIME_FORMATTER_1 = new t.TIME_FORMATTER(1, "MINUTE"), _.TIME_FORMATTER_2 = new t.TIME_FORMATTER(2, "SECOND"), _.TIME_FORMATTER_3 = new t.TIME_FORMATTER(3, "HOUR_NO_DAY"), _.TIME_FORMATTER_4 = new t.TIME_FORMATTER(4, "MINUTE_NO_DAY"), _.TIME_FORMATTER_5 = new t.TIME_FORMATTER(5, "SECOND_NO_DAY"), _.List_cWd = t._setArrayType(e([_.TIME_FORMATTER_0, _.TIME_FORMATTER_1, _.TIME_FORMATTER_2, _.TIME_FORMATTER_3, _.TIME_FORMATTER_4, _.TIME_FORMATTER_5]), c.JSArray_TIME_FORMATTER), _.List_empty1 = t._setArrayType(e([]), c.JSArray_QueryRequestDimension), _.List_empty0 = t._setArrayType(e([]), c.JSArray_QueryRequestFilter), _.List_empty = t._setArrayType(e([]), c.JSArray_String), _.List_empty2 = t._setArrayType(e([]), c.JSArray_dynamic), _.List_gc6 = t._setArrayType(e(["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"]), c.JSArray_String), _.List_h8w = t._setArrayType(e(["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"]), c.JSArray_String), _.List_jvJ = t._setArrayType(e([_.AGGREGATION_TYPE_0, _.AGGREGATION_TYPE_1, _.AGGREGATION_TYPE_2, _.AGGREGATION_TYPE_3, _.AGGREGATION_TYPE_4, _.AGGREGATION_TYPE_5, _.AGGREGATION_TYPE_6, _.AGGREGATION_TYPE_7, _.AGGREGATION_TYPE_8, _.AGGREGATION_TYPE_9, _.AGGREGATION_TYPE_10, _.AGGREGATION_TYPE_11, _.AGGREGATION_TYPE_12]), c.JSArray_AGGREGATION_TYPE), _.List_k6a = t._setArrayType(e([_.DATA_TYPE_0, _.DATA_TYPE_1, _.DATA_TYPE_2, _.DATA_TYPE_3]), c.JSArray_DATA_TYPE), _.List_mC8 = t._setArrayType(e([0, 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31]), c.JSArray_int), _.List_qpm = t._setArrayType(e(["J", "F", "M", "A", "M", "J", "J", "A", "S", "O", "N", "D"]), c.JSArray_String), _.List_wMy = t._setArrayType(e(["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"]), c.JSArray_String), _.PermissionType_0 = new t.PermissionType(0, "restaurant"), _.PermissionType_1 = new t.PermissionType(1, "warehouse"), _.PermissionType_2 = new t.PermissionType(2, "business"), _.List_wsa = t._setArrayType(e([_.PermissionType_0, _.PermissionType_1, _.PermissionType_2]), t.findType("JSArray<PermissionType>")), _.List_yRY = t._setArrayType(e([_.DIMENSION_OPTION_0, _.DIMENSION_OPTION_1, _.DIMENSION_OPTION_2, _.DIMENSION_OPTION_3, _.DIMENSION_OPTION_4, _.DIMENSION_OPTION_5, _.DIMENSION_OPTION_6, _.DIMENSION_OPTION_7, _.DIMENSION_OPTION_8, _.DIMENSION_OPTION_9, _.DIMENSION_OPTION_10, _.DIMENSION_OPTION_11]), c.JSArray_DIMENSION_OPTION), _.SOURCE_TYPE_0 = new t.SOURCE_TYPE(0, "MONGODB"), _.SOURCE_TYPE_1 = new t.SOURCE_TYPE(1, "COUCHDB"), _.SOURCE_TYPE_2 = new t.SOURCE_TYPE(2, "BIGQUERY"), _.List_ytA = t._setArrayType(e([_.SOURCE_TYPE_0, _.SOURCE_TYPE_1, _.SOURCE_TYPE_2]), t.findType("JSArray<SOURCE_TYPE>")), _.List_EQM = t._setArrayType(e(["d", "E", "EEEE", "LLL", "LLLL", "M", "Md", "MEd", "MMM", "MMMd", "MMMEd", "MMMM", "MMMMd", "MMMMEEEEd", "QQQ", "QQQQ", "y", "yM", "yMd", "yMEd", "yMMM", "yMMMd", "yMMMEd", "yMMMM", "yMMMMd", "yMMMMEEEEd", "yQQQ", "yQQQQ", "H", "Hm", "Hms", "j", "jm", "jms", "jmv", "jmz", "jz", "m", "ms", "s", "v", "z", "zzzz", "ZZZZ"]), c.JSArray_String), _.Map_EQ6TW = new t.ConstantStringMap(44, { d: "d", E: "ccc", EEEE: "cccc", LLL: "LLL", LLLL: "LLLL", M: "L", Md: "M/d", MEd: "EEE, M/d", MMM: "LLL", MMMd: "MMM d", MMMEd: "EEE, MMM d", MMMM: "LLLL", MMMMd: "MMMM d", MMMMEEEEd: "EEEE, MMMM d", QQQ: "QQQ", QQQQ: "QQQQ", y: "y", yM: "M/y", yMd: "M/d/y", yMEd: "EEE, M/d/y", yMMM: "MMM y", yMMMd: "MMM d, y", yMMMEd: "EEE, MMM d, y", yMMMM: "MMMM y", yMMMMd: "MMMM d, y", yMMMMEEEEd: "EEEE, MMMM d, y", yQQQ: "QQQ y", yQQQQ: "QQQQ y", H: "HH", Hm: "HH:mm", Hms: "HH:mm:ss", j: "h a", jm: "h:mm a", jms: "h:mm:ss a", jmv: "h:mm a v", jmz: "h:mm a z", jz: "h a z", m: "m", ms: "mm:ss", s: "s", v: "v", z: "z", zzzz: "zzzz", ZZZZ: "ZZZZ" }, _.List_EQM, t.findType("ConstantStringMap<String,String>")), _.List_empty3 = t._setArrayType(e([]), t.findType("JSArray<Symbol0>")), _.Map_empty = new t.ConstantStringMap(0, {}, _.List_empty3, t.findType("ConstantStringMap<Symbol0,@>")), _.StartOfWeek_0 = new t.StartOfWeek(0, "SATURDAY"), _.StartOfWeek_1 = new t.StartOfWeek(1, "SUNDAY"), _.StartOfWeek_2 = new t.StartOfWeek(2, "MONDAY"), _.Symbol_call = new t.Symbol("call"), _.TimeZone_0_false_UTC = new t.TimeZone(0, !1, "UTC"), _.Type_Object_xQ6 = t.typeLiteral("Object"), _.TzInstant_ww8 = new t.TzInstant(_.TimeZone_0_false_UTC, -864e13, 864e13), _.Units_3 = new t.Units(3, "HOUR"), _.Units_4 = new t.Units(4, "DAY"), _.Units_5 = new t.Units(5, "WEEK"), _.Units_6 = new t.Units(6, "MONTH"), _.Units_7 = new t.Units(7, "YEAR"), _._IterationMarker_null_2 = new t._IterationMarker(null, 2);
|
|
10875
10875
|
})(), function() {
|
|
10876
|
-
|
|
10876
|
+
h._JS_INTEROP_INTERCEPTOR_TAG = null, h.Primitives__identityHashCodeProperty = null, h.BoundClosure__receiverFieldNameCache = null, h.BoundClosure__interceptorFieldNameCache = null, h.getTagFunction = null, h.alternateTagFunction = null, h.prototypeForTagFunction = null, h.dispatchRecordsForInstanceTags = null, h.interceptorsForUncacheableTags = null, h.initNativeDispatchFlag = null, h._toStringVisiting = t._setArrayType([], t.findType("JSArray<Object>")), h.cachedDateSymbols = null, h.lastDateSymbolLocale = null, h._defaultLocale = null, h.DateFormat__useNativeDigitsByDefault = t.LinkedHashMap_LinkedHashMap$_empty(c.String, c.bool), h.DateFormat__digitMatchers = t.LinkedHashMap_LinkedHashMap$_empty(c.String, t.findType("RegExp")), h.Jiffy____defaultLocale = t._Cell$(), h.VisualizationField__filterDimensionOptions = t._setArrayType([_.DIMENSION_OPTION_5, _.DIMENSION_OPTION_6, _.DIMENSION_OPTION_7, _.DIMENSION_OPTION_8, _.DIMENSION_OPTION_9], c.JSArray_DIMENSION_OPTION), h.VisualizationField__fillGapDimensionOptions = t._setArrayType([_.DIMENSION_OPTION_1, _.DIMENSION_OPTION_2, _.DIMENSION_OPTION_3, _.DIMENSION_OPTION_4, _.DIMENSION_OPTION_6, _.DIMENSION_OPTION_7, _.DIMENSION_OPTION_8, _.DIMENSION_OPTION_9, _.DIMENSION_OPTION_10, _.DIMENSION_OPTION_11], c.JSArray_DIMENSION_OPTION), h.VisualizationField__isNumericAggregations = t._setArrayType([_.AGGREGATION_TYPE_2, _.AGGREGATION_TYPE_3], c.JSArray_AGGREGATION_TYPE), h.___local = t._Cell$();
|
|
10877
10877
|
}(), function() {
|
|
10878
|
-
var e =
|
|
10879
|
-
e(
|
|
10878
|
+
var e = K.lazyFinal, n = K.lazy;
|
|
10879
|
+
e(h, "DART_CLOSURE_PROPERTY_NAME", "$get$DART_CLOSURE_PROPERTY_NAME", () => t.getIsolateAffinityTag("_$dart_dartClosure")), e(h, "TypeErrorDecoder_noSuchMethodPattern", "$get$TypeErrorDecoder_noSuchMethodPattern", () => t.TypeErrorDecoder_extractPattern(t.TypeErrorDecoder_provokeCallErrorOn({
|
|
10880
10880
|
toString: function() {
|
|
10881
10881
|
return "$receiver$";
|
|
10882
10882
|
}
|
|
10883
|
-
}))), e(
|
|
10883
|
+
}))), e(h, "TypeErrorDecoder_notClosurePattern", "$get$TypeErrorDecoder_notClosurePattern", () => t.TypeErrorDecoder_extractPattern(t.TypeErrorDecoder_provokeCallErrorOn({
|
|
10884
10884
|
$method$: null,
|
|
10885
10885
|
toString: function() {
|
|
10886
10886
|
return "$receiver$";
|
|
10887
10887
|
}
|
|
10888
|
-
}))), e(
|
|
10888
|
+
}))), e(h, "TypeErrorDecoder_nullCallPattern", "$get$TypeErrorDecoder_nullCallPattern", () => t.TypeErrorDecoder_extractPattern(t.TypeErrorDecoder_provokeCallErrorOn(null))), e(h, "TypeErrorDecoder_nullLiteralCallPattern", "$get$TypeErrorDecoder_nullLiteralCallPattern", () => t.TypeErrorDecoder_extractPattern(function() {
|
|
10889
10889
|
var i = "$arguments$";
|
|
10890
10890
|
try {
|
|
10891
10891
|
null.$method$(i);
|
|
10892
10892
|
} catch (a) {
|
|
10893
10893
|
return a.message;
|
|
10894
10894
|
}
|
|
10895
|
-
}())), e(
|
|
10895
|
+
}())), e(h, "TypeErrorDecoder_undefinedCallPattern", "$get$TypeErrorDecoder_undefinedCallPattern", () => t.TypeErrorDecoder_extractPattern(t.TypeErrorDecoder_provokeCallErrorOn(void 0))), e(h, "TypeErrorDecoder_undefinedLiteralCallPattern", "$get$TypeErrorDecoder_undefinedLiteralCallPattern", () => t.TypeErrorDecoder_extractPattern(function() {
|
|
10896
10896
|
var i = "$arguments$";
|
|
10897
10897
|
try {
|
|
10898
10898
|
(void 0).$method$(i);
|
|
10899
10899
|
} catch (a) {
|
|
10900
10900
|
return a.message;
|
|
10901
10901
|
}
|
|
10902
|
-
}())), e(
|
|
10902
|
+
}())), e(h, "TypeErrorDecoder_nullPropertyPattern", "$get$TypeErrorDecoder_nullPropertyPattern", () => t.TypeErrorDecoder_extractPattern(t.TypeErrorDecoder_provokePropertyErrorOn(null))), e(h, "TypeErrorDecoder_nullLiteralPropertyPattern", "$get$TypeErrorDecoder_nullLiteralPropertyPattern", () => t.TypeErrorDecoder_extractPattern(function() {
|
|
10903
10903
|
try {
|
|
10904
10904
|
null.$method$;
|
|
10905
10905
|
} catch (i) {
|
|
10906
10906
|
return i.message;
|
|
10907
10907
|
}
|
|
10908
|
-
}())), e(
|
|
10908
|
+
}())), e(h, "TypeErrorDecoder_undefinedPropertyPattern", "$get$TypeErrorDecoder_undefinedPropertyPattern", () => t.TypeErrorDecoder_extractPattern(t.TypeErrorDecoder_provokePropertyErrorOn(void 0))), e(h, "TypeErrorDecoder_undefinedLiteralPropertyPattern", "$get$TypeErrorDecoder_undefinedLiteralPropertyPattern", () => t.TypeErrorDecoder_extractPattern(function() {
|
|
10909
10909
|
try {
|
|
10910
10910
|
(void 0).$method$;
|
|
10911
10911
|
} catch (i) {
|
|
10912
10912
|
return i.message;
|
|
10913
10913
|
}
|
|
10914
|
-
}())), e(
|
|
10915
|
-
var i, a, s = t.EnLocale$(_.StartOfWeek_1), o = t.EnLocale$(_.StartOfWeek_1), l = t.EnLocale$(_.StartOfWeek_1), d = t.EnLocale$(_.StartOfWeek_1), D = t.EnLocale$(_.StartOfWeek_1), f = t.EnLocale$(_.StartOfWeek_2), p = t.EnLocale$(_.StartOfWeek_2), y = t.EnLocale$(_.StartOfWeek_1), m = t.EnLocale$(_.StartOfWeek_1), g = t.EsLocale$(_.StartOfWeek_2),
|
|
10916
|
-
return t.createSentinel(), t.createSentinel(), t.createSentinel(), t.createSentinel(), t.createSentinel(), t.createSentinel(), t.createSentinel(), i = t.PtLocale$(_.StartOfWeek_2), a = t.PtLocale$(_.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", o, "en_sg", l, "en_au", d, "en_ca", D, "en_gb", f, "en_ie", p, "en_il", y, "en_nz", m, "es", g, "es_do",
|
|
10917
|
-
}), e(
|
|
10914
|
+
}())), e(h, "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))?)?)?$", !1)), e(h, "_hashSeed", "$get$_hashSeed", () => t.objectHashCode(_.Type_Object_xQ6)), e(h, "Endian_host", "$get$Endian_host", () => t.NativeByteData_NativeByteData$view(t.NativeUint16List_NativeUint16List$fromList(t._setArrayType([1], c.JSArray_int)).buffer, 0, null).getInt8(0) === 1 ? _.C_Endian0 : _.C_Endian), e(h, "_clockKey", "$get$_clockKey", () => new t.Object()), e(h, "en_USSymbols", "$get$en_USSymbols", () => new t.DateSymbols("en_US", _.List_BC_AD, _.List_6xs, _.List_qpm, _.List_qpm, _.List_cIc, _.List_cIc, _.List_h8w, _.List_h8w, _.List_wMy, _.List_wMy, _.List_gc6, _.List_gc6, _.List_3US, _.List_AM_PM)), n(h, "_dateTimeSymbols", "$get$_dateTimeSymbols", () => t.UninitializedLocaleData$("initializeDateFormatting(<locale>)", h.$get$en_USSymbols())), n(h, "dateTimePatterns", "$get$dateTimePatterns", () => t.UninitializedLocaleData$("initializeDateFormatting(<locale>)", _.Map_EQ6TW)), e(h, "asciiZeroCodeUnit", "$get$asciiZeroCodeUnit", () => 48), e(h, "DateFormat__matchers", "$get$DateFormat__matchers", () => t._setArrayType([t.RegExp_RegExp("^'(?:[^']|'')*'", !1), t.RegExp_RegExp("^(?:G+|y+|M+|k+|S+|E+|a+|h+|K+|H+|c+|L+|Q+|d+|D+|m+|s+|v+|z+|Z+)", !1), t.RegExp_RegExp("^[^'GyMkSEahKHcLQdDmsvzZ]+", !1)], t.findType("JSArray<RegExp>"))), e(h, "_DateFormatQuotedField__twoEscapedQuotes", "$get$_DateFormatQuotedField__twoEscapedQuotes", () => t.RegExp_RegExp("''", !1)), e(h, "asciiDigitMatcher", "$get$asciiDigitMatcher", () => t.RegExp_RegExp("^\\d+", !1)), n(h, "_availableLocales", "$get$_availableLocales", () => {
|
|
10915
|
+
var i, a, s = t.EnLocale$(_.StartOfWeek_1), o = t.EnLocale$(_.StartOfWeek_1), l = t.EnLocale$(_.StartOfWeek_1), d = t.EnLocale$(_.StartOfWeek_1), D = t.EnLocale$(_.StartOfWeek_1), f = t.EnLocale$(_.StartOfWeek_2), p = t.EnLocale$(_.StartOfWeek_2), y = t.EnLocale$(_.StartOfWeek_1), m = t.EnLocale$(_.StartOfWeek_1), g = t.EsLocale$(_.StartOfWeek_2), S = t.EsLocale$(_.StartOfWeek_2), E = t.EsLocale$(_.StartOfWeek_1), C = t.FrLocale$(_.StartOfWeek_2), F = t.FrLocale$(_.StartOfWeek_2), M = t.FrLocale$(_.StartOfWeek_1), x = t.ZhCnLocale$(_.StartOfWeek_1), R = t.ZhCnLocale$(_.StartOfWeek_1), L = t.ZhLocale$(_.StartOfWeek_1), w = t.ZhLocale$(_.StartOfWeek_1), v = t.DeLocale$(_.StartOfWeek_2), k = t.DeLocale$(_.StartOfWeek_2), j = t.DeLocale$(_.StartOfWeek_2), f0 = t.DeLocale$(_.StartOfWeek_2), h0 = t.ItLocale$(_.StartOfWeek_2), o0 = t.ItLocale$(_.StartOfWeek_2), S0 = t.ArLyLocale$(!0, _.StartOfWeek_0), b0 = t.ArLyLocale$(!1, _.StartOfWeek_0), M0 = t.ArSaMaDzKwTnLocale$(!1, _.StartOfWeek_1), R0 = t.ArSaMaDzKwTnLocale$(!1, _.StartOfWeek_1), T0 = t.ArSaMaDzKwTnLocale$(!0, _.StartOfWeek_1), I0 = t.ArSaMaDzKwTnLocale$(!1, _.StartOfWeek_0), x0 = t.ArSaMaDzKwTnLocale$(!1, _.StartOfWeek_0);
|
|
10916
|
+
return t.createSentinel(), t.createSentinel(), t.createSentinel(), t.createSentinel(), t.createSentinel(), t.createSentinel(), t.createSentinel(), i = t.PtLocale$(_.StartOfWeek_2), a = t.PtLocale$(_.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", o, "en_sg", l, "en_au", d, "en_ca", D, "en_gb", f, "en_ie", p, "en_il", y, "en_nz", m, "es", g, "es_do", S, "es_us", E, "fr", C, "fr_ch", F, "fr_ca", M, "zh", x, "zh_cn", R, "zh_hk", L, "zh_tw", w, "de", v, "de_de", k, "de_at", j, "de_ch", f0, "it", h0, "it_ch", o0, "ar", S0, "ar_ly", b0, "ar_dz", M0, "ar_kw", R0, "ar_sa", T0, "ar_ma", I0, "ar_tn", x0, "az", new t.AzLocale(), "id", new t.IdLocale(), "ja", new t.JaLocale(), "ko", new t.KoLocale(), "ru", new t.RuLocale(), "uk", new t.UkLocale(), "hi", new t.HiLocale(), "pt", i, "pt_br", a, "pl", new t.PlLocale(), "tr", new t.TrLocale(), "sv", new t.SvLocale(), "nb", new t.NbLocale(), "fa", new t.FaLocale(), "bn", new t.BnLocale(), "nl", new t.NlLocale(), "th", new t.ThLocale()], c.String, t.findType("Locale"));
|
|
10917
|
+
}), e(h, "addonFlattenItemSchema", "$get$addonFlattenItemSchema", () => {
|
|
10918
10918
|
var i = "createdAt", a = null, s = t.Source_Source$couchdb("", ""), o = t.TopLevelFilters$(t._setArrayType([t.Permission_Permission$restaurant("restaurantId")], c.JSArray_Permission), i);
|
|
10919
10919
|
return t.Schema_Schema$build(a, _.List_empty, 3, t._setArrayType(["restaurantId"], c.JSArray_String), a, new t.addonFlattenItemSchema_closure(), _.List_empty0, a, a, !0, !1, !1, !0, !1, new t.addonFlattenItemSchema_closure0(), "Addon", "flatten_items", "flatten_item", _.SCHEMA_NAME_7, i, "", s, o);
|
|
10920
|
-
}), e(
|
|
10920
|
+
}), e(h, "adjustmentSchema", "$get$adjustmentSchema", () => {
|
|
10921
10921
|
var i = "adjustment", a = "adjustments", s = "createdAt", o = null, l = t.Source_Source$couchdb(a, i), d = t.TopLevelFilters$(t._setArrayType([t.Permission_Permission$restaurant("restaurantId")], c.JSArray_Permission), s), D = c.JSArray_String, f = t._setArrayType([t.Index$(t._setArrayType(["id"], D), o, o), t.Index$(t._setArrayType(["doc_id"], D), o, o), t.Index$(t._setArrayType(["restaurant_id", "created_at"], D), "idx_adjustments_select_index", o), t.Index$(t._setArrayType(["item_id"], D), o, o), t.Index$(t._setArrayType(["bill_id"], D), o, o), t.Index$(t._setArrayType(["published_at"], D), o, o)], c.JSArray_Index), p = t._setArrayType(["restaurantId"], D);
|
|
10922
10922
|
return t.Schema_Schema$build("sales", t._setArrayType(["discount", "adjustment", "promo", "promotion", "offer"], D), 2, p, o, new t.adjustmentSchema_closure(), _.List_empty0, f, o, !1, !0, !1, !1, !1, new t.adjustmentSchema_closure0(), "Discount", a, i, _.SCHEMA_NAME_21, s, "couchdb_bill", l, d);
|
|
10923
|
-
}), e(
|
|
10923
|
+
}), e(h, "billSchema", "$get$billSchema", () => {
|
|
10924
10924
|
var i = null, a = "createdAt", s = t.Source_Source$couchdb(i, "bill"), o = t.TopLevelFilters$(t._setArrayType([t.Permission_Permission$restaurant("restaurantId")], c.JSArray_Permission), a), l = c.JSArray_String, d = t._setArrayType([t.Index$(t._setArrayType(["id"], l), i, i), t.Index$(t._setArrayType(["doc_id"], l), i, i), t.Index$(t._setArrayType(["restaurant_id", "created_at"], l), "idx_bills_select_index", i), t.Index$(t._setArrayType(["member_id"], l), i, i), t.Index$(t._setArrayType(["member_user_id"], l), i, i), t.Index$(t._setArrayType(["published_at"], l), i, i), t.Index$(t._setArrayType(["restaurant_id", "completed_at"], l), "idx_complete_time_bills_select_index", i)], c.JSArray_Index), D = t._setArrayType(["restaurantId"], l);
|
|
10925
10925
|
return t.Schema_Schema$build("sales", t._setArrayType(["bill", "order", "transaction", "receipt", "customer", "table", "dine in", "takeaway", "total amount"], l), 1, D, i, new t.billSchema_closure(), _.List_empty0, d, i, !1, !0, !1, !1, !1, new t.billSchema_closure0(), "Bill", "bills", "bill", _.SCHEMA_NAME_0, a, "couchdb_bill", s, o);
|
|
10926
|
-
}), e(
|
|
10926
|
+
}), e(h, "businessSchema", "$get$businessSchema", () => {
|
|
10927
10927
|
var i = null, a = t.Source_Source$mongodb(i, "Businesses"), s = t.TopLevelFilters$(t._setArrayType([t.Permission_Permission$business("id")], c.JSArray_Permission), i), o = c.JSArray_String, l = t._setArrayType([t.Index$(t._setArrayType(["id"], o), i, i), t.Index$(t._setArrayType(["doc_id"], o), i, i)], c.JSArray_Index);
|
|
10928
10928
|
return t.Schema_Schema$build(i, _.List_empty, 3, t._setArrayType([], o), i, new t.businessSchema_closure(), _.List_empty0, l, i, !1, !0, !1, !1, !1, new t.businessSchema_closure0(), "Business", "businesses", "business", _.SCHEMA_NAME_2, i, "mongodb_businesses", a, s);
|
|
10929
|
-
}), e(
|
|
10929
|
+
}), e(h, "campaignSchema", "$get$campaignSchema", () => {
|
|
10930
10930
|
var i = null, a = t.Source_Source$mongodb(i, "Campaigns"), s = t.TopLevelFilters$(t._setArrayType([t.Permission_Permission$business("businessId")], c.JSArray_Permission), i), o = c.JSArray_String, l = t._setArrayType([t.Index$(t._setArrayType(["id"], o), i, i), t.Index$(t._setArrayType(["doc_id"], o), i, i), t.Index$(t._setArrayType(["created_at"], o), i, i), t.Index$(t._setArrayType(["business_id"], o), i, i), t.Index$(t._setArrayType(["collectible_id"], o), i, i)], c.JSArray_Index), d = t._setArrayType([], o);
|
|
10931
10931
|
return t.Schema_Schema$build("loyalty", t._setArrayType(["campaign", "promotion campaign", "marketing"], o), 2, d, i, new t.campaignSchema_closure(), _.List_empty0, l, i, !0, !0, !1, !1, !1, new t.campaignSchema_closure0(), "Campaign", "campaigns", "campaign", _.SCHEMA_NAME_62, i, "mongodb_marketing_db_campaigns", a, s);
|
|
10932
|
-
}), e(
|
|
10932
|
+
}), e(h, "campaignTierSchema", "$get$campaignTierSchema", () => {
|
|
10933
10933
|
var i = null, a = t.Source_Source$mongodb("tiers", "Campaigns"), s = t.TopLevelFilters$(t._setArrayType([t.Permission_Permission$business("businessId")], c.JSArray_Permission), i), o = c.JSArray_String, l = t._setArrayType([t.Index$(t._setArrayType(["id"], o), i, i), t.Index$(t._setArrayType(["doc_id"], o), i, i), t.Index$(t._setArrayType(["created_at"], o), i, i), t.Index$(t._setArrayType(["business_id"], o), i, i)], c.JSArray_Index);
|
|
10934
10934
|
return t.Schema_Schema$build(i, _.List_empty, 3, t._setArrayType([], o), i, new t.campaignTierSchema_closure(), _.List_empty0, l, i, !0, !0, !1, !1, !1, new t.campaignTierSchema_closure0(), "Campaign tier", "campaign_tiers", "campaign_tier", _.SCHEMA_NAME_65, i, "mongodb_marketing_db_campaigns", a, s);
|
|
10935
|
-
}), e(
|
|
10935
|
+
}), e(h, "changePaymentActivitySchema", "$get$changePaymentActivitySchema", () => {
|
|
10936
10936
|
var i = "createdAt", a = null, s = t.Source_Source$couchdb("changePaymentActivities", "bill"), o = t.TopLevelFilters$(t._setArrayType([t.Permission_Permission$restaurant("restaurantId")], c.JSArray_Permission), i), l = c.JSArray_String, d = t._setArrayType([t.Index$(t._setArrayType(["doc_id"], l), a, a), t.Index$(t._setArrayType(["restaurant_id", "created_at"], l), "idx_cpa_select_index", a), t.Index$(t._setArrayType(["bill_id"], l), a, a), t.Index$(t._setArrayType(["payment_id"], l), a, a), t.Index$(t._setArrayType(["published_at"], l), a, a)], c.JSArray_Index), D = t._setArrayType(["restaurantId"], l);
|
|
10937
10937
|
return t.Schema_Schema$build("sales", t._setArrayType(["change payment", "payment method change", "payment activity", "change tender"], l), 2, D, a, new t.changePaymentActivitySchema_closure(), _.List_empty0, d, a, !1, !0, !1, !1, !1, new t.changePaymentActivitySchema_closure0(), "Change Payment Activity", "change_payment_activities", "change_payment_activity", _.SCHEMA_NAME_83, i, "couchdb_bill", s, o);
|
|
10938
|
-
}), e(
|
|
10938
|
+
}), e(h, "chargeSchema", "$get$chargeSchema", () => {
|
|
10939
10939
|
var i = "createdAt", a = null, s = t.Source_Source$couchdb("charges", "bill"), o = t.TopLevelFilters$(t._setArrayType([t.Permission_Permission$restaurant("restaurantId")], c.JSArray_Permission), i), l = c.JSArray_String, d = t._setArrayType([t.Index$(t._setArrayType(["id"], l), a, a), t.Index$(t._setArrayType(["doc_id"], l), a, a), t.Index$(t._setArrayType(["restaurant_id", "created_at"], l), "idx_charges_select_index", a), t.Index$(t._setArrayType(["bill_id"], l), a, a), t.Index$(t._setArrayType(["parent_id"], l), a, a), t.Index$(t._setArrayType(["published_at"], l), a, a)], c.JSArray_Index), D = t._setArrayType(["restaurantId"], l);
|
|
10940
10940
|
return t.Schema_Schema$build("sales", t._setArrayType(["charge", "service charge", "tax", "gst", "sst", "fee"], l), 2, D, a, new t.chargeSchema_closure(), _.List_empty0, d, 900, !1, !0, !1, !1, !1, new t.chargeSchema_closure0(), "Charge", "charges", "charge", _.SCHEMA_NAME_12, i, "couchdb_bill", s, o);
|
|
10941
|
-
}), e(
|
|
10941
|
+
}), e(h, "closingDraftSchema", "$get$closingDraftSchema", () => {
|
|
10942
10942
|
var i = null, a = "createdAt", s = t.Source_Source$couchdb(i, "closingDraft"), o = t.TopLevelFilters$(t._setArrayType([t.Permission_Permission$restaurant("restaurantId"), t.Permission_Permission$warehouse("warehouseId")], c.JSArray_Permission), a), l = c.JSArray_String, d = t._setArrayType([t.Index$(t._setArrayType(["id"], l), i, i), t.Index$(t._setArrayType(["doc_id"], l), i, i), t.Index$(t._setArrayType(["location_id", "created_at"], l), "idx_closing_draft_select_index", i), t.Index$(t._setArrayType(["published_at"], l), i, i), t.Index$(t._setArrayType(["closing_adjustment_id"], l), i, i)], c.JSArray_Index);
|
|
10943
10943
|
return t.Schema_Schema$build(i, _.List_empty, 3, t._setArrayType(["restaurantId"], l), `select *
|
|
10944
10944
|
from (
|
|
@@ -10970,34 +10970,34 @@ from (
|
|
|
10970
10970
|
from closing_drafts
|
|
10971
10971
|
) t
|
|
10972
10972
|
`, new t.closingDraftSchema_closure(), _.List_empty0, d, i, !0, !0, !1, !1, !1, new t.closingDraftSchema_closure0(), "Closing draft", "closing_drafts", "closing_draft", _.SCHEMA_NAME_26, a, "couchdb_closing_draft", s, o);
|
|
10973
|
-
}), e(
|
|
10973
|
+
}), e(h, "closingDraftSkuSchema", "$get$closingDraftSkuSchema", () => {
|
|
10974
10974
|
var i = "createdAt", a = null, s = t.Source_Source$couchdb("skus", "closingDraft"), o = t.TopLevelFilters$(t._setArrayType([t.Permission_Permission$restaurant("restaurantId"), t.Permission_Permission$warehouse("warehouseId")], c.JSArray_Permission), i), l = c.JSArray_String, d = t._setArrayType([t.Index$(t._setArrayType(["id"], l), a, a), t.Index$(t._setArrayType(["doc_id"], l), a, a), t.Index$(t._setArrayType(["published_at"], l), a, a), t.Index$(t._setArrayType(["location_id", "created_at"], l), "idx_cds_select_index", a), t.Index$(t._setArrayType(["closing_adjustment_id", "sku_id"], l), "idx_cds_closing_sku_index", a)], c.JSArray_Index);
|
|
10975
10975
|
return t.Schema_Schema$build(a, _.List_empty, 3, t._setArrayType(["restaurantId"], l), a, new t.closingDraftSkuSchema_closure(), _.List_empty0, d, a, !0, !0, !1, !0, !0, new t.closingDraftSkuSchema_closure0(), "Closing draft sku", "closing_draft_skus", "closing_draft_sku", _.SCHEMA_NAME_27, i, "couchdb_closing_draft", s, o);
|
|
10976
|
-
}), e(
|
|
10976
|
+
}), e(h, "closingSkuSchema", "$get$closingSkuSchema", () => {
|
|
10977
10977
|
var i = "createdAt", a = null, s = t.Source_Source$couchdb("skus", "closing"), o = t.TopLevelFilters$(t._setArrayType([t.Permission_Permission$restaurant("restaurantId"), t.Permission_Permission$warehouse("warehouseId")], c.JSArray_Permission), i), l = c.JSArray_String, d = t._setArrayType([t.Index$(t._setArrayType(["id"], l), a, a), t.Index$(t._setArrayType(["doc_id"], l), a, a), t.Index$(t._setArrayType(["created_at"], l), a, a), t.Index$(t._setArrayType(["location_id"], l), a, a), t.Index$(t._setArrayType(["published_at"], l), a, a)], c.JSArray_Index), D = t._setArrayType(["restaurantId"], l);
|
|
10978
10978
|
return t.Schema_Schema$build("inventory", t._setArrayType(["closing", "stock take", "physical count", "stocktake"], l), 2, D, a, new t.closingSkuSchema_closure(), _.List_empty0, d, a, !0, !0, !1, !1, !1, new t.closingSkuSchema_closure0(), "Closing sku", "closing_skus", "closing_sku", _.SCHEMA_NAME_25, i, "couchdb_closing", s, o);
|
|
10979
|
-
}), e(
|
|
10979
|
+
}), e(h, "collectibleCollectionSchema", "$get$collectibleCollectionSchema", () => {
|
|
10980
10980
|
var i = null, a = "createdAt", s = t.Source_Source$mongodb(i, "Collections"), o = t.TopLevelFilters$(t._setArrayType([t.Permission_Permission$business("businessId")], c.JSArray_Permission), a), l = c.JSArray_String, d = t._setArrayType([t.Index$(t._setArrayType(["id"], l), i, i), t.Index$(t._setArrayType(["doc_id"], l), i, i), t.Index$(t._setArrayType(["created_at"], l), i, i), t.Index$(t._setArrayType(["business_id"], l), i, i), t.Index$(t._setArrayType(["user_id", "type"], l), i, i)], c.JSArray_Index);
|
|
10981
10981
|
return t.Schema_Schema$build(i, _.List_empty, 3, t._setArrayType([], l), i, new t.collectibleCollectionSchema_closure(), _.List_empty0, d, i, !0, !0, !1, !1, !1, new t.collectibleCollectionSchema_closure0(), "Collectible collection", "collectible_collections", "collectible_collection", _.SCHEMA_NAME_68, a, "mongodb_marketing_db_collections", s, o);
|
|
10982
|
-
}), e(
|
|
10982
|
+
}), e(h, "collectibleConfigSchema", "$get$collectibleConfigSchema", () => {
|
|
10983
10983
|
var i = null, a = t.Source_Source$mongodb(i, "CollectibleConfigs"), s = t.TopLevelFilters$(t._setArrayType([t.Permission_Permission$business("businessId")], c.JSArray_Permission), i), o = c.JSArray_String, l = t._setArrayType([t.Index$(t._setArrayType(["id"], o), i, i), t.Index$(t._setArrayType(["doc_id"], o), i, i), t.Index$(t._setArrayType(["created_at"], o), i, i), t.Index$(t._setArrayType(["business_id"], o), i, i)], c.JSArray_Index);
|
|
10984
10984
|
return t.Schema_Schema$build(i, _.List_empty, 3, t._setArrayType([], o), i, new t.collectibleConfigSchema_closure(), _.List_empty0, l, i, !0, !0, !1, !1, !1, new t.collectibleConfigSchema_closure0(), "Collectible config", "collectible_configs", "collectible_config", _.SCHEMA_NAME_63, i, "mongodb_marketing_db_collectible_configs", a, s);
|
|
10985
|
-
}), e(
|
|
10985
|
+
}), e(h, "collectibleTransactionSchema", "$get$collectibleTransactionSchema", () => {
|
|
10986
10986
|
var i = "createdAt", a = null, s = t.Source_Source$mongodb("amounts", "Transactions"), o = t.TopLevelFilters$(t._setArrayType([t.Permission_Permission$business("businessId")], c.JSArray_Permission), i), l = c.JSArray_String, d = t._setArrayType([t.Index$(t._setArrayType(["id"], l), a, a), t.Index$(t._setArrayType(["doc_id"], l), a, a), t.Index$(t._setArrayType(["created_at"], l), a, a), t.Index$(t._setArrayType(["business_id"], l), a, a), t.Index$(t._setArrayType(["collection_id"], l), a, a), t.Index$(t._setArrayType(["business_id", "created_at"], l), "idx_collectible_transactions_select_index", a), t.Index$(t._setArrayType(["ref_id"], l), a, a), t.Index$(t._setArrayType(["user_id"], l), a, a)], c.JSArray_Index);
|
|
10987
10987
|
return t.Schema_Schema$build(a, _.List_empty, 3, t._setArrayType([], l), a, new t.collectibleTransactionSchema_closure(), _.List_empty0, d, a, !0, !0, !1, !1, !1, new t.collectibleTransactionSchema_closure0(), "Collectible transaction", "collectible_transactions", "collectible_transaction", _.SCHEMA_NAME_64, i, "mongodb_marketing_db_transactions", s, o);
|
|
10988
|
-
}), e(
|
|
10988
|
+
}), e(h, "completeTimeBillSchema", "$get$completeTimeBillSchema", () => {
|
|
10989
10989
|
var i = null, a = t.Source_Source$couchdb(i, ""), s = t.TopLevelFilters$(t._setArrayType([t.Permission_Permission$restaurant("restaurantId")], c.JSArray_Permission), "completedAt");
|
|
10990
10990
|
return t.Schema_Schema$build(i, _.List_empty, 3, t._setArrayType(["restaurantId"], c.JSArray_String), i, new t.completeTimeBillSchema_closure(), _.List_empty0, i, i, !0, !1, !1, !1, !1, new t.completeTimeBillSchema_closure0(), "Bill (Complete time)", "bills", "bill", _.SCHEMA_NAME_1, "createdAt", "", a, s);
|
|
10991
|
-
}), e(
|
|
10991
|
+
}), e(h, "counterSchema", "$get$counterSchema", () => {
|
|
10992
10992
|
var i = null, a = "createdAt", s = t.Source_Source$couchdb(i, "counter"), o = t.TopLevelFilters$(t._setArrayType([t.Permission_Permission$restaurant("restaurantId")], c.JSArray_Permission), a), l = c.JSArray_String, d = t._setArrayType([t.Index$(t._setArrayType(["id"], l), i, i), t.Index$(t._setArrayType(["doc_id"], l), i, i), t.Index$(t._setArrayType(["restaurant_id"], l), i, i)], c.JSArray_Index), D = t._setArrayType(["restaurantId"], l);
|
|
10993
10993
|
return t.Schema_Schema$build("operations", t._setArrayType(["counter", "pos", "terminal", "register"], l), 2, D, i, new t.counterSchema_closure(), _.List_empty0, d, i, !0, !0, !1, !1, !1, new t.counterSchema_closure0(), "Counter", "counters", "counter", _.SCHEMA_NAME_3, a, "couchdb_counter", s, o);
|
|
10994
|
-
}), e(
|
|
10994
|
+
}), e(h, "creditTransactionSchema", "$get$creditTransactionSchema", () => {
|
|
10995
10995
|
var i = null, a = "createdAt", s = t.Source_Source$mongodb(i, "CreditTransactions"), o = t.TopLevelFilters$(t._setArrayType([t.Permission_Permission$business("businessId"), t.Permission_Permission$restaurant("restaurantId")], c.JSArray_Permission), a), l = c.JSArray_String, d = t._setArrayType([t.Index$(t._setArrayType(["id"], l), i, i), t.Index$(t._setArrayType(["doc_id"], l), i, i), t.Index$(t._setArrayType(["created_at"], l), i, i), t.Index$(t._setArrayType(["restaurant_id"], l), i, i), t.Index$(t._setArrayType(["business_id"], l), i, i)], c.JSArray_Index), D = t._setArrayType(["restaurantId"], l);
|
|
10996
10996
|
return t.Schema_Schema$build("loyalty", t._setArrayType(["credit", "point", "reward point", "loyalty point"], l), 2, D, i, new t.creditTransactionSchema_closure(), _.List_empty0, d, i, !0, !0, !1, !1, !1, new t.creditTransactionSchema_closure0(), "Credit transaction", "credit_transactions", "credit_transaction", _.SCHEMA_NAME_52, a, "mongodb_credit_transactions", s, o);
|
|
10997
|
-
}), e(
|
|
10997
|
+
}), e(h, "dailyForecastSalesSchema", "$get$dailyForecastSalesSchema", () => {
|
|
10998
10998
|
var i, a, s = "benchmark_daily_sales_forecast", o = "daily_forecast_sales", l = "createdAt", d = null, D = c.JSArray_String, f = t._setArrayType(["restaurant_id", "forecast_date", "training_period", "forecast_period", "model_version"], D);
|
|
10999
10999
|
return f = t.Source_Source$bigquery("feedme_dbt_mart_data", t._setArrayType(["forecast_date"], D), s, "published_at", f), i = t.TopLevelFilters$(t._setArrayType([t.Permission_Permission$restaurant("restaurantId")], c.JSArray_Permission), l), a = t._setArrayType([t.Index$(t._setArrayType(["id"], D), d, d), t.Index$(t._setArrayType(["doc_id"], D), d, d), t.Index$(t._setArrayType(["restaurant_id", "created_at"], D), d, d)], c.JSArray_Index), t.Schema_Schema$build(d, _.List_empty, 3, t._setArrayType(["restaurantId"], D), d, new t.dailyForecastSalesSchema_closure(), _.List_empty0, a, 43200, !0, !0, !1, !1, !1, new t.dailyForecastSalesSchema_closure0(), "Daily Forecast Sale", o, o, _.SCHEMA_NAME_81, l, s, f, i);
|
|
11000
|
-
}), e(
|
|
11000
|
+
}), e(h, "discountSchema", "$get$discountSchema", () => {
|
|
11001
11001
|
var i = null, a = "createdAt", s = t.Source_Source$couchdb(i, ""), o = t.TopLevelFilters$(t._setArrayType([t.Permission_Permission$restaurant("restaurantId")], c.JSArray_Permission), a);
|
|
11002
11002
|
return t.Schema_Schema$build(i, _.List_empty, 3, t._setArrayType(["restaurantId"], c.JSArray_String), `select
|
|
11003
11003
|
id,
|
|
@@ -11042,76 +11042,76 @@ where collectible_collections.id = reference) as reason,
|
|
|
11042
11042
|
from payments
|
|
11043
11043
|
where name = 'PAYMENT VOUCHER'
|
|
11044
11044
|
`, new t.discountSchema_closure(), _.List_empty0, i, i, !0, !1, !1, !1, !1, new t.discountSchema_closure0(), "Discount (Adjustment, Payment)", "adjustments", "adjustment", _.SCHEMA_NAME_20, a, "", s, o);
|
|
11045
|
-
}), e(
|
|
11045
|
+
}), e(h, "drawerSchema", "$get$drawerSchema", () => {
|
|
11046
11046
|
var i = null, a = "createdAt", s = t.Source_Source$couchdb(i, "drawer"), o = t.TopLevelFilters$(t._setArrayType([t.Permission_Permission$restaurant("restaurantId")], c.JSArray_Permission), a), l = c.JSArray_String, d = t._setArrayType([t.Index$(t._setArrayType(["id"], l), i, i), t.Index$(t._setArrayType(["doc_id"], l), i, i), t.Index$(t._setArrayType(["created_at"], l), i, i), t.Index$(t._setArrayType(["restaurant_id"], l), i, i)], c.JSArray_Index), D = t._setArrayType(["restaurantId"], l);
|
|
11047
11047
|
return t.Schema_Schema$build("operations", t._setArrayType(["drawer", "cash drawer", "float", "petty cash", "cash management"], l), 2, D, i, new t.drawerSchema_closure(), _.List_empty0, d, i, !1, !0, !1, !1, !1, new t.drawerSchema_closure0(), "Drawer", "drawers", "drawer", _.SCHEMA_NAME_4, a, "couchdb_drawer", s, o);
|
|
11048
|
-
}), e(
|
|
11048
|
+
}), e(h, "flattenItemSchema", "$get$flattenItemSchema", () => {
|
|
11049
11049
|
var i = "createdAt", a = null, s = t.Source_Source$couchdb("flattenItems", "bill"), o = t.TopLevelFilters$(t._setArrayType([t.Permission_Permission$restaurant("restaurantId")], c.JSArray_Permission), i), l = c.JSArray_String, d = t._setArrayType([t.Index$(t._setArrayType(["id"], l), a, a), t.Index$(t._setArrayType(["doc_id"], l), a, a), t.Index$(t._setArrayType(["restaurant_id", "created_at"], l), "idx_flatten_items_select_index", a), t.Index$(t._setArrayType(["bill_id"], l), a, a), t.Index$(t._setArrayType(["parent_id"], l), a, a), t.Index$(t._setArrayType(["published_at"], l), a, a)], c.JSArray_Index), D = t._setArrayType(["restaurantId"], l);
|
|
11050
11050
|
return t.Schema_Schema$build("sales", t._setArrayType(["sales", "revenue", "sold", "item sold", "product sold", "quantity", "grabfood", "foodpanda", "delivery", "online order", "platform", "channel", "order type"], l), 1, D, a, new t.flattenItemSchema_closure(), _.List_empty0, d, a, !1, !0, !1, !1, !1, new t.flattenItemSchema_closure0(), "Product", "flatten_items", "flatten_item", _.SCHEMA_NAME_5, i, "couchdb_bill", s, o);
|
|
11051
|
-
}), e(
|
|
11051
|
+
}), e(h, "hourlyForecastSalesSchema", "$get$hourlyForecastSalesSchema", () => {
|
|
11052
11052
|
var i = "benchmark_hourly_sales_forecast", a = "hourly_forecast_sales", s = null, o = "createdAt", l = c.JSArray_String, d = t.Source_Source$bigquery("feedme_dbt_mart_data", s, i, "published_at", t._setArrayType(["restaurant_id", "forecast_timestamp", "training_period", "forecast_period", "model_version"], l)), D = t.TopLevelFilters$(t._setArrayType([t.Permission_Permission$restaurant("restaurantId")], c.JSArray_Permission), o), f = t._setArrayType([t.Index$(t._setArrayType(["id"], l), s, s), t.Index$(t._setArrayType(["doc_id"], l), s, s), t.Index$(t._setArrayType(["restaurant_id", "created_at"], l), s, s)], c.JSArray_Index);
|
|
11053
11053
|
return t.Schema_Schema$build(s, _.List_empty, 3, t._setArrayType(["restaurantId"], l), s, new t.hourlyForecastSalesSchema_closure(), _.List_empty0, f, 43200, !0, !0, !1, !1, !1, new t.hourlyForecastSalesSchema_closure0(), "Hourly Forecast Sale", a, a, _.SCHEMA_NAME_82, o, i, d, D);
|
|
11054
|
-
}), e(
|
|
11054
|
+
}), e(h, "defaultSchemas", "$get$defaultSchemas", () => t._setArrayType([h.$get$billSchema(), h.$get$completeTimeBillSchema(), h.$get$counterSchema(), h.$get$drawerSchema(), h.$get$flattenItemSchema(), h.$get$addonFlattenItemSchema(), h.$get$parentFlattenItemSchema(), h.$get$itemSchema(), h.$get$subItemSchema(), h.$get$paymentSchema(), h.$get$chargeSchema(), h.$get$paymentTimePaymentSchema(), h.$get$recordSchema(), h.$get$slotSchema(), h.$get$staffSchema(), h.$get$timesheetSchema(), h.$get$adjustmentSchema(), h.$get$discountSchema(), h.$get$inventoryAdjustmentSchema(), h.$get$inventoryAdjustmentSkuSchema(), h.$get$internalPurchaseOrderSchema(), h.$get$internalPurchaseOrderItemSchema(), h.$get$internalPurchaseOrderDeliveryOrderSchema(), h.$get$internalPurchaseOrderDeliveryOrderSkuSchema(), h.$get$internalPurchaseOrderDeliveryFulfillmentSchema(), h.$get$internalPurchaseOrderDeliveryFulfillmentSkuSchema(), h.$get$purchaseOrderSchema(), h.$get$purchaseOrderItemSchema(), h.$get$purchaseOrderDeliveryOrderSchema(), h.$get$purchaseOrderDeliveryOrderSkuSchema(), h.$get$purchaseOrderDeliveryFulfillmentSchema(), h.$get$purchaseOrderDeliveryFulfillmentSkuSchema(), h.$get$restaurantSchema(), h.$get$restaurantFeatureSchema(), h.$get$businessSchema(), h.$get$userSchema(), h.$get$voucherClaimSchema(), h.$get$voucherClaimRedemptionSchema(), h.$get$restaurantLocationSchema(), h.$get$warehouseLocationSchema(), h.$get$memberSchema(), h.$get$memberV2Schema(), h.$get$memberStorePurchaseSchema(), h.$get$memberStorePurchasePaymentSchema(), h.$get$membershipSchema(), h.$get$membershipTitleSchema(), h.$get$memberTitleSchema(), h.$get$menuV3GroupSchema(), h.$get$menuV4GroupSchema(), h.$get$menuV3SkuSchema(), h.$get$menuV4SkuSchema(), h.$get$menuV3ItemSchema(), h.$get$menuV4ItemSchema(), h.$get$menuV4CatalogItemSchema(), h.$get$creditTransactionSchema(), h.$get$stockSchema(), h.$get$recommendationCallSchema(), h.$get$reviewSchema(), h.$get$campaignSchema(), h.$get$collectibleConfigSchema(), h.$get$collectibleTransactionSchema(), h.$get$campaignTierSchema(), h.$get$storeTransactionSchema(), h.$get$storeBundleSchema(), h.$get$collectibleCollectionSchema(), h.$get$kitchenStationSchema(), h.$get$refundBillSchema(), h.$get$timesheetRecordSchema(), h.$get$inventoryAdjustmentPhysicalSkuSchema(), h.$get$menuV4ItemInventoryBindingSchema(), h.$get$inventoryV1FlattenInventorySchema(), h.$get$itemMovementSchema(), h.$get$closingSkuSchema(), h.$get$closingDraftSchema(), h.$get$closingDraftSkuSchema(), h.$get$unitCostHistorySchema(), h.$get$vnEInvoiceSubmissionSchema(), h.$get$dailyForecastSalesSchema(), h.$get$hourlyForecastSalesSchema(), h.$get$changePaymentActivitySchema(), h.$get$salePaymentSchema(), h.$get$saleTransactionSchema(), h.$get$posOverrideItemLogSchema()], t.findType("JSArray<Schema>"))), e(h, "internalPurchaseOrderSchema", "$get$internalPurchaseOrderSchema", () => {
|
|
11055
11055
|
var i = null, a = "createdAt", s = t.Source_Source$couchdb(i, "purchaseOrder"), o = t.TopLevelFilters$(t._setArrayType([t.Permission_Permission$restaurant("restaurantId"), t.Permission_Permission$warehouse("warehouseId")], c.JSArray_Permission), a), l = c.JSArray_String, d = t._setArrayType([t.Index$(t._setArrayType(["id"], l), i, i), t.Index$(t._setArrayType(["doc_id"], l), i, i), t.Index$(t._setArrayType(["created_at"], l), i, i), t.Index$(t._setArrayType(["effective_at"], l), i, i), t.Index$(t._setArrayType(["location_id"], l), i, i)], c.JSArray_Index);
|
|
11056
11056
|
return t.Schema_Schema$build(i, _.List_empty, 3, t._setArrayType(["restaurantId"], l), i, new t.internalPurchaseOrderSchema_closure(), _.List_empty0, d, i, !0, !0, !1, !1, !0, new t.internalPurchaseOrderSchema_closure0(), "Purchase order", "purchase_orders", "purchase_order", _.SCHEMA_NAME_34, a, "couchdb_purchase_order", s, o);
|
|
11057
|
-
}), e(
|
|
11057
|
+
}), e(h, "internalPurchaseOrderDeliveryFulfillmentSchema", "$get$internalPurchaseOrderDeliveryFulfillmentSchema", () => {
|
|
11058
11058
|
var i = "createdAt", a = null, s = t.Source_Source$couchdb("deliveryFulfillments", "purchaseOrder"), o = t.TopLevelFilters$(t._setArrayType([t.Permission_Permission$restaurant("restaurantId"), t.Permission_Permission$warehouse("warehouseId")], c.JSArray_Permission), i), l = c.JSArray_String, d = t._setArrayType([t.Index$(t._setArrayType(["id"], l), a, a), t.Index$(t._setArrayType(["doc_id"], l), a, a), t.Index$(t._setArrayType(["created_at"], l), a, a), t.Index$(t._setArrayType(["effective_at"], l), a, a), t.Index$(t._setArrayType(["location_id"], l), a, a)], c.JSArray_Index);
|
|
11059
11059
|
return t.Schema_Schema$build(a, _.List_empty, 3, t._setArrayType(["restaurantId"], l), a, new t.internalPurchaseOrderDeliveryFulfillmentSchema_closure(), _.List_empty0, d, a, !0, !0, !1, !1, !0, new t.internalPurchaseOrderDeliveryFulfillmentSchema_closure0(), "Purchase order delivery fulfillment", "purchase_order_delivery_fulfillments", "purchase_order_delivery_fulfillment", _.SCHEMA_NAME_37, i, "couchdb_purchase_order", s, o);
|
|
11060
|
-
}), e(
|
|
11060
|
+
}), e(h, "internalPurchaseOrderDeliveryFulfillmentSkuSchema", "$get$internalPurchaseOrderDeliveryFulfillmentSkuSchema", () => {
|
|
11061
11061
|
var i = "createdAt", a = null, s = t.Source_Source$couchdb("deliveryFulfillmentSkus", "purchaseOrder"), o = t.TopLevelFilters$(t._setArrayType([t.Permission_Permission$restaurant("restaurantId"), t.Permission_Permission$warehouse("warehouseId")], c.JSArray_Permission), i), l = c.JSArray_String, d = t._setArrayType([t.Index$(t._setArrayType(["id"], l), a, a), t.Index$(t._setArrayType(["doc_id"], l), a, a), t.Index$(t._setArrayType(["created_at"], l), a, a), t.Index$(t._setArrayType(["effective_at"], l), a, a), t.Index$(t._setArrayType(["location_id"], l), a, a), t.Index$(t._setArrayType(["purchase_order_id"], l), a, a), t.Index$(t._setArrayType(["purchase_order_delivery_fulfillment_id"], l), T.idx_pof, a), t.Index$(t._setArrayType(["published_at"], l), a, a)], c.JSArray_Index);
|
|
11062
11062
|
return t.Schema_Schema$build(a, _.List_empty, 3, t._setArrayType(["restaurantId"], l), a, new t.internalPurchaseOrderDeliveryFulfillmentSkuSchema_closure(), _.List_empty0, d, a, !0, !0, !1, !1, !0, new t.internalPurchaseOrderDeliveryFulfillmentSkuSchema_closure0(), "Purchase order delivery fulfillment sku", "purchase_order_delivery_fulfillment_skus", "purchase_order_delivery_fulfillment_sku", _.SCHEMA_NAME_39, i, "couchdb_purchase_order", s, o);
|
|
11063
|
-
}), e(
|
|
11063
|
+
}), e(h, "internalPurchaseOrderDeliveryOrderSchema", "$get$internalPurchaseOrderDeliveryOrderSchema", () => {
|
|
11064
11064
|
var i = "createdAt", a = null, s = t.Source_Source$couchdb("deliveryOrders", "purchaseOrder"), o = t.TopLevelFilters$(t._setArrayType([t.Permission_Permission$restaurant("restaurantId"), t.Permission_Permission$warehouse("warehouseId")], c.JSArray_Permission), i), l = c.JSArray_String, d = t._setArrayType([t.Index$(t._setArrayType(["id"], l), a, a), t.Index$(t._setArrayType(["doc_id"], l), a, a), t.Index$(t._setArrayType(["created_at"], l), a, a), t.Index$(t._setArrayType(["effective_at"], l), a, a), t.Index$(t._setArrayType(["location_id"], l), a, a)], c.JSArray_Index);
|
|
11065
11065
|
return t.Schema_Schema$build(a, _.List_empty, 3, t._setArrayType(["restaurantId"], l), a, new t.internalPurchaseOrderDeliveryOrderSchema_closure(), _.List_empty0, d, a, !0, !0, !1, !1, !0, new t.internalPurchaseOrderDeliveryOrderSchema_closure0(), "Purchase order delivery order", "purchase_order_delivery_orders", "purchase_order_delivery_order", _.SCHEMA_NAME_36, i, "couchdb_purchase_order", s, o);
|
|
11066
|
-
}), e(
|
|
11066
|
+
}), e(h, "internalPurchaseOrderDeliveryOrderSkuSchema", "$get$internalPurchaseOrderDeliveryOrderSkuSchema", () => {
|
|
11067
11067
|
var i = "createdAt", a = null, s = t.Source_Source$couchdb("deliveryOrderSkus", "purchaseOrder"), o = t.TopLevelFilters$(t._setArrayType([t.Permission_Permission$restaurant("restaurantId"), t.Permission_Permission$warehouse("warehouseId")], c.JSArray_Permission), i), l = c.JSArray_String, d = t._setArrayType([t.Index$(t._setArrayType(["id"], l), a, a), t.Index$(t._setArrayType(["doc_id"], l), a, a), t.Index$(t._setArrayType(["created_at"], l), a, a), t.Index$(t._setArrayType(["effective_at"], l), a, a), t.Index$(t._setArrayType(["location_id"], l), a, a), t.Index$(t._setArrayType(["purchase_order_id"], l), a, a), t.Index$(t._setArrayType(["purchase_order_delivery_order_id"], l), T.idx_poo, a), t.Index$(t._setArrayType(["published_at"], l), a, a)], c.JSArray_Index);
|
|
11068
11068
|
return t.Schema_Schema$build(a, _.List_empty, 3, t._setArrayType(["restaurantId"], l), a, new t.internalPurchaseOrderDeliveryOrderSkuSchema_closure(), _.List_empty0, d, a, !0, !0, !1, !1, !0, new t.internalPurchaseOrderDeliveryOrderSkuSchema_closure0(), "Purchase order delivery order sku", "purchase_order_delivery_order_skus", "purchase_order_delivery_order_sku", _.SCHEMA_NAME_38, i, "couchdb_purchase_order", s, o);
|
|
11069
|
-
}), e(
|
|
11069
|
+
}), e(h, "internalPurchaseOrderItemSchema", "$get$internalPurchaseOrderItemSchema", () => {
|
|
11070
11070
|
var i = "createdAt", a = null, s = t.Source_Source$couchdb("items", "purchaseOrder"), o = t.TopLevelFilters$(t._setArrayType([t.Permission_Permission$restaurant("restaurantId"), t.Permission_Permission$warehouse("warehouseId")], c.JSArray_Permission), i), l = c.JSArray_String, d = t._setArrayType([t.Index$(t._setArrayType(["id"], l), a, a), t.Index$(t._setArrayType(["doc_id"], l), a, a), t.Index$(t._setArrayType(["created_at"], l), a, a), t.Index$(t._setArrayType(["effective_at"], l), a, a), t.Index$(t._setArrayType(["purchase_order_id"], l), a, a), t.Index$(t._setArrayType(["location_id"], l), a, a), t.Index$(t._setArrayType(["published_at"], l), a, a)], c.JSArray_Index);
|
|
11071
11071
|
return t.Schema_Schema$build(a, _.List_empty, 3, t._setArrayType(["restaurantId"], l), a, new t.internalPurchaseOrderItemSchema_closure(), _.List_empty0, d, a, !0, !0, !1, !1, !0, new t.internalPurchaseOrderItemSchema_closure0(), "Purchase order item", "purchase_order_items", "purchase_order_item", _.SCHEMA_NAME_35, i, "couchdb_purchase_order", s, o);
|
|
11072
|
-
}), e(
|
|
11072
|
+
}), e(h, "inventoryAdjustmentSchema", "$get$inventoryAdjustmentSchema", () => {
|
|
11073
11073
|
var i = null, a = "createdAt", s = t.Source_Source$couchdb(i, "inventoryAdjustment"), o = t.TopLevelFilters$(t._setArrayType([t.Permission_Permission$restaurant("restaurantId"), t.Permission_Permission$warehouse("warehouseId")], c.JSArray_Permission), a), l = c.JSArray_String, d = t._setArrayType([t.Index$(t._setArrayType(["id"], l), i, i), t.Index$(t._setArrayType(["doc_id"], l), i, i), t.Index$(t._setArrayType(["location_id", "created_at"], l), "idx_ias_select_index", i), t.Index$(t._setArrayType(["published_at"], l), i, i), t.Index$(t._setArrayType(["ref"], l), i, i)], c.JSArray_Index), D = t._setArrayType(["restaurantId"], l);
|
|
11074
11074
|
return t.Schema_Schema$build(i, t._setArrayType(["stock", "inventory", "stock adjustment", "available stock", "stock balance"], l), 2, D, i, new t.inventoryAdjustmentSchema_closure(), _.List_empty0, d, i, !1, !0, !1, !1, !1, new t.inventoryAdjustmentSchema_closure0(), "Inventory", "inventory_adjustments", "inventory_adjustment", _.SCHEMA_NAME_22, a, "couchdb_inventory_adjustment", s, o);
|
|
11075
|
-
}), e(
|
|
11075
|
+
}), e(h, "inventoryAdjustmentPhysicalSkuSchema", "$get$inventoryAdjustmentPhysicalSkuSchema", () => {
|
|
11076
11076
|
var i = "createdAt", a = null, s = t.Source_Source$couchdb("physicalSkus", "inventoryAdjustment"), o = t.TopLevelFilters$(t._setArrayType([t.Permission_Permission$restaurant("restaurantId"), t.Permission_Permission$warehouse("warehouseId")], c.JSArray_Permission), i), l = c.JSArray_String, d = t._setArrayType([t.Index$(t._setArrayType(["id"], l), a, a), t.Index$(t._setArrayType(["doc_id"], l), a, a), t.Index$(t._setArrayType(["published_at"], l), a, a), t.Index$(t._setArrayType(["inventory_adjustment_id"], l), a, a), t.Index$(t._setArrayType(["location_id", "created_at"], l), "idx_iapss_select_index", a), t.Index$(t._setArrayType(["inventory_adjustment_sku_id"], l), "idx_iapss_inventory_adjustment_sku_id", a)], c.JSArray_Index);
|
|
11077
11077
|
return t.Schema_Schema$build(a, _.List_empty, 3, t._setArrayType(["restaurantId"], l), a, new t.inventoryAdjustmentPhysicalSkuSchema_closure(), _.List_empty0, d, a, !0, !0, !1, !1, !1, new t.inventoryAdjustmentPhysicalSkuSchema_closure0(), "Inventory physical sku", "inventory_adjustment_physical_skus", "inventory_adjustment_physical_sku", _.SCHEMA_NAME_24, i, "couchdb_inventory_adjustment", s, o);
|
|
11078
|
-
}), e(
|
|
11078
|
+
}), e(h, "inventoryAdjustmentSkuSchema", "$get$inventoryAdjustmentSkuSchema", () => {
|
|
11079
11079
|
var i = "createdAt", a = null, s = t.Source_Source$couchdb("skus", "inventoryAdjustment"), o = t.TopLevelFilters$(t._setArrayType([t.Permission_Permission$restaurant("restaurantId"), t.Permission_Permission$warehouse("warehouseId")], c.JSArray_Permission), i), l = c.JSArray_String, d = t._setArrayType([t.Index$(t._setArrayType(["id"], l), a, a), t.Index$(t._setArrayType(["doc_id"], l), a, a), t.Index$(t._setArrayType(["location_id", "created_at"], l), "idx_iass_select_index", a), t.Index$(t._setArrayType(["published_at"], l), a, a), t.Index$(t._setArrayType(["inventory_adjustment_id"], l), a, a), t.Index$(t._setArrayType(["ref"], l), a, a)], c.JSArray_Index), D = t._setArrayType(["restaurantId"], l);
|
|
11080
11080
|
return t.Schema_Schema$build("inventory", t._setArrayType(["stock", "inventory", "stock adjustment", "available stock", "stock balance"], l), 2, D, a, new t.inventoryAdjustmentSkuSchema_closure(), _.List_empty0, d, a, !1, !0, !1, !1, !1, new t.inventoryAdjustmentSkuSchema_closure0(), "Inventory sku", "inventory_adjustment_skus", "inventory_adjustment_sku", _.SCHEMA_NAME_23, i, "couchdb_inventory_adjustment", s, o);
|
|
11081
|
-
}), e(
|
|
11081
|
+
}), e(h, "inventoryV1FlattenInventorySchema", "$get$inventoryV1FlattenInventorySchema", () => {
|
|
11082
11082
|
var i = null, a = t.Source_Source$couchdb("flattenInventories", "mInventoryV1"), s = t.TopLevelFilters$(t._setArrayType([t.Permission_Permission$restaurant("restaurantId"), t.Permission_Permission$warehouse("warehouseId")], c.JSArray_Permission), i), o = c.JSArray_String, l = t._setArrayType([t.Index$(t._setArrayType(["id"], o), i, i), t.Index$(t._setArrayType(["doc_id"], o), i, i), t.Index$(t._setArrayType(["published_at"], o), i, i), t.Index$(t._setArrayType(["location_id"], o), i, i), t.Index$(t._setArrayType(["link_id"], o), i, i)], c.JSArray_Index);
|
|
11083
11083
|
return t.Schema_Schema$build(i, _.List_empty, 3, t._setArrayType(["restaurantId"], o), i, new t.inventoryV1FlattenInventorySchema_closure(), _.List_empty0, l, 3600, !0, !0, !1, !1, !0, new t.inventoryV1FlattenInventorySchema_closure0(), "Inventory", "inventory_flatten_inventories", "inventory_flatten_inventory", _.SCHEMA_NAME_72, i, "couchdb_m_inventory_v1", a, s);
|
|
11084
|
-
}), e(
|
|
11084
|
+
}), e(h, "itemSchema", "$get$itemSchema", () => {
|
|
11085
11085
|
var i = "createdAt", a = null, s = t.Source_Source$couchdb("", ""), o = t.TopLevelFilters$(t._setArrayType([t.Permission_Permission$restaurant("restaurantId")], c.JSArray_Permission), i);
|
|
11086
11086
|
return t.Schema_Schema$build(a, _.List_empty, 3, t._setArrayType(["restaurantId"], c.JSArray_String), a, new t.itemSchema_closure(), t._setArrayType([t.QueryRequestFilter$(a, a, "layer", _.COMPARISON_OPERATOR_0, a, _.SCHEMA_NAME_8, ["0"])], c.JSArray_QueryRequestFilter), a, a, !0, !1, !1, !0, !1, new t.itemSchema_closure0(), "Product (Deprecated)", "flatten_items", "flatten_item", _.SCHEMA_NAME_8, i, "", s, o);
|
|
11087
|
-
}), e(
|
|
11087
|
+
}), e(h, "itemMovementSchema", "$get$itemMovementSchema", () => {
|
|
11088
11088
|
var i = "createdAt", a = null, s = t.Source_Source$couchdb("itemMovements", "bill"), o = t.TopLevelFilters$(t._setArrayType([t.Permission_Permission$restaurant("restaurantId")], c.JSArray_Permission), i), l = c.JSArray_String, d = t._setArrayType([t.Index$(t._setArrayType(["id"], l), a, a), t.Index$(t._setArrayType(["doc_id"], l), a, a), t.Index$(t._setArrayType(["restaurant_id", "created_at"], l), "idx_item_movement_select_index", a), t.Index$(t._setArrayType(["item_id"], l), a, a), t.Index$(t._setArrayType(["bill_id"], l), a, a), t.Index$(t._setArrayType(["move_from_bill_id"], l), a, a)], c.JSArray_Index), D = t._setArrayType(["restaurantId"], l);
|
|
11089
11089
|
return t.Schema_Schema$build("inventory", t._setArrayType(["item movement", "stock movement", "transfer", "stock transfer"], l), 2, D, a, new t.itemMovementSchema_closure(), _.List_empty0, d, 600, !0, !0, !1, !1, !1, new t.itemMovementSchema_closure0(), "Item Movement", "item_movements", "item_movement", _.SCHEMA_NAME_73, i, "couchdb_bill", s, o);
|
|
11090
|
-
}), e(
|
|
11090
|
+
}), e(h, "kitchenStationSchema", "$get$kitchenStationSchema", () => {
|
|
11091
11091
|
var i = "createdAt", a = null, s = t.Source_Source$couchdb("kitchenStations", "bill"), o = t.TopLevelFilters$(t._setArrayType([t.Permission_Permission$restaurant("restaurantId")], c.JSArray_Permission), i), l = c.JSArray_String, d = t._setArrayType([t.Index$(t._setArrayType(["id"], l), a, a), t.Index$(t._setArrayType(["doc_id"], l), a, a), t.Index$(t._setArrayType(["restaurant_id", "created_at"], l), "idx_kitchen_stations_select_index", a), t.Index$(t._setArrayType(["bill_id"], l), a, a), t.Index$(t._setArrayType(["published_at"], l), a, a)], c.JSArray_Index), D = t._setArrayType(["restaurantId"], l);
|
|
11092
11092
|
return t.Schema_Schema$build("specialized", t._setArrayType(["kitchen", "kitchen station", "prep time", "cook time"], l), 3, D, a, new t.kitchenStationSchema_closure(), _.List_empty0, d, 600, !0, !0, !1, !1, !1, new t.kitchenStationSchema_closure0(), "Kitchen station", "kitchen_stations", "kitchen_station", _.SCHEMA_NAME_69, i, "couchdb_bill", s, o);
|
|
11093
|
-
}), e(
|
|
11093
|
+
}), e(h, "memberSchema", "$get$memberSchema", () => {
|
|
11094
11094
|
var i = null, a = t.Source_Source$mongodb(i, "Members"), s = t.TopLevelFilters$(t._setArrayType([t.Permission_Permission$business("businessId")], c.JSArray_Permission), i), o = c.JSArray_String, l = t._setArrayType([t.Index$(t._setArrayType(["id"], o), i, i), t.Index$(t._setArrayType(["doc_id"], o), i, i), t.Index$(t._setArrayType(["user_id"], o), i, i), t.Index$(t._setArrayType(["business_id"], o), i, i)], c.JSArray_Index), d = t._setArrayType([], o);
|
|
11095
11095
|
return t.Schema_Schema$build("loyalty", t._setArrayType(["member", "customer", "loyalty", "membership", "registered customer"], o), 2, d, i, new t.memberSchema_closure(), _.List_empty0, l, i, !1, !0, !1, !1, !1, new t.memberSchema_closure0(), "Member", "members", "member", _.SCHEMA_NAME_43, i, "mongodb_members", a, s);
|
|
11096
|
-
}), e(
|
|
11096
|
+
}), e(h, "memberStorePurchaseSchema", "$get$memberStorePurchaseSchema", () => {
|
|
11097
11097
|
var i = null, a = "createdAt", s = t.Source_Source$couchdb(i, "memberStorePurchase"), o = t.TopLevelFilters$(t._setArrayType([t.Permission_Permission$restaurant("restaurantId")], c.JSArray_Permission), a), l = c.JSArray_String, d = t._setArrayType([t.Index$(t._setArrayType(["id"], l), i, i), t.Index$(t._setArrayType(["doc_id"], l), i, i), t.Index$(t._setArrayType(["created_at"], l), i, i), t.Index$(t._setArrayType(["restaurant_id"], l), i, i), t.Index$(t._setArrayType(["member_id"], l), i, i), t.Index$(t._setArrayType(["member_user_id"], l), i, i)], c.JSArray_Index);
|
|
11098
11098
|
return t.Schema_Schema$build(i, _.List_empty, 3, t._setArrayType(["restaurantId"], l), i, new t.memberStorePurchaseSchema_closure(), _.List_empty0, d, i, !0, !0, !1, !1, !1, new t.memberStorePurchaseSchema_closure0(), "Member store purchase", "member_store_purchases", "member_store_purchase", _.SCHEMA_NAME_47, a, "couchdb_member_store_purchase", s, o);
|
|
11099
|
-
}), e(
|
|
11099
|
+
}), e(h, "memberStorePurchasePaymentSchema", "$get$memberStorePurchasePaymentSchema", () => {
|
|
11100
11100
|
var i = "createdAt", a = null, s = t.Source_Source$couchdb("payments", "memberStorePurchase"), o = t.TopLevelFilters$(t._setArrayType([t.Permission_Permission$restaurant("restaurantId")], c.JSArray_Permission), i), l = c.JSArray_String, d = t._setArrayType([t.Index$(t._setArrayType(["id"], l), a, a), t.Index$(t._setArrayType(["doc_id"], l), a, a), t.Index$(t._setArrayType(["created_at"], l), a, a), t.Index$(t._setArrayType(["restaurant_id"], l), a, a), t.Index$(t._setArrayType(["member_store_purchase_id"], l), a, a)], c.JSArray_Index);
|
|
11101
11101
|
return t.Schema_Schema$build(a, _.List_empty, 3, t._setArrayType(["restaurantId"], l), a, new t.memberStorePurchasePaymentSchema_closure(), _.List_empty0, d, a, !0, !0, !1, !1, !1, new t.memberStorePurchasePaymentSchema_closure0(), "Member store purchase payment", "member_store_purchase_payments", "member_store_purchase_payment", _.SCHEMA_NAME_48, i, "couchdb_member_store_purchase", s, o);
|
|
11102
|
-
}), e(
|
|
11102
|
+
}), e(h, "memberTitleSchema", "$get$memberTitleSchema", () => {
|
|
11103
11103
|
var i = null, a = t.Source_Source$mongodb("titles", "Members"), s = t.TopLevelFilters$(t._setArrayType([t.Permission_Permission$business("businessId")], c.JSArray_Permission), i), o = c.JSArray_String, l = t._setArrayType([t.Index$(t._setArrayType(["id"], o), i, i), t.Index$(t._setArrayType(["doc_id"], o), i, i), t.Index$(t._setArrayType(["business_id"], o), i, i), t.Index$(t._setArrayType(["member_id"], o), i, i)], c.JSArray_Index);
|
|
11104
11104
|
return t.Schema_Schema$build(i, _.List_empty, 3, t._setArrayType([], o), i, new t.memberTitleSchema_closure(), _.List_empty0, l, i, !0, !0, !1, !1, !1, new t.memberTitleSchema_closure0(), "Member title", "member_titles", "member_title", _.SCHEMA_NAME_49, "createdAt", "mongodb_members", a, s);
|
|
11105
|
-
}), e(
|
|
11105
|
+
}), e(h, "memberV2Schema", "$get$memberV2Schema", () => {
|
|
11106
11106
|
var i = null, a = t.Source_Source$mongodb("members", "UsersV2"), s = t.TopLevelFilters$(t._setArrayType([t.Permission_Permission$business("businessId")], c.JSArray_Permission), i), o = c.JSArray_String, l = t._setArrayType([t.Index$(t._setArrayType(["id"], o), i, i), t.Index$(t._setArrayType(["doc_id"], o), i, i), t.Index$(t._setArrayType(["user_id"], o), i, i), t.Index$(t._setArrayType(["business_id"], o), i, i)], c.JSArray_Index);
|
|
11107
11107
|
return t.Schema_Schema$build(i, _.List_empty, 3, t._setArrayType([], o), i, new t.memberV2Schema_closure(), _.List_empty0, l, i, !0, !0, !1, !1, !0, new t.memberV2Schema_closure0(), "Member", "members", "member", _.SCHEMA_NAME_44, i, "mongodb_marketing_db_users_v2", a, s);
|
|
11108
|
-
}), e(
|
|
11108
|
+
}), e(h, "membershipSchema", "$get$membershipSchema", () => {
|
|
11109
11109
|
var i = null, a = t.Source_Source$mongodb(i, "Memberships"), s = t.TopLevelFilters$(t._setArrayType([t.Permission_Permission$business("businessId")], c.JSArray_Permission), i), o = c.JSArray_String, l = t._setArrayType([t.Index$(t._setArrayType(["id"], o), i, i), t.Index$(t._setArrayType(["doc_id"], o), i, i), t.Index$(t._setArrayType(["business_id"], o), i, i)], c.JSArray_Index);
|
|
11110
11110
|
return t.Schema_Schema$build(i, _.List_empty, 3, t._setArrayType([], o), i, new t.membershipSchema_closure(), _.List_empty0, l, i, !0, !0, !1, !1, !1, new t.membershipSchema_closure0(), "Membership", "memberships", "membership", _.SCHEMA_NAME_50, i, "mongodb_memberships", a, s);
|
|
11111
|
-
}), e(
|
|
11111
|
+
}), e(h, "membershipTitleSchema", "$get$membershipTitleSchema", () => {
|
|
11112
11112
|
var i = null, a = t.Source_Source$mongodb("titles", "Memberships"), s = t.TopLevelFilters$(t._setArrayType([t.Permission_Permission$business("businessId")], c.JSArray_Permission), i), o = c.JSArray_String, l = t._setArrayType([t.Index$(t._setArrayType(["id"], o), i, i), t.Index$(t._setArrayType(["doc_id"], o), i, i)], c.JSArray_Index);
|
|
11113
11113
|
return t.Schema_Schema$build(i, _.List_empty, 3, t._setArrayType([], o), i, new t.membershipTitleSchema_closure(), _.List_empty0, l, i, !0, !0, !1, !1, !1, new t.membershipTitleSchema_closure0(), "Membership title", "membership_titles", "membership_title", _.SCHEMA_NAME_51, i, "mongodb_memberships", a, s);
|
|
11114
|
-
}), e(
|
|
11114
|
+
}), e(h, "menuV3GroupSchema", "$get$menuV3GroupSchema", () => {
|
|
11115
11115
|
var i = null, a = t.Source_Source$couchdb("addonGroups", "mMenuV3"), s = t.TopLevelFilters$(t._setArrayType([t.Permission_Permission$restaurant("restaurantId")], c.JSArray_Permission), i), o = c.JSArray_String, l = t._setArrayType([t.Index$(t._setArrayType(["id"], o), i, i), t.Index$(t._setArrayType(["doc_id"], o), i, i), t.Index$(t._setArrayType(["restaurant_id"], o), i, i)], c.JSArray_Index);
|
|
11116
11116
|
return t.Schema_Schema$build(i, _.List_empty, 3, t._setArrayType(["restaurantId"], o), `SELECT *
|
|
11117
11117
|
FROM menu_groups
|
|
@@ -11128,7 +11128,7 @@ WHERE (
|
|
|
11128
11128
|
)
|
|
11129
11129
|
)
|
|
11130
11130
|
`, new t.menuV3GroupSchema_closure(), _.List_empty0, l, 3600, !0, !0, !1, !1, !1, new t.menuV3GroupSchema_closure0(), "Menu Group", "menu_groups", "menu_group", _.SCHEMA_NAME_53, i, "couchdb_m_menu_v3", a, s);
|
|
11131
|
-
}), e(
|
|
11131
|
+
}), e(h, "menuV3ItemSchema", "$get$menuV3ItemSchema", () => {
|
|
11132
11132
|
var i = null, a = t.Source_Source$couchdb("products", "mMenuV3"), s = t.TopLevelFilters$(t._setArrayType([t.Permission_Permission$restaurant("restaurantId")], c.JSArray_Permission), i), o = c.JSArray_String, l = t._setArrayType([t.Index$(t._setArrayType(["id"], o), i, i), t.Index$(t._setArrayType(["doc_id"], o), i, i), t.Index$(t._setArrayType(["restaurant_id"], o), i, i), t.Index$(t._setArrayType(["published_at"], o), i, i)], c.JSArray_Index);
|
|
11133
11133
|
return t.Schema_Schema$build(i, _.List_empty, 3, t._setArrayType(["restaurantId"], o), `SELECT *
|
|
11134
11134
|
FROM menu_items
|
|
@@ -11145,76 +11145,76 @@ WHERE (
|
|
|
11145
11145
|
)
|
|
11146
11146
|
)
|
|
11147
11147
|
`, new t.menuV3ItemSchema_closure(), _.List_empty0, l, 3600, !0, !0, !1, !1, !1, new t.menuV3ItemSchema_closure0(), "Menu Product", "menu_items", "menu_item", _.SCHEMA_NAME_57, i, "couchdb_m_menu_v3", a, s);
|
|
11148
|
-
}), e(
|
|
11148
|
+
}), e(h, "menuV3SkuSchema", "$get$menuV3SkuSchema", () => {
|
|
11149
11149
|
var i = null, a = t.Source_Source$couchdb("skus", "mMenuV3"), s = t.TopLevelFilters$(t._setArrayType([t.Permission_Permission$restaurant("restaurantId"), t.Permission_Permission$warehouse("warehouseId")], c.JSArray_Permission), i), o = c.JSArray_String, l = t._setArrayType([t.Index$(t._setArrayType(["id"], o), i, i), t.Index$(t._setArrayType(["doc_id"], o), i, i), t.Index$(t._setArrayType(["restaurant_id"], o), i, i), t.Index$(t._setArrayType(["location_id"], o), i, i)], c.JSArray_Index);
|
|
11150
11150
|
return t.Schema_Schema$build(i, _.List_empty, 3, t._setArrayType(["restaurantId"], o), i, new t.menuV3SkuSchema_closure(), _.List_empty0, l, 3600, !0, !0, !1, !1, !1, new t.menuV3SkuSchema_closure0(), "Menu SKU", "menu_skus", "menu_sku", _.SCHEMA_NAME_55, i, "couchdb_m_menu_v3", a, s);
|
|
11151
|
-
}), e(
|
|
11151
|
+
}), e(h, "menuV4CatalogItemSchema", "$get$menuV4CatalogItemSchema", () => {
|
|
11152
11152
|
var i = null, a = t.Source_Source$couchdb("items", "catalog"), s = t.TopLevelFilters$(t._setArrayType([t.Permission_Permission$restaurant("restaurantId"), t.Permission_Permission$restaurant("warehouseId")], c.JSArray_Permission), i), o = c.JSArray_String, l = t._setArrayType([t.Index$(t._setArrayType(["id"], o), i, i), t.Index$(t._setArrayType(["doc_id"], o), i, i), t.Index$(t._setArrayType(["published_at"], o), i, i), t.Index$(t._setArrayType(["location_id"], o), i, i), t.Index$(t._setArrayType(["restaurant_id"], o), i, i)], c.JSArray_Index);
|
|
11153
11153
|
return t.Schema_Schema$build(i, _.List_empty, 3, t._setArrayType(["restaurantId"], o), i, new t.menuV4CatalogItemSchema_closure(), _.List_empty0, l, 900, !0, !0, !1, !0, !0, new t.menuV4CatalogItemSchema_closure0(), "Menu Catalog Product", "menu_catalog_items", "menu_catalog_item", _.SCHEMA_NAME_59, i, "couchdb_catalog", a, s);
|
|
11154
|
-
}), e(
|
|
11154
|
+
}), e(h, "menuV4GroupSchema", "$get$menuV4GroupSchema", () => {
|
|
11155
11155
|
var i = null, a = t.Source_Source$couchdb("addonGroups", "mMenuV4"), s = t.TopLevelFilters$(t._setArrayType([t.Permission_Permission$restaurant("restaurantId")], c.JSArray_Permission), i), o = c.JSArray_String, l = t._setArrayType(["restaurantId"], o);
|
|
11156
11156
|
return t.Schema_Schema$build("menu", t._setArrayType(["category", "menu group", "food category"], o), 2, l, i, new t.menuV4GroupSchema_closure(), _.List_empty0, i, 3600, !0, !0, !1, !1, !0, new t.menuV4GroupSchema_closure0(), "Menu Group", "menu_groups", "menu_group", _.SCHEMA_NAME_54, i, "couchdb_m_menu_v4", a, s);
|
|
11157
|
-
}), e(
|
|
11157
|
+
}), e(h, "menuV4ItemSchema", "$get$menuV4ItemSchema", () => {
|
|
11158
11158
|
var i = null, a = t.Source_Source$couchdb("items", "mMenuV4"), s = t.TopLevelFilters$(t._setArrayType([t.Permission_Permission$restaurant("restaurantId")], c.JSArray_Permission), i), o = c.JSArray_String, l = t._setArrayType(["restaurantId"], o);
|
|
11159
11159
|
return t.Schema_Schema$build("menu", t._setArrayType(["menu item", "product", "dish", "food item", "menu"], o), 2, l, i, new t.menuV4ItemSchema_closure(), _.List_empty0, i, 900, !0, !0, !1, !1, !0, new t.menuV4ItemSchema_closure0(), "Menu Product", "menu_items", "menu_item", _.SCHEMA_NAME_58, i, "couchdb_m_menu_v4", a, s);
|
|
11160
|
-
}), e(
|
|
11160
|
+
}), e(h, "menuV4ItemInventoryBindingSchema", "$get$menuV4ItemInventoryBindingSchema", () => {
|
|
11161
11161
|
var i = null, a = t.Source_Source$couchdb("itemInventoryBindings", "mMenuV4"), s = t.TopLevelFilters$(t._setArrayType([t.Permission_Permission$restaurant("restaurantId"), t.Permission_Permission$warehouse("warehouseId")], c.JSArray_Permission), i), o = c.JSArray_String, l = t._setArrayType([t.Index$(t._setArrayType(["id"], o), i, i), t.Index$(t._setArrayType(["doc_id"], o), i, i), t.Index$(t._setArrayType(["published_at"], o), i, i), t.Index$(t._setArrayType(["location_id"], o), i, i), t.Index$(t._setArrayType(["product_id"], o), i, i), t.Index$(t._setArrayType(["inventory_id"], o), i, i)], c.JSArray_Index);
|
|
11162
11162
|
return t.Schema_Schema$build(i, _.List_empty, 3, t._setArrayType(["restaurantId"], o), i, new t.menuV4ItemInventoryBindingSchema_closure(), _.List_empty0, l, 3600, !0, !0, !1, !1, !0, new t.menuV4ItemInventoryBindingSchema_closure0(), "Menu Inventory Binding", "menu_item_inventory_bindings", "menu_item_inventory_binding", _.SCHEMA_NAME_71, i, "couchdb_m_menu_v4", a, s);
|
|
11163
|
-
}), e(
|
|
11163
|
+
}), e(h, "menuV4SkuSchema", "$get$menuV4SkuSchema", () => {
|
|
11164
11164
|
var i = null, a = t.Source_Source$couchdb("skus", "mMenuV4"), s = t.TopLevelFilters$(t._setArrayType([t.Permission_Permission$restaurant("restaurantId")], c.JSArray_Permission), i);
|
|
11165
11165
|
return t.Schema_Schema$build(i, _.List_empty, 3, t._setArrayType(["restaurantId"], c.JSArray_String), i, new t.menuV4SkuSchema_closure(), _.List_empty0, i, 3600, !0, !0, !1, !1, !0, new t.menuV4SkuSchema_closure0(), "Menu SKU", "menu_skus", "menu_sku", _.SCHEMA_NAME_56, i, "couchdb_m_menu_v4", a, s);
|
|
11166
|
-
}), e(
|
|
11166
|
+
}), e(h, "parentFlattenItemSchema", "$get$parentFlattenItemSchema", () => {
|
|
11167
11167
|
var i = "createdAt", a = null, s = t.Source_Source$couchdb("", ""), o = t.TopLevelFilters$(t._setArrayType([t.Permission_Permission$restaurant("restaurantId")], c.JSArray_Permission), i);
|
|
11168
11168
|
return t.Schema_Schema$build(a, _.List_empty, 3, t._setArrayType(["restaurantId"], c.JSArray_String), a, new t.parentFlattenItemSchema_closure(), _.List_empty0, a, a, !0, !1, !1, !0, !1, new t.parentFlattenItemSchema_closure0(), "Parent Product", "flatten_items", "flatten_item", _.SCHEMA_NAME_6, i, "", s, o);
|
|
11169
|
-
}), e(
|
|
11169
|
+
}), e(h, "paymentSchema", "$get$paymentSchema", () => {
|
|
11170
11170
|
var i = "payments", a = "createdAt", s = null, o = t.Source_Source$couchdb(i, "bill"), l = t.TopLevelFilters$(t._setArrayType([t.Permission_Permission$restaurant("restaurantId")], c.JSArray_Permission), a), d = c.JSArray_String, D = t._setArrayType([t.Index$(t._setArrayType(["id"], d), s, s), t.Index$(t._setArrayType(["doc_id"], d), s, s), t.Index$(t._setArrayType(["restaurant_id", "created_at"], d), "idx_payments_select_index", s), t.Index$(t._setArrayType(["restaurant_id", "payment_created_at"], d), "idx_payments_time_select_index", s), t.Index$(t._setArrayType(["bill_id"], d), s, s), t.Index$(t._setArrayType(["published_at"], d), s, s)], c.JSArray_Index), f = t._setArrayType(["restaurantId"], d);
|
|
11171
11171
|
return t.Schema_Schema$build("sales", t._setArrayType(["payment", "pay", "cash", "card", "credit card", "ewallet", "payment method", "tender"], d), 1, f, s, new t.paymentSchema_closure(), _.List_empty0, D, s, !1, !0, !1, !1, !1, new t.paymentSchema_closure0(), "Payment", i, "payment", _.SCHEMA_NAME_10, a, "couchdb_bill", o, l);
|
|
11172
|
-
}), e(
|
|
11172
|
+
}), e(h, "paymentTimePaymentSchema", "$get$paymentTimePaymentSchema", () => {
|
|
11173
11173
|
var i = null, a = t.Source_Source$couchdb("", ""), s = t.TopLevelFilters$(t._setArrayType([t.Permission_Permission$restaurant("restaurantId")], c.JSArray_Permission), "paymentCreatedAt");
|
|
11174
11174
|
return t.Schema_Schema$build(i, _.List_empty, 3, t._setArrayType(["restaurantId"], c.JSArray_String), i, new t.paymentTimePaymentSchema_closure(), _.List_empty0, i, i, !0, !1, !1, !1, !1, new t.paymentTimePaymentSchema_closure0(), "Payment (Payment time)", "payments", "payment", _.SCHEMA_NAME_11, "createdAt", "", a, s);
|
|
11175
|
-
}), e(
|
|
11175
|
+
}), e(h, "posOverrideItemLogSchema", "$get$posOverrideItemLogSchema", () => {
|
|
11176
11176
|
var i = "createdAt", a = null, s = t.Source_Source$couchdb("itemLogs", "posOverrideAuditLogs"), o = t.TopLevelFilters$(t._setArrayType([t.Permission_Permission$restaurant("restaurantId")], c.JSArray_Permission), i), l = c.JSArray_String, d = t._setArrayType([t.Index$(t._setArrayType(["id"], l), a, a), t.Index$(t._setArrayType(["doc_id"], l), a, a), t.Index$(t._setArrayType(["restaurant_id", "created_at"], l), "idx_poil_select_index", a)], c.JSArray_Index);
|
|
11177
11177
|
return t.Schema_Schema$build(a, _.List_empty, 3, t._setArrayType(["restaurantId"], l), a, new t.posOverrideItemLogSchema_closure(), _.List_empty0, d, a, !1, !0, !1, !1, !1, new t.posOverrideItemLogSchema_closure0(), "POS Override Item Log", "pos_override_item_logs", "pos_override_item_log", _.SCHEMA_NAME_86, i, "couchdb_pos_override_audit_logs", s, o);
|
|
11178
|
-
}), e(
|
|
11178
|
+
}), e(h, "purchaseOrderSchema", "$get$purchaseOrderSchema", () => {
|
|
11179
11179
|
var i = null, a = t.Source_Source$couchdb(i, "purchaseOrder"), s = t.TopLevelFilters$(t._setArrayType([t.Permission_Permission$restaurant("restaurantId"), t.Permission_Permission$warehouse("warehouseId")], c.JSArray_Permission), "effectiveAt"), o = c.JSArray_String, l = t._setArrayType([t.Index$(t._setArrayType(["id"], o), i, i), t.Index$(t._setArrayType(["doc_id"], o), i, i), t.Index$(t._setArrayType(["created_at"], o), i, i), t.Index$(t._setArrayType(["effective_at"], o), i, i), t.Index$(t._setArrayType(["location_id"], o), i, i)], c.JSArray_Index), d = t._setArrayType(["restaurantId"], o);
|
|
11180
11180
|
return t.Schema_Schema$build("inventory", t._setArrayType(["purchase order", "po", "supplier order", "procurement", "restock"], o), 2, d, i, new t.purchaseOrderSchema_closure(), _.List_empty0, l, i, !1, !1, !1, !1, !1, new t.purchaseOrderSchema_closure0(), "Purchase order", "purchase_orders", "purchase_order", _.SCHEMA_NAME_28, "createdAt", "couchdb_purchase_order", a, s);
|
|
11181
|
-
}), e(
|
|
11181
|
+
}), e(h, "purchaseOrderDeliveryFulfillmentSchema", "$get$purchaseOrderDeliveryFulfillmentSchema", () => {
|
|
11182
11182
|
var i = null, a = t.Source_Source$couchdb("deliveryFulfillments", "purchaseOrder"), s = t.TopLevelFilters$(t._setArrayType([t.Permission_Permission$restaurant("restaurantId"), t.Permission_Permission$warehouse("warehouseId")], c.JSArray_Permission), "effectiveAt"), o = c.JSArray_String, l = t._setArrayType([t.Index$(t._setArrayType(["id"], o), i, i), t.Index$(t._setArrayType(["doc_id"], o), i, i), t.Index$(t._setArrayType(["created_at"], o), i, i), t.Index$(t._setArrayType(["effective_at"], o), i, i), t.Index$(t._setArrayType(["location_id"], o), i, i)], c.JSArray_Index);
|
|
11183
11183
|
return t.Schema_Schema$build(i, _.List_empty, 3, t._setArrayType(["restaurantId"], o), i, new t.purchaseOrderDeliveryFulfillmentSchema_closure(), _.List_empty0, l, i, !0, !1, !1, !1, !1, new t.purchaseOrderDeliveryFulfillmentSchema_closure0(), "Purchase order delivery fulfillment", "purchase_order_delivery_fulfillments", "purchase_order_delivery_fulfillment", _.SCHEMA_NAME_31, "createdAt", "couchdb_purchase_order", a, s);
|
|
11184
|
-
}), e(
|
|
11184
|
+
}), e(h, "purchaseOrderDeliveryFulfillmentSkuSchema", "$get$purchaseOrderDeliveryFulfillmentSkuSchema", () => {
|
|
11185
11185
|
var i = null, a = t.Source_Source$couchdb("deliveryFulfillmentSkus", "purchaseOrder"), s = t.TopLevelFilters$(t._setArrayType([t.Permission_Permission$restaurant("restaurantId"), t.Permission_Permission$warehouse("warehouseId")], c.JSArray_Permission), "effectiveAt"), o = c.JSArray_String, l = t._setArrayType([t.Index$(t._setArrayType(["id"], o), i, i), t.Index$(t._setArrayType(["doc_id"], o), i, i), t.Index$(t._setArrayType(["created_at"], o), i, i), t.Index$(t._setArrayType(["effective_at"], o), i, i), t.Index$(t._setArrayType(["location_id"], o), i, i), t.Index$(t._setArrayType(["purchase_order_id"], o), i, i), t.Index$(t._setArrayType(["purchase_order_delivery_fulfillment_id"], o), T.idx_pof, i), t.Index$(t._setArrayType(["published_at"], o), i, i)], c.JSArray_Index);
|
|
11186
11186
|
return t.Schema_Schema$build(i, _.List_empty, 3, t._setArrayType(["restaurantId"], o), i, new t.purchaseOrderDeliveryFulfillmentSkuSchema_closure(), _.List_empty0, l, i, !0, !1, !1, !1, !1, new t.purchaseOrderDeliveryFulfillmentSkuSchema_closure0(), "Purchase order delivery fulfillment sku", "purchase_order_delivery_fulfillment_skus", "purchase_order_delivery_fulfillment_sku", _.SCHEMA_NAME_33, "createdAt", "couchdb_purchase_order", a, s);
|
|
11187
|
-
}), e(
|
|
11187
|
+
}), e(h, "purchaseOrderDeliveryOrderSchema", "$get$purchaseOrderDeliveryOrderSchema", () => {
|
|
11188
11188
|
var i = null, a = t.Source_Source$couchdb("deliveryOrders", "purchaseOrder"), s = t.TopLevelFilters$(t._setArrayType([t.Permission_Permission$restaurant("restaurantId"), t.Permission_Permission$warehouse("warehouseId")], c.JSArray_Permission), "effectiveAt"), o = c.JSArray_String, l = t._setArrayType([t.Index$(t._setArrayType(["id"], o), i, i), t.Index$(t._setArrayType(["doc_id"], o), i, i), t.Index$(t._setArrayType(["created_at"], o), i, i), t.Index$(t._setArrayType(["effective_at"], o), i, i), t.Index$(t._setArrayType(["location_id"], o), i, i)], c.JSArray_Index);
|
|
11189
11189
|
return t.Schema_Schema$build(i, _.List_empty, 3, t._setArrayType(["restaurantId"], o), i, new t.purchaseOrderDeliveryOrderSchema_closure(), _.List_empty0, l, i, !0, !1, !1, !1, !1, new t.purchaseOrderDeliveryOrderSchema_closure0(), "Purchase order delivery order", "purchase_order_delivery_orders", "purchase_order_delivery_order", _.SCHEMA_NAME_30, "createdAt", "couchdb_purchase_order", a, s);
|
|
11190
|
-
}), e(
|
|
11190
|
+
}), e(h, "purchaseOrderDeliveryOrderSkuSchema", "$get$purchaseOrderDeliveryOrderSkuSchema", () => {
|
|
11191
11191
|
var i = null, a = t.Source_Source$couchdb("deliveryOrderSkus", "purchaseOrder"), s = t.TopLevelFilters$(t._setArrayType([t.Permission_Permission$restaurant("restaurantId"), t.Permission_Permission$warehouse("warehouseId")], c.JSArray_Permission), "effectiveAt"), o = c.JSArray_String, l = t._setArrayType([t.Index$(t._setArrayType(["id"], o), i, i), t.Index$(t._setArrayType(["doc_id"], o), i, i), t.Index$(t._setArrayType(["created_at"], o), i, i), t.Index$(t._setArrayType(["effective_at"], o), i, i), t.Index$(t._setArrayType(["location_id"], o), i, i), t.Index$(t._setArrayType(["purchase_order_id"], o), i, i), t.Index$(t._setArrayType(["purchase_order_delivery_order_id"], o), T.idx_poo, i), t.Index$(t._setArrayType(["published_at"], o), i, i)], c.JSArray_Index);
|
|
11192
11192
|
return t.Schema_Schema$build(i, _.List_empty, 3, t._setArrayType(["restaurantId"], o), i, new t.purchaseOrderDeliveryOrderSkuSchema_closure(), _.List_empty0, l, i, !0, !1, !1, !1, !1, new t.purchaseOrderDeliveryOrderSkuSchema_closure0(), "Purchase order delivery order sku", "purchase_order_delivery_order_skus", "purchase_order_delivery_order_sku", _.SCHEMA_NAME_32, "createdAt", "couchdb_purchase_order", a, s);
|
|
11193
|
-
}), e(
|
|
11193
|
+
}), e(h, "purchaseOrderItemSchema", "$get$purchaseOrderItemSchema", () => {
|
|
11194
11194
|
var i = null, a = t.Source_Source$couchdb("items", "purchaseOrder"), s = t.TopLevelFilters$(t._setArrayType([t.Permission_Permission$restaurant("restaurantId"), t.Permission_Permission$warehouse("warehouseId")], c.JSArray_Permission), "effectiveAt"), o = c.JSArray_String, l = t._setArrayType([t.Index$(t._setArrayType(["id"], o), i, i), t.Index$(t._setArrayType(["doc_id"], o), i, i), t.Index$(t._setArrayType(["created_at"], o), i, i), t.Index$(t._setArrayType(["effective_at"], o), i, i), t.Index$(t._setArrayType(["purchase_order_id"], o), i, i), t.Index$(t._setArrayType(["location_id"], o), i, i), t.Index$(t._setArrayType(["published_at"], o), i, i)], c.JSArray_Index), d = t._setArrayType(["restaurantId"], o);
|
|
11195
11195
|
return t.Schema_Schema$build("inventory", t._setArrayType(["purchase order", "po", "supplier order", "procurement", "restock"], o), 2, d, i, new t.purchaseOrderItemSchema_closure(), _.List_empty0, l, i, !1, !1, !1, !1, !1, new t.purchaseOrderItemSchema_closure0(), "Purchase order item", "purchase_order_items", "purchase_order_item", _.SCHEMA_NAME_29, "createdAt", "couchdb_purchase_order", a, s);
|
|
11196
|
-
}), e(
|
|
11196
|
+
}), e(h, "recommendationCallSchema", "$get$recommendationCallSchema", () => {
|
|
11197
11197
|
var i = "recommendation_call", a = null, s = t.Source_Source$mongodb(a, i), o = t.TopLevelFilters$(t._setArrayType([], c.JSArray_Permission), a), l = t._setArrayType([], c.JSArray_Index);
|
|
11198
11198
|
return t.Schema_Schema$build(a, _.List_empty, 3, t._setArrayType([], c.JSArray_String), a, new t.recommendationCallSchema_closure(), _.List_empty0, l, a, !0, !1, !1, !0, !0, new t.recommendationCallSchema_closure0(), "Recommendation call", "recommendation_calls", i, _.SCHEMA_NAME_79, a, "mongodb_recommendation_call", s, o);
|
|
11199
|
-
}), e(
|
|
11199
|
+
}), e(h, "recordSchema", "$get$recordSchema", () => {
|
|
11200
11200
|
var i = null, a = "createdAt", s = t.Source_Source$couchdb(i, "record"), o = t.TopLevelFilters$(t._setArrayType([t.Permission_Permission$restaurant("restaurantId")], c.JSArray_Permission), a), l = c.JSArray_String, d = t._setArrayType([t.Index$(t._setArrayType(["id"], l), i, i), t.Index$(t._setArrayType(["doc_id"], l), i, i), t.Index$(t._setArrayType(["created_at"], l), i, i), t.Index$(t._setArrayType(["restaurant_id"], l), i, i)], c.JSArray_Index);
|
|
11201
11201
|
return t.Schema_Schema$build(i, _.List_empty, 3, t._setArrayType(["restaurantId"], l), i, new t.recordSchema_closure(), _.List_empty0, d, i, !0, !0, !1, !1, !1, new t.recordSchema_closure0(), "Counter record", "records", "record", _.SCHEMA_NAME_13, a, "couchdb_record", s, o);
|
|
11202
|
-
}), e(
|
|
11202
|
+
}), e(h, "refundBillSchema", "$get$refundBillSchema", () => {
|
|
11203
11203
|
var i = null, a = t.Source_Source$couchdb(i, ""), s = t.TopLevelFilters$(t._setArrayType([t.Permission_Permission$restaurant("restaurantId")], c.JSArray_Permission), i), o = c.JSArray_String, l = t._setArrayType([t.Index$(t._setArrayType(["id"], o), i, i), t.Index$(t._setArrayType(["doc_id"], o), i, i), t.Index$(t._setArrayType(["restaurant_id", "created_at"], o), "idx_bills_select_index", i), t.Index$(t._setArrayType(["member_id"], o), i, i), t.Index$(t._setArrayType(["member_user_id"], o), i, i), t.Index$(t._setArrayType(["published_at"], o), i, i)], c.JSArray_Index), d = t._setArrayType(["restaurantId"], o);
|
|
11204
11204
|
return t.Schema_Schema$build("specialized", t._setArrayType(["refund", "return"], o), 3, d, i, new t.refundBillSchema_closure(), _.List_empty0, l, i, !0, !1, !1, !0, !1, new t.refundBillSchema_closure0(), "Refund Bill", "bills", "bill", _.SCHEMA_NAME_70, "createdAt", "", a, s);
|
|
11205
|
-
}), e(
|
|
11205
|
+
}), e(h, "restaurantSchema", "$get$restaurantSchema", () => {
|
|
11206
11206
|
var i = null, a = t.Source_Source$mongodb(i, "Restaurants"), s = t.TopLevelFilters$(t._setArrayType([t.Permission_Permission$restaurant("id")], c.JSArray_Permission), i), o = c.JSArray_String, l = t._setArrayType([t.Index$(t._setArrayType(["id"], o), i, i), t.Index$(t._setArrayType(["doc_id"], o), i, i), t.Index$(t._setArrayType(["business_id"], o), i, i)], c.JSArray_Index), d = t._setArrayType(["id"], o);
|
|
11207
11207
|
return t.Schema_Schema$build("sales", t._setArrayType(["restaurant", "outlet", "branch", "location", "store"], o), 1, d, i, new t.restaurantSchema_closure(), _.List_empty0, l, i, !1, !0, !1, !1, !1, new t.restaurantSchema_closure0(), "Restaurant", "restaurants", "restaurant", _.SCHEMA_NAME_14, i, "mongodb_restaurants", a, s);
|
|
11208
|
-
}), e(
|
|
11208
|
+
}), e(h, "restaurantFeatureSchema", "$get$restaurantFeatureSchema", () => {
|
|
11209
11209
|
var i = null, a = t.Source_Source$mongodb("features", "Restaurants"), s = t.TopLevelFilters$(t._setArrayType([t.Permission_Permission$restaurant("restaurantId")], c.JSArray_Permission), i), o = c.JSArray_String, l = t._setArrayType([t.Index$(t._setArrayType(["id"], o), i, i), t.Index$(t._setArrayType(["doc_id"], o), i, i), t.Index$(t._setArrayType(["restaurant_id"], o), i, i)], c.JSArray_Index);
|
|
11210
11210
|
return t.Schema_Schema$build(i, _.List_empty, 3, t._setArrayType(["restaurantId"], o), i, new t.restaurantFeatureSchema_closure(), _.List_empty0, l, i, !0, !0, !1, !1, !1, new t.restaurantFeatureSchema_closure0(), "Restaurant feature", "restaurant_features", "restaurant_feature", _.SCHEMA_NAME_15, i, "mongodb_restaurants", a, s);
|
|
11211
|
-
}), e(
|
|
11211
|
+
}), e(h, "restaurantLocationSchema", "$get$restaurantLocationSchema", () => {
|
|
11212
11212
|
var i = null, a = t.Source_Source$mongodb(i, "Restaurants"), s = t.TopLevelFilters$(t._setArrayType([t.Permission_Permission$restaurant("id")], c.JSArray_Permission), i), o = c.JSArray_String, l = t._setArrayType([t.Index$(t._setArrayType(["id"], o), i, i), t.Index$(t._setArrayType(["doc_id"], o), i, i), t.Index$(t._setArrayType(["business_id"], o), i, i)], c.JSArray_Index);
|
|
11213
11213
|
return t.Schema_Schema$build(i, _.List_empty, 3, t._setArrayType(["id"], o), i, new t.restaurantLocationSchema_closure(), _.List_empty0, l, i, !1, !0, !1, !1, !0, new t.restaurantLocationSchema_closure0(), "Location", "locations", "location", _.SCHEMA_NAME_46, i, "mongodb_restaurants", a, s);
|
|
11214
|
-
}), e(
|
|
11214
|
+
}), e(h, "reviewSchema", "$get$reviewSchema", () => {
|
|
11215
11215
|
var i = "createdAt", a = null, s = t.Source_Source$mongodb("reviews", "BillMetas"), o = t.TopLevelFilters$(t._setArrayType([t.Permission_Permission$restaurant("restaurantId")], c.JSArray_Permission), i), l = c.JSArray_String, d = t._setArrayType([t.Index$(t._setArrayType(["id"], l), a, a), t.Index$(t._setArrayType(["doc_id"], l), a, a), t.Index$(t._setArrayType(["created_at"], l), a, a), t.Index$(t._setArrayType(["user_id"], l), a, a), t.Index$(t._setArrayType(["bill_id"], l), a, a), t.Index$(t._setArrayType(["restaurant_id"], l), a, a)], c.JSArray_Index), D = t._setArrayType([], l);
|
|
11216
11216
|
return t.Schema_Schema$build("specialized", t._setArrayType(["review", "rating", "feedback", "star"], l), 3, D, a, new t.reviewSchema_closure(), _.List_empty0, d, a, !1, !0, !1, !1, !1, new t.reviewSchema_closure0(), "Review", "reviews", "review", _.SCHEMA_NAME_61, i, "mongodb_bill_metas", s, o);
|
|
11217
|
-
}), e(
|
|
11217
|
+
}), e(h, "salePaymentSchema", "$get$salePaymentSchema", () => {
|
|
11218
11218
|
var i = null, a = "createdAt", s = t.Source_Source$couchdb(i, ""), o = t.TopLevelFilters$(t._setArrayType([t.Permission_Permission$restaurant("restaurantId")], c.JSArray_Permission), a);
|
|
11219
11219
|
return t.Schema_Schema$build(i, _.List_empty, 3, t._setArrayType(["restaurantId"], c.JSArray_String), `select
|
|
11220
11220
|
id,
|
|
@@ -11248,7 +11248,7 @@ select
|
|
|
11248
11248
|
'MEMBER_STORE_PURCHASE' as type
|
|
11249
11249
|
from member_store_purchase_payments
|
|
11250
11250
|
`, new t.salePaymentSchema_closure(), _.List_empty0, i, i, !0, !1, !1, !1, !1, new t.salePaymentSchema_closure0(), "Sale Payment", "sale_payments", "sale_payment", _.SCHEMA_NAME_84, a, "", s, o);
|
|
11251
|
-
}), e(
|
|
11251
|
+
}), e(h, "saleTransactionSchema", "$get$saleTransactionSchema", () => {
|
|
11252
11252
|
var i = null, a = "createdAt", s = t.Source_Source$couchdb(i, ""), o = t.TopLevelFilters$(t._setArrayType([t.Permission_Permission$restaurant("restaurantId")], c.JSArray_Permission), a);
|
|
11253
11253
|
return t.Schema_Schema$build(i, _.List_empty, 3, t._setArrayType(["restaurantId"], c.JSArray_String), `select
|
|
11254
11254
|
id,
|
|
@@ -11284,28 +11284,28 @@ select
|
|
|
11284
11284
|
'MEMBER_STORE_PURCHASE' as type
|
|
11285
11285
|
from member_store_purchases
|
|
11286
11286
|
`, new t.saleTransactionSchema_closure(), _.List_empty0, i, i, !0, !1, !1, !1, !1, new t.saleTransactionSchema_closure0(), "Sale Transaction", "sale_transactions", "sale_transaction", _.SCHEMA_NAME_85, a, "", s, o);
|
|
11287
|
-
}), e(
|
|
11287
|
+
}), e(h, "slotSchema", "$get$slotSchema", () => {
|
|
11288
11288
|
var i = null, a = t.Source_Source$couchdb(i, "slot"), s = t.TopLevelFilters$(t._setArrayType([t.Permission_Permission$restaurant("restaurantId")], c.JSArray_Permission), i), o = c.JSArray_String, l = t._setArrayType([t.Index$(t._setArrayType(["id"], o), i, i), t.Index$(t._setArrayType(["doc_id"], o), i, i), t.Index$(t._setArrayType(["restaurant_id"], o), i, i)], c.JSArray_Index), d = t._setArrayType(["restaurantId"], o);
|
|
11289
11289
|
return t.Schema_Schema$build("operations", t._setArrayType(["slot", "time slot", "booking", "reservation"], o), 2, d, i, new t.slotSchema_closure(), _.List_empty0, l, i, !0, !0, !1, !1, !1, new t.slotSchema_closure0(), "Table", "slots", "slot", _.SCHEMA_NAME_16, i, "couchdb_m_slot", a, s);
|
|
11290
|
-
}), e(
|
|
11290
|
+
}), e(h, "staffSchema", "$get$staffSchema", () => {
|
|
11291
11291
|
var i = null, a = t.Source_Source$couchdb(i, "user"), s = t.TopLevelFilters$(t._setArrayType([t.Permission_Permission$restaurant("restaurantId")], c.JSArray_Permission), i), o = c.JSArray_String, l = t._setArrayType([t.Index$(t._setArrayType(["id"], o), i, i), t.Index$(t._setArrayType(["doc_id"], o), i, i), t.Index$(t._setArrayType(["restaurant_id"], o), i, i)], c.JSArray_Index), d = t._setArrayType(["restaurantId"], o);
|
|
11292
11292
|
return t.Schema_Schema$build("operations", t._setArrayType(["staff", "employee", "cashier", "waiter", "server"], o), 2, d, i, new t.staffSchema_closure(), _.List_empty0, l, i, !1, !0, !1, !1, !1, new t.staffSchema_closure0(), "Staff", "staffs", "staff", _.SCHEMA_NAME_17, i, "couchdb_user", a, s);
|
|
11293
|
-
}), e(
|
|
11293
|
+
}), e(h, "stockSchema", "$get$stockSchema", () => {
|
|
11294
11294
|
var i = null, a = t.Source_Source$couchdb("stocks", "stock"), s = t.TopLevelFilters$(t._setArrayType([t.Permission_Permission$restaurant("restaurantId"), t.Permission_Permission$warehouse("warehouseId")], c.JSArray_Permission), i), o = c.JSArray_String, l = t._setArrayType([t.Index$(t._setArrayType(["restaurant_id"], o), i, i), t.Index$(t._setArrayType(["warehouse_id"], o), i, i), t.Index$(t._setArrayType(["location_id"], o), i, i), t.Index$(t._setArrayType(["doc_id"], o), i, i), t.Index$(t._setArrayType(["id"], o), i, i), t.Index$(t._setArrayType(["published_at"], o), i, i)], c.JSArray_Index), d = t._setArrayType([], o);
|
|
11295
11295
|
return t.Schema_Schema$build("inventory", t._setArrayType(["stock", "inventory", "stock level", "available stock", "stock balance"], o), 2, d, i, new t.stockSchema_closure(), _.List_empty0, l, 900, !0, !0, !1, !1, !1, new t.stockSchema_closure0(), "Stock", "stocks", "stock", _.SCHEMA_NAME_60, i, "couchdb_stock", a, s);
|
|
11296
|
-
}), e(
|
|
11296
|
+
}), e(h, "storeBundleSchema", "$get$storeBundleSchema", () => {
|
|
11297
11297
|
var i = null, a = t.Source_Source$mongodb("bundles", "Stores"), s = t.TopLevelFilters$(t._setArrayType([t.Permission_Permission$business("businessId")], c.JSArray_Permission), i), o = c.JSArray_String, l = t._setArrayType([t.Index$(t._setArrayType(["id"], o), i, i), t.Index$(t._setArrayType(["doc_id"], o), i, i), t.Index$(t._setArrayType(["created_at"], o), i, i), t.Index$(t._setArrayType(["business_id"], o), i, i)], c.JSArray_Index);
|
|
11298
11298
|
return t.Schema_Schema$build(i, _.List_empty, 3, t._setArrayType([], o), i, new t.storeBundleSchema_closure(), _.List_empty0, l, i, !0, !0, !1, !1, !1, new t.storeBundleSchema_closure0(), "Store bundle", "store_bundles", "store_bundle", _.SCHEMA_NAME_67, "createdAt", "mongodb_marketing_db_stores", a, s);
|
|
11299
|
-
}), e(
|
|
11299
|
+
}), e(h, "storeTransactionSchema", "$get$storeTransactionSchema", () => {
|
|
11300
11300
|
var i = null, a = "createdAt", s = t.Source_Source$mongodb(i, "StoreTransactions"), o = t.TopLevelFilters$(t._setArrayType([t.Permission_Permission$business("businessId")], c.JSArray_Permission), a), l = c.JSArray_String, d = t._setArrayType([t.Index$(t._setArrayType(["id"], l), i, i), t.Index$(t._setArrayType(["doc_id"], l), i, i), t.Index$(t._setArrayType(["created_at"], l), i, i), t.Index$(t._setArrayType(["business_id"], l), i, i)], c.JSArray_Index);
|
|
11301
11301
|
return t.Schema_Schema$build(i, _.List_empty, 3, t._setArrayType([], l), i, new t.storeTransactionSchema_closure(), _.List_empty0, d, i, !0, !0, !1, !1, !1, new t.storeTransactionSchema_closure0(), "Store transaction", "store_transactions", "store_transaction", _.SCHEMA_NAME_66, a, "mongodb_marketing_db_store_transactions", s, o);
|
|
11302
|
-
}), e(
|
|
11302
|
+
}), e(h, "subItemSchema", "$get$subItemSchema", () => {
|
|
11303
11303
|
var i = "createdAt", a = null, s = t.Source_Source$couchdb("", ""), o = t.TopLevelFilters$(t._setArrayType([t.Permission_Permission$restaurant("restaurantId")], c.JSArray_Permission), i);
|
|
11304
11304
|
return t.Schema_Schema$build(a, _.List_empty, 3, t._setArrayType(["restaurantId"], c.JSArray_String), a, new t.subItemSchema_closure(), t._setArrayType([t.QueryRequestFilter$(a, a, "layer", _.COMPARISON_OPERATOR_2, a, _.SCHEMA_NAME_9, ["0"])], c.JSArray_QueryRequestFilter), a, a, !0, !1, !1, !0, !1, new t.subItemSchema_closure0(), "Addon (Deprecated)", "flatten_items", "flatten_item", _.SCHEMA_NAME_9, i, "", s, o);
|
|
11305
|
-
}), e(
|
|
11305
|
+
}), e(h, "timesheetSchema", "$get$timesheetSchema", () => {
|
|
11306
11306
|
var i = "timesheet", a = null, s = "createdAt", o = t.Source_Source$couchdb(a, i), l = t.TopLevelFilters$(t._setArrayType([t.Permission_Permission$restaurant("restaurantId")], c.JSArray_Permission), s), d = c.JSArray_String, D = t._setArrayType([t.Index$(t._setArrayType(["id"], d), a, a), t.Index$(t._setArrayType(["doc_id"], d), a, a), t.Index$(t._setArrayType(["created_at"], d), a, a), t.Index$(t._setArrayType(["restaurant_id"], d), a, a)], c.JSArray_Index), f = t._setArrayType(["restaurantId"], d);
|
|
11307
11307
|
return t.Schema_Schema$build("operations", t._setArrayType(["timesheet", "attendance", "clock in", "clock out", "shift", "working hour"], d), 2, f, a, new t.timesheetSchema_closure(), _.List_empty0, D, a, !1, !0, !1, !1, !1, new t.timesheetSchema_closure0(), "Timesheet", "timesheets", i, _.SCHEMA_NAME_18, s, "couchdb_timesheet", o, l);
|
|
11308
|
-
}), e(
|
|
11308
|
+
}), e(h, "timesheetRecordSchema", "$get$timesheetRecordSchema", () => {
|
|
11309
11309
|
var i = null, a = "createdAt", s = t.Source_Source$couchdb(i, ""), o = t.TopLevelFilters$(t._setArrayType([t.Permission_Permission$restaurant("restaurantId")], c.JSArray_Permission), a);
|
|
11310
11310
|
return t.Schema_Schema$build(i, _.List_empty, 3, t._setArrayType(["restaurantId"], c.JSArray_String), `select
|
|
11311
11311
|
id,doc_id,created_at,published_at,restaurant_id,user_id,user_name,
|
|
@@ -11317,33 +11317,33 @@ from member_store_purchases
|
|
|
11317
11317
|
ended_at timestamp
|
|
11318
11318
|
FROM timesheets
|
|
11319
11319
|
`, new t.timesheetRecordSchema_closure(), _.List_empty0, i, i, !0, !1, !1, !1, !1, new t.timesheetRecordSchema_closure0(), "Timesheet record", "timesheets", "timesheet", _.SCHEMA_NAME_19, a, "", s, o);
|
|
11320
|
-
}), e(
|
|
11320
|
+
}), e(h, "unitCostHistorySchema", "$get$unitCostHistorySchema", () => {
|
|
11321
11321
|
var i = null, a = t.Source_Source$mongodb(i, "UnitCostHistory"), s = t.TopLevelFilters$(t._setArrayType([t.Permission_Permission$restaurant("restaurantId"), t.Permission_Permission$warehouse("warehouseId")], c.JSArray_Permission), i), o = c.JSArray_String, l = t._setArrayType([t.Index$(t._setArrayType(["id"], o), i, i), t.Index$(t._setArrayType(["doc_id"], o), i, i), t.Index$(t._setArrayType(["published_at"], o), i, i), t.Index$(t._setArrayType(["location_id", "snapshotted_at"], o), i, i), t.Index$(t._setArrayType(["sku_id", "location_id", "snapshotted_at"], o), i, i)], c.JSArray_Index);
|
|
11322
11322
|
return t.Schema_Schema$build(i, _.List_empty, 3, t._setArrayType([], o), i, new t.unitCostHistorySchema_closure(), _.List_empty0, l, i, !0, !0, !1, !1, !1, new t.unitCostHistorySchema_closure0(), "Unit Cost History", "unit_cost_histories", "unit_cost_history", _.SCHEMA_NAME_74, i, "mongodb_unit_cost_history", a, s);
|
|
11323
|
-
}), e(
|
|
11323
|
+
}), e(h, "userSchema", "$get$userSchema", () => {
|
|
11324
11324
|
var i = null, a = t.Source_Source$mongodb(i, "Users"), s = t.TopLevelFilters$(t._setArrayType([], c.JSArray_Permission), i), o = c.JSArray_String, l = t._setArrayType([t.Index$(t._setArrayType(["id"], o), i, i), t.Index$(t._setArrayType(["doc_id"], o), i, i)], c.JSArray_Index);
|
|
11325
11325
|
return t.Schema_Schema$build(i, _.List_empty, 3, t._setArrayType([], o), i, new t.userSchema_closure(), _.List_empty0, l, i, !0, !0, !0, !0, !1, new t.userSchema_closure0(), "User", "users", "user", _.SCHEMA_NAME_42, i, "mongodb_users", a, s);
|
|
11326
|
-
}), e(
|
|
11326
|
+
}), e(h, "vnEInvoiceSubmissionSchema", "$get$vnEInvoiceSubmissionSchema", () => {
|
|
11327
11327
|
var i = null, a = "createdAt", s = t.Source_Source$mongodb(i, "VNEInvoiceSubmissions"), o = t.TopLevelFilters$(t._setArrayType([t.Permission_Permission$business("restaurantId")], c.JSArray_Permission), a), l = c.JSArray_String, d = t._setArrayType([t.Index$(t._setArrayType(["id"], l), i, i), t.Index$(t._setArrayType(["doc_id"], l), i, i), t.Index$(t._setArrayType(["restaurant_id", "created_at"], l), "idx_vneinvoice_select_index", i), t.Index$(t._setArrayType(["bill_id"], l), i, i)], c.JSArray_Index), D = t._setArrayType([], l);
|
|
11328
11328
|
return t.Schema_Schema$build("compliance", t._setArrayType(["invoice", "e-invoice", "submission", "vn", "vietnam"], l), 2, D, i, new t.vnEInvoiceSubmissionSchema_closure(), _.List_empty0, d, i, !1, !0, !1, !0, !1, new t.vnEInvoiceSubmissionSchema_closure0(), "VN E-Invoice Submission", "vn_e_invoice_submissions", "vn_e_invoice_submission", _.SCHEMA_NAME_80, a, "mongodb_vne_invoice_submissions", s, o);
|
|
11329
|
-
}), e(
|
|
11329
|
+
}), e(h, "voucherClaimSchema", "$get$voucherClaimSchema", () => {
|
|
11330
11330
|
var i = null, a = "createdAt", s = t.Source_Source$mongodb(i, "VoucherClaims"), o = t.TopLevelFilters$(t._setArrayType([t.Permission_Permission$business("businessId")], c.JSArray_Permission), a), l = c.JSArray_String, d = t._setArrayType([t.Index$(t._setArrayType(["id"], l), i, i), t.Index$(t._setArrayType(["doc_id"], l), i, i), t.Index$(t._setArrayType(["created_at"], l), i, i), t.Index$(t._setArrayType(["business_id"], l), i, i), t.Index$(t._setArrayType(["user_id"], l), i, i), t.Index$(t._setArrayType(["bill_id"], l), i, i), t.Index$(t._setArrayType(["restaurant_id"], l), i, i)], c.JSArray_Index), D = t._setArrayType([], l);
|
|
11331
11331
|
return t.Schema_Schema$build("loyalty", t._setArrayType(["voucher", "coupon", "redeem", "redemption", "claim"], l), 2, D, i, new t.voucherClaimSchema_closure(), _.List_empty0, d, i, !1, !0, !1, !1, !1, new t.voucherClaimSchema_closure0(), "Voucher Claim", "voucher_claims", "voucher_claim", _.SCHEMA_NAME_40, a, "mongodb_voucher_claims", s, o);
|
|
11332
|
-
}), e(
|
|
11332
|
+
}), e(h, "voucherClaimRedemptionSchema", "$get$voucherClaimRedemptionSchema", () => {
|
|
11333
11333
|
var i = "createdAt", a = null, s = t.Source_Source$mongodb("redemptions", "VoucherClaims"), o = t.TopLevelFilters$(t._setArrayType([t.Permission_Permission$business("businessId")], c.JSArray_Permission), i), l = c.JSArray_String, d = t._setArrayType([t.Index$(t._setArrayType(["id"], l), a, a), t.Index$(t._setArrayType(["doc_id"], l), a, a), t.Index$(t._setArrayType(["created_at"], l), a, a), t.Index$(t._setArrayType(["voucher_claim_id"], l), a, a), t.Index$(t._setArrayType(["bill_id"], l), a, a), t.Index$(t._setArrayType(["restaurant_id"], l), a, a)], c.JSArray_Index);
|
|
11334
11334
|
return t.Schema_Schema$build(a, _.List_empty, 3, t._setArrayType([], l), a, new t.voucherClaimRedemptionSchema_closure(), _.List_empty0, d, a, !0, !0, !1, !1, !1, new t.voucherClaimRedemptionSchema_closure0(), "Voucher Claim Redemption", "voucher_claim_redemptions", "voucher_claim_redemption", _.SCHEMA_NAME_41, i, "mongodb_voucher_claims", s, o);
|
|
11335
|
-
}), e(
|
|
11335
|
+
}), e(h, "warehouseLocationSchema", "$get$warehouseLocationSchema", () => {
|
|
11336
11336
|
var i = null, a = t.Source_Source$mongodb(i, "Warehouses"), s = t.TopLevelFilters$(t._setArrayType([t.Permission_Permission$warehouse("id")], c.JSArray_Permission), i);
|
|
11337
11337
|
return t.Schema_Schema$build(i, _.List_empty, 3, t._setArrayType([], c.JSArray_String), i, new t.warehouseLocationSchema_closure(), _.List_empty0, i, i, !1, !0, !1, !1, !1, new t.warehouseLocationSchema_closure0(), "Location", "locations", "location", _.SCHEMA_NAME_45, i, "mongodb_warehouses", a, s);
|
|
11338
|
-
}), e(
|
|
11338
|
+
}), e(h, "_UTC", "$get$_UTC", () => {
|
|
11339
11339
|
var i = c.JSArray_int;
|
|
11340
11340
|
return t.Location$("UTC", t._setArrayType([-864e13], i), t._setArrayType([0], i), t._setArrayType([_.TimeZone_0_false_UTC], c.JSArray_TimeZone));
|
|
11341
|
-
}), e(
|
|
11341
|
+
}), e(h, "_database", "$get$_database", () => new t.LocationDatabase(t.LinkedHashMap_LinkedHashMap$_empty(c.String, c.Location))), e(h, "Location__cacheNow", "$get$Location__cacheNow", () => t.DateTime$now()._core$_value);
|
|
11342
11342
|
}(), function() {
|
|
11343
11343
|
(function() {
|
|
11344
11344
|
var e = function(l) {
|
|
11345
11345
|
var d = {};
|
|
11346
|
-
return d[l] = 1, Object.keys(
|
|
11346
|
+
return d[l] = 1, Object.keys(K.convertToFastObject(d))[0];
|
|
11347
11347
|
};
|
|
11348
11348
|
b.getIsolateTag = function(l) {
|
|
11349
11349
|
return e("___dart_" + l + b.isolateTag);
|
|
@@ -11356,7 +11356,7 @@ from member_store_purchases
|
|
|
11356
11356
|
}
|
|
11357
11357
|
}
|
|
11358
11358
|
b.dispatchPropertyName = b.getIsolateTag("dispatch_record");
|
|
11359
|
-
})(),
|
|
11359
|
+
})(), K.setOrUpdateInterceptorsByTag({ ArrayBuffer: u.Interceptor, DataView: t.NativeTypedData, ArrayBufferView: t.NativeTypedData, Uint16Array: t.NativeUint16List, Uint32Array: t.NativeUint32List, Uint8Array: t.NativeUint8List }), K.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";
|
|
11360
11360
|
}(), Function.prototype.call$1 = function(r) {
|
|
11361
11361
|
return this(r);
|
|
11362
11362
|
}, Function.prototype.call$0 = function() {
|
|
@@ -11394,18 +11394,18 @@ from member_store_purchases
|
|
|
11394
11394
|
typeof dartMainRunner == "function" ? dartMainRunner(e, []) : e([]);
|
|
11395
11395
|
});
|
|
11396
11396
|
})();
|
|
11397
|
-
})(
|
|
11398
|
-
const
|
|
11399
|
-
var
|
|
11400
|
-
(function(
|
|
11401
|
-
|
|
11397
|
+
})(ge);
|
|
11398
|
+
const Ue = ge;
|
|
11399
|
+
var qe = Ue, he = {};
|
|
11400
|
+
(function(A) {
|
|
11401
|
+
A.load = function(I, O) {
|
|
11402
11402
|
var P = typeof process < "u" && (process.versions || {}).hasOwnProperty("node"), B = P ? Object.create(globalThis) : globalThis;
|
|
11403
11403
|
if (B.scheduleImmediate = typeof setImmediate < "u" ? function(H) {
|
|
11404
11404
|
setImmediate(H);
|
|
11405
11405
|
} : function(H) {
|
|
11406
11406
|
setTimeout(H, 0);
|
|
11407
|
-
}, B.exports = O ||
|
|
11408
|
-
var J = (typeof __webpack_require__ < "u" ? __non_webpack_require__ :
|
|
11407
|
+
}, B.exports = O || A, typeof process < "u" && (B.process = process), typeof __dirname < "u" && (B.__dirname = __dirname), typeof __filename < "u" && (B.__filename = __filename), typeof Buffer < "u" && (B.Buffer = Buffer), P) {
|
|
11408
|
+
var J = (typeof __webpack_require__ < "u" ? __non_webpack_require__ : me)("url");
|
|
11409
11409
|
Object.defineProperty(B, "location", {
|
|
11410
11410
|
value: {
|
|
11411
11411
|
get href() {
|
|
@@ -11496,7 +11496,7 @@ var Ue = ke, ge = {};
|
|
|
11496
11496
|
function G(e, n) {
|
|
11497
11497
|
N(n.prototype, e.prototype), e.prototype.constructor = e;
|
|
11498
11498
|
}
|
|
11499
|
-
function
|
|
11499
|
+
function Z(e, n) {
|
|
11500
11500
|
U(n.prototype, e.prototype), e.prototype.constructor = e;
|
|
11501
11501
|
}
|
|
11502
11502
|
function V(e, n, i, a) {
|
|
@@ -11562,16 +11562,16 @@ var Ue = ke, ge = {};
|
|
|
11562
11562
|
};
|
|
11563
11563
|
}
|
|
11564
11564
|
var z = 0;
|
|
11565
|
-
function
|
|
11565
|
+
function r0(e, n, i, a, s, o, l, d, D, f) {
|
|
11566
11566
|
return typeof d == "number" && (d += z), { co: e, iS: n, iI: i, rC: a, dV: s, cs: o, fs: l, fT: d, aI: D || 0, nDA: f };
|
|
11567
11567
|
}
|
|
11568
11568
|
function e0(e, n, i, a, s, o, l, d) {
|
|
11569
|
-
var D =
|
|
11569
|
+
var D = r0(e, !0, !1, i, a, s, o, l, d, !1), f = Q(D);
|
|
11570
11570
|
e[n] = f;
|
|
11571
11571
|
}
|
|
11572
11572
|
function i0(e, n, i, a, s, o, l, d, D, f) {
|
|
11573
11573
|
i = !!i;
|
|
11574
|
-
var p =
|
|
11574
|
+
var p = r0(e, !1, i, a, s, o, l, d, D, !!f), y = p0(i, p);
|
|
11575
11575
|
e[n] = y;
|
|
11576
11576
|
}
|
|
11577
11577
|
function W(e) {
|
|
@@ -11582,7 +11582,7 @@ var Ue = ke, ge = {};
|
|
|
11582
11582
|
}
|
|
11583
11583
|
q(e, n);
|
|
11584
11584
|
}
|
|
11585
|
-
function
|
|
11585
|
+
function n0(e) {
|
|
11586
11586
|
var n = T.leafTags;
|
|
11587
11587
|
if (!n) {
|
|
11588
11588
|
T.leafTags = e;
|
|
@@ -11594,7 +11594,7 @@ var Ue = ke, ge = {};
|
|
|
11594
11594
|
var n = T.types, i = n.length;
|
|
11595
11595
|
return n.push.apply(n, e), i;
|
|
11596
11596
|
}
|
|
11597
|
-
function
|
|
11597
|
+
function K(e, n) {
|
|
11598
11598
|
return q(n, e), e;
|
|
11599
11599
|
}
|
|
11600
11600
|
var t = function() {
|
|
@@ -11607,7 +11607,7 @@ var Ue = ke, ge = {};
|
|
|
11607
11607
|
return e0(l, d, i, a, s, [D], f, o);
|
|
11608
11608
|
};
|
|
11609
11609
|
};
|
|
11610
|
-
return { inherit: Y, inheritMany: t0, mixin: G, mixinHard:
|
|
11610
|
+
return { inherit: Y, inheritMany: t0, mixin: G, mixinHard: Z, installStaticTearOff: e0, installInstanceTearOff: i0, _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: n(0, null, ["call$0"], 0), _static_1: n(1, null, ["call$1"], 0), _static_2: n(2, null, ["call$2"], 0), makeConstList: a0, lazy: u0, lazyFinal: s0, lazyOld: V, updateHolder: K, convertToFastObject: l0, updateTypes: _0, setOrUpdateInterceptorsByTag: W, setOrUpdateLeafTags: n0 };
|
|
11611
11611
|
}(), u = {
|
|
11612
11612
|
JS_CONST: function() {
|
|
11613
11613
|
},
|
|
@@ -11657,8 +11657,8 @@ var Ue = ke, ge = {};
|
|
|
11657
11657
|
}
|
|
11658
11658
|
},
|
|
11659
11659
|
Sort__dualPivotQuicksort(e, n, i, a) {
|
|
11660
|
-
var s, o, l, d, D, f, p, y, m, g,
|
|
11661
|
-
if (a.call$2(L, w) > 0 && (s = w, w = L, L = s), a.call$2(k, j) > 0 && (s = j, j = k, k = s), a.call$2(L, v) > 0 && (s = v, v = L, L = s), a.call$2(w, v) > 0 && (s = v, v = w, w = s), a.call$2(L, k) > 0 && (s = k, k = L, L = s), a.call$2(v, k) > 0 && (s = k, k = v, v = s), a.call$2(w, j) > 0 && (s = j, j = w, w = s), a.call$2(w, v) > 0 && (s = v, v = w, w = s), a.call$2(k, j) > 0 && (s = j, j = k, k = s), R.$indexSet(e,
|
|
11660
|
+
var s, o, l, d, D, f, p, y, m, g, S = $.JSInt_methods._tdivFast$1(i - n + 1, 6), E = n + S, C = i - S, F = $.JSInt_methods._tdivFast$1(n + i, 2), M = F - S, x = F + S, R = _.getInterceptor$asx(e), L = R.$index(e, E), w = R.$index(e, M), v = R.$index(e, F), k = R.$index(e, x), j = R.$index(e, C);
|
|
11661
|
+
if (a.call$2(L, w) > 0 && (s = w, w = L, L = s), a.call$2(k, j) > 0 && (s = j, j = k, k = s), a.call$2(L, v) > 0 && (s = v, v = L, L = s), a.call$2(w, v) > 0 && (s = v, v = w, w = s), a.call$2(L, k) > 0 && (s = k, k = L, L = s), a.call$2(v, k) > 0 && (s = k, k = v, v = s), a.call$2(w, j) > 0 && (s = j, j = w, w = s), a.call$2(w, v) > 0 && (s = v, v = w, w = s), a.call$2(k, j) > 0 && (s = j, j = k, k = s), R.$indexSet(e, E, L), R.$indexSet(e, F, v), R.$indexSet(e, C, j), R.$indexSet(e, M, R.$index(e, n)), R.$indexSet(e, x, R.$index(e, i)), o = n + 1, l = i - 1, _.$eq$(a.call$2(w, k), 0)) {
|
|
11662
11662
|
for (d = o; d <= l; ++d)
|
|
11663
11663
|
if (D = R.$index(e, d), f = a.call$2(D, w), f !== 0)
|
|
11664
11664
|
if (f < 0)
|
|
@@ -11693,7 +11693,7 @@ var Ue = ke, ge = {};
|
|
|
11693
11693
|
m = !1;
|
|
11694
11694
|
}
|
|
11695
11695
|
if (g = o - 1, R.$indexSet(e, n, R.$index(e, g)), R.$indexSet(e, g, w), g = l + 1, R.$indexSet(e, i, R.$index(e, g)), R.$indexSet(e, g, k), u.Sort__doSort(e, n, o - 2, a), u.Sort__doSort(e, l + 2, i, a), !m)
|
|
11696
|
-
if (o <
|
|
11696
|
+
if (o < E && l > C) {
|
|
11697
11697
|
for (; _.$eq$(a.call$2(R.$index(e, o), w), 0); )
|
|
11698
11698
|
++o;
|
|
11699
11699
|
for (; _.$eq$(a.call$2(R.$index(e, l), k), 0); )
|
|
@@ -11950,34 +11950,34 @@ var Ue = ke, ge = {};
|
|
|
11950
11950
|
return u.Primitives__generalApplyFunction(e, n, i);
|
|
11951
11951
|
},
|
|
11952
11952
|
Primitives__generalApplyFunction(e, n, i) {
|
|
11953
|
-
var a, s, o, l, d, D, f, p, y, m, g,
|
|
11953
|
+
var a, s, o, l, d, D, f, p, y, m, g, S, E = Array.isArray(n) ? n : u.List_List$of(n, !0, r.dynamic), C = E.length, F = e.$requiredArgCount;
|
|
11954
11954
|
if (C < F)
|
|
11955
|
-
return u.Primitives_functionNoSuchMethod(e,
|
|
11955
|
+
return u.Primitives_functionNoSuchMethod(e, E, i);
|
|
11956
11956
|
if (a = e.$defaultValues, s = a == null, o = s ? null : a(), l = _.getInterceptor$(e), d = l["call*"], typeof d == "string" && (d = l[d]), s)
|
|
11957
|
-
return i != null && i.__js_helper$_length !== 0 ? u.Primitives_functionNoSuchMethod(e,
|
|
11957
|
+
return i != null && i.__js_helper$_length !== 0 ? u.Primitives_functionNoSuchMethod(e, E, i) : C === F ? d.apply(e, E) : u.Primitives_functionNoSuchMethod(e, E, i);
|
|
11958
11958
|
if (Array.isArray(o))
|
|
11959
|
-
return i != null && i.__js_helper$_length !== 0 ? u.Primitives_functionNoSuchMethod(e,
|
|
11959
|
+
return i != null && i.__js_helper$_length !== 0 ? u.Primitives_functionNoSuchMethod(e, E, i) : (D = F + o.length, C > D ? u.Primitives_functionNoSuchMethod(e, E, null) : (C < D && (f = o.slice(C - F), E === n && (E = u.List_List$of(E, !0, r.dynamic)), $.JSArray_methods.addAll$1(E, f)), d.apply(e, E)));
|
|
11960
11960
|
if (C > F)
|
|
11961
|
-
return u.Primitives_functionNoSuchMethod(e,
|
|
11962
|
-
if (
|
|
11961
|
+
return u.Primitives_functionNoSuchMethod(e, E, i);
|
|
11962
|
+
if (E === n && (E = u.List_List$of(E, !0, r.dynamic)), p = Object.keys(o), i == null)
|
|
11963
11963
|
for (s = p.length, y = 0; y < p.length; p.length === s || (0, u.throwConcurrentModificationError)(p), ++y) {
|
|
11964
11964
|
if (m = o[p[y]], $.C__Required === m)
|
|
11965
|
-
return u.Primitives_functionNoSuchMethod(e,
|
|
11966
|
-
$.JSArray_methods.add$1(
|
|
11965
|
+
return u.Primitives_functionNoSuchMethod(e, E, i);
|
|
11966
|
+
$.JSArray_methods.add$1(E, m);
|
|
11967
11967
|
}
|
|
11968
11968
|
else {
|
|
11969
11969
|
for (s = p.length, g = 0, y = 0; y < p.length; p.length === s || (0, u.throwConcurrentModificationError)(p), ++y)
|
|
11970
|
-
if (
|
|
11971
|
-
++g, $.JSArray_methods.add$1(
|
|
11970
|
+
if (S = p[y], i.containsKey$1(S))
|
|
11971
|
+
++g, $.JSArray_methods.add$1(E, i.$index(0, S));
|
|
11972
11972
|
else {
|
|
11973
|
-
if (m = o[
|
|
11974
|
-
return u.Primitives_functionNoSuchMethod(e,
|
|
11975
|
-
$.JSArray_methods.add$1(
|
|
11973
|
+
if (m = o[S], $.C__Required === m)
|
|
11974
|
+
return u.Primitives_functionNoSuchMethod(e, E, i);
|
|
11975
|
+
$.JSArray_methods.add$1(E, m);
|
|
11976
11976
|
}
|
|
11977
11977
|
if (g !== i.__js_helper$_length)
|
|
11978
|
-
return u.Primitives_functionNoSuchMethod(e,
|
|
11978
|
+
return u.Primitives_functionNoSuchMethod(e, E, i);
|
|
11979
11979
|
}
|
|
11980
|
-
return d.apply(e,
|
|
11980
|
+
return d.apply(e, E);
|
|
11981
11981
|
},
|
|
11982
11982
|
diagnoseIndexError(e, n) {
|
|
11983
11983
|
var i, a = "index";
|
|
@@ -12036,24 +12036,24 @@ var Ue = ke, ge = {};
|
|
|
12036
12036
|
return r.Error._is(n) && n.$thrownJsError == null && (n.$thrownJsError = e), n;
|
|
12037
12037
|
},
|
|
12038
12038
|
_unwrapNonDartException(e) {
|
|
12039
|
-
var n, i, a, s, o, l, d, D, f, p, y, m, g,
|
|
12039
|
+
var n, i, a, s, o, l, d, D, f, p, y, m, g, S, E = null;
|
|
12040
12040
|
if (!("message" in e))
|
|
12041
12041
|
return e;
|
|
12042
12042
|
if (n = e.message, "number" in e && typeof e.number == "number" && (i = e.number, a = i & 65535, ($.JSInt_methods._shrOtherPositive$1(i, 16) & 8191) === 10))
|
|
12043
12043
|
switch (a) {
|
|
12044
12044
|
case 438:
|
|
12045
|
-
return u.saveStackTrace(e, u.JsNoSuchMethodError$(u.S(n) + " (Error " + a + ")",
|
|
12045
|
+
return u.saveStackTrace(e, u.JsNoSuchMethodError$(u.S(n) + " (Error " + a + ")", E));
|
|
12046
12046
|
case 445:
|
|
12047
12047
|
case 5007:
|
|
12048
|
-
return s = u.S(n), u.saveStackTrace(e, new u.NullError(s + " (Error " + a + ")",
|
|
12048
|
+
return s = u.S(n), u.saveStackTrace(e, new u.NullError(s + " (Error " + a + ")", E));
|
|
12049
12049
|
}
|
|
12050
|
-
return e instanceof TypeError ? (o = b.$get$TypeErrorDecoder_noSuchMethodPattern(), l = b.$get$TypeErrorDecoder_notClosurePattern(), d = b.$get$TypeErrorDecoder_nullCallPattern(), D = b.$get$TypeErrorDecoder_nullLiteralCallPattern(), f = b.$get$TypeErrorDecoder_undefinedCallPattern(), p = b.$get$TypeErrorDecoder_undefinedLiteralCallPattern(), y = b.$get$TypeErrorDecoder_nullPropertyPattern(), b.$get$TypeErrorDecoder_nullLiteralPropertyPattern(), m = b.$get$TypeErrorDecoder_undefinedPropertyPattern(), g = b.$get$TypeErrorDecoder_undefinedLiteralPropertyPattern(),
|
|
12050
|
+
return e instanceof TypeError ? (o = b.$get$TypeErrorDecoder_noSuchMethodPattern(), l = b.$get$TypeErrorDecoder_notClosurePattern(), d = b.$get$TypeErrorDecoder_nullCallPattern(), D = b.$get$TypeErrorDecoder_nullLiteralCallPattern(), f = b.$get$TypeErrorDecoder_undefinedCallPattern(), p = b.$get$TypeErrorDecoder_undefinedLiteralCallPattern(), y = b.$get$TypeErrorDecoder_nullPropertyPattern(), b.$get$TypeErrorDecoder_nullLiteralPropertyPattern(), m = b.$get$TypeErrorDecoder_undefinedPropertyPattern(), g = b.$get$TypeErrorDecoder_undefinedLiteralPropertyPattern(), S = o.matchTypeError$1(n), S != null ? u.saveStackTrace(e, u.JsNoSuchMethodError$(n, S)) : (S = l.matchTypeError$1(n), S != null ? (S.method = "call", u.saveStackTrace(e, u.JsNoSuchMethodError$(n, S))) : (S = d.matchTypeError$1(n), S == null ? (S = D.matchTypeError$1(n), S == null ? (S = f.matchTypeError$1(n), S == null ? (S = p.matchTypeError$1(n), S == null ? (S = y.matchTypeError$1(n), S == null ? (S = D.matchTypeError$1(n), S == null ? (S = m.matchTypeError$1(n), S == null ? (S = g.matchTypeError$1(n), s = S != null) : s = !0) : s = !0) : s = !0) : s = !0) : s = !0) : s = !0) : s = !0, s ? u.saveStackTrace(e, new u.NullError(n, S == null ? E : S.method)) : u.saveStackTrace(e, new u.UnknownJsTypeError(typeof n == "string" ? n : ""))))) : e instanceof RangeError ? typeof n == "string" && n.indexOf("call stack") !== -1 ? new u.StackOverflowError() : (n = function(C) {
|
|
12051
12051
|
try {
|
|
12052
12052
|
return String(C);
|
|
12053
12053
|
} catch {
|
|
12054
12054
|
}
|
|
12055
12055
|
return null;
|
|
12056
|
-
}(e), u.saveStackTrace(e, new u.ArgumentError(!1,
|
|
12056
|
+
}(e), u.saveStackTrace(e, new u.ArgumentError(!1, E, E, typeof n == "string" ? n.replace(/^RangeError:\s*/, "") : n))) : typeof InternalError == "function" && e instanceof InternalError && typeof n == "string" && n === "too much recursion" ? new u.StackOverflowError() : e;
|
|
12057
12057
|
},
|
|
12058
12058
|
objectHashCode(e) {
|
|
12059
12059
|
return e == null || typeof e != "object" ? _.get$hashCode$(e) : u.Primitives_objectHashCode(e);
|
|
@@ -12065,13 +12065,13 @@ var Ue = ke, ge = {};
|
|
|
12065
12065
|
return n;
|
|
12066
12066
|
},
|
|
12067
12067
|
Closure_fromTearOff(e) {
|
|
12068
|
-
var n, i, a, s, o, l, d, D, f, p, y = e.co, m = e.iS, g = e.iI,
|
|
12068
|
+
var n, i, a, s, o, l, d, D, f, p, y = e.co, m = e.iS, g = e.iI, S = e.nDA, E = e.aI, C = e.fs, F = e.cs, M = C[0], x = F[0], R = y[M], L = e.fT;
|
|
12069
12069
|
for (L.toString, n = Object.create(m ? new u.StaticClosure().constructor.prototype : new u.BoundClosure(null, null).constructor.prototype), n.$initialize = n.constructor, m ? i = function() {
|
|
12070
12070
|
this.$initialize();
|
|
12071
12071
|
} : i = function(v, k) {
|
|
12072
12072
|
this.$initialize(v, k);
|
|
12073
|
-
}, n.constructor = i, i.prototype = n, n.$_name = M, n.$_target = R, a = !m, a ? s = u.Closure_forwardCallTo(M, R, g,
|
|
12074
|
-
d = C[l], typeof d == "string" ? (D = y[d], f = d, d = D) : f = "", p = F[l], p != null && (a && (d = u.Closure_forwardCallTo(f, d, g,
|
|
12073
|
+
}, n.constructor = i, i.prototype = n, n.$_name = M, n.$_target = R, a = !m, a ? s = u.Closure_forwardCallTo(M, R, g, S) : (n.$static_name = M, s = R), n.$signature = u.Closure__computeSignatureFunctionNewRti(L, m, g), n[x] = s, o = s, l = 1; l < C.length; ++l)
|
|
12074
|
+
d = C[l], typeof d == "string" ? (D = y[d], f = d, d = D) : f = "", p = F[l], p != null && (a && (d = u.Closure_forwardCallTo(f, d, g, S)), n[p] = d), l === E && (o = d);
|
|
12075
12075
|
return n["call*"] = o, n.$requiredArgCount = e.rC, n.$defaultValues = e.dV, i;
|
|
12076
12076
|
},
|
|
12077
12077
|
Closure__computeSignatureFunctionNewRti(e, n, i) {
|
|
@@ -12285,8 +12285,8 @@ var Ue = ke, ge = {};
|
|
|
12285
12285
|
var l = n ? "m" : "", d = i ? "" : "i", D = a ? "u" : "", f = s ? "s" : "", p = o ? "g" : "", y = function(m, g) {
|
|
12286
12286
|
try {
|
|
12287
12287
|
return new RegExp(m, g);
|
|
12288
|
-
} catch (
|
|
12289
|
-
return
|
|
12288
|
+
} catch (S) {
|
|
12289
|
+
return S;
|
|
12290
12290
|
}
|
|
12291
12291
|
}(e, l + d + D + f + p);
|
|
12292
12292
|
if (y instanceof RegExp)
|
|
@@ -12518,7 +12518,7 @@ var Ue = ke, ge = {};
|
|
|
12518
12518
|
return u._Universe_eval(T.typeUniverse, e, !1);
|
|
12519
12519
|
},
|
|
12520
12520
|
_substitute(e, n, i, a) {
|
|
12521
|
-
var s, o, l, d, D, f, p, y, m, g,
|
|
12521
|
+
var s, o, l, d, D, f, p, y, m, g, S, E, C, F, M, x, R = n._kind;
|
|
12522
12522
|
switch (R) {
|
|
12523
12523
|
case 5:
|
|
12524
12524
|
case 1:
|
|
@@ -12537,7 +12537,7 @@ var Ue = ke, ge = {};
|
|
|
12537
12537
|
case 10:
|
|
12538
12538
|
return D = n._primary, f = u._substitute(e, D, i, a), p = n._rest, y = u._substituteArray(e, p, i, a), f === D && y === p ? n : u._Universe__lookupBindingRti(e, f, y);
|
|
12539
12539
|
case 12:
|
|
12540
|
-
return m = n._primary, g = u._substitute(e, m, i, a),
|
|
12540
|
+
return m = n._primary, g = u._substitute(e, m, i, a), S = n._rest, E = u._substituteFunctionParameters(e, S, i, a), g === m && E === S ? n : u._Universe__lookupFunctionRti(e, g, E);
|
|
12541
12541
|
case 13:
|
|
12542
12542
|
return C = n._rest, a += C.length, F = u._substituteArray(e, C, i, a), D = n._primary, f = u._substitute(e, D, i, a), F === C && f === D ? n : u._Universe__lookupGenericFunctionRti(e, f, F, !0);
|
|
12543
12543
|
case 14:
|
|
@@ -12805,7 +12805,7 @@ var Ue = ke, ge = {};
|
|
|
12805
12805
|
return o + "})";
|
|
12806
12806
|
},
|
|
12807
12807
|
_functionRtiToString(e, n, i) {
|
|
12808
|
-
var a, s, o, l, d, D, f, p, y, m, g,
|
|
12808
|
+
var a, s, o, l, d, D, f, p, y, m, g, S, E, C, F, M, x, R, L, w, v, k = ", ";
|
|
12809
12809
|
if (i != null) {
|
|
12810
12810
|
for (a = i.length, n == null ? (n = u._setArrayType([], r.JSArray_String), s = null) : s = n.length, o = n.length, l = a; l > 0; --l)
|
|
12811
12811
|
n.push("T" + (o + l));
|
|
@@ -12814,8 +12814,8 @@ var Ue = ke, ge = {};
|
|
|
12814
12814
|
f += ">";
|
|
12815
12815
|
} else
|
|
12816
12816
|
f = "", s = null;
|
|
12817
|
-
for (d = e._primary,
|
|
12818
|
-
w += v + u._rtiToString(
|
|
12817
|
+
for (d = e._primary, S = e._rest, E = S._requiredPositional, C = E.length, F = S._optionalPositional, M = F.length, x = S._named, R = x.length, L = u._rtiToString(d, n), w = "", v = "", l = 0; l < C; ++l, v = k)
|
|
12818
|
+
w += v + u._rtiToString(E[l], n);
|
|
12819
12819
|
if (M > 0) {
|
|
12820
12820
|
for (w += v + "[", v = "", l = 0; l < M; ++l, v = k)
|
|
12821
12821
|
w += v + u._rtiToString(F[l], n);
|
|
@@ -12946,8 +12946,8 @@ var Ue = ke, ge = {};
|
|
|
12946
12946
|
return l ?? (a = new u.Rti(null, null), a._kind = 11, a._primary = n, a._rest = i, a._canonicalRecipe = o, s = u._Universe__installTypeTests(e, a), e.eC.set(o, s), s);
|
|
12947
12947
|
},
|
|
12948
12948
|
_Universe__lookupFunctionRti(e, n, i) {
|
|
12949
|
-
var a, s, o, l, d, D = n._canonicalRecipe, f = i._requiredPositional, p = f.length, y = i._optionalPositional, m = y.length, g = i._named,
|
|
12950
|
-
return m > 0 && (a = p > 0 ? "," : "",
|
|
12949
|
+
var a, s, o, l, d, D = n._canonicalRecipe, f = i._requiredPositional, p = f.length, y = i._optionalPositional, m = y.length, g = i._named, S = g.length, E = "(" + u._Universe__canonicalRecipeJoin(f);
|
|
12950
|
+
return m > 0 && (a = p > 0 ? "," : "", E += a + "[" + u._Universe__canonicalRecipeJoin(y) + "]"), S > 0 && (a = p > 0 ? "," : "", E += a + "{" + u._Universe__canonicalRecipeJoinNamed(g) + "}"), s = D + (E + ")"), o = e.eC.get(s), o ?? (l = new u.Rti(null, null), l._kind = 12, l._primary = n, l._rest = i, l._canonicalRecipe = s, d = u._Universe__installTypeTests(e, l), e.eC.set(s, d), d);
|
|
12951
12951
|
},
|
|
12952
12952
|
_Universe__lookupGenericFunctionRti(e, n, i, a) {
|
|
12953
12953
|
var s, o = n._canonicalRecipe + ("<" + u._Universe__canonicalRecipeJoin(i) + ">"), l = e.eC.get(o);
|
|
@@ -13144,7 +13144,7 @@ var Ue = ke, ge = {};
|
|
|
13144
13144
|
throw u.wrapException(u.AssertionError$("Bad index " + i + " for " + n.toString$0(0)));
|
|
13145
13145
|
},
|
|
13146
13146
|
_isSubtype(e, n, i, a, s) {
|
|
13147
|
-
var o, l, d, D, f, p, y, m, g,
|
|
13147
|
+
var o, l, d, D, f, p, y, m, g, S;
|
|
13148
13148
|
if (n === a || (u.isStrongTopType(a) ? o = !0 : a !== r.legacy_Object ? o = !1 : o = !0, o) || (l = n._kind, l === 4))
|
|
13149
13149
|
return !0;
|
|
13150
13150
|
if (u.isStrongTopType(n))
|
|
@@ -13177,15 +13177,15 @@ var Ue = ke, ge = {};
|
|
|
13177
13177
|
if (l !== 13 || (f = n._rest, p = a._rest, y = f.length, y !== p.length))
|
|
13178
13178
|
return !1;
|
|
13179
13179
|
for (i = i == null ? f : f.concat(i), s = s == null ? p : p.concat(s), m = 0; m < y; ++m)
|
|
13180
|
-
if (g = f[m],
|
|
13180
|
+
if (g = f[m], S = p[m], !u._isSubtype(e, g, i, S, s) || !u._isSubtype(e, S, s, g, i))
|
|
13181
13181
|
return !1;
|
|
13182
13182
|
return u._isFunctionSubtype(e, n._primary, i, a._primary, s);
|
|
13183
13183
|
}
|
|
13184
13184
|
return D === 12 ? n === r.JavaScriptFunction ? !0 : o ? !1 : u._isFunctionSubtype(e, n, i, a, s) : l === 9 ? D !== 9 ? !1 : u._isInterfaceSubtype(e, n, i, a, s) : (o = l === 11, o && a === r.Record ? !0 : o && D === 11 ? u._isRecordSubtype(e, n, i, a, s) : !1);
|
|
13185
13185
|
},
|
|
13186
13186
|
_isFunctionSubtype(e, n, i, a, s) {
|
|
13187
|
-
var o, l, d, D, f, p, y, m, g,
|
|
13188
|
-
if (!u._isSubtype(e, n._primary, i, a._primary, s) || (o = n._rest, l = a._rest, d = o._requiredPositional, D = l._requiredPositional, f = d.length, p = D.length, f > p) || (y = p - f, m = o._optionalPositional, g = l._optionalPositional,
|
|
13187
|
+
var o, l, d, D, f, p, y, m, g, S, E, C, F, M, x, R, L, w, v, k, j, f0;
|
|
13188
|
+
if (!u._isSubtype(e, n._primary, i, a._primary, s) || (o = n._rest, l = a._rest, d = o._requiredPositional, D = l._requiredPositional, f = d.length, p = D.length, f > p) || (y = p - f, m = o._optionalPositional, g = l._optionalPositional, S = m.length, E = g.length, f + S < p + E))
|
|
13189
13189
|
return !1;
|
|
13190
13190
|
for (C = 0; C < f; ++C)
|
|
13191
13191
|
if (F = d[C], !u._isSubtype(e, D[C], s, F, i))
|
|
@@ -13193,7 +13193,7 @@ var Ue = ke, ge = {};
|
|
|
13193
13193
|
for (C = 0; C < y; ++C)
|
|
13194
13194
|
if (F = m[C], !u._isSubtype(e, D[f + C], s, F, i))
|
|
13195
13195
|
return !1;
|
|
13196
|
-
for (C = 0; C <
|
|
13196
|
+
for (C = 0; C < E; ++C)
|
|
13197
13197
|
if (F = m[y + C], !u._isSubtype(e, g[C], s, F, i))
|
|
13198
13198
|
return !1;
|
|
13199
13199
|
for (M = o._named, x = l._named, R = M.length, L = x.length, w = 0, v = 0; v < L; v += 3)
|
|
@@ -13642,11 +13642,11 @@ var Ue = ke, ge = {};
|
|
|
13642
13642
|
return new u.DateTime(Date.now(), !1);
|
|
13643
13643
|
},
|
|
13644
13644
|
DateTime_parse(e) {
|
|
13645
|
-
var n, i, a, s, o, l, d, D, f, p, y, m, g,
|
|
13645
|
+
var n, i, a, s, o, l, d, D, f, p, y, m, g, S, E, C, F = b.$get$DateTime__parseFormat().firstMatch$1(e);
|
|
13646
13646
|
if (F != null) {
|
|
13647
|
-
if (n = new u.DateTime_parse_parseIntOrZero(), i = F.__js_helper$_match, a = i[1], a.toString, s = u.int_parse(a), a = i[2], a.toString, o = u.int_parse(a), a = i[3], a.toString, l = u.int_parse(a), d = n.call$1(i[4]), D = n.call$1(i[5]), f = n.call$1(i[6]), p = new u.DateTime_parse_parseMilliAndMicroseconds().call$1(i[7]), y = $.JSInt_methods._tdivFast$1(p, 1e3), i[8] != null ? (m = i[9], m != null && (g = m === "-" ? -1 : 1, a = i[10], a.toString,
|
|
13647
|
+
if (n = new u.DateTime_parse_parseIntOrZero(), i = F.__js_helper$_match, a = i[1], a.toString, s = u.int_parse(a), a = i[2], a.toString, o = u.int_parse(a), a = i[3], a.toString, l = u.int_parse(a), d = n.call$1(i[4]), D = n.call$1(i[5]), f = n.call$1(i[6]), p = new u.DateTime_parse_parseMilliAndMicroseconds().call$1(i[7]), y = $.JSInt_methods._tdivFast$1(p, 1e3), i[8] != null ? (m = i[9], m != null && (g = m === "-" ? -1 : 1, a = i[10], a.toString, S = u.int_parse(a), D -= g * (n.call$1(i[11]) + 60 * S)), E = !0) : E = !1, C = u.Primitives_valueFromDecomposedDate(s, o, l, d, D, f, y + $.JSNumber_methods.round$0(p % 1e3 / 1e3), E), C == null)
|
|
13648
13648
|
throw u.wrapException(u.FormatException$("Time out of range", e, null));
|
|
13649
|
-
return u.DateTime$_withValue(C,
|
|
13649
|
+
return u.DateTime$_withValue(C, E);
|
|
13650
13650
|
} else
|
|
13651
13651
|
throw u.wrapException(u.FormatException$("Invalid date format", e, null));
|
|
13652
13652
|
},
|
|
@@ -13851,8 +13851,8 @@ var Ue = ke, ge = {};
|
|
|
13851
13851
|
ListExtensions_mapIndexed$body(e, n, i, a, s) {
|
|
13852
13852
|
return u._makeSyncStarIterable(function() {
|
|
13853
13853
|
var o = e, l = n, d = 0, D = 1, f, p, y;
|
|
13854
|
-
return function(g,
|
|
13855
|
-
for (g === 1 && (f =
|
|
13854
|
+
return function(g, S) {
|
|
13855
|
+
for (g === 1 && (f = S, d = D); ; )
|
|
13856
13856
|
switch (d) {
|
|
13857
13857
|
case 0:
|
|
13858
13858
|
p = _.getInterceptor$asx(o), y = 0;
|
|
@@ -13904,9 +13904,9 @@ var Ue = ke, ge = {};
|
|
|
13904
13904
|
var l = this;
|
|
13905
13905
|
l.digest = n, l._extended = i, l._hash_sink$_sink = a, l._currentChunk = s, l._lengthInBytes = 0, l._pendingData = o, l._isClosed = !1;
|
|
13906
13906
|
},
|
|
13907
|
-
DateSymbols: function(n, i, a, s, o, l, d, D, f, p, y, m, g,
|
|
13907
|
+
DateSymbols: function(n, i, a, s, o, l, d, D, f, p, y, m, g, S, E, C, F) {
|
|
13908
13908
|
var M = this;
|
|
13909
|
-
M.NAME = n, M.ERAS = i, M.ERANAMES = a, M.NARROWMONTHS = s, M.STANDALONENARROWMONTHS = o, M.MONTHS = l, M.STANDALONEMONTHS = d, M.SHORTMONTHS = D, M.STANDALONESHORTMONTHS = f, M.WEEKDAYS = p, M.STANDALONEWEEKDAYS = y, M.SHORTWEEKDAYS = m, M.STANDALONESHORTWEEKDAYS = g, M.STANDALONENARROWWEEKDAYS =
|
|
13909
|
+
M.NAME = n, M.ERAS = i, M.ERANAMES = a, M.NARROWMONTHS = s, M.STANDALONENARROWMONTHS = o, M.MONTHS = l, M.STANDALONEMONTHS = d, M.SHORTMONTHS = D, M.STANDALONESHORTMONTHS = f, M.WEEKDAYS = p, M.STANDALONEWEEKDAYS = y, M.SHORTWEEKDAYS = m, M.STANDALONESHORTWEEKDAYS = g, M.STANDALONENARROWWEEKDAYS = S, M.SHORTQUARTERS = E, M.QUARTERS = C, M.AMPMS = F;
|
|
13910
13910
|
},
|
|
13911
13911
|
DateBuilder: function(n, i) {
|
|
13912
13912
|
var a = this;
|
|
@@ -14270,8 +14270,8 @@ var Ue = ke, ge = {};
|
|
|
14270
14270
|
this._name = n;
|
|
14271
14271
|
},
|
|
14272
14272
|
QueryResponseColumn: function(n, i, a, s, o, l, d, D, f, p, y, m, g) {
|
|
14273
|
-
var
|
|
14274
|
-
|
|
14273
|
+
var S = this;
|
|
14274
|
+
S.schema = n, S.label = i, S.dataType = a, S.fieldType = s, S.id = o, S.aggregationType = l, S.optionType = d, S.decimal = D, S.timeFormatter = f, S.formatter = p, S.nullable = y, S.hide = m, S.dateComparison = g;
|
|
14275
14275
|
},
|
|
14276
14276
|
DateTimeRange: function(n, i) {
|
|
14277
14277
|
this.start = n, this.end = i;
|
|
@@ -14343,7 +14343,7 @@ var Ue = ke, ge = {};
|
|
|
14343
14343
|
return o = $.JSNumber_methods.floor$0($.JSNumber_methods.$mod(a, 3600) / 60), l = $.JSNumber_methods.round$0($.JSNumber_methods.$mod(a, 60)), d = r.JSArray_int, D = r.MappedListIterable_int_String, s ? (f = $.JSNumber_methods.floor$0(a / 86400), p = new u.MappedListIterable(u._setArrayType([$.JSNumber_methods.floor$0($.JSNumber_methods.$mod(a, 86400) / 3600), o, l], d), new u.DataTypeExtension__formatTime_closure(), D).join$1(0, ":"), f > 0 ? (d = f > 1 ? "s" : "", y = "" + f + " day" + d + " ") : y = "", y + p) : new u.MappedListIterable(u._setArrayType([$.JSNumber_methods.floor$0(a / 3600), o, l], d), new u.DataTypeExtension__formatTime_closure0(), D).join$1(0, ":");
|
|
14344
14344
|
},
|
|
14345
14345
|
DataTypeExtension__toDisplay(e, n, i, a, s, o, l, d, D, f) {
|
|
14346
|
-
var p, y, m, g,
|
|
14346
|
+
var p, y, m, g, S;
|
|
14347
14347
|
switch (e) {
|
|
14348
14348
|
case $.DATA_TYPE_2:
|
|
14349
14349
|
if (f == null)
|
|
@@ -14354,22 +14354,22 @@ var Ue = ke, ge = {};
|
|
|
14354
14354
|
case $.DATA_TYPE_1:
|
|
14355
14355
|
if (y = f == null, y || _.$eq$(f, ""))
|
|
14356
14356
|
return "";
|
|
14357
|
-
switch (m = D ?? "Asia/Kuala_Lumpur", g = b.$get$_database()._locations, g.__js_helper$_length === 0 && u.throwExpression(u.LocationNotFoundException$("Tried to get location before initializing timezone database")),
|
|
14357
|
+
switch (m = D ?? "Asia/Kuala_Lumpur", g = b.$get$_database()._locations, g.__js_helper$_length === 0 && u.throwExpression(u.LocationNotFoundException$("Tried to get location before initializing timezone database")), S = g.$index(0, m), S == null && u.throwExpression(u.LocationNotFoundException$('Location with the name "' + m + `" doesn't exist`)), s) {
|
|
14358
14358
|
case $.DIMENSION_OPTION_0:
|
|
14359
|
-
return u.DateFormat$("dd/MM/yyyy HH:mm:ss").format$1(u.TZDateTime$from(u.DateTime_parse(_.toString$0$(f)),
|
|
14359
|
+
return u.DateFormat$("dd/MM/yyyy HH:mm:ss").format$1(u.TZDateTime$from(u.DateTime_parse(_.toString$0$(f)), S));
|
|
14360
14360
|
case $.DIMENSION_OPTION_6:
|
|
14361
14361
|
return _.toString$0$(f);
|
|
14362
14362
|
case $.DIMENSION_OPTION_1:
|
|
14363
|
-
return u.DateFormat$("dd/MM/yyyy HH:mm").format$1(u.TZDateTime$from(u.DateTime_parse(_.toString$0$(f)),
|
|
14363
|
+
return u.DateFormat$("dd/MM/yyyy HH:mm").format$1(u.TZDateTime$from(u.DateTime_parse(_.toString$0$(f)), S));
|
|
14364
14364
|
case $.DIMENSION_OPTION_2:
|
|
14365
14365
|
case $.DIMENSION_OPTION_3:
|
|
14366
|
-
return u.DateFormat$("dd/MM/yyyy").format$1(u.TZDateTime$from(u.DateTime_parse(_.toString$0$(f)),
|
|
14366
|
+
return u.DateFormat$("dd/MM/yyyy").format$1(u.TZDateTime$from(u.DateTime_parse(_.toString$0$(f)), S));
|
|
14367
14367
|
case $.DIMENSION_OPTION_4:
|
|
14368
|
-
return u.DateFormat$("MM/yyyy").format$1(u.TZDateTime$from(u.DateTime_parse(_.toString$0$(f)),
|
|
14368
|
+
return u.DateFormat$("MM/yyyy").format$1(u.TZDateTime$from(u.DateTime_parse(_.toString$0$(f)), S));
|
|
14369
14369
|
case $.DIMENSION_OPTION_7:
|
|
14370
14370
|
return y = r.String, y = u.LinkedHashMap_LinkedHashMap$_literal(["1", "Sun", "2", "Mon", "3", "Tue", "4", "Wed", "5", "Thu", "6", "Fri", "7", "Sat"], y, y).$index(0, f), y ?? f;
|
|
14371
14371
|
case $.DIMENSION_OPTION_11:
|
|
14372
|
-
return u.DateFormat$("yyyy/MM/dd").format$1(u.TZDateTime$from(u.DateTime_parse(_.toString$0$(f)),
|
|
14372
|
+
return u.DateFormat$("yyyy/MM/dd").format$1(u.TZDateTime$from(u.DateTime_parse(_.toString$0$(f)), S));
|
|
14373
14373
|
default:
|
|
14374
14374
|
return y = y ? null : _.toString$0$(f), y ?? "";
|
|
14375
14375
|
}
|
|
@@ -14517,8 +14517,8 @@ var Ue = ke, ge = {};
|
|
|
14517
14517
|
var m = this;
|
|
14518
14518
|
m.sparklineDimension = n, m.isCumulative = i, m.schemaNames = a, m.dimensions = s, m.metrics = o, m.filters = l, m.sorts = d, m.limit = D, m.isComparable = f, m.periodType = p, m.timezone = y;
|
|
14519
14519
|
},
|
|
14520
|
-
TableDatasourceConfigModel$(e, n, i, a, s, o, l, d, D, f, p, y, m, g,
|
|
14521
|
-
return new u.TableDatasourceConfigModel(n, d, F, m, g,
|
|
14520
|
+
TableDatasourceConfigModel$(e, n, i, a, s, o, l, d, D, f, p, y, m, g, S, E, C, F, M, x) {
|
|
14521
|
+
return new u.TableDatasourceConfigModel(n, d, F, m, g, E, o, a, S, e, D, C, i, p, s, M, f, l, y, x);
|
|
14522
14522
|
},
|
|
14523
14523
|
TableDatasourceConfigModel_TableDatasourceConfigModel$fromJson(e) {
|
|
14524
14524
|
var n, i, a, s, o, l, d, D, f, p = "showGrandTotal", y = u.BaseDatasourceConfigModel_BaseDatasourceConfigModel$fromJson(e), m = e.$index(0, "rollup");
|
|
@@ -14562,9 +14562,9 @@ var Ue = ke, ge = {};
|
|
|
14562
14562
|
DataSourceRowColumnConfig_columnIds_closure1: function(n) {
|
|
14563
14563
|
this.$this = n;
|
|
14564
14564
|
},
|
|
14565
|
-
TableDatasourceConfigModel: function(n, i, a, s, o, l, d, D, f, p, y, m, g,
|
|
14565
|
+
TableDatasourceConfigModel: function(n, i, a, s, o, l, d, D, f, p, y, m, g, S, E, C, F, M, x, R) {
|
|
14566
14566
|
var L = this;
|
|
14567
|
-
L.columnsWidth = n, L.isDrillable = i, L.showGrandTotal = a, L.rollup = s, L.rollupPosition = o, L.rowsPerPage = l, L.isBlend = d, L._drillDimension = D, L._rowIds = f, L._columnIds = p, L._joinDatasources = y, L.schemaNames = m, L.dimensions = g, L.metrics =
|
|
14567
|
+
L.columnsWidth = n, L.isDrillable = i, L.showGrandTotal = a, L.rollup = s, L.rollupPosition = o, L.rowsPerPage = l, L.isBlend = d, L._drillDimension = D, L._rowIds = f, L._columnIds = p, L._joinDatasources = y, L.schemaNames = m, L.dimensions = g, L.metrics = S, L.filters = E, L.sorts = C, L.limit = F, L.isComparable = M, L.periodType = x, L.timezone = R;
|
|
14568
14568
|
},
|
|
14569
14569
|
TableDatasourceConfigModel_drilledDimensions_closure: function(n) {
|
|
14570
14570
|
this.$this = n;
|
|
@@ -14590,8 +14590,8 @@ var Ue = ke, ge = {};
|
|
|
14590
14590
|
this.mainField = n;
|
|
14591
14591
|
},
|
|
14592
14592
|
JoinDatasourceConfig: function(n, i, a, s, o, l, d, D, f, p, y, m, g) {
|
|
14593
|
-
var
|
|
14594
|
-
|
|
14593
|
+
var S = this;
|
|
14594
|
+
S.conditions = n, S.mainDimensions = i, S._rowIds = a, S._columnIds = s, S.schemaNames = o, S.dimensions = l, S.metrics = d, S.filters = D, S.sorts = f, S.limit = p, S.isComparable = y, S.periodType = m, S.timezone = g;
|
|
14595
14595
|
},
|
|
14596
14596
|
JoinDatasourceConfig_JoinDatasourceConfig$fromJson_closure: function() {
|
|
14597
14597
|
},
|
|
@@ -14614,9 +14614,9 @@ var Ue = ke, ge = {};
|
|
|
14614
14614
|
var n, i, a, s, o = "breakdownDimension", l = u.BaseDatasourceConfigModel_BaseDatasourceConfigModel$fromJson(e), d = e.$index(0, o) != null ? u.QueryRequestDimension_fromJson(e.$index(0, o)) : null, D = e.$index(0, "isTransposed");
|
|
14615
14615
|
return D == null && (D = !1), n = e.$index(0, "showLabel"), n == null && (n = !1), i = e.$index(0, "drillDimension"), e.$index(0, "isBlend"), a = e.$index(0, "joinDatasources"), a == null && (a = []), a = u.List_List$from(a, r.Map_String_dynamic), s = u._arrayInstanceType(a)._eval$1("MappedListIterable<1,JoinDatasourceConfig>"), u.List_List$of(new u.MappedListIterable(a, new u.BaseXYDatasourceConfigModel_BaseXYDatasourceConfigModel$fromJson_closure(l), s), !0, s._eval$1("ListIterable.E")), new u.BaseXYDatasourceConfigModel(n, i, d, D, e.$index(0, "isCumulative"), l.schemaNames, l.dimensions, l.metrics, l.filters, l.sorts, l.limit, l.isComparable, l.periodType, l.timezone);
|
|
14616
14616
|
},
|
|
14617
|
-
BaseXYDatasourceConfigModel: function(n, i, a, s, o, l, d, D, f, p, y, m, g,
|
|
14618
|
-
var
|
|
14619
|
-
|
|
14617
|
+
BaseXYDatasourceConfigModel: function(n, i, a, s, o, l, d, D, f, p, y, m, g, S) {
|
|
14618
|
+
var E = this;
|
|
14619
|
+
E.showLabel = n, E._xy_datasource_config_model$_drillDimension = i, E.breakdownDimension = a, E.isTransposed = s, E.isCumulative = o, E.schemaNames = l, E.dimensions = d, E.metrics = D, E.filters = f, E.sorts = p, E.limit = y, E.isComparable = m, E.periodType = g, E.timezone = S;
|
|
14620
14620
|
},
|
|
14621
14621
|
BaseXYDatasourceConfigModel_BaseXYDatasourceConfigModel$fromJson_closure: function(n) {
|
|
14622
14622
|
this.baseConfig = n;
|
|
@@ -14648,28 +14648,28 @@ var Ue = ke, ge = {};
|
|
|
14648
14648
|
return e instanceof u.BaseXYDatasourceConfigModel && e.isCumulative === !0 ? i = !0 : i = e instanceof u.ScorecardDatasourceConfigModel && e.isCumulative, i ? (i = r.XYDatasetModel, u.List_List$of(u.ListExtensions_mapIndexed(n, new u.accumulate_closure(e), i, i), !0, i)) : n;
|
|
14649
14649
|
},
|
|
14650
14650
|
formatBaseXYChartData(e, n, i, a, s) {
|
|
14651
|
-
var o, l, d, D, f, p, y, m, g,
|
|
14651
|
+
var o, l, d, D, f, p, y, m, g, S, E, C, F, M, x, R, L, w, v, k, j, f0, h0, o0, S0, b0, M0, R0, T0, I0, x0, F0, J0 = null;
|
|
14652
14652
|
if (i.length === 0)
|
|
14653
14653
|
return o = u._setArrayType([], r.JSArray_String), l = u._setArrayType([], r.JSArray_XYDatasetModel), d = u.IterableExtension_get_firstOrNull(i), new u.BaseXYChartDataModel(e, o, l, new u.DateComparison(d == null ? J0 : d.dateRange, J0));
|
|
14654
|
-
for (D = $.JSArray_methods.get$first(i).columns, o = u._arrayInstanceType(D), l = o._eval$1("WhereIterable<1>"), f = u.List_List$of(new u.WhereIterable(D, new u.formatBaseXYChartData_closure(), l), !0, l._eval$1("Iterable.E")), l = u._arrayInstanceType(f)._eval$1("WhereIterable<1>"), p = u.List_List$of(new u.WhereIterable(f, new u.formatBaseXYChartData_closure0(), l), !0, l._eval$1("Iterable.E")), l = r.QueryResponse, y = u._formatRows(u.ListExtension_sublistOrEmpty(i, 0, 1, l), s), m = u._formatRows(u.ListExtension_sublistOrEmpty(i, 1, 2, l), s), m.length !== 0 && (o = o._eval$1("MappedListIterable<1,ComparisonDataColumn>"), g = u.List_List$of(new u.MappedListIterable(D, new u.formatBaseXYChartData_closure1(), o), !0, o._eval$1("ListIterable.E")),
|
|
14655
|
-
F = p[
|
|
14656
|
-
for (d = u.LinkedHashMap_LinkedHashMap$_empty(o, o),
|
|
14657
|
-
F = p[
|
|
14654
|
+
for (D = $.JSArray_methods.get$first(i).columns, o = u._arrayInstanceType(D), l = o._eval$1("WhereIterable<1>"), f = u.List_List$of(new u.WhereIterable(D, new u.formatBaseXYChartData_closure(), l), !0, l._eval$1("Iterable.E")), l = u._arrayInstanceType(f)._eval$1("WhereIterable<1>"), p = u.List_List$of(new u.WhereIterable(f, new u.formatBaseXYChartData_closure0(), l), !0, l._eval$1("Iterable.E")), l = r.QueryResponse, y = u._formatRows(u.ListExtension_sublistOrEmpty(i, 0, 1, l), s), m = u._formatRows(u.ListExtension_sublistOrEmpty(i, 1, 2, l), s), m.length !== 0 && (o = o._eval$1("MappedListIterable<1,ComparisonDataColumn>"), g = u.List_List$of(new u.MappedListIterable(D, new u.formatBaseXYChartData_closure1(), o), !0, o._eval$1("ListIterable.E")), S = u.compare(new u.ComparisonData(g, m), new u.ComparisonData(g, y)), m = S.comparison, y = S.main), o = r.String, l = u.LinkedHashMap_LinkedHashMap$_empty(o, r.bool), d = p.length, E = 0; C = p.length, E < C; p.length === d || (0, u.throwConcurrentModificationError)(p), ++E)
|
|
14655
|
+
F = p[E], l.$indexSet(0, F.id, F.nullable);
|
|
14656
|
+
for (d = u.LinkedHashMap_LinkedHashMap$_empty(o, o), E = 0; E < p.length; p.length === C || (0, u.throwConcurrentModificationError)(p), ++E)
|
|
14657
|
+
F = p[E], d.$indexSet(0, F.id, F.label);
|
|
14658
14658
|
if (M = u.LinkedHashMap_LinkedHashMap$_empty(o, o), x = u.LinkedHashMap_LinkedHashMap$_empty(o, o), n.breakdownDimension == null) {
|
|
14659
14659
|
for (C = u.LinkedHashMap_LinkedHashMap$_empty(o, r.int), R = 0; R < D.length; ++R)
|
|
14660
14660
|
C.$indexSet(0, D[R].id, R);
|
|
14661
|
-
for (M.addAll$1(0, d), L = p.length,
|
|
14662
|
-
w = p[
|
|
14661
|
+
for (M.addAll$1(0, d), L = p.length, E = 0; E < p.length; p.length === L || (0, u.throwConcurrentModificationError)(p), ++E)
|
|
14662
|
+
w = p[E].id, x.$indexSet(0, w, w);
|
|
14663
14663
|
L = u._arrayInstanceType(y)._eval$1("ExpandIterable<1,List<@>>"), y = u.List_List$of(new u.ExpandIterable(y, new u.formatBaseXYChartData_closure2(p, C), L), !0, L._eval$1("Iterable.E")), m.length !== 0 && (L = u._arrayInstanceType(m)._eval$1("ExpandIterable<1,List<@>>"), m = u.List_List$of(new u.ExpandIterable(m, new u.formatBaseXYChartData_closure3(p, C), L), !0, L._eval$1("Iterable.E")));
|
|
14664
14664
|
} else if (f.length > 1) {
|
|
14665
14665
|
for (C = u.LinkedHashMap_LinkedHashMap$_empty(o, r.int), R = 0; R < D.length; ++R)
|
|
14666
14666
|
C.$indexSet(0, D[R].id, R);
|
|
14667
14667
|
C = new u.formatBaseXYChartData_expandRowsByMetric($.JSArray_methods.indexWhere$1(D, new u.formatBaseXYChartData_closure4(n)), p, C, d, M, x), y = C.call$1(y), m.length !== 0 && (m = C.call$1(m));
|
|
14668
14668
|
}
|
|
14669
|
-
for (C = r.JSArray_String, v = u._setArrayType([], C), k = u._setArrayType([], C), C = y.length,
|
|
14670
|
-
j = y[
|
|
14671
|
-
for (C = u.LinkedHashSet_LinkedHashSet$from(v, o), v = u.List_List$of(C, !0, u._instanceType(C)._precomputed1), o = u.LinkedHashSet_LinkedHashSet$from(k, o), f0 = u.List_List$of(o, !0, u._instanceType(o)._precomputed1), h0 = u._setArrayType([], r.JSArray_XYDatasetModel), o = f0.length, C = _.getInterceptor$asx(m), L = r.JSArray_nullable_num,
|
|
14672
|
-
for (o0 = f0[
|
|
14669
|
+
for (C = r.JSArray_String, v = u._setArrayType([], C), k = u._setArrayType([], C), C = y.length, E = 0; E < y.length; y.length === C || (0, u.throwConcurrentModificationError)(y), ++E)
|
|
14670
|
+
j = y[E], L = _.getInterceptor$asx(j), v.push(_.toString$0$(L.$index(j, 0))), k.push(_.toString$0$(L.$index(j, 1)));
|
|
14671
|
+
for (C = u.LinkedHashSet_LinkedHashSet$from(v, o), v = u.List_List$of(C, !0, u._instanceType(C)._precomputed1), o = u.LinkedHashSet_LinkedHashSet$from(k, o), f0 = u.List_List$of(o, !0, u._instanceType(o)._precomputed1), h0 = u._setArrayType([], r.JSArray_XYDatasetModel), o = f0.length, C = _.getInterceptor$asx(m), L = r.JSArray_nullable_num, E = 0; E < f0.length; f0.length === o || (0, u.throwConcurrentModificationError)(f0), ++E) {
|
|
14672
|
+
for (o0 = f0[E], S0 = u._setArrayType([], L), b0 = u._setArrayType([], L), M0 = x.$index(0, o0), w = l.$index(0, M0 ?? o0), R0 = w === !0, w = M.$index(0, o0), T0 = w ?? d.$index(0, o0), T0 == null && (T0 = o0), w = v.length, I0 = 0; I0 < v.length; v.length === w || (0, u.throwConcurrentModificationError)(v), ++I0)
|
|
14673
14673
|
x0 = v[I0], F0 = u.IterableExtension_firstWhereOrNull(y, new u.formatBaseXYChartData_closure5(x0, o0)), S0.push(u._parseMetricValue(F0 == null ? J0 : u.ListExtension_elementAtOrNull(F0, 2), R0)), C.get$length(m) !== 0 && (F0 = u.IterableExtension_firstWhereOrNull(m, new u.formatBaseXYChartData_closure6(x0, o0)), b0.push(u._parseMetricValue(F0 == null ? J0 : u.ListExtension_elementAtOrNull(F0, 2), R0)));
|
|
14674
14674
|
h0.push(new u.XYDatasetModel(T0, !1, S0)), b0.length !== 0 && h0.push(new u.XYDatasetModel(T0, !0, b0));
|
|
14675
14675
|
}
|
|
@@ -14740,14 +14740,14 @@ var Ue = ke, ge = {};
|
|
|
14740
14740
|
return n.length === 0 ? u._setArrayType([], r.JSArray_List_dynamic) : (a = $.JSArray_methods.get$first(n), s = a.rows, o = u._arrayInstanceType(s)._eval$1("MappedListIterable<1,List<@>>"), u.List_List$of(new u.MappedListIterable(s, new u._formatRows_closure0(a, i), o), !0, o._eval$1("ListIterable.E")));
|
|
14741
14741
|
},
|
|
14742
14742
|
formatCircularChartData(e, n, i, a) {
|
|
14743
|
-
var s, o, l, d, D, f, p, y, m, g,
|
|
14743
|
+
var s, o, l, d, D, f, p, y, m, g, S, E, C, F, M = null;
|
|
14744
14744
|
if (n.length === 0)
|
|
14745
14745
|
return s = u._setArrayType([], r.JSArray_String), new u.CircularDataModel(u._setArrayType([], r.JSArray_CircularDatasetModel), s, new u.DateComparison(M, M));
|
|
14746
14746
|
for (s = r.QueryResponse, o = u._formatRows0(e, u.ListExtension_sublistOrEmpty(n, 0, 1, s), a), l = u._formatRows0(e, u.ListExtension_sublistOrEmpty(n, 1, 2, s), a), d = $.JSArray_methods.get$first(n).columns, l.length !== 0 && (s = u._arrayInstanceType(d)._eval$1("MappedListIterable<1,ComparisonDataColumn>"), D = u.List_List$of(new u.MappedListIterable(d, new u.formatCircularChartData_closure(), s), !0, s._eval$1("ListIterable.E")), f = u.compare(new u.ComparisonData(D, l), new u.ComparisonData(D, o)), l = f.comparison, o = f.main), s = r.JSArray_String, p = u._setArrayType([], s), y = o.length, m = 0; m < o.length; o.length === y || (0, u.throwConcurrentModificationError)(o), ++m)
|
|
14747
14747
|
p.push(_.toString$0$(_.$index$asx(o[m], 0)));
|
|
14748
14748
|
for (y = u.LinkedHashSet_LinkedHashSet$from(p, r.String), p = u.List_List$of(y, !0, u._instanceType(y)._precomputed1), g = u._setArrayType([], r.JSArray_CircularDatasetModel), y = p.length, m = 0; m < y; ++m)
|
|
14749
|
-
|
|
14750
|
-
return s = u.IterableExtension_foldIndexed(d, u._setArrayType([], s), new u.formatCircularChartData_closure2()), y = u.IterableExtension_get_firstOrNull(n), y = y == null ? M : y.dateRange,
|
|
14749
|
+
S = p[m], E = u.IterableExtension_firstWhereOrNull(o, new u.formatCircularChartData_closure0(S)), C = E == null ? M : u.ListExtension_elementAtOrNull(E, 1), C == null && (C = 0), l.length !== 0 ? (E = u.IterableExtension_firstWhereOrNull(l, new u.formatCircularChartData_closure1(S)), F = E == null ? M : u.ListExtension_elementAtOrNull(E, 1), F == null && (F = 0)) : F = M, g.push(new u.CircularDatasetModel(S, u.num_parse(C), F));
|
|
14750
|
+
return s = u.IterableExtension_foldIndexed(d, u._setArrayType([], s), new u.formatCircularChartData_closure2()), y = u.IterableExtension_get_firstOrNull(n), y = y == null ? M : y.dateRange, E = u.ListExtension_elementAtOrNull(n, 1), new u.CircularDataModel(g, s, new u.DateComparison(y, E == null ? M : E.dateRange));
|
|
14751
14751
|
},
|
|
14752
14752
|
_formatRows_closure0: function(n, i) {
|
|
14753
14753
|
this.response = n, this.timezone = i;
|
|
@@ -14776,14 +14776,14 @@ var Ue = ke, ge = {};
|
|
|
14776
14776
|
return new u.RowInfo(o, _.map$1$1$ax(i, new u._getRowInfo_closure(e, n, a, o), s).join$0(0));
|
|
14777
14777
|
},
|
|
14778
14778
|
compare(e, n) {
|
|
14779
|
-
var i, a, s, o, l, d, D, f, p, y, m, g,
|
|
14779
|
+
var i, a, s, o, l, d, D, f, p, y, m, g, S, E, C, F, M, x, R, L, w = {};
|
|
14780
14780
|
for (w.comparisonDateIndex = w.mainDateIndex = null, i = w.comparisonIndexesCompleted = w.mainIndexesCompleted = !1, a = n.columns, s = r.JSArray_int, o = u.IterableExtension_foldIndexed(a, u._setArrayType([], s), new u.compare_closure(w)), l = u.IterableExtension_foldIndexed(e.columns, u._setArrayType([], s), new u.compare_closure0(w)), s = r.JSArray_String, w.dates = u._setArrayType([], s), (w.mainDateIndex != null ? w.comparisonDateIndex != null : i) && (i = r.String, i = u.ListExtensions_mapIndexed($.JSArray_methods.fold$2(n.rows, u._setArrayType([], s), new u.compare_closure1(w)), new u.compare_closure2($.JSArray_methods.fold$2(e.rows, u._setArrayType([], s), new u.compare_closure3(w))), i, i), w.dates = u.List_List$of(i, !0, i.$ti._eval$1("Iterable.E"))), d = $.JSArray_methods.fold$2(e.rows, u.LinkedHashMap_LinkedHashMap$_empty(r.String, r.List_dynamic), new u.compare_closure4(w, e, l)), i = r.JSArray_List_dynamic, s = u._setArrayType([], i), i = u._setArrayType([], i), D = n.rows, f = D.length, p = r.JSArray_dynamic, y = _.getInterceptor$asx(o), m = r.dynamic, g = 0; g < D.length; D.length === f || (0, u.throwConcurrentModificationError)(D), ++g) {
|
|
14781
|
-
if (
|
|
14782
|
-
for (C =
|
|
14781
|
+
if (S = D[g], E = u._getRowInfo(a, w.dates, o, S), C = d.$index(0, E.id), F = C == null ? null : _.toList$0$ax(C), F == null) {
|
|
14782
|
+
for (C = E.row, M = u.List_List$of(u.ListExtensions_slice(C, 0, y.get$length(o), m), !0, m), x = C.length - y.get$length(o), x < 0 && u.throwExpression(u.ArgumentError$("Length must be a non-negative integer: " + x)), R = u._setArrayType(new Array(x), p), L = 0; L < x; ++L)
|
|
14783
14783
|
R[L] = null;
|
|
14784
14784
|
$.JSArray_methods.addAll$1(M, R), F = M;
|
|
14785
14785
|
}
|
|
14786
|
-
s.push(
|
|
14786
|
+
s.push(E.row), i.push(F);
|
|
14787
14787
|
}
|
|
14788
14788
|
return new u.ComparisonResult(s, i);
|
|
14789
14789
|
},
|
|
@@ -14825,21 +14825,21 @@ var Ue = ke, ge = {};
|
|
|
14825
14825
|
this._box_0 = n, this.comparison = i, this.comparisonIndexes = a;
|
|
14826
14826
|
},
|
|
14827
14827
|
_formatSparkline(e, n, i, a) {
|
|
14828
|
-
var s, o, l, d, D, f, p, y, m, g,
|
|
14828
|
+
var s, o, l, d, D, f, p, y, m, g, S, E, C;
|
|
14829
14829
|
if (n == null)
|
|
14830
14830
|
return null;
|
|
14831
14831
|
for (s = n.rows, o = u._arrayInstanceType(s)._eval$1("MappedListIterable<1,List<@>>"), l = u.List_List$of(new u.MappedListIterable(s, new u._formatSparkline_closure(n, i, a), o), !0, o._eval$1("ListIterable.E")), o = u._arrayInstanceType(l)._eval$1("MappedListIterable<1,List<@>>"), l = u.List_List$of(new u.MappedListIterable(l, new u._formatSparkline_closure0(n, $.JSArray_methods.indexWhere$1(n.columns, new u._formatSparkline_closure1())), o), !0, o._eval$1("ListIterable.E")), o = r.JSArray_String, d = u._setArrayType([], o), D = u._setArrayType([], o), s = l.length, f = 0; f < l.length; l.length === s || (0, u.throwConcurrentModificationError)(l), ++f)
|
|
14832
14832
|
p = l[f], o = _.getInterceptor$asx(p), d.push(_.toString$0$(o.$index(p, 0))), D.push(_.toString$0$(o.$index(p, 1)));
|
|
14833
14833
|
for (s = r.String, o = u.LinkedHashSet_LinkedHashSet$from(d, s), d = u.List_List$of(o, !0, u._instanceType(o)._precomputed1), s = u.LinkedHashSet_LinkedHashSet$from(D, s), D = u.List_List$of(s, !0, u._instanceType(s)._precomputed1), y = u._setArrayType([], r.JSArray_XYDatasetModel), s = D.length, o = r.JSArray_num, f = 0; f < D.length; D.length === s || (0, u.throwConcurrentModificationError)(D), ++f) {
|
|
14834
|
-
for (m = D[f], g = u._setArrayType([], o),
|
|
14835
|
-
C = u.IterableExtension_firstWhereOrNull(l, new u._formatSparkline_closure2(d[
|
|
14834
|
+
for (m = D[f], g = u._setArrayType([], o), S = d.length, E = 0; E < d.length; d.length === S || (0, u.throwConcurrentModificationError)(d), ++E)
|
|
14835
|
+
C = u.IterableExtension_firstWhereOrNull(l, new u._formatSparkline_closure2(d[E], m)), C = C == null ? null : u.ListExtension_elementAtOrNull(C, 2), g.push(C ?? 0);
|
|
14836
14836
|
y.push(new u.XYDatasetModel(m, !1, g));
|
|
14837
14837
|
}
|
|
14838
14838
|
return new u.SparklineDataModel($.SparklineType_0, d, u.accumulate(e, y));
|
|
14839
14839
|
},
|
|
14840
14840
|
formatScoreCardChartData(e, n, i, a) {
|
|
14841
|
-
var s, o, l, d, D, f, p, y, m, g,
|
|
14842
|
-
return n.length === 0 ? new u.ScorecardDataModel(M, M, M, M) : (s = $.JSArray_methods.get$first(n).columns, s = new u.WhereIterable(s, new u.formatScoreCardChartData_closure(), u._arrayInstanceType(s)._eval$1("WhereIterable<1>")), o = s.get$first(s), s = r.QueryResponse, l = u.IterableExtension_get_firstOrNull(u.ListExtension_sublistOrEmpty(n, 0, 1, s)), d = l == null ? M : u.IterableExtension_get_firstOrNull(l.rows), D = e.sparklineDimension != null, f = D ? u.IterableExtension_get_firstOrNull(u.ListExtension_sublistOrEmpty(n, 1, 2, s)) : M, p = D ? 2 : 1, s = u.IterableExtension_get_firstOrNull(u.ListExtension_sublistOrEmpty(n, p, p + 1, s)), y = s == null ? M : u.IterableExtension_get_firstOrNull(s.rows), s = o.dataType, l = d == null ? M : d.value.$index(0, o.id), m = o.optionType, g = o.aggregationType,
|
|
14841
|
+
var s, o, l, d, D, f, p, y, m, g, S, E, C, F, M = null;
|
|
14842
|
+
return n.length === 0 ? new u.ScorecardDataModel(M, M, M, M) : (s = $.JSArray_methods.get$first(n).columns, s = new u.WhereIterable(s, new u.formatScoreCardChartData_closure(), u._arrayInstanceType(s)._eval$1("WhereIterable<1>")), o = s.get$first(s), s = r.QueryResponse, l = u.IterableExtension_get_firstOrNull(u.ListExtension_sublistOrEmpty(n, 0, 1, s)), d = l == null ? M : u.IterableExtension_get_firstOrNull(l.rows), D = e.sparklineDimension != null, f = D ? u.IterableExtension_get_firstOrNull(u.ListExtension_sublistOrEmpty(n, 1, 2, s)) : M, p = D ? 2 : 1, s = u.IterableExtension_get_firstOrNull(u.ListExtension_sublistOrEmpty(n, p, p + 1, s)), y = s == null ? M : u.IterableExtension_get_firstOrNull(s.rows), s = o.dataType, l = d == null ? M : d.value.$index(0, o.id), m = o.optionType, g = o.aggregationType, S = o.decimal, E = o.timeFormatter, C = o.formatter, l = u.DataTypeExtension_toDisplay(s, g, i, S, m, C, !1, E, a, l), F = y == null, (F ? M : y.value.$index(0, o.id)) != null ? s = u.DataTypeExtension_toDisplay(s, g, i, S, m, C, !1, E, a, F ? M : y.value.$index(0, o.id)) : s = M, new u.ScorecardDataModel(M, l, s, u._formatSparkline(e, f, i, a)));
|
|
14843
14843
|
},
|
|
14844
14844
|
_formatSparkline_closure: function(n, i, a) {
|
|
14845
14845
|
this.response = n, this.country = i, this.timezone = a;
|
|
@@ -14862,33 +14862,33 @@ var Ue = ke, ge = {};
|
|
|
14862
14862
|
formatScoreCardChartData_closure: function() {
|
|
14863
14863
|
},
|
|
14864
14864
|
_formatTableResponse(e, n, i, a) {
|
|
14865
|
-
var s, o, l, d, D, f, p, y, m, g,
|
|
14865
|
+
var s, o, l, d, D, f, p, y, m, g, S, E = null, C = i.columns, F = u._arrayInstanceType(C), M = F._eval$1("WhereIterable<1>"), x = r.String;
|
|
14866
14866
|
for (F = u.List_List$of(new u.MappedIterable(new u.WhereIterable(C, new u._formatTableResponse_closure(e), M), new u._formatTableResponse_closure0(), F._eval$1("MappedIterable<1,String>")), !0, x), s = e.get$rowIds(), o = r.List__Header_dynamic, s = u.List_List$of(new u.MappedListIterable(s, new u._formatTableResponse_closure1(i), u._arrayInstanceType(s)._eval$1("MappedListIterable<1,List<_Header<@>>>")), !0, o), l = r.JSArray_List__Header_dynamic, $.JSArray_methods.addAll$1(s, $.JSArray_methods.fold$2(F, u._setArrayType([], l), new u._formatTableResponse_closure2(i))), d = u.List_List$of(new u.WhereIterable(C, new u._formatTableResponse_closure3(), M), !0, M._eval$1("Iterable.E")), M = u.LinkedHashMap_LinkedHashMap$_empty(x, r.QueryResponseColumn), C = d.length, D = 0; D < d.length; d.length === C || (0, u.throwConcurrentModificationError)(d), ++D)
|
|
14867
14867
|
f = d[D], M.$indexSet(0, f.id, f);
|
|
14868
14868
|
for (C = u.List_List$of(u.ListExtensions_mapIndexed(e.get$columnIds(), new u._formatTableResponse_closure4(e, M, i), x, o), !0, o), C.length !== 0 ? (p = u._setArrayType([], l), u._getRecursivePermutations(C, p, 0, u._setArrayType([], r.JSArray__Header_dynamic), r._Header_dynamic), y = p) : y = [], C = u.List_List$of(s, !0, o), F = y.length, D = 0; D < y.length; y.length === F || (0, u.throwConcurrentModificationError)(y), ++D)
|
|
14869
14869
|
C.push(y[D]);
|
|
14870
|
-
for (e.get$columnIds().length === 0 && $.JSArray_methods.contains$1(e.get$rowIds(), "_metric_name") && C.push(u._setArrayType([new u._Header("_metric_value", "Value",
|
|
14871
|
-
s = M.get$current(), g = u._asString(s.$index(0, "id")),
|
|
14870
|
+
for (e.get$columnIds().length === 0 && $.JSArray_methods.contains$1(e.get$rowIds(), "_metric_name") && C.push(u._setArrayType([new u._Header("_metric_value", "Value", E, E, $.DATA_TYPE_3, E, E, !1, E, E, E, !1)], r.JSArray__Header_dynamic)), C.push(u._setArrayType([new u._Header("_is_rollup", "Rollup", E, E, $.DATA_TYPE_2, E, E, !0, E, E, E, !1)], r.JSArray__Header_dynamic)), F = r.Map_String_dynamic, m = u.LinkedHashMap_LinkedHashMap$_empty(x, F), M = _.get$iterator$ax($.JSArray_methods.fold$2(i.rows, u._setArrayType([], r.JSArray_Map_String_dynamic), new u._formatTableResponse_closure5(C, d))), x = r.dynamic; M.moveNext$0(); )
|
|
14871
|
+
s = M.get$current(), g = u._asString(s.$index(0, "id")), S = m.$index(0, g), S == null ? m.$indexSet(0, g, s) : (s = u.ListExtensions_mapIndexed(u.List_List$from(S.$index(0, "value"), x), new u._formatTableResponse_closure6(C, s), x, x), S.$indexSet(0, "value", u.List_List$of(s, !0, s.$ti._eval$1("Iterable.E"))));
|
|
14872
14872
|
return M = m.get$values(m), F = u.ListExtensions_mapIndexed(u.List_List$of(M, !0, u._instanceType(M)._eval$1("Iterable.E")), new u._formatTableResponse_closure7(), F, r.TableRowModel), M = u._arrayInstanceType(C)._eval$1("MappedListIterable<1,TableColumnModel>"), new u.TableDataModel(u.List_List$of(F, !0, F.$ti._eval$1("Iterable.E")), u.List_List$of(new u.MappedListIterable(C, new u._formatTableResponse_closure8(n, a), M), !0, M._eval$1("ListIterable.E")));
|
|
14873
14873
|
},
|
|
14874
14874
|
_formatTableData(e, n, i, a) {
|
|
14875
|
-
var s, o, l, d, D, f, p, y, m, g,
|
|
14875
|
+
var s, o, l, d, D, f, p, y, m, g, S = {};
|
|
14876
14876
|
if (n.length === 0)
|
|
14877
14877
|
return new u.TableDataModel(u._setArrayType([], r.JSArray_TableRowModel), u._setArrayType([], r.JSArray_TableColumnModel));
|
|
14878
|
-
for (
|
|
14879
|
-
d = e.get$joinDatasources()[l].conditions, D = o[l], f = u._arrayInstanceType(d), p = f._eval$1("MappedListIterable<1,int>"), y = u.List_List$of(new u.MappedListIterable(d, new u._formatTableData_closure0(D), p), !0, p._eval$1("ListIterable.E")), f = f._eval$1("MappedListIterable<1,List<int>>"), m = u.List_List$of(new u.MappedListIterable(d, new u._formatTableData_closure1(
|
|
14880
|
-
return s =
|
|
14878
|
+
for (S.mainResponse = u._formatTableResponse(e, i, $.JSArray_methods.get$first(n), a), s = u.ListExtensions_mapIndexed($.JSArray_methods.sublist$1(n, 1), new u._formatTableData_closure(e, i, a), r.QueryResponse, r.TableDataModel), o = u.List_List$of(s, !0, s.$ti._eval$1("Iterable.E")), s = r.TableColumnModel, l = 0; l < e.get$joinDatasources().length; ++l)
|
|
14879
|
+
d = e.get$joinDatasources()[l].conditions, D = o[l], f = u._arrayInstanceType(d), p = f._eval$1("MappedListIterable<1,int>"), y = u.List_List$of(new u.MappedListIterable(d, new u._formatTableData_closure0(D), p), !0, p._eval$1("ListIterable.E")), f = f._eval$1("MappedListIterable<1,List<int>>"), m = u.List_List$of(new u.MappedListIterable(d, new u._formatTableData_closure1(S), f), !0, f._eval$1("ListIterable.E")), f = u.List_List$of(S.mainResponse.columns, !0, s), $.JSArray_methods.addAll$1(f, D.columns), p = S.mainResponse.rows, g = u._arrayInstanceType(p)._eval$1("MappedListIterable<1,TableRowModel>"), g = u.List_List$of(new u.MappedListIterable(p, new u._formatTableData_closure2(D, d, y, m), g), !0, g._eval$1("ListIterable.E")), S.mainResponse = new u.TableDataModel(g, f);
|
|
14880
|
+
return s = S.mainResponse, f = s.rows, p = u._arrayInstanceType(f)._eval$1("MappedListIterable<1,TableRowModel>"), s.copyWith$1$rows(u.List_List$of(new u.MappedListIterable(f, new u._formatTableData_closure3(), p), !0, p._eval$1("ListIterable.E")));
|
|
14881
14881
|
},
|
|
14882
14882
|
formatTableChartData(e, n, i, a) {
|
|
14883
|
-
var s, o, l, d, D, f, p, y, m, g,
|
|
14883
|
+
var s, o, l, d, D, f, p, y, m, g, S, E, C, F, M, x, R, L, w, v, k = {};
|
|
14884
14884
|
if (n.length === 0)
|
|
14885
14885
|
return new u.TableDataModel(u._setArrayType([], r.JSArray_TableRowModel), u._setArrayType([], r.JSArray_TableColumnModel));
|
|
14886
|
-
for (e.isBlend && (s = u.List_List$of(e.get$dimensions(), !0, r.QueryRequestDimension), $.JSArray_methods.addAll$1(s, $.JSArray_methods.fold$2(e.get$joinDatasources(), u._setArrayType([], r.JSArray_QueryRequestDimension), new u.formatTableChartData_closure())), o = u.List_List$of(e.get$metrics(), !0, r.QueryRequestMetric), $.JSArray_methods.addAll$1(o, $.JSArray_methods.fold$2(e.get$joinDatasources(), u._setArrayType([], r.JSArray_QueryRequestMetric), new u.formatTableChartData_closure0())), l = u._setArrayType([], r.JSArray_JoinDatasourceConfig), d = e.rowsPerPage, D = e.get$columnIds(), f = e.get$rowIds(), p = e.get$drillDimension(), e = u.TableDatasourceConfigModel$(D, e.columnsWidth, s, p, e.filters, !0, e.isComparable, e.isDrillable, l, e.limit, o, e.periodType, e.rollup, e.rollupPosition, f, d, e.schemaNames, e.showGrandTotal, e.sorts, e.timezone)), y = e.get$joinDatasources().length + 1, s = r.QueryResponse, m = u._formatTableData(e, u.ListExtension_sublistOrEmpty(n, 0, y, s), i, a), g = k.comparison = u._formatTableData(e, u.ListExtension_sublistOrEmpty(n, y, y * 2, s), i, a), s = g.rows, s.length !== 0 && (o = m.rows, l = u._arrayInstanceType(o)._eval$1("MappedListIterable<1,List<@>>"), l = u.List_List$of(new u.MappedListIterable(o, new u.formatTableChartData_closure1(), l), !0, l._eval$1("ListIterable.E")), d = m.columns, D = u._arrayInstanceType(d)._eval$1("MappedListIterable<1,ComparisonDataColumn>"), D = u.List_List$of(new u.MappedListIterable(d, new u.formatTableChartData_closure2(), D), !0, D._eval$1("ListIterable.E")), d = u._arrayInstanceType(s)._eval$1("MappedListIterable<1,List<@>>"), d = u.List_List$of(new u.MappedListIterable(s, new u.formatTableChartData_closure3(), d), !0, d._eval$1("ListIterable.E")), f = g.columns, p = u._arrayInstanceType(f)._eval$1("MappedListIterable<1,ComparisonDataColumn>"),
|
|
14886
|
+
for (e.isBlend && (s = u.List_List$of(e.get$dimensions(), !0, r.QueryRequestDimension), $.JSArray_methods.addAll$1(s, $.JSArray_methods.fold$2(e.get$joinDatasources(), u._setArrayType([], r.JSArray_QueryRequestDimension), new u.formatTableChartData_closure())), o = u.List_List$of(e.get$metrics(), !0, r.QueryRequestMetric), $.JSArray_methods.addAll$1(o, $.JSArray_methods.fold$2(e.get$joinDatasources(), u._setArrayType([], r.JSArray_QueryRequestMetric), new u.formatTableChartData_closure0())), l = u._setArrayType([], r.JSArray_JoinDatasourceConfig), d = e.rowsPerPage, D = e.get$columnIds(), f = e.get$rowIds(), p = e.get$drillDimension(), e = u.TableDatasourceConfigModel$(D, e.columnsWidth, s, p, e.filters, !0, e.isComparable, e.isDrillable, l, e.limit, o, e.periodType, e.rollup, e.rollupPosition, f, d, e.schemaNames, e.showGrandTotal, e.sorts, e.timezone)), y = e.get$joinDatasources().length + 1, s = r.QueryResponse, m = u._formatTableData(e, u.ListExtension_sublistOrEmpty(n, 0, y, s), i, a), g = k.comparison = u._formatTableData(e, u.ListExtension_sublistOrEmpty(n, y, y * 2, s), i, a), s = g.rows, s.length !== 0 && (o = m.rows, l = u._arrayInstanceType(o)._eval$1("MappedListIterable<1,List<@>>"), l = u.List_List$of(new u.MappedListIterable(o, new u.formatTableChartData_closure1(), l), !0, l._eval$1("ListIterable.E")), d = m.columns, D = u._arrayInstanceType(d)._eval$1("MappedListIterable<1,ComparisonDataColumn>"), D = u.List_List$of(new u.MappedListIterable(d, new u.formatTableChartData_closure2(), D), !0, D._eval$1("ListIterable.E")), d = u._arrayInstanceType(s)._eval$1("MappedListIterable<1,List<@>>"), d = u.List_List$of(new u.MappedListIterable(s, new u.formatTableChartData_closure3(), d), !0, d._eval$1("ListIterable.E")), f = g.columns, p = u._arrayInstanceType(f)._eval$1("MappedListIterable<1,ComparisonDataColumn>"), S = u.compare(new u.ComparisonData(u.List_List$of(new u.MappedListIterable(f, new u.formatTableChartData_closure4(), p), !0, p._eval$1("ListIterable.E")), d), new u.ComparisonData(D, l)), l = r.TableRowModel, o = u.ListExtensions_mapIndexed(o, new u.formatTableChartData_closure5(S), l, l), m = m.copyWith$1$rows(u.List_List$of(o, !0, o.$ti._eval$1("Iterable.E"))), l = u.ListExtensions_mapIndexed(s, new u.formatTableChartData_closure6(S), l, l), k.comparison = g.copyWith$1$rows(u.List_List$of(l, !0, l.$ti._eval$1("Iterable.E")))), s = m.columns, o = u._arrayInstanceType(s)._eval$1("WhereIterable<1>"), E = u.List_List$of(new u.WhereIterable(s, new u.formatTableChartData_closure7(), o), !0, o._eval$1("Iterable.E")), o = r.String, l = r.int, C = u.LinkedHashMap_LinkedHashMap$_empty(o, l), F = 0; F < s.length; ++F)
|
|
14887
14887
|
M = s[F], C.$indexSet(0, M.key + "_" + M.hide, F);
|
|
14888
14888
|
for (x = u.LinkedHashMap_LinkedHashMap$_empty(o, l), F = 0; s = k.comparison.columns, F < s.length; ++F)
|
|
14889
14889
|
M = s[F], x.$indexSet(0, M.key + "_" + M.hide, F);
|
|
14890
|
-
for (R = u._setArrayType([], r.JSArray__ColumnMapping), s =
|
|
14891
|
-
M =
|
|
14890
|
+
for (R = u._setArrayType([], r.JSArray__ColumnMapping), s = E.length, L = 0; L < s; ++L)
|
|
14891
|
+
M = E[L], o = M.key, w = o + "_" + M.hide, o = u.stringReplaceAllUnchecked(o, ".", "_"), l = C.$index(0, w), l == null && (l = -1), d = x.$index(0, w), R.push(new u._ColumnMapping(M, o, l, d ?? -1));
|
|
14892
14892
|
return s = r.MappedListIterable__ColumnMapping_TableColumnModel, v = u.List_List$of(new u.MappedListIterable(R, new u.formatTableChartData_closure8(), s), !0, s._eval$1("ListIterable.E")), s = k.comparison.rows.length, o = r.TableRowModel, o = u.ListExtensions_mapIndexed(m.rows, new u.formatTableChartData_closure9(k, R, i, a, s !== 0, s), o, o), m.copyWith$2$columns$rows(v, u.List_List$of(o, !0, o.$ti._eval$1("Iterable.E")));
|
|
14893
14893
|
},
|
|
14894
14894
|
_formatTableResponse_closure: function(n) {
|
|
@@ -15136,8 +15136,8 @@ var Ue = ke, ge = {};
|
|
|
15136
15136
|
IterableExtension_mapIndexed$body(e, n, i, a, s) {
|
|
15137
15137
|
return u._makeSyncStarIterable(function() {
|
|
15138
15138
|
var o = e, l = n, d = 0, D = 1, f, p, y, m;
|
|
15139
|
-
return function(
|
|
15140
|
-
for (
|
|
15139
|
+
return function(S, E) {
|
|
15140
|
+
for (S === 1 && (f = E, d = D); ; )
|
|
15141
15141
|
switch (d) {
|
|
15142
15142
|
case 0:
|
|
15143
15143
|
p = o.get$iterator(o), y = 0;
|
|
@@ -15285,16 +15285,16 @@ var Ue = ke, ge = {};
|
|
|
15285
15285
|
}, r.Location);
|
|
15286
15286
|
},
|
|
15287
15287
|
_deserializeLocation(e) {
|
|
15288
|
-
var n, i, a, s, o = u.NativeByteData_NativeByteData$view(e.buffer, e.byteOffset, e.byteLength), l = o.getUint32(0, !1), d = o.getUint32(4, !1), D = o.getUint32(8, !1), f = o.getUint32(12, !1), p = o.getUint32(16, !1), y = o.getUint32(20, !1), m = o.getUint32(24, !1), g = o.getUint32(28, !1),
|
|
15288
|
+
var n, i, a, s, o = u.NativeByteData_NativeByteData$view(e.buffer, e.byteOffset, e.byteLength), l = o.getUint32(0, !1), d = o.getUint32(4, !1), D = o.getUint32(8, !1), f = o.getUint32(12, !1), p = o.getUint32(16, !1), y = o.getUint32(20, !1), m = o.getUint32(24, !1), g = o.getUint32(28, !1), S = $.C_AsciiCodec.decode$1(u.NativeUint8List_NativeUint8List$view(e.buffer, e.byteOffset + l, d)), E = u._setArrayType([], r.JSArray_String), C = u._setArrayType([], r.JSArray_TimeZone), F = r.JSArray_int, M = u._setArrayType([], F), x = u._setArrayType([], F), R = D + f;
|
|
15289
15289
|
for (n = D, i = n; n < R; ++n)
|
|
15290
|
-
e[n] === 0 && (F = e.buffer, a = e.byteOffset, F = new Uint8Array(F, a + i, n - i),
|
|
15290
|
+
e[n] === 0 && (F = e.buffer, a = e.byteOffset, F = new Uint8Array(F, a + i, n - i), E.push($.C_AsciiCodec.decode$1(F)), i = n + 1);
|
|
15291
15291
|
for (i = p, n = 0; n < y; ++n, i = s)
|
|
15292
|
-
s = i + 8, C.push(new u.TimeZone(o.getInt32(i, !1) * 1e3, o.getUint8(i + 4) === 1,
|
|
15292
|
+
s = i + 8, C.push(new u.TimeZone(o.getInt32(i, !1) * 1e3, o.getUint8(i + 4) === 1, E[o.getUint8(i + 5)]));
|
|
15293
15293
|
for (i = m, n = 0; n < g; ++n)
|
|
15294
15294
|
M.push($.JSNumber_methods.toInt$0(o.getFloat64(i, !1)) * 1e3), i += 8;
|
|
15295
15295
|
for (n = 0; n < g; ++n)
|
|
15296
15296
|
x.push(o.getUint8(i)), ++i;
|
|
15297
|
-
return u.Location$(
|
|
15297
|
+
return u.Location$(S, M, x, C);
|
|
15298
15298
|
}
|
|
15299
15299
|
}, _ = {
|
|
15300
15300
|
makeDispatchRecord(e, n, i, a) {
|
|
@@ -15497,7 +15497,7 @@ var Ue = ke, ge = {};
|
|
|
15497
15497
|
},
|
|
15498
15498
|
JSString: function() {
|
|
15499
15499
|
}
|
|
15500
|
-
}, $ = {},
|
|
15500
|
+
}, $ = {}, h = [u, _, $], b = {};
|
|
15501
15501
|
u.JS_CONST.prototype = {}, _.Interceptor.prototype = {
|
|
15502
15502
|
$eq(e, n) {
|
|
15503
15503
|
return e === n;
|
|
@@ -17307,25 +17307,25 @@ Arguments: [` + D + "]";
|
|
|
17307
17307
|
}
|
|
17308
17308
|
}, u.FormatException.prototype = {
|
|
17309
17309
|
toString$0(e) {
|
|
17310
|
-
var n, i, a, s, o, l, d, D, f, p, y, m = this.message, g = m !== "" ? "FormatException: " + m : "FormatException",
|
|
17311
|
-
if (typeof
|
|
17312
|
-
if (
|
|
17313
|
-
return
|
|
17314
|
-
` +
|
|
17315
|
-
for (i = 1, a = 0, s = !1, o = 0; o <
|
|
17316
|
-
l = $.JSString_methods._codeUnitAt$1(
|
|
17317
|
-
for (g = i > 1 ? g + (" (at line " + i + ", character " + (
|
|
17318
|
-
`) : g + (" (at character " + (
|
|
17319
|
-
`), d =
|
|
17320
|
-
if (l = $.JSString_methods.codeUnitAt$1(
|
|
17310
|
+
var n, i, a, s, o, l, d, D, f, p, y, m = this.message, g = m !== "" ? "FormatException: " + m : "FormatException", S = this.offset, E = this.source;
|
|
17311
|
+
if (typeof E == "string") {
|
|
17312
|
+
if (S != null ? n = S < 0 || S > E.length : n = !1, n && (S = null), S == null)
|
|
17313
|
+
return E.length > 78 && (E = $.JSString_methods.substring$2(E, 0, 75) + "..."), g + `
|
|
17314
|
+
` + E;
|
|
17315
|
+
for (i = 1, a = 0, s = !1, o = 0; o < S; ++o)
|
|
17316
|
+
l = $.JSString_methods._codeUnitAt$1(E, o), l === 10 ? ((a !== o || !s) && ++i, a = o + 1, s = !1) : l === 13 && (++i, a = o + 1, s = !0);
|
|
17317
|
+
for (g = i > 1 ? g + (" (at line " + i + ", character " + (S - a + 1) + `)
|
|
17318
|
+
`) : g + (" (at character " + (S + 1) + `)
|
|
17319
|
+
`), d = E.length, o = S; o < d; ++o)
|
|
17320
|
+
if (l = $.JSString_methods.codeUnitAt$1(E, o), l === 10 || l === 13) {
|
|
17321
17321
|
d = o;
|
|
17322
17322
|
break;
|
|
17323
17323
|
}
|
|
17324
|
-
return d - a > 78 ?
|
|
17325
|
-
` + $.JSString_methods.$mul(" ",
|
|
17324
|
+
return d - a > 78 ? S - a < 75 ? (D = a + 75, f = a, p = "", y = "...") : (d - S < 75 ? (f = d - 75, D = d, y = "") : (f = S - 36, D = S + 36, y = "..."), p = "...") : (D = d, f = a, p = "", y = ""), g + p + $.JSString_methods.substring$2(E, f, D) + y + `
|
|
17325
|
+
` + $.JSString_methods.$mul(" ", S - f + p.length) + `^
|
|
17326
17326
|
`;
|
|
17327
17327
|
} else
|
|
17328
|
-
return
|
|
17328
|
+
return S != null ? g + (" (at offset " + u.S(S) + ")") : g;
|
|
17329
17329
|
}
|
|
17330
17330
|
}, u.Iterable.prototype = {
|
|
17331
17331
|
map$1$1(e, n, i) {
|
|
@@ -18330,8 +18330,8 @@ Arguments: [` + D + "]";
|
|
|
18330
18330
|
}
|
|
18331
18331
|
}, u.QueryResponse_fromJson_closure.prototype = {
|
|
18332
18332
|
call$1(e) {
|
|
18333
|
-
var n, i, a = null, s = "aggregationType", o = "optionType", l = "timeFormatter", d = "formatter", D = u.EnumByName_byName($.List_MUw, e.$index(0, "schema")), f = e.$index(0, "label"), p = u.EnumByName_byName($.List_eOU, e.$index(0, "dataType")), y = u.EnumByName_byName($.List_FIELD_TYPE_0_FIELD_TYPE_1, e.$index(0, "fieldType")), m = e.$index(0, "id"), g = e.$index(0, s) != null ? u.EnumByName_byName($.List_Tuq, e.$index(0, s)) : a,
|
|
18334
|
-
return M == null && (M = !1), n = e.$index(0, "hide"), n == null && (n = !1), i = e.$index(0, "dateComparison"), new u.QueryResponseColumn(D, f, p, y, m, g,
|
|
18333
|
+
var n, i, a = null, s = "aggregationType", o = "optionType", l = "timeFormatter", d = "formatter", D = u.EnumByName_byName($.List_MUw, e.$index(0, "schema")), f = e.$index(0, "label"), p = u.EnumByName_byName($.List_eOU, e.$index(0, "dataType")), y = u.EnumByName_byName($.List_FIELD_TYPE_0_FIELD_TYPE_1, e.$index(0, "fieldType")), m = e.$index(0, "id"), g = e.$index(0, s) != null ? u.EnumByName_byName($.List_Tuq, e.$index(0, s)) : a, S = e.$index(0, o) != null ? u.EnumByName_byName($.List_Ioo, e.$index(0, o)) : a, E = e.$index(0, "decimal"), C = e.$index(0, l) != null ? u.EnumByName_byName($.List_YsB, e.$index(0, l)) : a, F = e.$index(0, d) != null ? u.EnumByName_byName($.List_0, e.$index(0, d)) : a, M = e.$index(0, "nullable");
|
|
18334
|
+
return M == null && (M = !1), n = e.$index(0, "hide"), n == null && (n = !1), i = e.$index(0, "dateComparison"), new u.QueryResponseColumn(D, f, p, y, m, g, S, E, C, F, M, n, i ?? !1);
|
|
18335
18335
|
},
|
|
18336
18336
|
$signature: 96
|
|
18337
18337
|
}, u.QueryResponse_fromJson_closure0.prototype = {
|
|
@@ -19119,8 +19119,8 @@ Arguments: [` + D + "]";
|
|
|
19119
19119
|
$signature: 76
|
|
19120
19120
|
}, u._formatTableResponse__closure10.prototype = {
|
|
19121
19121
|
call$2(e, n) {
|
|
19122
|
-
var i, a, s, o, l, d, D, f, p, y = null, m = this._box_1, g = n.value.$index(0, m.columnId),
|
|
19123
|
-
return u.IterableExtension_firstWhereOrNull(e, new u._formatTableResponse___closure(
|
|
19122
|
+
var i, a, s, o, l, d, D, f, p, y = null, m = this._box_1, g = n.value.$index(0, m.columnId), S = m.columnId + ":" + u.S(g);
|
|
19123
|
+
return u.IterableExtension_firstWhereOrNull(e, new u._formatTableResponse___closure(S)) == null && !n.isRollup && (i = u.IterableExtension_firstWhereOrNull(this.response.columns, new u._formatTableResponse___closure0(m)), m = m.columnId, a = i == null, s = a ? y : i.dataType, o = a ? y : i.aggregationType, l = a ? y : i.optionType, d = a ? y : i.hide, D = a ? y : i.decimal, f = a ? y : i.timeFormatter, p = a ? y : i.formatter, a = a ? y : i.dateComparison, _.add$1$ax(e, new u._Header(S, g, m, g, s, o, l, d === !0, D, f, p, a === !0))), e;
|
|
19124
19124
|
},
|
|
19125
19125
|
$signature: 77
|
|
19126
19126
|
}, u._formatTableResponse___closure.prototype = {
|
|
@@ -19135,17 +19135,17 @@ Arguments: [` + D + "]";
|
|
|
19135
19135
|
$signature: 0
|
|
19136
19136
|
}, u._formatTableResponse_closure5.prototype = {
|
|
19137
19137
|
call$2(e, n) {
|
|
19138
|
-
var i, a, s, o, l, d, D, f, p, y, m, g,
|
|
19138
|
+
var i, a, s, o, l, d, D, f, p, y, m, g, S, E, C, F, M, x, R, L, w = null, v = r.JSArray_List_dynamic, k = u._setArrayType([[]], v), j = u._setArrayType([[]], v);
|
|
19139
19139
|
for (v = this.headers, i = n.value, a = r.dynamic, s = r.JSArray_String, o = r.String, l = this.metricColumns, d = 0; d < v.length; ++d)
|
|
19140
19140
|
if (D = v[d], f = _.getInterceptor$ax(D), p = f.map$1$1(D, new u._formatTableResponse__closure4(), o).join$1(0, "|"), u.IterableExtension_firstWhereOrNull(D, new u._formatTableResponse__closure5()) != null)
|
|
19141
|
-
for (y = f.firstWhere$1(D, new u._formatTableResponse__closure6()), m = f.fold$2(D, !0, new u._formatTableResponse__closure7(n)), f = k.length, g = y.type,
|
|
19142
|
-
C = k[
|
|
19141
|
+
for (y = f.firstWhere$1(D, new u._formatTableResponse__closure6()), m = f.fold$2(D, !0, new u._formatTableResponse__closure7(n)), f = k.length, g = y.type, S = y.columnValue, E = 0; E < k.length; k.length === f || (0, u.throwConcurrentModificationError)(k), ++E)
|
|
19142
|
+
C = k[E], m ? (F = i.$index(0, S), M = C.length, d >= M && $.JSArray_methods.addAll$1(C, u.List_List$filled(d - M + 1, w, !1, a)), C[d] = F) : (F = g == null ? w : u.DataTypeExtension_toData(g, w), M = C.length, d >= M && $.JSArray_methods.addAll$1(C, u.List_List$filled(d - M + 1, w, !1, a)), C[d] = F);
|
|
19143
19143
|
else if ($.JSArray_methods.contains$1(u._setArrayType(["_metric_name", "_metric_value"], s), p))
|
|
19144
19144
|
for (f = p === "_metric_value", g = p === "_metric_name", x = 0; x < l.length; ++x)
|
|
19145
|
-
R = l[x], u.ListExtension_elementAtOrNull(k, x) == null && (k.push(u.List_List$of(k[0], !0, a)), j.push(u.List_List$of(j[0], !0, a))), g ? (
|
|
19145
|
+
R = l[x], u.ListExtension_elementAtOrNull(k, x) == null && (k.push(u.List_List$of(k[0], !0, a)), j.push(u.List_List$of(j[0], !0, a))), g ? (S = k[x], F = R.label, M = S.length, d >= M && $.JSArray_methods.addAll$1(S, u.List_List$filled(d - M + 1, w, !1, a)), S[d] = F, j[x].push(F)) : f && (S = k[x], F = i.$index(0, R.id), M = S.length, d >= M && $.JSArray_methods.addAll$1(S, u.List_List$filled(d - M + 1, w, !1, a)), S[d] = F);
|
|
19146
19146
|
else
|
|
19147
19147
|
for (L = 0; L < k.length; ++L)
|
|
19148
|
-
f = k[L], g = i.$index(0, p),
|
|
19148
|
+
f = k[L], g = i.$index(0, p), S = f.length, d >= S && $.JSArray_methods.addAll$1(f, u.List_List$filled(d - S + 1, w, !1, a)), f[d] = g, j[L].push(i.$index(0, p));
|
|
19149
19149
|
return _.addAll$1$ax(e, u.ListExtensions_mapIndexed(k, new u._formatTableResponse__closure8(j, n), r.List_dynamic, r.Map_String_dynamic)), e;
|
|
19150
19150
|
},
|
|
19151
19151
|
$signature: 79
|
|
@@ -19385,9 +19385,9 @@ Arguments: [` + D + "]";
|
|
|
19385
19385
|
$signature: 99
|
|
19386
19386
|
}, u.formatTableChartData_closure9.prototype = {
|
|
19387
19387
|
call$2(e, n) {
|
|
19388
|
-
var i, a, s, o, l, d, D, f, p, y, m, g,
|
|
19388
|
+
var i, a, s, o, l, d, D, f, p, y, m, g, S, E, C, F, M, x, R = this, L = [], w = [], v = n.cells, k = _.getInterceptor$asx(v), j = k.get$length(v);
|
|
19389
19389
|
for (i = R.columnMappings, a = i.length, s = R.hasComparison, o = R.country, l = R.timezone, d = e < R.comparisonRowsLength, D = R._box_0, f = 0; f < i.length; i.length === a || (0, u.throwConcurrentModificationError)(i), ++f)
|
|
19390
|
-
p = i[f], y = p.mainIndex, m = y >= 0 && y < j ? k.$index(v, y) : u.ListExtension_elementAtOrNull(v, y), y = p.column, g = y.type,
|
|
19390
|
+
p = i[f], y = p.mainIndex, m = y >= 0 && y < j ? k.$index(v, y) : u.ListExtension_elementAtOrNull(v, y), y = p.column, g = y.type, S = g == null, L.push(S ? null : u.DataTypeExtension_toDisplay(g, y.aggregationType, o, y.decimal, y.dimensionOption, y.formatter, !1, y.timeFormatter, l, m)), s && (d ? (E = D.comparison.rows[e].cells, C = _.getInterceptor$asx(E), F = C.get$length(E), M = p.comparisonIndex, x = M >= 0 && M < F ? C.$index(E, M) : u.ListExtension_elementAtOrNull(E, M)) : x = u.ListExtension_elementAtOrNull([], p.comparisonIndex), w.push(S ? null : u.DataTypeExtension_toDisplay(g, y.aggregationType, o, y.decimal, y.dimensionOption, y.formatter, !1, y.timeFormatter, l, x)));
|
|
19391
19391
|
return n.copyWith$2$cells$comparisonCells(L, w);
|
|
19392
19392
|
},
|
|
19393
19393
|
$signature: 7
|
|
@@ -19826,8 +19826,8 @@ Arguments: [` + D + "]";
|
|
|
19826
19826
|
return a.message;
|
|
19827
19827
|
}
|
|
19828
19828
|
}())), n(b, "DateTime__parseFormat", "$get$DateTime__parseFormat", () => u.RegExp_RegExp("^([+-]?\\d{4,6})-?(\\d\\d)-?(\\d\\d)(?:[ T](\\d\\d)(?::?(\\d\\d)(?::?(\\d\\d)(?:[.,](\\d+))?)?)?( ?[zZ]| ?([-+])(\\d\\d)(?::?(\\d\\d))?)?)?$", !1)), n(b, "_hashSeed", "$get$_hashSeed", () => u.objectHashCode($.Type_Object_xQ6)), n(b, "Endian_host", "$get$Endian_host", () => u.NativeByteData_NativeByteData$view(u.NativeUint16List_NativeUint16List$fromList(u._setArrayType([1], r.JSArray_int)).buffer, 0, null).getInt8(0) === 1 ? $.C_Endian0 : $.C_Endian), n(b, "_clockKey", "$get$_clockKey", () => new u.Object()), n(b, "en_USSymbols", "$get$en_USSymbols", () => new u.DateSymbols("en_US", $.List_BC_AD, $.List_6xs, $.List_qpm, $.List_qpm, $.List_cIc, $.List_cIc, $.List_h8w, $.List_h8w, $.List_wMy, $.List_wMy, $.List_gc6, $.List_gc6, $.List_3US, $.List_Q1_Q2_Q3_Q4, $.List_bJM, $.List_AM_PM)), i(b, "_dateTimeSymbols", "$get$_dateTimeSymbols", () => u.UninitializedLocaleData$("initializeDateFormatting(<locale>)", b.$get$en_USSymbols())), i(b, "dateTimePatterns", "$get$dateTimePatterns", () => u.UninitializedLocaleData$("initializeDateFormatting(<locale>)", $.Map_EQ6TW)), n(b, "asciiZeroCodeUnit", "$get$asciiZeroCodeUnit", () => 48), n(b, "DateFormat__matchers", "$get$DateFormat__matchers", () => u._setArrayType([u.RegExp_RegExp("^'(?:[^']|'')*'", !1), u.RegExp_RegExp("^(?:G+|y+|M+|k+|S+|E+|a+|h+|K+|H+|c+|L+|Q+|d+|D+|m+|s+|v+|z+|Z+)", !1), u.RegExp_RegExp("^[^'GyMkSEahKHcLQdDmsvzZ]+", !1)], u.findType("JSArray<RegExp>"))), n(b, "_DateFormatQuotedField__twoEscapedQuotes", "$get$_DateFormatQuotedField__twoEscapedQuotes", () => u.RegExp_RegExp("''", !1)), n(b, "asciiDigitMatcher", "$get$asciiDigitMatcher", () => u.RegExp_RegExp("^\\d+", !1)), i(b, "_availableLocales", "$get$_availableLocales", () => {
|
|
19829
|
-
var a, s, o = u.EnLocale$($.StartOfWeek_1), l = u.EnLocale$($.StartOfWeek_1), d = u.EnLocale$($.StartOfWeek_1), D = u.EnLocale$($.StartOfWeek_1), f = u.EnLocale$($.StartOfWeek_1), p = u.EnLocale$($.StartOfWeek_2), y = u.EnLocale$($.StartOfWeek_2), m = u.EnLocale$($.StartOfWeek_1), g = u.EnLocale$($.StartOfWeek_1),
|
|
19830
|
-
return u.createSentinel(), u.createSentinel(), u.createSentinel(), u.createSentinel(), u.createSentinel(), u.createSentinel(), u.createSentinel(), a = u.PtLocale$($.StartOfWeek_2), s = u.PtLocale$($.StartOfWeek_1), u.createSentinel(), u.createSentinel(), u.createSentinel(), u.createSentinel(), u.createSentinel(), u.createSentinel(), u.createSentinel(), u.createSentinel(), u.LinkedHashMap_LinkedHashMap$_literal(["en", o, "en_us", l, "en_sg", d, "en_au", D, "en_ca", f, "en_gb", p, "en_ie", y, "en_il", m, "en_nz", g, "es",
|
|
19829
|
+
var a, s, o = u.EnLocale$($.StartOfWeek_1), l = u.EnLocale$($.StartOfWeek_1), d = u.EnLocale$($.StartOfWeek_1), D = u.EnLocale$($.StartOfWeek_1), f = u.EnLocale$($.StartOfWeek_1), p = u.EnLocale$($.StartOfWeek_2), y = u.EnLocale$($.StartOfWeek_2), m = u.EnLocale$($.StartOfWeek_1), g = u.EnLocale$($.StartOfWeek_1), S = u.EsLocale$($.StartOfWeek_2), E = u.EsLocale$($.StartOfWeek_2), C = u.EsLocale$($.StartOfWeek_1), F = u.FrLocale$($.StartOfWeek_2), M = u.FrLocale$($.StartOfWeek_2), x = u.FrLocale$($.StartOfWeek_1), R = u.ZhCnLocale$($.StartOfWeek_1), L = u.ZhCnLocale$($.StartOfWeek_1), w = u.ZhLocale$($.StartOfWeek_1), v = u.ZhLocale$($.StartOfWeek_1), k = u.DeLocale$($.StartOfWeek_2), j = u.DeLocale$($.StartOfWeek_2), f0 = u.DeLocale$($.StartOfWeek_2), h0 = u.DeLocale$($.StartOfWeek_2), o0 = u.ItLocale$($.StartOfWeek_2), S0 = u.ItLocale$($.StartOfWeek_2), b0 = u.ArLyLocale$(!0, $.StartOfWeek_0), M0 = u.ArLyLocale$(!1, $.StartOfWeek_0), R0 = u.ArSaMaDzKwTnLocale$(!1, $.StartOfWeek_1), T0 = u.ArSaMaDzKwTnLocale$(!1, $.StartOfWeek_1), I0 = u.ArSaMaDzKwTnLocale$(!0, $.StartOfWeek_1), x0 = u.ArSaMaDzKwTnLocale$(!1, $.StartOfWeek_0), F0 = u.ArSaMaDzKwTnLocale$(!1, $.StartOfWeek_0);
|
|
19830
|
+
return u.createSentinel(), u.createSentinel(), u.createSentinel(), u.createSentinel(), u.createSentinel(), u.createSentinel(), u.createSentinel(), a = u.PtLocale$($.StartOfWeek_2), s = u.PtLocale$($.StartOfWeek_1), u.createSentinel(), u.createSentinel(), u.createSentinel(), u.createSentinel(), u.createSentinel(), u.createSentinel(), u.createSentinel(), u.createSentinel(), u.LinkedHashMap_LinkedHashMap$_literal(["en", o, "en_us", l, "en_sg", d, "en_au", D, "en_ca", f, "en_gb", p, "en_ie", y, "en_il", m, "en_nz", g, "es", S, "es_do", E, "es_us", C, "fr", F, "fr_ch", M, "fr_ca", x, "zh", R, "zh_cn", L, "zh_hk", w, "zh_tw", v, "de", k, "de_de", j, "de_at", f0, "de_ch", h0, "it", o0, "it_ch", S0, "ar", b0, "ar_ly", M0, "ar_dz", R0, "ar_kw", T0, "ar_sa", I0, "ar_ma", x0, "ar_tn", F0, "az", new u.AzLocale($.StartOfWeek_2), "id", new u.IdLocale($.StartOfWeek_1), "ja", new u.JaLocale($.StartOfWeek_1), "ko", new u.KoLocale($.StartOfWeek_1), "ru", new u.RuLocale($.StartOfWeek_2), "uk", new u.UkLocale($.StartOfWeek_2), "hi", new u.HiLocale($.StartOfWeek_1), "pt", a, "pt_br", s, "pl", new u.PlLocale($.StartOfWeek_2), "tr", new u.TrLocale($.StartOfWeek_2), "sv", new u.SvLocale($.StartOfWeek_2), "nb", new u.NbLocale($.StartOfWeek_2), "fa", new u.FaLocale($.StartOfWeek_0), "bn", new u.BnLocale($.StartOfWeek_1), "nl", new u.NlLocale($.StartOfWeek_2), "th", new u.ThLocale($.StartOfWeek_1)], r.String, u.findType("Locale"));
|
|
19831
19831
|
}), n(b, "_UTC", "$get$_UTC", () => {
|
|
19832
19832
|
var a = r.JSArray_int;
|
|
19833
19833
|
return u.Location$("UTC", u._setArrayType([-864e13], a), u._setArrayType([0], a), u._setArrayType([$.TimeZone_0_false_UTC], r.JSArray_TimeZone));
|
|
@@ -19862,7 +19862,7 @@ Arguments: [` + D + "]";
|
|
|
19862
19862
|
return this(e, n, i);
|
|
19863
19863
|
}, Function.prototype.call$8 = function(e, n, i, a, s, o, l, d) {
|
|
19864
19864
|
return this(e, n, i, a, s, o, l, d);
|
|
19865
|
-
}, d0(
|
|
19865
|
+
}, d0(h), function(e) {
|
|
19866
19866
|
if (typeof document > "u") {
|
|
19867
19867
|
e(null);
|
|
19868
19868
|
return;
|
|
@@ -19886,27 +19886,32 @@ Arguments: [` + D + "]";
|
|
|
19886
19886
|
});
|
|
19887
19887
|
})();
|
|
19888
19888
|
};
|
|
19889
|
-
})(
|
|
19890
|
-
const
|
|
19891
|
-
|
|
19892
|
-
var
|
|
19893
|
-
const
|
|
19894
|
-
|
|
19889
|
+
})(he);
|
|
19890
|
+
const Se = he;
|
|
19891
|
+
Se.load({});
|
|
19892
|
+
var Qe = Se;
|
|
19893
|
+
const Q0 = new Intl.Collator(void 0, {
|
|
19894
|
+
numeric: !0,
|
|
19895
|
+
sensitivity: "base"
|
|
19896
|
+
}), Xe = (() => {
|
|
19897
|
+
const A = new Intl.DateTimeFormat("en-US", { weekday: "short" });
|
|
19895
19898
|
return Array.from(
|
|
19896
19899
|
{ length: 7 },
|
|
19897
|
-
(I, O) =>
|
|
19900
|
+
(I, O) => A.format(new Date(1970, 0, 4 + O)).toLowerCase().slice(0, 3)
|
|
19898
19901
|
);
|
|
19899
19902
|
})();
|
|
19900
|
-
function
|
|
19901
|
-
if (
|
|
19902
|
-
const I = String(
|
|
19903
|
+
function se(A) {
|
|
19904
|
+
if (A == null || A === "") return null;
|
|
19905
|
+
const I = String(A).trim();
|
|
19903
19906
|
if (I === "") return null;
|
|
19904
|
-
const O = I.toLowerCase().slice(0, 3), P =
|
|
19907
|
+
const O = I.toLowerCase().slice(0, 3), P = Xe.indexOf(O);
|
|
19905
19908
|
if (P !== -1 && I.length <= 3)
|
|
19906
19909
|
return { type: "dayName", value: P };
|
|
19907
|
-
const B = I.match(
|
|
19910
|
+
const B = I.match(
|
|
19911
|
+
/^(\d{1,2})\/(\d{1,2})\/(\d{4})\s+(\d{1,2}):(\d{2})(?::(\d{2}))?$/
|
|
19912
|
+
);
|
|
19908
19913
|
if (B) {
|
|
19909
|
-
const [, N, X, Y, t0, G,
|
|
19914
|
+
const [, N, X, Y, t0, G, Z = "0"] = B;
|
|
19910
19915
|
return {
|
|
19911
19916
|
type: "fullDateTime",
|
|
19912
19917
|
value: new Date(
|
|
@@ -19915,7 +19920,7 @@ function ue(E) {
|
|
|
19915
19920
|
parseInt(N),
|
|
19916
19921
|
parseInt(t0),
|
|
19917
19922
|
parseInt(G),
|
|
19918
|
-
parseInt(
|
|
19923
|
+
parseInt(Z)
|
|
19919
19924
|
).getTime()
|
|
19920
19925
|
};
|
|
19921
19926
|
}
|
|
@@ -19924,7 +19929,11 @@ function ue(E) {
|
|
|
19924
19929
|
const [, N, X, Y] = J;
|
|
19925
19930
|
return {
|
|
19926
19931
|
type: "date",
|
|
19927
|
-
value: new Date(
|
|
19932
|
+
value: new Date(
|
|
19933
|
+
parseInt(Y),
|
|
19934
|
+
parseInt(X) - 1,
|
|
19935
|
+
parseInt(N)
|
|
19936
|
+
).getTime()
|
|
19928
19937
|
};
|
|
19929
19938
|
}
|
|
19930
19939
|
const H = I.match(/^(\d{4})\/(\d{1,2})\/(\d{1,2})$/);
|
|
@@ -19932,7 +19941,11 @@ function ue(E) {
|
|
|
19932
19941
|
const [, N, X, Y] = H;
|
|
19933
19942
|
return {
|
|
19934
19943
|
type: "date",
|
|
19935
|
-
value: new Date(
|
|
19944
|
+
value: new Date(
|
|
19945
|
+
parseInt(N),
|
|
19946
|
+
parseInt(X) - 1,
|
|
19947
|
+
parseInt(Y)
|
|
19948
|
+
).getTime()
|
|
19936
19949
|
};
|
|
19937
19950
|
}
|
|
19938
19951
|
const q = I.match(/^(\d{1,2})\/(\d{4})$/);
|
|
@@ -19953,35 +19966,54 @@ function ue(E) {
|
|
|
19953
19966
|
}
|
|
19954
19967
|
return /^\d+$/.test(I) ? { type: "number", value: parseInt(I) } : null;
|
|
19955
19968
|
}
|
|
19956
|
-
function
|
|
19957
|
-
const O =
|
|
19969
|
+
function oe(A, I) {
|
|
19970
|
+
const O = se(A), P = se(I);
|
|
19958
19971
|
return !O && !P ? null : O ? P ? (O.type === P.type, O.value - P.value) : -1 : 1;
|
|
19959
19972
|
}
|
|
19960
|
-
function
|
|
19973
|
+
function Ve(A, I) {
|
|
19961
19974
|
var P;
|
|
19962
|
-
const O = { isRollup:
|
|
19975
|
+
const O = { isRollup: A.isRollup };
|
|
19963
19976
|
for (let B = 0; B < I.length; B++) {
|
|
19964
19977
|
const J = I[B].key;
|
|
19965
19978
|
J && (O[J] = {
|
|
19966
|
-
main:
|
|
19967
|
-
comparison: (P =
|
|
19979
|
+
main: A.cells[B],
|
|
19980
|
+
comparison: (P = A.comparisonCells) == null ? void 0 : P[B]
|
|
19968
19981
|
});
|
|
19969
19982
|
}
|
|
19970
19983
|
return O;
|
|
19971
19984
|
}
|
|
19972
|
-
function
|
|
19973
|
-
if (
|
|
19985
|
+
function Ye(A, I) {
|
|
19986
|
+
if (A <= 0) return [];
|
|
19974
19987
|
const O = {};
|
|
19975
19988
|
for (const P of I) O[P.key] = void 0;
|
|
19976
|
-
return Array.from({ length:
|
|
19989
|
+
return Array.from({ length: A }, () => ({ ...O }));
|
|
19977
19990
|
}
|
|
19978
|
-
function
|
|
19991
|
+
function X0(A, I, O) {
|
|
19979
19992
|
var B, J;
|
|
19980
|
-
if (((B =
|
|
19993
|
+
if (((B = A[I]) == null ? void 0 : B.main) !== void 0) return A[I].main;
|
|
19981
19994
|
const P = O.findIndex((H) => H.key === I);
|
|
19982
|
-
return P >= 0 ? (J =
|
|
19995
|
+
return P >= 0 ? (J = A.cells) == null ? void 0 : J[P] : void 0;
|
|
19996
|
+
}
|
|
19997
|
+
function V0(A) {
|
|
19998
|
+
if (typeof A == "number")
|
|
19999
|
+
return Number.isFinite(A) ? A : null;
|
|
20000
|
+
if (A == null) return null;
|
|
20001
|
+
const I = String(A).trim();
|
|
20002
|
+
if (I === "") return null;
|
|
20003
|
+
const O = I.match(/^([+-]?\d+(?:\.\d+)?)%$/);
|
|
20004
|
+
if (O)
|
|
20005
|
+
return Number(O[1]);
|
|
20006
|
+
const P = I.match(
|
|
20007
|
+
/^(?:(\d+)\s+day(?:s)?\s+)?(\d+):(\d{2}):(\d{2})$/i
|
|
20008
|
+
);
|
|
20009
|
+
if (P) {
|
|
20010
|
+
const [, J = "0", H, q, U] = P;
|
|
20011
|
+
return Number(J) * 24 * 60 * 60 + Number(H) * 60 * 60 + Number(q) * 60 + Number(U);
|
|
20012
|
+
}
|
|
20013
|
+
const B = Number(I);
|
|
20014
|
+
return Number.isFinite(B) ? B : null;
|
|
19983
20015
|
}
|
|
19984
|
-
function
|
|
20016
|
+
function Ge(A) {
|
|
19985
20017
|
var u0, s0, a0, l0, d0, p0;
|
|
19986
20018
|
const {
|
|
19987
20019
|
rows: I = [],
|
|
@@ -19990,7 +20022,7 @@ function Ye(E) {
|
|
|
19990
20022
|
filter: B = null,
|
|
19991
20023
|
grandTotalPosition: J = null,
|
|
19992
20024
|
pageSize: H = 0
|
|
19993
|
-
} =
|
|
20025
|
+
} = A;
|
|
19994
20026
|
let q = Array.isArray(I) ? [...I] : [];
|
|
19995
20027
|
J === "BOTTOM" && ((u0 = q.at(-1)) != null && u0.isRollup) && q.pop(), J === "TOP" && ((s0 = q[0]) != null && s0.isRollup) && q.shift();
|
|
19996
20028
|
let U = 0;
|
|
@@ -20002,73 +20034,86 @@ function Ye(E) {
|
|
|
20002
20034
|
(Q) => Q.key && O.some((z) => z.key === Q.key)
|
|
20003
20035
|
), Y = X.length > 0;
|
|
20004
20036
|
let t0 = I;
|
|
20005
|
-
B !== null && (t0 = t0.filter((Q) => !(B !== "" && (Q.isRollup === !0 || !Q.cells.some(
|
|
20037
|
+
B !== null && (t0 = t0.filter((Q) => !(B !== "" && (Q.isRollup === !0 || !Q.cells.some(
|
|
20038
|
+
(z) => ((z == null ? void 0 : z.toLowerCase()) || "").includes(B == null ? void 0 : B.toLowerCase())
|
|
20039
|
+
)))).map((Q) => ({
|
|
20040
|
+
...Ve(Q, O),
|
|
20041
|
+
groupIndex: Q.groupIndex
|
|
20042
|
+
})));
|
|
20006
20043
|
const G = {};
|
|
20007
20044
|
for (const Q of t0) {
|
|
20008
20045
|
const z = Q.groupIndex;
|
|
20009
20046
|
z !== void 0 && (G[z] || (G[z] = [])).push(Q);
|
|
20010
20047
|
}
|
|
20011
20048
|
Y && Object.values(G).forEach((Q) => {
|
|
20012
|
-
const z = Q.filter((e0) => e0.isRollup),
|
|
20013
|
-
|
|
20014
|
-
for (const { key: W, type:
|
|
20015
|
-
const _0 =
|
|
20049
|
+
const z = Q.filter((e0) => e0.isRollup), r0 = Q.filter((e0) => !e0.isRollup);
|
|
20050
|
+
r0.sort((e0, i0) => {
|
|
20051
|
+
for (const { key: W, type: n0 } of X) {
|
|
20052
|
+
const _0 = n0 === "ASC" ? 1 : -1, K = X0(e0, W, O) ?? "", t = X0(i0, W, O) ?? "";
|
|
20016
20053
|
if (N[W]) {
|
|
20017
|
-
const u =
|
|
20018
|
-
if (u !==
|
|
20054
|
+
const u = V0(K), _ = V0(t);
|
|
20055
|
+
if (u !== null && _ !== null) {
|
|
20056
|
+
const h = u - _;
|
|
20057
|
+
if (h !== 0) return h * _0;
|
|
20058
|
+
}
|
|
20059
|
+
const $ = Q0.compare(String(K), String(t));
|
|
20060
|
+
if ($ !== 0) return $ * _0;
|
|
20019
20061
|
} else {
|
|
20020
|
-
const u =
|
|
20062
|
+
const u = oe(K, t);
|
|
20021
20063
|
if (u !== null && u !== 0)
|
|
20022
20064
|
return u * _0;
|
|
20023
|
-
const _ =
|
|
20065
|
+
const _ = Q0.compare(String(K), String(t));
|
|
20024
20066
|
if (_ !== 0) return _ * _0;
|
|
20025
20067
|
}
|
|
20026
20068
|
}
|
|
20027
20069
|
return 0;
|
|
20028
|
-
}), G[Q[0].groupIndex] = z.concat(
|
|
20070
|
+
}), G[Q[0].groupIndex] = z.concat(r0);
|
|
20029
20071
|
});
|
|
20030
|
-
let
|
|
20072
|
+
let Z;
|
|
20031
20073
|
if (Y) {
|
|
20032
20074
|
const Q = J === null ? (() => {
|
|
20033
20075
|
const e0 = Object.keys(G).find((i0) => {
|
|
20034
|
-
const W = G[i0] || [],
|
|
20035
|
-
return
|
|
20076
|
+
const W = G[i0] || [], n0 = W.some((K) => K.isRollup), _0 = W.some((K) => !K.isRollup);
|
|
20077
|
+
return n0 && !_0;
|
|
20036
20078
|
});
|
|
20037
20079
|
return e0 !== void 0 ? Number(e0) : -1;
|
|
20038
|
-
})() : -1, z = ((a0 = X[0]) == null ? void 0 : a0.key) ?? ((l0 = O.find((e0) => N[e0.key])) == null ? void 0 : l0.key),
|
|
20039
|
-
|
|
20080
|
+
})() : -1, z = ((a0 = X[0]) == null ? void 0 : a0.key) ?? ((l0 = O.find((e0) => N[e0.key])) == null ? void 0 : l0.key), r0 = ((d0 = X[0]) == null ? void 0 : d0.type) === "ASC" ? 1 : (((p0 = X[0]) == null ? void 0 : p0.type) === "DESC", -1);
|
|
20081
|
+
Z = Object.keys(G).map(Number).sort((e0, i0) => {
|
|
20040
20082
|
if (!z) return e0 - i0;
|
|
20041
20083
|
if (Q !== -1) {
|
|
20042
20084
|
if (e0 === Q) return -1;
|
|
20043
20085
|
if (i0 === Q) return 1;
|
|
20044
20086
|
}
|
|
20045
|
-
const W = G[e0].find((u) => u.isRollup),
|
|
20046
|
-
if (N[z])
|
|
20047
|
-
|
|
20048
|
-
|
|
20087
|
+
const W = G[e0].find((u) => u.isRollup), n0 = G[i0].find((u) => u.isRollup), _0 = W ? X0(W, z, O) ?? "" : "", K = n0 ? X0(n0, z, O) ?? "" : "";
|
|
20088
|
+
if (N[z]) {
|
|
20089
|
+
const u = V0(_0), _ = V0(K);
|
|
20090
|
+
return u !== null && _ !== null ? (u - _) * r0 : Q0.compare(String(_0), String(K)) * r0;
|
|
20091
|
+
}
|
|
20092
|
+
const t = oe(_0, K);
|
|
20093
|
+
return t !== null ? t * r0 : Q0.compare(String(_0), String(K)) * r0;
|
|
20049
20094
|
});
|
|
20050
20095
|
} else
|
|
20051
|
-
|
|
20096
|
+
Z = Object.keys(G).map(Number).sort((Q, z) => Q - z);
|
|
20052
20097
|
const V = [];
|
|
20053
|
-
for (const Q of
|
|
20054
|
-
for (const { groupIndex: z, ...
|
|
20055
|
-
V.push(
|
|
20098
|
+
for (const Q of Z)
|
|
20099
|
+
for (const { groupIndex: z, ...r0 } of G[Q])
|
|
20100
|
+
V.push(r0);
|
|
20056
20101
|
if (H > 0) {
|
|
20057
20102
|
const Q = V.length % H;
|
|
20058
20103
|
let z = 0;
|
|
20059
|
-
Q > 0 ? z = H - Q : V.length === 0 && (z = H), z > 0 && V.push(...
|
|
20104
|
+
Q > 0 ? z = H - Q : V.length === 0 && (z = H), z > 0 && V.push(...Ye(z, O));
|
|
20060
20105
|
}
|
|
20061
20106
|
return { data: V };
|
|
20062
20107
|
}
|
|
20063
|
-
var
|
|
20064
|
-
const
|
|
20065
|
-
var
|
|
20108
|
+
var ze = { processTableData: Ge };
|
|
20109
|
+
const We = qe, je = Qe, Ke = ze;
|
|
20110
|
+
var ie = {
|
|
20111
|
+
...Ke,
|
|
20066
20112
|
...je,
|
|
20067
|
-
...We
|
|
20068
|
-
|
|
20069
|
-
|
|
20070
|
-
|
|
20071
|
-
switch (E) {
|
|
20113
|
+
...We
|
|
20114
|
+
}, U0 = /* @__PURE__ */ ((A) => (A.DateTime = "DATE_TIME", A.Hour = "HOUR", A.Day = "DAY", A.Week = "WEEK", A.Month = "MONTH", A.TimeOfDay = "TIME_OF_DAY", A.HourOfDay = "HOUR_OF_DAY", A.DayOfWeek = "DAY_OF_WEEK", A.DayOfMonth = "DAY_OF_MONTH", A.MonthOfYear = "MONTH_OF_YEAR", A.Year = "YEAR", A.YearMonthDay = "YEAR_MONTH_DAY", A))(U0 || {}), Ze = /* @__PURE__ */ ((A) => (A.Asc = "ASC", A.Desc = "DESC", A))(Ze || {}), ae = /* @__PURE__ */ ((A) => (A.Equal = "EQUAL", A.NotEqual = "NOT_EQUAL", A.GreaterThan = "GREATER_THAN", A.LessThan = "LESS_THAN", A.GreaterThanOrEqual = "GREATER_THAN_OR_EQUAL", A.LessThanOrEqual = "LESS_THAN_OR_EQUAL", A.Between = "BETWEEN", A.Like = "LIKE", A.NotLike = "NOT_LIKE", A.And = "AND", A.Or = "OR", A))(ae || {}), et = /* @__PURE__ */ ((A) => (A.String = "STRING", A.Timestamp = "TIMESTAMP", A.Bool = "BOOL", A.Numeric = "NUMERIC", A))(et || {}), tt = /* @__PURE__ */ ((A) => (A.MTD = "MTD", A))(tt || {}), rt = /* @__PURE__ */ ((A) => (A.Scorecard = "SCORECARD", A.Spacer = "SPACER", A.Table = "TABLE", A.BarChart = "BARCHART", A.StackBarChart = "STACKBARCHART", A.ClusteredStackBarChart = "CLUSTEREDSTACKBARCHART", A.LineChart = "LINECHART", A.StackLineChart = "STACKLINECHART", A.Circular = "CIRCULAR", A))(rt || {}), nt = /* @__PURE__ */ ((A) => (A.EXCEL = "excel", A.PDF = "pdf", A.PDFFULLSIZE = "pdfFullSize", A.PDFRECEIPT = "pdfReceipt", A))(nt || {}), it = /* @__PURE__ */ ((A) => (A.PORTRAIT = "portrait", A.LANDSCAPE = "landscape", A))(it || {});
|
|
20115
|
+
function jt(A) {
|
|
20116
|
+
switch (A) {
|
|
20072
20117
|
case "excel":
|
|
20073
20118
|
return "Excel";
|
|
20074
20119
|
case "pdf":
|
|
@@ -20081,8 +20126,8 @@ function Wt(E) {
|
|
|
20081
20126
|
return "Unknown";
|
|
20082
20127
|
}
|
|
20083
20128
|
}
|
|
20084
|
-
function
|
|
20085
|
-
switch (
|
|
20129
|
+
function Kt(A) {
|
|
20130
|
+
switch (A) {
|
|
20086
20131
|
case "landscape":
|
|
20087
20132
|
return "report.common.landscape";
|
|
20088
20133
|
case "portrait":
|
|
@@ -20091,110 +20136,110 @@ function jt(E) {
|
|
|
20091
20136
|
return "report.input.unknown";
|
|
20092
20137
|
}
|
|
20093
20138
|
}
|
|
20094
|
-
const w0 = "/report-settings",
|
|
20095
|
-
const { businessId:
|
|
20096
|
-
if (
|
|
20139
|
+
const w0 = "/report-settings", at = async () => {
|
|
20140
|
+
const { businessId: A } = c0($0());
|
|
20141
|
+
if (A) {
|
|
20097
20142
|
const I = {
|
|
20098
20143
|
fetchType: y0.Get,
|
|
20099
|
-
url: `${w0}/${
|
|
20144
|
+
url: `${w0}/${A.value}/reports`
|
|
20100
20145
|
};
|
|
20101
20146
|
return g0.fetch(I);
|
|
20102
20147
|
} else
|
|
20103
20148
|
return Promise.reject(new Error("Business Id is not defined"));
|
|
20104
|
-
},
|
|
20149
|
+
}, ut = (A) => {
|
|
20105
20150
|
const { businessId: I } = c0($0()), O = {
|
|
20106
20151
|
fetchType: y0.Put,
|
|
20107
|
-
url: `${w0}/${I.value}/reports/${
|
|
20108
|
-
data:
|
|
20152
|
+
url: `${w0}/${I.value}/reports/${A.id}`,
|
|
20153
|
+
data: A
|
|
20109
20154
|
};
|
|
20110
20155
|
return g0.fetch(O);
|
|
20111
|
-
},
|
|
20156
|
+
}, st = (A) => {
|
|
20112
20157
|
const { businessId: I } = c0($0()), O = {
|
|
20113
20158
|
fetchType: y0.Post,
|
|
20114
20159
|
url: `${w0}/${I.value}/reports`,
|
|
20115
|
-
data:
|
|
20160
|
+
data: A
|
|
20116
20161
|
};
|
|
20117
20162
|
return g0.fetch(O);
|
|
20118
|
-
},
|
|
20163
|
+
}, ot = (A) => {
|
|
20119
20164
|
const { businessId: I } = c0($0()), O = {
|
|
20120
20165
|
fetchType: y0.Delete,
|
|
20121
|
-
url: `${w0}/${I.value}/reports/${
|
|
20166
|
+
url: `${w0}/${I.value}/reports/${A.id}`
|
|
20122
20167
|
};
|
|
20123
20168
|
return g0.fetch(O);
|
|
20124
|
-
},
|
|
20169
|
+
}, lt = (A) => {
|
|
20125
20170
|
const { businessId: I } = c0($0()), O = {
|
|
20126
20171
|
fetchType: y0.Put,
|
|
20127
20172
|
url: `${w0}/${I.value}/reports/default`,
|
|
20128
|
-
data: { defaultReport:
|
|
20173
|
+
data: { defaultReport: A }
|
|
20129
20174
|
};
|
|
20130
20175
|
return g0.fetch(O);
|
|
20131
|
-
},
|
|
20176
|
+
}, Zt = (A, I) => {
|
|
20132
20177
|
const { businessId: O } = c0($0()), P = {
|
|
20133
20178
|
fetchType: y0.Put,
|
|
20134
|
-
url: `${w0}/${O.value}/reports/${
|
|
20179
|
+
url: `${w0}/${O.value}/reports/${A}/pos-support`,
|
|
20135
20180
|
data: { isSupportPos: I }
|
|
20136
20181
|
};
|
|
20137
20182
|
return g0.fetch(P);
|
|
20138
|
-
},
|
|
20139
|
-
const { businessId:
|
|
20140
|
-
if (
|
|
20183
|
+
}, _t = async () => {
|
|
20184
|
+
const { businessId: A } = c0($0());
|
|
20185
|
+
if (A) {
|
|
20141
20186
|
const I = {
|
|
20142
20187
|
fetchType: y0.Get,
|
|
20143
|
-
url: `${w0}/${
|
|
20188
|
+
url: `${w0}/${A.value}/overview-report`
|
|
20144
20189
|
};
|
|
20145
20190
|
return g0.fetch(I);
|
|
20146
20191
|
} else
|
|
20147
20192
|
return Promise.reject(new Error("Business Id is not defined"));
|
|
20148
|
-
},
|
|
20149
|
-
const { businessId:
|
|
20150
|
-
if (
|
|
20193
|
+
}, dt = async () => {
|
|
20194
|
+
const { businessId: A } = c0($0());
|
|
20195
|
+
if (A) {
|
|
20151
20196
|
const I = {
|
|
20152
20197
|
fetchType: y0.Get,
|
|
20153
|
-
url: `${w0}/${
|
|
20198
|
+
url: `${w0}/${A.value}/config`
|
|
20154
20199
|
};
|
|
20155
20200
|
return g0.fetch(I);
|
|
20156
20201
|
} else
|
|
20157
20202
|
return Promise.reject(new Error("Business Id is not defined"));
|
|
20158
|
-
},
|
|
20159
|
-
const { businessId:
|
|
20160
|
-
if (
|
|
20203
|
+
}, Dt = "/report-settings", ct = async () => {
|
|
20204
|
+
const { businessId: A } = c0($0());
|
|
20205
|
+
if (A) {
|
|
20161
20206
|
const I = {
|
|
20162
20207
|
fetchType: y0.Get,
|
|
20163
|
-
url: `${
|
|
20208
|
+
url: `${Dt}/${A.value}/categories`
|
|
20164
20209
|
};
|
|
20165
20210
|
return g0.fetch(I);
|
|
20166
20211
|
} else
|
|
20167
20212
|
return Promise.reject(new Error("Business Id is not defined"));
|
|
20168
20213
|
};
|
|
20169
|
-
function
|
|
20170
|
-
const O = localStorage.getItem(
|
|
20214
|
+
function Z0(A, I = {}) {
|
|
20215
|
+
const O = localStorage.getItem(A);
|
|
20171
20216
|
return O === null && (I == null ? void 0 : I.fallback) !== void 0 ? I.fallback : O === null ? null : I.format ? I.format(O) : O;
|
|
20172
20217
|
}
|
|
20173
20218
|
const N0 = {
|
|
20174
|
-
get:
|
|
20175
|
-
getJson: (
|
|
20219
|
+
get: Z0,
|
|
20220
|
+
getJson: (A) => Z0(A, {
|
|
20176
20221
|
fallback: {},
|
|
20177
20222
|
format: (I) => JSON.parse(I)
|
|
20178
20223
|
}),
|
|
20179
|
-
getNumber: (
|
|
20224
|
+
getNumber: (A) => Z0(A, {
|
|
20180
20225
|
fallback: null,
|
|
20181
20226
|
format: (I) => Number(I)
|
|
20182
20227
|
}),
|
|
20183
20228
|
set: localStorage.setItem,
|
|
20184
|
-
setJson: (
|
|
20185
|
-
localStorage.setItem(
|
|
20229
|
+
setJson: (A, I) => {
|
|
20230
|
+
localStorage.setItem(A, JSON.stringify(I));
|
|
20186
20231
|
}
|
|
20187
|
-
},
|
|
20188
|
-
const
|
|
20232
|
+
}, ft = () => {
|
|
20233
|
+
const A = {
|
|
20189
20234
|
fetchType: y0.Get,
|
|
20190
20235
|
url: "/schemas"
|
|
20191
20236
|
};
|
|
20192
|
-
return g0.fetch(
|
|
20193
|
-
},
|
|
20194
|
-
const
|
|
20237
|
+
return g0.fetch(A);
|
|
20238
|
+
}, pt = "mf-reportschema-store", $t = z0(pt, () => {
|
|
20239
|
+
const A = D0([]), I = ye();
|
|
20195
20240
|
async function O() {
|
|
20196
20241
|
try {
|
|
20197
|
-
|
|
20242
|
+
A.value = await ft();
|
|
20198
20243
|
} catch (P) {
|
|
20199
20244
|
console.log(P), I.open({
|
|
20200
20245
|
title: "Get Schema Error",
|
|
@@ -20204,37 +20249,37 @@ const N0 = {
|
|
|
20204
20249
|
}
|
|
20205
20250
|
}
|
|
20206
20251
|
return {
|
|
20207
|
-
schemas:
|
|
20252
|
+
schemas: A,
|
|
20208
20253
|
getSchema: O
|
|
20209
20254
|
};
|
|
20210
20255
|
});
|
|
20211
|
-
async function
|
|
20256
|
+
async function yt(A, I) {
|
|
20212
20257
|
const { businessId: O } = c0($0());
|
|
20213
20258
|
if (!O.value)
|
|
20214
20259
|
return Promise.reject(new Error("Failed to grant permission. Business Id is not defined"));
|
|
20215
|
-
if (!
|
|
20260
|
+
if (!A || !I)
|
|
20216
20261
|
return Promise.reject(new Error("Failed to grant permission. Permission key or report label is not defined"));
|
|
20217
20262
|
const P = {
|
|
20218
20263
|
fetchType: y0.Post,
|
|
20219
20264
|
url: `/businesses/${O.value}/my-permissions/report-manage`,
|
|
20220
|
-
data: { permissionKey:
|
|
20265
|
+
data: { permissionKey: A, label: I }
|
|
20221
20266
|
};
|
|
20222
|
-
await
|
|
20267
|
+
await Me.fetch(P);
|
|
20223
20268
|
}
|
|
20224
|
-
const
|
|
20225
|
-
const { business:
|
|
20269
|
+
const mt = "mf-reportreport-store", W0 = z0(mt, () => {
|
|
20270
|
+
const { business: A, globalFilters: I } = c0(q0()), { schemas: O } = c0($t()), { flags: P } = c0(Re()), B = D0([]), J = D0([]), H = D0(0), q = ye(), U = H0(() => B.value.filter((c) => c.editable)), N = H0(() => B.value.filter((c) => !c.editable)), X = D0(!1), Y = D0(""), t0 = D0(), G = D0(), Z = H0(() => {
|
|
20226
20271
|
const c = P.value.find(
|
|
20227
|
-
(r) => r.key ===
|
|
20272
|
+
(r) => r.key === xe.report_portal_integration_custom_report
|
|
20228
20273
|
);
|
|
20229
20274
|
return typeof (c == null ? void 0 : c.value) == "number" ? c.value : null;
|
|
20230
|
-
}), { isReportPermissionEnabled: V } =
|
|
20275
|
+
}), { isReportPermissionEnabled: V } = Le(), u0 = H0(() => Z.value === null ? !0 : Z.value - U.value.length > 0);
|
|
20231
20276
|
async function s0() {
|
|
20232
|
-
return G.value = await
|
|
20277
|
+
return G.value = await _t(), G.value;
|
|
20233
20278
|
}
|
|
20234
20279
|
async function a0() {
|
|
20235
20280
|
var c;
|
|
20236
20281
|
try {
|
|
20237
|
-
B.value = await
|
|
20282
|
+
B.value = await at(), J.value = await ct(), B.value.find((e) => e.id === Y.value) || (Y.value = ((c = B.value.find((e) => e.isDefault)) == null ? void 0 : c.id) || B.value[0].id);
|
|
20238
20283
|
} catch (r) {
|
|
20239
20284
|
console.log(r), q.open({
|
|
20240
20285
|
title: "Report Fetch Error",
|
|
@@ -20251,7 +20296,7 @@ const yt = "mf-reportreport-store", G0 = Y0(yt, () => {
|
|
|
20251
20296
|
const r = (e = O.value.find((n) => n.name === c.schemaName)) == null ? void 0 : e.fields.find((n) => n.name === c.name);
|
|
20252
20297
|
return r == null ? void 0 : r.type;
|
|
20253
20298
|
}
|
|
20254
|
-
|
|
20299
|
+
ne(
|
|
20255
20300
|
() => {
|
|
20256
20301
|
var c;
|
|
20257
20302
|
return (c = l0.value) == null ? void 0 : c.globalFilters;
|
|
@@ -20265,18 +20310,18 @@ const yt = "mf-reportreport-store", G0 = Y0(yt, () => {
|
|
|
20265
20310
|
},
|
|
20266
20311
|
{ deep: !0 }
|
|
20267
20312
|
);
|
|
20268
|
-
const p0 = D0(), Q = D0(0), z = D0(),
|
|
20313
|
+
const p0 = D0(), Q = D0(0), z = D0(), r0 = D0(null), e0 = D0(null), i0 = D0(!1), W = D0(!1), n0 = D0(!1);
|
|
20269
20314
|
async function _0(c) {
|
|
20270
20315
|
const r = U.value.findIndex((n) => n.id === c.id);
|
|
20271
20316
|
let e;
|
|
20272
20317
|
if (r >= 0)
|
|
20273
|
-
e = await at(c);
|
|
20274
|
-
else {
|
|
20275
20318
|
e = await ut(c);
|
|
20319
|
+
else {
|
|
20320
|
+
e = await st(c);
|
|
20276
20321
|
try {
|
|
20277
20322
|
if (V.value) {
|
|
20278
|
-
await
|
|
20279
|
-
const n =
|
|
20323
|
+
await yt(e.id, e.name);
|
|
20324
|
+
const n = He(), { businessId: i } = c0($0());
|
|
20280
20325
|
await n.fetchUserPermissions(void 0, i.value);
|
|
20281
20326
|
}
|
|
20282
20327
|
} catch (n) {
|
|
@@ -20288,11 +20333,11 @@ const yt = "mf-reportreport-store", G0 = Y0(yt, () => {
|
|
|
20288
20333
|
}
|
|
20289
20334
|
return u(e.id), await a0(), e;
|
|
20290
20335
|
}
|
|
20291
|
-
async function
|
|
20292
|
-
await
|
|
20336
|
+
async function K(c) {
|
|
20337
|
+
await ot(c), await a0();
|
|
20293
20338
|
}
|
|
20294
20339
|
async function t(c) {
|
|
20295
|
-
await
|
|
20340
|
+
await lt(c), await s0();
|
|
20296
20341
|
}
|
|
20297
20342
|
function u(c) {
|
|
20298
20343
|
Y.value = c;
|
|
@@ -20300,8 +20345,8 @@ const yt = "mf-reportreport-store", G0 = Y0(yt, () => {
|
|
|
20300
20345
|
const _ = D0(null);
|
|
20301
20346
|
function $() {
|
|
20302
20347
|
var c;
|
|
20303
|
-
if ((c =
|
|
20304
|
-
const r = N0.getJson("pinReport")[
|
|
20348
|
+
if ((c = A.value) != null && c._id) {
|
|
20349
|
+
const r = N0.getJson("pinReport")[A.value._id];
|
|
20305
20350
|
if ((r == null ? void 0 : r.length) > 0) {
|
|
20306
20351
|
_.value = r;
|
|
20307
20352
|
return;
|
|
@@ -20309,28 +20354,28 @@ const yt = "mf-reportreport-store", G0 = Y0(yt, () => {
|
|
|
20309
20354
|
}
|
|
20310
20355
|
_.value = null;
|
|
20311
20356
|
}
|
|
20312
|
-
function
|
|
20357
|
+
function h(c) {
|
|
20313
20358
|
var r;
|
|
20314
|
-
if (
|
|
20359
|
+
if (A.value && c) {
|
|
20315
20360
|
const e = N0.getJson("pinReport");
|
|
20316
|
-
e[(r =
|
|
20361
|
+
e[(r = A.value) == null ? void 0 : r._id] ? e[A.value._id].push(c.id) : e[A.value._id] = [c.id], N0.setJson("pinReport", e), $();
|
|
20317
20362
|
}
|
|
20318
20363
|
}
|
|
20319
20364
|
function b(c) {
|
|
20320
|
-
if (
|
|
20365
|
+
if (A.value) {
|
|
20321
20366
|
const r = N0.getJson("pinReport");
|
|
20322
|
-
r[
|
|
20367
|
+
r[A.value._id].length === 1 ? r[A.value._id] = [] : r[A.value._id] = r[A.value._id].filter(
|
|
20323
20368
|
(e) => e !== c
|
|
20324
20369
|
), N0.setJson("pinReport", r), $();
|
|
20325
20370
|
}
|
|
20326
20371
|
}
|
|
20327
20372
|
async function T() {
|
|
20328
|
-
return await
|
|
20373
|
+
return await dt();
|
|
20329
20374
|
}
|
|
20330
20375
|
return {
|
|
20331
20376
|
isOpenDownloadDialog: i0,
|
|
20332
20377
|
isOpenFeedbackDialog: W,
|
|
20333
|
-
isOpenEmailDialog:
|
|
20378
|
+
isOpenEmailDialog: n0,
|
|
20334
20379
|
currentSelectWidgetType: t0,
|
|
20335
20380
|
reports: B,
|
|
20336
20381
|
categories: J,
|
|
@@ -20338,7 +20383,7 @@ const yt = "mf-reportreport-store", G0 = Y0(yt, () => {
|
|
|
20338
20383
|
editingReport: p0,
|
|
20339
20384
|
editingTileIndex: Q,
|
|
20340
20385
|
editingTile: z,
|
|
20341
|
-
editingGlobalFilterIndex:
|
|
20386
|
+
editingGlobalFilterIndex: r0,
|
|
20342
20387
|
editingGlobalFilter: e0,
|
|
20343
20388
|
currentReportId: Y,
|
|
20344
20389
|
editableReports: U,
|
|
@@ -20347,38 +20392,38 @@ const yt = "mf-reportreport-store", G0 = Y0(yt, () => {
|
|
|
20347
20392
|
overviewReport: G,
|
|
20348
20393
|
pinReport: _,
|
|
20349
20394
|
scrollPositionY: H,
|
|
20350
|
-
customReportQuota:
|
|
20395
|
+
customReportQuota: Z,
|
|
20351
20396
|
canCreateCustomReport: u0,
|
|
20352
20397
|
createOrUpdateReport: _0,
|
|
20353
|
-
removeReport:
|
|
20398
|
+
removeReport: K,
|
|
20354
20399
|
updateCurrentReportId: u,
|
|
20355
20400
|
getReports: a0,
|
|
20356
20401
|
updateDefaultReport: t,
|
|
20357
20402
|
getOverviewReport: s0,
|
|
20358
20403
|
refreshPinReport: $,
|
|
20359
|
-
cachePinReport:
|
|
20404
|
+
cachePinReport: h,
|
|
20360
20405
|
clearPinReport: b,
|
|
20361
20406
|
getReportConfig: T
|
|
20362
20407
|
};
|
|
20363
20408
|
});
|
|
20364
|
-
var
|
|
20365
|
-
const
|
|
20366
|
-
function
|
|
20367
|
-
return new Worker(
|
|
20409
|
+
var Ae = /* @__PURE__ */ ((A) => (A.generating = "GENERATING", A.completed = "COMPLETED", A.failed = "FAILED", A.canceled = "CANCELLED", A))(Ae || {});
|
|
20410
|
+
const gt = "/assets/formatChartData.worker-CVp--g2e.js", ee = /* @__PURE__ */ new Map();
|
|
20411
|
+
function le(A) {
|
|
20412
|
+
return new Worker(A, { type: "module" });
|
|
20368
20413
|
}
|
|
20369
|
-
async function
|
|
20370
|
-
if (
|
|
20371
|
-
return
|
|
20372
|
-
let I =
|
|
20414
|
+
async function ht(A) {
|
|
20415
|
+
if (ee.has(A))
|
|
20416
|
+
return le(ee.get(A));
|
|
20417
|
+
let I = A;
|
|
20373
20418
|
if (location.hostname !== new URL(import.meta.url).hostname) {
|
|
20374
|
-
const B = new URL(
|
|
20419
|
+
const B = new URL(A.replace(/^\//, ""), import.meta.url).href, J = await fetch(B).then((q) => q.text()), H = new Blob([J], { type: "application/javascript" });
|
|
20375
20420
|
I = URL.createObjectURL(H);
|
|
20376
20421
|
}
|
|
20377
|
-
const P =
|
|
20378
|
-
return
|
|
20422
|
+
const P = le(I);
|
|
20423
|
+
return ee.set(A, I), P;
|
|
20379
20424
|
}
|
|
20380
|
-
async function
|
|
20381
|
-
const O = await
|
|
20425
|
+
async function St(A, I) {
|
|
20426
|
+
const O = await ht(A);
|
|
20382
20427
|
return O.postMessage(I), await new Promise((P) => {
|
|
20383
20428
|
O.onmessage = async (B) => {
|
|
20384
20429
|
const J = B.data;
|
|
@@ -20386,8 +20431,8 @@ async function ht(E, I) {
|
|
|
20386
20431
|
};
|
|
20387
20432
|
});
|
|
20388
20433
|
}
|
|
20389
|
-
const
|
|
20390
|
-
const
|
|
20434
|
+
const At = "mf-reportwidget-size", Ee = z0(At, () => {
|
|
20435
|
+
const A = D0([]);
|
|
20391
20436
|
function I(O, P) {
|
|
20392
20437
|
var B;
|
|
20393
20438
|
try {
|
|
@@ -20399,121 +20444,121 @@ const St = "mf-reportwidget-size", Ae = Y0(St, () => {
|
|
|
20399
20444
|
J = { width: Math.round(U.width), height: Math.round(U.height) };
|
|
20400
20445
|
}
|
|
20401
20446
|
if (J && J.width > 0 && J.height > 0)
|
|
20402
|
-
return typeof P == "number" && (
|
|
20447
|
+
return typeof P == "number" && (A.value[P] = J), J;
|
|
20403
20448
|
} catch (J) {
|
|
20404
20449
|
console.log(J);
|
|
20405
20450
|
}
|
|
20406
20451
|
}
|
|
20407
|
-
return { sizes:
|
|
20408
|
-
}),
|
|
20409
|
-
const
|
|
20452
|
+
return { sizes: A, extractChartSize: I };
|
|
20453
|
+
}), Et = "mf-reportreport-sort-store", Te = z0(Et, () => {
|
|
20454
|
+
const A = D0([]);
|
|
20410
20455
|
function I(B, J) {
|
|
20411
20456
|
if (B == null) return;
|
|
20412
|
-
const H = Array.isArray(J) ? J.filter((N) => N && N.key) : [], q =
|
|
20413
|
-
q !== -1 ?
|
|
20457
|
+
const H = Array.isArray(J) ? J.filter((N) => N && N.key) : [], q = A.value.findIndex((N) => N.tileIndex === B), U = { tileIndex: B, sorts: H };
|
|
20458
|
+
q !== -1 ? A.value.splice(q, 1, U) : A.value.push(U);
|
|
20414
20459
|
}
|
|
20415
20460
|
function O(B) {
|
|
20416
20461
|
var J;
|
|
20417
|
-
return B == null ? [] : ((J =
|
|
20462
|
+
return B == null ? [] : ((J = A.value.find((H) => H.tileIndex === B)) == null ? void 0 : J.sorts) ?? [];
|
|
20418
20463
|
}
|
|
20419
20464
|
function P(B) {
|
|
20420
|
-
typeof B == "number" ?
|
|
20465
|
+
typeof B == "number" ? A.value = A.value.filter((J) => J.tileIndex !== B) : A.value = [];
|
|
20421
20466
|
}
|
|
20422
|
-
return { tileSort:
|
|
20467
|
+
return { tileSort: A, setTileSorts: I, getTileSorts: O, clearTileSorts: P };
|
|
20423
20468
|
});
|
|
20424
|
-
function
|
|
20469
|
+
function Ce(A = []) {
|
|
20425
20470
|
return Array.from(
|
|
20426
|
-
new Set(
|
|
20471
|
+
new Set(A.map((I) => I === "" ? "NULL" : I))
|
|
20427
20472
|
);
|
|
20428
20473
|
}
|
|
20429
|
-
function
|
|
20474
|
+
function Tt(A) {
|
|
20430
20475
|
return [
|
|
20431
|
-
|
|
20432
|
-
|
|
20433
|
-
|
|
20434
|
-
|
|
20435
|
-
|
|
20476
|
+
A.schemaName,
|
|
20477
|
+
A.name,
|
|
20478
|
+
A.option ?? "",
|
|
20479
|
+
A.dataFormula ?? "",
|
|
20480
|
+
A.operator
|
|
20436
20481
|
].join(":");
|
|
20437
20482
|
}
|
|
20438
|
-
function
|
|
20483
|
+
function Ct(A) {
|
|
20439
20484
|
const I = (O, P) => E0().set("hour", O).set("minute", P).set("second", 0).set("millisecond", 0).toISOString();
|
|
20440
|
-
return !
|
|
20441
|
-
I(
|
|
20442
|
-
I(
|
|
20485
|
+
return !A.startTime || !A.endTime ? [] : [
|
|
20486
|
+
I(A.startTime.hour, A.startTime.minute),
|
|
20487
|
+
I(A.endTime.hour, A.endTime.minute)
|
|
20443
20488
|
];
|
|
20444
20489
|
}
|
|
20445
|
-
function
|
|
20490
|
+
function bt(A, I) {
|
|
20446
20491
|
return {
|
|
20447
|
-
schemaName:
|
|
20448
|
-
name:
|
|
20492
|
+
schemaName: A.schemaName,
|
|
20493
|
+
name: A.name,
|
|
20449
20494
|
operator: I.operator,
|
|
20450
|
-
option:
|
|
20451
|
-
values:
|
|
20452
|
-
dataFormula:
|
|
20495
|
+
option: A.option ?? null,
|
|
20496
|
+
values: Ce(I.values),
|
|
20497
|
+
dataFormula: A.dataFormula,
|
|
20453
20498
|
isGlobalFilter: !0
|
|
20454
20499
|
};
|
|
20455
20500
|
}
|
|
20456
|
-
function
|
|
20457
|
-
const O =
|
|
20501
|
+
function It(A, I) {
|
|
20502
|
+
const O = Ct(I);
|
|
20458
20503
|
return O.length !== 2 ? null : {
|
|
20459
|
-
schemaName:
|
|
20460
|
-
name:
|
|
20461
|
-
operator:
|
|
20462
|
-
option:
|
|
20504
|
+
schemaName: A.schemaName,
|
|
20505
|
+
name: A.name,
|
|
20506
|
+
operator: ae.Between,
|
|
20507
|
+
option: A.option ?? U0.TimeOfDay,
|
|
20463
20508
|
values: O,
|
|
20464
|
-
dataFormula:
|
|
20509
|
+
dataFormula: A.dataFormula,
|
|
20465
20510
|
isGlobalFilter: !0
|
|
20466
20511
|
};
|
|
20467
20512
|
}
|
|
20468
|
-
function
|
|
20513
|
+
function Ft(A) {
|
|
20469
20514
|
var P, B, J, H;
|
|
20470
20515
|
const I = Array.from(
|
|
20471
|
-
new Set((
|
|
20516
|
+
new Set((A.values ?? []).map((q) => q === "" ? "NULL" : q))
|
|
20472
20517
|
);
|
|
20473
20518
|
if (I.length === 1 && String(I[0]) === "(EMPTY)") {
|
|
20474
20519
|
const q = Object.values(U0).includes(
|
|
20475
|
-
String(
|
|
20476
|
-
), U =
|
|
20520
|
+
String(A.option ?? "")
|
|
20521
|
+
), U = A.option === U0.TimeOfDay ? ["1000-01-01T23:59:59.999Z", "1000-01-01T00:00:00.000Z"] : [q ? "-1" : "(EMPTY)"];
|
|
20477
20522
|
return [
|
|
20478
20523
|
{
|
|
20479
|
-
schemaName:
|
|
20480
|
-
name:
|
|
20481
|
-
operator:
|
|
20482
|
-
option:
|
|
20524
|
+
schemaName: A.schemaName,
|
|
20525
|
+
name: A.name,
|
|
20526
|
+
operator: A.operator,
|
|
20527
|
+
option: A.option ?? null,
|
|
20483
20528
|
values: U,
|
|
20484
|
-
dataFormula:
|
|
20529
|
+
dataFormula: A.dataFormula,
|
|
20485
20530
|
isGlobalFilter: !0
|
|
20486
20531
|
}
|
|
20487
20532
|
];
|
|
20488
20533
|
}
|
|
20489
|
-
if ((((P =
|
|
20534
|
+
if ((((P = A.customTimeRanges) == null ? void 0 : P.length) ?? 0) > 0) {
|
|
20490
20535
|
const q = new Set(I.map((U) => String(U)));
|
|
20491
|
-
return ((B =
|
|
20536
|
+
return ((B = A.customTimeRanges) == null ? void 0 : B.filter((U) => {
|
|
20492
20537
|
const N = String(U.name ?? "");
|
|
20493
20538
|
return q.has(N);
|
|
20494
|
-
}).map((U) =>
|
|
20539
|
+
}).map((U) => It(A, U)).filter((U) => !!U)) ?? [];
|
|
20495
20540
|
}
|
|
20496
|
-
if ((((J =
|
|
20541
|
+
if ((((J = A.customOptions) == null ? void 0 : J.length) ?? 0) > 0) {
|
|
20497
20542
|
const q = new Set(I.map((U) => String(U)));
|
|
20498
|
-
return ((H =
|
|
20543
|
+
return ((H = A.customOptions) == null ? void 0 : H.filter((U) => {
|
|
20499
20544
|
const N = String(U.label ?? "");
|
|
20500
20545
|
return q.has(N);
|
|
20501
|
-
}).map((U) =>
|
|
20546
|
+
}).map((U) => bt(A, U)).filter((U) => Array.isArray(U.values) && U.values.length > 0)) ?? [];
|
|
20502
20547
|
}
|
|
20503
20548
|
return I.length === 0 ? [] : [
|
|
20504
20549
|
{
|
|
20505
|
-
schemaName:
|
|
20506
|
-
name:
|
|
20507
|
-
operator:
|
|
20508
|
-
option:
|
|
20550
|
+
schemaName: A.schemaName,
|
|
20551
|
+
name: A.name,
|
|
20552
|
+
operator: A.operator,
|
|
20553
|
+
option: A.option ?? null,
|
|
20509
20554
|
values: I,
|
|
20510
|
-
dataFormula:
|
|
20555
|
+
dataFormula: A.dataFormula,
|
|
20511
20556
|
isGlobalFilter: !0
|
|
20512
20557
|
}
|
|
20513
20558
|
];
|
|
20514
20559
|
}
|
|
20515
|
-
function
|
|
20516
|
-
originalFilters:
|
|
20560
|
+
function _e({
|
|
20561
|
+
originalFilters: A,
|
|
20517
20562
|
globalFilters: I,
|
|
20518
20563
|
schemaNames: O
|
|
20519
20564
|
}) {
|
|
@@ -20522,13 +20567,13 @@ function le({
|
|
|
20522
20567
|
return;
|
|
20523
20568
|
const X = {
|
|
20524
20569
|
...N,
|
|
20525
|
-
values:
|
|
20570
|
+
values: Ce(N.values)
|
|
20526
20571
|
};
|
|
20527
|
-
if (X.option === U0.TimeOfDay && X.operator ===
|
|
20572
|
+
if (X.option === U0.TimeOfDay && X.operator === ae.Between) {
|
|
20528
20573
|
B.push(X);
|
|
20529
20574
|
return;
|
|
20530
20575
|
}
|
|
20531
|
-
const t0 =
|
|
20576
|
+
const t0 = Tt(X), G = P.get(t0);
|
|
20532
20577
|
if (!G) {
|
|
20533
20578
|
P.set(t0, X);
|
|
20534
20579
|
return;
|
|
@@ -20538,19 +20583,19 @@ function le({
|
|
|
20538
20583
|
...X.values
|
|
20539
20584
|
], P.set(t0, G);
|
|
20540
20585
|
};
|
|
20541
|
-
return
|
|
20586
|
+
return A.forEach(U), q.forEach(U), [...Array.from(P.values()), ...B];
|
|
20542
20587
|
}
|
|
20543
|
-
function
|
|
20588
|
+
function j0(A, I, O) {
|
|
20544
20589
|
var J;
|
|
20545
|
-
const P = JSON.parse(JSON.stringify(
|
|
20590
|
+
const P = JSON.parse(JSON.stringify(A)), B = I.filter((H) => {
|
|
20546
20591
|
var q;
|
|
20547
20592
|
return (q = H.tileIds) == null ? void 0 : q.includes(O);
|
|
20548
|
-
}).flatMap((H) =>
|
|
20593
|
+
}).flatMap((H) => Ft(H));
|
|
20549
20594
|
return {
|
|
20550
20595
|
...P,
|
|
20551
20596
|
config: {
|
|
20552
20597
|
...P.config,
|
|
20553
|
-
filters:
|
|
20598
|
+
filters: _e({
|
|
20554
20599
|
originalFilters: P.config.filters ?? [],
|
|
20555
20600
|
globalFilters: B ?? [],
|
|
20556
20601
|
schemaNames: P.config.schemaNames
|
|
@@ -20559,7 +20604,7 @@ function z0(E, I, O) {
|
|
|
20559
20604
|
var U;
|
|
20560
20605
|
return {
|
|
20561
20606
|
...H,
|
|
20562
|
-
filters:
|
|
20607
|
+
filters: _e({
|
|
20563
20608
|
originalFilters: H.filters ?? [],
|
|
20564
20609
|
globalFilters: B ?? [],
|
|
20565
20610
|
schemaNames: (U = P.config.joinDatasources) == null ? void 0 : U[q].schemaNames
|
|
@@ -20569,22 +20614,22 @@ function z0(E, I, O) {
|
|
|
20569
20614
|
}
|
|
20570
20615
|
};
|
|
20571
20616
|
}
|
|
20572
|
-
function
|
|
20573
|
-
return (
|
|
20617
|
+
function Mt(A) {
|
|
20618
|
+
return (A == null ? void 0 : A.queryVersion) === "v2";
|
|
20574
20619
|
}
|
|
20575
|
-
async function
|
|
20576
|
-
for (let O = 0; O <
|
|
20620
|
+
async function be(A, I) {
|
|
20621
|
+
for (let O = 0; O < A.length; O++)
|
|
20577
20622
|
try {
|
|
20578
|
-
return await
|
|
20623
|
+
return await A[O]();
|
|
20579
20624
|
} catch (P) {
|
|
20580
|
-
if (P.message === "Unauthorized" || O ===
|
|
20625
|
+
if (P.message === "Unauthorized" || O === A.length - 1) throw P;
|
|
20581
20626
|
await new Promise((B) => setTimeout(B, I));
|
|
20582
20627
|
}
|
|
20583
20628
|
throw new Error("No callback");
|
|
20584
20629
|
}
|
|
20585
|
-
const
|
|
20630
|
+
const Rt = async (A, I, O) => {
|
|
20586
20631
|
var s0, a0, l0, d0;
|
|
20587
|
-
const { businessId: P, country: B } = c0($0()), { currentReport: J } =
|
|
20632
|
+
const { businessId: P, country: B } = c0($0()), { currentReport: J } = W0(), {
|
|
20588
20633
|
selectedRestaurantIds: H,
|
|
20589
20634
|
selectedWarehouseIds: q,
|
|
20590
20635
|
selectedLocationIds: U,
|
|
@@ -20596,11 +20641,11 @@ const Mt = async (E, I, O) => {
|
|
|
20596
20641
|
} = q0();
|
|
20597
20642
|
if (U.length === 0)
|
|
20598
20643
|
return null;
|
|
20599
|
-
const
|
|
20644
|
+
const Z = j0(A, t0, O ?? ""), V = {
|
|
20600
20645
|
fetchType: y0.Post,
|
|
20601
20646
|
url: `/${P.value}/v2/query`,
|
|
20602
20647
|
data: {
|
|
20603
|
-
widget:
|
|
20648
|
+
widget: Z,
|
|
20604
20649
|
dateRange: [N.startDate, N.endDate],
|
|
20605
20650
|
compareDateRange: X.startDate && X.endDate ? [X.startDate, X.endDate] : void 0,
|
|
20606
20651
|
timeRange: [
|
|
@@ -20619,12 +20664,12 @@ const Mt = async (E, I, O) => {
|
|
|
20619
20664
|
signal: I
|
|
20620
20665
|
}
|
|
20621
20666
|
};
|
|
20622
|
-
return await
|
|
20623
|
-
},
|
|
20667
|
+
return await be([() => g0.fetch(V)], 2e3);
|
|
20668
|
+
}, er = async (A, I, O) => {
|
|
20624
20669
|
var a0, l0, d0, p0;
|
|
20625
|
-
const { businessId: P, country: B } = c0($0()), { currentReport: J } =
|
|
20626
|
-
if (
|
|
20627
|
-
return
|
|
20670
|
+
const { businessId: P, country: B } = c0($0()), { currentReport: J } = W0();
|
|
20671
|
+
if (Mt(J))
|
|
20672
|
+
return Rt(A, I, O);
|
|
20628
20673
|
const {
|
|
20629
20674
|
selectedRestaurantIds: H,
|
|
20630
20675
|
selectedWarehouseIds: q,
|
|
@@ -20637,11 +20682,11 @@ const Mt = async (E, I, O) => {
|
|
|
20637
20682
|
} = q0();
|
|
20638
20683
|
if (U.length === 0)
|
|
20639
20684
|
return null;
|
|
20640
|
-
const
|
|
20685
|
+
const Z = j0(A, t0, O ?? ""), V = {
|
|
20641
20686
|
fetchType: y0.Post,
|
|
20642
20687
|
url: `/${P.value}/postgres-query`,
|
|
20643
|
-
data:
|
|
20644
|
-
widget:
|
|
20688
|
+
data: ie.getQueryRequests({
|
|
20689
|
+
widget: Z,
|
|
20645
20690
|
dateRange: [N.startDate, N.endDate],
|
|
20646
20691
|
compareDateRange: X.startDate && X.endDate ? [X.startDate, X.endDate] : void 0,
|
|
20647
20692
|
timeRange: [
|
|
@@ -20653,10 +20698,10 @@ const Mt = async (E, I, O) => {
|
|
|
20653
20698
|
warehouseIds: q,
|
|
20654
20699
|
timezone: G
|
|
20655
20700
|
}).map((Q, z) => {
|
|
20656
|
-
const
|
|
20701
|
+
const r0 = z === 0 ? 3e3 : 12e3;
|
|
20657
20702
|
return {
|
|
20658
20703
|
...Q,
|
|
20659
|
-
limit: H.length > 50 ?
|
|
20704
|
+
limit: H.length > 50 ? A.config.limit || r0 : A.config.limit,
|
|
20660
20705
|
skipStringSpaceGrouping: !!(J != null && J.batch),
|
|
20661
20706
|
reportId: J == null ? void 0 : J.id
|
|
20662
20707
|
};
|
|
@@ -20667,16 +20712,16 @@ const Mt = async (E, I, O) => {
|
|
|
20667
20712
|
}
|
|
20668
20713
|
}, u0 = [() => g0.fetch(V)];
|
|
20669
20714
|
H.length < 50 && u0.push(() => g0.fetch(V)), u0.push(() => (V.url = V.url.replace("postgres-query", "query"), g0.fetch(V)));
|
|
20670
|
-
const s0 = await
|
|
20671
|
-
return (await
|
|
20715
|
+
const s0 = await be(u0, 2e3);
|
|
20716
|
+
return (await St(gt, {
|
|
20672
20717
|
responses: s0,
|
|
20673
|
-
widget: JSON.parse(JSON.stringify(
|
|
20718
|
+
widget: JSON.parse(JSON.stringify(A)),
|
|
20674
20719
|
country: B.value,
|
|
20675
20720
|
timezone: G
|
|
20676
20721
|
})).data;
|
|
20677
20722
|
};
|
|
20678
|
-
function
|
|
20679
|
-
const I =
|
|
20723
|
+
function Ie(A) {
|
|
20724
|
+
const I = A.config;
|
|
20680
20725
|
return {
|
|
20681
20726
|
showTitle: I.showTitle,
|
|
20682
20727
|
titleFontSize: I.titleFontSize,
|
|
@@ -20715,15 +20760,15 @@ function be(E) {
|
|
|
20715
20760
|
legendMaxWidth: I.legendMaxWidth
|
|
20716
20761
|
};
|
|
20717
20762
|
}
|
|
20718
|
-
function
|
|
20719
|
-
const I =
|
|
20763
|
+
function Fe(A) {
|
|
20764
|
+
const I = A.config;
|
|
20720
20765
|
return {
|
|
20721
20766
|
rowHeight: I.rowHeight,
|
|
20722
20767
|
colWidths: I.colWidths
|
|
20723
20768
|
};
|
|
20724
20769
|
}
|
|
20725
|
-
const
|
|
20726
|
-
reportType:
|
|
20770
|
+
const tr = async ({
|
|
20771
|
+
reportType: A,
|
|
20727
20772
|
index: I,
|
|
20728
20773
|
orientationTypes: O,
|
|
20729
20774
|
isCombinedLocationLayout: P,
|
|
@@ -20731,23 +20776,23 @@ const er = async ({
|
|
|
20731
20776
|
timeRange: J,
|
|
20732
20777
|
dateRange: H
|
|
20733
20778
|
}) => {
|
|
20734
|
-
const { businessId: q } = c0($0()), { restaurants: U, warehouses: N, globalFilters: X, timezone: Y } = q0(), { currentReport: t0, overviewReport: G } =
|
|
20779
|
+
const { businessId: q } = c0($0()), { restaurants: U, warehouses: N, globalFilters: X, timezone: Y } = q0(), { currentReport: t0, overviewReport: G } = W0(), { selectedNavigationTab: Z } = ce(), { sizes: V } = Ee(), { getTileSorts: u0 } = Te();
|
|
20735
20780
|
let s0 = t0 == null ? void 0 : t0.id, a0 = (t0 == null ? void 0 : t0.tiles) ?? [];
|
|
20736
|
-
|
|
20737
|
-
const l0 = a0.filter((i0, W) => typeof I == "number" ? W === I : !0).map((i0) =>
|
|
20781
|
+
Z === "overview" && G && (s0 = G == null ? void 0 : G.id, a0 = (G == null ? void 0 : G.tiles) ?? []);
|
|
20782
|
+
const l0 = a0.filter((i0, W) => typeof I == "number" ? W === I : !0).map((i0) => j0(i0.widget, X, i0.id)), d0 = {
|
|
20738
20783
|
fetchType: y0.Post,
|
|
20739
20784
|
url: `/${q.value}/file?lang=${P0()}`,
|
|
20740
20785
|
data: {
|
|
20741
20786
|
configs: [
|
|
20742
20787
|
...l0.map((i0, W) => {
|
|
20743
|
-
var _0,
|
|
20744
|
-
const
|
|
20788
|
+
var _0, K, t, u;
|
|
20789
|
+
const n0 = V[I ?? W];
|
|
20745
20790
|
return {
|
|
20746
|
-
requests:
|
|
20791
|
+
requests: ie.getQueryRequests({
|
|
20747
20792
|
widget: i0,
|
|
20748
20793
|
dateRange: [H.startDate, H.endDate],
|
|
20749
20794
|
timeRange: [
|
|
20750
|
-
E0().tz(Y).set("hour", Number((_0 = J.start) == null ? void 0 : _0.hour)).set("minute", Number((
|
|
20795
|
+
E0().tz(Y).set("hour", Number((_0 = J.start) == null ? void 0 : _0.hour)).set("minute", Number((K = J.start) == null ? void 0 : K.minute)).toISOString(),
|
|
20751
20796
|
E0().tz(Y).set("hour", Number((t = J.end) == null ? void 0 : t.hour)).set("minute", Number((u = J.end) == null ? void 0 : u.minute)).toISOString()
|
|
20752
20797
|
],
|
|
20753
20798
|
businessIds: q ? [q.value] : [],
|
|
@@ -20761,16 +20806,16 @@ const er = async ({
|
|
|
20761
20806
|
}),
|
|
20762
20807
|
index: I || W,
|
|
20763
20808
|
drillDimension: null,
|
|
20764
|
-
chartWidth: (
|
|
20765
|
-
chartHeight: (
|
|
20766
|
-
...be(i0),
|
|
20809
|
+
chartWidth: (n0 == null ? void 0 : n0.width) ?? i0.config.chartWidth,
|
|
20810
|
+
chartHeight: (n0 == null ? void 0 : n0.height) ?? i0.config.chartHeight,
|
|
20767
20811
|
...Ie(i0),
|
|
20812
|
+
...Fe(i0),
|
|
20768
20813
|
globalSorts: u0(I ?? W)
|
|
20769
20814
|
};
|
|
20770
20815
|
})
|
|
20771
20816
|
],
|
|
20772
20817
|
reportId: s0,
|
|
20773
|
-
type:
|
|
20818
|
+
type: A,
|
|
20774
20819
|
orientationTypes: O,
|
|
20775
20820
|
isCombinedLocationLayout: P
|
|
20776
20821
|
},
|
|
@@ -20778,10 +20823,10 @@ const er = async ({
|
|
|
20778
20823
|
responseType: "arraybuffer",
|
|
20779
20824
|
timeout: 1e3 * 60 * 60 * 24
|
|
20780
20825
|
}
|
|
20781
|
-
}, { headers: p0, data: Q } = await
|
|
20782
|
-
e0.href =
|
|
20783
|
-
},
|
|
20784
|
-
emails:
|
|
20826
|
+
}, { headers: p0, data: Q } = await re.rawFetch(d0), z = p0["content-disposition"].split("filename=")[1].replaceAll('"', ""), r0 = window.URL.createObjectURL(new Blob([new Uint8Array(Q).buffer])), e0 = document.createElement("a");
|
|
20827
|
+
e0.href = r0, e0.setAttribute("download", decodeURIComponent(z)), document.body.appendChild(e0), e0.click(), e0.remove();
|
|
20828
|
+
}, rr = async ({
|
|
20829
|
+
emails: A,
|
|
20785
20830
|
types: I,
|
|
20786
20831
|
dateRange: O,
|
|
20787
20832
|
timeRange: P,
|
|
@@ -20789,48 +20834,48 @@ const er = async ({
|
|
|
20789
20834
|
orientationTypes: J,
|
|
20790
20835
|
isCombinedLocationLayout: H
|
|
20791
20836
|
}) => {
|
|
20792
|
-
const { businessId: q } = c0($0()), { currentReport: U, overviewReport: N } =
|
|
20793
|
-
if (
|
|
20837
|
+
const { businessId: q } = c0($0()), { currentReport: U, overviewReport: N } = W0(), { selectedNavigationTab: X } = ce(), { restaurants: Y, warehouses: t0, globalFilters: G, timezone: Z } = q0(), { sizes: V } = Ee(), { getTileSorts: u0 } = Te();
|
|
20838
|
+
if (A.length === 0) {
|
|
20794
20839
|
console.error("No email addresses provided.");
|
|
20795
20840
|
return;
|
|
20796
20841
|
}
|
|
20797
20842
|
let s0 = (U == null ? void 0 : U.id) || "", a0 = (U == null ? void 0 : U.name) || "", l0 = (U == null ? void 0 : U.tiles) ?? [];
|
|
20798
20843
|
X === "overview" && N && (s0 = N == null ? void 0 : N.id, a0 = N.name, l0 = (N == null ? void 0 : N.tiles) ?? []);
|
|
20799
|
-
const d0 = l0.map((Q) =>
|
|
20844
|
+
const d0 = l0.map((Q) => j0(Q.widget, G, Q.id)), p0 = {
|
|
20800
20845
|
businessId: q.value,
|
|
20801
|
-
status:
|
|
20846
|
+
status: Ae.generating,
|
|
20802
20847
|
dateRange: {
|
|
20803
20848
|
start: O.startDate,
|
|
20804
20849
|
end: O.endDate
|
|
20805
20850
|
},
|
|
20806
20851
|
reportName: a0,
|
|
20807
|
-
emails:
|
|
20852
|
+
emails: A,
|
|
20808
20853
|
configs: d0.map((Q, z) => {
|
|
20809
|
-
var e0, i0, W,
|
|
20810
|
-
const
|
|
20854
|
+
var e0, i0, W, n0;
|
|
20855
|
+
const r0 = V[z];
|
|
20811
20856
|
return {
|
|
20812
|
-
requests:
|
|
20857
|
+
requests: ie.getQueryRequests({
|
|
20813
20858
|
widget: Q,
|
|
20814
20859
|
dateRange: [O.startDate, O.endDate],
|
|
20815
20860
|
timeRange: [
|
|
20816
|
-
E0().tz(
|
|
20817
|
-
E0().tz(
|
|
20861
|
+
E0().tz(Z).hour(Number((e0 = P.start) == null ? void 0 : e0.hour)).minute(Number((i0 = P.start) == null ? void 0 : i0.minute)).toISOString(),
|
|
20862
|
+
E0().tz(Z).hour(Number((W = P.end) == null ? void 0 : W.hour)).minute(Number((n0 = P.end) == null ? void 0 : n0.minute)).endOf("minutes").toISOString()
|
|
20818
20863
|
],
|
|
20819
20864
|
businessIds: q ? [q.value] : [],
|
|
20820
20865
|
restaurantIds: B.filter(
|
|
20821
|
-
(_0) => Y.find((
|
|
20866
|
+
(_0) => Y.find((K) => K.id === _0)
|
|
20822
20867
|
),
|
|
20823
20868
|
warehouseIds: B.filter(
|
|
20824
|
-
(_0) => t0.find((
|
|
20869
|
+
(_0) => t0.find((K) => K.id === _0)
|
|
20825
20870
|
),
|
|
20826
|
-
timezone:
|
|
20871
|
+
timezone: Z
|
|
20827
20872
|
}),
|
|
20828
20873
|
index: z,
|
|
20829
20874
|
drillDimension: null,
|
|
20830
|
-
chartWidth: (
|
|
20831
|
-
chartHeight: (
|
|
20832
|
-
...be(Q),
|
|
20875
|
+
chartWidth: (r0 == null ? void 0 : r0.width) ?? Q.config.chartWidth,
|
|
20876
|
+
chartHeight: (r0 == null ? void 0 : r0.height) ?? Q.config.chartHeight,
|
|
20833
20877
|
...Ie(Q),
|
|
20878
|
+
...Fe(Q),
|
|
20834
20879
|
globalSorts: u0(z)
|
|
20835
20880
|
};
|
|
20836
20881
|
}),
|
|
@@ -20839,69 +20884,69 @@ const er = async ({
|
|
|
20839
20884
|
orientationTypes: J,
|
|
20840
20885
|
isCombinedLocationLayout: H
|
|
20841
20886
|
};
|
|
20842
|
-
await
|
|
20887
|
+
await re.fetch({
|
|
20843
20888
|
fetchType: y0.Post,
|
|
20844
20889
|
url: `/${q.value}/reports/email?lang=${P0()}`,
|
|
20845
20890
|
data: p0,
|
|
20846
20891
|
requestConfig: { timeout: 1e3 * 60 * 3 }
|
|
20847
20892
|
});
|
|
20848
|
-
},
|
|
20893
|
+
}, nr = async (A) => {
|
|
20849
20894
|
const { businessId: I } = c0($0());
|
|
20850
|
-
await
|
|
20895
|
+
await re.fetch({
|
|
20851
20896
|
fetchType: y0.Post,
|
|
20852
20897
|
url: `/${I.value}/reports/resend-email?lang=${P0()}`,
|
|
20853
|
-
data: { jobId:
|
|
20898
|
+
data: { jobId: A },
|
|
20854
20899
|
requestConfig: { timeout: 1e3 * 60 * 3 }
|
|
20855
20900
|
});
|
|
20856
|
-
},
|
|
20857
|
-
const { businessId:
|
|
20901
|
+
}, ir = async () => {
|
|
20902
|
+
const { businessId: A } = c0($0());
|
|
20858
20903
|
return await g0.fetch({
|
|
20859
20904
|
fetchType: y0.Get,
|
|
20860
|
-
url: `/${
|
|
20905
|
+
url: `/${A.value}/reports/email-recipients`
|
|
20861
20906
|
});
|
|
20862
|
-
},
|
|
20907
|
+
}, ar = async (A) => {
|
|
20863
20908
|
const { businessId: I } = c0($0());
|
|
20864
20909
|
await g0.fetch({
|
|
20865
20910
|
fetchType: y0.Post,
|
|
20866
20911
|
url: `/${I.value}/reports/email-recipient/delete`,
|
|
20867
|
-
data: { email:
|
|
20912
|
+
data: { email: A }
|
|
20868
20913
|
});
|
|
20869
20914
|
};
|
|
20870
|
-
let
|
|
20871
|
-
const
|
|
20872
|
-
function
|
|
20873
|
-
if (!
|
|
20915
|
+
let Y0;
|
|
20916
|
+
const xt = new Uint8Array(16);
|
|
20917
|
+
function Lt() {
|
|
20918
|
+
if (!Y0 && (Y0 = typeof crypto < "u" && crypto.getRandomValues && crypto.getRandomValues.bind(crypto), !Y0))
|
|
20874
20919
|
throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
|
|
20875
|
-
return
|
|
20920
|
+
return Y0(xt);
|
|
20876
20921
|
}
|
|
20877
20922
|
const m0 = [];
|
|
20878
|
-
for (let
|
|
20879
|
-
m0.push((
|
|
20880
|
-
function
|
|
20881
|
-
return m0[
|
|
20923
|
+
for (let A = 0; A < 256; ++A)
|
|
20924
|
+
m0.push((A + 256).toString(16).slice(1));
|
|
20925
|
+
function Ot(A, I = 0) {
|
|
20926
|
+
return m0[A[I + 0]] + m0[A[I + 1]] + m0[A[I + 2]] + m0[A[I + 3]] + "-" + m0[A[I + 4]] + m0[A[I + 5]] + "-" + m0[A[I + 6]] + m0[A[I + 7]] + "-" + m0[A[I + 8]] + m0[A[I + 9]] + "-" + m0[A[I + 10]] + m0[A[I + 11]] + m0[A[I + 12]] + m0[A[I + 13]] + m0[A[I + 14]] + m0[A[I + 15]];
|
|
20882
20927
|
}
|
|
20883
|
-
const
|
|
20884
|
-
randomUUID:
|
|
20928
|
+
const wt = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), de = {
|
|
20929
|
+
randomUUID: wt
|
|
20885
20930
|
};
|
|
20886
|
-
function
|
|
20887
|
-
if (
|
|
20888
|
-
return
|
|
20889
|
-
|
|
20890
|
-
const P =
|
|
20931
|
+
function ur(A, I, O) {
|
|
20932
|
+
if (de.randomUUID && !I && !A)
|
|
20933
|
+
return de.randomUUID();
|
|
20934
|
+
A = A || {};
|
|
20935
|
+
const P = A.random || (A.rng || Lt)();
|
|
20891
20936
|
if (P[6] = P[6] & 15 | 64, P[8] = P[8] & 63 | 128, I) {
|
|
20892
20937
|
O = O || 0;
|
|
20893
20938
|
for (let B = 0; B < 16; ++B)
|
|
20894
20939
|
I[O + B] = P[B];
|
|
20895
20940
|
return I;
|
|
20896
20941
|
}
|
|
20897
|
-
return
|
|
20942
|
+
return Ot(P);
|
|
20898
20943
|
}
|
|
20899
|
-
const
|
|
20900
|
-
const O = E0().set("hour",
|
|
20944
|
+
const De = (A, I = "en") => E0().set("hour", A.hour).set("minute", A.minute).locale(I).format("h:mm A"), vt = (A, I) => {
|
|
20945
|
+
const O = E0().set("hour", A.hour).set("minute", A.minute);
|
|
20901
20946
|
return E0().set("hour", I.hour).set("minute", I.minute) < O ? "+1" : "";
|
|
20902
|
-
},
|
|
20947
|
+
}, Bt = { class: "px-24 py-16 rounded-lg shadow-light-300" }, Pt = { class: "text-fm-color-typo-primary" }, Jt = { class: "text-fm-color-typo-secondary" }, Ht = { class: "fm-typo-en-body-lg-600 mb-8" }, Nt = { class: "flex items-center justify-center w-full" }, kt = { class: "fm-typo-en-body-lg-600 mb-8" }, Ut = { class: "flex items-center justify-center" }, qt = { class: "flex flex-row mb-4 px-4 gap-2" }, sr = /* @__PURE__ */ fe({
|
|
20903
20948
|
__name: "TimeRangeSelect",
|
|
20904
|
-
props: /* @__PURE__ */
|
|
20949
|
+
props: /* @__PURE__ */ G0({
|
|
20905
20950
|
defaultDateRange: {
|
|
20906
20951
|
type: Array,
|
|
20907
20952
|
default: () => [
|
|
@@ -20938,14 +20983,14 @@ const de = (E, I = "en") => E0().set("hour", E.hour).set("minute", E.minute).loc
|
|
|
20938
20983
|
},
|
|
20939
20984
|
selectTimeDefaultModifiers: {}
|
|
20940
20985
|
}),
|
|
20941
|
-
emits: /* @__PURE__ */
|
|
20942
|
-
setup(
|
|
20943
|
-
const { t: O, locale: P } =
|
|
20944
|
-
function q(
|
|
20945
|
-
|
|
20986
|
+
emits: /* @__PURE__ */ G0(["update", "chip-closed"], ["update:timeRange", "update:selectTimeDefault"]),
|
|
20987
|
+
setup(A, { emit: I }) {
|
|
20988
|
+
const { t: O, locale: P } = Je(), B = te(A, "timeRange"), J = I, H = te(A, "selectTimeDefault");
|
|
20989
|
+
function q(Z) {
|
|
20990
|
+
Z && (B.value = Z, J("update", B.value)), Y.value = !1;
|
|
20946
20991
|
}
|
|
20947
|
-
function U(
|
|
20948
|
-
const V =
|
|
20992
|
+
function U(Z) {
|
|
20993
|
+
const V = Z.split(":"), u0 = E0().set("hour", Number(V[0])).set("minute", Number(V[1]));
|
|
20949
20994
|
return {
|
|
20950
20995
|
hours: Number(u0.format("h")),
|
|
20951
20996
|
minutes: Number(u0.format("m")),
|
|
@@ -20953,76 +20998,76 @@ const de = (E, I = "en") => E0().set("hour", E.hour).set("minute", E.minute).loc
|
|
|
20953
20998
|
};
|
|
20954
20999
|
}
|
|
20955
21000
|
const N = D0(JSON.parse(JSON.stringify(B.value)));
|
|
20956
|
-
function X(
|
|
20957
|
-
N.value.start = JSON.parse(JSON.stringify(
|
|
21001
|
+
function X(Z, V) {
|
|
21002
|
+
N.value.start = JSON.parse(JSON.stringify(Z)), N.value.end = JSON.parse(JSON.stringify(V));
|
|
20958
21003
|
}
|
|
20959
|
-
|
|
20960
|
-
() => [B.value,
|
|
21004
|
+
ne(
|
|
21005
|
+
() => [B.value, A.defaultDateRange],
|
|
20961
21006
|
() => {
|
|
20962
21007
|
if (B.value) {
|
|
20963
|
-
const
|
|
21008
|
+
const Z = A.defaultDateRange.findIndex(
|
|
20964
21009
|
(V) => {
|
|
20965
21010
|
var u0, s0, a0, l0;
|
|
20966
21011
|
return V.startTime.hour === ((u0 = B.value.start) == null ? void 0 : u0.hour) && V.startTime.minute === ((s0 = B.value.start) == null ? void 0 : s0.minute) && V.endTime.hour === ((a0 = B.value.end) == null ? void 0 : a0.hour) && V.endTime.minute === ((l0 = B.value.end) == null ? void 0 : l0.minute);
|
|
20967
21012
|
}
|
|
20968
21013
|
) + 1;
|
|
20969
|
-
|
|
21014
|
+
Z !== 0 ? H.value = Z : H.value = A.defaultDateRange.length + 1;
|
|
20970
21015
|
}
|
|
20971
21016
|
},
|
|
20972
21017
|
{ deep: !0, immediate: !0 }
|
|
20973
21018
|
);
|
|
20974
21019
|
const Y = D0(!1);
|
|
20975
|
-
function t0(
|
|
20976
|
-
J("chip-closed",
|
|
21020
|
+
function t0(Z) {
|
|
21021
|
+
J("chip-closed", Z);
|
|
20977
21022
|
}
|
|
20978
|
-
const G = H0(() =>
|
|
21023
|
+
const G = H0(() => A.label ? A.label : Ne({
|
|
20979
21024
|
startTime: B.value.start,
|
|
20980
21025
|
endTime: B.value.end,
|
|
20981
21026
|
locale: P.value
|
|
20982
21027
|
}));
|
|
20983
|
-
return (
|
|
21028
|
+
return (Z, V) => {
|
|
20984
21029
|
const u0 = O0("FmChip"), s0 = O0("FmRadio"), a0 = O0("FmMenuDivider"), l0 = O0("FmRadioGroup"), d0 = O0("FmTimeInput"), p0 = O0("FmButton"), Q = O0("FmPopover");
|
|
20985
|
-
return k0(),
|
|
21030
|
+
return k0(), K0("div", null, [
|
|
20986
21031
|
C0(Q, {
|
|
20987
21032
|
"show-popover": Y.value,
|
|
20988
21033
|
placement: "bottom",
|
|
20989
21034
|
onPopoverChanged: V[6] || (V[6] = (z) => Y.value = z)
|
|
20990
21035
|
}, {
|
|
20991
21036
|
"popover-button": B0(() => [
|
|
20992
|
-
C0(
|
|
20993
|
-
"left-icon":
|
|
21037
|
+
C0(ke, {
|
|
21038
|
+
"left-icon": A.label ? "filter_alt" : "schedule",
|
|
20994
21039
|
label: G.value,
|
|
20995
|
-
removable:
|
|
21040
|
+
removable: A.removable,
|
|
20996
21041
|
onChipClosed: V[0] || (V[0] = (z) => t0(!0))
|
|
20997
21042
|
}, null, 8, ["left-icon", "label", "removable"])
|
|
20998
21043
|
]),
|
|
20999
21044
|
default: B0(() => {
|
|
21000
|
-
var z,
|
|
21045
|
+
var z, r0, e0, i0;
|
|
21001
21046
|
return [
|
|
21002
|
-
L0("div",
|
|
21047
|
+
L0("div", Bt, [
|
|
21003
21048
|
C0(l0, {
|
|
21004
21049
|
modelValue: H.value,
|
|
21005
21050
|
"onUpdate:modelValue": V[1] || (V[1] = (W) => H.value = W)
|
|
21006
21051
|
}, {
|
|
21007
21052
|
default: B0(() => [
|
|
21008
|
-
(k0(!0),
|
|
21009
|
-
key: `range_${
|
|
21010
|
-
value:
|
|
21053
|
+
(k0(!0), K0(ue, null, we(A.defaultDateRange, (W, n0) => (k0(), pe(s0, {
|
|
21054
|
+
key: `range_${n0}`,
|
|
21055
|
+
value: n0 + 1,
|
|
21011
21056
|
label: W.name,
|
|
21012
21057
|
onClick: (_0) => X(W.startTime, W.endTime)
|
|
21013
21058
|
}, {
|
|
21014
21059
|
label: B0(() => [
|
|
21015
|
-
L0("p",
|
|
21016
|
-
|
|
21017
|
-
|
|
21060
|
+
L0("p", Pt, [
|
|
21061
|
+
$e(v0(W.name) + " ", 1),
|
|
21062
|
+
ve(C0(u0, {
|
|
21018
21063
|
label: A0(O)("report.common.default"),
|
|
21019
21064
|
class: "bg-fm-color-system-info-100 border-fm-color-typo-info text-fm-color-typo-info",
|
|
21020
21065
|
compact: ""
|
|
21021
21066
|
}, null, 8, ["label"]), [
|
|
21022
|
-
[
|
|
21067
|
+
[Be, W.isDefault]
|
|
21023
21068
|
])
|
|
21024
21069
|
]),
|
|
21025
|
-
L0("p",
|
|
21070
|
+
L0("p", Jt, v0(A0(De)(W.startTime, A0(P0)())) + " - " + v0(A0(De)(W.endTime, A0(P0)())) + " " + v0(A0(vt)(W.startTime, W.endTime)), 1)
|
|
21026
21071
|
]),
|
|
21027
21072
|
_: 2
|
|
21028
21073
|
}, 1032, ["value", "label", "onClick"]))), 128)),
|
|
@@ -21030,42 +21075,42 @@ const de = (E, I = "en") => E0().set("hour", E.hour).set("minute", E.minute).loc
|
|
|
21030
21075
|
C0(s0, {
|
|
21031
21076
|
key: "range_custom",
|
|
21032
21077
|
label: A0(O)("report.common.custom"),
|
|
21033
|
-
value:
|
|
21078
|
+
value: A.defaultDateRange.length + 1
|
|
21034
21079
|
}, null, 8, ["label", "value"])
|
|
21035
21080
|
]),
|
|
21036
21081
|
_: 1
|
|
21037
21082
|
}, 8, ["modelValue"]),
|
|
21038
|
-
H.value ===
|
|
21039
|
-
L0("p",
|
|
21040
|
-
L0("div",
|
|
21083
|
+
H.value === A.defaultDateRange.length + 1 ? (k0(), K0(ue, { key: 0 }, [
|
|
21084
|
+
L0("p", Ht, v0(A0(O)("report.date.startingTime")), 1),
|
|
21085
|
+
L0("div", Nt, [
|
|
21041
21086
|
C0(d0, {
|
|
21042
|
-
"model-value": U(`${(z = N.value.start) == null ? void 0 : z.hour}:${(
|
|
21087
|
+
"model-value": U(`${(z = N.value.start) == null ? void 0 : z.hour}:${(r0 = N.value.start) == null ? void 0 : r0.minute}`),
|
|
21043
21088
|
"onUpdate:modelValue": V[2] || (V[2] = (W) => {
|
|
21044
21089
|
if (N.value.start) {
|
|
21045
|
-
const
|
|
21090
|
+
const n0 = A0(E0)(`${W.hours}:${W.minutes} ${W.period}`, "h:m A").locale(
|
|
21046
21091
|
A0(P0)()
|
|
21047
21092
|
);
|
|
21048
|
-
N.value.start.hour =
|
|
21093
|
+
N.value.start.hour = n0.get("hour"), N.value.start.minute = n0.get("minute");
|
|
21049
21094
|
}
|
|
21050
21095
|
})
|
|
21051
21096
|
}, null, 8, ["model-value"])
|
|
21052
21097
|
]),
|
|
21053
|
-
L0("p",
|
|
21054
|
-
L0("div",
|
|
21098
|
+
L0("p", kt, v0(A0(O)("report.date.endingTime")), 1),
|
|
21099
|
+
L0("div", Ut, [
|
|
21055
21100
|
C0(d0, {
|
|
21056
21101
|
"model-value": U(`${(e0 = N.value.end) == null ? void 0 : e0.hour}:${(i0 = N.value.end) == null ? void 0 : i0.minute}`),
|
|
21057
21102
|
"onUpdate:modelValue": V[3] || (V[3] = (W) => {
|
|
21058
21103
|
if (N.value.end) {
|
|
21059
|
-
const
|
|
21104
|
+
const n0 = A0(E0)(`${W.hours}:${W.minutes} ${W.period}`, "h:m A").locale(
|
|
21060
21105
|
A0(P0)()
|
|
21061
21106
|
);
|
|
21062
|
-
N.value.end.hour =
|
|
21107
|
+
N.value.end.hour = n0.get("hour"), N.value.end.minute = n0.get("minute");
|
|
21063
21108
|
}
|
|
21064
21109
|
})
|
|
21065
21110
|
}, null, 8, ["model-value"])
|
|
21066
21111
|
])
|
|
21067
|
-
], 64)) :
|
|
21068
|
-
L0("div",
|
|
21112
|
+
], 64)) : Oe("", !0),
|
|
21113
|
+
L0("div", qt, [
|
|
21069
21114
|
V[7] || (V[7] = L0("div", { class: "grow" }, null, -1)),
|
|
21070
21115
|
C0(p0, {
|
|
21071
21116
|
label: A0(O)("report.common.cancel"),
|
|
@@ -21085,9 +21130,9 @@ const de = (E, I = "en") => E0().set("hour", E.hour).set("minute", E.minute).loc
|
|
|
21085
21130
|
]);
|
|
21086
21131
|
};
|
|
21087
21132
|
}
|
|
21088
|
-
}),
|
|
21133
|
+
}), or = /* @__PURE__ */ fe({
|
|
21089
21134
|
__name: "BaseDialog",
|
|
21090
|
-
props: /* @__PURE__ */
|
|
21135
|
+
props: /* @__PURE__ */ G0({
|
|
21091
21136
|
title: {
|
|
21092
21137
|
type: String,
|
|
21093
21138
|
default: "Title"
|
|
@@ -21104,23 +21149,23 @@ const de = (E, I = "en") => E0().set("hour", E.hour).set("minute", E.minute).loc
|
|
|
21104
21149
|
modelValue: { type: Boolean, required: !0 },
|
|
21105
21150
|
modelModifiers: {}
|
|
21106
21151
|
}),
|
|
21107
|
-
emits: /* @__PURE__ */
|
|
21108
|
-
setup(
|
|
21109
|
-
const O =
|
|
21110
|
-
return
|
|
21152
|
+
emits: /* @__PURE__ */ G0(["confirm"], ["update:modelValue"]),
|
|
21153
|
+
setup(A, { emit: I }) {
|
|
21154
|
+
const O = te(A, "modelValue"), P = A, B = I;
|
|
21155
|
+
return ne(O, () => {
|
|
21111
21156
|
O.value ? document.body.style.overflow = "hidden" : document.body.style.overflow = "scroll";
|
|
21112
21157
|
}), (J, H) => {
|
|
21113
21158
|
const q = O0("FmButton"), U = O0("FmDialog");
|
|
21114
|
-
return k0(),
|
|
21159
|
+
return k0(), pe(U, {
|
|
21115
21160
|
modelValue: O.value,
|
|
21116
21161
|
"onUpdate:modelValue": H[2] || (H[2] = (N) => O.value = N),
|
|
21117
21162
|
overlay: ""
|
|
21118
21163
|
}, {
|
|
21119
21164
|
"dialog-header": B0(() => [
|
|
21120
|
-
|
|
21165
|
+
$e(v0(P.title), 1)
|
|
21121
21166
|
]),
|
|
21122
21167
|
default: B0(() => [
|
|
21123
|
-
|
|
21168
|
+
Pe(J.$slots, "content")
|
|
21124
21169
|
]),
|
|
21125
21170
|
"dialog-footer": B0(() => [
|
|
21126
21171
|
H[3] || (H[3] = L0("div", { class: "grow" }, null, -1)),
|
|
@@ -21141,32 +21186,32 @@ const de = (E, I = "en") => E0().set("hour", E.hour).set("minute", E.minute).loc
|
|
|
21141
21186
|
}
|
|
21142
21187
|
});
|
|
21143
21188
|
export {
|
|
21144
|
-
|
|
21145
|
-
|
|
21146
|
-
|
|
21147
|
-
|
|
21148
|
-
|
|
21149
|
-
|
|
21150
|
-
|
|
21151
|
-
|
|
21189
|
+
ae as C,
|
|
21190
|
+
et as D,
|
|
21191
|
+
tt as P,
|
|
21192
|
+
nt as R,
|
|
21193
|
+
Ze as S,
|
|
21194
|
+
rt as W,
|
|
21195
|
+
sr as _,
|
|
21196
|
+
$t as a,
|
|
21152
21197
|
U0 as b,
|
|
21153
|
-
|
|
21154
|
-
|
|
21155
|
-
|
|
21156
|
-
|
|
21157
|
-
|
|
21158
|
-
|
|
21159
|
-
|
|
21160
|
-
|
|
21161
|
-
|
|
21162
|
-
|
|
21163
|
-
|
|
21164
|
-
|
|
21165
|
-
|
|
21166
|
-
|
|
21167
|
-
|
|
21168
|
-
|
|
21169
|
-
|
|
21170
|
-
|
|
21171
|
-
|
|
21198
|
+
or as c,
|
|
21199
|
+
Ee as d,
|
|
21200
|
+
Te as e,
|
|
21201
|
+
St as f,
|
|
21202
|
+
it as g,
|
|
21203
|
+
tr as h,
|
|
21204
|
+
jt as i,
|
|
21205
|
+
vt as j,
|
|
21206
|
+
ar as k,
|
|
21207
|
+
ir as l,
|
|
21208
|
+
Kt as m,
|
|
21209
|
+
Ae as n,
|
|
21210
|
+
rr as o,
|
|
21211
|
+
er as q,
|
|
21212
|
+
nr as r,
|
|
21213
|
+
Zt as s,
|
|
21214
|
+
De as t,
|
|
21215
|
+
W0 as u,
|
|
21216
|
+
ur as v
|
|
21172
21217
|
};
|