@feedmepos/mf-report 5.5.22 → 5.6.0-beta.2
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-CcxH4El5.js → App-DQxH_gFz.js} +42 -42
- package/dist/{DateRangeSelect.vue_vue_type_script_setup_true_lang-Bi_BES93.js → DateRangeSelect.vue_vue_type_script_setup_true_lang-BD2DnN09.js} +2 -2
- package/dist/Default.vue_vue_type_script_setup_true_lang-D5g1LcIE.js +41 -0
- package/dist/DynamicWidget.vue_vue_type_script_setup_true_lang-CUdTbfoY.js +1284 -0
- package/dist/{InsightView-e1g-hx0o.js → InsightView-C0pUphgU.js} +6 -6
- package/dist/{Integration-BmVUAWAm.js → Integration-BVxULmIG.js} +10 -10
- package/dist/{Integrations-BiJVCGrp.js → Integrations-DS6q4VX4.js} +3 -3
- package/dist/{Layout-CArNGBSb.js → Layout-dF_aZ7xo.js} +1 -1
- package/dist/{MenuTab.vue_vue_type_script_setup_true_lang-C-cKu5vV.js → MenuTab.vue_vue_type_script_setup_true_lang-aMIxHe4A.js} +3 -3
- package/dist/{NavigationTab.vue_vue_type_script_setup_true_lang-H76ViFsO.js → NavigationTab.vue_vue_type_script_setup_true_lang-CiVEIY-y.js} +5 -5
- package/dist/{NoData.vue_vue_type_script_setup_true_lang-CdFXBqlX.js → NoData.vue_vue_type_script_setup_true_lang-EVDtMqna.js} +1 -1
- package/dist/{OverviewView-DnO6aeea.js → OverviewView-DrqaX9tl.js} +5 -5
- package/dist/{Report-j_2Nytel.js → Report-Y7DJRdpf.js} +4 -4
- package/dist/{ReportEditor-BHX0_U00.js → ReportEditor-2eJzr-IM.js} +192 -192
- package/dist/{ReportView-v-lmXnvH.js → ReportView-BYWN3fLP.js} +7 -7
- package/dist/{SelectComponent.vue_vue_type_script_setup_true_lang-N2Lg1Vpt.js → SelectComponent.vue_vue_type_script_setup_true_lang-Cpjinmn4.js} +1 -1
- package/dist/{Setting-FmDb8VZl.js → Setting-BrhhAVcG.js} +4 -4
- package/dist/TileEditor-CdTw5--h.js +3017 -0
- package/dist/{TransitionFade-C9NidmbR.js → TransitionFade-Beq61IIZ.js} +4 -4
- package/dist/app.js +87 -31
- package/dist/{global-loader-CbmVhJAK.js → global-loader-DqYGIXIo.js} +1 -1
- package/dist/{index-BWqDfeY6.js → index-BChph3k1.js} +1 -1
- package/dist/{report-schema-BnzKoFjx.js → report-schema-CbMyeD7Q.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/{v4-C5fRBp_c.js → v4-DVU_9OHv.js} +145 -136
- package/package.json +2 -2
- package/dist/Default.vue_vue_type_script_setup_true_lang-C25HSYeu.js +0 -41
- package/dist/DynamicWidget.vue_vue_type_script_setup_true_lang-CEyrg6sv.js +0 -1134
- package/dist/TileEditor-CxbsbV0j.js +0 -2691
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { j as xe, a as
|
|
1
|
+
import { j as xe, a as te, F as re, h as K, b as Ie, c as Ne, n as je, d as pe, e as ze, k as Ke } from "./global-loader-DqYGIXIo.js";
|
|
2
2
|
import { storeToRefs as W, defineStore as ke } from "pinia";
|
|
3
|
-
import { ref as X, computed as Ae, h as
|
|
4
|
-
import { useSnackbar as
|
|
5
|
-
import { useRouter as
|
|
3
|
+
import { ref as X, computed as Ae, h as Xe, watch as Ze } from "vue";
|
|
4
|
+
import { useSnackbar as et, components as tt } from "@feedmepos/ui-library";
|
|
5
|
+
import { useRouter as rt } from "vue-router";
|
|
6
6
|
function He(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
|
}
|
|
@@ -114,7 +114,7 @@ var Me = {};
|
|
|
114
114
|
function ne(r, e) {
|
|
115
115
|
N(e.prototype, r.prototype), r.prototype.constructor = r;
|
|
116
116
|
}
|
|
117
|
-
function
|
|
117
|
+
function se(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 ae(r, e, i, n) {
|
|
143
143
|
var a = r;
|
|
144
144
|
r[e] = a, r[i] = function() {
|
|
145
145
|
if (r[e] === a) {
|
|
@@ -155,10 +155,10 @@ var Me = {};
|
|
|
155
155
|
function fe(r) {
|
|
156
156
|
return r.immutable$list = Array, r.fixed$length = Array, r;
|
|
157
157
|
}
|
|
158
|
-
function
|
|
158
|
+
function ie(r) {
|
|
159
159
|
return r;
|
|
160
160
|
}
|
|
161
|
-
function
|
|
161
|
+
function ee(r) {
|
|
162
162
|
for (var e = 0; e < r.length; ++e)
|
|
163
163
|
r[e];
|
|
164
164
|
}
|
|
@@ -177,16 +177,16 @@ var Me = {};
|
|
|
177
177
|
};
|
|
178
178
|
}
|
|
179
179
|
var ue = 0;
|
|
180
|
-
function
|
|
180
|
+
function oe(r, e, i, n, a, s, l, _, d, c) {
|
|
181
181
|
return typeof _ == "number" && (_ += ue), { co: r, iS: e, iI: i, rC: n, dV: a, cs: s, fs: l, fT: _, aI: d || 0, nDA: c };
|
|
182
182
|
}
|
|
183
183
|
function de(r, e, i, n, a, s, l, _) {
|
|
184
|
-
var d =
|
|
184
|
+
var d = oe(r, !0, !1, i, n, a, s, l, _, !1), c = _e(d);
|
|
185
185
|
r[e] = c;
|
|
186
186
|
}
|
|
187
187
|
function ye(r, e, i, n, a, s, l, _, d, c) {
|
|
188
188
|
i = !!i;
|
|
189
|
-
var f =
|
|
189
|
+
var f = oe(r, !1, i, n, a, s, l, _, d, !!c), $ = le(i, f);
|
|
190
190
|
r[e] = $;
|
|
191
191
|
}
|
|
192
192
|
function he(r) {
|
|
@@ -222,7 +222,7 @@ var Me = {};
|
|
|
222
222
|
return de(l, _, i, n, a, [d], c, s);
|
|
223
223
|
};
|
|
224
224
|
};
|
|
225
|
-
return { inherit: V, inheritMany: G, mixin: Y, mixinHard: ne, installStaticTearOff: de, installInstanceTearOff: ye, _instance_0u: r(0, 0, null, ["call$0"], 0), _instance_1u: r(0, 1, null, ["call$1"], 0), _instance_2u: r(0, 2, null, ["call$2"], 0), _instance_0i: r(1, 0, null, ["call$0"], 0), _instance_1i: r(1, 1, null, ["call$1"], 0), _instance_2i: r(1, 2, null, ["call$2"], 0), _static_0: e(0, null, ["call$0"], 0), _static_1: e(1, null, ["call$1"], 0), _static_2: e(2, null, ["call$2"], 0), makeConstList: fe, lazy: Z, lazyFinal:
|
|
225
|
+
return { inherit: V, inheritMany: G, mixin: Y, mixinHard: ne, installStaticTearOff: de, installInstanceTearOff: ye, _instance_0u: r(0, 0, null, ["call$0"], 0), _instance_1u: r(0, 1, null, ["call$1"], 0), _instance_2u: r(0, 2, null, ["call$2"], 0), _instance_0i: r(1, 0, null, ["call$0"], 0), _instance_1i: r(1, 1, null, ["call$1"], 0), _instance_2i: r(1, 2, null, ["call$2"], 0), _static_0: e(0, null, ["call$0"], 0), _static_1: e(1, null, ["call$1"], 0), _static_2: e(2, null, ["call$2"], 0), makeConstList: fe, lazy: Z, lazyFinal: ae, lazyOld: se, updateHolder: ge, convertToFastObject: ie, 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
|
+
}, ee(p), function(r) {
|
|
10081
10081
|
if (typeof document > "u") {
|
|
10082
10082
|
r(null);
|
|
10083
10083
|
return;
|
|
@@ -10201,7 +10201,7 @@ var Ue = {};
|
|
|
10201
10201
|
function ne(e, i) {
|
|
10202
10202
|
Q(i.prototype, e.prototype), e.prototype.constructor = e;
|
|
10203
10203
|
}
|
|
10204
|
-
function
|
|
10204
|
+
function se(e, i) {
|
|
10205
10205
|
B(i.prototype, e.prototype), e.prototype.constructor = e;
|
|
10206
10206
|
}
|
|
10207
10207
|
function Z(e, i, n, a) {
|
|
@@ -10221,7 +10221,7 @@ var Ue = {};
|
|
|
10221
10221
|
return l;
|
|
10222
10222
|
};
|
|
10223
10223
|
}
|
|
10224
|
-
function
|
|
10224
|
+
function ae(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() {
|
|
@@ -10242,10 +10242,10 @@ var Ue = {};
|
|
|
10242
10242
|
}, _;
|
|
10243
10243
|
};
|
|
10244
10244
|
}
|
|
10245
|
-
function
|
|
10245
|
+
function ie(e) {
|
|
10246
10246
|
return e.immutable$list = Array, e.fixed$length = Array, e;
|
|
10247
10247
|
}
|
|
10248
|
-
function
|
|
10248
|
+
function ee(e) {
|
|
10249
10249
|
return e;
|
|
10250
10250
|
}
|
|
10251
10251
|
function le(e) {
|
|
@@ -10266,9 +10266,9 @@ var Ue = {};
|
|
|
10266
10266
|
return i === null && (i = o.closureFromTearOff(e).prototype), i;
|
|
10267
10267
|
};
|
|
10268
10268
|
}
|
|
10269
|
-
var
|
|
10269
|
+
var oe = 0;
|
|
10270
10270
|
function de(e, i, n, a, s, l, _, d, c, f) {
|
|
10271
|
-
return typeof d == "number" && (d +=
|
|
10271
|
+
return typeof d == "number" && (d += oe), { 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 = de(e, !0, !1, n, a, s, l, _, d, !1), f = ue(c);
|
|
@@ -10312,7 +10312,7 @@ var Ue = {};
|
|
|
10312
10312
|
return ye(_, d, n, a, s, [c], f, l);
|
|
10313
10313
|
};
|
|
10314
10314
|
};
|
|
10315
|
-
return { inherit: G, inheritMany: Y, mixin: ne, mixinHard:
|
|
10315
|
+
return { inherit: G, inheritMany: Y, mixin: ne, mixinHard: se, installStaticTearOff: ye, installInstanceTearOff: he, _instance_0u: e(0, 0, null, ["call$0"], 0), _instance_1u: e(0, 1, null, ["call$1"], 0), _instance_2u: e(0, 2, null, ["call$2"], 0), _instance_0i: e(1, 0, null, ["call$0"], 0), _instance_1i: e(1, 1, null, ["call$1"], 0), _instance_2i: e(1, 2, null, ["call$2"], 0), _static_0: i(0, null, ["call$0"], 0), _static_1: i(1, null, ["call$1"], 0), _static_2: i(2, null, ["call$2"], 0), makeConstList: ie, lazy: ae, lazyFinal: fe, lazyOld: Z, updateHolder: j, convertToFastObject: ee, 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), U = o.DeLocale$(p.StartOfWeek_2), ce = 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", U, "de_at", ce, "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), U = o.DeLocale$(p.StartOfWeek_2), ce = 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), Ye = 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", U, "de_at", ce, "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", Ye, "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() {
|
|
@@ -17980,8 +17980,8 @@ Arguments: [` + c + "]";
|
|
|
17980
17980
|
})(Ue);
|
|
17981
17981
|
const qe = Ue;
|
|
17982
17982
|
qe.load({});
|
|
17983
|
-
var
|
|
17984
|
-
function
|
|
17983
|
+
var it = qe, nt = /* @__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))(nt || {}), at = /* @__PURE__ */ ((F) => (F.EXCEL = "excel", F.PDF = "pdf", F.PDFFULLSIZE = "pdfFullSize", F))(at || {});
|
|
17984
|
+
function Rt(F) {
|
|
17985
17985
|
switch (F) {
|
|
17986
17986
|
case "excel":
|
|
17987
17987
|
return "Excel";
|
|
@@ -17993,76 +17993,76 @@ function bt(F) {
|
|
|
17993
17993
|
return "Unknown";
|
|
17994
17994
|
}
|
|
17995
17995
|
}
|
|
17996
|
-
const Se = "/report-settings",
|
|
17997
|
-
const { businessId: F } = W(
|
|
17996
|
+
const Se = "/report-settings", ot = async () => {
|
|
17997
|
+
const { businessId: F } = W(te());
|
|
17998
17998
|
if (F) {
|
|
17999
17999
|
const w = {
|
|
18000
|
-
fetchType:
|
|
18000
|
+
fetchType: re.Get,
|
|
18001
18001
|
url: `${Se}/${F.value}/reports`
|
|
18002
18002
|
};
|
|
18003
18003
|
return K.fetch(w);
|
|
18004
18004
|
} else
|
|
18005
18005
|
return Promise.reject(new Error("Business Id is not defined"));
|
|
18006
|
-
},
|
|
18007
|
-
const { businessId: w } = W(
|
|
18008
|
-
fetchType:
|
|
18006
|
+
}, st = (F) => {
|
|
18007
|
+
const { businessId: w } = W(te()), J = {
|
|
18008
|
+
fetchType: re.Put,
|
|
18009
18009
|
url: `${Se}/${w.value}/reports/${F.id}`,
|
|
18010
18010
|
data: F
|
|
18011
18011
|
};
|
|
18012
18012
|
return K.fetch(J);
|
|
18013
|
-
},
|
|
18014
|
-
const { businessId: w } = W(
|
|
18015
|
-
fetchType:
|
|
18013
|
+
}, lt = (F) => {
|
|
18014
|
+
const { businessId: w } = W(te()), J = {
|
|
18015
|
+
fetchType: re.Post,
|
|
18016
18016
|
url: `${Se}/${w.value}/reports`,
|
|
18017
18017
|
data: F
|
|
18018
18018
|
};
|
|
18019
18019
|
return K.fetch(J);
|
|
18020
|
-
},
|
|
18021
|
-
const { businessId: w } = W(
|
|
18022
|
-
fetchType:
|
|
18020
|
+
}, _t = (F) => {
|
|
18021
|
+
const { businessId: w } = W(te()), J = {
|
|
18022
|
+
fetchType: re.Delete,
|
|
18023
18023
|
url: `${Se}/${w.value}/reports/${F.id}`
|
|
18024
18024
|
};
|
|
18025
18025
|
return K.fetch(J);
|
|
18026
|
-
},
|
|
18027
|
-
const { businessId: w } = W(
|
|
18028
|
-
fetchType:
|
|
18026
|
+
}, ut = (F) => {
|
|
18027
|
+
const { businessId: w } = W(te()), J = {
|
|
18028
|
+
fetchType: re.Put,
|
|
18029
18029
|
url: `${Se}/${w.value}/reports/default`,
|
|
18030
18030
|
data: { defaultReport: F }
|
|
18031
18031
|
};
|
|
18032
18032
|
return K.fetch(J);
|
|
18033
|
-
},
|
|
18034
|
-
const { businessId: F } = W(
|
|
18033
|
+
}, dt = async () => {
|
|
18034
|
+
const { businessId: F } = W(te());
|
|
18035
18035
|
if (F) {
|
|
18036
18036
|
const w = {
|
|
18037
|
-
fetchType:
|
|
18037
|
+
fetchType: re.Get,
|
|
18038
18038
|
url: `${Se}/${F.value}/overview-report`
|
|
18039
18039
|
};
|
|
18040
18040
|
return K.fetch(w);
|
|
18041
18041
|
} else
|
|
18042
18042
|
return Promise.reject(new Error("Business Id is not defined"));
|
|
18043
|
-
},
|
|
18044
|
-
const { businessId: F } = W(
|
|
18043
|
+
}, ct = async () => {
|
|
18044
|
+
const { businessId: F } = W(te());
|
|
18045
18045
|
if (F) {
|
|
18046
18046
|
const w = {
|
|
18047
|
-
fetchType:
|
|
18047
|
+
fetchType: re.Get,
|
|
18048
18048
|
url: `${Se}/${F.value}/config`
|
|
18049
18049
|
};
|
|
18050
18050
|
return K.fetch(w);
|
|
18051
18051
|
} else
|
|
18052
18052
|
return Promise.reject(new Error("Business Id is not defined"));
|
|
18053
|
-
},
|
|
18054
|
-
const { businessId: F } = W(
|
|
18053
|
+
}, pt = "/report-settings", ft = async () => {
|
|
18054
|
+
const { businessId: F } = W(te());
|
|
18055
18055
|
if (F) {
|
|
18056
18056
|
const w = {
|
|
18057
|
-
fetchType:
|
|
18058
|
-
url: `${
|
|
18057
|
+
fetchType: re.Get,
|
|
18058
|
+
url: `${pt}/${F.value}/categories`
|
|
18059
18059
|
};
|
|
18060
18060
|
return K.fetch(w);
|
|
18061
18061
|
} else
|
|
18062
18062
|
return Promise.reject(new Error("Business Id is not defined"));
|
|
18063
|
-
},
|
|
18064
|
-
const { businessId: w } = W(
|
|
18065
|
-
fetchType:
|
|
18063
|
+
}, yt = (F) => {
|
|
18064
|
+
const { businessId: w } = W(te()), J = {
|
|
18065
|
+
fetchType: re.Post,
|
|
18066
18066
|
url: `/report-settings/${w.value}/date-settings`,
|
|
18067
18067
|
data: {
|
|
18068
18068
|
...F
|
|
@@ -18088,20 +18088,20 @@ const me = {
|
|
|
18088
18088
|
setJson: (F, w) => {
|
|
18089
18089
|
localStorage.setItem(F, JSON.stringify(w));
|
|
18090
18090
|
}
|
|
18091
|
-
},
|
|
18092
|
-
const { business: F } = W(Ie()), { flags: w } = W(Ne()), J = X([]), H = X([]), k = X(0), q =
|
|
18091
|
+
}, $t = "mf-reportreport-store", Be = ke($t, () => {
|
|
18092
|
+
const { business: F } = W(Ie()), { flags: w } = W(Ne()), J = X([]), H = X([]), k = X(0), q = et(), P = Ae(() => J.value.filter((p) => p.editable)), N = Ae(() => J.value.filter((p) => !p.editable)), B = X(!1), Q = X(""), V = X(), G = X(), Y = Ae(() => {
|
|
18093
18093
|
const p = w.value.find(
|
|
18094
|
-
(S) => S.key ===
|
|
18094
|
+
(S) => S.key === je.report_portal_integration_custom_report
|
|
18095
18095
|
);
|
|
18096
18096
|
return typeof (p == null ? void 0 : p.value) == "number" ? p.value : null;
|
|
18097
18097
|
}), ne = Ae(() => Y.value === null ? !0 : Y.value - P.value.length > 0);
|
|
18098
|
-
async function
|
|
18099
|
-
return G.value = await
|
|
18098
|
+
async function se() {
|
|
18099
|
+
return G.value = await dt(), G.value;
|
|
18100
18100
|
}
|
|
18101
18101
|
async function Z() {
|
|
18102
18102
|
var p;
|
|
18103
18103
|
try {
|
|
18104
|
-
J.value = await
|
|
18104
|
+
J.value = await ot(), H.value = await ft(), J.value.find((T) => T.id === Q.value) || (Q.value = ((p = J.value.find((T) => T.isDefault)) == null ? void 0 : p.id) || J.value[0].id);
|
|
18105
18105
|
} catch (S) {
|
|
18106
18106
|
console.log(S), q.open({
|
|
18107
18107
|
title: "Report Fetch Error",
|
|
@@ -18110,27 +18110,27 @@ const me = {
|
|
|
18110
18110
|
});
|
|
18111
18111
|
}
|
|
18112
18112
|
}
|
|
18113
|
-
const
|
|
18113
|
+
const ae = Ae(
|
|
18114
18114
|
() => J.value.find((p) => p.id === Q.value)
|
|
18115
|
-
), fe = X(),
|
|
18116
|
-
async function
|
|
18115
|
+
), fe = X(), ie = X(0), ee = X(), le = X(!1), _e = X(!1), ue = X(!1);
|
|
18116
|
+
async function oe(p) {
|
|
18117
18117
|
if (P.value.findIndex((T) => T.id === p.id) >= 0) {
|
|
18118
|
-
const T = await
|
|
18118
|
+
const T = await st(p);
|
|
18119
18119
|
Q.value = T.id;
|
|
18120
18120
|
} else {
|
|
18121
|
-
const T = await
|
|
18121
|
+
const T = await lt(p);
|
|
18122
18122
|
Q.value = T.id;
|
|
18123
18123
|
}
|
|
18124
18124
|
await Z();
|
|
18125
18125
|
}
|
|
18126
18126
|
async function de(p) {
|
|
18127
|
-
return await
|
|
18127
|
+
return await yt(p);
|
|
18128
18128
|
}
|
|
18129
18129
|
async function ye(p) {
|
|
18130
|
-
await
|
|
18130
|
+
await _t(p), await Z();
|
|
18131
18131
|
}
|
|
18132
18132
|
async function he(p) {
|
|
18133
|
-
await
|
|
18133
|
+
await ut(p), await Z();
|
|
18134
18134
|
}
|
|
18135
18135
|
function Te(p) {
|
|
18136
18136
|
J.value.findIndex((T) => T.id === p) !== -1 && (Q.value = p);
|
|
@@ -18178,7 +18178,7 @@ const me = {
|
|
|
18178
18178
|
}
|
|
18179
18179
|
}
|
|
18180
18180
|
async function u() {
|
|
18181
|
-
return await
|
|
18181
|
+
return await ct();
|
|
18182
18182
|
}
|
|
18183
18183
|
return {
|
|
18184
18184
|
isOpenDownloadDialog: le,
|
|
@@ -18187,10 +18187,10 @@ const me = {
|
|
|
18187
18187
|
currentSelectWidgetType: V,
|
|
18188
18188
|
reports: J,
|
|
18189
18189
|
categories: H,
|
|
18190
|
-
currentReport:
|
|
18190
|
+
currentReport: ae,
|
|
18191
18191
|
editingReport: fe,
|
|
18192
|
-
editingIndex:
|
|
18193
|
-
editingTile:
|
|
18192
|
+
editingIndex: ie,
|
|
18193
|
+
editingTile: ee,
|
|
18194
18194
|
currentReportId: Q,
|
|
18195
18195
|
editableReports: P,
|
|
18196
18196
|
nonEditableReports: N,
|
|
@@ -18200,21 +18200,21 @@ const me = {
|
|
|
18200
18200
|
scrollPositionY: k,
|
|
18201
18201
|
customReportQuota: Y,
|
|
18202
18202
|
canCreateCustomReport: ne,
|
|
18203
|
-
createOrUpdateReport:
|
|
18203
|
+
createOrUpdateReport: oe,
|
|
18204
18204
|
removeReport: ye,
|
|
18205
18205
|
updateCurrentReportId: Te,
|
|
18206
18206
|
getReports: Z,
|
|
18207
18207
|
updateDefaultReport: he,
|
|
18208
18208
|
checkFeedback: o,
|
|
18209
|
-
getOverviewReport:
|
|
18209
|
+
getOverviewReport: se,
|
|
18210
18210
|
refreshPinReport: ge,
|
|
18211
18211
|
cachePinReport: j,
|
|
18212
18212
|
clearPinReport: t,
|
|
18213
18213
|
getReportConfig: u,
|
|
18214
18214
|
submitFeedback: de
|
|
18215
18215
|
};
|
|
18216
|
-
}),
|
|
18217
|
-
const { disabled: F } = W(
|
|
18216
|
+
}), gt = "mf-reportnavigation", Qe = ke(gt, () => {
|
|
18217
|
+
const { disabled: F } = W(ze()), { isIntegrationWhitelist: w } = W(Ne()), J = X("v5"), H = Ae(() => {
|
|
18218
18218
|
const N = [
|
|
18219
18219
|
{
|
|
18220
18220
|
label: "overview",
|
|
@@ -18230,7 +18230,7 @@ const me = {
|
|
|
18230
18230
|
label: "insight",
|
|
18231
18231
|
value: "insight",
|
|
18232
18232
|
route: "insights",
|
|
18233
|
-
badge: () =>
|
|
18233
|
+
badge: () => Xe(tt.FmPill, { variant: "beta" })
|
|
18234
18234
|
},
|
|
18235
18235
|
{
|
|
18236
18236
|
label: "setting",
|
|
@@ -18243,7 +18243,7 @@ const me = {
|
|
|
18243
18243
|
value: "integration",
|
|
18244
18244
|
route: "integrations"
|
|
18245
18245
|
}), N;
|
|
18246
|
-
}), k = X(""), { currentRoute: q } =
|
|
18246
|
+
}), k = X(""), { currentRoute: q } = rt();
|
|
18247
18247
|
function P(N) {
|
|
18248
18248
|
switch (N.name) {
|
|
18249
18249
|
case "report":
|
|
@@ -18265,7 +18265,7 @@ const me = {
|
|
|
18265
18265
|
break;
|
|
18266
18266
|
}
|
|
18267
18267
|
}
|
|
18268
|
-
return
|
|
18268
|
+
return Ze(
|
|
18269
18269
|
q,
|
|
18270
18270
|
(N) => {
|
|
18271
18271
|
P(N);
|
|
@@ -18278,8 +18278,8 @@ const me = {
|
|
|
18278
18278
|
};
|
|
18279
18279
|
});
|
|
18280
18280
|
var Ve = /* @__PURE__ */ ((F) => (F.generating = "GENERATING", F.completed = "COMPLETED", F.failed = "FAILED", F.canceled = "CANCELLED", F))(Ve || {});
|
|
18281
|
-
pe.extend(
|
|
18282
|
-
async function
|
|
18281
|
+
pe.extend(Ke);
|
|
18282
|
+
async function mt(F, w) {
|
|
18283
18283
|
for (let J = 0; J < F.length; J++)
|
|
18284
18284
|
try {
|
|
18285
18285
|
return await F[J]();
|
|
@@ -18289,9 +18289,9 @@ async function gt(F, w) {
|
|
|
18289
18289
|
}
|
|
18290
18290
|
throw new Error("No callback");
|
|
18291
18291
|
}
|
|
18292
|
-
const
|
|
18293
|
-
var Y, ne,
|
|
18294
|
-
const { businessId: J, country: H } = W(
|
|
18292
|
+
const Ft = async (F, w) => {
|
|
18293
|
+
var Y, ne, se, Z;
|
|
18294
|
+
const { businessId: J, country: H } = W(te()), {
|
|
18295
18295
|
selectedRestaurantIds: k,
|
|
18296
18296
|
selectedWarehouseIds: q,
|
|
18297
18297
|
selectedLocationIds: P,
|
|
@@ -18302,7 +18302,7 @@ const Rt = async (F, w) => {
|
|
|
18302
18302
|
if (P.length === 0)
|
|
18303
18303
|
return null;
|
|
18304
18304
|
const V = {
|
|
18305
|
-
fetchType:
|
|
18305
|
+
fetchType: re.Post,
|
|
18306
18306
|
url: `/${J.value}/postgres-query`,
|
|
18307
18307
|
data: Me.getQueryRequests({
|
|
18308
18308
|
widget: F,
|
|
@@ -18310,7 +18310,7 @@ const Rt = async (F, w) => {
|
|
|
18310
18310
|
compareDateRange: B.startDate && B.endDate ? [B.startDate, B.endDate] : void 0,
|
|
18311
18311
|
timeRange: [
|
|
18312
18312
|
pe().set("hour", Number((Y = Q.start) == null ? void 0 : Y.hour)).set("minute", Number((ne = Q.start) == null ? void 0 : ne.minute)).toISOString(),
|
|
18313
|
-
pe().set("hour", Number((
|
|
18313
|
+
pe().set("hour", Number((se = Q.end) == null ? void 0 : se.hour)).set("minute", Number((Z = Q.end) == null ? void 0 : Z.minute)).toISOString()
|
|
18314
18314
|
],
|
|
18315
18315
|
businessIds: J.value ? [J.value] : [],
|
|
18316
18316
|
restaurantIds: k,
|
|
@@ -18321,7 +18321,7 @@ const Rt = async (F, w) => {
|
|
|
18321
18321
|
timeout: 1e3 * 60 * 5,
|
|
18322
18322
|
signal: w
|
|
18323
18323
|
}
|
|
18324
|
-
}, G = await
|
|
18324
|
+
}, G = await mt(
|
|
18325
18325
|
[
|
|
18326
18326
|
() => K.fetch(V),
|
|
18327
18327
|
() => K.fetch(V),
|
|
@@ -18329,7 +18329,7 @@ const Rt = async (F, w) => {
|
|
|
18329
18329
|
],
|
|
18330
18330
|
2e3
|
|
18331
18331
|
);
|
|
18332
|
-
return
|
|
18332
|
+
return it.formatChartData({
|
|
18333
18333
|
responses: G,
|
|
18334
18334
|
widget: F,
|
|
18335
18335
|
country: H.value
|
|
@@ -18366,20 +18366,27 @@ function Ge(F) {
|
|
|
18366
18366
|
usePointStyle: w.usePointStyle
|
|
18367
18367
|
};
|
|
18368
18368
|
}
|
|
18369
|
-
|
|
18370
|
-
const
|
|
18369
|
+
function We(F) {
|
|
18370
|
+
const w = F.config;
|
|
18371
|
+
return {
|
|
18372
|
+
rowHeight: w.rowHeight,
|
|
18373
|
+
colWidths: w.colWidths
|
|
18374
|
+
};
|
|
18375
|
+
}
|
|
18376
|
+
const Ot = async (F, w) => {
|
|
18377
|
+
const { businessId: J } = W(te()), { selectedRestaurantIds: H, selectedWarehouseIds: k, dateRange: q, timeRange: P } = Ie(), { currentReport: N, overviewReport: B } = Be(), { selectedNavigationTab: Q } = Qe();
|
|
18371
18378
|
let V = N == null ? void 0 : N.id, G = (N == null ? void 0 : N.tiles) ?? [];
|
|
18372
18379
|
Q === "overview" && B && (V = B == null ? void 0 : B.id, G = (B == null ? void 0 : B.tiles) ?? []);
|
|
18373
|
-
const Y = G.filter((
|
|
18374
|
-
fetchType:
|
|
18380
|
+
const Y = G.filter((ee, le) => typeof w == "number" ? le === w : !0).map((ee) => ee.widget), ne = {
|
|
18381
|
+
fetchType: re.Post,
|
|
18375
18382
|
url: `/${J.value}/file`,
|
|
18376
18383
|
data: {
|
|
18377
18384
|
configs: [
|
|
18378
|
-
...Y.map((
|
|
18379
|
-
var _e, ue,
|
|
18385
|
+
...Y.map((ee, le) => {
|
|
18386
|
+
var _e, ue, oe, de;
|
|
18380
18387
|
return {
|
|
18381
18388
|
requests: Me.getQueryRequests({
|
|
18382
|
-
widget:
|
|
18389
|
+
widget: ee,
|
|
18383
18390
|
dateRange: [q.startDate, q.endDate],
|
|
18384
18391
|
// TODO: export with comparable data?
|
|
18385
18392
|
// compareDateRange:
|
|
@@ -18388,7 +18395,7 @@ const Ft = async (F, w) => {
|
|
|
18388
18395
|
// : undefined,
|
|
18389
18396
|
timeRange: [
|
|
18390
18397
|
pe().set("hour", Number((_e = P.start) == null ? void 0 : _e.hour)).set("minute", Number((ue = P.start) == null ? void 0 : ue.minute)).toISOString(),
|
|
18391
|
-
pe().set("hour", Number((
|
|
18398
|
+
pe().set("hour", Number((oe = P.end) == null ? void 0 : oe.hour)).set("minute", Number((de = P.end) == null ? void 0 : de.minute)).toISOString()
|
|
18392
18399
|
],
|
|
18393
18400
|
businessIds: J ? [J.value] : [],
|
|
18394
18401
|
restaurantIds: H,
|
|
@@ -18397,7 +18404,8 @@ const Ft = async (F, w) => {
|
|
|
18397
18404
|
}),
|
|
18398
18405
|
index: w || le,
|
|
18399
18406
|
drillDimension: null,
|
|
18400
|
-
...Ge(
|
|
18407
|
+
...Ge(ee),
|
|
18408
|
+
...We(ee)
|
|
18401
18409
|
};
|
|
18402
18410
|
})
|
|
18403
18411
|
],
|
|
@@ -18408,23 +18416,23 @@ const Ft = async (F, w) => {
|
|
|
18408
18416
|
responseType: "arraybuffer",
|
|
18409
18417
|
timeout: 1e3 * 60 * 3
|
|
18410
18418
|
}
|
|
18411
|
-
}, { headers:
|
|
18412
|
-
|
|
18413
|
-
},
|
|
18419
|
+
}, { headers: se, data: Z } = await K.rawFetch(ne), ae = se["content-disposition"].split("filename=")[1].replaceAll('"', ""), fe = window.URL.createObjectURL(new Blob([new Uint8Array(Z).buffer])), ie = document.createElement("a");
|
|
18420
|
+
ie.href = fe, ie.setAttribute("download", decodeURIComponent(ae)), document.body.appendChild(ie), ie.click(), ie.remove();
|
|
18421
|
+
}, Lt = async ({
|
|
18414
18422
|
emails: F,
|
|
18415
18423
|
types: w,
|
|
18416
18424
|
dateRange: J,
|
|
18417
18425
|
timeRange: H,
|
|
18418
18426
|
locationIds: k
|
|
18419
18427
|
}) => {
|
|
18420
|
-
const { businessId: q } = W(
|
|
18428
|
+
const { businessId: q } = W(te()), { currentReport: P, overviewReport: N } = Be(), { selectedNavigationTab: B } = Qe(), { restaurants: Q, warehouses: V } = Ie();
|
|
18421
18429
|
if (F.length === 0) {
|
|
18422
18430
|
console.error("No email addresses provided.");
|
|
18423
18431
|
return;
|
|
18424
18432
|
}
|
|
18425
18433
|
let G = (P == null ? void 0 : P.id) || "", Y = (P == null ? void 0 : P.name) || "", ne = (P == null ? void 0 : P.tiles) ?? [];
|
|
18426
18434
|
B === "overview" && N && (G = N == null ? void 0 : N.id, Y = N.name, ne = (N == null ? void 0 : N.tiles) ?? []);
|
|
18427
|
-
const
|
|
18435
|
+
const se = ne.map((ae) => ae.widget), Z = {
|
|
18428
18436
|
businessId: q.value,
|
|
18429
18437
|
status: Ve.generating,
|
|
18430
18438
|
dateRange: {
|
|
@@ -18433,102 +18441,103 @@ const Ft = async (F, w) => {
|
|
|
18433
18441
|
},
|
|
18434
18442
|
reportName: Y,
|
|
18435
18443
|
emails: F,
|
|
18436
|
-
configs:
|
|
18437
|
-
var
|
|
18444
|
+
configs: se.map((ae, fe) => {
|
|
18445
|
+
var ie, ee, le, _e;
|
|
18438
18446
|
return {
|
|
18439
18447
|
requests: Me.getQueryRequests({
|
|
18440
|
-
widget:
|
|
18448
|
+
widget: ae,
|
|
18441
18449
|
dateRange: [J.startDate, J.endDate],
|
|
18442
18450
|
timeRange: [
|
|
18443
|
-
pe().hour(Number((
|
|
18451
|
+
pe().hour(Number((ie = H.start) == null ? void 0 : ie.hour)).minute(Number((ee = H.start) == null ? void 0 : ee.minute)).toISOString(),
|
|
18444
18452
|
pe().hour(Number((le = H.end) == null ? void 0 : le.hour)).minute(Number((_e = H.end) == null ? void 0 : _e.minute)).toISOString()
|
|
18445
18453
|
],
|
|
18446
18454
|
businessIds: q ? [q.value] : [],
|
|
18447
18455
|
restaurantIds: k.filter(
|
|
18448
|
-
(ue) => Q.find((
|
|
18456
|
+
(ue) => Q.find((oe) => oe.id === ue)
|
|
18449
18457
|
),
|
|
18450
18458
|
warehouseIds: k.filter(
|
|
18451
|
-
(ue) => V.find((
|
|
18459
|
+
(ue) => V.find((oe) => oe.id === ue)
|
|
18452
18460
|
),
|
|
18453
18461
|
timezone: Intl.DateTimeFormat().resolvedOptions().timeZone
|
|
18454
18462
|
}),
|
|
18455
18463
|
index: fe,
|
|
18456
18464
|
drillDimension: null,
|
|
18457
|
-
...Ge(
|
|
18465
|
+
...Ge(ae),
|
|
18466
|
+
...We(ae)
|
|
18458
18467
|
};
|
|
18459
18468
|
}),
|
|
18460
18469
|
reportId: G,
|
|
18461
18470
|
type: w
|
|
18462
18471
|
};
|
|
18463
18472
|
await K.fetch({
|
|
18464
|
-
fetchType:
|
|
18473
|
+
fetchType: re.Post,
|
|
18465
18474
|
url: `/${q.value}/reports/email`,
|
|
18466
18475
|
data: Z,
|
|
18467
18476
|
requestConfig: { timeout: 1e3 * 60 * 3 }
|
|
18468
18477
|
});
|
|
18469
|
-
},
|
|
18470
|
-
const { businessId: w } = W(
|
|
18478
|
+
}, wt = async (F) => {
|
|
18479
|
+
const { businessId: w } = W(te());
|
|
18471
18480
|
await K.fetch({
|
|
18472
|
-
fetchType:
|
|
18481
|
+
fetchType: re.Post,
|
|
18473
18482
|
url: `/${w.value}/reports/resend-email`,
|
|
18474
18483
|
data: { jobId: F },
|
|
18475
18484
|
requestConfig: { timeout: 1e3 * 60 * 3 }
|
|
18476
18485
|
});
|
|
18477
|
-
},
|
|
18478
|
-
const { businessId: F } = W(
|
|
18486
|
+
}, vt = async () => {
|
|
18487
|
+
const { businessId: F } = W(te());
|
|
18479
18488
|
return await K.fetch({
|
|
18480
|
-
fetchType:
|
|
18489
|
+
fetchType: re.Get,
|
|
18481
18490
|
url: `/${F.value}/reports/email-recipients`
|
|
18482
18491
|
});
|
|
18483
|
-
},
|
|
18484
|
-
const { businessId: w } = W(
|
|
18492
|
+
}, Dt = async (F) => {
|
|
18493
|
+
const { businessId: w } = W(te());
|
|
18485
18494
|
await K.fetch({
|
|
18486
|
-
fetchType:
|
|
18495
|
+
fetchType: re.Post,
|
|
18487
18496
|
url: `/${w.value}/reports/email-recipient/delete`,
|
|
18488
18497
|
data: { email: F }
|
|
18489
18498
|
});
|
|
18490
18499
|
};
|
|
18491
18500
|
let Ee;
|
|
18492
|
-
const
|
|
18493
|
-
function
|
|
18501
|
+
const St = new Uint8Array(16);
|
|
18502
|
+
function ht() {
|
|
18494
18503
|
if (!Ee && (Ee = typeof crypto < "u" && crypto.getRandomValues && crypto.getRandomValues.bind(crypto), !Ee))
|
|
18495
18504
|
throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
|
|
18496
|
-
return Ee(
|
|
18505
|
+
return Ee(St);
|
|
18497
18506
|
}
|
|
18498
18507
|
const z = [];
|
|
18499
18508
|
for (let F = 0; F < 256; ++F)
|
|
18500
18509
|
z.push((F + 256).toString(16).slice(1));
|
|
18501
|
-
function
|
|
18510
|
+
function At(F, w = 0) {
|
|
18502
18511
|
return z[F[w + 0]] + z[F[w + 1]] + z[F[w + 2]] + z[F[w + 3]] + "-" + z[F[w + 4]] + z[F[w + 5]] + "-" + z[F[w + 6]] + z[F[w + 7]] + "-" + z[F[w + 8]] + z[F[w + 9]] + "-" + z[F[w + 10]] + z[F[w + 11]] + z[F[w + 12]] + z[F[w + 13]] + z[F[w + 14]] + z[F[w + 15]];
|
|
18503
18512
|
}
|
|
18504
|
-
const
|
|
18505
|
-
randomUUID:
|
|
18513
|
+
const Tt = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), Pe = {
|
|
18514
|
+
randomUUID: Tt
|
|
18506
18515
|
};
|
|
18507
|
-
function
|
|
18516
|
+
function Jt(F, w, J) {
|
|
18508
18517
|
if (Pe.randomUUID && !w && !F)
|
|
18509
18518
|
return Pe.randomUUID();
|
|
18510
18519
|
F = F || {};
|
|
18511
|
-
const H = F.random || (F.rng ||
|
|
18520
|
+
const H = F.random || (F.rng || ht)();
|
|
18512
18521
|
if (H[6] = H[6] & 15 | 64, H[8] = H[8] & 63 | 128, w) {
|
|
18513
18522
|
J = J || 0;
|
|
18514
18523
|
for (let k = 0; k < 16; ++k)
|
|
18515
18524
|
w[J + k] = H[k];
|
|
18516
18525
|
return w;
|
|
18517
18526
|
}
|
|
18518
|
-
return
|
|
18527
|
+
return At(H);
|
|
18519
18528
|
}
|
|
18520
18529
|
export {
|
|
18521
|
-
|
|
18522
|
-
|
|
18530
|
+
at as R,
|
|
18531
|
+
nt as W,
|
|
18523
18532
|
Be as a,
|
|
18524
18533
|
Ve as b,
|
|
18525
|
-
|
|
18526
|
-
|
|
18527
|
-
|
|
18528
|
-
|
|
18529
|
-
|
|
18530
|
-
|
|
18531
|
-
|
|
18534
|
+
vt as c,
|
|
18535
|
+
Ot as d,
|
|
18536
|
+
Dt as e,
|
|
18537
|
+
Rt as g,
|
|
18538
|
+
Ft as q,
|
|
18539
|
+
wt as r,
|
|
18540
|
+
Lt as s,
|
|
18532
18541
|
Qe as u,
|
|
18533
|
-
|
|
18542
|
+
Jt as v
|
|
18534
18543
|
};
|