@feedmepos/mf-report 5.7.6-beta.101 → 5.7.6-beta.102
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-Jca8xAeA.js → App-Dfy8_dgU.js} +3 -3
- package/dist/{Default.vue_vue_type_script_setup_true_lang-BT43E1C_.js → Default.vue_vue_type_script_setup_true_lang-C2uUS1r-.js} +1 -1
- package/dist/{DynamicWidget.vue_vue_type_script_setup_true_lang-BXnR6_--.js → DynamicWidget.vue_vue_type_script_setup_true_lang-hFmuXpI-.js} +1 -1
- package/dist/{InsightView-BPqzsGEh.js → InsightView-pMGpk3JB.js} +2 -2
- package/dist/{Layout-BHPlP0Hr.js → Layout-D0WEGuvi.js} +1 -1
- package/dist/{MenuTab.vue_vue_type_script_setup_true_lang-Cb1aPDRF.js → MenuTab.vue_vue_type_script_setup_true_lang-DMZ9V8h-.js} +1 -1
- package/dist/{NavigationTab.vue_vue_type_script_setup_true_lang-BEVYUVpH.js → NavigationTab.vue_vue_type_script_setup_true_lang-CDYLM19O.js} +1 -1
- package/dist/{OverviewView-Dnkl2fzM.js → OverviewView-DCvv_yNv.js} +4 -4
- package/dist/{Report-Dsz1O4HB.js → Report-Bxf2qgWC.js} +2 -2
- package/dist/{ReportEditor-BTnRlgWe.js → ReportEditor-B85E-p2H.js} +3 -3
- package/dist/{ReportView-D9_9iI_y.js → ReportView-Bgk1Nk5D.js} +5 -5
- package/dist/{Setting-D7cO-tUD.js → Setting-CKkqINBV.js} +2 -2
- package/dist/{TileEditor-DXO3AjCU.js → TileEditor-Ce5fXttu.js} +3 -3
- package/dist/{TransitionFade-w8aNW9lj.js → TransitionFade-B7MGFLV2.js} +2 -2
- package/dist/app.js +9 -9
- package/dist/{v4-CZ8oToXX.js → v4-KVHDiToS.js} +166 -163
- 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 k } from "@feedmepos/mf-common";
|
|
3
3
|
import { u as oe, d as F, a as re, b as ne, c as ae, e as se, f as le, g as ue } from "./global-loader-DeDK8lT7.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-KVHDiToS.js";
|
|
6
6
|
import { u as me } from "./report-schema-tfEvDL2D.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-CDYLM19O.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 he = ["src"], _e = ["src"], Le = /* @__PURE__ */ O({
|
|
|
96
96
|
}), M(() => {
|
|
97
97
|
u(de);
|
|
98
98
|
}), z(() => {
|
|
99
|
-
console.log("5.7.6-beta.
|
|
99
|
+
console.log("5.7.6-beta.102", !0), window.addEventListener("message", E), window.addEventListener("message", L);
|
|
100
100
|
});
|
|
101
101
|
const R = ce(), N = ve();
|
|
102
102
|
ee(() => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as u, computed as f, resolveComponent as p, createElementBlock as s, openBlock as t, normalizeStyle as n, normalizeClass as d, unref as e, createBlock as y, createCommentVNode as _, createVNode as h, createElementVNode as k, toDisplayString as g, renderSlot as x } from "vue";
|
|
2
|
-
import { _ as b } from "./NavigationTab.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { _ as b } from "./NavigationTab.vue_vue_type_script_setup_true_lang-CDYLM19O.js";
|
|
3
3
|
import { useBreakpoints as v } from "@feedmepos/ui-library";
|
|
4
4
|
import { storeToRefs as q } from "pinia";
|
|
5
5
|
import { u as C, f as w } from "./global-loader-DeDK8lT7.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { computed as m, defineComponent as Z, useModel as Q, ref as u, resolveComponent as V, createElementBlock as H, openBlock as E, Fragment as te, renderSlot as ue, createVNode as W, normalizeStyle as ae, unref as n, createElementVNode as $, toDisplayString as xe, withCtx as I, createBlock as O, createCommentVNode as ce, normalizeClass as ze, h as ot, watch as ve, nextTick as nt, renderList as ut, mergeModels as dt, createTextVNode as zt, onMounted as Vt, onUnmounted as Pt, resolveDynamicComponent as Wt, withDirectives as $t, vShow as Bt } from "vue";
|
|
2
|
-
import { W as y, v as Ae, P as We, d as ht, R as Ce, g as Ht, q as qt } from "./v4-
|
|
2
|
+
import { W as y, v as Ae, P as We, d as ht, R as Ce, g as Ht, q as qt } from "./v4-KVHDiToS.js";
|
|
3
3
|
import { u as Ve, b as Oe, a as Ue } from "./global-loader-DeDK8lT7.js";
|
|
4
4
|
import { d as st } from "./index-BUphqdhM.js";
|
|
5
5
|
import { storeToRefs as Se, defineStore as Mt } 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-C2uUS1r-.js";
|
|
6
6
|
import { _ as na } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-Ceg0ycS-.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-DeDK8lT7.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-BUphqdhM.js";
|
|
11
11
|
import { _ as ra } from "./NoData.vue_vue_type_script_setup_true_lang-Gjyew5eM.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-CDYLM19O.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-C2uUS1r-.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-DeDK8lT7.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-CDYLM19O.js";
|
|
5
5
|
import { _ as U } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-Ceg0ycS-.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) => E9(e, typeof t != "symbol" ? t + "" : t, r);
|
|
|
4
4
|
import { defineComponent as qr, computed as Fr, useModel as Ea, ref as Ne, watch as na, resolveComponent as Ae, createBlock as Ye, unref as Q, openBlock as le, withCtx as Me, createElementVNode as oe, createVNode as K, toDisplayString as nr, withDirectives as zn, createElementBlock as Be, Fragment as gr, renderList as Br, vShow as u0, createTextVNode as St, mergeModels as Cn, createCommentVNode as xr, normalizeClass as jn, withModifiers as Is, onMounted as Md, renderSlot as Rd, mergeProps as F9, nextTick as P9, resolveDynamicComponent as xh, withKeys as S9, vModelText as O9, normalizeStyle as D9, isRef as B0, createSlots as I9 } from "vue";
|
|
5
5
|
import { useRouter as Xd, useRoute as zd } from "vue-router";
|
|
6
6
|
import { storeToRefs as yt, defineStore as nu } from "pinia";
|
|
7
|
-
import { a as Xi, R as h0, g as Co, v as N9, P as Cs, d as V9, r as B9, b as xn, c as L9, e as M9, f as R9, s as X9, u as z9 } from "./v4-
|
|
7
|
+
import { a as Xi, R as h0, g as Co, v as N9, P as Cs, d as V9, r as B9, b as xn, c as L9, e as M9, f as R9, s as X9, u as z9 } from "./v4-KVHDiToS.js";
|
|
8
8
|
import { useBreakpoints as il, components as d0, useSnackbar as zi, useDialog as H9, useDialogChild as q9, FmButtonVariant as gh } from "@feedmepos/ui-library";
|
|
9
9
|
import { u as Pa, i as iu, j as sl, a as Ua, F as Za, h as Ya, d as Ke, b as w0, k as Hi, l as W9, m as j9, e as U9, n as As } from "./global-loader-DeDK8lT7.js";
|
|
10
10
|
import { _ as yh } from "./SelectComponent.vue_vue_type_script_setup_true_lang-BRdIROVa.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-hFmuXpI-.js";
|
|
3
|
+
import { _ as F } from "./Default.vue_vue_type_script_setup_true_lang-C2uUS1r-.js";
|
|
4
|
+
import { a as P } from "./v4-KVHDiToS.js";
|
|
5
5
|
import { storeToRefs as R } from "pinia";
|
|
6
6
|
import { _ as S } from "./NoData.vue_vue_type_script_setup_true_lang-Gjyew5eM.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-DMZ9V8h-.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 me, ref as O, watch as W, computed as w, h as f, withModifiers as ue, resolveComponent as x, createBlock as T, openBlock as F, withCtx as i, createVNode as n, createElementVNode as y, unref as e, normalizeStyle as pe, normalizeClass as C, withDirectives as B, createElementBlock as de, Fragment as fe, renderList as ve, toDisplayString as R, createTextVNode as ye, vShow as D } from "vue";
|
|
2
2
|
import { storeToRefs as X } from "pinia";
|
|
3
|
-
import { a as ge } from "./v4-
|
|
4
|
-
import { _ as be } from "./Default.vue_vue_type_script_setup_true_lang-
|
|
3
|
+
import { a as ge } from "./v4-KVHDiToS.js";
|
|
4
|
+
import { _ as be } from "./Default.vue_vue_type_script_setup_true_lang-C2uUS1r-.js";
|
|
5
5
|
import { u as he } from "./message-dialog-UoMWOnil.js";
|
|
6
6
|
import { b as xe, f as Ce } from "./global-loader-DeDK8lT7.js";
|
|
7
7
|
import { useSnackbar as _e, useBreakpoints as ke, components as we, FmButtonColorThemeVariant as $e } from "@feedmepos/ui-library";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { defineComponent as R, mergeModels as $, useModel as B, ref as N, computed as P, resolveComponent as m, createBlock as V, openBlock as u, withCtx as d, createElementVNode as y, createVNode as n, unref as e, normalizeClass as E, createTextVNode as _e, toDisplayString as q, createElementBlock as w, Fragment as U, renderSlot as X, createCommentVNode as L, watch as ye, resolveDynamicComponent as Y, isRef as Z, renderList as A, onMounted as Ce, normalizeStyle as be } from "vue";
|
|
2
|
-
import { W as Ve, i as ke, S as xe, d as Fe, T as we, _ as he } from "./TransitionFade-
|
|
3
|
-
import { a as ee, v as oe } from "./v4-
|
|
2
|
+
import { W as Ve, i as ke, S as xe, d as Fe, T as we, _ as he } from "./TransitionFade-B7MGFLV2.js";
|
|
3
|
+
import { a as ee, v as oe } from "./v4-KVHDiToS.js";
|
|
4
4
|
import { storeToRefs as te } from "pinia";
|
|
5
5
|
import { useRouter as le, useRoute as re } from "vue-router";
|
|
6
6
|
import { useBreakpoints as G, FmButtonColorThemeVariant as I, useSnackbar as $e } from "@feedmepos/ui-library";
|
|
7
7
|
import { u as ne } from "./message-dialog-UoMWOnil.js";
|
|
8
|
-
import { _ as ae } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-
|
|
8
|
+
import { _ as ae } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-hFmuXpI-.js";
|
|
9
9
|
import { _ as ie } from "./NoData.vue_vue_type_script_setup_true_lang-Gjyew5eM.js";
|
|
10
10
|
import { u as W, f as Se } from "./global-loader-DeDK8lT7.js";
|
|
11
11
|
import { r as Q } from "./i18n-Cif1I9J2.js";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { defineComponent as V, computed as v, resolveComponent as z, createBlock as g, openBlock as u, withCtx as H, createVNode as h, createElementVNode as M, unref as o, normalizeStyle as Y, normalizeClass as D, createElementBlock as R, Fragment as G, renderList as Q } from "vue";
|
|
2
|
-
import { _ as U } from "./MenuTab.vue_vue_type_script_setup_true_lang-
|
|
3
|
-
import { _ as W } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { _ as U } from "./MenuTab.vue_vue_type_script_setup_true_lang-DMZ9V8h-.js";
|
|
3
|
+
import { _ as W } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-hFmuXpI-.js";
|
|
4
4
|
import { useRouter as K, useRoute as X } from "vue-router";
|
|
5
|
-
import { _ as Z } from "./Default.vue_vue_type_script_setup_true_lang-
|
|
6
|
-
import { a as ee } from "./v4-
|
|
5
|
+
import { _ as Z } from "./Default.vue_vue_type_script_setup_true_lang-C2uUS1r-.js";
|
|
6
|
+
import { a as ee } from "./v4-KVHDiToS.js";
|
|
7
7
|
import { storeToRefs as p } from "pinia";
|
|
8
|
-
import { b as oe, c as te, u as re } from "./NavigationTab.vue_vue_type_script_setup_true_lang-
|
|
8
|
+
import { b as oe, c as te, u as re } from "./NavigationTab.vue_vue_type_script_setup_true_lang-CDYLM19O.js";
|
|
9
9
|
import { _ as ae } from "./NoData.vue_vue_type_script_setup_true_lang-Gjyew5eM.js";
|
|
10
10
|
import { useSnackbar as le, useBreakpoints as ne } from "@feedmepos/ui-library";
|
|
11
11
|
import { u as ie, f as se, e as ue } from "./global-loader-DeDK8lT7.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-C2uUS1r-.js";
|
|
3
3
|
import { u as U, d as z, C as A, D as pe, b as ce } from "./global-loader-DeDK8lT7.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-CDYLM19O.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-BRdIROVa.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as E, mergeModels as W, useModel as ee, computed as S, ref as A, resolveComponent as F, createElementBlock as O, openBlock as h, createVNode as f, createElementVNode as w, unref as t, withCtx as $, toDisplayString as I, Fragment as Q, renderList as ue, withModifiers as te, createTextVNode as ve, watch as ne, createCommentVNode as D, createBlock as T, onMounted as Oe, onUnmounted as qe, renderSlot as Le, onBeforeUnmount as He, resolveDynamicComponent as Ie, normalizeClass as Be, withDirectives as de, vShow as me, normalizeStyle as Ye, isRef as We } from "vue";
|
|
2
2
|
import { useRoute as Xe, useRouter as Ge } from "vue-router";
|
|
3
|
-
import { h as Je, d as Ve, S as ke, W as Ke, a as Qe, T as Ze, _ as el } from "./TransitionFade-
|
|
4
|
-
import { W as R, a as ll } from "./v4-
|
|
3
|
+
import { h as Je, d as Ve, S as ke, W as Ke, a as Qe, T as Ze, _ as el } from "./TransitionFade-B7MGFLV2.js";
|
|
4
|
+
import { W as R, a as ll } from "./v4-KVHDiToS.js";
|
|
5
5
|
import { storeToRefs as pe } from "pinia";
|
|
6
6
|
import { u as Re } from "./message-dialog-UoMWOnil.js";
|
|
7
7
|
import { c as Ue, d as Me, p as ol } from "./index-BUphqdhM.js";
|
|
@@ -11,7 +11,7 @@ import { _ as fe } from "./BaseDialog.vue_vue_type_script_setup_true_lang-DTNiGK
|
|
|
11
11
|
import { _ as K } from "./SelectComponent.vue_vue_type_script_setup_true_lang-BRdIROVa.js";
|
|
12
12
|
import { u as X, d as se, b as al } from "./global-loader-DeDK8lT7.js";
|
|
13
13
|
import { r as le } from "./i18n-Cif1I9J2.js";
|
|
14
|
-
import { g as ye, u as he, L as ie, a as xe, _ as Ee } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-
|
|
14
|
+
import { g as ye, u as he, L as ie, a as xe, _ as Ee } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-hFmuXpI-.js";
|
|
15
15
|
import { _ as ze } from "./NoData.vue_vue_type_script_setup_true_lang-Gjyew5eM.js";
|
|
16
16
|
var re = /* @__PURE__ */ ((m) => (m.DateTime = "DATE_TIME", m.Hour = "HOUR", m.Day = "DAY", m.Week = "WEEK", m.Month = "MONTH", m.TimeOfDay = "TIME_OF_DAY", m.HourOfDay = "HOUR_OF_DAY", m.DayOfWeek = "DAY_OF_WEEK", m.DayOfMonth = "DAY_OF_MONTH", m.MonthOfYear = "MONTH_OF_YEAR", m.Year = "YEAR", m))(re || {}), Ce = /* @__PURE__ */ ((m) => (m.Asc = "ASC", m.Desc = "DESC", m))(Ce || {}), ae = /* @__PURE__ */ ((m) => (m.Equal = "EQUAL", m.NotEqual = "NOT_EQUAL", m.GreaterThan = "GREATER_THAN", m.LessThan = "LESS_THAN", m.GreaterThanOrEqual = "GREATER_THAN_OR_EQUAL", m.LessThanOrEqual = "LESS_THAN_OR_EQUAL", m.Between = "BETWEEN", m.Like = "LIKE", m.NotLike = "NOT_LIKE", m.And = "AND", m.Or = "OR", m))(ae || {}), ce = /* @__PURE__ */ ((m) => (m.String = "STRING", m.Timestamp = "TIMESTAMP", m.Bool = "BOOL", m.Numeric = "NUMERIC", m))(ce || {});
|
|
17
17
|
const we = [
|
|
@@ -3,10 +3,10 @@ import { u as Xt, f as wn } from "./global-loader-DeDK8lT7.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-KVHDiToS.js";
|
|
7
7
|
import { p as Cn } from "./index-BUphqdhM.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-hFmuXpI-.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
|
@@ -3253,41 +3253,41 @@ const a = {
|
|
|
3253
3253
|
path: "/overview",
|
|
3254
3254
|
alias: ["/"],
|
|
3255
3255
|
name: "overview",
|
|
3256
|
-
component: () => import("./OverviewView-
|
|
3256
|
+
component: () => import("./OverviewView-DCvv_yNv.js")
|
|
3257
3257
|
},
|
|
3258
3258
|
{
|
|
3259
3259
|
path: "/report",
|
|
3260
3260
|
name: "reports",
|
|
3261
|
-
component: () => import("./Report-
|
|
3261
|
+
component: () => import("./Report-Bxf2qgWC.js")
|
|
3262
3262
|
},
|
|
3263
3263
|
{
|
|
3264
3264
|
path: "/insights",
|
|
3265
3265
|
name: "insights",
|
|
3266
|
-
component: () => import("./InsightView-
|
|
3266
|
+
component: () => import("./InsightView-pMGpk3JB.js")
|
|
3267
3267
|
},
|
|
3268
3268
|
{
|
|
3269
3269
|
path: "/report-view",
|
|
3270
3270
|
name: "reportView",
|
|
3271
|
-
component: () => import("./ReportView-
|
|
3271
|
+
component: () => import("./ReportView-Bgk1Nk5D.js")
|
|
3272
3272
|
},
|
|
3273
3273
|
{
|
|
3274
3274
|
path: "/report-editor",
|
|
3275
3275
|
name: "reportEditor",
|
|
3276
|
-
component: () => import("./ReportEditor-
|
|
3276
|
+
component: () => import("./ReportEditor-B85E-p2H.js")
|
|
3277
3277
|
},
|
|
3278
3278
|
{
|
|
3279
3279
|
path: "/report-editor/tile-editor",
|
|
3280
3280
|
name: "tileEditor",
|
|
3281
|
-
component: () => import("./TileEditor-
|
|
3281
|
+
component: () => import("./TileEditor-Ce5fXttu.js")
|
|
3282
3282
|
},
|
|
3283
3283
|
{
|
|
3284
3284
|
path: "/setting",
|
|
3285
3285
|
name: "setting",
|
|
3286
|
-
component: () => import("./Setting-
|
|
3286
|
+
component: () => import("./Setting-CKkqINBV.js")
|
|
3287
3287
|
},
|
|
3288
3288
|
{
|
|
3289
3289
|
path: "/integration",
|
|
3290
|
-
component: () => import("./Layout-
|
|
3290
|
+
component: () => import("./Layout-D0WEGuvi.js"),
|
|
3291
3291
|
children: [
|
|
3292
3292
|
{
|
|
3293
3293
|
name: "integrations",
|
|
@@ -3320,7 +3320,7 @@ const l = {
|
|
|
3320
3320
|
"en-US": t,
|
|
3321
3321
|
"zh-CN": m,
|
|
3322
3322
|
"th-TH": c
|
|
3323
|
-
}, y = e(() => import("./App-
|
|
3323
|
+
}, y = e(() => import("./App-Dfy8_dgU.js"));
|
|
3324
3324
|
export {
|
|
3325
3325
|
y as FmApp,
|
|
3326
3326
|
l as i18nMessages,
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { j as
|
|
2
|
-
import { storeToRefs as Y, defineStore as
|
|
3
|
-
import { ref as Z, computed as Ae, h as
|
|
4
|
-
import { useSnackbar as
|
|
5
|
-
import { useRouter as
|
|
6
|
-
function
|
|
1
|
+
import { j as Ne, a as ee, F as te, h as j, b as Ie, c as Ue, n as Ke, d as fe, e as Xe, k as Ze } from "./global-loader-DeDK8lT7.js";
|
|
2
|
+
import { storeToRefs as Y, defineStore as qe } from "pinia";
|
|
3
|
+
import { ref as Z, computed as Ae, h as et, watch as tt } from "vue";
|
|
4
|
+
import { useSnackbar as rt, components as it } from "@feedmepos/ui-library";
|
|
5
|
+
import { useRouter as nt } from "vue-router";
|
|
6
|
+
function Be(F) {
|
|
7
7
|
throw new Error('Could not dynamically require "' + F + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
|
|
8
8
|
}
|
|
9
9
|
var Me = {};
|
|
10
10
|
(function(F) {
|
|
11
|
-
var w = typeof
|
|
11
|
+
var w = typeof Ne < "u" ? Ne : window, J = Object.create(w);
|
|
12
12
|
J.scheduleImmediate = typeof setImmediate < "u" ? function(Q) {
|
|
13
13
|
setImmediate(Q);
|
|
14
14
|
} : function(Q) {
|
|
@@ -20,7 +20,7 @@ var Me = {};
|
|
|
20
20
|
} catch {
|
|
21
21
|
}
|
|
22
22
|
if (H) {
|
|
23
|
-
var N = (typeof __webpack_require__ < "u" ? __non_webpack_require__ :
|
|
23
|
+
var N = (typeof __webpack_require__ < "u" ? __non_webpack_require__ : Be)("url");
|
|
24
24
|
Object.defineProperty(J, "location", {
|
|
25
25
|
value: {
|
|
26
26
|
get href() {
|
|
@@ -114,7 +114,7 @@ var Me = {};
|
|
|
114
114
|
function ne(r, e) {
|
|
115
115
|
P(e.prototype, r.prototype), r.prototype.constructor = r;
|
|
116
116
|
}
|
|
117
|
-
function
|
|
117
|
+
function oe(r, e, i, n) {
|
|
118
118
|
var a = r;
|
|
119
119
|
r[e] = a, r[i] = function() {
|
|
120
120
|
r[i] = function() {
|
|
@@ -139,7 +139,7 @@ var Me = {};
|
|
|
139
139
|
}, r[e];
|
|
140
140
|
};
|
|
141
141
|
}
|
|
142
|
-
function
|
|
142
|
+
function se(r, e, i, n) {
|
|
143
143
|
var a = r;
|
|
144
144
|
r[e] = a, r[i] = function() {
|
|
145
145
|
if (r[e] === a) {
|
|
@@ -158,11 +158,11 @@ var Me = {};
|
|
|
158
158
|
function _e(r) {
|
|
159
159
|
return r;
|
|
160
160
|
}
|
|
161
|
-
function
|
|
161
|
+
function ue(r) {
|
|
162
162
|
for (var e = 0; e < r.length; ++e)
|
|
163
163
|
r[e];
|
|
164
164
|
}
|
|
165
|
-
function
|
|
165
|
+
function de(r, e) {
|
|
166
166
|
var i = null;
|
|
167
167
|
return r ? function(n) {
|
|
168
168
|
return i === null && (i = t.closureFromTearOff(e)), new i(n, this);
|
|
@@ -170,23 +170,23 @@ var Me = {};
|
|
|
170
170
|
return i === null && (i = t.closureFromTearOff(e)), new i(this, null);
|
|
171
171
|
};
|
|
172
172
|
}
|
|
173
|
-
function
|
|
173
|
+
function le(r) {
|
|
174
174
|
var e = null;
|
|
175
175
|
return function() {
|
|
176
176
|
return e === null && (e = t.closureFromTearOff(r).prototype), e;
|
|
177
177
|
};
|
|
178
178
|
}
|
|
179
179
|
var ce = 0;
|
|
180
|
-
function
|
|
180
|
+
function ae(r, e, i, n, a, s, l, _, d, c) {
|
|
181
181
|
return typeof _ == "number" && (_ += ce), { co: r, iS: e, iI: i, rC: n, dV: a, cs: s, fs: l, fT: _, aI: d || 0, nDA: c };
|
|
182
182
|
}
|
|
183
183
|
function ie(r, e, i, n, a, s, l, _) {
|
|
184
|
-
var d =
|
|
184
|
+
var d = ae(r, !0, !1, i, n, a, s, l, _, !1), c = le(d);
|
|
185
185
|
r[e] = c;
|
|
186
186
|
}
|
|
187
187
|
function ye(r, e, i, n, a, s, l, _, d, c) {
|
|
188
188
|
i = !!i;
|
|
189
|
-
var f =
|
|
189
|
+
var f = ae(r, !1, i, n, a, s, l, _, d, !!c), $ = de(i, f);
|
|
190
190
|
r[e] = $;
|
|
191
191
|
}
|
|
192
192
|
function he(r) {
|
|
@@ -222,7 +222,7 @@ var Me = {};
|
|
|
222
222
|
return ie(l, _, i, n, a, [d], c, s);
|
|
223
223
|
};
|
|
224
224
|
};
|
|
225
|
-
return { inherit: V, inheritMany: G, mixin: z, mixinHard: ne, installStaticTearOff: ie, installInstanceTearOff: ye, _instance_0u: r(0, 0, null, ["call$0"], 0), _instance_1u: r(0, 1, null, ["call$1"], 0), _instance_2u: r(0, 2, null, ["call$2"], 0), _instance_0i: r(1, 0, null, ["call$0"], 0), _instance_1i: r(1, 1, null, ["call$1"], 0), _instance_2i: r(1, 2, null, ["call$2"], 0), _static_0: e(0, null, ["call$0"], 0), _static_1: e(1, null, ["call$1"], 0), _static_2: e(2, null, ["call$2"], 0), makeConstList: W, lazy: re, lazyFinal:
|
|
225
|
+
return { inherit: V, inheritMany: G, mixin: z, mixinHard: ne, installStaticTearOff: ie, installInstanceTearOff: ye, _instance_0u: r(0, 0, null, ["call$0"], 0), _instance_1u: r(0, 1, null, ["call$1"], 0), _instance_2u: r(0, 2, null, ["call$2"], 0), _instance_0i: r(1, 0, null, ["call$0"], 0), _instance_1i: r(1, 1, null, ["call$1"], 0), _instance_2i: r(1, 2, null, ["call$2"], 0), _static_0: e(0, null, ["call$0"], 0), _static_1: e(1, null, ["call$1"], 0), _static_2: e(2, null, ["call$2"], 0), makeConstList: W, lazy: re, lazyFinal: se, lazyOld: oe, updateHolder: ge, convertToFastObject: _e, updateTypes: $e, setOrUpdateInterceptorsByTag: he, setOrUpdateLeafTags: Te };
|
|
226
226
|
}(), t = {
|
|
227
227
|
JS_CONST: function() {
|
|
228
228
|
},
|
|
@@ -10077,7 +10077,7 @@ then EXTRACT(EPOCH FROM COALESCE(timesheets.ended_at,!end)-(timesheets.created_a
|
|
|
10077
10077
|
return this(r, e, i);
|
|
10078
10078
|
}, Function.prototype.call$8 = function(r, e, i, n, a, s, l, _) {
|
|
10079
10079
|
return this(r, e, i, n, a, s, l, _);
|
|
10080
|
-
},
|
|
10080
|
+
}, ue(p), function(r) {
|
|
10081
10081
|
if (typeof document > "u") {
|
|
10082
10082
|
r(null);
|
|
10083
10083
|
return;
|
|
@@ -10101,7 +10101,7 @@ then EXTRACT(EPOCH FROM COALESCE(timesheets.ended_at,!end)-(timesheets.created_a
|
|
|
10101
10101
|
});
|
|
10102
10102
|
})();
|
|
10103
10103
|
})(Me);
|
|
10104
|
-
var
|
|
10104
|
+
var Qe = {};
|
|
10105
10105
|
(function(F) {
|
|
10106
10106
|
F.load = function(w, J) {
|
|
10107
10107
|
var H = typeof process < "u" && (process.versions || {}).hasOwnProperty("node"), N = H ? Object.create(globalThis) : globalThis;
|
|
@@ -10110,7 +10110,7 @@ var qe = {};
|
|
|
10110
10110
|
} : function(k) {
|
|
10111
10111
|
setTimeout(k, 0);
|
|
10112
10112
|
}, N.exports = J || F, typeof process < "u" && (N.process = process), typeof __dirname < "u" && (N.__dirname = __dirname), typeof __filename < "u" && (N.__filename = __filename), typeof Buffer < "u" && (N.Buffer = Buffer), H) {
|
|
10113
|
-
var Q = (typeof __webpack_require__ < "u" ? __non_webpack_require__ :
|
|
10113
|
+
var Q = (typeof __webpack_require__ < "u" ? __non_webpack_require__ : Be)("url");
|
|
10114
10114
|
Object.defineProperty(N, "location", {
|
|
10115
10115
|
value: {
|
|
10116
10116
|
get href() {
|
|
@@ -10201,7 +10201,7 @@ var qe = {};
|
|
|
10201
10201
|
function ne(e, i) {
|
|
10202
10202
|
U(i.prototype, e.prototype), e.prototype.constructor = e;
|
|
10203
10203
|
}
|
|
10204
|
-
function
|
|
10204
|
+
function oe(e, i) {
|
|
10205
10205
|
B(i.prototype, e.prototype), e.prototype.constructor = e;
|
|
10206
10206
|
}
|
|
10207
10207
|
function re(e, i, n, a) {
|
|
@@ -10221,7 +10221,7 @@ var qe = {};
|
|
|
10221
10221
|
return l;
|
|
10222
10222
|
};
|
|
10223
10223
|
}
|
|
10224
|
-
function
|
|
10224
|
+
function se(e, i, n, a) {
|
|
10225
10225
|
var s = e;
|
|
10226
10226
|
e[i] = s, e[n] = function() {
|
|
10227
10227
|
return e[i] === s && (e[i] = a()), e[n] = function() {
|
|
@@ -10245,14 +10245,14 @@ var qe = {};
|
|
|
10245
10245
|
function _e(e) {
|
|
10246
10246
|
return e.immutable$list = Array, e.fixed$length = Array, e;
|
|
10247
10247
|
}
|
|
10248
|
-
function
|
|
10248
|
+
function ue(e) {
|
|
10249
10249
|
return e;
|
|
10250
10250
|
}
|
|
10251
|
-
function
|
|
10251
|
+
function de(e) {
|
|
10252
10252
|
for (var i = 0; i < e.length; ++i)
|
|
10253
10253
|
e[i];
|
|
10254
10254
|
}
|
|
10255
|
-
function
|
|
10255
|
+
function le(e, i) {
|
|
10256
10256
|
var n = null;
|
|
10257
10257
|
return e ? function(a) {
|
|
10258
10258
|
return n === null && (n = o.closureFromTearOff(i)), new n(a, this);
|
|
@@ -10266,9 +10266,9 @@ var qe = {};
|
|
|
10266
10266
|
return i === null && (i = o.closureFromTearOff(e).prototype), i;
|
|
10267
10267
|
};
|
|
10268
10268
|
}
|
|
10269
|
-
var
|
|
10269
|
+
var ae = 0;
|
|
10270
10270
|
function ie(e, i, n, a, s, l, _, d, c, f) {
|
|
10271
|
-
return typeof d == "number" && (d +=
|
|
10271
|
+
return typeof d == "number" && (d += ae), { co: e, iS: i, iI: n, rC: a, dV: s, cs: l, fs: _, fT: d, aI: c || 0, nDA: f };
|
|
10272
10272
|
}
|
|
10273
10273
|
function ye(e, i, n, a, s, l, _, d) {
|
|
10274
10274
|
var c = ie(e, !0, !1, n, a, s, l, _, d, !1), f = ce(c);
|
|
@@ -10276,7 +10276,7 @@ var qe = {};
|
|
|
10276
10276
|
}
|
|
10277
10277
|
function he(e, i, n, a, s, l, _, d, c, f) {
|
|
10278
10278
|
n = !!n;
|
|
10279
|
-
var $ = ie(e, !1, n, a, s, l, _, d, c, !!f), g =
|
|
10279
|
+
var $ = ie(e, !1, n, a, s, l, _, d, c, !!f), g = le(n, $);
|
|
10280
10280
|
e[i] = g;
|
|
10281
10281
|
}
|
|
10282
10282
|
function Te(e) {
|
|
@@ -10312,7 +10312,7 @@ var qe = {};
|
|
|
10312
10312
|
return ye(_, d, n, a, s, [c], f, l);
|
|
10313
10313
|
};
|
|
10314
10314
|
};
|
|
10315
|
-
return { inherit: G, inheritMany: z, mixin: ne, mixinHard:
|
|
10315
|
+
return { inherit: G, inheritMany: z, mixin: ne, mixinHard: oe, installStaticTearOff: ye, installInstanceTearOff: he, _instance_0u: e(0, 0, null, ["call$0"], 0), _instance_1u: e(0, 1, null, ["call$1"], 0), _instance_2u: e(0, 2, null, ["call$2"], 0), _instance_0i: e(1, 0, null, ["call$0"], 0), _instance_1i: e(1, 1, null, ["call$1"], 0), _instance_2i: e(1, 2, null, ["call$2"], 0), _static_0: i(0, null, ["call$0"], 0), _static_1: i(1, null, ["call$1"], 0), _static_2: i(2, null, ["call$2"], 0), makeConstList: _e, lazy: se, lazyFinal: W, lazyOld: re, updateHolder: K, convertToFastObject: ue, updateTypes: ge, setOrUpdateInterceptorsByTag: Te, setOrUpdateLeafTags: $e };
|
|
10316
10316
|
}(), o = {
|
|
10317
10317
|
JS_CONST: function() {
|
|
10318
10318
|
},
|
|
@@ -17920,8 +17920,8 @@ Arguments: [` + c + "]";
|
|
|
17920
17920
|
return a.message;
|
|
17921
17921
|
}
|
|
17922
17922
|
}())), 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(p.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 ? p.C_Endian0 : p.C_Endian), i(T, "_clockKey", "$get$_clockKey", () => new o.Object()), i(T, "en_USSymbols", "$get$en_USSymbols", () => new o.DateSymbols("en_US", p.List_BC_AD, p.List_6xs, p.List_qpm, p.List_qpm, p.List_cIc, p.List_cIc, p.List_h8w, p.List_h8w, p.List_wMy, p.List_wMy, p.List_gc6, p.List_gc6, p.List_3US, p.List_Q1_Q2_Q3_Q4, p.List_bJM, p.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>)", p.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", () => {
|
|
17923
|
-
var a, s, l = o.EnLocale$(p.StartOfWeek_1), _ = o.EnLocale$(p.StartOfWeek_1), d = o.EnLocale$(p.StartOfWeek_1), c = o.EnLocale$(p.StartOfWeek_1), f = o.EnLocale$(p.StartOfWeek_1), $ = o.EnLocale$(p.StartOfWeek_2), g = o.EnLocale$(p.StartOfWeek_2), m = o.EnLocale$(p.StartOfWeek_1), h = o.EnLocale$(p.StartOfWeek_1), A = o.EsLocale$(p.StartOfWeek_2), E = o.EsLocale$(p.StartOfWeek_2), M = o.EsLocale$(p.StartOfWeek_1), b = o.FrLocale$(p.StartOfWeek_2), R = o.FrLocale$(p.StartOfWeek_2), C = o.FrLocale$(p.StartOfWeek_1), O = o.ZhCnLocale$(p.StartOfWeek_1), D = o.ZhCnLocale$(p.StartOfWeek_1), L = o.ZhLocale$(p.StartOfWeek_1), v = o.ZhLocale$(p.StartOfWeek_1), x = o.DeLocale$(p.StartOfWeek_2), q = o.DeLocale$(p.StartOfWeek_2), pe = o.DeLocale$(p.StartOfWeek_2), Ce = o.DeLocale$(p.StartOfWeek_2), be = o.ItLocale$(p.StartOfWeek_2), Re = o.ItLocale$(p.StartOfWeek_2), Fe = o.ArLyLocale$(!0, p.StartOfWeek_0), Oe = o.ArLyLocale$(!1, p.StartOfWeek_0), Le = o.ArSaMaDzKwTnLocale$(!1, p.StartOfWeek_1), we = o.ArSaMaDzKwTnLocale$(!1, p.StartOfWeek_1), ve = o.ArSaMaDzKwTnLocale$(!0, p.StartOfWeek_1), De = o.ArSaMaDzKwTnLocale$(!1, p.StartOfWeek_0),
|
|
17924
|
-
return o.createSentinel(), o.createSentinel(), o.createSentinel(), o.createSentinel(), o.createSentinel(), o.createSentinel(), o.createSentinel(), a = o.PtLocale$(p.StartOfWeek_2), s = o.PtLocale$(p.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", f, "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", D, "zh_hk", L, "zh_tw", v, "de", x, "de_de", q, "de_at", pe, "de_ch", Ce, "it", be, "it_ch", Re, "ar", Fe, "ar_ly", Oe, "ar_dz", Le, "ar_kw", we, "ar_sa", ve, "ar_ma", De, "ar_tn",
|
|
17923
|
+
var a, s, l = o.EnLocale$(p.StartOfWeek_1), _ = o.EnLocale$(p.StartOfWeek_1), d = o.EnLocale$(p.StartOfWeek_1), c = o.EnLocale$(p.StartOfWeek_1), f = o.EnLocale$(p.StartOfWeek_1), $ = o.EnLocale$(p.StartOfWeek_2), g = o.EnLocale$(p.StartOfWeek_2), m = o.EnLocale$(p.StartOfWeek_1), h = o.EnLocale$(p.StartOfWeek_1), A = o.EsLocale$(p.StartOfWeek_2), E = o.EsLocale$(p.StartOfWeek_2), M = o.EsLocale$(p.StartOfWeek_1), b = o.FrLocale$(p.StartOfWeek_2), R = o.FrLocale$(p.StartOfWeek_2), C = o.FrLocale$(p.StartOfWeek_1), O = o.ZhCnLocale$(p.StartOfWeek_1), D = o.ZhCnLocale$(p.StartOfWeek_1), L = o.ZhLocale$(p.StartOfWeek_1), v = o.ZhLocale$(p.StartOfWeek_1), x = o.DeLocale$(p.StartOfWeek_2), q = o.DeLocale$(p.StartOfWeek_2), pe = o.DeLocale$(p.StartOfWeek_2), Ce = o.DeLocale$(p.StartOfWeek_2), be = o.ItLocale$(p.StartOfWeek_2), Re = o.ItLocale$(p.StartOfWeek_2), Fe = o.ArLyLocale$(!0, p.StartOfWeek_0), Oe = o.ArLyLocale$(!1, p.StartOfWeek_0), Le = o.ArSaMaDzKwTnLocale$(!1, p.StartOfWeek_1), we = o.ArSaMaDzKwTnLocale$(!1, p.StartOfWeek_1), ve = o.ArSaMaDzKwTnLocale$(!0, p.StartOfWeek_1), De = o.ArSaMaDzKwTnLocale$(!1, p.StartOfWeek_0), ze = o.ArSaMaDzKwTnLocale$(!1, p.StartOfWeek_0);
|
|
17924
|
+
return o.createSentinel(), o.createSentinel(), o.createSentinel(), o.createSentinel(), o.createSentinel(), o.createSentinel(), o.createSentinel(), a = o.PtLocale$(p.StartOfWeek_2), s = o.PtLocale$(p.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", f, "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", D, "zh_hk", L, "zh_tw", v, "de", x, "de_de", q, "de_at", pe, "de_ch", Ce, "it", be, "it_ch", Re, "ar", Fe, "ar_ly", Oe, "ar_dz", Le, "ar_kw", we, "ar_sa", ve, "ar_ma", De, "ar_tn", ze, "az", new o.AzLocale(p.StartOfWeek_2), "id", new o.IdLocale(p.StartOfWeek_1), "ja", new o.JaLocale(p.StartOfWeek_1), "ko", new o.KoLocale(p.StartOfWeek_1), "ru", new o.RuLocale(p.StartOfWeek_2), "uk", new o.UkLocale(p.StartOfWeek_2), "hi", new o.HiLocale(p.StartOfWeek_1), "pt", a, "pt_br", s, "pl", new o.PlLocale(p.StartOfWeek_2), "tr", new o.TrLocale(p.StartOfWeek_2), "sv", new o.SvLocale(p.StartOfWeek_2), "nb", new o.NbLocale(p.StartOfWeek_2), "fa", new o.FaLocale(p.StartOfWeek_0), "bn", new o.BnLocale(p.StartOfWeek_1), "nl", new o.NlLocale(p.StartOfWeek_2), "th", new o.ThLocale(p.StartOfWeek_1)], r.String, o.findType("Locale"));
|
|
17925
17925
|
});
|
|
17926
17926
|
}(), function() {
|
|
17927
17927
|
(function() {
|
|
@@ -17953,7 +17953,7 @@ Arguments: [` + c + "]";
|
|
|
17953
17953
|
return this(e, i, n, a, s, l, _, d);
|
|
17954
17954
|
}, Function.prototype.call$3 = function(e, i, n) {
|
|
17955
17955
|
return this(e, i, n);
|
|
17956
|
-
},
|
|
17956
|
+
}, de(S), function(e) {
|
|
17957
17957
|
if (typeof document > "u") {
|
|
17958
17958
|
e(null);
|
|
17959
17959
|
return;
|
|
@@ -17977,11 +17977,11 @@ Arguments: [` + c + "]";
|
|
|
17977
17977
|
});
|
|
17978
17978
|
})();
|
|
17979
17979
|
};
|
|
17980
|
-
})(
|
|
17981
|
-
const
|
|
17982
|
-
|
|
17983
|
-
var
|
|
17984
|
-
function
|
|
17980
|
+
})(Qe);
|
|
17981
|
+
const Ve = Qe;
|
|
17982
|
+
Ve.load({});
|
|
17983
|
+
var at = Ve, ot = /* @__PURE__ */ ((F) => (F.Scorecard = "SCORECARD", F.Spacer = "SPACER", F.Table = "TABLE", F.BarChart = "BARCHART", F.StackBarChart = "STACKBARCHART", F.LineChart = "LINECHART", F.StackLineChart = "STACKLINECHART", F.Circular = "CIRCULAR", F))(ot || {}), st = /* @__PURE__ */ ((F) => (F.EXCEL = "excel", F.PDF = "pdf", F.PDFFULLSIZE = "pdfFullSize", F))(st || {}), lt = /* @__PURE__ */ ((F) => (F.LANDSCAPE = "landscape", F.PORTRAIT = "portrait", F))(lt || {});
|
|
17984
|
+
function Lt(F) {
|
|
17985
17985
|
switch (F) {
|
|
17986
17986
|
case "excel":
|
|
17987
17987
|
return "Excel";
|
|
@@ -17993,7 +17993,7 @@ function Ot(F) {
|
|
|
17993
17993
|
return "Unknown";
|
|
17994
17994
|
}
|
|
17995
17995
|
}
|
|
17996
|
-
function
|
|
17996
|
+
function wt(F) {
|
|
17997
17997
|
switch (F) {
|
|
17998
17998
|
case "landscape":
|
|
17999
17999
|
return "Landscape";
|
|
@@ -18003,7 +18003,7 @@ function Lt(F) {
|
|
|
18003
18003
|
return "Unknown";
|
|
18004
18004
|
}
|
|
18005
18005
|
}
|
|
18006
|
-
const Se = "/report-settings",
|
|
18006
|
+
const Se = "/report-settings", _t = async () => {
|
|
18007
18007
|
const { businessId: F } = Y(ee());
|
|
18008
18008
|
if (F) {
|
|
18009
18009
|
const w = {
|
|
@@ -18013,34 +18013,34 @@ const Se = "/report-settings", st = async () => {
|
|
|
18013
18013
|
return j.fetch(w);
|
|
18014
18014
|
} else
|
|
18015
18015
|
return Promise.reject(new Error("Business Id is not defined"));
|
|
18016
|
-
},
|
|
18016
|
+
}, ut = (F) => {
|
|
18017
18017
|
const { businessId: w } = Y(ee()), J = {
|
|
18018
18018
|
fetchType: te.Put,
|
|
18019
18019
|
url: `${Se}/${w.value}/reports/${F.id}`,
|
|
18020
18020
|
data: F
|
|
18021
18021
|
};
|
|
18022
18022
|
return j.fetch(J);
|
|
18023
|
-
},
|
|
18023
|
+
}, dt = (F) => {
|
|
18024
18024
|
const { businessId: w } = Y(ee()), J = {
|
|
18025
18025
|
fetchType: te.Post,
|
|
18026
18026
|
url: `${Se}/${w.value}/reports`,
|
|
18027
18027
|
data: F
|
|
18028
18028
|
};
|
|
18029
18029
|
return j.fetch(J);
|
|
18030
|
-
},
|
|
18030
|
+
}, ct = (F) => {
|
|
18031
18031
|
const { businessId: w } = Y(ee()), J = {
|
|
18032
18032
|
fetchType: te.Delete,
|
|
18033
18033
|
url: `${Se}/${w.value}/reports/${F.id}`
|
|
18034
18034
|
};
|
|
18035
18035
|
return j.fetch(J);
|
|
18036
|
-
},
|
|
18036
|
+
}, pt = (F) => {
|
|
18037
18037
|
const { businessId: w } = Y(ee()), J = {
|
|
18038
18038
|
fetchType: te.Put,
|
|
18039
18039
|
url: `${Se}/${w.value}/reports/default`,
|
|
18040
18040
|
data: { defaultReport: F }
|
|
18041
18041
|
};
|
|
18042
18042
|
return j.fetch(J);
|
|
18043
|
-
},
|
|
18043
|
+
}, ft = async () => {
|
|
18044
18044
|
const { businessId: F } = Y(ee());
|
|
18045
18045
|
if (F) {
|
|
18046
18046
|
const w = {
|
|
@@ -18050,7 +18050,7 @@ const Se = "/report-settings", st = async () => {
|
|
|
18050
18050
|
return j.fetch(w);
|
|
18051
18051
|
} else
|
|
18052
18052
|
return Promise.reject(new Error("Business Id is not defined"));
|
|
18053
|
-
},
|
|
18053
|
+
}, yt = async () => {
|
|
18054
18054
|
const { businessId: F } = Y(ee());
|
|
18055
18055
|
if (F) {
|
|
18056
18056
|
const w = {
|
|
@@ -18060,17 +18060,17 @@ const Se = "/report-settings", st = async () => {
|
|
|
18060
18060
|
return j.fetch(w);
|
|
18061
18061
|
} else
|
|
18062
18062
|
return Promise.reject(new Error("Business Id is not defined"));
|
|
18063
|
-
},
|
|
18063
|
+
}, $t = "/report-settings", gt = async () => {
|
|
18064
18064
|
const { businessId: F } = Y(ee());
|
|
18065
18065
|
if (F) {
|
|
18066
18066
|
const w = {
|
|
18067
18067
|
fetchType: te.Get,
|
|
18068
|
-
url: `${
|
|
18068
|
+
url: `${$t}/${F.value}/categories`
|
|
18069
18069
|
};
|
|
18070
18070
|
return j.fetch(w);
|
|
18071
18071
|
} else
|
|
18072
18072
|
return Promise.reject(new Error("Business Id is not defined"));
|
|
18073
|
-
},
|
|
18073
|
+
}, mt = (F) => {
|
|
18074
18074
|
const { businessId: w } = Y(ee()), J = {
|
|
18075
18075
|
fetchType: te.Post,
|
|
18076
18076
|
url: `/report-settings/${w.value}/date-settings`,
|
|
@@ -18098,20 +18098,20 @@ const me = {
|
|
|
18098
18098
|
setJson: (F, w) => {
|
|
18099
18099
|
localStorage.setItem(F, JSON.stringify(w));
|
|
18100
18100
|
}
|
|
18101
|
-
},
|
|
18102
|
-
const { business: F } = Y(Ie()), { flags: w } = Y(
|
|
18101
|
+
}, St = "mf-reportreport-store", Pe = qe(St, () => {
|
|
18102
|
+
const { business: F } = Y(Ie()), { flags: w } = Y(Ue()), J = Z([]), H = Z([]), N = Z(0), Q = rt(), k = Ae(() => J.value.filter((p) => p.editable)), P = Ae(() => J.value.filter((p) => !p.editable)), B = Z(!1), U = Z(""), V = Z(), G = Z(), z = Ae(() => {
|
|
18103
18103
|
const p = w.value.find(
|
|
18104
|
-
(S) => S.key ===
|
|
18104
|
+
(S) => S.key === Ke.report_portal_integration_custom_report
|
|
18105
18105
|
);
|
|
18106
18106
|
return typeof (p == null ? void 0 : p.value) == "number" ? p.value : null;
|
|
18107
18107
|
}), ne = Ae(() => z.value === null ? !0 : z.value - k.value.length > 0);
|
|
18108
|
-
async function
|
|
18109
|
-
return G.value = await
|
|
18108
|
+
async function oe() {
|
|
18109
|
+
return G.value = await ft(), G.value;
|
|
18110
18110
|
}
|
|
18111
18111
|
async function re() {
|
|
18112
18112
|
var p;
|
|
18113
18113
|
try {
|
|
18114
|
-
J.value = await
|
|
18114
|
+
J.value = await _t(), H.value = await gt(), J.value.find((T) => T.id === U.value) || (U.value = ((p = J.value.find((T) => T.isDefault)) == null ? void 0 : p.id) || J.value[0].id);
|
|
18115
18115
|
} catch (S) {
|
|
18116
18116
|
console.log(S), Q.open({
|
|
18117
18117
|
title: "Report Fetch Error",
|
|
@@ -18120,27 +18120,27 @@ const me = {
|
|
|
18120
18120
|
});
|
|
18121
18121
|
}
|
|
18122
18122
|
}
|
|
18123
|
-
const
|
|
18123
|
+
const se = Ae(
|
|
18124
18124
|
() => J.value.find((p) => p.id === U.value)
|
|
18125
|
-
), W = Z(), _e = Z(0),
|
|
18126
|
-
async function
|
|
18125
|
+
), W = Z(), _e = Z(0), ue = Z(), de = Z(!1), le = Z(!1), ce = Z(!1);
|
|
18126
|
+
async function ae(p) {
|
|
18127
18127
|
if (k.value.findIndex((T) => T.id === p.id) >= 0) {
|
|
18128
|
-
const T = await
|
|
18128
|
+
const T = await ut(p);
|
|
18129
18129
|
U.value = T.id;
|
|
18130
18130
|
} else {
|
|
18131
|
-
const T = await
|
|
18131
|
+
const T = await dt(p);
|
|
18132
18132
|
U.value = T.id;
|
|
18133
18133
|
}
|
|
18134
18134
|
await re();
|
|
18135
18135
|
}
|
|
18136
18136
|
async function ie(p) {
|
|
18137
|
-
return await
|
|
18137
|
+
return await mt(p);
|
|
18138
18138
|
}
|
|
18139
18139
|
async function ye(p) {
|
|
18140
|
-
await
|
|
18140
|
+
await ct(p), await re();
|
|
18141
18141
|
}
|
|
18142
18142
|
async function he(p) {
|
|
18143
|
-
await
|
|
18143
|
+
await pt(p), await re();
|
|
18144
18144
|
}
|
|
18145
18145
|
function Te(p) {
|
|
18146
18146
|
J.value.findIndex((T) => T.id === p) !== -1 && (U.value = p);
|
|
@@ -18182,25 +18182,25 @@ const me = {
|
|
|
18182
18182
|
};
|
|
18183
18183
|
else {
|
|
18184
18184
|
const S = fe(p[F.value._id].date).local();
|
|
18185
|
-
Math.abs(S.diff(fe().endOf("day").local(), "d")) >= 1 && !p[F.value._id].feedback && (
|
|
18185
|
+
Math.abs(S.diff(fe().endOf("day").local(), "d")) >= 1 && !p[F.value._id].feedback && (le.value = !0);
|
|
18186
18186
|
}
|
|
18187
18187
|
me.setJson("feedback", p);
|
|
18188
18188
|
}
|
|
18189
18189
|
}
|
|
18190
18190
|
async function u() {
|
|
18191
|
-
return await
|
|
18191
|
+
return await yt();
|
|
18192
18192
|
}
|
|
18193
18193
|
return {
|
|
18194
|
-
isOpenDownloadDialog:
|
|
18195
|
-
isOpenFeedbackDialog:
|
|
18194
|
+
isOpenDownloadDialog: de,
|
|
18195
|
+
isOpenFeedbackDialog: le,
|
|
18196
18196
|
isOpenEmailDialog: ce,
|
|
18197
18197
|
currentSelectWidgetType: V,
|
|
18198
18198
|
reports: J,
|
|
18199
18199
|
categories: H,
|
|
18200
|
-
currentReport:
|
|
18200
|
+
currentReport: se,
|
|
18201
18201
|
editingReport: W,
|
|
18202
18202
|
editingIndex: _e,
|
|
18203
|
-
editingTile:
|
|
18203
|
+
editingTile: ue,
|
|
18204
18204
|
currentReportId: U,
|
|
18205
18205
|
editableReports: k,
|
|
18206
18206
|
nonEditableReports: P,
|
|
@@ -18210,21 +18210,21 @@ const me = {
|
|
|
18210
18210
|
scrollPositionY: N,
|
|
18211
18211
|
customReportQuota: z,
|
|
18212
18212
|
canCreateCustomReport: ne,
|
|
18213
|
-
createOrUpdateReport:
|
|
18213
|
+
createOrUpdateReport: ae,
|
|
18214
18214
|
removeReport: ye,
|
|
18215
18215
|
updateCurrentReportId: Te,
|
|
18216
18216
|
getReports: re,
|
|
18217
18217
|
updateDefaultReport: he,
|
|
18218
18218
|
checkFeedback: o,
|
|
18219
|
-
getOverviewReport:
|
|
18219
|
+
getOverviewReport: oe,
|
|
18220
18220
|
refreshPinReport: ge,
|
|
18221
18221
|
cachePinReport: K,
|
|
18222
18222
|
clearPinReport: t,
|
|
18223
18223
|
getReportConfig: u,
|
|
18224
18224
|
submitFeedback: ie
|
|
18225
18225
|
};
|
|
18226
|
-
}),
|
|
18227
|
-
const { disabled: F } = Y(
|
|
18226
|
+
}), ht = "mf-reportnavigation", Ge = qe(ht, () => {
|
|
18227
|
+
const { disabled: F } = Y(Xe()), { isIntegrationWhitelist: w } = Y(Ue()), J = Z("v5"), H = Ae(() => {
|
|
18228
18228
|
const P = [
|
|
18229
18229
|
{
|
|
18230
18230
|
label: "overview",
|
|
@@ -18240,7 +18240,7 @@ const me = {
|
|
|
18240
18240
|
label: "insight",
|
|
18241
18241
|
value: "insight",
|
|
18242
18242
|
route: "insights",
|
|
18243
|
-
badge: () =>
|
|
18243
|
+
badge: () => et(it.FmPill, { variant: "beta" })
|
|
18244
18244
|
},
|
|
18245
18245
|
{
|
|
18246
18246
|
label: "setting",
|
|
@@ -18253,7 +18253,7 @@ const me = {
|
|
|
18253
18253
|
value: "integration",
|
|
18254
18254
|
route: "integrations"
|
|
18255
18255
|
}), P;
|
|
18256
|
-
}), N = Z(""), { currentRoute: Q } =
|
|
18256
|
+
}), N = Z(""), { currentRoute: Q } = nt();
|
|
18257
18257
|
function k(P) {
|
|
18258
18258
|
switch (P.name) {
|
|
18259
18259
|
case "report":
|
|
@@ -18275,7 +18275,7 @@ const me = {
|
|
|
18275
18275
|
break;
|
|
18276
18276
|
}
|
|
18277
18277
|
}
|
|
18278
|
-
return
|
|
18278
|
+
return tt(
|
|
18279
18279
|
Q,
|
|
18280
18280
|
(P) => {
|
|
18281
18281
|
k(P);
|
|
@@ -18287,9 +18287,9 @@ const me = {
|
|
|
18287
18287
|
version: J
|
|
18288
18288
|
};
|
|
18289
18289
|
});
|
|
18290
|
-
var
|
|
18291
|
-
fe.extend(
|
|
18292
|
-
async function
|
|
18290
|
+
var We = /* @__PURE__ */ ((F) => (F.generating = "GENERATING", F.completed = "COMPLETED", F.failed = "FAILED", F.canceled = "CANCELLED", F))(We || {});
|
|
18291
|
+
fe.extend(Ze);
|
|
18292
|
+
async function At(F, w) {
|
|
18293
18293
|
for (let J = 0; J < F.length; J++)
|
|
18294
18294
|
try {
|
|
18295
18295
|
return await F[J]();
|
|
@@ -18299,8 +18299,8 @@ async function St(F, w) {
|
|
|
18299
18299
|
}
|
|
18300
18300
|
throw new Error("No callback");
|
|
18301
18301
|
}
|
|
18302
|
-
const
|
|
18303
|
-
var ne,
|
|
18302
|
+
const vt = async (F, w) => {
|
|
18303
|
+
var ne, oe, re, se;
|
|
18304
18304
|
const { businessId: J, country: H } = Y(ee()), {
|
|
18305
18305
|
selectedRestaurantIds: N,
|
|
18306
18306
|
selectedWarehouseIds: Q,
|
|
@@ -18311,7 +18311,7 @@ const wt = async (F, w) => {
|
|
|
18311
18311
|
} = Ie();
|
|
18312
18312
|
if (k.length === 0)
|
|
18313
18313
|
return null;
|
|
18314
|
-
const { currentReport: V } =
|
|
18314
|
+
const { currentReport: V } = Pe(), G = {
|
|
18315
18315
|
fetchType: te.Post,
|
|
18316
18316
|
url: `/${J.value}/postgres-query`,
|
|
18317
18317
|
data: Me.getQueryRequests({
|
|
@@ -18319,8 +18319,8 @@ const wt = async (F, w) => {
|
|
|
18319
18319
|
dateRange: [P.startDate, P.endDate],
|
|
18320
18320
|
compareDateRange: B.startDate && B.endDate ? [B.startDate, B.endDate] : void 0,
|
|
18321
18321
|
timeRange: [
|
|
18322
|
-
fe().set("hour", Number((ne = U.start) == null ? void 0 : ne.hour)).set("minute", Number((
|
|
18323
|
-
fe().set("hour", Number((re = U.end) == null ? void 0 : re.hour)).set("minute", Number((
|
|
18322
|
+
fe().set("hour", Number((ne = U.start) == null ? void 0 : ne.hour)).set("minute", Number((oe = U.start) == null ? void 0 : oe.minute)).toISOString(),
|
|
18323
|
+
fe().set("hour", Number((re = U.end) == null ? void 0 : re.hour)).set("minute", Number((se = U.end) == null ? void 0 : se.minute)).toISOString()
|
|
18324
18324
|
],
|
|
18325
18325
|
businessIds: J.value ? [J.value] : [],
|
|
18326
18326
|
restaurantIds: N,
|
|
@@ -18331,7 +18331,7 @@ const wt = async (F, w) => {
|
|
|
18331
18331
|
timeout: 1e3 * 60 * 5,
|
|
18332
18332
|
signal: w
|
|
18333
18333
|
}
|
|
18334
|
-
}, z = await
|
|
18334
|
+
}, z = await At(
|
|
18335
18335
|
[
|
|
18336
18336
|
() => j.fetch(G),
|
|
18337
18337
|
() => j.fetch(G),
|
|
@@ -18339,13 +18339,13 @@ const wt = async (F, w) => {
|
|
|
18339
18339
|
],
|
|
18340
18340
|
2e3
|
|
18341
18341
|
);
|
|
18342
|
-
return
|
|
18342
|
+
return at.formatChartData({
|
|
18343
18343
|
responses: z,
|
|
18344
18344
|
widget: F,
|
|
18345
18345
|
country: H.value
|
|
18346
18346
|
});
|
|
18347
18347
|
};
|
|
18348
|
-
function
|
|
18348
|
+
function Ye(F) {
|
|
18349
18349
|
const w = F.config;
|
|
18350
18350
|
return {
|
|
18351
18351
|
showTitle: w.showTitle,
|
|
@@ -18376,14 +18376,14 @@ function Ge(F) {
|
|
|
18376
18376
|
usePointStyle: w.usePointStyle
|
|
18377
18377
|
};
|
|
18378
18378
|
}
|
|
18379
|
-
function
|
|
18379
|
+
function je(F) {
|
|
18380
18380
|
const w = F.config;
|
|
18381
18381
|
return {
|
|
18382
18382
|
rowHeight: w.rowHeight,
|
|
18383
18383
|
colWidths: w.colWidths
|
|
18384
18384
|
};
|
|
18385
18385
|
}
|
|
18386
|
-
const
|
|
18386
|
+
const Dt = async ({
|
|
18387
18387
|
reportType: F,
|
|
18388
18388
|
index: w,
|
|
18389
18389
|
orientationTypes: J,
|
|
@@ -18391,37 +18391,37 @@ const vt = async ({
|
|
|
18391
18391
|
timeRange: N,
|
|
18392
18392
|
dateRange: Q
|
|
18393
18393
|
}) => {
|
|
18394
|
-
const { businessId: k } = Y(ee()), { restaurants: P, warehouses: B } = Ie(), { currentReport: U, overviewReport: V } =
|
|
18394
|
+
const { businessId: k } = Y(ee()), { restaurants: P, warehouses: B } = Ie(), { currentReport: U, overviewReport: V } = Pe(), { selectedNavigationTab: G } = Ge();
|
|
18395
18395
|
let z = U == null ? void 0 : U.id, ne = (U == null ? void 0 : U.tiles) ?? [];
|
|
18396
18396
|
G === "overview" && V && (z = V == null ? void 0 : V.id, ne = (V == null ? void 0 : V.tiles) ?? []);
|
|
18397
|
-
const
|
|
18397
|
+
const oe = ne.filter((W, _e) => typeof w == "number" ? _e === w : !0).map((W) => W.widget), re = {
|
|
18398
18398
|
fetchType: te.Post,
|
|
18399
18399
|
url: `/${k.value}/file/metadata`,
|
|
18400
18400
|
data: {
|
|
18401
18401
|
configs: [
|
|
18402
|
-
...
|
|
18403
|
-
var
|
|
18402
|
+
...oe.map((W, _e) => {
|
|
18403
|
+
var ue, de, le, ce;
|
|
18404
18404
|
return {
|
|
18405
18405
|
requests: Me.getQueryRequests({
|
|
18406
18406
|
widget: W,
|
|
18407
18407
|
dateRange: [Q.startDate, Q.endDate],
|
|
18408
18408
|
timeRange: [
|
|
18409
|
-
fe().set("hour", Number((
|
|
18410
|
-
fe().set("hour", Number((
|
|
18409
|
+
fe().set("hour", Number((ue = N.start) == null ? void 0 : ue.hour)).set("minute", Number((de = N.start) == null ? void 0 : de.minute)).toISOString(),
|
|
18410
|
+
fe().set("hour", Number((le = N.end) == null ? void 0 : le.hour)).set("minute", Number((ce = N.end) == null ? void 0 : ce.minute)).toISOString()
|
|
18411
18411
|
],
|
|
18412
18412
|
businessIds: k ? [k.value] : [],
|
|
18413
18413
|
restaurantIds: H.filter(
|
|
18414
|
-
(
|
|
18414
|
+
(ae) => P.find((ie) => ie.id === ae)
|
|
18415
18415
|
),
|
|
18416
18416
|
warehouseIds: H.filter(
|
|
18417
|
-
(
|
|
18417
|
+
(ae) => B.find((ie) => ie.id === ae)
|
|
18418
18418
|
),
|
|
18419
18419
|
timezone: Intl.DateTimeFormat().resolvedOptions().timeZone
|
|
18420
18420
|
}),
|
|
18421
18421
|
index: w || _e,
|
|
18422
18422
|
drillDimension: null,
|
|
18423
|
-
...
|
|
18424
|
-
...
|
|
18423
|
+
...Ye(W),
|
|
18424
|
+
...je(W)
|
|
18425
18425
|
};
|
|
18426
18426
|
})
|
|
18427
18427
|
],
|
|
@@ -18429,32 +18429,35 @@ const vt = async ({
|
|
|
18429
18429
|
type: F,
|
|
18430
18430
|
orientationTypes: J
|
|
18431
18431
|
}
|
|
18432
|
-
}, { data:
|
|
18433
|
-
|
|
18434
|
-
|
|
18435
|
-
|
|
18436
|
-
|
|
18437
|
-
|
|
18438
|
-
|
|
18432
|
+
}, { data: se } = await j.rawFetch(re);
|
|
18433
|
+
await xe(se);
|
|
18434
|
+
};
|
|
18435
|
+
function ke(F) {
|
|
18436
|
+
return new Promise((w) => setTimeout(w, F));
|
|
18437
|
+
}
|
|
18438
|
+
const xe = async (F) => {
|
|
18439
|
+
const { businessId: w } = Y(ee());
|
|
18440
|
+
try {
|
|
18441
|
+
const { headers: J, data: H, status: N } = await j.rawFetch({
|
|
18442
|
+
fetchType: te.Post,
|
|
18443
|
+
url: `/${w.value}/file/metadata/${F}`,
|
|
18444
|
+
requestConfig: {
|
|
18445
|
+
responseType: "arraybuffer",
|
|
18446
|
+
timeout: 36e5
|
|
18439
18447
|
}
|
|
18440
|
-
}
|
|
18441
|
-
|
|
18442
|
-
|
|
18443
|
-
|
|
18444
|
-
|
|
18445
|
-
|
|
18446
|
-
requestConfig: {
|
|
18447
|
-
responseType: "arraybuffer",
|
|
18448
|
-
timeout: 1e3 * 60 * 60
|
|
18448
|
+
});
|
|
18449
|
+
if (N === 202)
|
|
18450
|
+
return await ke(5e3), xe(F);
|
|
18451
|
+
{
|
|
18452
|
+
const Q = J["content-disposition"].split("filename=")[1].replaceAll('"', ""), k = window.URL.createObjectURL(new Blob([new Uint8Array(H).buffer])), P = document.createElement("a");
|
|
18453
|
+
P.href = k, P.setAttribute("download", decodeURIComponent(Q)), document.body.appendChild(P), P.click(), P.remove();
|
|
18449
18454
|
}
|
|
18450
|
-
})
|
|
18451
|
-
|
|
18452
|
-
|
|
18453
|
-
|
|
18454
|
-
const Q = J["content-disposition"].split("filename=")[1].replaceAll('"', ""), k = window.URL.createObjectURL(new Blob([new Uint8Array(H).buffer])), P = document.createElement("a");
|
|
18455
|
-
P.href = k, P.setAttribute("download", decodeURIComponent(Q)), document.body.appendChild(P), P.click(), P.remove();
|
|
18455
|
+
} catch (J) {
|
|
18456
|
+
if (J.status === 502)
|
|
18457
|
+
return await ke(5e3), xe(F);
|
|
18458
|
+
throw J;
|
|
18456
18459
|
}
|
|
18457
|
-
},
|
|
18460
|
+
}, Jt = async ({
|
|
18458
18461
|
emails: F,
|
|
18459
18462
|
types: w,
|
|
18460
18463
|
dateRange: J,
|
|
@@ -18462,16 +18465,16 @@ const vt = async ({
|
|
|
18462
18465
|
locationIds: N,
|
|
18463
18466
|
orientationTypes: Q
|
|
18464
18467
|
}) => {
|
|
18465
|
-
const { businessId: k } = Y(ee()), { currentReport: P, overviewReport: B } =
|
|
18468
|
+
const { businessId: k } = Y(ee()), { currentReport: P, overviewReport: B } = Pe(), { selectedNavigationTab: U } = Ge(), { restaurants: V, warehouses: G } = Ie();
|
|
18466
18469
|
if (F.length === 0) {
|
|
18467
18470
|
console.error("No email addresses provided.");
|
|
18468
18471
|
return;
|
|
18469
18472
|
}
|
|
18470
|
-
let z = (P == null ? void 0 : P.id) || "", ne = (P == null ? void 0 : P.name) || "",
|
|
18471
|
-
U === "overview" && B && (z = B == null ? void 0 : B.id, ne = B.name,
|
|
18472
|
-
const re =
|
|
18473
|
+
let z = (P == null ? void 0 : P.id) || "", ne = (P == null ? void 0 : P.name) || "", oe = (P == null ? void 0 : P.tiles) ?? [];
|
|
18474
|
+
U === "overview" && B && (z = B == null ? void 0 : B.id, ne = B.name, oe = (B == null ? void 0 : B.tiles) ?? []);
|
|
18475
|
+
const re = oe.map((W) => W.widget), se = {
|
|
18473
18476
|
businessId: k.value,
|
|
18474
|
-
status:
|
|
18477
|
+
status: We.generating,
|
|
18475
18478
|
dateRange: {
|
|
18476
18479
|
start: J.startDate,
|
|
18477
18480
|
end: J.endDate
|
|
@@ -18479,28 +18482,28 @@ const vt = async ({
|
|
|
18479
18482
|
reportName: ne,
|
|
18480
18483
|
emails: F,
|
|
18481
18484
|
configs: re.map((W, _e) => {
|
|
18482
|
-
var
|
|
18485
|
+
var ue, de, le, ce;
|
|
18483
18486
|
return {
|
|
18484
18487
|
requests: Me.getQueryRequests({
|
|
18485
18488
|
widget: W,
|
|
18486
18489
|
dateRange: [J.startDate, J.endDate],
|
|
18487
18490
|
timeRange: [
|
|
18488
|
-
fe().hour(Number((
|
|
18489
|
-
fe().hour(Number((
|
|
18491
|
+
fe().hour(Number((ue = H.start) == null ? void 0 : ue.hour)).minute(Number((de = H.start) == null ? void 0 : de.minute)).toISOString(),
|
|
18492
|
+
fe().hour(Number((le = H.end) == null ? void 0 : le.hour)).minute(Number((ce = H.end) == null ? void 0 : ce.minute)).toISOString()
|
|
18490
18493
|
],
|
|
18491
18494
|
businessIds: k ? [k.value] : [],
|
|
18492
18495
|
restaurantIds: N.filter(
|
|
18493
|
-
(
|
|
18496
|
+
(ae) => V.find((ie) => ie.id === ae)
|
|
18494
18497
|
),
|
|
18495
18498
|
warehouseIds: N.filter(
|
|
18496
|
-
(
|
|
18499
|
+
(ae) => G.find((ie) => ie.id === ae)
|
|
18497
18500
|
),
|
|
18498
18501
|
timezone: Intl.DateTimeFormat().resolvedOptions().timeZone
|
|
18499
18502
|
}),
|
|
18500
18503
|
index: _e,
|
|
18501
18504
|
drillDimension: null,
|
|
18502
|
-
...
|
|
18503
|
-
...
|
|
18505
|
+
...Ye(W),
|
|
18506
|
+
...je(W)
|
|
18504
18507
|
};
|
|
18505
18508
|
}),
|
|
18506
18509
|
reportId: z,
|
|
@@ -18510,10 +18513,10 @@ const vt = async ({
|
|
|
18510
18513
|
await j.fetch({
|
|
18511
18514
|
fetchType: te.Post,
|
|
18512
18515
|
url: `/${k.value}/reports/email`,
|
|
18513
|
-
data:
|
|
18516
|
+
data: se,
|
|
18514
18517
|
requestConfig: { timeout: 1e3 * 60 * 3 }
|
|
18515
18518
|
});
|
|
18516
|
-
},
|
|
18519
|
+
}, xt = async (F) => {
|
|
18517
18520
|
const { businessId: w } = Y(ee());
|
|
18518
18521
|
await j.fetch({
|
|
18519
18522
|
fetchType: te.Post,
|
|
@@ -18521,13 +18524,13 @@ const vt = async ({
|
|
|
18521
18524
|
data: { jobId: F },
|
|
18522
18525
|
requestConfig: { timeout: 1e3 * 60 * 3 }
|
|
18523
18526
|
});
|
|
18524
|
-
},
|
|
18527
|
+
}, Pt = async () => {
|
|
18525
18528
|
const { businessId: F } = Y(ee());
|
|
18526
18529
|
return await j.fetch({
|
|
18527
18530
|
fetchType: te.Get,
|
|
18528
18531
|
url: `/${F.value}/reports/email-recipients`
|
|
18529
18532
|
});
|
|
18530
|
-
},
|
|
18533
|
+
}, Nt = async (F) => {
|
|
18531
18534
|
const { businessId: w } = Y(ee());
|
|
18532
18535
|
await j.fetch({
|
|
18533
18536
|
fetchType: te.Post,
|
|
@@ -18536,48 +18539,48 @@ const vt = async ({
|
|
|
18536
18539
|
});
|
|
18537
18540
|
};
|
|
18538
18541
|
let Ee;
|
|
18539
|
-
const
|
|
18540
|
-
function
|
|
18542
|
+
const Tt = new Uint8Array(16);
|
|
18543
|
+
function Et() {
|
|
18541
18544
|
if (!Ee && (Ee = typeof crypto < "u" && crypto.getRandomValues && crypto.getRandomValues.bind(crypto), !Ee))
|
|
18542
18545
|
throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
|
|
18543
|
-
return Ee(
|
|
18546
|
+
return Ee(Tt);
|
|
18544
18547
|
}
|
|
18545
18548
|
const X = [];
|
|
18546
18549
|
for (let F = 0; F < 256; ++F)
|
|
18547
18550
|
X.push((F + 256).toString(16).slice(1));
|
|
18548
|
-
function
|
|
18551
|
+
function It(F, w = 0) {
|
|
18549
18552
|
return X[F[w + 0]] + X[F[w + 1]] + X[F[w + 2]] + X[F[w + 3]] + "-" + X[F[w + 4]] + X[F[w + 5]] + "-" + X[F[w + 6]] + X[F[w + 7]] + "-" + X[F[w + 8]] + X[F[w + 9]] + "-" + X[F[w + 10]] + X[F[w + 11]] + X[F[w + 12]] + X[F[w + 13]] + X[F[w + 14]] + X[F[w + 15]];
|
|
18550
18553
|
}
|
|
18551
|
-
const
|
|
18552
|
-
randomUUID:
|
|
18554
|
+
const Mt = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), He = {
|
|
18555
|
+
randomUUID: Mt
|
|
18553
18556
|
};
|
|
18554
|
-
function
|
|
18555
|
-
if (
|
|
18556
|
-
return
|
|
18557
|
+
function kt(F, w, J) {
|
|
18558
|
+
if (He.randomUUID && !w && !F)
|
|
18559
|
+
return He.randomUUID();
|
|
18557
18560
|
F = F || {};
|
|
18558
|
-
const H = F.random || (F.rng ||
|
|
18561
|
+
const H = F.random || (F.rng || Et)();
|
|
18559
18562
|
if (H[6] = H[6] & 15 | 64, H[8] = H[8] & 63 | 128, w) {
|
|
18560
18563
|
J = J || 0;
|
|
18561
18564
|
for (let N = 0; N < 16; ++N)
|
|
18562
18565
|
w[J + N] = H[N];
|
|
18563
18566
|
return w;
|
|
18564
18567
|
}
|
|
18565
|
-
return
|
|
18568
|
+
return It(H);
|
|
18566
18569
|
}
|
|
18567
18570
|
export {
|
|
18568
|
-
|
|
18569
|
-
|
|
18570
|
-
|
|
18571
|
-
|
|
18572
|
-
|
|
18573
|
-
|
|
18574
|
-
|
|
18575
|
-
|
|
18576
|
-
|
|
18577
|
-
|
|
18578
|
-
|
|
18579
|
-
|
|
18580
|
-
|
|
18581
|
-
|
|
18582
|
-
|
|
18571
|
+
lt as P,
|
|
18572
|
+
st as R,
|
|
18573
|
+
ot as W,
|
|
18574
|
+
Pe as a,
|
|
18575
|
+
We as b,
|
|
18576
|
+
Pt as c,
|
|
18577
|
+
Dt as d,
|
|
18578
|
+
wt as e,
|
|
18579
|
+
Nt as f,
|
|
18580
|
+
Lt as g,
|
|
18581
|
+
vt as q,
|
|
18582
|
+
xt as r,
|
|
18583
|
+
Jt as s,
|
|
18584
|
+
Ge as u,
|
|
18585
|
+
kt as v
|
|
18583
18586
|
};
|