@feedmepos/mf-report 5.5.9 → 5.5.10
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-BBma62Sx.js → App-CI59NhMr.js} +3 -3
- package/dist/{Default.vue_vue_type_script_setup_true_lang-BnnB7jtz.js → Default.vue_vue_type_script_setup_true_lang-HE3jlz2q.js} +1 -1
- package/dist/{DynamicWidget.vue_vue_type_script_setup_true_lang-CSNkgNC_.js → DynamicWidget.vue_vue_type_script_setup_true_lang-DxpesBb1.js} +1 -1
- package/dist/{InsightView-D8pBlV7B.js → InsightView-CArL6hDD.js} +2 -2
- package/dist/{Layout-X7PktH1j.js → Layout-BhKNg55v.js} +1 -1
- package/dist/{MenuTab.vue_vue_type_script_setup_true_lang-iMDYml0L.js → MenuTab.vue_vue_type_script_setup_true_lang-B_N9ULY9.js} +1 -1
- package/dist/{NavigationTab.vue_vue_type_script_setup_true_lang-BnWfgSBI.js → NavigationTab.vue_vue_type_script_setup_true_lang-DULwCyXt.js} +1 -1
- package/dist/{OverviewView-D8UsmijD.js → OverviewView-CQGrtNQb.js} +4 -4
- package/dist/{Report-BHdlwJhA.js → Report-Cl-cAzXC.js} +2 -2
- package/dist/{ReportEditor-DvDxCk1H.js → ReportEditor-CWjNbjr_.js} +3 -3
- package/dist/{ReportView-JZjssb6x.js → ReportView-ChiQMhSH.js} +5 -5
- package/dist/{Setting-DSoUbK1l.js → Setting-DC_StvBp.js} +2 -2
- package/dist/{TileEditor-jNpkDvOU.js → TileEditor-DNuK7pwX.js} +3 -3
- package/dist/{TransitionFade-CtOmpBx9.js → TransitionFade-DdNpeVds.js} +2 -2
- package/dist/app.js +9 -9
- package/dist/{v4-H434iDAa.js → v4-CHk_oNmT.js} +137 -137
- package/package.json +1 -1
|
@@ -2,9 +2,9 @@ import { defineComponent as O, resolveComponent as C, createBlock as T, openBloc
|
|
|
2
2
|
import { detectLocale as g, useCoreStore as b } from "@feedmepos/mf-common";
|
|
3
3
|
import { u as oe, d as F, a as re, b as ne, c as se, e as ae, f as le, g as ue } from "./global-loader-KvOGLx9k.js";
|
|
4
4
|
import { storeToRefs as B } from "pinia";
|
|
5
|
-
import { u as ie, a as ce } from "./v4-
|
|
5
|
+
import { u as ie, a as ce } from "./v4-CHk_oNmT.js";
|
|
6
6
|
import { u as me } from "./report-schema-Zw8e6-XZ.js";
|
|
7
|
-
import { _ as de, u as ve } from "./NavigationTab.vue_vue_type_script_setup_true_lang-
|
|
7
|
+
import { _ as de, u as ve } from "./NavigationTab.vue_vue_type_script_setup_true_lang-DULwCyXt.js";
|
|
8
8
|
import { u as U } from "./message-dialog-UoMWOnil.js";
|
|
9
9
|
import { useRoute as fe } from "vue-router";
|
|
10
10
|
const pe = { class: "fm-typo-en-body-md-400 text-ellipsis overflow-hidden" }, ge = /* @__PURE__ */ O({
|
|
@@ -96,7 +96,7 @@ const ye = ["src"], _e = ["src"], Le = /* @__PURE__ */ O({
|
|
|
96
96
|
}), M(() => {
|
|
97
97
|
u(de);
|
|
98
98
|
}), j(() => {
|
|
99
|
-
console.log("5.5.
|
|
99
|
+
console.log("5.5.10", !0), window.addEventListener("message", R), window.addEventListener("message", L);
|
|
100
100
|
});
|
|
101
101
|
const V = ce(), D = ve();
|
|
102
102
|
ee(() => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as u, computed as f, resolveComponent as p, createElementBlock as r, openBlock as s, normalizeStyle as l, normalizeClass as d, unref as e, createBlock as y, createCommentVNode as _, createVNode as h, createElementVNode as k, toDisplayString as x, renderSlot as g } from "vue";
|
|
2
|
-
import { _ as v } from "./NavigationTab.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { _ as v } from "./NavigationTab.vue_vue_type_script_setup_true_lang-DULwCyXt.js";
|
|
3
3
|
import { useBreakpoints as b } from "@feedmepos/ui-library";
|
|
4
4
|
import { storeToRefs as w } from "pinia";
|
|
5
5
|
import { u as q, f as C } from "./global-loader-KvOGLx9k.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { computed as u, defineComponent as O, useModel as X, ref as g, resolveComponent as x, createElementBlock as L, openBlock as b, Fragment as W, renderSlot as E, createVNode as D, unref as C, createElementVNode as T, toDisplayString as ee, withCtx as V, createBlock as $, createCommentVNode as K, normalizeClass as ie, normalizeStyle as Ie, h as Be, renderList as Ne, mergeModels as ua, watch as ne, onMounted as ca, onUnmounted as da, resolveDynamicComponent as ma, withDirectives as pa, vShow as fa } from "vue";
|
|
2
|
-
import { W as i, v as re, R as va, g as ha, d as ga, q as ba } from "./v4-
|
|
2
|
+
import { W as i, v as re, R as va, g as ha, d as ga, q as ba } from "./v4-CHk_oNmT.js";
|
|
3
3
|
import { u as ye, b as We, a as we } from "./global-loader-KvOGLx9k.js";
|
|
4
4
|
import { d as Pe } from "./index-CW2xYO89.js";
|
|
5
5
|
import { storeToRefs as pe } from "pinia";
|
|
@@ -2,14 +2,14 @@ var Zo = Object.defineProperty;
|
|
|
2
2
|
var Jo = (i, t, e) => t in i ? Zo(i, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : i[t] = e;
|
|
3
3
|
var k = (i, t, e) => Jo(i, typeof t != "symbol" ? t + "" : t, e);
|
|
4
4
|
import { ref as $t, defineComponent as oe, watch as ri, computed as _t, onMounted as Qo, createElementBlock as U, openBlock as I, createElementVNode as R, renderSlot as Un, toDisplayString as lt, resolveDirective as Xn, createCommentVNode as St, Fragment as Ii, renderList as zi, createBlock as Ht, withDirectives as Ge, resolveDynamicComponent as es, unref as G, withCtx as Yt, createVNode as et, normalizeClass as Ze, resolveComponent as Me, useModel as ta, createTextVNode as ea, isRef as ki, nextTick as ia } from "vue";
|
|
5
|
-
import { _ as sa } from "./Default.vue_vue_type_script_setup_true_lang-
|
|
5
|
+
import { _ as sa } from "./Default.vue_vue_type_script_setup_true_lang-HE3jlz2q.js";
|
|
6
6
|
import { _ as na } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-C3Dsnzzo.js";
|
|
7
7
|
import { d as Bi, a as Kn, h as qn, F as Gn, u as Zn, b as oa } from "./global-loader-KvOGLx9k.js";
|
|
8
8
|
import { storeToRefs as Jn } from "pinia";
|
|
9
9
|
import { components as is, useSnackbar as aa } from "@feedmepos/ui-library";
|
|
10
10
|
import { c as ys } from "./index-CW2xYO89.js";
|
|
11
11
|
import { _ as ra } from "./NoData.vue_vue_type_script_setup_true_lang-CCA1l-Cz.js";
|
|
12
|
-
import { a as la, G as ca } from "./NavigationTab.vue_vue_type_script_setup_true_lang-
|
|
12
|
+
import { a as la, G as ca } from "./NavigationTab.vue_vue_type_script_setup_true_lang-DULwCyXt.js";
|
|
13
13
|
import { useCoreStore as ha } from "@feedmepos/mf-common";
|
|
14
14
|
function da({ start: i, end: t }) {
|
|
15
15
|
return `${Bi(t).format("DD MMM")}, ${Bi(t).format("YYYY")}`;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as o, resolveComponent as t, createBlock as r, openBlock as n, withCtx as _, createVNode as c } from "vue";
|
|
2
|
-
import { _ as a } from "./Default.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { _ as a } from "./Default.vue_vue_type_script_setup_true_lang-HE3jlz2q.js";
|
|
3
3
|
const f = /* @__PURE__ */ o({
|
|
4
4
|
__name: "Layout",
|
|
5
5
|
setup(m) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as b, createElementBlock as y, openBlock as l, createVNode as d, unref as t, isRef as u, withCtx as g, useModel as R, resolveComponent as _, normalizeClass as x, createElementVNode as F, createBlock as v, createCommentVNode as C, Fragment as V, renderList as M, toDisplayString as T } from "vue";
|
|
2
2
|
import { b as $ } from "./global-loader-KvOGLx9k.js";
|
|
3
3
|
import { storeToRefs as B } from "pinia";
|
|
4
|
-
import { a as D, d as I } from "./NavigationTab.vue_vue_type_script_setup_true_lang-
|
|
4
|
+
import { a as D, d as I } from "./NavigationTab.vue_vue_type_script_setup_true_lang-DULwCyXt.js";
|
|
5
5
|
import { _ as U } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-C3Dsnzzo.js";
|
|
6
6
|
import { useBreakpoints as w } from "@feedmepos/ui-library";
|
|
7
7
|
const S = { class: "flex overflow-x-auto overflow-y-hidden scrollbar-hide" }, N = /* @__PURE__ */ b({
|
|
@@ -4,7 +4,7 @@ var ds = (e, t, r) => w9(e, typeof t != "symbol" ? t + "" : t, r);
|
|
|
4
4
|
import { defineComponent as qr, computed as Fr, useModel as Ta, ref as Xe, watch as ha, resolveComponent as de, createBlock as Ye, unref as J, openBlock as se, withCtx as Me, createElementVNode as ce, createVNode as K, toDisplayString as pr, withDirectives as zn, createElementBlock as Re, Fragment as yr, renderList as Rr, vShow as u0, createTextVNode as St, mergeModels as Cn, createCommentVNode as kr, normalizeClass as jn, withModifiers as Ds, resolveDynamicComponent as vh, onMounted as Bd, renderSlot as Ld, mergeProps as b9, nextTick as C9, withKeys as k9, vModelText as E9, normalizeStyle as T9, isRef as V0, createSlots as F9 } from "vue";
|
|
5
5
|
import { useRouter as Md, useRoute as Rd } from "vue-router";
|
|
6
6
|
import { storeToRefs as Ct, defineStore as tu } from "pinia";
|
|
7
|
-
import { a as Xi, R as Is, g as bo, v as P9, d as S9, r as O9, b as xn, c as D9, e as I9, s as N9, u as V9 } from "./v4-
|
|
7
|
+
import { a as Xi, R as Is, g as bo, v as P9, d as S9, r as O9, b as xn, c as D9, e as I9, s as N9, u as V9 } from "./v4-CHk_oNmT.js";
|
|
8
8
|
import { useBreakpoints as il, components as h0, useSnackbar as zi, FmButtonVariant as mh, useDialog as B9, useDialogChild as L9 } from "@feedmepos/ui-library";
|
|
9
9
|
import { u as ja, i as au, j as sl, a as Ua, F as Za, h as Ya, d as Qe, b as _0, k as Hi, l as M9, m as R9, e as X9, n as As } from "./global-loader-KvOGLx9k.js";
|
|
10
10
|
import { _ as xh } from "./SelectComponent.vue_vue_type_script_setup_true_lang-CXYvLXnR.js";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { defineComponent as g, computed as w, resolveComponent as k, createBlock as a, openBlock as t, withCtx as $, createVNode as d, createElementVNode as y, unref as e, normalizeStyle as C, normalizeClass as u, createElementBlock as _, Fragment as h, renderList as B } from "vue";
|
|
2
|
-
import { _ as b } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-
|
|
3
|
-
import { _ as F } from "./Default.vue_vue_type_script_setup_true_lang-
|
|
4
|
-
import { a as P } from "./v4-
|
|
2
|
+
import { _ as b } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-DxpesBb1.js";
|
|
3
|
+
import { _ as F } from "./Default.vue_vue_type_script_setup_true_lang-HE3jlz2q.js";
|
|
4
|
+
import { a as P } from "./v4-CHk_oNmT.js";
|
|
5
5
|
import { storeToRefs as R } from "pinia";
|
|
6
6
|
import { _ as S } from "./NoData.vue_vue_type_script_setup_true_lang-CCA1l-Cz.js";
|
|
7
7
|
import { useBreakpoints as V } from "@feedmepos/ui-library";
|
|
8
|
-
import { _ as z } from "./MenuTab.vue_vue_type_script_setup_true_lang-
|
|
8
|
+
import { _ as z } from "./MenuTab.vue_vue_type_script_setup_true_lang-B_N9ULY9.js";
|
|
9
9
|
import { useI18n as D } from "@feedmepos/mf-common";
|
|
10
10
|
const G = /* @__PURE__ */ g({
|
|
11
11
|
__name: "OverviewView",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as ce, ref as O, watch as Q, computed as w, h as f, withModifiers as ie, resolveComponent as C, createBlock as T, openBlock as F, withCtx as i, createVNode as n, createElementVNode as y, unref as e, normalizeStyle as me, normalizeClass as _, withDirectives as B, createElementBlock as ue, Fragment as pe, renderList as de, toDisplayString as R, createTextVNode as fe, vShow as D } from "vue";
|
|
2
2
|
import { storeToRefs as W } from "pinia";
|
|
3
|
-
import { a as ve } from "./v4-
|
|
4
|
-
import { _ as ye } from "./Default.vue_vue_type_script_setup_true_lang-
|
|
3
|
+
import { a as ve } from "./v4-CHk_oNmT.js";
|
|
4
|
+
import { _ as ye } from "./Default.vue_vue_type_script_setup_true_lang-HE3jlz2q.js";
|
|
5
5
|
import { u as ge } from "./message-dialog-UoMWOnil.js";
|
|
6
6
|
import { b as be, f as xe } from "./global-loader-KvOGLx9k.js";
|
|
7
7
|
import { useSnackbar as Ce, useBreakpoints as _e, components as he, FmButtonColorThemeVariant as ke } from "@feedmepos/ui-library";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { defineComponent as S, mergeModels as $, useModel as M, ref as N, computed as P, resolveComponent as c, createBlock as b, openBlock as s, withCtx as m, createElementVNode as C, createVNode as a, unref as o, normalizeClass as E, createTextVNode as fe, toDisplayString as O, createElementBlock as x, Fragment as q, renderSlot as j, createCommentVNode as U, watch as ve, resolveDynamicComponent as K, isRef as Q, renderList as H, onMounted as ge, normalizeStyle as _e } from "vue";
|
|
2
|
-
import { W as ye, i as Ce, S as be, d as Ve, T as ke, _ as Fe } from "./TransitionFade-
|
|
3
|
-
import { a as X, v as Y } from "./v4-
|
|
2
|
+
import { W as ye, i as Ce, S as be, d as Ve, T as ke, _ as Fe } from "./TransitionFade-DdNpeVds.js";
|
|
3
|
+
import { a as X, v as Y } from "./v4-CHk_oNmT.js";
|
|
4
4
|
import { storeToRefs as Z } from "pinia";
|
|
5
5
|
import { useRouter as ee, useRoute as oe } from "vue-router";
|
|
6
6
|
import { useBreakpoints as A, FmButtonColorThemeVariant as W, useSnackbar as xe } from "@feedmepos/ui-library";
|
|
7
7
|
import { u as te } from "./message-dialog-UoMWOnil.js";
|
|
8
|
-
import { _ as le } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-
|
|
8
|
+
import { _ as le } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-DxpesBb1.js";
|
|
9
9
|
import { _ as re } from "./NoData.vue_vue_type_script_setup_true_lang-CCA1l-Cz.js";
|
|
10
10
|
import { u as I, f as he } from "./global-loader-KvOGLx9k.js";
|
|
11
11
|
const we = /* @__PURE__ */ S({
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { defineComponent as L, computed as v, resolveComponent as V, createBlock as g, openBlock as u, withCtx as z, createVNode as D, createElementVNode as H, unref as t, normalizeStyle as M, normalizeClass as R, createElementBlock as $, Fragment as Y, renderList as G } from "vue";
|
|
2
|
-
import { _ as Q } from "./MenuTab.vue_vue_type_script_setup_true_lang-
|
|
3
|
-
import { _ as U } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { _ as Q } from "./MenuTab.vue_vue_type_script_setup_true_lang-B_N9ULY9.js";
|
|
3
|
+
import { _ as U } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-DxpesBb1.js";
|
|
4
4
|
import { useRouter as W, useRoute as K } from "vue-router";
|
|
5
|
-
import { _ as X } from "./Default.vue_vue_type_script_setup_true_lang-
|
|
6
|
-
import { a as Z } from "./v4-
|
|
5
|
+
import { _ as X } from "./Default.vue_vue_type_script_setup_true_lang-HE3jlz2q.js";
|
|
6
|
+
import { a as Z } from "./v4-CHk_oNmT.js";
|
|
7
7
|
import { storeToRefs as p } from "pinia";
|
|
8
|
-
import { b as ee, c as oe, u as te } from "./NavigationTab.vue_vue_type_script_setup_true_lang-
|
|
8
|
+
import { b as ee, c as oe, u as te } from "./NavigationTab.vue_vue_type_script_setup_true_lang-DULwCyXt.js";
|
|
9
9
|
import { _ as re } from "./NoData.vue_vue_type_script_setup_true_lang-CCA1l-Cz.js";
|
|
10
10
|
import { useSnackbar as ae, useBreakpoints as le } from "@feedmepos/ui-library";
|
|
11
11
|
import { u as ne, f as ie, e as se } from "./global-loader-KvOGLx9k.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent as B, ref as H, useModel as J, resolveComponent as h, createElementBlock as k, openBlock as x, createBlock as M, createElementVNode as t, resolveDynamicComponent as ne, unref as e, withCtx as y, createVNode as a, normalizeClass as O, toDisplayString as s, Fragment as K, renderList as Q, withDirectives as E, createTextVNode as ie, vShow as j, watch as me, normalizeStyle as ue } from "vue";
|
|
2
|
-
import { _ as de } from "./Default.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { _ as de } from "./Default.vue_vue_type_script_setup_true_lang-HE3jlz2q.js";
|
|
3
3
|
import { u as U, d as z, C as A, D as pe, b as ce } from "./global-loader-KvOGLx9k.js";
|
|
4
4
|
import { components as I, useSnackbar as W, useBreakpoints as X, FmButtonColorThemeVariant as G } from "@feedmepos/ui-library";
|
|
5
|
-
import { t as N, s as fe } from "./NavigationTab.vue_vue_type_script_setup_true_lang-
|
|
5
|
+
import { t as N, s as fe } from "./NavigationTab.vue_vue_type_script_setup_true_lang-DULwCyXt.js";
|
|
6
6
|
import { u as ve } from "./message-dialog-UoMWOnil.js";
|
|
7
7
|
import { detectLocale as F } from "@feedmepos/mf-common";
|
|
8
8
|
import { _ as Y } from "./SelectComponent.vue_vue_type_script_setup_true_lang-CXYvLXnR.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as Y, mergeModels as X, useModel as W, computed as D, ref as A, resolveComponent as y, createElementBlock as L, openBlock as f, createVNode as d, createElementVNode as x, unref as n, withCtx as S, toDisplayString as B, Fragment as H, renderList as re, withModifiers as le, createTextVNode as ue, watch as me, createCommentVNode as _, createBlock as C, renderSlot as Te, resolveDynamicComponent as Se, normalizeClass as Ue, onMounted as Re, normalizeStyle as Me, isRef as je } from "vue";
|
|
2
2
|
import { useRoute as Ee, useRouter as Ae } from "vue-router";
|
|
3
|
-
import { h as Pe, d as ve, S as ge, W as qe, a as ze, T as He, _ as Ye } from "./TransitionFade-
|
|
4
|
-
import { W as N, a as Ge } from "./v4-
|
|
3
|
+
import { h as Pe, d as ve, S as ge, W as qe, a as ze, T as He, _ as Ye } from "./TransitionFade-DdNpeVds.js";
|
|
4
|
+
import { W as N, a as Ge } from "./v4-CHk_oNmT.js";
|
|
5
5
|
import { storeToRefs as we } from "pinia";
|
|
6
6
|
import { u as Ne } from "./message-dialog-UoMWOnil.js";
|
|
7
7
|
import { c as ke, d as De, p as Xe } from "./index-CW2xYO89.js";
|
|
@@ -10,7 +10,7 @@ import { u as $e } from "./report-schema-Zw8e6-XZ.js";
|
|
|
10
10
|
import { _ as ie } from "./BaseDialog.vue_vue_type_script_setup_true_lang-DTNiGKgd.js";
|
|
11
11
|
import { _ as z } from "./SelectComponent.vue_vue_type_script_setup_true_lang-CXYvLXnR.js";
|
|
12
12
|
import { u as Q, d as fe } from "./global-loader-KvOGLx9k.js";
|
|
13
|
-
import { g as pe, l as oe, a as de, _ as Ie } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-
|
|
13
|
+
import { g as pe, l as oe, a as de, _ as Ie } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-DxpesBb1.js";
|
|
14
14
|
import { _ as Le } from "./NoData.vue_vue_type_script_setup_true_lang-CCA1l-Cz.js";
|
|
15
15
|
var te = /* @__PURE__ */ ((r) => (r.DateTime = "DATE_TIME", r.Hour = "HOUR", r.Day = "DAY", r.Week = "WEEK", r.Month = "MONTH", r.TimeOfDay = "TIME_OF_DAY", r.HourOfDay = "HOUR_OF_DAY", r.DayOfWeek = "DAY_OF_WEEK", r.DayOfMonth = "DAY_OF_MONTH", r.MonthOfYear = "MONTH_OF_YEAR", r.Year = "YEAR", r))(te || {}), ye = /* @__PURE__ */ ((r) => (r.Asc = "ASC", r.Desc = "DESC", r))(ye || {}), ee = /* @__PURE__ */ ((r) => (r.Equal = "EQUAL", r.NotEqual = "NOT_EQUAL", r.GreaterThan = "GREATER_THAN", r.LessThan = "LESS_THAN", r.GreaterThanOrEqual = "GREATER_THAN_OR_EQUAL", r.LessThanOrEqual = "LESS_THAN_OR_EQUAL", r.Between = "BETWEEN", r.Like = "LIKE", r.NotLike = "NOT_LIKE", r.And = "AND", r.Or = "OR", r))(ee || {}), ne = /* @__PURE__ */ ((r) => (r.String = "STRING", r.Timestamp = "TIMESTAMP", r.Bool = "BOOL", r.Numeric = "NUMERIC", r))(ne || {});
|
|
16
16
|
const xe = [
|
|
@@ -3,10 +3,10 @@ import { u as Xt, f as wn } from "./global-loader-KvOGLx9k.js";
|
|
|
3
3
|
import { useCoreStore as En } from "@feedmepos/mf-common";
|
|
4
4
|
import { storeToRefs as Sn } from "pinia";
|
|
5
5
|
import { useRoute as Dn } from "vue-router";
|
|
6
|
-
import { W as x } from "./v4-
|
|
6
|
+
import { W as x } from "./v4-CHk_oNmT.js";
|
|
7
7
|
import { p as Cn } from "./index-CW2xYO89.js";
|
|
8
8
|
import { _ as bt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
9
|
-
import { R as Tn } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-
|
|
9
|
+
import { R as Tn } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-DxpesBb1.js";
|
|
10
10
|
const xn = {
|
|
11
11
|
key: 0,
|
|
12
12
|
class: "flex gap-24 flex-col h-screen w-screen justify-center items-center"
|
package/dist/app.js
CHANGED
|
@@ -1414,41 +1414,41 @@ const r = {
|
|
|
1414
1414
|
path: "/overview",
|
|
1415
1415
|
alias: ["/"],
|
|
1416
1416
|
name: "overview",
|
|
1417
|
-
component: () => import("./OverviewView-
|
|
1417
|
+
component: () => import("./OverviewView-CQGrtNQb.js")
|
|
1418
1418
|
},
|
|
1419
1419
|
{
|
|
1420
1420
|
path: "/report",
|
|
1421
1421
|
name: "reports",
|
|
1422
|
-
component: () => import("./Report-
|
|
1422
|
+
component: () => import("./Report-Cl-cAzXC.js")
|
|
1423
1423
|
},
|
|
1424
1424
|
{
|
|
1425
1425
|
path: "/insights",
|
|
1426
1426
|
name: "insights",
|
|
1427
|
-
component: () => import("./InsightView-
|
|
1427
|
+
component: () => import("./InsightView-CArL6hDD.js")
|
|
1428
1428
|
},
|
|
1429
1429
|
{
|
|
1430
1430
|
path: "/report-view",
|
|
1431
1431
|
name: "reportView",
|
|
1432
|
-
component: () => import("./ReportView-
|
|
1432
|
+
component: () => import("./ReportView-ChiQMhSH.js")
|
|
1433
1433
|
},
|
|
1434
1434
|
{
|
|
1435
1435
|
path: "/report-editor",
|
|
1436
1436
|
name: "reportEditor",
|
|
1437
|
-
component: () => import("./ReportEditor-
|
|
1437
|
+
component: () => import("./ReportEditor-CWjNbjr_.js")
|
|
1438
1438
|
},
|
|
1439
1439
|
{
|
|
1440
1440
|
path: "/report-editor/tile-editor",
|
|
1441
1441
|
name: "tileEditor",
|
|
1442
|
-
component: () => import("./TileEditor-
|
|
1442
|
+
component: () => import("./TileEditor-DNuK7pwX.js")
|
|
1443
1443
|
},
|
|
1444
1444
|
{
|
|
1445
1445
|
path: "/setting",
|
|
1446
1446
|
name: "setting",
|
|
1447
|
-
component: () => import("./Setting-
|
|
1447
|
+
component: () => import("./Setting-DC_StvBp.js")
|
|
1448
1448
|
},
|
|
1449
1449
|
{
|
|
1450
1450
|
path: "/integration",
|
|
1451
|
-
component: () => import("./Layout-
|
|
1451
|
+
component: () => import("./Layout-BhKNg55v.js"),
|
|
1452
1452
|
children: [
|
|
1453
1453
|
{
|
|
1454
1454
|
name: "integrations",
|
|
@@ -1481,7 +1481,7 @@ const p = {
|
|
|
1481
1481
|
"en-US": a,
|
|
1482
1482
|
"zh-CN": i,
|
|
1483
1483
|
"th-TH": c
|
|
1484
|
-
}, u = e(() => import("./App-
|
|
1484
|
+
}, u = e(() => import("./App-CI59NhMr.js"));
|
|
1485
1485
|
export {
|
|
1486
1486
|
u as FmApp,
|
|
1487
1487
|
p as i18nMessages,
|
|
@@ -8,20 +8,20 @@ function He(F) {
|
|
|
8
8
|
}
|
|
9
9
|
var Me = {};
|
|
10
10
|
(function(F) {
|
|
11
|
-
var J = typeof xe < "u" ? xe : window,
|
|
12
|
-
|
|
11
|
+
var J = typeof xe < "u" ? xe : window, D = Object.create(J);
|
|
12
|
+
D.scheduleImmediate = typeof setImmediate < "u" ? function(U) {
|
|
13
13
|
setImmediate(U);
|
|
14
14
|
} : function(U) {
|
|
15
15
|
setTimeout(U, 0);
|
|
16
|
-
},
|
|
17
|
-
var
|
|
16
|
+
}, D.exports = F, typeof process < "u" && (D.process = process), typeof __dirname < "u" && (D.__dirname = __dirname), typeof __filename < "u" && (D.__filename = __filename), typeof Buffer < "u" && (D.Buffer = Buffer);
|
|
17
|
+
var H = !J.window;
|
|
18
18
|
try {
|
|
19
|
-
typeof WorkerGlobalScope < "u" && J instanceof WorkerGlobalScope && (
|
|
19
|
+
typeof WorkerGlobalScope < "u" && J instanceof WorkerGlobalScope && (H = !1), typeof process < "u" && process.versions && process.versions.hasOwnProperty("electron") && process.versions.hasOwnProperty("node") && (H = !0);
|
|
20
20
|
} catch {
|
|
21
21
|
}
|
|
22
|
-
if (
|
|
22
|
+
if (H) {
|
|
23
23
|
var k = (typeof __webpack_require__ < "u" ? __non_webpack_require__ : He)("url");
|
|
24
|
-
Object.defineProperty(
|
|
24
|
+
Object.defineProperty(D, "location", {
|
|
25
25
|
value: {
|
|
26
26
|
get href() {
|
|
27
27
|
return k.pathToFileURL ? k.pathToFileURL(process.cwd()).href + "/" : "file://" + function() {
|
|
@@ -44,14 +44,14 @@ var Me = {};
|
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
46
|
var P = null;
|
|
47
|
-
Object.defineProperty(
|
|
47
|
+
Object.defineProperty(D, "document", {
|
|
48
48
|
value: {
|
|
49
49
|
get currentScript() {
|
|
50
50
|
return P == null && (P = { src: U() }), P;
|
|
51
51
|
}
|
|
52
52
|
}
|
|
53
53
|
});
|
|
54
|
-
}(),
|
|
54
|
+
}(), D.dartDeferredLibraryLoader = function(U, P, N) {
|
|
55
55
|
try {
|
|
56
56
|
load(U), P();
|
|
57
57
|
} catch (B) {
|
|
@@ -259,15 +259,15 @@ var Me = {};
|
|
|
259
259
|
}
|
|
260
260
|
},
|
|
261
261
|
Sort__dualPivotQuicksort(r, e, i, n) {
|
|
262
|
-
var a, s, l, _, d, c, p, $, g, m, h = u.JSInt_methods._tdivFast$1(i - e + 1, 6), A = e + h, E = i - h, M = u.JSInt_methods._tdivFast$1(e + i, 2), b = M - h, R = M + h, C = o.getInterceptor$asx(r), O = C.$index(r, A),
|
|
263
|
-
if (n.call$2(O,
|
|
262
|
+
var a, s, l, _, d, c, p, $, g, m, h = u.JSInt_methods._tdivFast$1(i - e + 1, 6), A = e + h, E = i - h, M = u.JSInt_methods._tdivFast$1(e + i, 2), b = M - h, R = M + h, C = o.getInterceptor$asx(r), O = C.$index(r, A), w = C.$index(r, b), L = C.$index(r, M), v = C.$index(r, R), x = C.$index(r, E);
|
|
263
|
+
if (n.call$2(O, w) > 0 && (a = w, w = O, O = a), n.call$2(v, x) > 0 && (a = x, x = v, v = a), n.call$2(O, L) > 0 && (a = L, L = O, O = a), n.call$2(w, L) > 0 && (a = L, L = w, w = a), n.call$2(O, v) > 0 && (a = v, v = O, O = a), n.call$2(L, v) > 0 && (a = v, v = L, L = a), n.call$2(w, x) > 0 && (a = x, x = w, w = a), n.call$2(w, L) > 0 && (a = L, L = w, w = a), n.call$2(v, x) > 0 && (a = x, x = v, v = a), C.$indexSet(r, A, O), C.$indexSet(r, M, L), C.$indexSet(r, E, x), C.$indexSet(r, b, C.$index(r, e)), C.$indexSet(r, R, C.$index(r, i)), s = e + 1, l = i - 1, o.$eq$(n.call$2(w, v), 0)) {
|
|
264
264
|
for (_ = s; _ <= l; ++_)
|
|
265
|
-
if (d = C.$index(r, _), c = n.call$2(d,
|
|
265
|
+
if (d = C.$index(r, _), c = n.call$2(d, w), c !== 0)
|
|
266
266
|
if (c < 0)
|
|
267
267
|
_ !== s && (C.$indexSet(r, _, C.$index(r, s)), C.$indexSet(r, s, d)), ++s;
|
|
268
268
|
else
|
|
269
269
|
for (; ; )
|
|
270
|
-
if (c = n.call$2(C.$index(r, l),
|
|
270
|
+
if (c = n.call$2(C.$index(r, l), w), c > 0) {
|
|
271
271
|
--l;
|
|
272
272
|
continue;
|
|
273
273
|
} else if (p = l - 1, c < 0) {
|
|
@@ -280,7 +280,7 @@ var Me = {};
|
|
|
280
280
|
g = !0;
|
|
281
281
|
} else {
|
|
282
282
|
for (_ = s; _ <= l; ++_)
|
|
283
|
-
if (d = C.$index(r, _), n.call$2(d,
|
|
283
|
+
if (d = C.$index(r, _), n.call$2(d, w) < 0)
|
|
284
284
|
_ !== s && (C.$indexSet(r, _, C.$index(r, s)), C.$indexSet(r, s, d)), ++s;
|
|
285
285
|
else if (n.call$2(d, v) > 0)
|
|
286
286
|
for (; ; )
|
|
@@ -289,19 +289,19 @@ var Me = {};
|
|
|
289
289
|
break;
|
|
290
290
|
continue;
|
|
291
291
|
} else {
|
|
292
|
-
p = l - 1, n.call$2(C.$index(r, l),
|
|
292
|
+
p = l - 1, n.call$2(C.$index(r, l), w) < 0 ? (C.$indexSet(r, _, C.$index(r, s)), $ = s + 1, C.$indexSet(r, s, C.$index(r, l)), C.$indexSet(r, l, d), s = $) : (C.$indexSet(r, _, C.$index(r, l)), C.$indexSet(r, l, d)), l = p;
|
|
293
293
|
break;
|
|
294
294
|
}
|
|
295
295
|
g = !1;
|
|
296
296
|
}
|
|
297
|
-
if (m = s - 1, C.$indexSet(r, e, C.$index(r, m)), C.$indexSet(r, m,
|
|
297
|
+
if (m = s - 1, C.$indexSet(r, e, C.$index(r, m)), C.$indexSet(r, m, w), m = l + 1, C.$indexSet(r, i, C.$index(r, m)), C.$indexSet(r, m, v), t.Sort__doSort(r, e, s - 2, n), t.Sort__doSort(r, l + 2, i, n), !g)
|
|
298
298
|
if (s < A && l > E) {
|
|
299
|
-
for (; o.$eq$(n.call$2(C.$index(r, s),
|
|
299
|
+
for (; o.$eq$(n.call$2(C.$index(r, s), w), 0); )
|
|
300
300
|
++s;
|
|
301
301
|
for (; o.$eq$(n.call$2(C.$index(r, l), v), 0); )
|
|
302
302
|
--l;
|
|
303
303
|
for (_ = s; _ <= l; ++_)
|
|
304
|
-
if (d = C.$index(r, _), n.call$2(d,
|
|
304
|
+
if (d = C.$index(r, _), n.call$2(d, w) === 0)
|
|
305
305
|
_ !== s && (C.$indexSet(r, _, C.$index(r, s)), C.$indexSet(r, s, d)), ++s;
|
|
306
306
|
else if (n.call$2(d, v) === 0)
|
|
307
307
|
for (; ; )
|
|
@@ -310,7 +310,7 @@ var Me = {};
|
|
|
310
310
|
break;
|
|
311
311
|
continue;
|
|
312
312
|
} else {
|
|
313
|
-
p = l - 1, n.call$2(C.$index(r, l),
|
|
313
|
+
p = l - 1, n.call$2(C.$index(r, l), w) < 0 ? (C.$indexSet(r, _, C.$index(r, s)), $ = s + 1, C.$indexSet(r, s, C.$index(r, l)), C.$indexSet(r, l, d), s = $) : (C.$indexSet(r, _, C.$index(r, l)), C.$indexSet(r, l, d)), l = p;
|
|
314
314
|
break;
|
|
315
315
|
}
|
|
316
316
|
t.Sort__doSort(r, s, l, n);
|
|
@@ -1378,7 +1378,7 @@ var Me = {};
|
|
|
1378
1378
|
return s + "})";
|
|
1379
1379
|
},
|
|
1380
1380
|
_functionRtiToString(r, e, i) {
|
|
1381
|
-
var n, a, s, l, _, d, c, p, $, g, m, h, A, E, M, b, R, C, O,
|
|
1381
|
+
var n, a, s, l, _, d, c, p, $, g, m, h, A, E, M, b, R, C, O, w, L, v = ", ";
|
|
1382
1382
|
if (i != null) {
|
|
1383
1383
|
for (n = i.length, e == null ? (e = t._setArrayType([], y.JSArray_String), a = null) : a = e.length, s = e.length, l = n; l > 0; --l)
|
|
1384
1384
|
e.push("T" + (s + l));
|
|
@@ -1387,19 +1387,19 @@ var Me = {};
|
|
|
1387
1387
|
c += ">";
|
|
1388
1388
|
} else
|
|
1389
1389
|
c = "", a = null;
|
|
1390
|
-
for (_ = r._primary, h = r._rest, A = h._requiredPositional, E = A.length, M = h._optionalPositional, b = M.length, R = h._named, C = R.length, O = t._rtiToString(_, e),
|
|
1391
|
-
|
|
1390
|
+
for (_ = r._primary, h = r._rest, A = h._requiredPositional, E = A.length, M = h._optionalPositional, b = M.length, R = h._named, C = R.length, O = t._rtiToString(_, e), w = "", L = "", l = 0; l < E; ++l, L = v)
|
|
1391
|
+
w += L + t._rtiToString(A[l], e);
|
|
1392
1392
|
if (b > 0) {
|
|
1393
|
-
for (
|
|
1394
|
-
|
|
1395
|
-
|
|
1393
|
+
for (w += L + "[", L = "", l = 0; l < b; ++l, L = v)
|
|
1394
|
+
w += L + t._rtiToString(M[l], e);
|
|
1395
|
+
w += "]";
|
|
1396
1396
|
}
|
|
1397
1397
|
if (C > 0) {
|
|
1398
|
-
for (
|
|
1399
|
-
|
|
1400
|
-
|
|
1398
|
+
for (w += L + "{", L = "", l = 0; l < C; l += 3, L = v)
|
|
1399
|
+
w += L, R[l + 1] && (w += "required "), w += t._rtiToString(R[l + 2], e) + " " + R[l];
|
|
1400
|
+
w += "}";
|
|
1401
1401
|
}
|
|
1402
|
-
return a != null && (e.toString, e.length = a), c + "(" +
|
|
1402
|
+
return a != null && (e.toString, e.length = a), c + "(" + w + ") => " + O;
|
|
1403
1403
|
},
|
|
1404
1404
|
_rtiToString(r, e) {
|
|
1405
1405
|
var i, n, a, s, l, _, d = r._kind;
|
|
@@ -1757,7 +1757,7 @@ var Me = {};
|
|
|
1757
1757
|
return d === 12 ? e === y.JavaScriptFunction ? !0 : s ? !1 : t._isFunctionSubtype(r, e, i, n, a) : l === 9 ? d !== 9 ? !1 : t._isInterfaceSubtype(r, e, i, n, a) : (s = l === 11, s && n === y.Record ? !0 : s && d === 11 ? t._isRecordSubtype(r, e, i, n, a) : !1);
|
|
1758
1758
|
},
|
|
1759
1759
|
_isFunctionSubtype(r, e, i, n, a) {
|
|
1760
|
-
var s, l, _, d, c, p, $, g, m, h, A, E, M, b, R, C, O,
|
|
1760
|
+
var s, l, _, d, c, p, $, g, m, h, A, E, M, b, R, C, O, w, L, v, x, q;
|
|
1761
1761
|
if (!t._isSubtype(r, e._primary, i, n._primary, a) || (s = e._rest, l = n._rest, _ = s._requiredPositional, d = l._requiredPositional, c = _.length, p = d.length, c > p) || ($ = p - c, g = s._optionalPositional, m = l._optionalPositional, h = g.length, A = m.length, c + h < p + A))
|
|
1762
1762
|
return !1;
|
|
1763
1763
|
for (E = 0; E < c; ++E)
|
|
@@ -1769,23 +1769,23 @@ var Me = {};
|
|
|
1769
1769
|
for (E = 0; E < A; ++E)
|
|
1770
1770
|
if (M = g[$ + E], !t._isSubtype(r, m[E], a, M, i))
|
|
1771
1771
|
return !1;
|
|
1772
|
-
for (b = s._named, R = l._named, C = b.length, O = R.length,
|
|
1772
|
+
for (b = s._named, R = l._named, C = b.length, O = R.length, w = 0, L = 0; L < O; L += 3)
|
|
1773
1773
|
for (v = R[L]; ; ) {
|
|
1774
|
-
if (
|
|
1774
|
+
if (w >= C || (x = b[w], w += 3, v < x))
|
|
1775
1775
|
return !1;
|
|
1776
|
-
if (
|
|
1777
|
-
if (
|
|
1776
|
+
if (q = b[w - 2], x < v) {
|
|
1777
|
+
if (q)
|
|
1778
1778
|
return !1;
|
|
1779
1779
|
continue;
|
|
1780
1780
|
}
|
|
1781
|
-
if (M = R[L + 1],
|
|
1781
|
+
if (M = R[L + 1], q && !M || (M = b[w - 1], !t._isSubtype(r, R[L + 2], a, M, i)))
|
|
1782
1782
|
return !1;
|
|
1783
1783
|
break;
|
|
1784
1784
|
}
|
|
1785
|
-
for (;
|
|
1786
|
-
if (b[
|
|
1785
|
+
for (; w < C; ) {
|
|
1786
|
+
if (b[w + 1])
|
|
1787
1787
|
return !1;
|
|
1788
|
-
|
|
1788
|
+
w += 3;
|
|
1789
1789
|
}
|
|
1790
1790
|
return !0;
|
|
1791
1791
|
},
|
|
@@ -3944,7 +3944,7 @@ and target_table.docId in UNNEST(@docIds)
|
|
|
3944
3944
|
return n = new t.Connection("", "", n.$index(r, "sourceDatasetId"), n.$index(r, "targetDatasetId")), e = S.$get$defaultSchemas(), i = new t.SchemaLibrary(e), i.SchemaLibrary$2$connection$schemas(n, e), new t.QueryEngine(new t.QueryEngineContext(n, i));
|
|
3945
3945
|
},
|
|
3946
3946
|
getMergeInfoSql(r) {
|
|
3947
|
-
var e, i, n, a, s, l, _, d, c, p, $ = "CAST(JSON_VALUE(", g = ", '$._restaurantId') AS STRING) AS restaurantId,", m = u.C_JsonCodec.decode$2$reviver(
|
|
3947
|
+
var e, i, n, a, s, l, _, d, c, p, $ = "CAST(JSON_VALUE(", g = ", '$._restaurantId') AS STRING) AS restaurantId,", m = u.C_JsonCodec.decode$2$reviver(D.JSON.stringify(r), null), h = o.getInterceptor$asx(m), A = t._getQueryEngine(h.$index(m, "bigQuery"));
|
|
3948
3948
|
return h = h.$index(m, "request"), e = t.Schema_fromJson(h.$index(0, "schema")), i = h.$index(0, "start"), h = h.$index(0, "end"), e.setConnection$1(A.context.connection), n = o.contains$1$asx(e.clusters, "restaurantId"), a = e.source.field, s = a != null, l = e.get$fullRawTableName(), _ = e.getTransformedTableQuery$1$getParentDocs(!0), d = s ? `child_table AS (
|
|
3949
3949
|
` + e.getTransformedTableQuery$1$getParentDocs(!1) + `
|
|
3950
3950
|
),
|
|
@@ -3981,36 +3981,36 @@ select
|
|
|
3981
3981
|
`;
|
|
3982
3982
|
},
|
|
3983
3983
|
getClearTableSql(r) {
|
|
3984
|
-
var e = u.C_JsonCodec.decode$2$reviver(
|
|
3984
|
+
var e = u.C_JsonCodec.decode$2$reviver(D.JSON.stringify(r), null), i = o.getInterceptor$asx(e), n = t._getQueryEngine(i.$index(e, "bigQuery"));
|
|
3985
3985
|
return i = t.Schema_fromJson(i.$index(e, "request").$index(0, "schema")), i.setConnection$1(n.context.connection), "DELETE FROM " + i.get$fullMaterializedTableName() + ` where true;
|
|
3986
3986
|
`;
|
|
3987
3987
|
},
|
|
3988
3988
|
getMergeSql(r) {
|
|
3989
|
-
var e, i, n, a, s, l = u.C_JsonCodec.decode$2$reviver(
|
|
3989
|
+
var e, i, n, a, s, l = u.C_JsonCodec.decode$2$reviver(D.JSON.stringify(r), null), _ = o.getInterceptor$asx(l), d = t._getQueryEngine(_.$index(l, "bigQuery"));
|
|
3990
3990
|
return _ = _.$index(l, "request"), e = t.Schema_fromJson(_.$index(0, "schema")), i = _.$index(0, "publishStartedAt"), n = _.$index(0, "publishEndedAt"), a = _.$index(0, "docIds"), s = _.$index(0, "restaurantIds"), _ = _.$index(0, "updateTimestamps"), e.setConnection$1(d.context.connection), t.Materialize_getMergeSql(e, a, n, i, s, e, _);
|
|
3991
3991
|
},
|
|
3992
3992
|
getSchemas(r) {
|
|
3993
|
-
var e = t._getQueryEngine(u.C_JsonCodec.decode$2$reviver(
|
|
3994
|
-
return
|
|
3993
|
+
var e = t._getQueryEngine(u.C_JsonCodec.decode$2$reviver(D.JSON.stringify(r), null)).context.schemaLibrary._schemas, i = t._arrayInstanceType(e)._eval$1("MappedListIterable<1,Map<String,@>>");
|
|
3994
|
+
return D.JSON.parse(u.C_JsonCodec.encode$2$toEncodable(t.List_List$of(new t.MappedListIterable(e, new t.getSchemas_closure(), i), !0, i._eval$1("ListIterable.E")), null));
|
|
3995
3995
|
},
|
|
3996
3996
|
getVisualizationSchemas(r) {
|
|
3997
|
-
var e = t._getQueryEngine(o.$index$asx(u.C_JsonCodec.decode$2$reviver(
|
|
3998
|
-
return
|
|
3997
|
+
var e = t._getQueryEngine(o.$index$asx(u.C_JsonCodec.decode$2$reviver(D.JSON.stringify(r), null), "bigQuery")).context.schemaLibrary.get$visualizationSchemas(), i = t._arrayInstanceType(e)._eval$1("MappedListIterable<1,Map<String,@>>");
|
|
3998
|
+
return D.JSON.parse(u.C_JsonCodec.encode$2$toEncodable(t.List_List$of(new t.MappedListIterable(e, new t.getVisualizationSchemas_closure(), i), !0, i._eval$1("ListIterable.E")), null));
|
|
3999
3999
|
},
|
|
4000
4000
|
requestJsonToSql(r) {
|
|
4001
|
-
var e = u.C_JsonCodec.decode$2$reviver(
|
|
4002
|
-
return
|
|
4001
|
+
var e = u.C_JsonCodec.decode$2$reviver(D.JSON.stringify(r), null), i = o.getInterceptor$asx(e);
|
|
4002
|
+
return D.JSON.parse(u.C_JsonCodec.encode$2$toEncodable(t._getQueryEngine(i.$index(e, "bigQuery")).getSql$1(t._setArrayType([t.QueryRequest_fromJson(i.$index(e, "request"))], y.JSArray_QueryRequest)), null));
|
|
4003
4003
|
},
|
|
4004
4004
|
sqlResponsesToQueryResponses(r) {
|
|
4005
|
-
var e, i = u.C_JsonCodec.decode$2$reviver(
|
|
4006
|
-
return n = t.ListExtensions_mapIndexed(o.map$1$ax(n.$index(i, "requests"), new t.sqlResponsesToQueryResponses_closure()).toList$0(0), new t.sqlResponsesToQueryResponses_closure0(n.$index(i, "sqlResponses"), a), y.QueryRequest, y.QueryResponse), e = t.List_List$of(n, !0, n.$ti._eval$1("Iterable.E")), n = t._arrayInstanceType(e)._eval$1("MappedListIterable<1,Map<String,@>>"),
|
|
4005
|
+
var e, i = u.C_JsonCodec.decode$2$reviver(D.JSON.stringify(r), null), n = o.getInterceptor$asx(i), a = t._getQueryEngine(n.$index(i, "bigQuery"));
|
|
4006
|
+
return n = t.ListExtensions_mapIndexed(o.map$1$ax(n.$index(i, "requests"), new t.sqlResponsesToQueryResponses_closure()).toList$0(0), new t.sqlResponsesToQueryResponses_closure0(n.$index(i, "sqlResponses"), a), y.QueryRequest, y.QueryResponse), e = t.List_List$of(n, !0, n.$ti._eval$1("Iterable.E")), n = t._arrayInstanceType(e)._eval$1("MappedListIterable<1,Map<String,@>>"), D.JSON.parse(u.C_JsonCodec.encode$2$toEncodable(t.List_List$of(new t.MappedListIterable(e, new t.sqlResponsesToQueryResponses_closure1(), n), !0, n._eval$1("ListIterable.E")), null));
|
|
4007
4007
|
},
|
|
4008
4008
|
getQueryRequests(r) {
|
|
4009
|
-
var e, i, n, a, s, l, _, d, c, p = u.C_JsonCodec.decode$2$reviver(
|
|
4010
|
-
return h == null && (h = []), e = o.map$1$ax(h, new t.getQueryRequests_closure0()).toList$0(0), i = o.map$1$ax($.$index(p, "timeRange"), new t.getQueryRequests_closure1()).toList$0(0), n = o.map$1$ax($.$index(p, "restaurantIds"), new t.getQueryRequests_closure2()).toList$0(0), a = o.map$1$ax($.$index(p, "warehouseIds"), new t.getQueryRequests_closure3()).toList$0(0), s = o.map$1$ax($.$index(p, "businessIds"), new t.getQueryRequests_closure4()).toList$0(0), $.$index(p, "timezone"), $ = g.config, h = t._arrayInstanceType(m)._eval$1("MappedListIterable<1,@>"), l = t._arrayInstanceType(i)._eval$1("MappedListIterable<1,@>"), _ = l._eval$1("ListIterable.E"), d = $.toRequests$1(new t.GlobalFilterModel(t.List_List$of(new t.MappedListIterable(m, new t.getQueryRequests_closure5(), h), !0, h._eval$1("ListIterable.E")), t.List_List$of(new t.MappedListIterable(i, new t.getQueryRequests_closure6(), l), !0, _), n, a, s, !1)), e.length !== 0 && $.isComparable === !0 && (h = t.List_List$of(d, !0, y.QueryRequest), c = t._arrayInstanceType(e)._eval$1("MappedListIterable<1,@>"), u.JSArray_methods.addAll$1(h, $.toRequests$1(new t.GlobalFilterModel(t.List_List$of(new t.MappedListIterable(e, new t.getQueryRequests_closure7(), c), !0, c._eval$1("ListIterable.E")), t.List_List$of(new t.MappedListIterable(i, new t.getQueryRequests_closure8(), l), !0, _), n, a, s, !0))), d = h), $ = t._arrayInstanceType(d)._eval$1("MappedListIterable<1,Map<String,@>>"),
|
|
4009
|
+
var e, i, n, a, s, l, _, d, c, p = u.C_JsonCodec.decode$2$reviver(D.JSON.stringify(r), null), $ = o.getInterceptor$asx(p), g = t.ReportWidgetModel_fromJson($.$index(p, "widget")), m = o.map$1$ax($.$index(p, "dateRange"), new t.getQueryRequests_closure()).toList$0(0), h = $.$index(p, "compareDateRange");
|
|
4010
|
+
return h == null && (h = []), e = o.map$1$ax(h, new t.getQueryRequests_closure0()).toList$0(0), i = o.map$1$ax($.$index(p, "timeRange"), new t.getQueryRequests_closure1()).toList$0(0), n = o.map$1$ax($.$index(p, "restaurantIds"), new t.getQueryRequests_closure2()).toList$0(0), a = o.map$1$ax($.$index(p, "warehouseIds"), new t.getQueryRequests_closure3()).toList$0(0), s = o.map$1$ax($.$index(p, "businessIds"), new t.getQueryRequests_closure4()).toList$0(0), $.$index(p, "timezone"), $ = g.config, h = t._arrayInstanceType(m)._eval$1("MappedListIterable<1,@>"), l = t._arrayInstanceType(i)._eval$1("MappedListIterable<1,@>"), _ = l._eval$1("ListIterable.E"), d = $.toRequests$1(new t.GlobalFilterModel(t.List_List$of(new t.MappedListIterable(m, new t.getQueryRequests_closure5(), h), !0, h._eval$1("ListIterable.E")), t.List_List$of(new t.MappedListIterable(i, new t.getQueryRequests_closure6(), l), !0, _), n, a, s, !1)), e.length !== 0 && $.isComparable === !0 && (h = t.List_List$of(d, !0, y.QueryRequest), c = t._arrayInstanceType(e)._eval$1("MappedListIterable<1,@>"), u.JSArray_methods.addAll$1(h, $.toRequests$1(new t.GlobalFilterModel(t.List_List$of(new t.MappedListIterable(e, new t.getQueryRequests_closure7(), c), !0, c._eval$1("ListIterable.E")), t.List_List$of(new t.MappedListIterable(i, new t.getQueryRequests_closure8(), l), !0, _), n, a, s, !0))), d = h), $ = t._arrayInstanceType(d)._eval$1("MappedListIterable<1,Map<String,@>>"), D.JSON.parse(u.C_JsonCodec.encode$2$toEncodable(t.List_List$of(new t.MappedListIterable(d, new t.getQueryRequests_closure9(), $), !0, $._eval$1("ListIterable.E")), null));
|
|
4011
4011
|
},
|
|
4012
4012
|
getCreateMaterializedTableSql(r) {
|
|
4013
|
-
var e = u.C_JsonCodec.decode$2$reviver(
|
|
4013
|
+
var e = u.C_JsonCodec.decode$2$reviver(D.JSON.stringify(r), null), i = o.getInterceptor$asx(e), n = t._getQueryEngine(i.$index(e, "bigQuery"));
|
|
4014
4014
|
return i = t.Schema_fromJson(i.$index(e, "request").$index(0, "schema")), i.setConnection$1(n.context.connection), t.Materialize_get_createMaterializedTableSql(i);
|
|
4015
4015
|
},
|
|
4016
4016
|
getSchemas_closure: function() {
|
|
@@ -4049,7 +4049,7 @@ select
|
|
|
4049
4049
|
Exports: function() {
|
|
4050
4050
|
},
|
|
4051
4051
|
main() {
|
|
4052
|
-
o.set$requestJsonToSql$x(
|
|
4052
|
+
o.set$requestJsonToSql$x(D.exports, t.allowInterop(t.js_compiler__requestJsonToSql$closure())), o.set$getSchemas$x(D.exports, t.allowInterop(t.js_compiler__getSchemas$closure())), o.set$getMergeInfoSql$x(D.exports, t.allowInterop(t.js_compiler__getMergeInfoSql$closure())), o.set$getMergeSql$x(D.exports, t.allowInterop(t.js_compiler__getMergeSql$closure())), o.set$getClearTableSql$x(D.exports, t.allowInterop(t.js_compiler__getClearTableSql$closure())), o.set$getCreateMaterializedTableSql$x(D.exports, t.allowInterop(t.js_compiler__getCreateMaterializedTableSql$closure())), o.set$getVisualizationSchemas$x(D.exports, t.allowInterop(t.js_compiler__getVisualizationSchemas$closure())), o.set$getQueryRequests$x(D.exports, t.allowInterop(t.js_compiler__getQueryRequests$closure())), o.set$sqlResponsesToQueryResponses$x(D.exports, t.allowInterop(t.js_compiler__sqlResponsesToQueryResponses$closure()));
|
|
4053
4053
|
},
|
|
4054
4054
|
_Exports: function() {
|
|
4055
4055
|
},
|
|
@@ -8202,8 +8202,8 @@ Arguments: [` + d + "]";
|
|
|
8202
8202
|
$signature: 1
|
|
8203
8203
|
}, t.billSchema_closure.prototype = {
|
|
8204
8204
|
call$1(r) {
|
|
8205
|
-
var e = null, i = "seqNumber", n = "deliveryName", a = "isRefund", s = "isPickup", l = "isInHouseDelivery", _ = "isDelivery", d = "completedAt", c = "integratedOrderId", p = "itemCount", $ = "taxTotal", g = "discountTotal", m = "grossTotal", h = "rounding", A = "takeawayPrice", E = "thirdPartyExtraCharge", M = "deliveryFee", b = "nettTotal", R = "deliveryFeeWithTax", C = "deliveryFeeWithoutTax", O = "otherChargeWithTax",
|
|
8206
|
-
return t._setArrayType([t.Field_Field$string(e, !1, "ID", "id", "_id", e, r), t.Field_Field$string(e, !0, e, "docId", "_docId", e, r), t.Field_Field$timestamp(e, !0, e, "publishedAt", "_publishedAt", e, r), t.Field_Field$timestamp(e, !1, "Time", "createdAt", "_createdAt", e, r), t.Field_Field$string(e, !1, "Restaurant ID", "restaurantId", "_restaurantId", e, r), t.Field_Field$string(e, !1, "Status", "status", "status", e, r), t.Field_Field$string(e, !1, "No.", i, i, e, r), t.Field_Field$string(e, !1, "Table", "slot", "slot", e, r), t.Field_Field$string(e, !1, "Delivery", n, n, e, r), t.Field_Field$string(e, !1, "Refund ID", "refundFrom", "refundedFrom", e, r), t.Field_Field$bool(e, !1, "Refund", a, a, e, r), t.Field_Field$string(e, !0, e, "refundApprovedById", "refund.approvedBy.id", e, r), t.Field_Field$string(e, !1, "Refund approver", "refundApprovedByName", "refund.approvedBy.name", e, r), t.Field_Field$string(e, !0, e, "refundedById", "refund.by.id", e, r), t.Field_Field$string(e, !1, "Refund user", "refundedByName", "refund.by.name", e, r), t.Field_Field$string(e, !1, "Refund reason", "refundReason", "refund.reason", e, r), t.Field_Field$string(e, !1, "Member ID", "memberId", "membership.id", e, r), t.Field_Field$string(e, !1, "Member user ID", "memberUserId", "membership.userId", e, r), t.Field_Field$string(e, !1, "Member name", "memberUserName", "membership.name", e, r), t.Field_Field$string(e, !0, "Member phone", "memberPhoneNumber", "membership.phoneNumber", e, r), t.Field_Field$timestamp(e, !1, "Member birthday", "memberBirthday", "membership.birthday", e, r), t.Field_Field$string(e, !1, "Remark", "remark", "remark", e, r), t.Field_Field$string(e, !1, "Source", "source", "source", e, r), t.Field_Field$string(e, !1, "Type", "type", "type", e, r), t.Field_Field$bool(e, !1, "Pickup", s, s, e, r), t.Field_Field$bool(e, !1, "Is in house delivery", l, l, e, r), t.Field_Field$bool(e, !1, "Is other delivery", _, _, e, r), t.Field_Field$bool(e, !1, "Is takeaway", "isTakeaway", "is.takeaway", e, r), t.Field_Field$timestamp(e, !1, "Closed at", d, d, e, r), t.Field_Field$string(e, !1, "Inclusive SST", "sstInclusive", "nettTaxes.SST.inclusive", e, r), t.Field_Field$string(e, !1, "SST before discount", "sstBeforeDiscount", "nettTaxes.SST.beforeDiscount", e, r), t.Field_Field$string(e, !1, "Inclusive SC", "serviceChargeInclusive", "nettTaxes.SERVICE_CHARGE.inclusive", e, r), t.Field_Field$string(e, !1, "SC before discount", "serviceChargeBeforeDiscount", "nettTaxes.SERVICE_CHARGE.beforeDiscount", e, r), t.Field_Field$numeric("IFNULL(@pax,0)*IF(@isRefund, -1, 1)", !1, "Pax", "pax", "person", I.COALESp, r), t.Field_Field$string(e, !1, "Integrated order ID", c, c, e, r), t.Field_Field$numeric(I.IFNULLi, !0, "Item count", p, p, I.COALESi, r), t.Field_Field$numeric("IFNULL(@taxTotal,0)*IF(@isRefund, -1, 1)", !0, e, $, $, I.COALEStax, r), t.Field_Field$numeric(I.IFNULLdi, !1, "Discount", g, g, I.COALESdi, r), t.Field_Field$numeric(I.IFNULLg, !1, "Gross", m, m, I.COALESg, r), t.Field_Field$numeric("IFNULL(@rounding,0)*IF(@isRefund, -1, 1)", !1, "Rounding", h, h, I.COALESr, r), t.Field_Field$numeric("IFNULL(@sstTotal,0)*IF(@isRefund, -1, 1)", !1, "SST", "sstTotal", "nettTaxes.SST.total", I.COALESss, r), t.Field_Field$string(e, !1, "SST %", "sstPercentage", "nettTaxes.SST.percentage", e, r), t.Field_Field$numeric(I.IFNULLs, !1, "SC", "serviceChargeTotal", "nettTaxes.SERVICE_CHARGE.total", I.COALESse, r), t.Field_Field$string(e, !1, "SC %", "serviceChargePercentage", "nettTaxes.SERVICE_CHARGE.percentage", e, r), t.Field_Field$numeric(I.x28IFNULo, !1, "Other charge", "otherChargeTotal", "nettTaxes.OTHER_CHARGE.total", I.x28COALEo, r), t.Field_Field$numeric(I.x28IFNULgx2d, !1, "Gross w/ takeaway", "subTotalWithoutTakeaway", e, I.x28COALEgx2d, r), t.Field_Field$numeric(I.IFNULLta, !1, "Takeaway", A, A, I.COALEStak, r), t.Field_Field$numeric(I.IFNULLth, !1, "Extra charge", E, E, I.COALESth, r), t.Field_Field$numeric(I.IFNULLde, !1, "Delivery fee", M, M, I.COALESde, r), t.Field_Field$numeric(I.IFNULLn, !1, "Nett", b, b, I.COALESn, r), t.Field_Field$numeric("(IFNULL(@grossTotal,0)+IFNULL(@deliveryFeeWithTax,0)+IFNULL(@otherChargeWithTax,0)+IFNULL(@discountTotal,0))*IF(@isRefund, -1, 1)", !1, "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, !1, "Member Recency", "recency", e, I.MIN_EX, r), t.Field_Field$numeric(e, !1, "Member frequency", "frequency", e, I.COUNT_, r), t.Field_Field$numeric(e, !1, "Member monetary", "monetary", e, I.SUM__n, r), t.Field_Field$numeric("IFNULL(@deliveryFeeWithTax,0)*IF(@isRefund, -1, 1)", !1, "Delivery fee with tax", R, R, "COALESCE(@delivery_fee_with_tax,0)*CASE WHEN @is_refund THEN -1 ELSE 1 END", r), t.Field_Field$numeric("IFNULL(@deliveryFeeWithoutTax,0)*IF(@isRefund, -1, 1)", !1, "Delivery fee without tax", C, C, "COALESCE(@delivery_fee_without_tax,0)*CASE WHEN @is_refund THEN -1 ELSE 1 END", r), t.Field_Field$numeric("IFNULL(@otherChargeWithTax,0)*IF(@isRefund, -1, 1)", !1, "Other charge with tax", O, O, "COALESCE(@other_charge_with_tax,0)*CASE WHEN @is_refund THEN -1 ELSE 1 END", r), t.Field_Field$numeric("IFNULL(@otherChargeWithoutTax,0)*IF(@isRefund, -1, 1)", !1, "Other charge without tax",
|
|
8205
|
+
var e = null, i = "seqNumber", n = "deliveryName", a = "isRefund", s = "isPickup", l = "isInHouseDelivery", _ = "isDelivery", d = "completedAt", c = "integratedOrderId", p = "itemCount", $ = "taxTotal", g = "discountTotal", m = "grossTotal", h = "rounding", A = "takeawayPrice", E = "thirdPartyExtraCharge", M = "deliveryFee", b = "nettTotal", R = "deliveryFeeWithTax", C = "deliveryFeeWithoutTax", O = "otherChargeWithTax", w = "otherChargeWithoutTax";
|
|
8206
|
+
return t._setArrayType([t.Field_Field$string(e, !1, "ID", "id", "_id", e, r), t.Field_Field$string(e, !0, e, "docId", "_docId", e, r), t.Field_Field$timestamp(e, !0, e, "publishedAt", "_publishedAt", e, r), t.Field_Field$timestamp(e, !1, "Time", "createdAt", "_createdAt", e, r), t.Field_Field$string(e, !1, "Restaurant ID", "restaurantId", "_restaurantId", e, r), t.Field_Field$string(e, !1, "Status", "status", "status", e, r), t.Field_Field$string(e, !1, "No.", i, i, e, r), t.Field_Field$string(e, !1, "Table", "slot", "slot", e, r), t.Field_Field$string(e, !1, "Delivery", n, n, e, r), t.Field_Field$string(e, !1, "Refund ID", "refundFrom", "refundedFrom", e, r), t.Field_Field$bool(e, !1, "Refund", a, a, e, r), t.Field_Field$string(e, !0, e, "refundApprovedById", "refund.approvedBy.id", e, r), t.Field_Field$string(e, !1, "Refund approver", "refundApprovedByName", "refund.approvedBy.name", e, r), t.Field_Field$string(e, !0, e, "refundedById", "refund.by.id", e, r), t.Field_Field$string(e, !1, "Refund user", "refundedByName", "refund.by.name", e, r), t.Field_Field$string(e, !1, "Refund reason", "refundReason", "refund.reason", e, r), t.Field_Field$string(e, !1, "Member ID", "memberId", "membership.id", e, r), t.Field_Field$string(e, !1, "Member user ID", "memberUserId", "membership.userId", e, r), t.Field_Field$string(e, !1, "Member name", "memberUserName", "membership.name", e, r), t.Field_Field$string(e, !0, "Member phone", "memberPhoneNumber", "membership.phoneNumber", e, r), t.Field_Field$timestamp(e, !1, "Member birthday", "memberBirthday", "membership.birthday", e, r), t.Field_Field$string(e, !1, "Remark", "remark", "remark", e, r), t.Field_Field$string(e, !1, "Source", "source", "source", e, r), t.Field_Field$string(e, !1, "Type", "type", "type", e, r), t.Field_Field$bool(e, !1, "Pickup", s, s, e, r), t.Field_Field$bool(e, !1, "Is in house delivery", l, l, e, r), t.Field_Field$bool(e, !1, "Is other delivery", _, _, e, r), t.Field_Field$bool(e, !1, "Is takeaway", "isTakeaway", "is.takeaway", e, r), t.Field_Field$timestamp(e, !1, "Closed at", d, d, e, r), t.Field_Field$string(e, !1, "Inclusive SST", "sstInclusive", "nettTaxes.SST.inclusive", e, r), t.Field_Field$string(e, !1, "SST before discount", "sstBeforeDiscount", "nettTaxes.SST.beforeDiscount", e, r), t.Field_Field$string(e, !1, "Inclusive SC", "serviceChargeInclusive", "nettTaxes.SERVICE_CHARGE.inclusive", e, r), t.Field_Field$string(e, !1, "SC before discount", "serviceChargeBeforeDiscount", "nettTaxes.SERVICE_CHARGE.beforeDiscount", e, r), t.Field_Field$numeric("IFNULL(@pax,0)*IF(@isRefund, -1, 1)", !1, "Pax", "pax", "person", I.COALESp, r), t.Field_Field$string(e, !1, "Integrated order ID", c, c, e, r), t.Field_Field$numeric(I.IFNULLi, !0, "Item count", p, p, I.COALESi, r), t.Field_Field$numeric("IFNULL(@taxTotal,0)*IF(@isRefund, -1, 1)", !0, e, $, $, I.COALEStax, r), t.Field_Field$numeric(I.IFNULLdi, !1, "Discount", g, g, I.COALESdi, r), t.Field_Field$numeric(I.IFNULLg, !1, "Gross", m, m, I.COALESg, r), t.Field_Field$numeric("IFNULL(@rounding,0)*IF(@isRefund, -1, 1)", !1, "Rounding", h, h, I.COALESr, r), t.Field_Field$numeric("IFNULL(@sstTotal,0)*IF(@isRefund, -1, 1)", !1, "SST", "sstTotal", "nettTaxes.SST.total", I.COALESss, r), t.Field_Field$string(e, !1, "SST %", "sstPercentage", "nettTaxes.SST.percentage", e, r), t.Field_Field$numeric(I.IFNULLs, !1, "SC", "serviceChargeTotal", "nettTaxes.SERVICE_CHARGE.total", I.COALESse, r), t.Field_Field$string(e, !1, "SC %", "serviceChargePercentage", "nettTaxes.SERVICE_CHARGE.percentage", e, r), t.Field_Field$numeric(I.x28IFNULo, !1, "Other charge", "otherChargeTotal", "nettTaxes.OTHER_CHARGE.total", I.x28COALEo, r), t.Field_Field$numeric(I.x28IFNULgx2d, !1, "Gross w/ takeaway", "subTotalWithoutTakeaway", e, I.x28COALEgx2d, r), t.Field_Field$numeric(I.IFNULLta, !1, "Takeaway", A, A, I.COALEStak, r), t.Field_Field$numeric(I.IFNULLth, !1, "Extra charge", E, E, I.COALESth, r), t.Field_Field$numeric(I.IFNULLde, !1, "Delivery fee", M, M, I.COALESde, r), t.Field_Field$numeric(I.IFNULLn, !1, "Nett", b, b, I.COALESn, r), t.Field_Field$numeric("(IFNULL(@grossTotal,0)+IFNULL(@deliveryFeeWithTax,0)+IFNULL(@otherChargeWithTax,0)+IFNULL(@discountTotal,0))*IF(@isRefund, -1, 1)", !1, "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, !1, "Member Recency", "recency", e, I.MIN_EX, r), t.Field_Field$numeric(e, !1, "Member frequency", "frequency", e, I.COUNT_, r), t.Field_Field$numeric(e, !1, "Member monetary", "monetary", e, I.SUM__n, r), t.Field_Field$numeric("IFNULL(@deliveryFeeWithTax,0)*IF(@isRefund, -1, 1)", !1, "Delivery fee with tax", R, R, "COALESCE(@delivery_fee_with_tax,0)*CASE WHEN @is_refund THEN -1 ELSE 1 END", r), t.Field_Field$numeric("IFNULL(@deliveryFeeWithoutTax,0)*IF(@isRefund, -1, 1)", !1, "Delivery fee without tax", C, C, "COALESCE(@delivery_fee_without_tax,0)*CASE WHEN @is_refund THEN -1 ELSE 1 END", r), t.Field_Field$numeric("IFNULL(@otherChargeWithTax,0)*IF(@isRefund, -1, 1)", !1, "Other charge with tax", O, O, "COALESCE(@other_charge_with_tax,0)*CASE WHEN @is_refund THEN -1 ELSE 1 END", r), t.Field_Field$numeric("IFNULL(@otherChargeWithoutTax,0)*IF(@isRefund, -1, 1)", !1, "Other charge without tax", w, w, "COALESCE(@other_charge_without_tax,0)*CASE WHEN @is_refund THEN -1 ELSE 1 END", r), t.Field_Field$numeric(e, !1, "Duration", "duration", e, "EXTRACT(EPOCH FROM (@completed_at-@created_at))", r), t.Field_Field$string(e, !1, "Restaurant", "restaurantName", e, "(select name from restaurants where restaurants.id=@restaurant_id)", r)], y.JSArray_Field);
|
|
8207
8207
|
},
|
|
8208
8208
|
$signature: 0
|
|
8209
8209
|
}, t.billSchema_closure0.prototype = {
|
|
@@ -8342,10 +8342,10 @@ Arguments: [` + d + "]";
|
|
|
8342
8342
|
$signature: 1
|
|
8343
8343
|
}, t.flattenItemSchema_closure.prototype = {
|
|
8344
8344
|
call$1(r) {
|
|
8345
|
-
var e = null, i = "itemCreatedAt", n = "billCompletedAt", a = "perXUnit", s = "takeawayId", l = "takeawayName", _ = "productId", d = "isRefund", c = "servedAt", p = "isTakeaway", $ = "quantity", g = "unitQuantity", m = "billAdjustmentTotal", h = "itemAdjustmentTotal", A = "grossTotal", E = "takeawayPrice", M = "nettTotal", b = "layerNettTotal", R = "layerBillAdjustmentTotal", C = "layerItemAdjustmentTotal", O = "layerGrossTotal",
|
|
8345
|
+
var e = null, i = "itemCreatedAt", n = "billCompletedAt", a = "perXUnit", s = "takeawayId", l = "takeawayName", _ = "productId", d = "isRefund", c = "servedAt", p = "isTakeaway", $ = "quantity", g = "unitQuantity", m = "billAdjustmentTotal", h = "itemAdjustmentTotal", A = "grossTotal", E = "takeawayPrice", M = "nettTotal", b = "layerNettTotal", R = "layerBillAdjustmentTotal", C = "layerItemAdjustmentTotal", O = "layerGrossTotal", w = "layerTakeawayPrice", L = "layerTaxTotal", v = "layerScTotal", x = "layerOtherChargeTotal", q = "customAttributes", ce = "layerZeroParentId";
|
|
8346
8346
|
return t._setArrayType([t.Field_Field$string(e, !1, "ID", "id", "_id", e, r), t.Field_Field$string(e, !0, e, "docId", "_docId", e, r), t.Field_Field$string(e, !1, "Restaurant ID", "restaurantId", "_restaurantId", e, r), t.Field_Field$timestamp(e, !1, "Time", "createdAt", "_createdAt", e, r), t.Field_Field$timestamp(e, !0, e, "publishedAt", "_publishedAt", e, r), t.Field_Field$timestamp(e, !1, "Item time", i, i, e, r), t.Field_Field$timestamp(e, !1, "Bill close time", n, n, e, r), t.Field_Field$string(e, !1, "Bill ID", "billId", "billId", e, r), t.Field_Field$string(e, !1, "Status", "status", "status", e, r), t.Field_Field$string(e, !1, "Name", "name", "name", e, r), t.Field_Field$numeric(e, !1, "Per unit", a, a, e, r), t.Field_Field$string(e, !1, "Unit", "unit", "unit", e, r), t.Field_Field$string(`IF(@categoryName IS NULL OR @productId IS NULL OR REGEXP_CONTAINS(@productId, r'^\\d{4}-[01]\\d-[0-3]\\dT[0-2]\\d:[0-5]\\d:[0-5]\\d\\.\\d+([+-][0-2]\\d:[0-5]\\d|Z)$'), 'Other', @categoryName)
|
|
8347
8347
|
`, !1, "Category", "categoryName", "category", `CASE WHEN @category_name IS NULL OR @product_id IS NULL OR @product_id ~ '^\\d{4}-[01]\\d-[0-3]\\dT[0-2]\\d:[0-5]\\d:[0-5]\\d\\.\\d+([+-][0-2]\\d:[0-5]\\d|Z)$' THEN 'Other' ELSE @category_name END
|
|
8348
|
-
`, r), t.Field_Field$string(e, !1, "Takeaway ID", s, s, e, r), t.Field_Field$string(e, !1, "Takeaway name", l, l, e, r), t.Field_Field$string(e, !1, "Code", "code", "code", e, r), t.Field_Field$string(e, !1, "Remark", "remark", "remark", e, r), t.Field_Field$string(e, !1, "Product ID", _, _, e, r), t.Field_Field$string(e, !1, "Variant ID", "variantId", "variant.id", e, r), t.Field_Field$string(e, !1, "Variant", "variantName", "variant.name", e, r), t.Field_Field$bool(e, !1, "Refund", d, d, e, r), t.Field_Field$string(e, !1, "User id", "createdById", "createdBy.id", e, r), t.Field_Field$string(e, !1, "User", "createdByName", "createdBy.name", e, r), t.Field_Field$timestamp(e, !1, "Sent time", "sentAt", "sentAt", e, r), t.Field_Field$timestamp(e, !1, "Served time", c, c, e, r), t.Field_Field$timestamp(e, !1, "Printed time", "printedAt", "printBy.printAt", e, r), t.Field_Field$timestamp(e, !1, "Void time", "voidAt", "void.voidAt", e, r), t.Field_Field$string(e, !1, "Void reason", "voidReason", "void.reason", e, r), t.Field_Field$string(e, !0, e, "voidedById", "void.by.id", e, r), t.Field_Field$string(e, !1, "Void user", "voidedByName", "void.by.name", e, r), t.Field_Field$string(e, !0, e, "voidApprovedById", "void.approvedBy.id", e, r), t.Field_Field$string(e, !1, "Void approver", "voidApprovedByName", "void.approvedBy.name", e, r), t.Field_Field$bool(e, !1, "SST before discount", "sstBeforeDiscount", "sst.beforeDiscount", e, r), t.Field_Field$bool(e, !1, "SC before discount", "serviceChargeBeforeDiscount", "sc.beforeDiscount", e, r), t.Field_Field$bool(e, !1, "Takeaway", p, p, e, r), t.Field_Field$numeric("@quantity*IF(@isRefund, -1, 1)", !1, "Qty", $, $, I.x40quant, r), t.Field_Field$numeric("@unitQuantity*IF(@isRefund, -1, 1)", !1, "Unit qty", g, g, I.x40unit_, r), t.Field_Field$numeric("@sstTotal*IF(@isRefund, -1, 1)", !1, "SST", "sstTotal", "sst.total", I.x40sst_t, r), t.Field_Field$numeric(e, !0, "SST %", "sstPercentage", "sst.percentage", e, r), t.Field_Field$numeric(e, !0, "SC %", "serviceChargePercentage", "sc.percentage", e, r), t.Field_Field$numeric("@serviceChargeTotal*IF(@isRefund, -1, 1)", !1, "SC", "serviceChargeTotal", "sc.total", I.x40servi, r), t.Field_Field$numeric("@otherChargeTotal*IF(@isRefund, -1, 1)", !1, "Other charge", "otherChargeTotal", "otherCharge.total", I.x40other, r), t.Field_Field$numeric(I.x40billA, !1, "Bill discount", m, m, I.x40bill_, r), t.Field_Field$numeric(I.x40itemA, !1, "Item discount", h, h, I.x40item_, r), t.Field_Field$numeric("@grossTotal*IF(@isRefund, -1, 1)", !1, "Gross", A, A, I.x40gross, r), t.Field_Field$numeric(I.x28_grosT, !1, "Gross w/ takeaway", "grossTotalWithoutTakeaway", e, I.x28_gros_, r), t.Field_Field$numeric("@takeawayPrice*IF(@isRefund, -1, 1)", !1, "Takeaway price", E, E, I.x40takea, r), t.Field_Field$numeric("@nettTotal*IF(@isRefund, -1, 1)", !1, "Nett", M, M, I.x40nett_, r), t.Field_Field$string(e, !1, "Parent ID", "parentId", "parent.id", e, r), t.Field_Field$string(e, !1, "Parent name", "parentName", "parent.name", e, r), t.Field_Field$string(e, !1, "Addon type", "addonType", "addon.type", e, r), t.Field_Field$string(e, !1, "Addon ID", "addonId", "addon.selectionId", e, r), t.Field_Field$string("SPLIT(@addonId, '/')[OFFSET(0)]", !1, "Group ID", "groupId", e, "SPLIT_PART(@addon_id, '/',1)", r), t.Field_Field$numeric(e, !1, "Layer", "layer", "layer", e, r), t.Field_Field$numeric("@addonPrice*IF(@isRefund, -1, 1)", !1, "Addon price", "addonPrice", "addon.price", I.x40addon, r), t.Field_Field$numeric("@taxTotal*IF(@isRefund, -1, 1)", !1, "Tax", "taxTotal", "tax.total", "@tax_total*CASE WHEN @is_refund THEN -1 ELSE 1 END", r), t.Field_Field$numeric(I.x28IFNULb, !1, "Discount", "discountTotal", e, I.x28COALEb, r), t.Field_Field$numeric(I.x28IFNULgx2b, !1, "Gross before charges", "grossBeforeCharges", e, I.x28COALEgx2b, r), t.Field_Field$numeric(I.TIMEST, !1, "Preparation seconds", "preparationSeconds", e, I.EXTRAC, r), t.Field_Field$string(I.CONCAT_, !1, "Summary", "summary", e, I.CONCATA, r), t.Field_Field$numeric("@layerNettTotal*IF(@isRefund, -1, 1)", !1, "Layer nett", b, b, "@layer_nett_total*CASE WHEN @is_refund THEN -1 ELSE 1 END", r), t.Field_Field$numeric("@layerBillAdjustmentTotal*IF(@isRefund, -1, 1)", !1, "Layer bill discount", R, R, "@layer_bill_adjustment_total*CASE WHEN @is_refund THEN -1 ELSE 1 END", r), t.Field_Field$numeric("@layerItemAdjustmentTotal*IF(@isRefund, -1, 1)", !1, "Layer item discount", C, C, "@layer_item_adjustment_total*CASE WHEN @is_refund THEN -1 ELSE 1 END", r), t.Field_Field$numeric("@layerGrossTotal*IF(@isRefund, -1, 1)", !1, "Layer gross total", O, O, "@layer_gross_total*CASE WHEN @is_refund THEN -1 ELSE 1 END", r), t.Field_Field$numeric("@layerTakeawayPrice*IF(@isRefund, -1, 1)", !1, "Layer takeaway price",
|
|
8348
|
+
`, r), t.Field_Field$string(e, !1, "Takeaway ID", s, s, e, r), t.Field_Field$string(e, !1, "Takeaway name", l, l, e, r), t.Field_Field$string(e, !1, "Code", "code", "code", e, r), t.Field_Field$string(e, !1, "Remark", "remark", "remark", e, r), t.Field_Field$string(e, !1, "Product ID", _, _, e, r), t.Field_Field$string(e, !1, "Variant ID", "variantId", "variant.id", e, r), t.Field_Field$string(e, !1, "Variant", "variantName", "variant.name", e, r), t.Field_Field$bool(e, !1, "Refund", d, d, e, r), t.Field_Field$string(e, !1, "User id", "createdById", "createdBy.id", e, r), t.Field_Field$string(e, !1, "User", "createdByName", "createdBy.name", e, r), t.Field_Field$timestamp(e, !1, "Sent time", "sentAt", "sentAt", e, r), t.Field_Field$timestamp(e, !1, "Served time", c, c, e, r), t.Field_Field$timestamp(e, !1, "Printed time", "printedAt", "printBy.printAt", e, r), t.Field_Field$timestamp(e, !1, "Void time", "voidAt", "void.voidAt", e, r), t.Field_Field$string(e, !1, "Void reason", "voidReason", "void.reason", e, r), t.Field_Field$string(e, !0, e, "voidedById", "void.by.id", e, r), t.Field_Field$string(e, !1, "Void user", "voidedByName", "void.by.name", e, r), t.Field_Field$string(e, !0, e, "voidApprovedById", "void.approvedBy.id", e, r), t.Field_Field$string(e, !1, "Void approver", "voidApprovedByName", "void.approvedBy.name", e, r), t.Field_Field$bool(e, !1, "SST before discount", "sstBeforeDiscount", "sst.beforeDiscount", e, r), t.Field_Field$bool(e, !1, "SC before discount", "serviceChargeBeforeDiscount", "sc.beforeDiscount", e, r), t.Field_Field$bool(e, !1, "Takeaway", p, p, e, r), t.Field_Field$numeric("@quantity*IF(@isRefund, -1, 1)", !1, "Qty", $, $, I.x40quant, r), t.Field_Field$numeric("@unitQuantity*IF(@isRefund, -1, 1)", !1, "Unit qty", g, g, I.x40unit_, r), t.Field_Field$numeric("@sstTotal*IF(@isRefund, -1, 1)", !1, "SST", "sstTotal", "sst.total", I.x40sst_t, r), t.Field_Field$numeric(e, !0, "SST %", "sstPercentage", "sst.percentage", e, r), t.Field_Field$numeric(e, !0, "SC %", "serviceChargePercentage", "sc.percentage", e, r), t.Field_Field$numeric("@serviceChargeTotal*IF(@isRefund, -1, 1)", !1, "SC", "serviceChargeTotal", "sc.total", I.x40servi, r), t.Field_Field$numeric("@otherChargeTotal*IF(@isRefund, -1, 1)", !1, "Other charge", "otherChargeTotal", "otherCharge.total", I.x40other, r), t.Field_Field$numeric(I.x40billA, !1, "Bill discount", m, m, I.x40bill_, r), t.Field_Field$numeric(I.x40itemA, !1, "Item discount", h, h, I.x40item_, r), t.Field_Field$numeric("@grossTotal*IF(@isRefund, -1, 1)", !1, "Gross", A, A, I.x40gross, r), t.Field_Field$numeric(I.x28_grosT, !1, "Gross w/ takeaway", "grossTotalWithoutTakeaway", e, I.x28_gros_, r), t.Field_Field$numeric("@takeawayPrice*IF(@isRefund, -1, 1)", !1, "Takeaway price", E, E, I.x40takea, r), t.Field_Field$numeric("@nettTotal*IF(@isRefund, -1, 1)", !1, "Nett", M, M, I.x40nett_, r), t.Field_Field$string(e, !1, "Parent ID", "parentId", "parent.id", e, r), t.Field_Field$string(e, !1, "Parent name", "parentName", "parent.name", e, r), t.Field_Field$string(e, !1, "Addon type", "addonType", "addon.type", e, r), t.Field_Field$string(e, !1, "Addon ID", "addonId", "addon.selectionId", e, r), t.Field_Field$string("SPLIT(@addonId, '/')[OFFSET(0)]", !1, "Group ID", "groupId", e, "SPLIT_PART(@addon_id, '/',1)", r), t.Field_Field$numeric(e, !1, "Layer", "layer", "layer", e, r), t.Field_Field$numeric("@addonPrice*IF(@isRefund, -1, 1)", !1, "Addon price", "addonPrice", "addon.price", I.x40addon, r), t.Field_Field$numeric("@taxTotal*IF(@isRefund, -1, 1)", !1, "Tax", "taxTotal", "tax.total", "@tax_total*CASE WHEN @is_refund THEN -1 ELSE 1 END", r), t.Field_Field$numeric(I.x28IFNULb, !1, "Discount", "discountTotal", e, I.x28COALEb, r), t.Field_Field$numeric(I.x28IFNULgx2b, !1, "Gross before charges", "grossBeforeCharges", e, I.x28COALEgx2b, r), t.Field_Field$numeric(I.TIMEST, !1, "Preparation seconds", "preparationSeconds", e, I.EXTRAC, r), t.Field_Field$string(I.CONCAT_, !1, "Summary", "summary", e, I.CONCATA, r), t.Field_Field$numeric("@layerNettTotal*IF(@isRefund, -1, 1)", !1, "Layer nett", b, b, "@layer_nett_total*CASE WHEN @is_refund THEN -1 ELSE 1 END", r), t.Field_Field$numeric("@layerBillAdjustmentTotal*IF(@isRefund, -1, 1)", !1, "Layer bill discount", R, R, "@layer_bill_adjustment_total*CASE WHEN @is_refund THEN -1 ELSE 1 END", r), t.Field_Field$numeric("@layerItemAdjustmentTotal*IF(@isRefund, -1, 1)", !1, "Layer item discount", C, C, "@layer_item_adjustment_total*CASE WHEN @is_refund THEN -1 ELSE 1 END", r), t.Field_Field$numeric("@layerGrossTotal*IF(@isRefund, -1, 1)", !1, "Layer gross total", O, O, "@layer_gross_total*CASE WHEN @is_refund THEN -1 ELSE 1 END", r), t.Field_Field$numeric("@layerTakeawayPrice*IF(@isRefund, -1, 1)", !1, "Layer takeaway price", w, w, "@layer_takeaway_price*CASE WHEN @is_refund THEN -1 ELSE 1 END", r), t.Field_Field$numeric("@layerTaxTotal*IF(@isRefund, -1, 1)", !1, "Layer tax total", L, L, "@layer_tax_total*CASE WHEN @is_refund THEN -1 ELSE 1 END", r), t.Field_Field$numeric("@layerScTotal*IF(@isRefund, -1, 1)", !1, "Layer sc", v, v, "@layer_sc_total*CASE WHEN @is_refund THEN -1 ELSE 1 END", r), t.Field_Field$numeric("@layerOtherChargeTotal*IF(@isRefund, -1, 1)", !1, "Layer other charge", x, x, "@layer_other_charge_total*CASE WHEN @is_refund THEN -1 ELSE 1 END", r), t.Field_Field$numeric("(IFNULL(@layerGrossTotal,0)+IFNULL(@layerBillAdjustmentTotal,0)+IFNULL(@layerItemAdjustmentTotal,0))*IF(@isRefund, -1, 1)", !1, "Layer gross before charges", "layerGrossBeforeCharges", e, "(COALESCE(@layer_gross_total,0)+COALESCE(@layer_bill_adjustment_total,0)+COALESCE(@layer_item_adjustment_total,0))*CASE WHEN @is_refund THEN -1 ELSE 1 END", r), t.Field_Field$string(e, !1, "Custom attributes", q, q, e, r), t.Field_Field$string(e, !1, "Layer 0 parent ID", ce, ce, e, r), t.Field_Field$string(e, !1, "Charge variant", "chargeVariant", e, "(select variant from charges where charges.parent_id=@layer_zero_parent_id and charges.restaurant_id=@restaurant_id and charges.bill_id=@bill_id and charges.code in ('SST','GST'))", r)], y.JSArray_Field);
|
|
8349
8349
|
},
|
|
8350
8350
|
$signature: 0
|
|
8351
8351
|
}, t.flattenItemSchema_closure0.prototype = {
|
|
@@ -9700,7 +9700,7 @@ Arguments: [` + d + "]";
|
|
|
9700
9700
|
}
|
|
9701
9701
|
}
|
|
9702
9702
|
function s(c, p) {
|
|
9703
|
-
return
|
|
9703
|
+
return D.HTMLElement && c instanceof HTMLElement ? "HTMLElement" : a(c, p);
|
|
9704
9704
|
}
|
|
9705
9705
|
function l(c) {
|
|
9706
9706
|
if (typeof window > "u" || typeof window[c] > "u") return null;
|
|
@@ -9822,8 +9822,8 @@ Arguments: [` + d + "]";
|
|
|
9822
9822
|
return n.message;
|
|
9823
9823
|
}
|
|
9824
9824
|
}())), e(S, "DateTime__parseFormat", "$get$DateTime__parseFormat", () => t.RegExp_RegExp("^([+-]?\\d{4,6})-?(\\d\\d)-?(\\d\\d)(?:[ T](\\d\\d)(?::?(\\d\\d)(?::?(\\d\\d)(?:[.,](\\d+))?)?)?( ?[zZ]| ?([-+])(\\d\\d)(?::?(\\d\\d))?)?)?$")), e(S, "_hashSeed", "$get$_hashSeed", () => t.objectHashCode(u.Type_Object_xQ6)), e(S, "Endian_host", "$get$Endian_host", () => t.NativeByteData_NativeByteData$view(t.NativeUint16List__create1(t._ensureNativeList(t._setArrayType([1], y.JSArray_int))).buffer, 0, null).getInt8(0) === 1 ? u.C_Endian0 : u.C_Endian), e(S, "_clockKey", "$get$_clockKey", () => new t.Object()), e(S, "en_USSymbols", "$get$en_USSymbols", () => new t.DateSymbols("en_US", u.List_BC_AD, u.List_6xs, u.List_qpm, u.List_qpm, u.List_cIc, u.List_cIc, u.List_h8w, u.List_h8w, u.List_wMy, u.List_wMy, u.List_gc6, u.List_gc6, u.List_3US, u.List_AM_PM)), i(S, "_dateTimeSymbols", "$get$_dateTimeSymbols", () => t.UninitializedLocaleData$("initializeDateFormatting(<locale>)", S.$get$en_USSymbols())), i(S, "dateTimePatterns", "$get$dateTimePatterns", () => t.UninitializedLocaleData$("initializeDateFormatting(<locale>)", u.Map_EQ6TW)), e(S, "asciiZeroCodeUnit", "$get$asciiZeroCodeUnit", () => 48), e(S, "DateFormat__matchers", "$get$DateFormat__matchers", () => t._setArrayType([t.RegExp_RegExp("^'(?:[^']|'')*'"), t.RegExp_RegExp("^(?:G+|y+|M+|k+|S+|E+|a+|h+|K+|H+|c+|L+|Q+|d+|D+|m+|s+|v+|z+|Z+)"), t.RegExp_RegExp("^[^'GyMkSEahKHcLQdDmsvzZ]+")], t.findType("JSArray<RegExp>"))), e(S, "_DateFormatQuotedField__twoEscapedQuotes", "$get$_DateFormatQuotedField__twoEscapedQuotes", () => t.RegExp_RegExp("''")), e(S, "asciiDigitMatcher", "$get$asciiDigitMatcher", () => t.RegExp_RegExp("^\\d+")), i(S, "_availableLocales", "$get$_availableLocales", () => {
|
|
9825
|
-
var n, a, s = t.EnLocale$(u.StartOfWeek_1), l = t.EnLocale$(u.StartOfWeek_1), _ = t.EnLocale$(u.StartOfWeek_1), d = t.EnLocale$(u.StartOfWeek_1), c = t.EnLocale$(u.StartOfWeek_1), p = t.EnLocale$(u.StartOfWeek_2), $ = t.EnLocale$(u.StartOfWeek_2), g = t.EnLocale$(u.StartOfWeek_1), m = t.EnLocale$(u.StartOfWeek_1), h = t.EsLocale$(u.StartOfWeek_2), A = t.EsLocale$(u.StartOfWeek_2), E = t.EsLocale$(u.StartOfWeek_1), M = t.FrLocale$(u.StartOfWeek_2), b = t.FrLocale$(u.StartOfWeek_2), R = t.FrLocale$(u.StartOfWeek_1), C = t.ZhCnLocale$(u.StartOfWeek_1), O = t.ZhCnLocale$(u.StartOfWeek_1),
|
|
9826
|
-
return t.createSentinel(), t.createSentinel(), t.createSentinel(), t.createSentinel(), t.createSentinel(), t.createSentinel(), t.createSentinel(), n = t.PtLocale$(u.StartOfWeek_2), a = t.PtLocale$(u.StartOfWeek_1), t.createSentinel(), t.createSentinel(), t.createSentinel(), t.createSentinel(), t.createSentinel(), t.createSentinel(), t.createSentinel(), t.createSentinel(), t.LinkedHashMap_LinkedHashMap$_literal(["en", s, "en_us", l, "en_sg", _, "en_au", d, "en_ca", c, "en_gb", p, "en_ie", $, "en_il", g, "en_nz", m, "es", h, "es_do", A, "es_us", E, "fr", M, "fr_ch", b, "fr_ca", R, "zh", C, "zh_cn", O, "zh_hk",
|
|
9825
|
+
var n, a, s = t.EnLocale$(u.StartOfWeek_1), l = t.EnLocale$(u.StartOfWeek_1), _ = t.EnLocale$(u.StartOfWeek_1), d = t.EnLocale$(u.StartOfWeek_1), c = t.EnLocale$(u.StartOfWeek_1), p = t.EnLocale$(u.StartOfWeek_2), $ = t.EnLocale$(u.StartOfWeek_2), g = t.EnLocale$(u.StartOfWeek_1), m = t.EnLocale$(u.StartOfWeek_1), h = t.EsLocale$(u.StartOfWeek_2), A = t.EsLocale$(u.StartOfWeek_2), E = t.EsLocale$(u.StartOfWeek_1), M = t.FrLocale$(u.StartOfWeek_2), b = t.FrLocale$(u.StartOfWeek_2), R = t.FrLocale$(u.StartOfWeek_1), C = t.ZhCnLocale$(u.StartOfWeek_1), O = t.ZhCnLocale$(u.StartOfWeek_1), w = t.ZhLocale$(u.StartOfWeek_1), L = t.ZhLocale$(u.StartOfWeek_1), v = t.DeLocale$(u.StartOfWeek_2), x = t.DeLocale$(u.StartOfWeek_2), q = t.DeLocale$(u.StartOfWeek_2), ce = t.DeLocale$(u.StartOfWeek_2), Ce = t.ItLocale$(u.StartOfWeek_2), be = t.ItLocale$(u.StartOfWeek_2), Re = t.ArLyLocale$(!0, u.StartOfWeek_0), Fe = t.ArLyLocale$(!1, u.StartOfWeek_0), Oe = t.ArSaMaDzKwTnLocale$(!1, u.StartOfWeek_1), Le = t.ArSaMaDzKwTnLocale$(!1, u.StartOfWeek_1), ve = t.ArSaMaDzKwTnLocale$(!0, u.StartOfWeek_1), we = t.ArSaMaDzKwTnLocale$(!1, u.StartOfWeek_0), De = t.ArSaMaDzKwTnLocale$(!1, u.StartOfWeek_0);
|
|
9826
|
+
return t.createSentinel(), t.createSentinel(), t.createSentinel(), t.createSentinel(), t.createSentinel(), t.createSentinel(), t.createSentinel(), n = t.PtLocale$(u.StartOfWeek_2), a = t.PtLocale$(u.StartOfWeek_1), t.createSentinel(), t.createSentinel(), t.createSentinel(), t.createSentinel(), t.createSentinel(), t.createSentinel(), t.createSentinel(), t.createSentinel(), t.LinkedHashMap_LinkedHashMap$_literal(["en", s, "en_us", l, "en_sg", _, "en_au", d, "en_ca", c, "en_gb", p, "en_ie", $, "en_il", g, "en_nz", m, "es", h, "es_do", A, "es_us", E, "fr", M, "fr_ch", b, "fr_ca", R, "zh", C, "zh_cn", O, "zh_hk", w, "zh_tw", L, "de", v, "de_de", x, "de_at", q, "de_ch", ce, "it", Ce, "it_ch", be, "ar", Re, "ar_ly", Fe, "ar_dz", Oe, "ar_kw", Le, "ar_sa", ve, "ar_ma", we, "ar_tn", De, "az", new t.AzLocale(u.StartOfWeek_2), "id", new t.IdLocale(u.StartOfWeek_1), "ja", new t.JaLocale(u.StartOfWeek_1), "ko", new t.KoLocale(u.StartOfWeek_1), "ru", new t.RuLocale(u.StartOfWeek_2), "uk", new t.UkLocale(u.StartOfWeek_2), "hi", new t.HiLocale(u.StartOfWeek_1), "pt", n, "pt_br", a, "pl", new t.PlLocale(u.StartOfWeek_2), "tr", new t.TrLocale(u.StartOfWeek_2), "sv", new t.SvLocale(u.StartOfWeek_2), "nb", new t.NbLocale(u.StartOfWeek_2), "fa", new t.FaLocale(u.StartOfWeek_0), "bn", new t.BnLocale(u.StartOfWeek_1), "nl", new t.NlLocale(u.StartOfWeek_2), "th", new t.ThLocale(u.StartOfWeek_1)], y.String, t.findType("Locale"));
|
|
9827
9827
|
}), e(S, "addonFlattenItemSchema", "$get$addonFlattenItemSchema", () => {
|
|
9828
9828
|
var n = "createdAt", a = t.Source_Source$couchdb("", ""), s = t.TopLevelFilters$(t._setArrayType([t.Permission_Permission$restaurant("restaurantId")], y.JSArray_Permission), n);
|
|
9829
9829
|
return t.Schema_Schema$build(t._setArrayType(["restaurantId"], y.JSArray_String), null, new t.addonFlattenItemSchema_closure(), u.List_empty, null, null, !1, !1, !0, !1, new t.addonFlattenItemSchema_closure0(), "Addon", "flatten_items", "flatten_item", u.SCHEMA_NAME_6, n, "", a, s);
|
|
@@ -10100,13 +10100,13 @@ Arguments: [` + d + "]";
|
|
|
10100
10100
|
})(Me);
|
|
10101
10101
|
var qe = {};
|
|
10102
10102
|
(function(F) {
|
|
10103
|
-
F.load = function(J,
|
|
10104
|
-
var
|
|
10103
|
+
F.load = function(J, D) {
|
|
10104
|
+
var H = typeof process < "u" && (process.versions || {}).hasOwnProperty("node"), k = H ? Object.create(globalThis) : globalThis;
|
|
10105
10105
|
if (k.scheduleImmediate = typeof setImmediate < "u" ? function(P) {
|
|
10106
10106
|
setImmediate(P);
|
|
10107
10107
|
} : function(P) {
|
|
10108
10108
|
setTimeout(P, 0);
|
|
10109
|
-
}, k.exports =
|
|
10109
|
+
}, k.exports = D || F, typeof process < "u" && (k.process = process), typeof __dirname < "u" && (k.__dirname = __dirname), typeof __filename < "u" && (k.__filename = __filename), typeof Buffer < "u" && (k.Buffer = Buffer), H) {
|
|
10110
10110
|
var U = (typeof __webpack_require__ < "u" ? __non_webpack_require__ : He)("url");
|
|
10111
10111
|
Object.defineProperty(k, "location", {
|
|
10112
10112
|
value: {
|
|
@@ -10355,8 +10355,8 @@ var qe = {};
|
|
|
10355
10355
|
}
|
|
10356
10356
|
},
|
|
10357
10357
|
Sort__dualPivotQuicksort(e, i, n, a) {
|
|
10358
|
-
var s, l, _, d, c, p, $, g, m, h, A = f.JSInt_methods._tdivFast$1(n - i + 1, 6), E = i + A, M = n - A, b = f.JSInt_methods._tdivFast$1(i + n, 2), R = b - A, C = b + A, O = u.getInterceptor$asx(e),
|
|
10359
|
-
if (a.call$2(
|
|
10358
|
+
var s, l, _, d, c, p, $, g, m, h, A = f.JSInt_methods._tdivFast$1(n - i + 1, 6), E = i + A, M = n - A, b = f.JSInt_methods._tdivFast$1(i + n, 2), R = b - A, C = b + A, O = u.getInterceptor$asx(e), w = O.$index(e, E), L = O.$index(e, R), v = O.$index(e, b), x = O.$index(e, C), q = O.$index(e, M);
|
|
10359
|
+
if (a.call$2(w, L) > 0 && (s = L, L = w, w = s), a.call$2(x, q) > 0 && (s = q, q = x, x = s), a.call$2(w, v) > 0 && (s = v, v = w, w = s), a.call$2(L, v) > 0 && (s = v, v = L, L = s), a.call$2(w, x) > 0 && (s = x, x = w, w = s), a.call$2(v, x) > 0 && (s = x, x = v, v = s), a.call$2(L, q) > 0 && (s = q, q = L, L = s), a.call$2(L, v) > 0 && (s = v, v = L, L = s), a.call$2(x, q) > 0 && (s = q, q = x, x = s), O.$indexSet(e, E, w), O.$indexSet(e, b, v), O.$indexSet(e, M, q), O.$indexSet(e, R, O.$index(e, i)), O.$indexSet(e, C, O.$index(e, n)), l = i + 1, _ = n - 1, u.$eq$(a.call$2(L, x), 0)) {
|
|
10360
10360
|
for (d = l; d <= _; ++d)
|
|
10361
10361
|
if (c = O.$index(e, d), p = a.call$2(c, L), p !== 0)
|
|
10362
10362
|
if (p < 0)
|
|
@@ -10740,12 +10740,12 @@ var qe = {};
|
|
|
10740
10740
|
return i;
|
|
10741
10741
|
},
|
|
10742
10742
|
Closure_fromTearOff(e) {
|
|
10743
|
-
var i, n, a, s, l, _, d, c, p, $, g = e.co, m = e.iS, h = e.iI, A = e.nDA, E = e.aI, M = e.fs, b = e.cs, R = M[0], C = b[0], O = g[R],
|
|
10744
|
-
for (
|
|
10743
|
+
var i, n, a, s, l, _, d, c, p, $, g = e.co, m = e.iS, h = e.iI, A = e.nDA, E = e.aI, M = e.fs, b = e.cs, R = M[0], C = b[0], O = g[R], w = e.fT;
|
|
10744
|
+
for (w.toString, i = Object.create(m ? new o.StaticClosure().constructor.prototype : new o.BoundClosure(null, null).constructor.prototype), i.$initialize = i.constructor, m ? n = function() {
|
|
10745
10745
|
this.$initialize();
|
|
10746
10746
|
} : n = function(v, x) {
|
|
10747
10747
|
this.$initialize(v, x);
|
|
10748
|
-
}, i.constructor = n, n.prototype = i, i.$_name = R, i.$_target = O, a = !m, a ? s = o.Closure_forwardCallTo(R, O, h, A) : (i.$static_name = R, s = O), i.$signature = o.Closure__computeSignatureFunctionNewRti(
|
|
10748
|
+
}, i.constructor = n, n.prototype = i, i.$_name = R, i.$_target = O, a = !m, a ? s = o.Closure_forwardCallTo(R, O, h, A) : (i.$static_name = R, s = O), i.$signature = o.Closure__computeSignatureFunctionNewRti(w, m, h), i[C] = s, l = s, _ = 1; _ < M.length; ++_)
|
|
10749
10749
|
d = M[_], typeof d == "string" ? (c = g[d], p = d, d = c) : p = "", $ = b[_], $ != null && (a && (d = o.Closure_forwardCallTo(p, d, h, A)), i[$] = d), _ === E && (l = d);
|
|
10750
10750
|
return i["call*"] = l, i.$requiredArgCount = e.rC, i.$defaultValues = e.dV, n;
|
|
10751
10751
|
},
|
|
@@ -11473,7 +11473,7 @@ var qe = {};
|
|
|
11473
11473
|
return l + "})";
|
|
11474
11474
|
},
|
|
11475
11475
|
_functionRtiToString(e, i, n) {
|
|
11476
|
-
var a, s, l, _, d, c, p, $, g, m, h, A, E, M, b, R, C, O,
|
|
11476
|
+
var a, s, l, _, d, c, p, $, g, m, h, A, E, M, b, R, C, O, w, L, v, x = ", ";
|
|
11477
11477
|
if (n != null) {
|
|
11478
11478
|
for (a = n.length, i == null ? (i = o._setArrayType([], r.JSArray_String), s = null) : s = i.length, l = i.length, _ = a; _ > 0; --_)
|
|
11479
11479
|
i.push("T" + (l + _));
|
|
@@ -11482,7 +11482,7 @@ var qe = {};
|
|
|
11482
11482
|
p += ">";
|
|
11483
11483
|
} else
|
|
11484
11484
|
p = "", s = null;
|
|
11485
|
-
for (d = e._primary, A = e._rest, E = A._requiredPositional, M = E.length, b = A._optionalPositional, R = b.length, C = A._named, O = C.length,
|
|
11485
|
+
for (d = e._primary, A = e._rest, E = A._requiredPositional, M = E.length, b = A._optionalPositional, R = b.length, C = A._named, O = C.length, w = o._rtiToString(d, i), L = "", v = "", _ = 0; _ < M; ++_, v = x)
|
|
11486
11486
|
L += v + o._rtiToString(E[_], i);
|
|
11487
11487
|
if (R > 0) {
|
|
11488
11488
|
for (L += v + "[", v = "", _ = 0; _ < R; ++_, v = x)
|
|
@@ -11494,7 +11494,7 @@ var qe = {};
|
|
|
11494
11494
|
L += v, C[_ + 1] && (L += "required "), L += o._rtiToString(C[_ + 2], i) + " " + C[_];
|
|
11495
11495
|
L += "}";
|
|
11496
11496
|
}
|
|
11497
|
-
return s != null && (i.toString, i.length = s), p + "(" + L + ") => " +
|
|
11497
|
+
return s != null && (i.toString, i.length = s), p + "(" + L + ") => " + w;
|
|
11498
11498
|
},
|
|
11499
11499
|
_rtiToString(e, i) {
|
|
11500
11500
|
var n, a, s, l, _, d, c = e._kind;
|
|
@@ -11852,7 +11852,7 @@ var qe = {};
|
|
|
11852
11852
|
return c === 12 ? i === r.JavaScriptFunction ? !0 : l ? !1 : o._isFunctionSubtype(e, i, n, a, s) : _ === 9 ? c !== 9 ? !1 : o._isInterfaceSubtype(e, i, n, a, s) : (l = _ === 11, l && a === r.Record ? !0 : l && c === 11 ? o._isRecordSubtype(e, i, n, a, s) : !1);
|
|
11853
11853
|
},
|
|
11854
11854
|
_isFunctionSubtype(e, i, n, a, s) {
|
|
11855
|
-
var l, _, d, c, p, $, g, m, h, A, E, M, b, R, C, O,
|
|
11855
|
+
var l, _, d, c, p, $, g, m, h, A, E, M, b, R, C, O, w, L, v, x, q, ce;
|
|
11856
11856
|
if (!o._isSubtype(e, i._primary, n, a._primary, s) || (l = i._rest, _ = a._rest, d = l._requiredPositional, c = _._requiredPositional, p = d.length, $ = c.length, p > $) || (g = $ - p, m = l._optionalPositional, h = _._optionalPositional, A = m.length, E = h.length, p + A < $ + E))
|
|
11857
11857
|
return !1;
|
|
11858
11858
|
for (M = 0; M < p; ++M)
|
|
@@ -11864,11 +11864,11 @@ var qe = {};
|
|
|
11864
11864
|
for (M = 0; M < E; ++M)
|
|
11865
11865
|
if (b = m[g + M], !o._isSubtype(e, h[M], s, b, n))
|
|
11866
11866
|
return !1;
|
|
11867
|
-
for (R = l._named, C = _._named, O = R.length,
|
|
11867
|
+
for (R = l._named, C = _._named, O = R.length, w = C.length, L = 0, v = 0; v < w; v += 3)
|
|
11868
11868
|
for (x = C[v]; ; ) {
|
|
11869
|
-
if (L >= O || (
|
|
11869
|
+
if (L >= O || (q = R[L], L += 3, x < q))
|
|
11870
11870
|
return !1;
|
|
11871
|
-
if (ce = R[L - 2],
|
|
11871
|
+
if (ce = R[L - 2], q < x) {
|
|
11872
11872
|
if (ce)
|
|
11873
11873
|
return !1;
|
|
11874
11874
|
continue;
|
|
@@ -13230,14 +13230,14 @@ var qe = {};
|
|
|
13230
13230
|
return e instanceof o.BaseXYDatasourceConfigModel && e.isCumulative === !0 ? n = !0 : n = e instanceof o.ScorecardDatasourceConfigModel && e.isCumulative, n ? (n = r.XYDatasetModel, o.List_List$of(o.ListExtensions_mapIndexed(i, new o.accumulate_closure(e), n, n), !0, n)) : i;
|
|
13231
13231
|
},
|
|
13232
13232
|
formatBaseXYChartData(e, i, n, a) {
|
|
13233
|
-
var s, l, _, d, c, p, $, g, m, h, A, E, M, b, R, C, O,
|
|
13233
|
+
var s, l, _, d, c, p, $, g, m, h, A, E, M, b, R, C, O, w, L, v, x = null;
|
|
13234
13234
|
if (n.length === 0)
|
|
13235
13235
|
return s = o._setArrayType([], r.JSArray_String), l = o._setArrayType([], r.JSArray_XYDatasetModel), _ = o.IterableExtension_get_firstOrNull(n), new o.BaseXYChartDataModel(e, s, l, new o.DateComparison(_ == null ? x : _.dateRange, x));
|
|
13236
13236
|
for (d = f.JSArray_methods.get$first(n).columns, s = r.QueryResponse, c = o._formatRows(o.ListExtension_sublistOrEmpty(n, 0, 1, s)), p = o._formatRows(o.ListExtension_sublistOrEmpty(n, 1, 2, s)), p.length !== 0 && (s = o._arrayInstanceType(d)._eval$1("MappedListIterable<1,ComparisonDataColumn>"), $ = o.List_List$of(new o.MappedListIterable(d, new o.formatBaseXYChartData_closure(), s), !0, s._eval$1("ListIterable.E")), g = o.compare(new o.ComparisonData($, p), new o.ComparisonData($, c)), p = g.comparison, c = g.main), i.breakdownDimension == null && (m = f.JSArray_methods.indexWhere$1(d, new o.formatBaseXYChartData_closure0()), s = o._arrayInstanceType(c)._eval$1("MappedListIterable<1,List<@>>"), c = o.List_List$of(new o.MappedListIterable(c, new o.formatBaseXYChartData_closure1(d, m), s), !0, s._eval$1("ListIterable.E")), p.length !== 0 && (s = o._arrayInstanceType(p)._eval$1("MappedListIterable<1,List<@>>"), p = o.List_List$of(new o.MappedListIterable(p, new o.formatBaseXYChartData_closure2(d, m), s), !0, s._eval$1("ListIterable.E")))), s = r.JSArray_String, h = o._setArrayType([], s), A = o._setArrayType([], s), s = c.length, E = 0; E < c.length; c.length === s || (0, o.throwConcurrentModificationError)(c), ++E)
|
|
13237
13237
|
M = c[E], l = u.getInterceptor$asx(M), h.push(u.toString$0$(l.$index(M, 0))), A.push(u.toString$0$(l.$index(M, 1)));
|
|
13238
13238
|
for (s = r.String, l = o.LinkedHashSet_LinkedHashSet$from(h, s), h = o.List_List$of(l, !0, o._instanceType(l)._precomputed1), s = o.LinkedHashSet_LinkedHashSet$from(A, s), A = o.List_List$of(s, !0, o._instanceType(s)._precomputed1), b = o._setArrayType([], r.JSArray_XYDatasetModel), s = A.length, l = r.JSArray_num, E = 0; E < A.length; A.length === s || (0, o.throwConcurrentModificationError)(A), ++E) {
|
|
13239
|
-
for (R = A[E], C = o._setArrayType([], l), O = o._setArrayType([], l), _ = h.length,
|
|
13240
|
-
L = h[
|
|
13239
|
+
for (R = A[E], C = o._setArrayType([], l), O = o._setArrayType([], l), _ = h.length, w = 0; w < h.length; h.length === _ || (0, o.throwConcurrentModificationError)(h), ++w)
|
|
13240
|
+
L = h[w], v = o.IterableExtension_firstWhereOrNull(c, new o.formatBaseXYChartData_closure3(L, R)), v = v == null ? x : o.ListExtension_elementAtOrNull(v, 2), C.push(v ?? 0), p.length !== 0 && (v = o.IterableExtension_firstWhereOrNull(p, new o.formatBaseXYChartData_closure4(L, R)), v = v == null ? x : o.ListExtension_elementAtOrNull(v, 2), O.push(v ?? 0));
|
|
13241
13241
|
b.push(new o.XYDatasetModel(R, !1, C)), O.length !== 0 && b.push(new o.XYDatasetModel(R, !0, O));
|
|
13242
13242
|
}
|
|
13243
13243
|
return b = o.accumulate(i, b), s = o.IterableExtension_get_firstOrNull(n), s = s == null ? x : s.dateRange, l = o.ListExtension_elementAtOrNull(n, 1), new o.BaseXYChartDataModel(e, h, b, new o.DateComparison(s, l == null ? x : l.dateRange));
|
|
@@ -13314,11 +13314,11 @@ var qe = {};
|
|
|
13314
13314
|
return new o.RowInfo(l, u.map$1$1$ax(n, new o._getRowInfo_closure(e, i, a, l), s).join$0(0));
|
|
13315
13315
|
},
|
|
13316
13316
|
compare(e, i) {
|
|
13317
|
-
var n, a, s, l, _, d, c, p, $, g, m, h, A, E, M, b, R, C, O,
|
|
13317
|
+
var n, a, s, l, _, d, c, p, $, g, m, h, A, E, M, b, R, C, O, w, L = {};
|
|
13318
13318
|
for (L.comparisonDateIndex = L.mainDateIndex = null, n = L.comparisonIndexesCompleted = L.mainIndexesCompleted = !1, a = i.columns, s = r.JSArray_int, l = o.IterableExtension_foldIndexed(a, o._setArrayType([], s), new o.compare_closure(L)), _ = o.IterableExtension_foldIndexed(e.columns, o._setArrayType([], s), new o.compare_closure0(L)), s = r.JSArray_String, L.dates = o._setArrayType([], s), (L.mainDateIndex != null ? L.comparisonDateIndex != null : n) && (n = r.String, n = o.ListExtensions_mapIndexed(f.JSArray_methods.fold$2(i.rows, o._setArrayType([], s), new o.compare_closure1(L)), new o.compare_closure2(f.JSArray_methods.fold$2(e.rows, o._setArrayType([], s), new o.compare_closure3(L))), n, n), L.dates = o.List_List$of(n, !0, n.$ti._eval$1("Iterable.E"))), d = f.JSArray_methods.fold$2(e.rows, o.LinkedHashMap_LinkedHashMap$_empty(r.String, r.List_dynamic), new o.compare_closure4(L, e, _)), n = r.JSArray_List_dynamic, s = o._setArrayType([], n), n = o._setArrayType([], n), c = i.rows, p = c.length, $ = r.JSArray_dynamic, g = u.getInterceptor$asx(l), m = r.dynamic, h = 0; h < c.length; c.length === p || (0, o.throwConcurrentModificationError)(c), ++h) {
|
|
13319
13319
|
if (A = c[h], E = o._getRowInfo(a, L.dates, l, A), M = d.$index(0, E.id), b = M == null ? null : u.toList$0$ax(M), b == null) {
|
|
13320
|
-
for (M = E.row, R = o.List_List$of(o.ListExtensions_slice(M, 0, g.get$length(l), m), !0, m), C = M.length - g.get$length(l), C < 0 && o.throwExpression(o.ArgumentError$("Length must be a non-negative integer: " + C)), O = o._setArrayType(new Array(C), $),
|
|
13321
|
-
O[
|
|
13320
|
+
for (M = E.row, R = o.List_List$of(o.ListExtensions_slice(M, 0, g.get$length(l), m), !0, m), C = M.length - g.get$length(l), C < 0 && o.throwExpression(o.ArgumentError$("Length must be a non-negative integer: " + C)), O = o._setArrayType(new Array(C), $), w = 0; w < C; ++w)
|
|
13321
|
+
O[w] = null;
|
|
13322
13322
|
f.JSArray_methods.addAll$1(R, O), b = R;
|
|
13323
13323
|
}
|
|
13324
13324
|
s.push(E.row), n.push(b);
|
|
@@ -17363,18 +17363,18 @@ Arguments: [` + c + "]";
|
|
|
17363
17363
|
$signature: 0
|
|
17364
17364
|
}, o._formatTableResponse_closure5.prototype = {
|
|
17365
17365
|
call$2(e, i) {
|
|
17366
|
-
var n, a, s, l, _, d, c, p, $, g, m, h, A, E, M, b, R, C, O,
|
|
17366
|
+
var n, a, s, l, _, d, c, p, $, g, m, h, A, E, M, b, R, C, O, w, L = null, v = r.JSArray_List_dynamic, x = o._setArrayType([[]], v), q = o._setArrayType([[]], v);
|
|
17367
17367
|
for (v = this.headers, n = i.value, a = r.dynamic, s = r.JSArray_String, l = r.String, _ = this.metricColumns, d = 0; d < v.length; ++d)
|
|
17368
17368
|
if (c = v[d], p = u.getInterceptor$ax(c), $ = p.map$1$1(c, new o._formatTableResponse__closure5(), l).join$1(0, "|"), o.IterableExtension_firstWhereOrNull(c, new o._formatTableResponse__closure6()) != null)
|
|
17369
17369
|
for (g = p.firstWhere$1(c, new o._formatTableResponse__closure7()), m = p.fold$2(c, !0, new o._formatTableResponse__closure8(i)), p = x.length, h = g.type, A = g.columnValue, E = 0; E < x.length; x.length === p || (0, o.throwConcurrentModificationError)(x), ++E)
|
|
17370
17370
|
M = x[E], m ? (b = n.$index(0, A), R = M.length, d >= R && f.JSArray_methods.addAll$1(M, o.List_List$filled(d - R + 1, L, !1, a)), M[d] = b) : (b = h == null ? L : o.DataTypeExtension_toData(h, L), R = M.length, d >= R && f.JSArray_methods.addAll$1(M, o.List_List$filled(d - R + 1, L, !1, a)), M[d] = b);
|
|
17371
17371
|
else if (f.JSArray_methods.contains$1(o._setArrayType(["_metric_name", "_metric_value"], s), $))
|
|
17372
17372
|
for (p = $ === "_metric_value", h = $ === "_metric_name", C = 0; C < _.length; ++C)
|
|
17373
|
-
O = _[C], o.ListExtension_elementAtOrNull(x, C) == null && (x.push(o.List_List$of(x[0], !0, a)),
|
|
17373
|
+
O = _[C], o.ListExtension_elementAtOrNull(x, C) == null && (x.push(o.List_List$of(x[0], !0, a)), q.push(o.List_List$of(q[0], !0, a))), h ? (A = x[C], b = O.label, R = A.length, d >= R && f.JSArray_methods.addAll$1(A, o.List_List$filled(d - R + 1, L, !1, a)), A[d] = b, q[C].push(b)) : p && (A = x[C], b = n.$index(0, O.id), R = A.length, d >= R && f.JSArray_methods.addAll$1(A, o.List_List$filled(d - R + 1, L, !1, a)), A[d] = b);
|
|
17374
17374
|
else
|
|
17375
|
-
for (
|
|
17376
|
-
p = x[
|
|
17377
|
-
return v = r.Map_String_dynamic, n = o.List_List$of(e, !0, v), f.JSArray_methods.addAll$1(n, o.ListExtensions_mapIndexed(x, new o._formatTableResponse__closure9(
|
|
17375
|
+
for (w = 0; w < x.length; ++w)
|
|
17376
|
+
p = x[w], h = n.$index(0, $), A = p.length, d >= A && f.JSArray_methods.addAll$1(p, o.List_List$filled(d - A + 1, L, !1, a)), p[d] = h, q[w].push(n.$index(0, $));
|
|
17377
|
+
return v = r.Map_String_dynamic, n = o.List_List$of(e, !0, v), f.JSArray_methods.addAll$1(n, o.ListExtensions_mapIndexed(x, new o._formatTableResponse__closure9(q, i), r.List_dynamic, v)), n;
|
|
17378
17378
|
},
|
|
17379
17379
|
$signature: 76
|
|
17380
17380
|
}, o._formatTableResponse__closure5.prototype = {
|
|
@@ -17917,8 +17917,8 @@ Arguments: [` + c + "]";
|
|
|
17917
17917
|
return a.message;
|
|
17918
17918
|
}
|
|
17919
17919
|
}())), i(T, "DateTime__parseFormat", "$get$DateTime__parseFormat", () => o.RegExp_RegExp("^([+-]?\\d{4,6})-?(\\d\\d)-?(\\d\\d)(?:[ T](\\d\\d)(?::?(\\d\\d)(?::?(\\d\\d)(?:[.,](\\d+))?)?)?( ?[zZ]| ?([-+])(\\d\\d)(?::?(\\d\\d))?)?)?$")), i(T, "_hashSeed", "$get$_hashSeed", () => o.objectHashCode(f.Type_Object_xQ6)), i(T, "Endian_host", "$get$Endian_host", () => o.NativeByteData_NativeByteData$view(o.NativeUint16List__create1(o._ensureNativeList(o._setArrayType([1], r.JSArray_int))).buffer, 0, null).getInt8(0) === 1 ? f.C_Endian0 : f.C_Endian), i(T, "_clockKey", "$get$_clockKey", () => new o.Object()), i(T, "en_USSymbols", "$get$en_USSymbols", () => new o.DateSymbols("en_US", f.List_BC_AD, f.List_6xs, f.List_qpm, f.List_qpm, f.List_cIc, f.List_cIc, f.List_h8w, f.List_h8w, f.List_wMy, f.List_wMy, f.List_gc6, f.List_gc6, f.List_3US, f.List_Q1_Q2_Q3_Q4, f.List_bJM, f.List_AM_PM)), n(T, "_dateTimeSymbols", "$get$_dateTimeSymbols", () => o.UninitializedLocaleData$("initializeDateFormatting(<locale>)", T.$get$en_USSymbols())), n(T, "dateTimePatterns", "$get$dateTimePatterns", () => o.UninitializedLocaleData$("initializeDateFormatting(<locale>)", f.Map_EQ6TW)), i(T, "asciiZeroCodeUnit", "$get$asciiZeroCodeUnit", () => 48), i(T, "DateFormat__matchers", "$get$DateFormat__matchers", () => o._setArrayType([o.RegExp_RegExp("^'(?:[^']|'')*'"), o.RegExp_RegExp("^(?:G+|y+|M+|k+|S+|E+|a+|h+|K+|H+|c+|L+|Q+|d+|D+|m+|s+|v+|z+|Z+)"), o.RegExp_RegExp("^[^'GyMkSEahKHcLQdDmsvzZ]+")], o.findType("JSArray<RegExp>"))), i(T, "_DateFormatQuotedField__twoEscapedQuotes", "$get$_DateFormatQuotedField__twoEscapedQuotes", () => o.RegExp_RegExp("''")), i(T, "asciiDigitMatcher", "$get$asciiDigitMatcher", () => o.RegExp_RegExp("^\\d+")), n(T, "_availableLocales", "$get$_availableLocales", () => {
|
|
17920
|
-
var a, s, l = o.EnLocale$(f.StartOfWeek_1), _ = o.EnLocale$(f.StartOfWeek_1), d = o.EnLocale$(f.StartOfWeek_1), c = o.EnLocale$(f.StartOfWeek_1), p = o.EnLocale$(f.StartOfWeek_1), $ = o.EnLocale$(f.StartOfWeek_2), g = o.EnLocale$(f.StartOfWeek_2), m = o.EnLocale$(f.StartOfWeek_1), h = o.EnLocale$(f.StartOfWeek_1), A = o.EsLocale$(f.StartOfWeek_2), E = o.EsLocale$(f.StartOfWeek_2), M = o.EsLocale$(f.StartOfWeek_1), b = o.FrLocale$(f.StartOfWeek_2), R = o.FrLocale$(f.StartOfWeek_2), C = o.FrLocale$(f.StartOfWeek_1), O = o.ZhCnLocale$(f.StartOfWeek_1),
|
|
17921
|
-
return o.createSentinel(), o.createSentinel(), o.createSentinel(), o.createSentinel(), o.createSentinel(), o.createSentinel(), o.createSentinel(), a = o.PtLocale$(f.StartOfWeek_2), s = o.PtLocale$(f.StartOfWeek_1), o.createSentinel(), o.createSentinel(), o.createSentinel(), o.createSentinel(), o.createSentinel(), o.createSentinel(), o.createSentinel(), o.createSentinel(), o.LinkedHashMap_LinkedHashMap$_literal(["en", l, "en_us", _, "en_sg", d, "en_au", c, "en_ca", p, "en_gb", $, "en_ie", g, "en_il", m, "en_nz", h, "es", A, "es_do", E, "es_us", M, "fr", b, "fr_ch", R, "fr_ca", C, "zh", O, "zh_cn",
|
|
17920
|
+
var a, s, l = o.EnLocale$(f.StartOfWeek_1), _ = o.EnLocale$(f.StartOfWeek_1), d = o.EnLocale$(f.StartOfWeek_1), c = o.EnLocale$(f.StartOfWeek_1), p = o.EnLocale$(f.StartOfWeek_1), $ = o.EnLocale$(f.StartOfWeek_2), g = o.EnLocale$(f.StartOfWeek_2), m = o.EnLocale$(f.StartOfWeek_1), h = o.EnLocale$(f.StartOfWeek_1), A = o.EsLocale$(f.StartOfWeek_2), E = o.EsLocale$(f.StartOfWeek_2), M = o.EsLocale$(f.StartOfWeek_1), b = o.FrLocale$(f.StartOfWeek_2), R = o.FrLocale$(f.StartOfWeek_2), C = o.FrLocale$(f.StartOfWeek_1), O = o.ZhCnLocale$(f.StartOfWeek_1), w = o.ZhCnLocale$(f.StartOfWeek_1), L = o.ZhLocale$(f.StartOfWeek_1), v = o.ZhLocale$(f.StartOfWeek_1), x = o.DeLocale$(f.StartOfWeek_2), q = o.DeLocale$(f.StartOfWeek_2), ce = o.DeLocale$(f.StartOfWeek_2), Ce = o.DeLocale$(f.StartOfWeek_2), be = o.ItLocale$(f.StartOfWeek_2), Re = o.ItLocale$(f.StartOfWeek_2), Fe = o.ArLyLocale$(!0, f.StartOfWeek_0), Oe = o.ArLyLocale$(!1, f.StartOfWeek_0), Le = o.ArSaMaDzKwTnLocale$(!1, f.StartOfWeek_1), ve = o.ArSaMaDzKwTnLocale$(!1, f.StartOfWeek_1), we = o.ArSaMaDzKwTnLocale$(!0, f.StartOfWeek_1), De = o.ArSaMaDzKwTnLocale$(!1, f.StartOfWeek_0), Ge = o.ArSaMaDzKwTnLocale$(!1, f.StartOfWeek_0);
|
|
17921
|
+
return o.createSentinel(), o.createSentinel(), o.createSentinel(), o.createSentinel(), o.createSentinel(), o.createSentinel(), o.createSentinel(), a = o.PtLocale$(f.StartOfWeek_2), s = o.PtLocale$(f.StartOfWeek_1), o.createSentinel(), o.createSentinel(), o.createSentinel(), o.createSentinel(), o.createSentinel(), o.createSentinel(), o.createSentinel(), o.createSentinel(), o.LinkedHashMap_LinkedHashMap$_literal(["en", l, "en_us", _, "en_sg", d, "en_au", c, "en_ca", p, "en_gb", $, "en_ie", g, "en_il", m, "en_nz", h, "es", A, "es_do", E, "es_us", M, "fr", b, "fr_ch", R, "fr_ca", C, "zh", O, "zh_cn", w, "zh_hk", L, "zh_tw", v, "de", x, "de_de", q, "de_at", ce, "de_ch", Ce, "it", be, "it_ch", Re, "ar", Fe, "ar_ly", Oe, "ar_dz", Le, "ar_kw", ve, "ar_sa", we, "ar_ma", De, "ar_tn", Ge, "az", new o.AzLocale(f.StartOfWeek_2), "id", new o.IdLocale(f.StartOfWeek_1), "ja", new o.JaLocale(f.StartOfWeek_1), "ko", new o.KoLocale(f.StartOfWeek_1), "ru", new o.RuLocale(f.StartOfWeek_2), "uk", new o.UkLocale(f.StartOfWeek_2), "hi", new o.HiLocale(f.StartOfWeek_1), "pt", a, "pt_br", s, "pl", new o.PlLocale(f.StartOfWeek_2), "tr", new o.TrLocale(f.StartOfWeek_2), "sv", new o.SvLocale(f.StartOfWeek_2), "nb", new o.NbLocale(f.StartOfWeek_2), "fa", new o.FaLocale(f.StartOfWeek_0), "bn", new o.BnLocale(f.StartOfWeek_1), "nl", new o.NlLocale(f.StartOfWeek_2), "th", new o.ThLocale(f.StartOfWeek_1)], r.String, o.findType("Locale"));
|
|
17922
17922
|
});
|
|
17923
17923
|
}(), function() {
|
|
17924
17924
|
(function() {
|
|
@@ -18001,32 +18001,32 @@ const Se = "/report-settings", nt = async () => {
|
|
|
18001
18001
|
} else
|
|
18002
18002
|
return Promise.reject(new Error("Business Id is not defined"));
|
|
18003
18003
|
}, at = (F) => {
|
|
18004
|
-
const { businessId: J } = W(ee()),
|
|
18004
|
+
const { businessId: J } = W(ee()), D = {
|
|
18005
18005
|
fetchType: te.Put,
|
|
18006
18006
|
url: `${Se}/${J.value}/reports/${F.id}`,
|
|
18007
18007
|
data: F
|
|
18008
18008
|
};
|
|
18009
|
-
return K.fetch(
|
|
18009
|
+
return K.fetch(D);
|
|
18010
18010
|
}, ot = (F) => {
|
|
18011
|
-
const { businessId: J } = W(ee()),
|
|
18011
|
+
const { businessId: J } = W(ee()), D = {
|
|
18012
18012
|
fetchType: te.Post,
|
|
18013
18013
|
url: `${Se}/${J.value}/reports`,
|
|
18014
18014
|
data: F
|
|
18015
18015
|
};
|
|
18016
|
-
return K.fetch(
|
|
18016
|
+
return K.fetch(D);
|
|
18017
18017
|
}, st = (F) => {
|
|
18018
|
-
const { businessId: J } = W(ee()),
|
|
18018
|
+
const { businessId: J } = W(ee()), D = {
|
|
18019
18019
|
fetchType: te.Delete,
|
|
18020
18020
|
url: `${Se}/${J.value}/reports/${F.id}`
|
|
18021
18021
|
};
|
|
18022
|
-
return K.fetch(
|
|
18022
|
+
return K.fetch(D);
|
|
18023
18023
|
}, lt = (F) => {
|
|
18024
|
-
const { businessId: J } = W(ee()),
|
|
18024
|
+
const { businessId: J } = W(ee()), D = {
|
|
18025
18025
|
fetchType: te.Put,
|
|
18026
18026
|
url: `${Se}/${J.value}/reports/default`,
|
|
18027
18027
|
data: { defaultReport: F }
|
|
18028
18028
|
};
|
|
18029
|
-
return K.fetch(
|
|
18029
|
+
return K.fetch(D);
|
|
18030
18030
|
}, _t = async () => {
|
|
18031
18031
|
const { businessId: F } = W(ee());
|
|
18032
18032
|
if (F) {
|
|
@@ -18058,18 +18058,18 @@ const Se = "/report-settings", nt = async () => {
|
|
|
18058
18058
|
} else
|
|
18059
18059
|
return Promise.reject(new Error("Business Id is not defined"));
|
|
18060
18060
|
}, pt = (F) => {
|
|
18061
|
-
const { businessId: J } = W(ee()),
|
|
18061
|
+
const { businessId: J } = W(ee()), D = {
|
|
18062
18062
|
fetchType: te.Post,
|
|
18063
18063
|
url: `/report-settings/${J.value}/date-settings`,
|
|
18064
18064
|
data: {
|
|
18065
18065
|
...F
|
|
18066
18066
|
}
|
|
18067
18067
|
};
|
|
18068
|
-
return K.fetch(
|
|
18068
|
+
return K.fetch(D);
|
|
18069
18069
|
};
|
|
18070
18070
|
function Je(F, J = {}) {
|
|
18071
|
-
const
|
|
18072
|
-
return
|
|
18071
|
+
const D = localStorage.getItem(F);
|
|
18072
|
+
return D === null && (J == null ? void 0 : J.fallback) !== void 0 ? J.fallback : D === null ? null : J.format ? J.format(D) : D;
|
|
18073
18073
|
}
|
|
18074
18074
|
const me = {
|
|
18075
18075
|
get: Je,
|
|
@@ -18086,7 +18086,7 @@ const me = {
|
|
|
18086
18086
|
localStorage.setItem(F, JSON.stringify(J));
|
|
18087
18087
|
}
|
|
18088
18088
|
}, ft = "mf-reportreport-store", Be = ke(ft, () => {
|
|
18089
|
-
const { business: F } = W(Ie()), { flags: J } = W(Ne()),
|
|
18089
|
+
const { business: F } = W(Ie()), { flags: J } = W(Ne()), D = X([]), H = X([]), k = X(0), U = Xe(), P = Ae(() => D.value.filter((f) => f.editable)), N = Ae(() => D.value.filter((f) => !f.editable)), B = X(!1), Q = X(""), V = X(), G = X(), Y = Ae(() => {
|
|
18090
18090
|
const f = J.value.find(
|
|
18091
18091
|
(S) => S.key === We.report_portal_integration_custom_report
|
|
18092
18092
|
);
|
|
@@ -18098,7 +18098,7 @@ const me = {
|
|
|
18098
18098
|
async function Z() {
|
|
18099
18099
|
var f;
|
|
18100
18100
|
try {
|
|
18101
|
-
|
|
18101
|
+
D.value = await nt(), H.value = await ct(), D.value.find((T) => T.id === Q.value) || (Q.value = ((f = D.value.find((T) => T.isDefault)) == null ? void 0 : f.id) || D.value[0].id);
|
|
18102
18102
|
} catch (S) {
|
|
18103
18103
|
console.log(S), U.open({
|
|
18104
18104
|
title: "Report Fetch Error",
|
|
@@ -18108,7 +18108,7 @@ const me = {
|
|
|
18108
18108
|
}
|
|
18109
18109
|
}
|
|
18110
18110
|
const se = Ae(
|
|
18111
|
-
() =>
|
|
18111
|
+
() => D.value.find((f) => f.id === Q.value)
|
|
18112
18112
|
), fe = X(), re = X(0), ie = X(), le = X(!1), _e = X(!1), ue = X(!1);
|
|
18113
18113
|
async function ae(f) {
|
|
18114
18114
|
if (P.value.findIndex((T) => T.id === f.id) >= 0) {
|
|
@@ -18130,7 +18130,7 @@ const me = {
|
|
|
18130
18130
|
await lt(f), await Z();
|
|
18131
18131
|
}
|
|
18132
18132
|
function Te(f) {
|
|
18133
|
-
|
|
18133
|
+
D.value.findIndex((T) => T.id === f) !== -1 && (Q.value = f);
|
|
18134
18134
|
}
|
|
18135
18135
|
const $e = X(null);
|
|
18136
18136
|
function ge() {
|
|
@@ -18182,8 +18182,8 @@ const me = {
|
|
|
18182
18182
|
isOpenFeedbackDialog: _e,
|
|
18183
18183
|
isOpenEmailDialog: ue,
|
|
18184
18184
|
currentSelectWidgetType: V,
|
|
18185
|
-
reports:
|
|
18186
|
-
categories:
|
|
18185
|
+
reports: D,
|
|
18186
|
+
categories: H,
|
|
18187
18187
|
currentReport: se,
|
|
18188
18188
|
editingReport: fe,
|
|
18189
18189
|
editingIndex: re,
|
|
@@ -18211,7 +18211,7 @@ const me = {
|
|
|
18211
18211
|
submitFeedback: de
|
|
18212
18212
|
};
|
|
18213
18213
|
}), yt = "mf-reportnavigation", Qe = ke(yt, () => {
|
|
18214
|
-
const { disabled: F } = W(Ye()), { isIntegrationWhitelist: J } = W(Ne()),
|
|
18214
|
+
const { disabled: F } = W(Ye()), { isIntegrationWhitelist: J } = W(Ne()), D = X("v5"), H = Ae(() => {
|
|
18215
18215
|
const N = [
|
|
18216
18216
|
{
|
|
18217
18217
|
label: "overview",
|
|
@@ -18270,25 +18270,25 @@ const me = {
|
|
|
18270
18270
|
{ immediate: !0 }
|
|
18271
18271
|
), {
|
|
18272
18272
|
selectedNavigationTab: k,
|
|
18273
|
-
navigationTabs:
|
|
18274
|
-
version:
|
|
18273
|
+
navigationTabs: H,
|
|
18274
|
+
version: D
|
|
18275
18275
|
};
|
|
18276
18276
|
});
|
|
18277
18277
|
var Ve = /* @__PURE__ */ ((F) => (F.generating = "GENERATING", F.completed = "COMPLETED", F.failed = "FAILED", F.canceled = "CANCELLED", F))(Ve || {});
|
|
18278
18278
|
pe.extend(je);
|
|
18279
18279
|
async function $t(F, J) {
|
|
18280
|
-
for (let
|
|
18280
|
+
for (let D = 0; D < F.length; D++)
|
|
18281
18281
|
try {
|
|
18282
|
-
return await F[
|
|
18283
|
-
} catch (
|
|
18284
|
-
if (
|
|
18282
|
+
return await F[D]();
|
|
18283
|
+
} catch (H) {
|
|
18284
|
+
if (H.message === "Unauthorized" || D === F.length - 1) throw H;
|
|
18285
18285
|
await new Promise((k) => setTimeout(k, J));
|
|
18286
18286
|
}
|
|
18287
|
-
throw new Error("
|
|
18287
|
+
throw new Error("No callback");
|
|
18288
18288
|
}
|
|
18289
18289
|
const bt = async (F, J) => {
|
|
18290
18290
|
var Y, ne, oe, Z;
|
|
18291
|
-
const { businessId:
|
|
18291
|
+
const { businessId: D, country: H } = W(ee()), {
|
|
18292
18292
|
selectedRestaurantIds: k,
|
|
18293
18293
|
selectedWarehouseIds: U,
|
|
18294
18294
|
selectedLocationIds: P,
|
|
@@ -18300,7 +18300,7 @@ const bt = async (F, J) => {
|
|
|
18300
18300
|
return null;
|
|
18301
18301
|
const V = {
|
|
18302
18302
|
fetchType: te.Post,
|
|
18303
|
-
url: `/${
|
|
18303
|
+
url: `/${D.value}/postgres-query`,
|
|
18304
18304
|
data: Me.getQueryRequests({
|
|
18305
18305
|
widget: F,
|
|
18306
18306
|
dateRange: [N.startDate, N.endDate],
|
|
@@ -18309,7 +18309,7 @@ const bt = async (F, J) => {
|
|
|
18309
18309
|
pe().set("hour", Number((Y = Q.start) == null ? void 0 : Y.hour)).set("minute", Number((ne = Q.start) == null ? void 0 : ne.minute)).toISOString(),
|
|
18310
18310
|
pe().set("hour", Number((oe = Q.end) == null ? void 0 : oe.hour)).set("minute", Number((Z = Q.end) == null ? void 0 : Z.minute)).toISOString()
|
|
18311
18311
|
],
|
|
18312
|
-
businessIds:
|
|
18312
|
+
businessIds: D.value ? [D.value] : [],
|
|
18313
18313
|
restaurantIds: k,
|
|
18314
18314
|
warehouseIds: U
|
|
18315
18315
|
}),
|
|
@@ -18323,20 +18323,20 @@ const bt = async (F, J) => {
|
|
|
18323
18323
|
() => K.fetch(V),
|
|
18324
18324
|
() => (V.url = V.url.replace("postgres-query", "query"), K.fetch(V))
|
|
18325
18325
|
],
|
|
18326
|
-
|
|
18326
|
+
2e3
|
|
18327
18327
|
);
|
|
18328
18328
|
return tt.formatChartData({
|
|
18329
18329
|
responses: G,
|
|
18330
18330
|
widget: F,
|
|
18331
|
-
country:
|
|
18331
|
+
country: H.value
|
|
18332
18332
|
});
|
|
18333
18333
|
}, Rt = async (F, J) => {
|
|
18334
|
-
const { businessId:
|
|
18334
|
+
const { businessId: D } = W(ee()), { selectedRestaurantIds: H, selectedWarehouseIds: k, dateRange: U, timeRange: P } = Ie(), { currentReport: N, overviewReport: B } = Be(), { selectedNavigationTab: Q } = Qe();
|
|
18335
18335
|
let V = N == null ? void 0 : N.id, G = (N == null ? void 0 : N.tiles) ?? [];
|
|
18336
18336
|
Q === "overview" && B && (V = B == null ? void 0 : B.id, G = (B == null ? void 0 : B.tiles) ?? []);
|
|
18337
18337
|
const Y = G.filter((ie, le) => typeof J == "number" ? le === J : !0).map((ie) => ie.widget), ne = {
|
|
18338
18338
|
fetchType: te.Post,
|
|
18339
|
-
url: `/${
|
|
18339
|
+
url: `/${D.value}/file`,
|
|
18340
18340
|
data: {
|
|
18341
18341
|
configs: [
|
|
18342
18342
|
...Y.map((ie, le) => {
|
|
@@ -18354,8 +18354,8 @@ const bt = async (F, J) => {
|
|
|
18354
18354
|
pe().set("hour", Number((_e = P.start) == null ? void 0 : _e.hour)).set("minute", Number((ue = P.start) == null ? void 0 : ue.minute)).toISOString(),
|
|
18355
18355
|
pe().set("hour", Number((ae = P.end) == null ? void 0 : ae.hour)).set("minute", Number((de = P.end) == null ? void 0 : de.minute)).toISOString()
|
|
18356
18356
|
],
|
|
18357
|
-
businessIds:
|
|
18358
|
-
restaurantIds:
|
|
18357
|
+
businessIds: D ? [D.value] : [],
|
|
18358
|
+
restaurantIds: H,
|
|
18359
18359
|
warehouseIds: k
|
|
18360
18360
|
}),
|
|
18361
18361
|
index: J || le,
|
|
@@ -18376,8 +18376,8 @@ const bt = async (F, J) => {
|
|
|
18376
18376
|
}, Ft = async ({
|
|
18377
18377
|
emails: F,
|
|
18378
18378
|
types: J,
|
|
18379
|
-
dateRange:
|
|
18380
|
-
timeRange:
|
|
18379
|
+
dateRange: D,
|
|
18380
|
+
timeRange: H,
|
|
18381
18381
|
locationIds: k
|
|
18382
18382
|
}) => {
|
|
18383
18383
|
const { businessId: U } = W(ee()), { currentReport: P, overviewReport: N } = Be(), { selectedNavigationTab: B } = Qe(), { restaurants: Q, warehouses: V } = Ie();
|
|
@@ -18391,8 +18391,8 @@ const bt = async (F, J) => {
|
|
|
18391
18391
|
businessId: U.value,
|
|
18392
18392
|
status: Ve.generating,
|
|
18393
18393
|
dateRange: {
|
|
18394
|
-
start:
|
|
18395
|
-
end:
|
|
18394
|
+
start: D.startDate,
|
|
18395
|
+
end: D.endDate
|
|
18396
18396
|
},
|
|
18397
18397
|
reportName: Y,
|
|
18398
18398
|
emails: F,
|
|
@@ -18401,10 +18401,10 @@ const bt = async (F, J) => {
|
|
|
18401
18401
|
return {
|
|
18402
18402
|
requests: Me.getQueryRequests({
|
|
18403
18403
|
widget: se,
|
|
18404
|
-
dateRange: [
|
|
18404
|
+
dateRange: [D.startDate, D.endDate],
|
|
18405
18405
|
timeRange: [
|
|
18406
|
-
pe().hour(Number((re =
|
|
18407
|
-
pe().hour(Number((le =
|
|
18406
|
+
pe().hour(Number((re = H.start) == null ? void 0 : re.hour)).minute(Number((ie = H.start) == null ? void 0 : ie.minute)).toISOString(),
|
|
18407
|
+
pe().hour(Number((le = H.end) == null ? void 0 : le.hour)).minute(Number((_e = H.end) == null ? void 0 : _e.minute)).toISOString()
|
|
18408
18408
|
],
|
|
18409
18409
|
businessIds: U ? [U.value] : [],
|
|
18410
18410
|
restaurantIds: k.filter(
|
|
@@ -18466,18 +18466,18 @@ function St(F, J = 0) {
|
|
|
18466
18466
|
const ht = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), Pe = {
|
|
18467
18467
|
randomUUID: ht
|
|
18468
18468
|
};
|
|
18469
|
-
function
|
|
18469
|
+
function wt(F, J, D) {
|
|
18470
18470
|
if (Pe.randomUUID && !J && !F)
|
|
18471
18471
|
return Pe.randomUUID();
|
|
18472
18472
|
F = F || {};
|
|
18473
|
-
const
|
|
18474
|
-
if (
|
|
18475
|
-
|
|
18473
|
+
const H = F.random || (F.rng || mt)();
|
|
18474
|
+
if (H[6] = H[6] & 15 | 64, H[8] = H[8] & 63 | 128, J) {
|
|
18475
|
+
D = D || 0;
|
|
18476
18476
|
for (let k = 0; k < 16; ++k)
|
|
18477
|
-
J[
|
|
18477
|
+
J[D + k] = H[k];
|
|
18478
18478
|
return J;
|
|
18479
18479
|
}
|
|
18480
|
-
return St(
|
|
18480
|
+
return St(H);
|
|
18481
18481
|
}
|
|
18482
18482
|
export {
|
|
18483
18483
|
it as R,
|
|
@@ -18492,5 +18492,5 @@ export {
|
|
|
18492
18492
|
Ot as r,
|
|
18493
18493
|
Ft as s,
|
|
18494
18494
|
Qe as u,
|
|
18495
|
-
|
|
18495
|
+
wt as v
|
|
18496
18496
|
};
|