@sisense/sdk-ui-vue 2.6.0 → 2.8.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 +34 -34
- package/dist/ai.js +1237 -1188
- package/dist/index.cjs +1 -1
- package/dist/index.js +210 -210
- package/dist/packages/sdk-ui-vue/src/components/widgets/widget.d.ts +4 -4
- package/dist/packages/sdk-ui-vue/src/helpers/setup-helper.d.ts +1 -1
- package/dist/{use-tracking-354e67c5.js → use-tracking-a39b9c1f.js} +49762 -47392
- package/dist/use-tracking-c034eb94.cjs +1060 -0
- package/package.json +2 -2
- package/dist/use-tracking-6e22d282.cjs +0 -1073
package/dist/index.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
|
-
import { defineComponent as y, watch as
|
2
|
-
import { s as _t,
|
3
|
-
import { az as pu, ax as gu, ay as hu, aA as mu, aB as yu } from "./use-tracking-
|
1
|
+
import { defineComponent as y, watch as T, toRefs as A, ref as B, onBeforeUnmount as Pe, createApp as cn, computed as We, openBlock as dn, createElementBlock as fn, renderSlot as Re, createVNode as at, unref as E, createElementVNode as pn } from "vue";
|
2
|
+
import { s as _t, I as gn, a as S, b as hn, y as mn, m as yn, w as bn, g as Sn, v as On, k as vn, c as xn, P as Cn, C as wn, _ as Pn, x as Dn, S as jn, p as An, D as Fn, M as Ln, T as En, E as Nn, z as Tn, Q as Rn, U as Mn, Y as $n, d as In, u as _n, r as U, i as De, e as kn, f as Qe, h as kt, j as Bn, l as Un, o as qn, n as Bt, q as Ut, t as ot, A as qt, B as Se, F as Vt, G as Vn, H as q, J as V, K as M, L as R, N as O, O as Wt, R as Wn, V as Ye, W as Kn, $ as je, X as Hn, Z as Ae, a0 as Fe, a1 as zn, a2 as Gn, a3 as Jn, a4 as X, a5 as Qn, a6 as Yn, a7 as Zn, a8 as Xn, a9 as er, aa as tr, ab as nr, ac as rr, ad as sr, ae as ir, af as ar, ag as ut, ah as or, ai as ur, aj as lt, ak as lr, al as cr, am as dr, an as fr, ao as pr, ap as gr, aq as hr, ar as mr, as as yr, at as br, au as Sr, av as ee, aw as W } from "./use-tracking-a39b9c1f.js";
|
3
|
+
import { az as pu, ax as gu, ay as hu, aA as mu, aB as yu } from "./use-tracking-a39b9c1f.js";
|
4
4
|
const Or = y({
|
5
5
|
props: {
|
6
6
|
/**
|
@@ -510,7 +510,7 @@ const Or = y({
|
|
510
510
|
styleOptions: Object
|
511
511
|
},
|
512
512
|
setup: (e) => S(vn, e)
|
513
|
-
}),
|
513
|
+
}), Po = y({
|
514
514
|
props: {
|
515
515
|
/**
|
516
516
|
* {@inheritDoc @sisense/sdk-ui!TableProps.dataOptions}
|
@@ -549,7 +549,7 @@ const Or = y({
|
|
549
549
|
onDataReady: Function
|
550
550
|
},
|
551
551
|
setup: (e) => S(xn, e)
|
552
|
-
}),
|
552
|
+
}), Do = y({
|
553
553
|
props: {
|
554
554
|
/**
|
555
555
|
* {@inheritDoc @sisense/sdk-ui!PivotTableProps.dataOptions}
|
@@ -588,7 +588,7 @@ const Or = y({
|
|
588
588
|
styleOptions: Object
|
589
589
|
},
|
590
590
|
setup: (e) => S(Cn, e)
|
591
|
-
}),
|
591
|
+
}), jo = y({
|
592
592
|
props: {
|
593
593
|
/**
|
594
594
|
* {@inheritDoc @sisense/sdk-ui!TreemapChartProps.dataOptions}
|
@@ -721,7 +721,7 @@ const Or = y({
|
|
721
721
|
*/
|
722
722
|
styleOptions: Object
|
723
723
|
},
|
724
|
-
setup: (e) => S(
|
724
|
+
setup: (e) => S(Pn, e)
|
725
725
|
}), Fo = y({
|
726
726
|
props: {
|
727
727
|
/**
|
@@ -788,7 +788,7 @@ const Or = y({
|
|
788
788
|
*/
|
789
789
|
styleOptions: Object
|
790
790
|
},
|
791
|
-
setup: (e) => S(
|
791
|
+
setup: (e) => S(Dn, e)
|
792
792
|
}), Lo = y({
|
793
793
|
props: {
|
794
794
|
/**
|
@@ -837,7 +837,7 @@ const Or = y({
|
|
837
837
|
*/
|
838
838
|
onDataReady: Function
|
839
839
|
},
|
840
|
-
setup: (e) => S(
|
840
|
+
setup: (e) => S(jn, e)
|
841
841
|
}), Eo = y({
|
842
842
|
props: {
|
843
843
|
/**
|
@@ -985,7 +985,7 @@ const Or = y({
|
|
985
985
|
onDataPointsSelected: Function
|
986
986
|
},
|
987
987
|
setup: (e) => S(Fn, e)
|
988
|
-
}),
|
988
|
+
}), To = y({
|
989
989
|
props: {
|
990
990
|
/**
|
991
991
|
* {@inheritDoc @sisense/sdk-ui!AreamapChartProps.dataOptions}
|
@@ -1034,7 +1034,7 @@ const Or = y({
|
|
1034
1034
|
onDataPointClick: Function
|
1035
1035
|
},
|
1036
1036
|
setup: (e) => S(Ln, e)
|
1037
|
-
}),
|
1037
|
+
}), Ro = y({
|
1038
1038
|
props: {
|
1039
1039
|
/**
|
1040
1040
|
* {@inheritDoc @sisense/sdk-ui!ScattermapChartProps.dataOptions}
|
@@ -1210,7 +1210,7 @@ const Or = y({
|
|
1210
1210
|
*/
|
1211
1211
|
onEdit: Function
|
1212
1212
|
},
|
1213
|
-
setup: (e) => S(
|
1213
|
+
setup: (e) => S(Tn, e)
|
1214
1214
|
}), Io = y({
|
1215
1215
|
props: {
|
1216
1216
|
/**
|
@@ -1258,7 +1258,7 @@ const Or = y({
|
|
1258
1258
|
*/
|
1259
1259
|
onEdit: Function
|
1260
1260
|
},
|
1261
|
-
setup: (e) => S(
|
1261
|
+
setup: (e) => S(Rn, e)
|
1262
1262
|
}), _o = y({
|
1263
1263
|
props: {
|
1264
1264
|
/**
|
@@ -1562,7 +1562,7 @@ function Kt(e, t, n) {
|
|
1562
1562
|
function Y(e) {
|
1563
1563
|
return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\$&");
|
1564
1564
|
}
|
1565
|
-
var
|
1565
|
+
var Pr = {
|
1566
1566
|
"&": "&",
|
1567
1567
|
"<": "<",
|
1568
1568
|
">": ">",
|
@@ -1570,13 +1570,13 @@ var Dr = {
|
|
1570
1570
|
"'": "'",
|
1571
1571
|
"/": "/"
|
1572
1572
|
};
|
1573
|
-
function
|
1574
|
-
return typeof e == "string" ? e.replace(/[&<>"'\/]/g, (t) =>
|
1573
|
+
function Dr(e) {
|
1574
|
+
return typeof e == "string" ? e.replace(/[&<>"'\/]/g, (t) => Pr[t]) : e;
|
1575
1575
|
}
|
1576
|
-
const
|
1576
|
+
const jr = [" ", ",", "?", "!", ";"];
|
1577
1577
|
function Ar(e, t, n) {
|
1578
1578
|
t = t || "", n = n || "";
|
1579
|
-
const r =
|
1579
|
+
const r = jr.filter((a) => t.indexOf(a) < 0 && n.indexOf(a) < 0);
|
1580
1580
|
if (r.length === 0)
|
1581
1581
|
return !0;
|
1582
1582
|
const s = new RegExp(`(${r.map((a) => a === "?" ? "\\?" : a).join("|")})`);
|
@@ -1789,14 +1789,14 @@ class we extends Le {
|
|
1789
1789
|
}
|
1790
1790
|
if (i) {
|
1791
1791
|
const C = m === "[object Array]", F = C ? [] : {}, $ = C ? p : g;
|
1792
|
-
for (const
|
1793
|
-
if (Object.prototype.hasOwnProperty.call(l,
|
1794
|
-
const ce = `${$}${i}${
|
1795
|
-
F[
|
1792
|
+
for (const j in l)
|
1793
|
+
if (Object.prototype.hasOwnProperty.call(l, j)) {
|
1794
|
+
const ce = `${$}${i}${j}`;
|
1795
|
+
F[j] = this.translate(ce, {
|
1796
1796
|
...n,
|
1797
1797
|
joinArrays: !1,
|
1798
1798
|
ns: o
|
1799
|
-
}), F[
|
1799
|
+
}), F[j] === ce && (F[j] = l[j]);
|
1800
1800
|
}
|
1801
1801
|
l = F;
|
1802
1802
|
}
|
@@ -1804,11 +1804,11 @@ class we extends Le {
|
|
1804
1804
|
l = l.join(x), l && (l = this.extendTranslation(l, t, n, r));
|
1805
1805
|
else {
|
1806
1806
|
let C = !1, F = !1;
|
1807
|
-
const $ = n.count !== void 0 && typeof n.count != "string",
|
1807
|
+
const $ = n.count !== void 0 && typeof n.count != "string", j = we.hasDefaultValue(n), ce = $ ? this.pluralResolver.getSuffix(c, n.count, n) : "", un = n.ordinal && $ ? this.pluralResolver.getSuffix(c, n.count, {
|
1808
1808
|
ordinal: !1
|
1809
1809
|
}) : "", re = n[`defaultValue${ce}`] || n[`defaultValue${un}`] || n.defaultValue;
|
1810
|
-
!this.isValidLookup(l) &&
|
1811
|
-
const ln = (n.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey) && F ? void 0 : l, se =
|
1810
|
+
!this.isValidLookup(l) && j && (C = !0, l = re), this.isValidLookup(l) || (F = !0, l = a);
|
1811
|
+
const ln = (n.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey) && F ? void 0 : l, se = j && re !== l && this.options.updateMissing;
|
1812
1812
|
if (F || C || se) {
|
1813
1813
|
if (this.logger.log(se ? "updateKey" : "missingKey", c, u, a, se ? re : l), i) {
|
1814
1814
|
const L = this.resolve(a, {
|
@@ -1824,13 +1824,13 @@ class we extends Le {
|
|
1824
1824
|
ie.push(de[L]);
|
1825
1825
|
else
|
1826
1826
|
this.options.saveMissingTo === "all" ? ie = this.languageUtils.toResolveHierarchy(n.lng || this.language) : ie.push(n.lng || this.language);
|
1827
|
-
const rt = (L,
|
1828
|
-
const it =
|
1829
|
-
this.options.missingKeyHandler ? this.options.missingKeyHandler(L, u,
|
1827
|
+
const rt = (L, Q, st) => {
|
1828
|
+
const it = j && st !== l ? st : ln;
|
1829
|
+
this.options.missingKeyHandler ? this.options.missingKeyHandler(L, u, Q, it, se, n) : this.backendConnector && this.backendConnector.saveMissing && this.backendConnector.saveMissing(L, u, Q, it, se, n), this.emit("missingKey", L, u, Q, l);
|
1830
1830
|
};
|
1831
1831
|
this.options.saveMissing && (this.options.saveMissingPlurals && $ ? ie.forEach((L) => {
|
1832
|
-
this.pluralResolver.getSuffixes(L, n).forEach((
|
1833
|
-
rt([L], a +
|
1832
|
+
this.pluralResolver.getSuffixes(L, n).forEach((Q) => {
|
1833
|
+
rt([L], a + Q, n[`defaultValue${Q}`] || re);
|
1834
1834
|
});
|
1835
1835
|
}) : rt(ie, a, re));
|
1836
1836
|
}
|
@@ -1904,13 +1904,13 @@ class we extends Le {
|
|
1904
1904
|
l && (C = this.pluralResolver.getSuffix(x, n.count, n));
|
1905
1905
|
const F = `${this.options.pluralSeparator}zero`, $ = `${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;
|
1906
1906
|
if (l && (w.push(d + C), n.ordinal && C.indexOf($) === 0 && w.push(d + C.replace($, this.options.pluralSeparator)), g && w.push(d + F)), p) {
|
1907
|
-
const
|
1908
|
-
w.push(
|
1907
|
+
const j = `${d}${this.options.contextSeparator}${n.context}`;
|
1908
|
+
w.push(j), l && (w.push(j + C), n.ordinal && C.indexOf($) === 0 && w.push(j + C.replace($, this.options.pluralSeparator)), g && w.push(j + F));
|
1909
1909
|
}
|
1910
1910
|
}
|
1911
|
-
let
|
1912
|
-
for (;
|
1913
|
-
this.isValidLookup(r) || (i =
|
1911
|
+
let P;
|
1912
|
+
for (; P = w.pop(); )
|
1913
|
+
this.isValidLookup(r) || (i = P, r = this.getResource(x, h, P, n));
|
1914
1914
|
}));
|
1915
1915
|
});
|
1916
1916
|
}), {
|
@@ -2176,7 +2176,7 @@ const Er = ["v1", "v2", "v3"], Nr = ["v4"], ht = {
|
|
2176
2176
|
many: 4,
|
2177
2177
|
other: 5
|
2178
2178
|
};
|
2179
|
-
function
|
2179
|
+
function Tr() {
|
2180
2180
|
const e = {};
|
2181
2181
|
return Fr.forEach((t) => {
|
2182
2182
|
t.lngs.forEach((n) => {
|
@@ -2187,10 +2187,10 @@ function Rr() {
|
|
2187
2187
|
});
|
2188
2188
|
}), e;
|
2189
2189
|
}
|
2190
|
-
class
|
2190
|
+
class Rr {
|
2191
2191
|
constructor(t) {
|
2192
2192
|
let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
2193
|
-
this.languageUtils = t, this.options = n, this.logger = _.create("pluralResolver"), (!this.options.compatibilityJSON || Nr.includes(this.options.compatibilityJSON)) && (typeof Intl > "u" || !Intl.PluralRules) && (this.options.compatibilityJSON = "v3", this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")), this.rules =
|
2193
|
+
this.languageUtils = t, this.options = n, this.logger = _.create("pluralResolver"), (!this.options.compatibilityJSON || Nr.includes(this.options.compatibilityJSON)) && (typeof Intl > "u" || !Intl.PluralRules) && (this.options.compatibilityJSON = "v3", this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")), this.rules = Tr();
|
2194
2194
|
}
|
2195
2195
|
addRule(t, n) {
|
2196
2196
|
this.rules[t] = n;
|
@@ -2252,7 +2252,7 @@ class Mr {
|
|
2252
2252
|
escapeValue: !0
|
2253
2253
|
});
|
2254
2254
|
const n = t.interpolation;
|
2255
|
-
this.escape = n.escape !== void 0 ? n.escape :
|
2255
|
+
this.escape = n.escape !== void 0 ? n.escape : Dr, this.escapeValue = n.escapeValue !== void 0 ? n.escapeValue : !0, this.useRawValueToEscape = n.useRawValueToEscape !== void 0 ? n.useRawValueToEscape : !1, this.prefix = n.prefix ? Y(n.prefix) : n.prefixEscaped || "{{", this.suffix = n.suffix ? Y(n.suffix) : n.suffixEscaped || "}}", this.formatSeparator = n.formatSeparator ? n.formatSeparator : n.formatSeparator || ",", this.unescapePrefix = n.unescapeSuffix ? "" : n.unescapePrefix || "-", this.unescapeSuffix = this.unescapePrefix ? "" : n.unescapeSuffix || "", this.nestingPrefix = n.nestingPrefix ? Y(n.nestingPrefix) : n.nestingPrefixEscaped || Y("$t("), this.nestingSuffix = n.nestingSuffix ? Y(n.nestingSuffix) : n.nestingSuffixEscaped || Y(")"), this.nestingOptionsSeparator = n.nestingOptionsSeparator ? n.nestingOptionsSeparator : n.nestingOptionsSeparator || ",", this.maxReplaces = n.maxReplaces ? n.maxReplaces : 1e3, this.alwaysFormat = n.alwaysFormat !== void 0 ? n.alwaysFormat : !1, this.resetRegExp();
|
2256
2256
|
}
|
2257
2257
|
reset() {
|
2258
2258
|
this.options && this.init(this.options);
|
@@ -2702,7 +2702,7 @@ class oe extends Le {
|
|
2702
2702
|
const f = new gt(this.options);
|
2703
2703
|
this.store = new ft(this.options.resources, this.options);
|
2704
2704
|
const l = this.services;
|
2705
|
-
l.logger = _, l.resourceStore = this.store, l.languageUtils = f, l.pluralResolver = new
|
2705
|
+
l.logger = _, l.resourceStore = this.store, l.languageUtils = f, l.pluralResolver = new Rr(f, {
|
2706
2706
|
prepend: this.options.pluralSeparator,
|
2707
2707
|
compatibilityJSON: this.options.compatibilityJSON,
|
2708
2708
|
simplifyPluralSuffix: this.options.simplifyPluralSuffix
|
@@ -2914,22 +2914,22 @@ class oe extends Le {
|
|
2914
2914
|
};
|
2915
2915
|
}
|
2916
2916
|
}
|
2917
|
-
const
|
2918
|
-
|
2919
|
-
|
2920
|
-
|
2921
|
-
|
2922
|
-
|
2923
|
-
|
2924
|
-
|
2925
|
-
|
2926
|
-
|
2927
|
-
|
2928
|
-
|
2929
|
-
|
2930
|
-
|
2931
|
-
|
2932
|
-
|
2917
|
+
const D = oe.createInstance();
|
2918
|
+
D.createInstance = oe.createInstance;
|
2919
|
+
D.createInstance;
|
2920
|
+
D.dir;
|
2921
|
+
D.init;
|
2922
|
+
D.loadResources;
|
2923
|
+
D.reloadResources;
|
2924
|
+
D.use;
|
2925
|
+
D.changeLanguage;
|
2926
|
+
D.getFixedT;
|
2927
|
+
D.t;
|
2928
|
+
D.exists;
|
2929
|
+
D.setDefaultNamespace;
|
2930
|
+
D.hasLoadedNamespace;
|
2931
|
+
D.loadNamespaces;
|
2932
|
+
D.loadLanguages;
|
2933
2933
|
const Ur = {
|
2934
2934
|
error: "Error"
|
2935
2935
|
}, qr = {
|
@@ -2937,16 +2937,16 @@ const Ur = {
|
|
2937
2937
|
}, St = "common", Vr = {
|
2938
2938
|
en: Ur,
|
2939
2939
|
uk: qr
|
2940
|
-
}, I =
|
2940
|
+
}, I = D.createInstance({
|
2941
2941
|
defaultNS: St,
|
2942
2942
|
resources: Kr(Vr, St),
|
2943
2943
|
lng: "en",
|
2944
2944
|
fallbackLng: "en"
|
2945
|
-
}),
|
2945
|
+
}), zt = {
|
2946
2946
|
i18nextInstance: I,
|
2947
2947
|
initPromise: I.init().then(() => I)
|
2948
2948
|
}, pe = /* @__PURE__ */ new Map();
|
2949
|
-
pe.set("common",
|
2949
|
+
pe.set("common", zt);
|
2950
2950
|
const Wr = (e) => {
|
2951
2951
|
if (pe.has(e.namespace))
|
2952
2952
|
return pe.get(e.namespace);
|
@@ -2959,7 +2959,7 @@ const Wr = (e) => {
|
|
2959
2959
|
const t = I.cloneInstance({
|
2960
2960
|
defaultNS: e.namespace
|
2961
2961
|
});
|
2962
|
-
let n =
|
2962
|
+
let n = zt.initPromise.then(() => t);
|
2963
2963
|
t.on("languageChanged", (i) => {
|
2964
2964
|
I.language !== i && I.changeLanguage(i);
|
2965
2965
|
}), I.on("languageChanged", (i) => {
|
@@ -2978,7 +2978,7 @@ function Kr(e, t) {
|
|
2978
2978
|
function Hr(e) {
|
2979
2979
|
return e && e.replace(new RegExp("(?<!\\\\)'", "g"), "\\'");
|
2980
2980
|
}
|
2981
|
-
const
|
2981
|
+
const zr = {
|
2982
2982
|
errors: {
|
2983
2983
|
measure: {
|
2984
2984
|
unsupportedType: "Unsupported measure type",
|
@@ -3004,7 +3004,7 @@ const Gr = {
|
|
3004
3004
|
},
|
3005
3005
|
unsupportedDimensionalElement: "Unsupported dimensional element type"
|
3006
3006
|
}
|
3007
|
-
},
|
3007
|
+
}, Gr = {
|
3008
3008
|
errors: {
|
3009
3009
|
measure: {
|
3010
3010
|
unsupportedType: "Непідтримуваний тип measure",
|
@@ -3030,27 +3030,27 @@ const Gr = {
|
|
3030
3030
|
},
|
3031
3031
|
unsupportedDimensionalElement: "Непідтримуваний тип елемента"
|
3032
3032
|
}
|
3033
|
-
},
|
3034
|
-
en:
|
3035
|
-
uk:
|
3033
|
+
}, Jr = "sdkData", Qr = {
|
3034
|
+
en: zr,
|
3035
|
+
uk: Gr
|
3036
3036
|
};
|
3037
3037
|
function Yr() {
|
3038
3038
|
return Wr({
|
3039
|
-
resource:
|
3039
|
+
resource: Qr,
|
3040
3040
|
language: "en",
|
3041
|
-
namespace:
|
3041
|
+
namespace: Jr
|
3042
3042
|
});
|
3043
3043
|
}
|
3044
3044
|
Yr();
|
3045
3045
|
function Zr() {
|
3046
3046
|
this.__data__ = [], this.size = 0;
|
3047
3047
|
}
|
3048
|
-
function
|
3048
|
+
function Gt(e, t) {
|
3049
3049
|
return e === t || e !== e && t !== t;
|
3050
3050
|
}
|
3051
3051
|
function Ee(e, t) {
|
3052
3052
|
for (var n = e.length; n--; )
|
3053
|
-
if (
|
3053
|
+
if (Gt(e[n][0], t))
|
3054
3054
|
return n;
|
3055
3055
|
return -1;
|
3056
3056
|
}
|
@@ -3108,7 +3108,7 @@ function cs(e) {
|
|
3108
3108
|
return !!Ot && Ot in e;
|
3109
3109
|
}
|
3110
3110
|
var ds = Function.prototype, fs = ds.toString;
|
3111
|
-
function
|
3111
|
+
function G(e) {
|
3112
3112
|
if (e != null) {
|
3113
3113
|
try {
|
3114
3114
|
return fs.call(e);
|
@@ -3125,35 +3125,35 @@ var ps = /[\\^$.*+?()[\]{}|]/g, gs = /^\[object .+?Constructor\]$/, hs = Functio
|
|
3125
3125
|
"^" + ys.call(bs).replace(ps, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
3126
3126
|
);
|
3127
3127
|
function Os(e) {
|
3128
|
-
if (!
|
3128
|
+
if (!De(e) || cs(e))
|
3129
3129
|
return !1;
|
3130
3130
|
var t = kn(e) ? Ss : gs;
|
3131
|
-
return t.test(
|
3131
|
+
return t.test(G(e));
|
3132
3132
|
}
|
3133
3133
|
function vs(e, t) {
|
3134
3134
|
return e == null ? void 0 : e[t];
|
3135
3135
|
}
|
3136
|
-
function
|
3136
|
+
function J(e, t) {
|
3137
3137
|
var n = vs(e, t);
|
3138
3138
|
return Os(n) ? n : void 0;
|
3139
3139
|
}
|
3140
|
-
var xs =
|
3140
|
+
var xs = J(U, "Map");
|
3141
3141
|
const ue = xs;
|
3142
|
-
var Cs =
|
3142
|
+
var Cs = J(Object, "create");
|
3143
3143
|
const le = Cs;
|
3144
3144
|
function ws() {
|
3145
3145
|
this.__data__ = le ? le(null) : {}, this.size = 0;
|
3146
3146
|
}
|
3147
|
-
function
|
3147
|
+
function Ps(e) {
|
3148
3148
|
var t = this.has(e) && delete this.__data__[e];
|
3149
3149
|
return this.size -= t ? 1 : 0, t;
|
3150
3150
|
}
|
3151
|
-
var
|
3151
|
+
var Ds = "__lodash_hash_undefined__", js = Object.prototype, As = js.hasOwnProperty;
|
3152
3152
|
function Fs(e) {
|
3153
3153
|
var t = this.__data__;
|
3154
3154
|
if (le) {
|
3155
3155
|
var n = t[e];
|
3156
|
-
return n ===
|
3156
|
+
return n === Ds ? void 0 : n;
|
3157
3157
|
}
|
3158
3158
|
return As.call(t, e) ? t[e] : void 0;
|
3159
3159
|
}
|
@@ -3162,28 +3162,28 @@ function Ns(e) {
|
|
3162
3162
|
var t = this.__data__;
|
3163
3163
|
return le ? t[e] !== void 0 : Es.call(t, e);
|
3164
3164
|
}
|
3165
|
-
var
|
3166
|
-
function
|
3165
|
+
var Ts = "__lodash_hash_undefined__";
|
3166
|
+
function Rs(e, t) {
|
3167
3167
|
var n = this.__data__;
|
3168
|
-
return this.size += this.has(e) ? 0 : 1, n[e] = le && t === void 0 ?
|
3168
|
+
return this.size += this.has(e) ? 0 : 1, n[e] = le && t === void 0 ? Ts : t, this;
|
3169
3169
|
}
|
3170
|
-
function
|
3170
|
+
function z(e) {
|
3171
3171
|
var t = -1, n = e == null ? 0 : e.length;
|
3172
3172
|
for (this.clear(); ++t < n; ) {
|
3173
3173
|
var r = e[t];
|
3174
3174
|
this.set(r[0], r[1]);
|
3175
3175
|
}
|
3176
3176
|
}
|
3177
|
-
|
3178
|
-
|
3179
|
-
|
3180
|
-
|
3181
|
-
|
3177
|
+
z.prototype.clear = ws;
|
3178
|
+
z.prototype.delete = Ps;
|
3179
|
+
z.prototype.get = Fs;
|
3180
|
+
z.prototype.has = Ns;
|
3181
|
+
z.prototype.set = Rs;
|
3182
3182
|
function Ms() {
|
3183
3183
|
this.size = 0, this.__data__ = {
|
3184
|
-
hash: new
|
3184
|
+
hash: new z(),
|
3185
3185
|
map: new (ue || k)(),
|
3186
|
-
string: new
|
3186
|
+
string: new z()
|
3187
3187
|
};
|
3188
3188
|
}
|
3189
3189
|
function $s(e) {
|
@@ -3247,13 +3247,13 @@ function Vs(e, t) {
|
|
3247
3247
|
}
|
3248
3248
|
var Ws = function() {
|
3249
3249
|
try {
|
3250
|
-
var e =
|
3250
|
+
var e = J(Object, "defineProperty");
|
3251
3251
|
return e({}, "", {}), e;
|
3252
3252
|
} catch {
|
3253
3253
|
}
|
3254
3254
|
}();
|
3255
3255
|
const vt = Ws;
|
3256
|
-
function
|
3256
|
+
function Jt(e, t, n) {
|
3257
3257
|
t == "__proto__" && vt ? vt(e, t, {
|
3258
3258
|
configurable: !0,
|
3259
3259
|
enumerable: !0,
|
@@ -3262,43 +3262,43 @@ function Qt(e, t, n) {
|
|
3262
3262
|
}) : e[t] = n;
|
3263
3263
|
}
|
3264
3264
|
var Ks = Object.prototype, Hs = Ks.hasOwnProperty;
|
3265
|
-
function
|
3265
|
+
function Qt(e, t, n) {
|
3266
3266
|
var r = e[t];
|
3267
|
-
(!(Hs.call(e, t) &&
|
3267
|
+
(!(Hs.call(e, t) && Gt(r, n)) || n === void 0 && !(t in e)) && Jt(e, t, n);
|
3268
3268
|
}
|
3269
|
-
function
|
3269
|
+
function Te(e, t, n, r) {
|
3270
3270
|
var s = !n;
|
3271
3271
|
n || (n = {});
|
3272
3272
|
for (var i = -1, a = t.length; ++i < a; ) {
|
3273
3273
|
var o = t[i], u = r ? r(n[o], e[o], o, n, e) : void 0;
|
3274
|
-
u === void 0 && (u = e[o]), s ?
|
3274
|
+
u === void 0 && (u = e[o]), s ? Jt(n, o, u) : Qt(n, o, u);
|
3275
3275
|
}
|
3276
3276
|
return n;
|
3277
3277
|
}
|
3278
|
-
function
|
3279
|
-
return e &&
|
3278
|
+
function zs(e, t) {
|
3279
|
+
return e && Te(t, Qe(t), e);
|
3280
3280
|
}
|
3281
|
-
function
|
3281
|
+
function Gs(e) {
|
3282
3282
|
var t = [];
|
3283
3283
|
if (e != null)
|
3284
3284
|
for (var n in Object(e))
|
3285
3285
|
t.push(n);
|
3286
3286
|
return t;
|
3287
3287
|
}
|
3288
|
-
var
|
3288
|
+
var Js = Object.prototype, Qs = Js.hasOwnProperty;
|
3289
3289
|
function Ys(e) {
|
3290
|
-
if (!
|
3291
|
-
return
|
3290
|
+
if (!De(e))
|
3291
|
+
return Gs(e);
|
3292
3292
|
var t = kt(e), n = [];
|
3293
3293
|
for (var r in e)
|
3294
|
-
r == "constructor" && (t || !
|
3294
|
+
r == "constructor" && (t || !Qs.call(e, r)) || n.push(r);
|
3295
3295
|
return n;
|
3296
3296
|
}
|
3297
3297
|
function Xe(e) {
|
3298
3298
|
return Bn(e) ? Un(e, !0) : Ys(e);
|
3299
3299
|
}
|
3300
3300
|
function Zs(e, t) {
|
3301
|
-
return e &&
|
3301
|
+
return e && Te(t, Xe(t), e);
|
3302
3302
|
}
|
3303
3303
|
var Yt = typeof exports == "object" && exports && !exports.nodeType && exports, xt = Yt && typeof module == "object" && module && !module.nodeType && module, Xs = xt && xt.exports === Yt, Ct = Xs ? U.Buffer : void 0, wt = Ct ? Ct.allocUnsafe : void 0;
|
3304
3304
|
function ei(e, t) {
|
@@ -3323,14 +3323,14 @@ function ni(e, t) {
|
|
3323
3323
|
function Zt() {
|
3324
3324
|
return [];
|
3325
3325
|
}
|
3326
|
-
var ri = Object.prototype, si = ri.propertyIsEnumerable,
|
3327
|
-
return e == null ? [] : (e = Object(e), ni(
|
3326
|
+
var ri = Object.prototype, si = ri.propertyIsEnumerable, Pt = Object.getOwnPropertySymbols, ii = Pt ? function(e) {
|
3327
|
+
return e == null ? [] : (e = Object(e), ni(Pt(e), function(t) {
|
3328
3328
|
return si.call(e, t);
|
3329
3329
|
}));
|
3330
3330
|
} : Zt;
|
3331
3331
|
const et = ii;
|
3332
3332
|
function ai(e, t) {
|
3333
|
-
return
|
3333
|
+
return Te(e, et(e), t);
|
3334
3334
|
}
|
3335
3335
|
function Xt(e, t) {
|
3336
3336
|
for (var n = -1, r = t.length, s = e.length; ++n < r; )
|
@@ -3346,37 +3346,37 @@ var ui = Object.getOwnPropertySymbols, li = ui ? function(e) {
|
|
3346
3346
|
} : Zt;
|
3347
3347
|
const tn = li;
|
3348
3348
|
function ci(e, t) {
|
3349
|
-
return
|
3349
|
+
return Te(e, tn(e), t);
|
3350
3350
|
}
|
3351
3351
|
function nn(e, t, n) {
|
3352
3352
|
var r = t(e);
|
3353
3353
|
return Bt(e) ? r : Xt(r, n(e));
|
3354
3354
|
}
|
3355
3355
|
function di(e) {
|
3356
|
-
return nn(e,
|
3356
|
+
return nn(e, Qe, et);
|
3357
3357
|
}
|
3358
3358
|
function fi(e) {
|
3359
3359
|
return nn(e, Xe, tn);
|
3360
3360
|
}
|
3361
|
-
var pi =
|
3361
|
+
var pi = J(U, "DataView");
|
3362
3362
|
const Ke = pi;
|
3363
|
-
var gi =
|
3363
|
+
var gi = J(U, "Promise");
|
3364
3364
|
const He = gi;
|
3365
|
-
var hi =
|
3366
|
-
const
|
3367
|
-
var mi =
|
3368
|
-
const
|
3369
|
-
var
|
3370
|
-
(Ke && K(new Ke(new ArrayBuffer(1))) != Lt || ue && K(new ue()) !=
|
3371
|
-
var t = Ut(e), n = t == yi ? e.constructor : void 0, r = n ?
|
3365
|
+
var hi = J(U, "Set");
|
3366
|
+
const ze = hi;
|
3367
|
+
var mi = J(U, "WeakMap");
|
3368
|
+
const Ge = mi;
|
3369
|
+
var Dt = "[object Map]", yi = "[object Object]", jt = "[object Promise]", At = "[object Set]", Ft = "[object WeakMap]", Lt = "[object DataView]", bi = G(Ke), Si = G(ue), Oi = G(He), vi = G(ze), xi = G(Ge), K = Ut;
|
3370
|
+
(Ke && K(new Ke(new ArrayBuffer(1))) != Lt || ue && K(new ue()) != Dt || He && K(He.resolve()) != jt || ze && K(new ze()) != At || Ge && K(new Ge()) != Ft) && (K = function(e) {
|
3371
|
+
var t = Ut(e), n = t == yi ? e.constructor : void 0, r = n ? G(n) : "";
|
3372
3372
|
if (r)
|
3373
3373
|
switch (r) {
|
3374
3374
|
case bi:
|
3375
3375
|
return Lt;
|
3376
3376
|
case Si:
|
3377
|
-
return
|
3377
|
+
return Dt;
|
3378
3378
|
case Oi:
|
3379
|
-
return
|
3379
|
+
return jt;
|
3380
3380
|
case vi:
|
3381
3381
|
return At;
|
3382
3382
|
case xi:
|
@@ -3386,17 +3386,17 @@ var jt = "[object Map]", yi = "[object Object]", Pt = "[object Promise]", At = "
|
|
3386
3386
|
});
|
3387
3387
|
const tt = K;
|
3388
3388
|
var Ci = Object.prototype, wi = Ci.hasOwnProperty;
|
3389
|
-
function
|
3389
|
+
function Pi(e) {
|
3390
3390
|
var t = e.length, n = new e.constructor(t);
|
3391
3391
|
return t && typeof e[0] == "string" && wi.call(e, "index") && (n.index = e.index, n.input = e.input), n;
|
3392
3392
|
}
|
3393
|
-
var
|
3394
|
-
const Et =
|
3393
|
+
var Di = U.Uint8Array;
|
3394
|
+
const Et = Di;
|
3395
3395
|
function nt(e) {
|
3396
3396
|
var t = new e.constructor(e.byteLength);
|
3397
3397
|
return new Et(t).set(new Et(e)), t;
|
3398
3398
|
}
|
3399
|
-
function
|
3399
|
+
function ji(e, t) {
|
3400
3400
|
var n = t ? nt(e.buffer) : e.buffer;
|
3401
3401
|
return new e.constructor(n, e.byteOffset, e.byteLength);
|
3402
3402
|
}
|
@@ -3405,36 +3405,36 @@ function Fi(e) {
|
|
3405
3405
|
var t = new e.constructor(e.source, Ai.exec(e));
|
3406
3406
|
return t.lastIndex = e.lastIndex, t;
|
3407
3407
|
}
|
3408
|
-
var Nt = ot ? ot.prototype : void 0,
|
3408
|
+
var Nt = ot ? ot.prototype : void 0, Tt = Nt ? Nt.valueOf : void 0;
|
3409
3409
|
function Li(e) {
|
3410
|
-
return
|
3410
|
+
return Tt ? Object(Tt.call(e)) : {};
|
3411
3411
|
}
|
3412
3412
|
function Ei(e, t) {
|
3413
3413
|
var n = t ? nt(e.buffer) : e.buffer;
|
3414
3414
|
return new e.constructor(n, e.byteOffset, e.length);
|
3415
3415
|
}
|
3416
|
-
var Ni = "[object Boolean]",
|
3416
|
+
var Ni = "[object Boolean]", Ti = "[object Date]", Ri = "[object Map]", Mi = "[object Number]", $i = "[object RegExp]", Ii = "[object Set]", _i = "[object String]", ki = "[object Symbol]", Bi = "[object ArrayBuffer]", Ui = "[object DataView]", qi = "[object Float32Array]", Vi = "[object Float64Array]", Wi = "[object Int8Array]", Ki = "[object Int16Array]", Hi = "[object Int32Array]", zi = "[object Uint8Array]", Gi = "[object Uint8ClampedArray]", Ji = "[object Uint16Array]", Qi = "[object Uint32Array]";
|
3417
3417
|
function Yi(e, t, n) {
|
3418
3418
|
var r = e.constructor;
|
3419
3419
|
switch (t) {
|
3420
3420
|
case Bi:
|
3421
3421
|
return nt(e);
|
3422
3422
|
case Ni:
|
3423
|
-
case
|
3423
|
+
case Ti:
|
3424
3424
|
return new r(+e);
|
3425
3425
|
case Ui:
|
3426
|
-
return
|
3426
|
+
return ji(e, n);
|
3427
3427
|
case qi:
|
3428
3428
|
case Vi:
|
3429
3429
|
case Wi:
|
3430
3430
|
case Ki:
|
3431
3431
|
case Hi:
|
3432
|
-
case Gi:
|
3433
3432
|
case zi:
|
3434
|
-
case
|
3433
|
+
case Gi:
|
3435
3434
|
case Ji:
|
3435
|
+
case Qi:
|
3436
3436
|
return Ei(e, n);
|
3437
|
-
case
|
3437
|
+
case Ri:
|
3438
3438
|
return new r();
|
3439
3439
|
case Mi:
|
3440
3440
|
case _i:
|
@@ -3447,14 +3447,14 @@ function Yi(e, t, n) {
|
|
3447
3447
|
return Li(e);
|
3448
3448
|
}
|
3449
3449
|
}
|
3450
|
-
var
|
3450
|
+
var Rt = Object.create, Zi = function() {
|
3451
3451
|
function e() {
|
3452
3452
|
}
|
3453
3453
|
return function(t) {
|
3454
|
-
if (!
|
3454
|
+
if (!De(t))
|
3455
3455
|
return {};
|
3456
|
-
if (
|
3457
|
-
return
|
3456
|
+
if (Rt)
|
3457
|
+
return Rt(t);
|
3458
3458
|
e.prototype = t;
|
3459
3459
|
var n = new e();
|
3460
3460
|
return e.prototype = void 0, n;
|
@@ -3476,18 +3476,18 @@ function aa(e) {
|
|
3476
3476
|
}
|
3477
3477
|
var $t = Se && Se.isSet, oa = $t ? Vt($t) : aa;
|
3478
3478
|
const ua = oa;
|
3479
|
-
var la = 1, ca = 2, da = 4, rn = "[object Arguments]", fa = "[object Array]", pa = "[object Boolean]", ga = "[object Date]", ha = "[object Error]", sn = "[object Function]", ma = "[object GeneratorFunction]", ya = "[object Map]", ba = "[object Number]", an = "[object Object]", Sa = "[object RegExp]", Oa = "[object Set]", va = "[object String]", xa = "[object Symbol]", Ca = "[object WeakMap]", wa = "[object ArrayBuffer]",
|
3480
|
-
v[rn] = v[fa] = v[wa] = v[
|
3479
|
+
var la = 1, ca = 2, da = 4, rn = "[object Arguments]", fa = "[object Array]", pa = "[object Boolean]", ga = "[object Date]", ha = "[object Error]", sn = "[object Function]", ma = "[object GeneratorFunction]", ya = "[object Map]", ba = "[object Number]", an = "[object Object]", Sa = "[object RegExp]", Oa = "[object Set]", va = "[object String]", xa = "[object Symbol]", Ca = "[object WeakMap]", wa = "[object ArrayBuffer]", Pa = "[object DataView]", Da = "[object Float32Array]", ja = "[object Float64Array]", Aa = "[object Int8Array]", Fa = "[object Int16Array]", La = "[object Int32Array]", Ea = "[object Uint8Array]", Na = "[object Uint8ClampedArray]", Ta = "[object Uint16Array]", Ra = "[object Uint32Array]", v = {};
|
3480
|
+
v[rn] = v[fa] = v[wa] = v[Pa] = v[pa] = v[ga] = v[Da] = v[ja] = v[Aa] = v[Fa] = v[La] = v[ya] = v[ba] = v[an] = v[Sa] = v[Oa] = v[va] = v[xa] = v[Ea] = v[Na] = v[Ta] = v[Ra] = !0;
|
3481
3481
|
v[ha] = v[sn] = v[Ca] = !1;
|
3482
3482
|
function ge(e, t, n, r, s, i) {
|
3483
3483
|
var a, o = t & la, u = t & ca, c = t & da;
|
3484
3484
|
if (n && (a = s ? n(e, r, s, i) : n(e)), a !== void 0)
|
3485
3485
|
return a;
|
3486
|
-
if (!
|
3486
|
+
if (!De(e))
|
3487
3487
|
return e;
|
3488
3488
|
var d = Bt(e);
|
3489
3489
|
if (d) {
|
3490
|
-
if (a =
|
3490
|
+
if (a = Pi(e), !o)
|
3491
3491
|
return ti(e, a);
|
3492
3492
|
} else {
|
3493
3493
|
var f = tt(e), l = f == sn || f == ma;
|
@@ -3495,7 +3495,7 @@ function ge(e, t, n, r, s, i) {
|
|
3495
3495
|
return ei(e, o);
|
3496
3496
|
if (f == an || f == rn || l && !s) {
|
3497
3497
|
if (a = u || l ? {} : ea(e), !o)
|
3498
|
-
return u ? ci(e, Zs(a, e)) : ai(e,
|
3498
|
+
return u ? ci(e, Zs(a, e)) : ai(e, zs(a, e));
|
3499
3499
|
} else {
|
3500
3500
|
if (!v[f])
|
3501
3501
|
return s ? e : {};
|
@@ -3511,9 +3511,9 @@ function ge(e, t, n, r, s, i) {
|
|
3511
3511
|
}) : sa(e) && e.forEach(function(h, x) {
|
3512
3512
|
a.set(x, ge(h, t, n, x, e, i));
|
3513
3513
|
});
|
3514
|
-
var p = c ? u ? fi : di : u ? Xe :
|
3514
|
+
var p = c ? u ? fi : di : u ? Xe : Qe, m = d ? void 0 : p(e);
|
3515
3515
|
return Vs(m || e, function(h, x) {
|
3516
|
-
m && (x = h, h = e[x]),
|
3516
|
+
m && (x = h, h = e[x]), Qt(a, x, ge(h, t, n, x, e, i));
|
3517
3517
|
}), a;
|
3518
3518
|
}
|
3519
3519
|
var Ma = 1, $a = 4;
|
@@ -3680,9 +3680,9 @@ var Be;
|
|
3680
3680
|
(function(e) {
|
3681
3681
|
e.PRE = "pre", e.POST = "post";
|
3682
3682
|
})(Be = Be || (Be = {}));
|
3683
|
-
function
|
3683
|
+
function Je(e, t = []) {
|
3684
3684
|
try {
|
3685
|
-
return e == null ? String(e) : typeof e == "string" ? `'${Hr(e)}'` : typeof e == "number" || typeof e == "boolean" ? String(e) : e instanceof Date ? `new Date('${e.toISOString()}')` : Array.isArray(e) ? `[${e.map((n) =>
|
3685
|
+
return e == null ? String(e) : typeof e == "string" ? `'${Hr(e)}'` : typeof e == "number" || typeof e == "boolean" ? String(e) : e instanceof Date ? `new Date('${e.toISOString()}')` : Array.isArray(e) ? `[${e.map((n) => Je(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}: ${Je(s, t)}`).join(", ")} }` : JSON.stringify(e);
|
3686
3686
|
} catch (n) {
|
3687
3687
|
return console.error(n, JSON.stringify(e, null, 2)), JSON.stringify(e);
|
3688
3688
|
}
|
@@ -3696,7 +3696,7 @@ function Ua(e) {
|
|
3696
3696
|
function qa(e, t) {
|
3697
3697
|
return function(n) {
|
3698
3698
|
return function(...r) {
|
3699
|
-
const s = Ua(r), i = s.length, a = s.map((c) =>
|
3699
|
+
const s = Ua(r), i = s.length, a = s.map((c) => Je(c, ["guid"])).filter((c, d) => !(["", "{ }", "[]", "undefined", "null"].includes(c) && d === i - 1)).join(", "), o = `${e}.${t ?? n.name}(${a})`, u = n(...r);
|
3700
3700
|
return u.composeCode = o, u;
|
3701
3701
|
};
|
3702
3702
|
};
|
@@ -3854,8 +3854,8 @@ const qo = (e) => {
|
|
3854
3854
|
n({ type: "error", error: a });
|
3855
3855
|
}
|
3856
3856
|
};
|
3857
|
-
return
|
3858
|
-
[...
|
3857
|
+
return T(
|
3858
|
+
[...R(e), r],
|
3859
3859
|
() => {
|
3860
3860
|
const { app: i } = r.value, { enabled: a } = O(e);
|
3861
3861
|
!i || !(a === void 0 || a === !0) || s(i);
|
@@ -3889,8 +3889,8 @@ const qo = (e) => {
|
|
3889
3889
|
s({ type: "error", error: u });
|
3890
3890
|
}
|
3891
3891
|
};
|
3892
|
-
return
|
3893
|
-
[...
|
3892
|
+
return T(
|
3893
|
+
[...R(e), i],
|
3894
3894
|
() => {
|
3895
3895
|
const { app: o } = i.value, { enabled: u } = O(e);
|
3896
3896
|
!o || !(u === void 0 || u === !0) || a(o);
|
@@ -3903,7 +3903,7 @@ const qo = (e) => {
|
|
3903
3903
|
};
|
3904
3904
|
}, Wo = (e) => {
|
3905
3905
|
M("useExecuteCsvQuery");
|
3906
|
-
const t = new
|
3906
|
+
const t = new je(Hn, [
|
3907
3907
|
Ae()
|
3908
3908
|
]), [n, r] = Fe({
|
3909
3909
|
isLoading: !0,
|
@@ -3915,14 +3915,14 @@ const qo = (e) => {
|
|
3915
3915
|
});
|
3916
3916
|
return t.subscribe((s) => {
|
3917
3917
|
r(s);
|
3918
|
-
}), t.run(O(e)),
|
3918
|
+
}), t.run(O(e)), T([...R(e)], () => {
|
3919
3919
|
t.run(O(e));
|
3920
|
-
}),
|
3920
|
+
}), Pe(() => {
|
3921
3921
|
t.destroy();
|
3922
3922
|
}), A(n.value);
|
3923
3923
|
}, Ko = (e) => {
|
3924
3924
|
M("useExecuteCustomWidgetQuery");
|
3925
|
-
const t = new
|
3925
|
+
const t = new je(zn, [
|
3926
3926
|
Ae()
|
3927
3927
|
]), [n, r] = Fe({
|
3928
3928
|
data: void 0,
|
@@ -3934,9 +3934,9 @@ const qo = (e) => {
|
|
3934
3934
|
});
|
3935
3935
|
return t.subscribe((s) => {
|
3936
3936
|
r(s);
|
3937
|
-
}), t.run(O(e)),
|
3937
|
+
}), t.run(O(e)), T([...R(e)], () => {
|
3938
3938
|
t.run(O(e));
|
3939
|
-
}),
|
3939
|
+
}), Pe(() => {
|
3940
3940
|
t.destroy();
|
3941
3941
|
}), A(n.value);
|
3942
3942
|
}, Ho = (e) => {
|
@@ -3953,7 +3953,7 @@ const qo = (e) => {
|
|
3953
3953
|
enableMultiSelection: !1,
|
3954
3954
|
hasBackgroundFilter: !1
|
3955
3955
|
}
|
3956
|
-
}, s = new
|
3956
|
+
}, s = new je(Gn, [Ae()]), [i, a] = Fe({
|
3957
3957
|
isLoading: !0,
|
3958
3958
|
isError: !1,
|
3959
3959
|
isSuccess: !1,
|
@@ -3963,12 +3963,12 @@ const qo = (e) => {
|
|
3963
3963
|
});
|
3964
3964
|
return s.subscribe((o) => {
|
3965
3965
|
a(o);
|
3966
|
-
}), s.run(O(e)),
|
3966
|
+
}), s.run(O(e)), T([...R(e)], () => {
|
3967
3967
|
s.run(O(e));
|
3968
|
-
}),
|
3968
|
+
}), Pe(() => {
|
3969
3969
|
s.destroy();
|
3970
3970
|
}), A(i.value);
|
3971
|
-
},
|
3971
|
+
}, zo = (e) => {
|
3972
3972
|
M("useGetDashboardModel");
|
3973
3973
|
const [t, n] = q(X, {
|
3974
3974
|
isLoading: !0,
|
@@ -3980,7 +3980,7 @@ const qo = (e) => {
|
|
3980
3980
|
}), r = V(), s = async (a) => {
|
3981
3981
|
try {
|
3982
3982
|
n({ type: "loading" });
|
3983
|
-
const { dashboardOid: o, includeWidgets: u, includeFilters: c } = O(e), d = await
|
3983
|
+
const { dashboardOid: o, includeWidgets: u, includeFilters: c } = O(e), d = await Qn(a.httpClient, o, {
|
3984
3984
|
includeWidgets: u,
|
3985
3985
|
includeFilters: c
|
3986
3986
|
});
|
@@ -3989,8 +3989,8 @@ const qo = (e) => {
|
|
3989
3989
|
n({ type: "error", error: o });
|
3990
3990
|
}
|
3991
3991
|
};
|
3992
|
-
|
3993
|
-
[...
|
3992
|
+
T(
|
3993
|
+
[...R(e), r],
|
3994
3994
|
() => {
|
3995
3995
|
const { app: a } = r.value, { enabled: o } = O(e);
|
3996
3996
|
!a || !(o === void 0 || o === !0) || s(a);
|
@@ -3998,8 +3998,8 @@ const qo = (e) => {
|
|
3998
3998
|
{ immediate: !0 }
|
3999
3999
|
);
|
4000
4000
|
const i = A(t.value);
|
4001
|
-
return A(
|
4002
|
-
},
|
4001
|
+
return A(Jn(i));
|
4002
|
+
}, Go = (e) => {
|
4003
4003
|
M("useGetDashboardModels");
|
4004
4004
|
const [t, n] = q(X, {
|
4005
4005
|
isLoading: !0,
|
@@ -4017,8 +4017,8 @@ const qo = (e) => {
|
|
4017
4017
|
n({ type: "error", error: o });
|
4018
4018
|
}
|
4019
4019
|
};
|
4020
|
-
|
4021
|
-
[...
|
4020
|
+
T(
|
4021
|
+
[...R(e), r],
|
4022
4022
|
() => {
|
4023
4023
|
const { app: a } = r.value, { enabled: o } = O(e);
|
4024
4024
|
!a || !(o === void 0 || o === !0) || s(a);
|
@@ -4027,7 +4027,7 @@ const qo = (e) => {
|
|
4027
4027
|
);
|
4028
4028
|
const i = A(t.value);
|
4029
4029
|
return A(Yn(i));
|
4030
|
-
},
|
4030
|
+
}, Jo = (e) => {
|
4031
4031
|
M("useGetSharedFormula");
|
4032
4032
|
const [t, n] = q(X, {
|
4033
4033
|
isLoading: !0,
|
@@ -4046,8 +4046,8 @@ const qo = (e) => {
|
|
4046
4046
|
n({ type: "error", error: f });
|
4047
4047
|
});
|
4048
4048
|
};
|
4049
|
-
|
4050
|
-
[...
|
4049
|
+
T(
|
4050
|
+
[...R(e), r],
|
4051
4051
|
() => {
|
4052
4052
|
const { app: a } = r.value, { enabled: o } = O(e);
|
4053
4053
|
!a || !(o === void 0 || o === !0) || s(a);
|
@@ -4058,7 +4058,7 @@ const qo = (e) => {
|
|
4058
4058
|
return A(
|
4059
4059
|
Xn(i)
|
4060
4060
|
);
|
4061
|
-
},
|
4061
|
+
}, Qo = (e) => {
|
4062
4062
|
M("useGetWidgetModel");
|
4063
4063
|
const [t, n] = q(X, {
|
4064
4064
|
isLoading: !0,
|
@@ -4076,8 +4076,8 @@ const qo = (e) => {
|
|
4076
4076
|
n({ type: "error", error: a });
|
4077
4077
|
}
|
4078
4078
|
};
|
4079
|
-
return
|
4080
|
-
[...
|
4079
|
+
return T(
|
4080
|
+
[...R(e), r],
|
4081
4081
|
() => {
|
4082
4082
|
const { app: i } = r.value, { enabled: a } = O(e);
|
4083
4083
|
!i || !(a === void 0 || a === !0) || s(i);
|
@@ -4102,8 +4102,8 @@ const qo = (e) => {
|
|
4102
4102
|
n({ type: "error", error: a });
|
4103
4103
|
}
|
4104
4104
|
};
|
4105
|
-
return
|
4106
|
-
[...
|
4105
|
+
return T(
|
4106
|
+
[...R(e), r],
|
4107
4107
|
() => {
|
4108
4108
|
const { app: i } = r.value, { enabled: a } = O(e);
|
4109
4109
|
!i || !(a === void 0 || a === !0) || s(i);
|
@@ -4134,8 +4134,8 @@ const qo = (e) => {
|
|
4134
4134
|
s({ type: "error", error: u });
|
4135
4135
|
}
|
4136
4136
|
};
|
4137
|
-
return
|
4138
|
-
[...
|
4137
|
+
return T(
|
4138
|
+
[...R(e, t, n), i],
|
4139
4139
|
() => {
|
4140
4140
|
const { app: o } = i.value, u = O(n || {}).enabled;
|
4141
4141
|
!o || !(u === void 0 || u === !0) || a(o.httpClient);
|
@@ -4143,7 +4143,7 @@ const qo = (e) => {
|
|
4143
4143
|
{ immediate: !0 }
|
4144
4144
|
), A(r.value);
|
4145
4145
|
};
|
4146
|
-
function
|
4146
|
+
function za(e, t) {
|
4147
4147
|
const n = document.createElement("div");
|
4148
4148
|
n.style.width = "100%", n.style.height = "100%";
|
4149
4149
|
const r = cn(e, t);
|
@@ -4166,7 +4166,7 @@ const Xo = () => {
|
|
4166
4166
|
*/
|
4167
4167
|
registerCustomWidget: (t, n) => {
|
4168
4168
|
const r = (s) => {
|
4169
|
-
const i =
|
4169
|
+
const i = za(n, s);
|
4170
4170
|
return ir(
|
4171
4171
|
i.element,
|
4172
4172
|
() => i.destroy()
|
@@ -4187,14 +4187,14 @@ const Xo = () => {
|
|
4187
4187
|
};
|
4188
4188
|
}, eu = (e, t = {}) => {
|
4189
4189
|
M("useComposedDashboard");
|
4190
|
-
const n = new
|
4190
|
+
const n = new je(ar, [
|
4191
4191
|
Ae()
|
4192
4192
|
]), [r, s] = Fe(O(e));
|
4193
4193
|
n.subscribe(({ dashboard: o }) => {
|
4194
4194
|
s(o);
|
4195
|
-
}), n.run(O(e), t),
|
4195
|
+
}), n.run(O(e), t), T([...R(e)], () => {
|
4196
4196
|
n.run(O(e), t);
|
4197
|
-
}),
|
4197
|
+
}), Pe(() => {
|
4198
4198
|
n.destroy();
|
4199
4199
|
});
|
4200
4200
|
const i = ut(n, "setFilters"), a = ut(n, "setWidgetsLayout");
|
@@ -4203,7 +4203,7 @@ const Xo = () => {
|
|
4203
4203
|
setFilters: i,
|
4204
4204
|
setWidgetsLayout: a
|
4205
4205
|
};
|
4206
|
-
},
|
4206
|
+
}, Ga = y({
|
4207
4207
|
props: {
|
4208
4208
|
/**
|
4209
4209
|
* {@inheritDoc @sisense/sdk-ui!ContextMenuProps.closeContextMenu}
|
@@ -4222,7 +4222,7 @@ const Xo = () => {
|
|
4222
4222
|
position: Object
|
4223
4223
|
},
|
4224
4224
|
setup: (e, { slots: t }) => _t(or, e, t, [])
|
4225
|
-
}),
|
4225
|
+
}), Ja = ({
|
4226
4226
|
drilldownPaths: e,
|
4227
4227
|
initialDimension: t
|
4228
4228
|
}) => {
|
@@ -4275,7 +4275,7 @@ const Xo = () => {
|
|
4275
4275
|
sliceDrilldownSelections: c,
|
4276
4276
|
clearDrilldownSelections: d
|
4277
4277
|
};
|
4278
|
-
},
|
4278
|
+
}, Qa = y({
|
4279
4279
|
props: {
|
4280
4280
|
/**
|
4281
4281
|
* {@inheritDoc @sisense/sdk-ui!DrilldownWidgetProps.config}
|
@@ -4313,7 +4313,7 @@ const Xo = () => {
|
|
4313
4313
|
}
|
4314
4314
|
}), Ya = { style: { display: "flex", "flex-direction": "column", height: "100%" } }, Za = { style: { "flex-grow": "1", "min-wdith": "0", "min-height": "0" } }, tu = /* @__PURE__ */ y({
|
4315
4315
|
__name: "drilldown-widget",
|
4316
|
-
props:
|
4316
|
+
props: Qa.props,
|
4317
4317
|
setup(e) {
|
4318
4318
|
const t = e, { drilldownPaths: n, initialDimension: r, config: s } = A(t), i = B(null), a = B([]), {
|
4319
4319
|
drilldownFilters: o,
|
@@ -4327,40 +4327,40 @@ const Xo = () => {
|
|
4327
4327
|
selectDrilldown: f,
|
4328
4328
|
sliceDrilldownSelections: l,
|
4329
4329
|
clearDrilldownSelections: g
|
4330
|
-
} =
|
4330
|
+
} = Ja({
|
4331
4331
|
drilldownPaths: n,
|
4332
4332
|
initialDimension: r.value
|
4333
|
-
}), p = (
|
4334
|
-
f(a.value,
|
4333
|
+
}), p = (P) => {
|
4334
|
+
f(a.value, P);
|
4335
4335
|
}, m = We(() => {
|
4336
|
-
const
|
4336
|
+
const P = (C) => C === "drilldown.drillMenuItem" ? "Drill" : C;
|
4337
4337
|
return [
|
4338
4338
|
dr(a.value, u.value),
|
4339
4339
|
fr(
|
4340
4340
|
d.value,
|
4341
4341
|
u.value,
|
4342
4342
|
p,
|
4343
|
-
|
4343
|
+
P
|
4344
4344
|
)
|
4345
4345
|
];
|
4346
|
-
}), h = (
|
4347
|
-
i.value =
|
4348
|
-
}, x = (
|
4349
|
-
a.value =
|
4346
|
+
}), h = (P) => {
|
4347
|
+
i.value = P;
|
4348
|
+
}, x = (P) => {
|
4349
|
+
a.value = P;
|
4350
4350
|
}, w = () => {
|
4351
4351
|
i.value = null;
|
4352
4352
|
};
|
4353
|
-
return (
|
4354
|
-
|
4353
|
+
return (P, C) => (dn(), fn("div", Ya, [
|
4354
|
+
Re(P.$slots, "contextMenu", {
|
4355
4355
|
contextMenuProps: { position: i.value, itemSections: m.value, closeContextMenu: w }
|
4356
4356
|
}, () => [
|
4357
|
-
at(E(
|
4357
|
+
at(E(Ga), {
|
4358
4358
|
position: i.value,
|
4359
4359
|
itemSections: m.value,
|
4360
4360
|
closeContextMenu: w
|
4361
4361
|
}, null, 8, ["position", "itemSections"])
|
4362
4362
|
]),
|
4363
|
-
|
4363
|
+
Re(P.$slots, "breadcrumbs", {
|
4364
4364
|
drilldownBreadcrumbsProps: {
|
4365
4365
|
clearDrilldownSelections: E(g),
|
4366
4366
|
sliceDrilldownSelections: E(l),
|
@@ -4376,7 +4376,7 @@ const Xo = () => {
|
|
4376
4376
|
}, null, 8, ["clear-drilldown-selections", "slice-drilldown-selections", "filters-display-values", "current-dimension"])
|
4377
4377
|
]),
|
4378
4378
|
pn("div", Za, [
|
4379
|
-
|
4379
|
+
Re(P.$slots, "chart", {
|
4380
4380
|
drilldownFilters: E(o),
|
4381
4381
|
drilldownDimension: E(u),
|
4382
4382
|
onDataPointsSelected: x,
|
@@ -4887,13 +4887,13 @@ const cu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4887
4887
|
export {
|
4888
4888
|
bo as AreaChart,
|
4889
4889
|
Mo as AreaRangeChart,
|
4890
|
-
|
4890
|
+
To as AreamapChart,
|
4891
4891
|
So as BarChart,
|
4892
4892
|
No as BoxplotChart,
|
4893
4893
|
Eo as Chart,
|
4894
4894
|
nu as ChartWidget,
|
4895
4895
|
Oo as ColumnChart,
|
4896
|
-
|
4896
|
+
Ga as ContextMenu,
|
4897
4897
|
_o as CriteriaFilterTile,
|
4898
4898
|
pu as CustomWidgetsProvider,
|
4899
4899
|
ou as Dashboard,
|
@@ -4908,17 +4908,17 @@ export {
|
|
4908
4908
|
xo as LineChart,
|
4909
4909
|
Io as MemberFilterTile,
|
4910
4910
|
Co as PieChart,
|
4911
|
-
|
4911
|
+
Do as PivotTable,
|
4912
4912
|
Fo as PolarChart,
|
4913
4913
|
ko as RelativeDateFilterTile,
|
4914
4914
|
wo as ScatterChart,
|
4915
|
-
|
4915
|
+
Ro as ScattermapChart,
|
4916
4916
|
gu as SisenseContextProvider,
|
4917
4917
|
Ao as SunburstChart,
|
4918
|
-
|
4918
|
+
Po as Table,
|
4919
4919
|
su as TableWidget,
|
4920
4920
|
hu as ThemeProvider,
|
4921
|
-
|
4921
|
+
jo as TreemapChart,
|
4922
4922
|
iu as Widget,
|
4923
4923
|
ru as WidgetById,
|
4924
4924
|
mu as boxWhiskerProcessResult,
|
@@ -4932,11 +4932,11 @@ export {
|
|
4932
4932
|
qo as useExecuteQuery,
|
4933
4933
|
Vo as useExecuteQueryByWidgetId,
|
4934
4934
|
Zo as useFetch,
|
4935
|
-
|
4936
|
-
|
4935
|
+
zo as useGetDashboardModel,
|
4936
|
+
Go as useGetDashboardModels,
|
4937
4937
|
Ho as useGetFilterMembers,
|
4938
4938
|
Yo as useGetHierarchyModels,
|
4939
|
-
|
4940
|
-
|
4939
|
+
Jo as useGetSharedFormula,
|
4940
|
+
Qo as useGetWidgetModel,
|
4941
4941
|
cu as widgetModelTranslator
|
4942
4942
|
};
|