@sisense/sdk-ui-vue 2.1.0 → 2.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ai.cjs +17 -17
- package/dist/ai.js +381 -493
- package/dist/index.cjs +1 -1
- package/dist/index.js +182 -176
- package/dist/packages/sdk-ui-vue/src/components/dashboard/dashboard.d.ts +12 -0
- package/dist/{use-tracking-2ff0858f.js → use-tracking-95bdb64e.js} +43879 -42319
- package/dist/use-tracking-97ae7c34.cjs +1083 -0
- package/package.json +2 -2
- package/dist/use-tracking-38835e4b.cjs +0 -1079
package/dist/index.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
|
-
import { defineComponent as y, watch as M, toRefs as L, ref as B, onBeforeUnmount as
|
2
|
-
import { s as $t,
|
3
|
-
import { av as su, at as iu, au, aw as ou } from "./use-tracking-
|
1
|
+
import { defineComponent as y, watch as M, toRefs as L, ref as B, onBeforeUnmount as Tt, computed as Be, openBlock as cn, createElementBlock as fn, renderSlot as Le, createVNode as nt, unref as R, createElementVNode as dn } from "vue";
|
2
|
+
import { s as $t, S as pn, a as S, z as gn, W as hn, j as mn, B as yn, F as bn, H as Sn, Y as On, e as vn, b as xn, q as Cn, V as wn, $ as Dn, U as Pn, Q as jn, G as An, Z as Fn, c as Ln, X as Rn, d as En, K as Nn, f as Tn, g as $n, O as Mn, r as U, i as De, h as In, k as We, l as Mt, m as _n, n as kn, o as Bn, p as It, t as _t, u as rt, v as kt, w as Se, x as Bt, y as Un, A as q, C as V, D as _, E as I, I as C, J as Ut, L as qn, M as ze, N as Vn, P as qt, R as Kn, T as Vt, _ as Kt, a0 as Hn, a1 as X, a2 as Wn, a3 as zn, a4 as Gn, a5 as Jn, a6 as Qn, a7 as Yn, a8 as Zn, a9 as Xn, aa as er, ab as tr, ac as st, ad as nr, ae as rr, af as it, ag as sr, ah as ir, ai as ar, aj as or, ak as ur, al as lr, am as cr, an as fr, ao as dr, ap as pr, aq as gr, ar as ee, as as K } from "./use-tracking-95bdb64e.js";
|
3
|
+
import { av as su, at as iu, au, aw as ou } from "./use-tracking-95bdb64e.js";
|
4
4
|
const hr = y({
|
5
5
|
props: {
|
6
6
|
/**
|
@@ -1149,7 +1149,7 @@ const hr = y({
|
|
1149
1149
|
*/
|
1150
1150
|
styleOptions: Object
|
1151
1151
|
},
|
1152
|
-
setup: (e) => S(
|
1152
|
+
setup: (e) => S(Rn, e)
|
1153
1153
|
}), Lo = y({
|
1154
1154
|
props: {
|
1155
1155
|
/**
|
@@ -1210,8 +1210,8 @@ const hr = y({
|
|
1210
1210
|
*/
|
1211
1211
|
onEdit: Function
|
1212
1212
|
},
|
1213
|
-
setup: (e) => S(
|
1214
|
-
}),
|
1213
|
+
setup: (e) => S(En, e)
|
1214
|
+
}), Ro = y({
|
1215
1215
|
props: {
|
1216
1216
|
/**
|
1217
1217
|
* {@inheritDoc @sisense/sdk-ui!MemberFilterTileProps.attribute}
|
@@ -1258,8 +1258,8 @@ const hr = y({
|
|
1258
1258
|
*/
|
1259
1259
|
onEdit: Function
|
1260
1260
|
},
|
1261
|
-
setup: (e) => S(
|
1262
|
-
}),
|
1261
|
+
setup: (e) => S(Nn, e)
|
1262
|
+
}), Eo = y({
|
1263
1263
|
props: {
|
1264
1264
|
/**
|
1265
1265
|
* {@inheritDoc @sisense/sdk-ui!CriteriaFilterTileProps.arrangement}
|
@@ -1299,8 +1299,8 @@ const hr = y({
|
|
1299
1299
|
*/
|
1300
1300
|
onEdit: Function
|
1301
1301
|
},
|
1302
|
-
setup: (e) => S(
|
1303
|
-
}),
|
1302
|
+
setup: (e) => S(Tn, e)
|
1303
|
+
}), No = y({
|
1304
1304
|
props: {
|
1305
1305
|
/**
|
1306
1306
|
* {@inheritDoc @sisense/sdk-ui!RelativeDateFilterTileProps.title}
|
@@ -1346,7 +1346,7 @@ const hr = y({
|
|
1346
1346
|
onEdit: Function
|
1347
1347
|
},
|
1348
1348
|
setup: (e) => S($n, e)
|
1349
|
-
}),
|
1349
|
+
}), To = y({
|
1350
1350
|
props: {
|
1351
1351
|
/**
|
1352
1352
|
* {@inheritDoc @sisense/sdk-ui!FilterTileProps.filter}
|
@@ -1477,7 +1477,7 @@ function yr(e, t, n) {
|
|
1477
1477
|
t[r] && (n[r] = t[r]);
|
1478
1478
|
});
|
1479
1479
|
}
|
1480
|
-
function
|
1480
|
+
function Ge(e, t, n) {
|
1481
1481
|
function r(a) {
|
1482
1482
|
return a && a.indexOf("###") > -1 ? a.replace(/###/g, ".") : a;
|
1483
1483
|
}
|
@@ -1500,21 +1500,21 @@ function ot(e, t, n) {
|
|
1500
1500
|
const {
|
1501
1501
|
obj: r,
|
1502
1502
|
k: s
|
1503
|
-
} =
|
1503
|
+
} = Ge(e, t, Object);
|
1504
1504
|
r[s] = n;
|
1505
1505
|
}
|
1506
1506
|
function br(e, t, n, r) {
|
1507
1507
|
const {
|
1508
1508
|
obj: s,
|
1509
1509
|
k: i
|
1510
|
-
} =
|
1510
|
+
} = Ge(e, t, Object);
|
1511
1511
|
s[i] = s[i] || [], r && (s[i] = s[i].concat(n)), r || s[i].push(n);
|
1512
1512
|
}
|
1513
1513
|
function ve(e, t) {
|
1514
1514
|
const {
|
1515
1515
|
obj: n,
|
1516
1516
|
k: r
|
1517
|
-
} =
|
1517
|
+
} = Ge(e, t);
|
1518
1518
|
if (n)
|
1519
1519
|
return n[r];
|
1520
1520
|
}
|
@@ -1522,9 +1522,9 @@ function Sr(e, t, n) {
|
|
1522
1522
|
const r = ve(e, n);
|
1523
1523
|
return r !== void 0 ? r : ve(t, n);
|
1524
1524
|
}
|
1525
|
-
function
|
1525
|
+
function Ht(e, t, n) {
|
1526
1526
|
for (const r in t)
|
1527
|
-
r !== "__proto__" && r !== "constructor" && (r in e ? typeof e[r] == "string" || e[r] instanceof String || typeof t[r] == "string" || t[r] instanceof String ? n && (e[r] = t[r]) :
|
1527
|
+
r !== "__proto__" && r !== "constructor" && (r in e ? typeof e[r] == "string" || e[r] instanceof String || typeof t[r] == "string" || t[r] instanceof String ? n && (e[r] = t[r]) : Ht(e[r], t[r], n) : e[r] = t[r]);
|
1528
1528
|
return e;
|
1529
1529
|
}
|
1530
1530
|
function Y(e) {
|
@@ -1637,7 +1637,7 @@ class ut extends Pe {
|
|
1637
1637
|
}, o = [t, n];
|
1638
1638
|
t.indexOf(".") > -1 && (o = t.split("."), s = r, r = n, n = o[1]), this.addNamespaces(n);
|
1639
1639
|
let u = ve(this.data, o) || {};
|
1640
|
-
s ?
|
1640
|
+
s ? Ht(u, r, i) : u = {
|
1641
1641
|
...u,
|
1642
1642
|
...r
|
1643
1643
|
}, ot(this.data, o, u), a.silent || this.emit("added", t, n, r);
|
@@ -1756,10 +1756,10 @@ class we extends Pe {
|
|
1756
1756
|
return s ? (d.res = x, d) : x;
|
1757
1757
|
}
|
1758
1758
|
if (i) {
|
1759
|
-
const x = m === "[object Array]", A = x ? [] : {},
|
1759
|
+
const x = m === "[object Array]", A = x ? [] : {}, N = x ? p : g;
|
1760
1760
|
for (const j in l)
|
1761
1761
|
if (Object.prototype.hasOwnProperty.call(l, j)) {
|
1762
|
-
const ce = `${
|
1762
|
+
const ce = `${N}${i}${j}`;
|
1763
1763
|
A[j] = this.translate(ce, {
|
1764
1764
|
...n,
|
1765
1765
|
joinArrays: !1,
|
@@ -1772,7 +1772,7 @@ class we extends Pe {
|
|
1772
1772
|
l = l.join(v), l && (l = this.extendTranslation(l, t, n, r));
|
1773
1773
|
else {
|
1774
1774
|
let x = !1, A = !1;
|
1775
|
-
const
|
1775
|
+
const N = n.count !== void 0 && typeof n.count != "string", j = we.hasDefaultValue(n), ce = N ? this.pluralResolver.getSuffix(c, n.count, n) : "", un = n.ordinal && N ? this.pluralResolver.getSuffix(c, n.count, {
|
1776
1776
|
ordinal: !1
|
1777
1777
|
}) : "", re = n[`defaultValue${ce}`] || n[`defaultValue${un}`] || n.defaultValue;
|
1778
1778
|
!this.isValidLookup(l) && j && (x = !0, l = re), this.isValidLookup(l) || (A = !0, l = a);
|
@@ -1796,7 +1796,7 @@ class we extends Pe {
|
|
1796
1796
|
const tt = j && et !== l ? et : ln;
|
1797
1797
|
this.options.missingKeyHandler ? this.options.missingKeyHandler(F, u, Q, tt, se, n) : this.backendConnector && this.backendConnector.saveMissing && this.backendConnector.saveMissing(F, u, Q, tt, se, n), this.emit("missingKey", F, u, Q, l);
|
1798
1798
|
};
|
1799
|
-
this.options.saveMissing && (this.options.saveMissingPlurals &&
|
1799
|
+
this.options.saveMissing && (this.options.saveMissingPlurals && N ? ie.forEach((F) => {
|
1800
1800
|
this.pluralResolver.getSuffixes(F, n).forEach((Q) => {
|
1801
1801
|
Xe([F], a + Q, n[`defaultValue${Q}`] || re);
|
1802
1802
|
});
|
@@ -1870,10 +1870,10 @@ class we extends Pe {
|
|
1870
1870
|
else {
|
1871
1871
|
let x;
|
1872
1872
|
l && (x = this.pluralResolver.getSuffix(v, n.count, n));
|
1873
|
-
const A = `${this.options.pluralSeparator}zero`,
|
1874
|
-
if (l && (w.push(f + x), n.ordinal && x.indexOf(
|
1873
|
+
const A = `${this.options.pluralSeparator}zero`, N = `${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;
|
1874
|
+
if (l && (w.push(f + x), n.ordinal && x.indexOf(N) === 0 && w.push(f + x.replace(N, this.options.pluralSeparator)), g && w.push(f + A)), p) {
|
1875
1875
|
const j = `${f}${this.options.contextSeparator}${n.context}`;
|
1876
|
-
w.push(j), l && (w.push(j + x), n.ordinal && x.indexOf(
|
1876
|
+
w.push(j), l && (w.push(j + x), n.ordinal && x.indexOf(N) === 0 && w.push(j + x.replace(N, this.options.pluralSeparator)), g && w.push(j + A));
|
1877
1877
|
}
|
1878
1878
|
}
|
1879
1879
|
let D;
|
@@ -1904,7 +1904,7 @@ class we extends Pe {
|
|
1904
1904
|
return !1;
|
1905
1905
|
}
|
1906
1906
|
}
|
1907
|
-
function
|
1907
|
+
function Re(e) {
|
1908
1908
|
return e.charAt(0).toUpperCase() + e.slice(1);
|
1909
1909
|
}
|
1910
1910
|
class ct {
|
@@ -1927,7 +1927,7 @@ class ct {
|
|
1927
1927
|
if (typeof t == "string" && t.indexOf("-") > -1) {
|
1928
1928
|
const n = ["hans", "hant", "latn", "cyrl", "cans", "mong", "arab"];
|
1929
1929
|
let r = t.split("-");
|
1930
|
-
return this.options.lowerCaseLng ? r = r.map((s) => s.toLowerCase()) : r.length === 2 ? (r[0] = r[0].toLowerCase(), r[1] = r[1].toUpperCase(), n.indexOf(r[1].toLowerCase()) > -1 && (r[1] =
|
1930
|
+
return this.options.lowerCaseLng ? r = r.map((s) => s.toLowerCase()) : r.length === 2 ? (r[0] = r[0].toLowerCase(), r[1] = r[1].toUpperCase(), n.indexOf(r[1].toLowerCase()) > -1 && (r[1] = Re(r[1].toLowerCase()))) : r.length === 3 && (r[0] = r[0].toLowerCase(), r[1].length === 2 && (r[1] = r[1].toUpperCase()), r[0] !== "sgn" && r[2].length === 2 && (r[2] = r[2].toUpperCase()), n.indexOf(r[1].toLowerCase()) > -1 && (r[1] = Re(r[1].toLowerCase())), n.indexOf(r[2].toLowerCase()) > -1 && (r[2] = Re(r[2].toLowerCase()))), r.join("-");
|
1931
1931
|
}
|
1932
1932
|
return this.options.cleanCode || this.options.lowerCaseLng ? t.toLowerCase() : t;
|
1933
1933
|
}
|
@@ -2326,7 +2326,7 @@ class Lr {
|
|
2326
2326
|
return t;
|
2327
2327
|
}
|
2328
2328
|
}
|
2329
|
-
function
|
2329
|
+
function Rr(e) {
|
2330
2330
|
let t = e.toLowerCase().trim();
|
2331
2331
|
const n = {};
|
2332
2332
|
if (e.indexOf("(") > -1) {
|
@@ -2353,7 +2353,7 @@ function Z(e) {
|
|
2353
2353
|
return o || (o = e(Ce(s), i), t[a] = o), o(r);
|
2354
2354
|
};
|
2355
2355
|
}
|
2356
|
-
class
|
2356
|
+
class Er {
|
2357
2357
|
constructor() {
|
2358
2358
|
let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
2359
2359
|
this.logger = $.create("formatter"), this.options = t, this.formats = {
|
@@ -2408,7 +2408,7 @@ class Nr {
|
|
2408
2408
|
const {
|
2409
2409
|
formatName: c,
|
2410
2410
|
formatOptions: f
|
2411
|
-
} =
|
2411
|
+
} = Rr(u);
|
2412
2412
|
if (this.formats[c]) {
|
2413
2413
|
let d = o;
|
2414
2414
|
try {
|
@@ -2428,10 +2428,10 @@ class Nr {
|
|
2428
2428
|
}, t);
|
2429
2429
|
}
|
2430
2430
|
}
|
2431
|
-
function
|
2431
|
+
function Nr(e, t) {
|
2432
2432
|
e.pending[t] !== void 0 && (delete e.pending[t], e.pendingCount--);
|
2433
2433
|
}
|
2434
|
-
class
|
2434
|
+
class Tr extends Pe {
|
2435
2435
|
constructor(t, n, r) {
|
2436
2436
|
let s = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {};
|
2437
2437
|
super(), this.backend = t, this.store = n, this.services = r, this.languageUtils = r.languageUtils, this.options = s, this.logger = $.create("backendConnector"), this.waitingReads = [], this.maxParallelReads = s.maxParallelReads || 10, this.readingCalls = 0, this.maxRetries = s.maxRetries >= 0 ? s.maxRetries : 5, this.retryTimeout = s.retryTimeout >= 1 ? s.retryTimeout : 350, this.state = {}, this.queue = [], this.backend && this.backend.init && this.backend.init(r, s.backend, s);
|
@@ -2462,7 +2462,7 @@ class Rr extends Pe {
|
|
2462
2462
|
n && this.emit("failedLoading", i, a, n), r && this.store.addResourceBundle(i, a, r), this.state[t] = n ? -1 : 2;
|
2463
2463
|
const o = {};
|
2464
2464
|
this.queue.forEach((u) => {
|
2465
|
-
br(u.loaded, [i], a),
|
2465
|
+
br(u.loaded, [i], a), Nr(u, t), n && u.errors.push(n), u.pendingCount === 0 && !u.done && (Object.keys(u.loaded).forEach((c) => {
|
2466
2466
|
o[c] || (o[c] = {});
|
2467
2467
|
const f = u.loaded[c];
|
2468
2468
|
f.length && f.forEach((d) => {
|
@@ -2666,7 +2666,7 @@ class oe extends Pe {
|
|
2666
2666
|
if (!this.options.isClone) {
|
2667
2667
|
this.modules.logger ? $.init(i(this.modules.logger), this.options) : $.init(null, this.options);
|
2668
2668
|
let f;
|
2669
|
-
this.modules.formatter ? f = this.modules.formatter : typeof Intl < "u" && (f =
|
2669
|
+
this.modules.formatter ? f = this.modules.formatter : typeof Intl < "u" && (f = Er);
|
2670
2670
|
const d = new ct(this.options);
|
2671
2671
|
this.store = new ut(this.options.resources, this.options);
|
2672
2672
|
const l = this.services;
|
@@ -2676,7 +2676,7 @@ class oe extends Pe {
|
|
2676
2676
|
simplifyPluralSuffix: this.options.simplifyPluralSuffix
|
2677
2677
|
}), f && (!this.options.interpolation.format || this.options.interpolation.format === s.interpolation.format) && (l.formatter = i(f), l.formatter.init(l, this.options), this.options.interpolation.format = l.formatter.format.bind(l.formatter)), l.interpolator = new Lr(this.options), l.utils = {
|
2678
2678
|
hasLoadedNamespace: this.hasLoadedNamespace.bind(this)
|
2679
|
-
}, l.backendConnector = new
|
2679
|
+
}, l.backendConnector = new Tr(i(this.modules.backend), l.resourceStore, l, this.options), l.backendConnector.on("*", function(g) {
|
2680
2680
|
for (var p = arguments.length, m = new Array(p > 1 ? p - 1 : 0), h = 1; h < p; h++)
|
2681
2681
|
m[h - 1] = arguments[h];
|
2682
2682
|
t.emit(g, ...m);
|
@@ -2905,36 +2905,36 @@ const Mr = {
|
|
2905
2905
|
}, ht = "common", _r = {
|
2906
2906
|
en: Mr,
|
2907
2907
|
uk: Ir
|
2908
|
-
},
|
2908
|
+
}, T = P.createInstance({
|
2909
2909
|
defaultNS: ht,
|
2910
2910
|
resources: Br(_r, ht),
|
2911
2911
|
lng: "en",
|
2912
2912
|
fallbackLng: "en"
|
2913
|
-
}),
|
2914
|
-
i18nextInstance:
|
2915
|
-
initPromise:
|
2913
|
+
}), zt = {
|
2914
|
+
i18nextInstance: T,
|
2915
|
+
initPromise: T.init().then(() => T)
|
2916
2916
|
}, pe = /* @__PURE__ */ new Map();
|
2917
|
-
pe.set("common",
|
2917
|
+
pe.set("common", zt);
|
2918
2918
|
const kr = (e) => {
|
2919
2919
|
if (pe.has(e.namespace))
|
2920
2920
|
return pe.get(e.namespace);
|
2921
2921
|
if (e.plugins)
|
2922
2922
|
for (const i of e.plugins)
|
2923
|
-
|
2923
|
+
T.use(i);
|
2924
2924
|
Object.keys(e.resource).forEach((i) => {
|
2925
|
-
|
2925
|
+
T.addResourceBundle(i, e.namespace, e.resource[i]);
|
2926
2926
|
});
|
2927
|
-
const t =
|
2927
|
+
const t = T.cloneInstance({
|
2928
2928
|
defaultNS: e.namespace
|
2929
2929
|
});
|
2930
|
-
let n =
|
2930
|
+
let n = zt.initPromise.then(() => t);
|
2931
2931
|
t.on("languageChanged", (i) => {
|
2932
|
-
|
2933
|
-
}),
|
2932
|
+
T.language !== i && T.changeLanguage(i);
|
2933
|
+
}), T.on("languageChanged", (i) => {
|
2934
2934
|
t.language !== i && t.changeLanguage(i);
|
2935
2935
|
});
|
2936
2936
|
const r = e.language || "en";
|
2937
|
-
|
2937
|
+
T.language !== r && (n = n.then(() => t.changeLanguage(r)).then(() => t));
|
2938
2938
|
const s = { initPromise: n, i18nextInstance: t };
|
2939
2939
|
return pe.set(e.namespace, s), s;
|
2940
2940
|
};
|
@@ -2998,31 +2998,31 @@ const qr = {
|
|
2998
2998
|
},
|
2999
2999
|
unsupportedDimensionalElement: "Непідтримуваний тип елемента"
|
3000
3000
|
}
|
3001
|
-
},
|
3001
|
+
}, Kr = "sdkData", Hr = {
|
3002
3002
|
en: qr,
|
3003
3003
|
uk: Vr
|
3004
3004
|
};
|
3005
3005
|
function Wr() {
|
3006
3006
|
return kr({
|
3007
|
-
resource:
|
3007
|
+
resource: Hr,
|
3008
3008
|
language: "en",
|
3009
|
-
namespace:
|
3009
|
+
namespace: Kr
|
3010
3010
|
});
|
3011
3011
|
}
|
3012
3012
|
Wr();
|
3013
|
-
function
|
3013
|
+
function zr() {
|
3014
3014
|
this.__data__ = [], this.size = 0;
|
3015
3015
|
}
|
3016
|
-
function
|
3016
|
+
function Gt(e, t) {
|
3017
3017
|
return e === t || e !== e && t !== t;
|
3018
3018
|
}
|
3019
3019
|
function je(e, t) {
|
3020
3020
|
for (var n = e.length; n--; )
|
3021
|
-
if (
|
3021
|
+
if (Gt(e[n][0], t))
|
3022
3022
|
return n;
|
3023
3023
|
return -1;
|
3024
3024
|
}
|
3025
|
-
var
|
3025
|
+
var Gr = Array.prototype, Jr = Gr.splice;
|
3026
3026
|
function Qr(e) {
|
3027
3027
|
var t = this.__data__, n = je(t, e);
|
3028
3028
|
if (n < 0)
|
@@ -3048,7 +3048,7 @@ function k(e) {
|
|
3048
3048
|
this.set(r[0], r[1]);
|
3049
3049
|
}
|
3050
3050
|
}
|
3051
|
-
k.prototype.clear =
|
3051
|
+
k.prototype.clear = zr;
|
3052
3052
|
k.prototype.delete = Qr;
|
3053
3053
|
k.prototype.get = Yr;
|
3054
3054
|
k.prototype.has = Zr;
|
@@ -3067,16 +3067,16 @@ function rs(e) {
|
|
3067
3067
|
return this.__data__.has(e);
|
3068
3068
|
}
|
3069
3069
|
var ss = U["__core-js_shared__"];
|
3070
|
-
const
|
3070
|
+
const Ee = ss;
|
3071
3071
|
var mt = function() {
|
3072
|
-
var e = /[^.]+$/.exec(
|
3072
|
+
var e = /[^.]+$/.exec(Ee && Ee.keys && Ee.keys.IE_PROTO || "");
|
3073
3073
|
return e ? "Symbol(src)_1." + e : "";
|
3074
3074
|
}();
|
3075
3075
|
function is(e) {
|
3076
3076
|
return !!mt && mt in e;
|
3077
3077
|
}
|
3078
3078
|
var as = Function.prototype, os = as.toString;
|
3079
|
-
function
|
3079
|
+
function G(e) {
|
3080
3080
|
if (e != null) {
|
3081
3081
|
try {
|
3082
3082
|
return os.call(e);
|
@@ -3096,7 +3096,7 @@ function hs(e) {
|
|
3096
3096
|
if (!De(e) || is(e))
|
3097
3097
|
return !1;
|
3098
3098
|
var t = In(e) ? gs : ls;
|
3099
|
-
return t.test(
|
3099
|
+
return t.test(G(e));
|
3100
3100
|
}
|
3101
3101
|
function ms(e, t) {
|
3102
3102
|
return e == null ? void 0 : e[t];
|
@@ -3135,41 +3135,41 @@ function Fs(e, t) {
|
|
3135
3135
|
var n = this.__data__;
|
3136
3136
|
return this.size += this.has(e) ? 0 : 1, n[e] = le && t === void 0 ? As : t, this;
|
3137
3137
|
}
|
3138
|
-
function
|
3138
|
+
function z(e) {
|
3139
3139
|
var t = -1, n = e == null ? 0 : e.length;
|
3140
3140
|
for (this.clear(); ++t < n; ) {
|
3141
3141
|
var r = e[t];
|
3142
3142
|
this.set(r[0], r[1]);
|
3143
3143
|
}
|
3144
3144
|
}
|
3145
|
-
|
3146
|
-
|
3147
|
-
|
3148
|
-
|
3149
|
-
|
3145
|
+
z.prototype.clear = Ss;
|
3146
|
+
z.prototype.delete = Os;
|
3147
|
+
z.prototype.get = ws;
|
3148
|
+
z.prototype.has = js;
|
3149
|
+
z.prototype.set = Fs;
|
3150
3150
|
function Ls() {
|
3151
3151
|
this.size = 0, this.__data__ = {
|
3152
|
-
hash: new
|
3152
|
+
hash: new z(),
|
3153
3153
|
map: new (ue || k)(),
|
3154
|
-
string: new
|
3154
|
+
string: new z()
|
3155
3155
|
};
|
3156
3156
|
}
|
3157
|
-
function
|
3157
|
+
function Rs(e) {
|
3158
3158
|
var t = typeof e;
|
3159
3159
|
return t == "string" || t == "number" || t == "symbol" || t == "boolean" ? e !== "__proto__" : e === null;
|
3160
3160
|
}
|
3161
3161
|
function Ae(e, t) {
|
3162
3162
|
var n = e.__data__;
|
3163
|
-
return
|
3163
|
+
return Rs(t) ? n[typeof t == "string" ? "string" : "hash"] : n.map;
|
3164
3164
|
}
|
3165
|
-
function
|
3165
|
+
function Es(e) {
|
3166
3166
|
var t = Ae(this, e).delete(e);
|
3167
3167
|
return this.size -= t ? 1 : 0, t;
|
3168
3168
|
}
|
3169
|
-
function
|
3169
|
+
function Ns(e) {
|
3170
3170
|
return Ae(this, e).get(e);
|
3171
3171
|
}
|
3172
|
-
function
|
3172
|
+
function Ts(e) {
|
3173
3173
|
return Ae(this, e).has(e);
|
3174
3174
|
}
|
3175
3175
|
function $s(e, t) {
|
@@ -3184,9 +3184,9 @@ function te(e) {
|
|
3184
3184
|
}
|
3185
3185
|
}
|
3186
3186
|
te.prototype.clear = Ls;
|
3187
|
-
te.prototype.delete =
|
3188
|
-
te.prototype.get =
|
3189
|
-
te.prototype.has =
|
3187
|
+
te.prototype.delete = Es;
|
3188
|
+
te.prototype.get = Ns;
|
3189
|
+
te.prototype.has = Ts;
|
3190
3190
|
te.prototype.set = $s;
|
3191
3191
|
var Ms = 200;
|
3192
3192
|
function Is(e, t) {
|
@@ -3232,7 +3232,7 @@ function Jt(e, t, n) {
|
|
3232
3232
|
var Bs = Object.prototype, Us = Bs.hasOwnProperty;
|
3233
3233
|
function Qt(e, t, n) {
|
3234
3234
|
var r = e[t];
|
3235
|
-
(!(Us.call(e, t) &&
|
3235
|
+
(!(Us.call(e, t) && Gt(r, n)) || n === void 0 && !(t in e)) && Jt(e, t, n);
|
3236
3236
|
}
|
3237
3237
|
function Fe(e, t, n, r) {
|
3238
3238
|
var s = !n;
|
@@ -3253,22 +3253,22 @@ function Vs(e) {
|
|
3253
3253
|
t.push(n);
|
3254
3254
|
return t;
|
3255
3255
|
}
|
3256
|
-
var
|
3256
|
+
var Ks = Object.prototype, Hs = Ks.hasOwnProperty;
|
3257
3257
|
function Ws(e) {
|
3258
3258
|
if (!De(e))
|
3259
3259
|
return Vs(e);
|
3260
3260
|
var t = Mt(e), n = [];
|
3261
3261
|
for (var r in e)
|
3262
|
-
r == "constructor" && (t || !
|
3262
|
+
r == "constructor" && (t || !Hs.call(e, r)) || n.push(r);
|
3263
3263
|
return n;
|
3264
3264
|
}
|
3265
3265
|
function Je(e) {
|
3266
3266
|
return _n(e) ? kn(e, !0) : Ws(e);
|
3267
3267
|
}
|
3268
|
-
function
|
3268
|
+
function zs(e, t) {
|
3269
3269
|
return e && Fe(t, Je(t), e);
|
3270
3270
|
}
|
3271
|
-
var Yt = typeof exports == "object" && exports && !exports.nodeType && exports, bt = Yt && typeof module == "object" && module && !module.nodeType && module,
|
3271
|
+
var Yt = typeof exports == "object" && exports && !exports.nodeType && exports, bt = Yt && typeof module == "object" && module && !module.nodeType && module, Gs = bt && bt.exports === Yt, St = Gs ? U.Buffer : void 0, Ot = St ? St.allocUnsafe : void 0;
|
3272
3272
|
function Js(e, t) {
|
3273
3273
|
if (t)
|
3274
3274
|
return e.slice();
|
@@ -3333,10 +3333,10 @@ const qe = li;
|
|
3333
3333
|
var ci = J(U, "Set");
|
3334
3334
|
const Ve = ci;
|
3335
3335
|
var fi = J(U, "WeakMap");
|
3336
|
-
const
|
3337
|
-
var xt = "[object Map]", di = "[object Object]", Ct = "[object Promise]", wt = "[object Set]", Dt = "[object WeakMap]", Pt = "[object DataView]", pi =
|
3338
|
-
(Ue &&
|
3339
|
-
var t = _t(e), n = t == di ? e.constructor : void 0, r = n ?
|
3336
|
+
const Ke = fi;
|
3337
|
+
var xt = "[object Map]", di = "[object Object]", Ct = "[object Promise]", wt = "[object Set]", Dt = "[object WeakMap]", Pt = "[object DataView]", pi = G(Ue), gi = G(ue), hi = G(qe), mi = G(Ve), yi = G(Ke), H = _t;
|
3338
|
+
(Ue && H(new Ue(new ArrayBuffer(1))) != Pt || ue && H(new ue()) != xt || qe && H(qe.resolve()) != Ct || Ve && H(new Ve()) != wt || Ke && H(new Ke()) != Dt) && (H = function(e) {
|
3339
|
+
var t = _t(e), n = t == di ? e.constructor : void 0, r = n ? G(n) : "";
|
3340
3340
|
if (r)
|
3341
3341
|
switch (r) {
|
3342
3342
|
case pi:
|
@@ -3352,7 +3352,7 @@ var xt = "[object Map]", di = "[object Object]", Ct = "[object Promise]", wt = "
|
|
3352
3352
|
}
|
3353
3353
|
return t;
|
3354
3354
|
});
|
3355
|
-
const Ye =
|
3355
|
+
const Ye = H;
|
3356
3356
|
var bi = Object.prototype, Si = bi.hasOwnProperty;
|
3357
3357
|
function Oi(e) {
|
3358
3358
|
var t = e.length, n = new e.constructor(t);
|
@@ -3381,7 +3381,7 @@ function Pi(e, t) {
|
|
3381
3381
|
var n = t ? Ze(e.buffer) : e.buffer;
|
3382
3382
|
return new e.constructor(n, e.byteOffset, e.length);
|
3383
3383
|
}
|
3384
|
-
var ji = "[object Boolean]", Ai = "[object Date]", Fi = "[object Map]", Li = "[object Number]",
|
3384
|
+
var ji = "[object Boolean]", Ai = "[object Date]", Fi = "[object Map]", Li = "[object Number]", Ri = "[object RegExp]", Ei = "[object Set]", Ni = "[object String]", Ti = "[object Symbol]", $i = "[object ArrayBuffer]", Mi = "[object DataView]", Ii = "[object Float32Array]", _i = "[object Float64Array]", ki = "[object Int8Array]", Bi = "[object Int16Array]", Ui = "[object Int32Array]", qi = "[object Uint8Array]", Vi = "[object Uint8ClampedArray]", Ki = "[object Uint16Array]", Hi = "[object Uint32Array]";
|
3385
3385
|
function Wi(e, t, n) {
|
3386
3386
|
var r = e.constructor;
|
3387
3387
|
switch (t) {
|
@@ -3399,23 +3399,23 @@ function Wi(e, t, n) {
|
|
3399
3399
|
case Ui:
|
3400
3400
|
case qi:
|
3401
3401
|
case Vi:
|
3402
|
-
case Hi:
|
3403
3402
|
case Ki:
|
3403
|
+
case Hi:
|
3404
3404
|
return Pi(e, n);
|
3405
3405
|
case Fi:
|
3406
3406
|
return new r();
|
3407
3407
|
case Li:
|
3408
|
-
case
|
3408
|
+
case Ni:
|
3409
3409
|
return new r(e);
|
3410
|
-
case
|
3410
|
+
case Ri:
|
3411
3411
|
return wi(e);
|
3412
|
-
case
|
3412
|
+
case Ei:
|
3413
3413
|
return new r();
|
3414
|
-
case
|
3414
|
+
case Ti:
|
3415
3415
|
return Di(e);
|
3416
3416
|
}
|
3417
3417
|
}
|
3418
|
-
var Lt = Object.create,
|
3418
|
+
var Lt = Object.create, zi = function() {
|
3419
3419
|
function e() {
|
3420
3420
|
}
|
3421
3421
|
return function(t) {
|
@@ -3428,21 +3428,21 @@ var Lt = Object.create, Gi = function() {
|
|
3428
3428
|
return e.prototype = void 0, n;
|
3429
3429
|
};
|
3430
3430
|
}();
|
3431
|
-
const
|
3431
|
+
const Gi = zi;
|
3432
3432
|
function Ji(e) {
|
3433
|
-
return typeof e.constructor == "function" && !Mt(e) ?
|
3433
|
+
return typeof e.constructor == "function" && !Mt(e) ? Gi(en(e)) : {};
|
3434
3434
|
}
|
3435
3435
|
var Qi = "[object Map]";
|
3436
3436
|
function Yi(e) {
|
3437
3437
|
return kt(e) && Ye(e) == Qi;
|
3438
3438
|
}
|
3439
|
-
var
|
3439
|
+
var Rt = Se && Se.isMap, Zi = Rt ? Bt(Rt) : Yi;
|
3440
3440
|
const Xi = Zi;
|
3441
3441
|
var ea = "[object Set]";
|
3442
3442
|
function ta(e) {
|
3443
3443
|
return kt(e) && Ye(e) == ea;
|
3444
3444
|
}
|
3445
|
-
var
|
3445
|
+
var Et = Se && Se.isSet, na = Et ? Bt(Et) : ta;
|
3446
3446
|
const ra = na;
|
3447
3447
|
var sa = 1, ia = 2, aa = 4, rn = "[object Arguments]", oa = "[object Array]", ua = "[object Boolean]", la = "[object Date]", ca = "[object Error]", sn = "[object Function]", fa = "[object GeneratorFunction]", da = "[object Map]", pa = "[object Number]", an = "[object Object]", ga = "[object RegExp]", ha = "[object Set]", ma = "[object String]", ya = "[object Symbol]", ba = "[object WeakMap]", Sa = "[object ArrayBuffer]", Oa = "[object DataView]", va = "[object Float32Array]", xa = "[object Float64Array]", Ca = "[object Int8Array]", wa = "[object Int16Array]", Da = "[object Int32Array]", Pa = "[object Uint8Array]", ja = "[object Uint8ClampedArray]", Aa = "[object Uint16Array]", Fa = "[object Uint32Array]", O = {};
|
3448
3448
|
O[rn] = O[oa] = O[Sa] = O[Oa] = O[ua] = O[la] = O[va] = O[xa] = O[Ca] = O[wa] = O[Da] = O[da] = O[pa] = O[an] = O[ga] = O[ha] = O[ma] = O[ya] = O[Pa] = O[ja] = O[Aa] = O[Fa] = !0;
|
@@ -3463,7 +3463,7 @@ function ge(e, t, n, r, s, i) {
|
|
3463
3463
|
return Js(e, o);
|
3464
3464
|
if (d == an || d == rn || l && !s) {
|
3465
3465
|
if (a = u || l ? {} : Ji(e), !o)
|
3466
|
-
return u ? ii(e,
|
3466
|
+
return u ? ii(e, zs(a, e)) : ti(e, qs(a, e));
|
3467
3467
|
} else {
|
3468
3468
|
if (!O[d])
|
3469
3469
|
return s ? e : {};
|
@@ -3484,24 +3484,24 @@ function ge(e, t, n, r, s, i) {
|
|
3484
3484
|
m && (v = h, h = e[v]), Qt(a, v, ge(h, t, n, v, e, i));
|
3485
3485
|
}), a;
|
3486
3486
|
}
|
3487
|
-
var La = 1,
|
3488
|
-
function
|
3489
|
-
return ge(e, La |
|
3487
|
+
var La = 1, Ra = 4;
|
3488
|
+
function Ea(e) {
|
3489
|
+
return ge(e, La | Ra);
|
3490
3490
|
}
|
3491
|
-
function
|
3491
|
+
function Na(e) {
|
3492
3492
|
return Buffer.from(e).toString("utf8");
|
3493
3493
|
}
|
3494
|
-
function
|
3494
|
+
function Ta(e) {
|
3495
3495
|
return String.fromCharCode.apply(null, new Uint16Array(e));
|
3496
3496
|
}
|
3497
3497
|
function $a() {
|
3498
3498
|
return "UNSUPPORTED";
|
3499
3499
|
}
|
3500
3500
|
typeof Buffer < "u" && Buffer.from;
|
3501
|
-
var
|
3501
|
+
var Ne;
|
3502
3502
|
(function(e) {
|
3503
3503
|
e[e.None = 0] = "None", e[e.Ascending = 1] = "Ascending", e[e.Descending = 2] = "Descending";
|
3504
|
-
})(
|
3504
|
+
})(Ne = Ne || (Ne = {}));
|
3505
3505
|
const b = {
|
3506
3506
|
Measure: "measure",
|
3507
3507
|
MeasureTemplate: "measuretemplate",
|
@@ -3636,10 +3636,10 @@ const b = {
|
|
3636
3636
|
return !1;
|
3637
3637
|
}
|
3638
3638
|
};
|
3639
|
-
var
|
3639
|
+
var Te;
|
3640
3640
|
(function(e) {
|
3641
3641
|
e.TEXT = "text", e.NUMERIC = "numeric", e.DATETIME = "datetime";
|
3642
|
-
})(
|
3642
|
+
})(Te = Te || (Te = {}));
|
3643
3643
|
var $e;
|
3644
3644
|
(function(e) {
|
3645
3645
|
e.ASC = "asc", e.DESC = "desc";
|
@@ -3648,9 +3648,9 @@ var Me;
|
|
3648
3648
|
(function(e) {
|
3649
3649
|
e.PRE = "pre", e.POST = "post";
|
3650
3650
|
})(Me = Me || (Me = {}));
|
3651
|
-
function
|
3651
|
+
function He(e, t = []) {
|
3652
3652
|
try {
|
3653
|
-
return e == null ? String(e) : typeof e == "string" ? `'${Ur(e)}'` : typeof e == "number" || typeof e == "boolean" ? String(e) : e instanceof Date ? `new Date('${e.toISOString()}')` : Array.isArray(e) ? `[${e.map((n) =>
|
3653
|
+
return e == null ? String(e) : typeof e == "string" ? `'${Ur(e)}'` : typeof e == "number" || typeof e == "boolean" ? String(e) : e instanceof Date ? `new Date('${e.toISOString()}')` : Array.isArray(e) ? `[${e.map((n) => He(n, t)).join(", ")}]` : typeof e == "object" && e !== null ? "composeCode" in e ? e.composeCode : `{ ${Object.entries(e).filter(([r]) => !t.includes(r)).map(([r, s]) => `${/[^a-zA-Z0-9_$]/.test(r) ? `'${r}'` : r}: ${He(s, t)}`).join(", ")} }` : JSON.stringify(e);
|
3654
3654
|
} catch (n) {
|
3655
3655
|
return console.error(n, JSON.stringify(e, null, 2)), JSON.stringify(e);
|
3656
3656
|
}
|
@@ -3664,12 +3664,12 @@ function Ma(e) {
|
|
3664
3664
|
function Ia(e, t) {
|
3665
3665
|
return function(n) {
|
3666
3666
|
return function(...r) {
|
3667
|
-
const s = Ma(r), i = s.length, a = s.map((c) =>
|
3667
|
+
const s = Ma(r), i = s.length, a = s.map((c) => He(c, ["guid"])).filter((c, f) => !(["", "{ }", "[]", "undefined", "null"].includes(c) && f === i - 1)).join(", "), o = `${e}.${t ?? n.name}(${a})`, u = n(...r);
|
3668
3668
|
return u.composeCode = o, u;
|
3669
3669
|
};
|
3670
3670
|
};
|
3671
3671
|
}
|
3672
|
-
function
|
3672
|
+
function Nt(e, t) {
|
3673
3673
|
return Ia("filterFactory.logic", t)(e);
|
3674
3674
|
}
|
3675
3675
|
const _a = {
|
@@ -3701,11 +3701,11 @@ const W = (e) => {
|
|
3701
3701
|
};
|
3702
3702
|
var Ie;
|
3703
3703
|
(function(e) {
|
3704
|
-
e.and =
|
3704
|
+
e.and = Nt((t, n) => ({
|
3705
3705
|
operator: "AND",
|
3706
3706
|
left: W(t),
|
3707
3707
|
right: W(n)
|
3708
|
-
}), "and"), e.or =
|
3708
|
+
}), "and"), e.or = Nt((t, n) => ({
|
3709
3709
|
operator: "OR",
|
3710
3710
|
left: W(t),
|
3711
3711
|
right: W(n)
|
@@ -3731,33 +3731,33 @@ var _e;
|
|
3731
3731
|
(function(e) {
|
3732
3732
|
e.DATE_TIME = "datetime", e.NUMERIC = "numeric", e.TEXT = "text";
|
3733
3733
|
})(_e = _e || (_e = {}));
|
3734
|
-
const
|
3735
|
-
[
|
3734
|
+
const E = Object.assign(Object.assign(Object.assign({}, he), me), ye), Ba = {
|
3735
|
+
[E.INCLUDE_ALL]: {
|
3736
3736
|
all: !0,
|
3737
|
-
filterType:
|
3737
|
+
filterType: E.INCLUDE_ALL
|
3738
3738
|
},
|
3739
|
-
[
|
3739
|
+
[E.PERIOD]: {
|
3740
3740
|
last: { count: 1, offset: 1 },
|
3741
3741
|
isNotCurrentPeriod: !0,
|
3742
|
-
filterType:
|
3742
|
+
filterType: E.PERIOD
|
3743
3743
|
},
|
3744
|
-
[
|
3745
|
-
filterType:
|
3744
|
+
[E.DATE_RANGE]: {
|
3745
|
+
filterType: E.DATE_RANGE
|
3746
3746
|
},
|
3747
|
-
[
|
3748
|
-
filterType:
|
3747
|
+
[E.NUMERIC_RANGE]: {
|
3748
|
+
filterType: E.NUMERIC_RANGE
|
3749
3749
|
},
|
3750
|
-
[
|
3750
|
+
[E.CONDITION]: {
|
3751
3751
|
explicit: !1,
|
3752
3752
|
multiSelection: !0,
|
3753
3753
|
exclude: { members: [] },
|
3754
|
-
filterType:
|
3754
|
+
filterType: E.CONDITION
|
3755
3755
|
},
|
3756
|
-
[
|
3756
|
+
[E.SPECIFIC_ITEMS]: {
|
3757
3757
|
explicit: !0,
|
3758
3758
|
multiSelection: !0,
|
3759
3759
|
members: [],
|
3760
|
-
filterType:
|
3760
|
+
filterType: E.SPECIFIC_ITEMS
|
3761
3761
|
}
|
3762
3762
|
};
|
3763
3763
|
Ba.INCLUDE_ALL, be.YEARS;
|
@@ -3781,7 +3781,7 @@ const on = (e) => {
|
|
3781
3781
|
function r(a) {
|
3782
3782
|
return a && (Ua(a) ? ka(a) ? n(a.filters) : (t.add(a), { instanceid: a.config.guid }) : ("left" in a && (a.left = r(a.left)), "right" in a && (a.right = r(a.right)), "composeCode" in a && delete a.composeCode, a));
|
3783
3783
|
}
|
3784
|
-
const s =
|
3784
|
+
const s = Ea(e), i = r(s);
|
3785
3785
|
return { filters: Array.from(t), relations: i };
|
3786
3786
|
};
|
3787
3787
|
function Ua(e) {
|
@@ -3825,7 +3825,7 @@ const $o = (e) => {
|
|
3825
3825
|
ungroup: g
|
3826
3826
|
},
|
3827
3827
|
i,
|
3828
|
-
{ onBeforeQuery:
|
3828
|
+
{ onBeforeQuery: ze(p) }
|
3829
3829
|
);
|
3830
3830
|
n({ type: "success", data: v });
|
3831
3831
|
} catch (a) {
|
@@ -3853,7 +3853,7 @@ const $o = (e) => {
|
|
3853
3853
|
}), i = V(), a = async (o) => {
|
3854
3854
|
try {
|
3855
3855
|
s({ type: "loading" });
|
3856
|
-
const { filters: u, ...c } = C(e), { filters: f } = on(
|
3856
|
+
const { filters: u, ...c } = C(e), { filters: f } = on(ze(u)), {
|
3857
3857
|
data: d,
|
3858
3858
|
query: l,
|
3859
3859
|
pivotQuery: g
|
@@ -3881,9 +3881,9 @@ const $o = (e) => {
|
|
3881
3881
|
};
|
3882
3882
|
}, Io = (e) => {
|
3883
3883
|
_("useExecuteCsvQuery");
|
3884
|
-
const t = new qt(
|
3884
|
+
const t = new qt(Kn, [
|
3885
3885
|
Vt()
|
3886
|
-
]), [n, r] =
|
3886
|
+
]), [n, r] = Kt({
|
3887
3887
|
isLoading: !0,
|
3888
3888
|
isError: !1,
|
3889
3889
|
isSuccess: !1,
|
@@ -3895,7 +3895,7 @@ const $o = (e) => {
|
|
3895
3895
|
r(s);
|
3896
3896
|
}), t.run(C(e)), M([...I(e)], () => {
|
3897
3897
|
t.run(C(e));
|
3898
|
-
}),
|
3898
|
+
}), Tt(() => {
|
3899
3899
|
t.destroy();
|
3900
3900
|
}), L(n.value);
|
3901
3901
|
}, _o = (e) => {
|
@@ -3928,7 +3928,7 @@ const $o = (e) => {
|
|
3928
3928
|
{ immediate: !0 }
|
3929
3929
|
);
|
3930
3930
|
const i = L(t.value);
|
3931
|
-
return L(
|
3931
|
+
return L(Hn(i));
|
3932
3932
|
}, ko = (e) => {
|
3933
3933
|
_("useGetDashboardModels");
|
3934
3934
|
const [t, n] = q(X, {
|
@@ -3941,7 +3941,7 @@ const $o = (e) => {
|
|
3941
3941
|
}), r = V(), s = async (a) => {
|
3942
3942
|
try {
|
3943
3943
|
n({ type: "loading" });
|
3944
|
-
const o = C(e), u = await
|
3944
|
+
const o = C(e), u = await Gn(a.httpClient, o);
|
3945
3945
|
n({ type: "success", data: u });
|
3946
3946
|
} catch (o) {
|
3947
3947
|
n({ type: "error", error: o });
|
@@ -3956,7 +3956,7 @@ const $o = (e) => {
|
|
3956
3956
|
{ immediate: !0 }
|
3957
3957
|
);
|
3958
3958
|
const i = L(t.value);
|
3959
|
-
return L(
|
3959
|
+
return L(zn(i));
|
3960
3960
|
}, Bo = (e) => {
|
3961
3961
|
_("useGetSharedFormula");
|
3962
3962
|
const [t, n] = q(X, {
|
@@ -4051,7 +4051,7 @@ const $o = (e) => {
|
|
4051
4051
|
}), i = V(), a = async (o) => {
|
4052
4052
|
try {
|
4053
4053
|
s({ type: "loading" });
|
4054
|
-
const u =
|
4054
|
+
const u = ze(e), c = t ? C(t) : {}, f = n ? C(n) : {}, d = {
|
4055
4055
|
requestConfig: f.requestConfig ? C(f.requestConfig) : {},
|
4056
4056
|
skipTrackingParam: !0
|
4057
4057
|
}, l = await o.call(
|
@@ -4072,16 +4072,16 @@ const $o = (e) => {
|
|
4072
4072
|
},
|
4073
4073
|
{ immediate: !0 }
|
4074
4074
|
), L(r.value);
|
4075
|
-
},
|
4075
|
+
}, Ko = () => er().value, Ho = (e, t = {}) => {
|
4076
4076
|
_("useComposedDashboard");
|
4077
4077
|
const n = new qt(tr, [
|
4078
4078
|
Vt()
|
4079
|
-
]), [r, s] =
|
4079
|
+
]), [r, s] = Kt(C(e));
|
4080
4080
|
n.subscribe(({ dashboard: o }) => {
|
4081
4081
|
s(o);
|
4082
4082
|
}), n.run(C(e), t), M([...I(e)], () => {
|
4083
4083
|
n.run(C(e), t);
|
4084
|
-
}),
|
4084
|
+
}), Tt(() => {
|
4085
4085
|
n.destroy();
|
4086
4086
|
});
|
4087
4087
|
const i = st(n, "setFilters"), a = st(n, "setWidgetsLayout");
|
@@ -4162,7 +4162,7 @@ const $o = (e) => {
|
|
4162
4162
|
sliceDrilldownSelections: c,
|
4163
4163
|
clearDrilldownSelections: f
|
4164
4164
|
};
|
4165
|
-
},
|
4165
|
+
}, Ka = y({
|
4166
4166
|
props: {
|
4167
4167
|
/**
|
4168
4168
|
* {@inheritDoc @sisense/sdk-ui!DrilldownWidgetProps.config}
|
@@ -4198,9 +4198,9 @@ const $o = (e) => {
|
|
4198
4198
|
},
|
4199
4199
|
setup: () => {
|
4200
4200
|
}
|
4201
|
-
}),
|
4201
|
+
}), Ha = { style: { display: "flex", "flex-direction": "column", height: "100%" } }, Wa = { style: { "flex-grow": "1", "min-wdith": "0", "min-height": "0" } }, Wo = /* @__PURE__ */ y({
|
4202
4202
|
__name: "drilldown-widget",
|
4203
|
-
props:
|
4203
|
+
props: Ka.props,
|
4204
4204
|
setup(e) {
|
4205
4205
|
const t = e, { drilldownPaths: n, initialDimension: r, config: s } = L(t), i = B(null), a = B([]), {
|
4206
4206
|
drilldownFilters: o,
|
@@ -4237,11 +4237,11 @@ const $o = (e) => {
|
|
4237
4237
|
}, w = () => {
|
4238
4238
|
i.value = null;
|
4239
4239
|
};
|
4240
|
-
return (D, x) => (cn(), fn("div",
|
4240
|
+
return (D, x) => (cn(), fn("div", Ha, [
|
4241
4241
|
Le(D.$slots, "contextMenu", {
|
4242
4242
|
contextMenuProps: { position: i.value, itemSections: m.value, closeContextMenu: w }
|
4243
4243
|
}, () => [
|
4244
|
-
nt(
|
4244
|
+
nt(R(qa), {
|
4245
4245
|
position: i.value,
|
4246
4246
|
itemSections: m.value,
|
4247
4247
|
closeContextMenu: w
|
@@ -4249,30 +4249,30 @@ const $o = (e) => {
|
|
4249
4249
|
]),
|
4250
4250
|
Le(D.$slots, "breadcrumbs", {
|
4251
4251
|
drilldownBreadcrumbsProps: {
|
4252
|
-
clearDrilldownSelections:
|
4253
|
-
sliceDrilldownSelections:
|
4254
|
-
drilldownFiltersDisplayValues:
|
4255
|
-
drilldownDimension:
|
4252
|
+
clearDrilldownSelections: R(g),
|
4253
|
+
sliceDrilldownSelections: R(l),
|
4254
|
+
drilldownFiltersDisplayValues: R(c),
|
4255
|
+
drilldownDimension: R(u)
|
4256
4256
|
}
|
4257
4257
|
}, () => [
|
4258
|
-
nt(
|
4259
|
-
"clear-drilldown-selections":
|
4260
|
-
"slice-drilldown-selections":
|
4261
|
-
"filters-display-values":
|
4262
|
-
"current-dimension":
|
4258
|
+
nt(R(hr), {
|
4259
|
+
"clear-drilldown-selections": R(g),
|
4260
|
+
"slice-drilldown-selections": R(l),
|
4261
|
+
"filters-display-values": R(c),
|
4262
|
+
"current-dimension": R(u)
|
4263
4263
|
}, null, 8, ["clear-drilldown-selections", "slice-drilldown-selections", "filters-display-values", "current-dimension"])
|
4264
4264
|
]),
|
4265
4265
|
dn("div", Wa, [
|
4266
4266
|
Le(D.$slots, "chart", {
|
4267
|
-
drilldownFilters:
|
4268
|
-
drilldownDimension:
|
4267
|
+
drilldownFilters: R(o),
|
4268
|
+
drilldownDimension: R(u),
|
4269
4269
|
onDataPointsSelected: v,
|
4270
4270
|
onContextMenu: h
|
4271
4271
|
})
|
4272
4272
|
])
|
4273
4273
|
]));
|
4274
4274
|
}
|
4275
|
-
}),
|
4275
|
+
}), zo = y({
|
4276
4276
|
props: {
|
4277
4277
|
/**
|
4278
4278
|
* {@inheritDoc @sisense/sdk-ui!ChartWidgetProps.bottomSlot}
|
@@ -4408,7 +4408,7 @@ const $o = (e) => {
|
|
4408
4408
|
onDataReady: Function
|
4409
4409
|
},
|
4410
4410
|
setup: (e) => S(ur, e)
|
4411
|
-
}),
|
4411
|
+
}), Go = y({
|
4412
4412
|
props: {
|
4413
4413
|
/** @internal */
|
4414
4414
|
bottomSlot: Object,
|
@@ -4713,17 +4713,23 @@ const $o = (e) => {
|
|
4713
4713
|
/**
|
4714
4714
|
* {@inheritDoc @sisense/sdk-ui!DashboardProps.styleOptions}
|
4715
4715
|
*/
|
4716
|
-
styleOptions: Object
|
4716
|
+
styleOptions: Object,
|
4717
|
+
/**
|
4718
|
+
* {@inheritDoc @sisense/sdk-ui!DashboardProps.tabbersOptions}
|
4719
|
+
*
|
4720
|
+
* @internal
|
4721
|
+
*/
|
4722
|
+
tabbersOptions: Object
|
4717
4723
|
},
|
4718
4724
|
setup: (e) => S(pr, e)
|
4719
4725
|
});
|
4720
|
-
function
|
4726
|
+
function za(e) {
|
4721
4727
|
return gr.toDashboardProps(e);
|
4722
4728
|
}
|
4723
4729
|
const Xo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
4724
4730
|
__proto__: null,
|
4725
|
-
toDashboardProps:
|
4726
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
4731
|
+
toDashboardProps: za
|
4732
|
+
}, Symbol.toStringTag, { value: "Module" })), Ga = (e, t) => ee.replaceFilters(e, t), Ja = (e, t) => ee.addFilter(e, t), Qa = (e, t) => ee.addFilters(e, t), Ya = (e, t, n) => ee.replaceFilter(
|
4727
4733
|
e,
|
4728
4734
|
t,
|
4729
4735
|
n
|
@@ -4734,25 +4740,25 @@ const Xo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4734
4740
|
removeFilter: Za,
|
4735
4741
|
removeFilters: Xa,
|
4736
4742
|
replaceFilter: Ya,
|
4737
|
-
replaceFilters:
|
4738
|
-
}, Symbol.toStringTag, { value: "Module" })), eo = (e) =>
|
4743
|
+
replaceFilters: Ga
|
4744
|
+
}, Symbol.toStringTag, { value: "Module" })), eo = (e) => K.toExecuteQueryParams(e), to = (e) => K.toExecutePivotQueryParams(e);
|
4739
4745
|
function no(e) {
|
4740
|
-
return
|
4746
|
+
return K.toChartProps(e);
|
4741
4747
|
}
|
4742
4748
|
function ro(e) {
|
4743
|
-
return
|
4749
|
+
return K.toTableProps(e);
|
4744
4750
|
}
|
4745
4751
|
function so(e) {
|
4746
|
-
return
|
4752
|
+
return K.toPivotTableProps(e);
|
4747
4753
|
}
|
4748
4754
|
function io(e) {
|
4749
|
-
return
|
4755
|
+
return K.toChartWidgetProps(e);
|
4750
4756
|
}
|
4751
4757
|
function ao(e) {
|
4752
|
-
return
|
4758
|
+
return K.toPivotTableWidgetProps(e);
|
4753
4759
|
}
|
4754
4760
|
function oo(e) {
|
4755
|
-
return
|
4761
|
+
return K.toTextWidgetProps(e);
|
4756
4762
|
}
|
4757
4763
|
const tu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
4758
4764
|
__proto__: null,
|
@@ -4772,25 +4778,25 @@ export {
|
|
4772
4778
|
po as BarChart,
|
4773
4779
|
Po as BoxplotChart,
|
4774
4780
|
Do as Chart,
|
4775
|
-
|
4781
|
+
zo as ChartWidget,
|
4776
4782
|
go as ColumnChart,
|
4777
4783
|
qa as ContextMenu,
|
4778
|
-
|
4784
|
+
Eo as CriteriaFilterTile,
|
4779
4785
|
Zo as Dashboard,
|
4780
4786
|
Yo as DashboardById,
|
4781
4787
|
Lo as DateRangeFilterTile,
|
4782
4788
|
hr as DrilldownBreadcrumbs,
|
4783
4789
|
Wo as DrilldownWidget,
|
4784
|
-
|
4790
|
+
To as FilterTile,
|
4785
4791
|
ho as FunnelChart,
|
4786
4792
|
wo as IndicatorChart,
|
4787
4793
|
mo as LineChart,
|
4788
|
-
|
4794
|
+
Ro as MemberFilterTile,
|
4789
4795
|
yo as PieChart,
|
4790
4796
|
Oo as PivotTable,
|
4791
4797
|
su as PluginsProvider,
|
4792
4798
|
Co as PolarChart,
|
4793
|
-
|
4799
|
+
No as RelativeDateFilterTile,
|
4794
4800
|
bo as ScatterChart,
|
4795
4801
|
Ao as ScattermapChart,
|
4796
4802
|
iu as SisenseContextProvider,
|
@@ -4800,11 +4806,11 @@ export {
|
|
4800
4806
|
au as ThemeProvider,
|
4801
4807
|
vo as TreemapChart,
|
4802
4808
|
Qo as Widget,
|
4803
|
-
|
4809
|
+
Go as WidgetById,
|
4804
4810
|
ou as boxWhiskerProcessResult,
|
4805
4811
|
eu as dashboardHelpers,
|
4806
4812
|
Xo as dashboardModelTranslator,
|
4807
|
-
|
4813
|
+
Ho as useComposedDashboard,
|
4808
4814
|
Io as useExecuteCsvQuery,
|
4809
4815
|
$o as useExecuteQuery,
|
4810
4816
|
Mo as useExecuteQueryByWidgetId,
|
@@ -4814,6 +4820,6 @@ export {
|
|
4814
4820
|
qo as useGetHierarchyModels,
|
4815
4821
|
Bo as useGetSharedFormula,
|
4816
4822
|
Uo as useGetWidgetModel,
|
4817
|
-
|
4823
|
+
Ko as usePlugins,
|
4818
4824
|
tu as widgetModelTranslator
|
4819
4825
|
};
|