@sisense/sdk-ui-vue 2.4.1 → 2.5.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 +23 -23
- package/dist/ai.js +440 -422
- package/dist/index.cjs +1 -1
- package/dist/index.js +53 -53
- package/dist/{use-tracking-3eba129a.js → use-tracking-22a9105d.js} +35688 -35564
- package/dist/use-tracking-93de730a.cjs +1073 -0
- package/package.json +2 -2
- package/dist/use-tracking-19aac038.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 gu, ax as hu, ay as mu, aA as yu, aB as bu } from "./use-tracking-
|
1
|
+
import { defineComponent as y, watch as R, toRefs as A, ref as B, onBeforeUnmount as De, createApp as dn, computed as We, openBlock as fn, createElementBlock as pn, renderSlot as Te, createVNode as at, unref as E, createElementVNode as gn } from "vue";
|
2
|
+
import { s as _t, G as hn, a as S, X as mn, J as yn, Z as bn, e as Sn, Q as On, K as vn, n as xn, p as Cn, x as wn, o as Dn, i as jn, t as Pn, r as An, S as Fn, b as Ln, c as En, l as Nn, d as Rn, I as Tn, H as Mn, F as $n, P as In, f as _n, g as kn, h as U, j as je, k as Bn, m as Qe, q as kt, u as Un, v as qn, w as Vn, y as Bt, z as Ut, A as ot, B as qt, C as Se, D as Vt, E as Wn, L as q, M as V, N as M, O as T, R as O, T as Wt, U as Kn, V as Ye, W as Hn, Y as Pe, _ as Gn, $ as Ae, a0 as Fe, a1 as zn, a2 as Jn, a3 as Qn, a4 as X, a5 as Yn, a6 as Zn, a7 as Xn, a8 as er, a9 as tr, aa as nr, ab as rr, ac as sr, ad as ir, ae as ar, af as or, ag as ut, ah as ur, ai as lr, aj as lt, ak as cr, al as dr, am as fr, an as pr, ao as gr, ap as hr, aq as mr, ar as yr, as as br, at as Sr, au as Or, av as ee, aw as W } from "./use-tracking-22a9105d.js";
|
3
|
+
import { az as gu, ax as hu, ay as mu, aA as yu, aB as bu } from "./use-tracking-22a9105d.js";
|
4
4
|
const vr = y({
|
5
5
|
props: {
|
6
6
|
/**
|
@@ -918,7 +918,7 @@ const vr = y({
|
|
918
918
|
refreshCounter: Number
|
919
919
|
},
|
920
920
|
setup: (e) => S(Fn, e)
|
921
|
-
}),
|
921
|
+
}), Ro = y({
|
922
922
|
props: {
|
923
923
|
/**
|
924
924
|
* {@inheritDoc @sisense/sdk-ui!BoxplotChartProps.dataOptions}
|
@@ -985,7 +985,7 @@ const vr = y({
|
|
985
985
|
onDataPointsSelected: Function
|
986
986
|
},
|
987
987
|
setup: (e) => S(Ln, e)
|
988
|
-
}),
|
988
|
+
}), To = y({
|
989
989
|
props: {
|
990
990
|
/**
|
991
991
|
* {@inheritDoc @sisense/sdk-ui!AreamapChartProps.dataOptions}
|
@@ -1149,7 +1149,7 @@ const vr = y({
|
|
1149
1149
|
*/
|
1150
1150
|
styleOptions: Object
|
1151
1151
|
},
|
1152
|
-
setup: (e) => S(
|
1152
|
+
setup: (e) => S(Rn, e)
|
1153
1153
|
}), Io = y({
|
1154
1154
|
props: {
|
1155
1155
|
/**
|
@@ -1210,7 +1210,7 @@ const vr = y({
|
|
1210
1210
|
*/
|
1211
1211
|
onEdit: Function
|
1212
1212
|
},
|
1213
|
-
setup: (e) => S(
|
1213
|
+
setup: (e) => S(Tn, e)
|
1214
1214
|
}), _o = y({
|
1215
1215
|
props: {
|
1216
1216
|
/**
|
@@ -2168,7 +2168,7 @@ let Lr = [{
|
|
2168
2168
|
return e == 1 ? 0 : e == 2 ? 1 : (e < 0 || e > 10) && e % 10 == 0 ? 2 : 3;
|
2169
2169
|
}
|
2170
2170
|
};
|
2171
|
-
const Nr = ["v1", "v2", "v3"],
|
2171
|
+
const Nr = ["v1", "v2", "v3"], Rr = ["v4"], ht = {
|
2172
2172
|
zero: 0,
|
2173
2173
|
one: 1,
|
2174
2174
|
two: 2,
|
@@ -2176,7 +2176,7 @@ const Nr = ["v1", "v2", "v3"], Tr = ["v4"], ht = {
|
|
2176
2176
|
many: 4,
|
2177
2177
|
other: 5
|
2178
2178
|
};
|
2179
|
-
function
|
2179
|
+
function Tr() {
|
2180
2180
|
const e = {};
|
2181
2181
|
return Lr.forEach((t) => {
|
2182
2182
|
t.lngs.forEach((n) => {
|
@@ -2190,7 +2190,7 @@ function Rr() {
|
|
2190
2190
|
class Mr {
|
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 ||
|
2193
|
+
this.languageUtils = t, this.options = n, this.logger = _.create("pluralResolver"), (!this.options.compatibilityJSON || Rr.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;
|
@@ -3158,14 +3158,14 @@ function Ls(e) {
|
|
3158
3158
|
return Fs.call(t, e) ? t[e] : void 0;
|
3159
3159
|
}
|
3160
3160
|
var Es = Object.prototype, Ns = Es.hasOwnProperty;
|
3161
|
-
function
|
3161
|
+
function Rs(e) {
|
3162
3162
|
var t = this.__data__;
|
3163
3163
|
return le ? t[e] !== void 0 : Ns.call(t, e);
|
3164
3164
|
}
|
3165
|
-
var
|
3165
|
+
var Ts = "__lodash_hash_undefined__";
|
3166
3166
|
function Ms(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
3170
|
function G(e) {
|
3171
3171
|
var t = -1, n = e == null ? 0 : e.length;
|
@@ -3177,7 +3177,7 @@ function G(e) {
|
|
3177
3177
|
G.prototype.clear = Ds;
|
3178
3178
|
G.prototype.delete = js;
|
3179
3179
|
G.prototype.get = Ls;
|
3180
|
-
G.prototype.has =
|
3180
|
+
G.prototype.has = Rs;
|
3181
3181
|
G.prototype.set = Ms;
|
3182
3182
|
function $s() {
|
3183
3183
|
this.size = 0, this.__data__ = {
|
@@ -3266,7 +3266,7 @@ function Qt(e, t, n) {
|
|
3266
3266
|
var r = e[t];
|
3267
3267
|
(!(Gs.call(e, t) && zt(r, n)) || n === void 0 && !(t in e)) && Jt(e, t, n);
|
3268
3268
|
}
|
3269
|
-
function
|
3269
|
+
function Re(e, t, n, r) {
|
3270
3270
|
var s = !n;
|
3271
3271
|
n || (n = {});
|
3272
3272
|
for (var i = -1, a = t.length; ++i < a; ) {
|
@@ -3276,7 +3276,7 @@ function Te(e, t, n, r) {
|
|
3276
3276
|
return n;
|
3277
3277
|
}
|
3278
3278
|
function zs(e, t) {
|
3279
|
-
return e &&
|
3279
|
+
return e && Re(t, Qe(t), e);
|
3280
3280
|
}
|
3281
3281
|
function Js(e) {
|
3282
3282
|
var t = [];
|
@@ -3298,7 +3298,7 @@ function Xe(e) {
|
|
3298
3298
|
return Un(e) ? qn(e, !0) : Zs(e);
|
3299
3299
|
}
|
3300
3300
|
function Xs(e, t) {
|
3301
|
-
return e &&
|
3301
|
+
return e && Re(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, ei = xt && xt.exports === Yt, Ct = ei ? U.Buffer : void 0, wt = Ct ? Ct.allocUnsafe : void 0;
|
3304
3304
|
function ti(e, t) {
|
@@ -3330,7 +3330,7 @@ var si = Object.prototype, ii = si.propertyIsEnumerable, Dt = Object.getOwnPrope
|
|
3330
3330
|
} : Zt;
|
3331
3331
|
const et = ai;
|
3332
3332
|
function oi(e, t) {
|
3333
|
-
return
|
3333
|
+
return Re(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,7 +3346,7 @@ var li = Object.getOwnPropertySymbols, ci = li ? function(e) {
|
|
3346
3346
|
} : Zt;
|
3347
3347
|
const tn = ci;
|
3348
3348
|
function di(e, t) {
|
3349
|
-
return
|
3349
|
+
return Re(e, tn(e), t);
|
3350
3350
|
}
|
3351
3351
|
function nn(e, t, n) {
|
3352
3352
|
var r = t(e);
|
@@ -3405,22 +3405,22 @@ function Li(e) {
|
|
3405
3405
|
var t = new e.constructor(e.source, Fi.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, Rt = Nt ? Nt.valueOf : void 0;
|
3409
3409
|
function Ei(e) {
|
3410
|
-
return
|
3410
|
+
return Rt ? Object(Rt.call(e)) : {};
|
3411
3411
|
}
|
3412
3412
|
function Ni(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
|
3416
|
+
var Ri = "[object Boolean]", Ti = "[object Date]", Mi = "[object Map]", $i = "[object Number]", Ii = "[object RegExp]", _i = "[object Set]", ki = "[object String]", Bi = "[object Symbol]", Ui = "[object ArrayBuffer]", qi = "[object DataView]", Vi = "[object Float32Array]", Wi = "[object Float64Array]", Ki = "[object Int8Array]", Hi = "[object Int16Array]", Gi = "[object Int32Array]", zi = "[object Uint8Array]", Ji = "[object Uint8ClampedArray]", Qi = "[object Uint16Array]", Yi = "[object Uint32Array]";
|
3417
3417
|
function Zi(e, t, n) {
|
3418
3418
|
var r = e.constructor;
|
3419
3419
|
switch (t) {
|
3420
3420
|
case Ui:
|
3421
3421
|
return nt(e);
|
3422
|
-
case Ti:
|
3423
3422
|
case Ri:
|
3423
|
+
case Ti:
|
3424
3424
|
return new r(+e);
|
3425
3425
|
case qi:
|
3426
3426
|
return Ai(e, n);
|
@@ -3447,14 +3447,14 @@ function Zi(e, t, n) {
|
|
3447
3447
|
return Ei(e);
|
3448
3448
|
}
|
3449
3449
|
}
|
3450
|
-
var
|
3450
|
+
var Tt = Object.create, Xi = function() {
|
3451
3451
|
function e() {
|
3452
3452
|
}
|
3453
3453
|
return function(t) {
|
3454
3454
|
if (!je(t))
|
3455
3455
|
return {};
|
3456
|
-
if (
|
3457
|
-
return
|
3456
|
+
if (Tt)
|
3457
|
+
return Tt(t);
|
3458
3458
|
e.prototype = t;
|
3459
3459
|
var n = new e();
|
3460
3460
|
return e.prototype = void 0, n;
|
@@ -3476,8 +3476,8 @@ function oa(e) {
|
|
3476
3476
|
}
|
3477
3477
|
var $t = Se && Se.isSet, ua = $t ? Vt($t) : oa;
|
3478
3478
|
const la = ua;
|
3479
|
-
var ca = 1, da = 2, fa = 4, rn = "[object Arguments]", pa = "[object Array]", ga = "[object Boolean]", ha = "[object Date]", ma = "[object Error]", sn = "[object Function]", ya = "[object GeneratorFunction]", ba = "[object Map]", Sa = "[object Number]", an = "[object Object]", Oa = "[object RegExp]", va = "[object Set]", xa = "[object String]", Ca = "[object Symbol]", wa = "[object WeakMap]", Da = "[object ArrayBuffer]", ja = "[object DataView]", Pa = "[object Float32Array]", Aa = "[object Float64Array]", Fa = "[object Int8Array]", La = "[object Int16Array]", Ea = "[object Int32Array]", Na = "[object Uint8Array]",
|
3480
|
-
v[rn] = v[pa] = v[Da] = v[ja] = v[ga] = v[ha] = v[Pa] = v[Aa] = v[Fa] = v[La] = v[Ea] = v[ba] = v[Sa] = v[an] = v[Oa] = v[va] = v[xa] = v[Ca] = v[Na] = v[
|
3479
|
+
var ca = 1, da = 2, fa = 4, rn = "[object Arguments]", pa = "[object Array]", ga = "[object Boolean]", ha = "[object Date]", ma = "[object Error]", sn = "[object Function]", ya = "[object GeneratorFunction]", ba = "[object Map]", Sa = "[object Number]", an = "[object Object]", Oa = "[object RegExp]", va = "[object Set]", xa = "[object String]", Ca = "[object Symbol]", wa = "[object WeakMap]", Da = "[object ArrayBuffer]", ja = "[object DataView]", Pa = "[object Float32Array]", Aa = "[object Float64Array]", Fa = "[object Int8Array]", La = "[object Int16Array]", Ea = "[object Int32Array]", Na = "[object Uint8Array]", Ra = "[object Uint8ClampedArray]", Ta = "[object Uint16Array]", Ma = "[object Uint32Array]", v = {};
|
3480
|
+
v[rn] = v[pa] = v[Da] = v[ja] = v[ga] = v[ha] = v[Pa] = v[Aa] = v[Fa] = v[La] = v[Ea] = v[ba] = v[Sa] = v[an] = v[Oa] = v[va] = v[xa] = v[Ca] = v[Na] = v[Ra] = v[Ta] = v[Ma] = !0;
|
3481
3481
|
v[ma] = v[sn] = v[wa] = !1;
|
3482
3482
|
function ge(e, t, n, r, s, i) {
|
3483
3483
|
var a, o = t & ca, u = t & da, c = t & fa;
|
@@ -3867,8 +3867,8 @@ const Vo = (e) => {
|
|
3867
3867
|
n({ type: "error", error: a });
|
3868
3868
|
}
|
3869
3869
|
};
|
3870
|
-
return
|
3871
|
-
[...
|
3870
|
+
return R(
|
3871
|
+
[...T(e), r],
|
3872
3872
|
() => {
|
3873
3873
|
const { app: i } = r.value, { enabled: a } = O(e);
|
3874
3874
|
!i || !(a === void 0 || a === !0) || s(i);
|
@@ -3902,8 +3902,8 @@ const Vo = (e) => {
|
|
3902
3902
|
s({ type: "error", error: u });
|
3903
3903
|
}
|
3904
3904
|
};
|
3905
|
-
return
|
3906
|
-
[...
|
3905
|
+
return R(
|
3906
|
+
[...T(e), i],
|
3907
3907
|
() => {
|
3908
3908
|
const { app: o } = i.value, { enabled: u } = O(e);
|
3909
3909
|
!o || !(u === void 0 || u === !0) || a(o);
|
@@ -3928,7 +3928,7 @@ const Vo = (e) => {
|
|
3928
3928
|
});
|
3929
3929
|
return t.subscribe((s) => {
|
3930
3930
|
r(s);
|
3931
|
-
}), t.run(O(e)),
|
3931
|
+
}), t.run(O(e)), R([...T(e)], () => {
|
3932
3932
|
t.run(O(e));
|
3933
3933
|
}), De(() => {
|
3934
3934
|
t.destroy();
|
@@ -3947,7 +3947,7 @@ const Vo = (e) => {
|
|
3947
3947
|
});
|
3948
3948
|
return t.subscribe((s) => {
|
3949
3949
|
r(s);
|
3950
|
-
}), t.run(O(e)),
|
3950
|
+
}), t.run(O(e)), R([...T(e)], () => {
|
3951
3951
|
t.run(O(e));
|
3952
3952
|
}), De(() => {
|
3953
3953
|
t.destroy();
|
@@ -3976,7 +3976,7 @@ const Vo = (e) => {
|
|
3976
3976
|
});
|
3977
3977
|
return s.subscribe((o) => {
|
3978
3978
|
a(o);
|
3979
|
-
}), s.run(O(e)),
|
3979
|
+
}), s.run(O(e)), R([...T(e)], () => {
|
3980
3980
|
s.run(O(e));
|
3981
3981
|
}), De(() => {
|
3982
3982
|
s.destroy();
|
@@ -4002,8 +4002,8 @@ const Vo = (e) => {
|
|
4002
4002
|
n({ type: "error", error: o });
|
4003
4003
|
}
|
4004
4004
|
};
|
4005
|
-
|
4006
|
-
[...
|
4005
|
+
R(
|
4006
|
+
[...T(e), r],
|
4007
4007
|
() => {
|
4008
4008
|
const { app: a } = r.value, { enabled: o } = O(e);
|
4009
4009
|
!a || !(o === void 0 || o === !0) || s(a);
|
@@ -4030,8 +4030,8 @@ const Vo = (e) => {
|
|
4030
4030
|
n({ type: "error", error: o });
|
4031
4031
|
}
|
4032
4032
|
};
|
4033
|
-
|
4034
|
-
[...
|
4033
|
+
R(
|
4034
|
+
[...T(e), r],
|
4035
4035
|
() => {
|
4036
4036
|
const { app: a } = r.value, { enabled: o } = O(e);
|
4037
4037
|
!a || !(o === void 0 || o === !0) || s(a);
|
@@ -4059,8 +4059,8 @@ const Vo = (e) => {
|
|
4059
4059
|
n({ type: "error", error: f });
|
4060
4060
|
});
|
4061
4061
|
};
|
4062
|
-
|
4063
|
-
[...
|
4062
|
+
R(
|
4063
|
+
[...T(e), r],
|
4064
4064
|
() => {
|
4065
4065
|
const { app: a } = r.value, { enabled: o } = O(e);
|
4066
4066
|
!a || !(o === void 0 || o === !0) || s(a);
|
@@ -4089,8 +4089,8 @@ const Vo = (e) => {
|
|
4089
4089
|
n({ type: "error", error: a });
|
4090
4090
|
}
|
4091
4091
|
};
|
4092
|
-
return
|
4093
|
-
[...
|
4092
|
+
return R(
|
4093
|
+
[...T(e), r],
|
4094
4094
|
() => {
|
4095
4095
|
const { app: i } = r.value, { enabled: a } = O(e);
|
4096
4096
|
!i || !(a === void 0 || a === !0) || s(i);
|
@@ -4115,8 +4115,8 @@ const Vo = (e) => {
|
|
4115
4115
|
n({ type: "error", error: a });
|
4116
4116
|
}
|
4117
4117
|
};
|
4118
|
-
return
|
4119
|
-
[...
|
4118
|
+
return R(
|
4119
|
+
[...T(e), r],
|
4120
4120
|
() => {
|
4121
4121
|
const { app: i } = r.value, { enabled: a } = O(e);
|
4122
4122
|
!i || !(a === void 0 || a === !0) || s(i);
|
@@ -4147,8 +4147,8 @@ const Vo = (e) => {
|
|
4147
4147
|
s({ type: "error", error: u });
|
4148
4148
|
}
|
4149
4149
|
};
|
4150
|
-
return
|
4151
|
-
[...
|
4150
|
+
return R(
|
4151
|
+
[...T(e, t, n), i],
|
4152
4152
|
() => {
|
4153
4153
|
const { app: o } = i.value, u = O(n || {}).enabled;
|
4154
4154
|
!o || !(u === void 0 || u === !0) || a(o.httpClient);
|
@@ -4205,7 +4205,7 @@ const eu = () => {
|
|
4205
4205
|
]), [r, s] = Fe(O(e));
|
4206
4206
|
n.subscribe(({ dashboard: o }) => {
|
4207
4207
|
s(o);
|
4208
|
-
}), n.run(O(e), t),
|
4208
|
+
}), n.run(O(e), t), R([...T(e)], () => {
|
4209
4209
|
n.run(O(e), t);
|
4210
4210
|
}), De(() => {
|
4211
4211
|
n.destroy();
|
@@ -4364,7 +4364,7 @@ const eu = () => {
|
|
4364
4364
|
i.value = null;
|
4365
4365
|
};
|
4366
4366
|
return (D, C) => (fn(), pn("div", Za, [
|
4367
|
-
|
4367
|
+
Te(D.$slots, "contextMenu", {
|
4368
4368
|
contextMenuProps: { position: i.value, itemSections: m.value, closeContextMenu: w }
|
4369
4369
|
}, () => [
|
4370
4370
|
at(E(Ja), {
|
@@ -4373,7 +4373,7 @@ const eu = () => {
|
|
4373
4373
|
closeContextMenu: w
|
4374
4374
|
}, null, 8, ["position", "itemSections"])
|
4375
4375
|
]),
|
4376
|
-
|
4376
|
+
Te(D.$slots, "breadcrumbs", {
|
4377
4377
|
drilldownBreadcrumbsProps: {
|
4378
4378
|
clearDrilldownSelections: E(g),
|
4379
4379
|
sliceDrilldownSelections: E(l),
|
@@ -4389,7 +4389,7 @@ const eu = () => {
|
|
4389
4389
|
}, null, 8, ["clear-drilldown-selections", "slice-drilldown-selections", "filters-display-values", "current-dimension"])
|
4390
4390
|
]),
|
4391
4391
|
gn("div", Xa, [
|
4392
|
-
|
4392
|
+
Te(D.$slots, "chart", {
|
4393
4393
|
drilldownFilters: E(o),
|
4394
4394
|
drilldownDimension: E(u),
|
4395
4395
|
onDataPointsSelected: x,
|
@@ -4900,9 +4900,9 @@ const du = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4900
4900
|
export {
|
4901
4901
|
So as AreaChart,
|
4902
4902
|
$o as AreaRangeChart,
|
4903
|
-
|
4903
|
+
To as AreamapChart,
|
4904
4904
|
Oo as BarChart,
|
4905
|
-
|
4905
|
+
Ro as BoxplotChart,
|
4906
4906
|
No as Chart,
|
4907
4907
|
ru as ChartWidget,
|
4908
4908
|
vo as ColumnChart,
|