@sisense/sdk-pivot-ui 2.19.0 → 2.20.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.
Files changed (2) hide show
  1. package/dist/index.js +187 -193
  2. package/package.json +6 -6
package/dist/index.js CHANGED
@@ -21,19 +21,19 @@ var Dr = (e) => typeof e == "symbol" ? e : e + "", te = (e, t) => {
21
21
  };
22
22
  var j = (e, t, n) => (Hu(e, typeof t != "symbol" ? t + "" : t, n), n);
23
23
  import * as _ from "react";
24
- import Nt, { useMemo as sh, Children as pC, isValidElement as Vo, cloneElement as Cr, createElement as QE, forwardRef as ns, createContext as ZE, useContext as ex, useState as Pn, useLayoutEffect as kc, useEffect as Sr, version as tx, useRef as tn, useImperativeHandle as nx, useCallback as fC, Component as hC } from "react";
24
+ import Nt, { useMemo as sh, Children as pC, isValidElement as Vo, cloneElement as Cr, createElement as QE, forwardRef as ns, createContext as ZE, useContext as e1, useState as Pn, useLayoutEffect as kc, useEffect as Sr, version as t1, useRef as tn, useImperativeHandle as n1, useCallback as fC, Component as hC } from "react";
25
25
  import { jsx as I, Fragment as os, jsxs as ve } from "react/jsx-runtime";
26
26
  import mC from "@emotion/cache";
27
27
  import { CacheProvider as gC, Global as yC, ThemeContext as ah, keyframes as xr, css as gr } from "@emotion/react";
28
28
  import Rr from "@emotion/styled";
29
29
  import { serializeStyles as bC } from "@emotion/serialize";
30
30
  import * as vC from "react-dom";
31
- import Wo, { createPortal as ox } from "react-dom";
31
+ import Wo, { createPortal as o1 } from "react-dom";
32
32
  var CC = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {};
33
33
  function rs(e) {
34
34
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
35
35
  }
36
- function rx(e) {
36
+ function r1(e) {
37
37
  if (e.__esModule)
38
38
  return e;
39
39
  var t = e.default;
@@ -55,7 +55,7 @@ function rx(e) {
55
55
  }), n;
56
56
  }
57
57
  var qa = { exports: {} }, Nm;
58
- function ix() {
58
+ function i1() {
59
59
  if (Nm)
60
60
  return qa.exports;
61
61
  Nm = 1;
@@ -268,8 +268,8 @@ function ix() {
268
268
  }
269
269
  return qa.exports;
270
270
  }
271
- var sx = ix();
272
- const Ac = /* @__PURE__ */ rs(sx), Le = {
271
+ var s1 = i1();
272
+ const Ac = /* @__PURE__ */ rs(s1), Le = {
273
273
  HEADERS: "headers",
274
274
  METADATA: "metadata",
275
275
  DATA: "data",
@@ -280,7 +280,7 @@ const Ac = /* @__PURE__ */ rs(sx), Le = {
280
280
  DATA_FINISH: "dataFinish",
281
281
  DATABARS: "dataBars",
282
282
  RANGE_MIN_MAX: "rangeMinMax"
283
- }, ax = [
283
+ }, a1 = [
284
284
  Le.ERROR,
285
285
  Le.HEADERS,
286
286
  Le.GRAND,
@@ -299,7 +299,7 @@ class Ai extends Error {
299
299
  Object.setPrototypeOf && Object.setPrototypeOf(this, n);
300
300
  }
301
301
  }
302
- class lx {
302
+ class l1 {
303
303
  constructor(t, n, o, r) {
304
304
  this.childColCells = [], this.childRowCells = [], this.indexInParent = -1, this.siblingCount = 0, this.rowIndex = t, this.colIndex = n, this.node = o, this.parent = r;
305
305
  }
@@ -419,7 +419,7 @@ const Xt = {
419
419
  EVEN: "even",
420
420
  ODD: "odd"
421
421
  };
422
- var cx = globalThis && globalThis.__rest || function(e, t) {
422
+ var c1 = globalThis && globalThis.__rest || function(e, t) {
423
423
  var n = {};
424
424
  for (var o in e)
425
425
  Object.prototype.hasOwnProperty.call(e, o) && t.indexOf(o) < 0 && (n[o] = e[o]);
@@ -449,10 +449,10 @@ function wC(e = [], t, n) {
449
449
  function ea(e) {
450
450
  return !(e === null || typeof e == "undefined" || typeof e != "object");
451
451
  }
452
- function ux(e, t) {
452
+ function u1(e, t) {
453
453
  return ea(e) && e ? Array.isArray(e) ? !e.length : TC(e, t) ? !1 : !Object.keys(e).length : e == null;
454
454
  }
455
- function dx(e = "") {
455
+ function d1(e = "") {
456
456
  const t = e.split(".");
457
457
  return t.length > 1 ? (t.pop(), t.join(".")) : t[0];
458
458
  }
@@ -476,7 +476,7 @@ function _C(e, t = [], n = [], o = [], r = {}, i = {}, a = [], l = []) {
476
476
  const C = e[h], T = wC(o, h, d), E = o[0] || "&";
477
477
  r[E] = r[E] || [], i[E] = i[E] || [], T.forEach((R) => {
478
478
  (t || []).includes(R) && (r[E].push(R), p.push(R)), (t || []).forEach((v) => {
479
- const b = dx(v);
479
+ const b = d1(v);
480
480
  (`${b}.$` === E || b === E) && (r[E].includes(v) || r[E].push(v), p.includes(v) || p.push(v));
481
481
  }), (n || []).includes(R) && (i[E].push(R), f.push(R));
482
482
  }), ea(C) && _C(C, t, n, T, r, i, a, l);
@@ -506,12 +506,12 @@ function EC(e, t, n = /* @__PURE__ */ new WeakMap()) {
506
506
  let E = [], R = !0;
507
507
  if (o || i ? R = Am(o || [], i || [], [C]) : (r || a) && (E = wC(l, C, p), R = Am(g, h, E)), R) {
508
508
  const v = EC(T, Object.assign(Object.assign({}, t), { parentKeys: E }), n);
509
- (!u || !ux(v, c)) && (p ? f.push(v) : f[C] = v);
509
+ (!u || !u1(v, c)) && (p ? f.push(v) : f[C] = v);
510
510
  }
511
511
  }), f;
512
512
  }
513
513
  function vn(e, t) {
514
- const n = t || {}, { include: o, exclude: r } = n, i = cx(n, ["include", "exclude"]);
514
+ const n = t || {}, { include: o, exclude: r } = n, i = c1(n, ["include", "exclude"]);
515
515
  let a, l;
516
516
  (o || r) && (a = {}, l = {}, _C(e, o, r, [], a, l));
517
517
  const u = Object.assign(Object.assign({}, i), {
@@ -529,7 +529,7 @@ function Mm(e, t, n = 0) {
529
529
  }
530
530
  return -1;
531
531
  }
532
- const px = (e, t) => {
532
+ const p1 = (e, t) => {
533
533
  let n, o, r = null;
534
534
  const i = (...a) => {
535
535
  n ? r = a : (e(...a), n = !0, r = null, o = setTimeout(() => {
@@ -540,7 +540,7 @@ const px = (e, t) => {
540
540
  clearTimeout(o), n = !1;
541
541
  }, i;
542
542
  }, da = "$*$root$*$";
543
- function fx(e, t, n, o) {
543
+ function f1(e, t, n, o) {
544
544
  const r = { value: e };
545
545
  return t && (r.children = t), n && (r.data = n), typeof o != "undefined" && (r.index = o), r;
546
546
  }
@@ -553,10 +553,10 @@ function to(e) {
553
553
  function Hp(e, t) {
554
554
  e && t && Array.isArray(t) && (e.children = t);
555
555
  }
556
- function hx(e, t) {
556
+ function h1(e, t) {
557
557
  e && (e.level = t);
558
558
  }
559
- function mx(e) {
559
+ function m1(e) {
560
560
  return e && typeof e.level != "undefined" ? e.level || 0 : -1;
561
561
  }
562
562
  function $i(e) {
@@ -583,7 +583,7 @@ function xC(e, t, n = 0) {
583
583
  }
584
584
  return o;
585
585
  }
586
- function gx(e, t) {
586
+ function g1(e, t) {
587
587
  if (!e && !t)
588
588
  return;
589
589
  if (!e && t)
@@ -607,7 +607,7 @@ const RC = (e, t = 0) => {
607
607
  const r = to(e)[0];
608
608
  return r && OC(r, t, n + 1) || e;
609
609
  };
610
- function yx(e, t) {
610
+ function y1(e, t) {
611
611
  let n = RC(e), o = OC(t, n);
612
612
  n && n.children && Array.isArray(n.children) && o && o.children && Array.isArray(o.children) && o.children.length > 0 && (n.children = n.children.concat(o.children), o.isHandled = !0);
613
613
  let r = !1;
@@ -681,7 +681,7 @@ function NC(e = [], t = 0, n) {
681
681
  stop: a
682
682
  };
683
683
  }
684
- function bx(e) {
684
+ function b1(e) {
685
685
  e.isMapped !== void 0 && (e.isMapped = void 0), e.minLevel !== void 0 && (e.minLevel = void 0), e.childCount !== void 0 && (e.childCount = void 0), e.childDeep !== void 0 && (e.childDeep = void 0);
686
686
  }
687
687
  function Wp(e = [], t = 0, n, o) {
@@ -713,25 +713,25 @@ function Wp(e = [], t = 0, n, o) {
713
713
  }
714
714
  const be = {
715
715
  ROOT: da,
716
- create: fx,
716
+ create: f1,
717
717
  hasChildren: Mc,
718
718
  getChildren: to,
719
719
  setChildren: Hp,
720
- setLevel: hx,
721
- getLevel: mx,
720
+ setLevel: h1,
721
+ getLevel: m1,
722
722
  getLastLevelNodes: $C,
723
723
  iterateThroughTree: IC,
724
724
  wrapInRootNode: $i,
725
725
  findNode: xC,
726
- merge: gx,
727
- deepMerge: yx,
726
+ merge: g1,
727
+ deepMerge: y1,
728
728
  getChildLength: Dc,
729
729
  getDeepLength: PC,
730
730
  getNodesByChildCount: NC,
731
731
  getCutNodesByChildCount: Wp,
732
- clearNodeCache: bx
732
+ clearNodeCache: b1
733
733
  }, ui = (e, t) => `${e}-${t}`;
734
- class vx {
734
+ class v1 {
735
735
  constructor(t, n = !1, o) {
736
736
  this.hasGrandTotals = !1, this.isVertical = !1, this.columns = [], this.lastLevel = [], this.map = {}, this.metadataCache = {}, this.isVertical = n, this.deep = o, t && (this.tree = t, this.columns = this.cacheLevels(be.getChildren(this.tree)));
737
737
  }
@@ -1135,7 +1135,7 @@ class vx {
1135
1135
  */
1136
1136
  // eslint-disable-next-line class-methods-use-this
1137
1137
  createTreeCellMap({ rowIndex: t, colIndex: n, node: o, parent: r }) {
1138
- return new lx(t, n, o, r);
1138
+ return new l1(t, n, o, r);
1139
1139
  }
1140
1140
  /**
1141
1141
  * Returns TreeCellMapI item by key string
@@ -1162,7 +1162,7 @@ class vx {
1162
1162
  return this.getItemByKey(o);
1163
1163
  }
1164
1164
  }
1165
- class Lr extends vx {
1165
+ class Lr extends v1 {
1166
1166
  }
1167
1167
  const De = {
1168
1168
  ROWS: "rows",
@@ -1210,7 +1210,7 @@ class Lm {
1210
1210
  return this.divergence;
1211
1211
  }
1212
1212
  }
1213
- function Cx() {
1213
+ function C1() {
1214
1214
  this.__data__ = [], this.size = 0;
1215
1215
  }
1216
1216
  function kC(e, t) {
@@ -1222,22 +1222,22 @@ function Lc(e, t) {
1222
1222
  return n;
1223
1223
  return -1;
1224
1224
  }
1225
- var Sx = Array.prototype, Tx = Sx.splice;
1226
- function wx(e) {
1225
+ var S1 = Array.prototype, T1 = S1.splice;
1226
+ function w1(e) {
1227
1227
  var t = this.__data__, n = Lc(t, e);
1228
1228
  if (n < 0)
1229
1229
  return !1;
1230
1230
  var o = t.length - 1;
1231
- return n == o ? t.pop() : Tx.call(t, n, 1), --this.size, !0;
1231
+ return n == o ? t.pop() : T1.call(t, n, 1), --this.size, !0;
1232
1232
  }
1233
- function _x(e) {
1233
+ function _1(e) {
1234
1234
  var t = this.__data__, n = Lc(t, e);
1235
1235
  return n < 0 ? void 0 : t[n][1];
1236
1236
  }
1237
- function Ex(e) {
1237
+ function E1(e) {
1238
1238
  return Lc(this.__data__, e) > -1;
1239
1239
  }
1240
- function xx(e, t) {
1240
+ function x1(e, t) {
1241
1241
  var n = this.__data__, o = Lc(n, e);
1242
1242
  return o < 0 ? (++this.size, n.push([e, t])) : n[o][1] = t, this;
1243
1243
  }
@@ -1248,74 +1248,74 @@ function Zo(e) {
1248
1248
  this.set(o[0], o[1]);
1249
1249
  }
1250
1250
  }
1251
- Zo.prototype.clear = Cx;
1252
- Zo.prototype.delete = wx;
1253
- Zo.prototype.get = _x;
1254
- Zo.prototype.has = Ex;
1255
- Zo.prototype.set = xx;
1256
- function Rx() {
1251
+ Zo.prototype.clear = C1;
1252
+ Zo.prototype.delete = w1;
1253
+ Zo.prototype.get = _1;
1254
+ Zo.prototype.has = E1;
1255
+ Zo.prototype.set = x1;
1256
+ function R1() {
1257
1257
  this.__data__ = new Zo(), this.size = 0;
1258
1258
  }
1259
- function Ox(e) {
1259
+ function O1(e) {
1260
1260
  var t = this.__data__, n = t.delete(e);
1261
1261
  return this.size = t.size, n;
1262
1262
  }
1263
- function Ix(e) {
1263
+ function I1(e) {
1264
1264
  return this.__data__.get(e);
1265
1265
  }
1266
- function $x(e) {
1266
+ function $1(e) {
1267
1267
  return this.__data__.has(e);
1268
1268
  }
1269
- var Px = typeof global == "object" && global && global.Object === Object && global;
1270
- const AC = Px;
1271
- var Nx = typeof self == "object" && self && self.Object === Object && self, kx = AC || Nx || Function("return this")();
1272
- const Io = kx;
1273
- var Ax = Io.Symbol;
1274
- const Vi = Ax;
1275
- var MC = Object.prototype, Mx = MC.hasOwnProperty, Dx = MC.toString, ps = Vi ? Vi.toStringTag : void 0;
1276
- function Lx(e) {
1277
- var t = Mx.call(e, ps), n = e[ps];
1269
+ var P1 = typeof global == "object" && global && global.Object === Object && global;
1270
+ const AC = P1;
1271
+ var N1 = typeof self == "object" && self && self.Object === Object && self, k1 = AC || N1 || Function("return this")();
1272
+ const Io = k1;
1273
+ var A1 = Io.Symbol;
1274
+ const Vi = A1;
1275
+ var MC = Object.prototype, M1 = MC.hasOwnProperty, D1 = MC.toString, ps = Vi ? Vi.toStringTag : void 0;
1276
+ function L1(e) {
1277
+ var t = M1.call(e, ps), n = e[ps];
1278
1278
  try {
1279
1279
  e[ps] = void 0;
1280
1280
  var o = !0;
1281
1281
  } catch (i) {
1282
1282
  }
1283
- var r = Dx.call(e);
1283
+ var r = D1.call(e);
1284
1284
  return o && (t ? e[ps] = n : delete e[ps]), r;
1285
1285
  }
1286
- var Fx = Object.prototype, Bx = Fx.toString;
1287
- function zx(e) {
1288
- return Bx.call(e);
1286
+ var F1 = Object.prototype, B1 = F1.toString;
1287
+ function z1(e) {
1288
+ return B1.call(e);
1289
1289
  }
1290
- var jx = "[object Null]", Hx = "[object Undefined]", Fm = Vi ? Vi.toStringTag : void 0;
1290
+ var j1 = "[object Null]", H1 = "[object Undefined]", Fm = Vi ? Vi.toStringTag : void 0;
1291
1291
  function is(e) {
1292
- return e == null ? e === void 0 ? Hx : jx : Fm && Fm in Object(e) ? Lx(e) : zx(e);
1292
+ return e == null ? e === void 0 ? H1 : j1 : Fm && Fm in Object(e) ? L1(e) : z1(e);
1293
1293
  }
1294
1294
  function pa(e) {
1295
1295
  var t = typeof e;
1296
1296
  return e != null && (t == "object" || t == "function");
1297
1297
  }
1298
- var Wx = "[object AsyncFunction]", Vx = "[object Function]", Ux = "[object GeneratorFunction]", qx = "[object Proxy]";
1298
+ var W1 = "[object AsyncFunction]", V1 = "[object Function]", U1 = "[object GeneratorFunction]", q1 = "[object Proxy]";
1299
1299
  function DC(e) {
1300
1300
  if (!pa(e))
1301
1301
  return !1;
1302
1302
  var t = is(e);
1303
- return t == Vx || t == Ux || t == Wx || t == qx;
1303
+ return t == V1 || t == U1 || t == W1 || t == q1;
1304
1304
  }
1305
- var Gx = Io["__core-js_shared__"];
1306
- const Wu = Gx;
1305
+ var G1 = Io["__core-js_shared__"];
1306
+ const Wu = G1;
1307
1307
  var Bm = function() {
1308
1308
  var e = /[^.]+$/.exec(Wu && Wu.keys && Wu.keys.IE_PROTO || "");
1309
1309
  return e ? "Symbol(src)_1." + e : "";
1310
1310
  }();
1311
- function Kx(e) {
1311
+ function K1(e) {
1312
1312
  return !!Bm && Bm in e;
1313
1313
  }
1314
- var Yx = Function.prototype, Xx = Yx.toString;
1314
+ var Y1 = Function.prototype, X1 = Y1.toString;
1315
1315
  function si(e) {
1316
1316
  if (e != null) {
1317
1317
  try {
1318
- return Xx.call(e);
1318
+ return X1.call(e);
1319
1319
  } catch (t) {
1320
1320
  }
1321
1321
  try {
@@ -1325,51 +1325,51 @@ function si(e) {
1325
1325
  }
1326
1326
  return "";
1327
1327
  }
1328
- var Jx = /[\\^$.*+?()[\]{}|]/g, Qx = /^\[object .+?Constructor\]$/, Zx = Function.prototype, e1 = Object.prototype, t1 = Zx.toString, n1 = e1.hasOwnProperty, o1 = RegExp(
1329
- "^" + t1.call(n1).replace(Jx, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
1328
+ var J1 = /[\\^$.*+?()[\]{}|]/g, Q1 = /^\[object .+?Constructor\]$/, Z1 = Function.prototype, ex = Object.prototype, tx = Z1.toString, nx = ex.hasOwnProperty, ox = RegExp(
1329
+ "^" + tx.call(nx).replace(J1, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
1330
1330
  );
1331
- function r1(e) {
1332
- if (!pa(e) || Kx(e))
1331
+ function rx(e) {
1332
+ if (!pa(e) || K1(e))
1333
1333
  return !1;
1334
- var t = DC(e) ? o1 : Qx;
1334
+ var t = DC(e) ? ox : Q1;
1335
1335
  return t.test(si(e));
1336
1336
  }
1337
- function i1(e, t) {
1337
+ function ix(e, t) {
1338
1338
  return e == null ? void 0 : e[t];
1339
1339
  }
1340
1340
  function ss(e, t) {
1341
- var n = i1(e, t);
1342
- return r1(n) ? n : void 0;
1343
- }
1344
- var s1 = ss(Io, "Map");
1345
- const fa = s1;
1346
- var a1 = ss(Object, "create");
1347
- const ha = a1;
1348
- function l1() {
1341
+ var n = ix(e, t);
1342
+ return rx(n) ? n : void 0;
1343
+ }
1344
+ var sx = ss(Io, "Map");
1345
+ const fa = sx;
1346
+ var ax = ss(Object, "create");
1347
+ const ha = ax;
1348
+ function lx() {
1349
1349
  this.__data__ = ha ? ha(null) : {}, this.size = 0;
1350
1350
  }
1351
- function c1(e) {
1351
+ function cx(e) {
1352
1352
  var t = this.has(e) && delete this.__data__[e];
1353
1353
  return this.size -= t ? 1 : 0, t;
1354
1354
  }
1355
- var u1 = "__lodash_hash_undefined__", d1 = Object.prototype, p1 = d1.hasOwnProperty;
1356
- function f1(e) {
1355
+ var ux = "__lodash_hash_undefined__", dx = Object.prototype, px = dx.hasOwnProperty;
1356
+ function fx(e) {
1357
1357
  var t = this.__data__;
1358
1358
  if (ha) {
1359
1359
  var n = t[e];
1360
- return n === u1 ? void 0 : n;
1360
+ return n === ux ? void 0 : n;
1361
1361
  }
1362
- return p1.call(t, e) ? t[e] : void 0;
1362
+ return px.call(t, e) ? t[e] : void 0;
1363
1363
  }
1364
- var h1 = Object.prototype, m1 = h1.hasOwnProperty;
1365
- function g1(e) {
1364
+ var hx = Object.prototype, mx = hx.hasOwnProperty;
1365
+ function gx(e) {
1366
1366
  var t = this.__data__;
1367
- return ha ? t[e] !== void 0 : m1.call(t, e);
1367
+ return ha ? t[e] !== void 0 : mx.call(t, e);
1368
1368
  }
1369
- var y1 = "__lodash_hash_undefined__";
1370
- function b1(e, t) {
1369
+ var yx = "__lodash_hash_undefined__";
1370
+ function bx(e, t) {
1371
1371
  var n = this.__data__;
1372
- return this.size += this.has(e) ? 0 : 1, n[e] = ha && t === void 0 ? y1 : t, this;
1372
+ return this.size += this.has(e) ? 0 : 1, n[e] = ha && t === void 0 ? yx : t, this;
1373
1373
  }
1374
1374
  function ei(e) {
1375
1375
  var t = -1, n = e == null ? 0 : e.length;
@@ -1378,37 +1378,37 @@ function ei(e) {
1378
1378
  this.set(o[0], o[1]);
1379
1379
  }
1380
1380
  }
1381
- ei.prototype.clear = l1;
1382
- ei.prototype.delete = c1;
1383
- ei.prototype.get = f1;
1384
- ei.prototype.has = g1;
1385
- ei.prototype.set = b1;
1386
- function v1() {
1381
+ ei.prototype.clear = lx;
1382
+ ei.prototype.delete = cx;
1383
+ ei.prototype.get = fx;
1384
+ ei.prototype.has = gx;
1385
+ ei.prototype.set = bx;
1386
+ function vx() {
1387
1387
  this.size = 0, this.__data__ = {
1388
1388
  hash: new ei(),
1389
1389
  map: new (fa || Zo)(),
1390
1390
  string: new ei()
1391
1391
  };
1392
1392
  }
1393
- function C1(e) {
1393
+ function Cx(e) {
1394
1394
  var t = typeof e;
1395
1395
  return t == "string" || t == "number" || t == "symbol" || t == "boolean" ? e !== "__proto__" : e === null;
1396
1396
  }
1397
1397
  function Fc(e, t) {
1398
1398
  var n = e.__data__;
1399
- return C1(t) ? n[typeof t == "string" ? "string" : "hash"] : n.map;
1399
+ return Cx(t) ? n[typeof t == "string" ? "string" : "hash"] : n.map;
1400
1400
  }
1401
- function S1(e) {
1401
+ function Sx(e) {
1402
1402
  var t = Fc(this, e).delete(e);
1403
1403
  return this.size -= t ? 1 : 0, t;
1404
1404
  }
1405
- function T1(e) {
1405
+ function Tx(e) {
1406
1406
  return Fc(this, e).get(e);
1407
1407
  }
1408
- function w1(e) {
1408
+ function wx(e) {
1409
1409
  return Fc(this, e).has(e);
1410
1410
  }
1411
- function _1(e, t) {
1411
+ function _x(e, t) {
1412
1412
  var n = Fc(this, e), o = n.size;
1413
1413
  return n.set(e, t), this.size += n.size == o ? 0 : 1, this;
1414
1414
  }
@@ -1419,17 +1419,17 @@ function ai(e) {
1419
1419
  this.set(o[0], o[1]);
1420
1420
  }
1421
1421
  }
1422
- ai.prototype.clear = v1;
1423
- ai.prototype.delete = S1;
1424
- ai.prototype.get = T1;
1425
- ai.prototype.has = w1;
1426
- ai.prototype.set = _1;
1427
- var E1 = 200;
1428
- function x1(e, t) {
1422
+ ai.prototype.clear = vx;
1423
+ ai.prototype.delete = Sx;
1424
+ ai.prototype.get = Tx;
1425
+ ai.prototype.has = wx;
1426
+ ai.prototype.set = _x;
1427
+ var Ex = 200;
1428
+ function xx(e, t) {
1429
1429
  var n = this.__data__;
1430
1430
  if (n instanceof Zo) {
1431
1431
  var o = n.__data__;
1432
- if (!fa || o.length < E1 - 1)
1432
+ if (!fa || o.length < Ex - 1)
1433
1433
  return o.push([e, t]), this.size = ++n.size, this;
1434
1434
  n = this.__data__ = new ai(o);
1435
1435
  }
@@ -1439,16 +1439,16 @@ function Tr(e) {
1439
1439
  var t = this.__data__ = new Zo(e);
1440
1440
  this.size = t.size;
1441
1441
  }
1442
- Tr.prototype.clear = Rx;
1443
- Tr.prototype.delete = Ox;
1444
- Tr.prototype.get = Ix;
1445
- Tr.prototype.has = $x;
1446
- Tr.prototype.set = x1;
1447
- var R1 = "__lodash_hash_undefined__";
1448
- function O1(e) {
1449
- return this.__data__.set(e, R1), this;
1442
+ Tr.prototype.clear = R1;
1443
+ Tr.prototype.delete = O1;
1444
+ Tr.prototype.get = I1;
1445
+ Tr.prototype.has = $1;
1446
+ Tr.prototype.set = xx;
1447
+ var Rx = "__lodash_hash_undefined__";
1448
+ function Ox(e) {
1449
+ return this.__data__.set(e, Rx), this;
1450
1450
  }
1451
- function I1(e) {
1451
+ function Ix(e) {
1452
1452
  return this.__data__.has(e);
1453
1453
  }
1454
1454
  function Ql(e) {
@@ -1456,26 +1456,26 @@ function Ql(e) {
1456
1456
  for (this.__data__ = new ai(); ++t < n; )
1457
1457
  this.add(e[t]);
1458
1458
  }
1459
- Ql.prototype.add = Ql.prototype.push = O1;
1460
- Ql.prototype.has = I1;
1461
- function $1(e, t) {
1459
+ Ql.prototype.add = Ql.prototype.push = Ox;
1460
+ Ql.prototype.has = Ix;
1461
+ function $x(e, t) {
1462
1462
  for (var n = -1, o = e == null ? 0 : e.length; ++n < o; )
1463
1463
  if (t(e[n], n, e))
1464
1464
  return !0;
1465
1465
  return !1;
1466
1466
  }
1467
- function P1(e, t) {
1467
+ function Px(e, t) {
1468
1468
  return e.has(t);
1469
1469
  }
1470
- var N1 = 1, k1 = 2;
1470
+ var Nx = 1, kx = 2;
1471
1471
  function LC(e, t, n, o, r, i) {
1472
- var a = n & N1, l = e.length, u = t.length;
1472
+ var a = n & Nx, l = e.length, u = t.length;
1473
1473
  if (l != u && !(a && u > l))
1474
1474
  return !1;
1475
1475
  var c = i.get(e), d = i.get(t);
1476
1476
  if (c && d)
1477
1477
  return c == t && d == e;
1478
- var p = -1, f = !0, m = n & k1 ? new Ql() : void 0;
1478
+ var p = -1, f = !0, m = n & kx ? new Ql() : void 0;
1479
1479
  for (i.set(e, t), i.set(t, e); ++p < l; ) {
1480
1480
  var g = e[p], h = t[p];
1481
1481
  if (o)
@@ -1487,8 +1487,8 @@ function LC(e, t, n, o, r, i) {
1487
1487
  break;
1488
1488
  }
1489
1489
  if (m) {
1490
- if (!$1(t, function(T, E) {
1491
- if (!P1(m, E) && (g === T || r(g, T, n, o, i)))
1490
+ if (!$x(t, function(T, E) {
1491
+ if (!Px(m, E) && (g === T || r(g, T, n, o, i)))
1492
1492
  return m.push(E);
1493
1493
  })) {
1494
1494
  f = !1;
@@ -1501,66 +1501,66 @@ function LC(e, t, n, o, r, i) {
1501
1501
  }
1502
1502
  return i.delete(e), i.delete(t), f;
1503
1503
  }
1504
- var A1 = Io.Uint8Array;
1505
- const zm = A1;
1506
- function M1(e) {
1504
+ var Ax = Io.Uint8Array;
1505
+ const zm = Ax;
1506
+ function Mx(e) {
1507
1507
  var t = -1, n = Array(e.size);
1508
1508
  return e.forEach(function(o, r) {
1509
1509
  n[++t] = [r, o];
1510
1510
  }), n;
1511
1511
  }
1512
- function D1(e) {
1512
+ function Dx(e) {
1513
1513
  var t = -1, n = Array(e.size);
1514
1514
  return e.forEach(function(o) {
1515
1515
  n[++t] = o;
1516
1516
  }), n;
1517
1517
  }
1518
- var L1 = 1, F1 = 2, B1 = "[object Boolean]", z1 = "[object Date]", j1 = "[object Error]", H1 = "[object Map]", W1 = "[object Number]", V1 = "[object RegExp]", U1 = "[object Set]", q1 = "[object String]", G1 = "[object Symbol]", K1 = "[object ArrayBuffer]", Y1 = "[object DataView]", jm = Vi ? Vi.prototype : void 0, Vu = jm ? jm.valueOf : void 0;
1519
- function X1(e, t, n, o, r, i, a) {
1518
+ var Lx = 1, Fx = 2, Bx = "[object Boolean]", zx = "[object Date]", jx = "[object Error]", Hx = "[object Map]", Wx = "[object Number]", Vx = "[object RegExp]", Ux = "[object Set]", qx = "[object String]", Gx = "[object Symbol]", Kx = "[object ArrayBuffer]", Yx = "[object DataView]", jm = Vi ? Vi.prototype : void 0, Vu = jm ? jm.valueOf : void 0;
1519
+ function Xx(e, t, n, o, r, i, a) {
1520
1520
  switch (n) {
1521
- case Y1:
1521
+ case Yx:
1522
1522
  if (e.byteLength != t.byteLength || e.byteOffset != t.byteOffset)
1523
1523
  return !1;
1524
1524
  e = e.buffer, t = t.buffer;
1525
- case K1:
1525
+ case Kx:
1526
1526
  return !(e.byteLength != t.byteLength || !i(new zm(e), new zm(t)));
1527
- case B1:
1528
- case z1:
1529
- case W1:
1527
+ case Bx:
1528
+ case zx:
1529
+ case Wx:
1530
1530
  return kC(+e, +t);
1531
- case j1:
1531
+ case jx:
1532
1532
  return e.name == t.name && e.message == t.message;
1533
- case V1:
1534
- case q1:
1533
+ case Vx:
1534
+ case qx:
1535
1535
  return e == t + "";
1536
- case H1:
1537
- var l = M1;
1538
- case U1:
1539
- var u = o & L1;
1540
- if (l || (l = D1), e.size != t.size && !u)
1536
+ case Hx:
1537
+ var l = Mx;
1538
+ case Ux:
1539
+ var u = o & Lx;
1540
+ if (l || (l = Dx), e.size != t.size && !u)
1541
1541
  return !1;
1542
1542
  var c = a.get(e);
1543
1543
  if (c)
1544
1544
  return c == t;
1545
- o |= F1, a.set(e, t);
1545
+ o |= Fx, a.set(e, t);
1546
1546
  var d = LC(l(e), l(t), o, r, i, a);
1547
1547
  return a.delete(e), d;
1548
- case G1:
1548
+ case Gx:
1549
1549
  if (Vu)
1550
1550
  return Vu.call(e) == Vu.call(t);
1551
1551
  }
1552
1552
  return !1;
1553
1553
  }
1554
- function J1(e, t) {
1554
+ function Jx(e, t) {
1555
1555
  for (var n = -1, o = t.length, r = e.length; ++n < o; )
1556
1556
  e[r + n] = t[n];
1557
1557
  return e;
1558
1558
  }
1559
- var Q1 = Array.isArray;
1560
- const Zl = Q1;
1561
- function Z1(e, t, n) {
1559
+ var Qx = Array.isArray;
1560
+ const Zl = Qx;
1561
+ function Zx(e, t, n) {
1562
1562
  var o = t(e);
1563
- return Zl(e) ? o : J1(o, n(e));
1563
+ return Zl(e) ? o : Jx(o, n(e));
1564
1564
  }
1565
1565
  function eR(e, t) {
1566
1566
  for (var n = -1, o = e == null ? 0 : e.length, r = 0, i = []; ++n < o; ) {
@@ -1670,7 +1670,7 @@ function aO(e) {
1670
1670
  return sO(e) ? JR(e) : iO(e);
1671
1671
  }
1672
1672
  function Km(e) {
1673
- return Z1(e, aO, iR);
1673
+ return Zx(e, aO, iR);
1674
1674
  }
1675
1675
  var lO = 1, cO = Object.prototype, uO = cO.hasOwnProperty;
1676
1676
  function dO(e, t, n, o, r, i) {
@@ -1742,7 +1742,7 @@ function _O(e, t, n, o, r, i) {
1742
1742
  a = !0, d = !1;
1743
1743
  }
1744
1744
  if (f && !d)
1745
- return i || (i = new Tr()), a || HC(e) ? LC(e, t, n, o, r, i) : X1(e, t, u, n, o, r, i);
1745
+ return i || (i = new Tr()), a || HC(e) ? LC(e, t, n, o, r, i) : Xx(e, t, u, n, o, r, i);
1746
1746
  if (!(n & TO)) {
1747
1747
  var m = d && og.call(e, "__wrapped__"), g = p && og.call(t, "__wrapped__");
1748
1748
  if (m || g) {
@@ -2551,7 +2551,7 @@ const qu = (e, t) => {
2551
2551
  return l ? Object.assign(Object.assign({}, r), { format: l }) : r;
2552
2552
  }), Object.assign(Object.assign({}, n), { metadata: o });
2553
2553
  }, ag = 100, GO = "dataLoad", Qp = "dataChunkLoaded", KO = "dataBarChunkLoaded", YO = "rangeMinMaxChunkLoaded", Zp = "grandChunkLoaded", XO = "dataFinishChunkLoaded", JO = "finishChunkLoaded", jl = "progressError", lg = "headerCellFormat", QO = "dataCellFormat", ef = "totalRowsCountLoaded", tf = "totalColumnsCountLoaded", cg = 1e3, ZO = 0, eI = {
2554
- throttle: px,
2554
+ throttle: p1,
2555
2555
  throttleTime: ZO,
2556
2556
  PluginService: uh,
2557
2557
  skipInternalColorFormatting: !1,
@@ -4793,43 +4793,41 @@ function xI(e) {
4793
4793
  const RI = {
4794
4794
  errors: {
4795
4795
  measure: {
4796
- unsupportedType: "Unsupported measure type",
4796
+ unsupportedType: "Unsupported measure type for measure: {{measureName}}",
4797
4797
  dimensionalCalculatedMeasure: {
4798
- noContext: "DimensionalCalculatedMeasure must have 'context' property"
4798
+ noContext: "DimensionalCalculatedMeasure {{measureName}} must have 'context' property"
4799
4799
  },
4800
4800
  dimensionalBaseMeasure: {
4801
- noAttributeDimExpression: "DimensionalBaseMeasure must have 'attribute'/'dim'/'expression' property",
4802
- noAggAggregation: "DimensionalBaseMeasure must have 'agg' or 'aggregation' property"
4803
- },
4804
- notAFormula: "Jaql is not a formula"
4801
+ noAttributeDimExpression: "DimensionalBaseMeasure {{measureName}} must have 'attribute'/'dim'/'expression' property",
4802
+ noAggAggregation: "DimensionalBaseMeasure {{measureName}} must have 'agg' or 'aggregation' property"
4803
+ }
4805
4804
  },
4806
- dataModelConfig: {
4805
+ dataModel: {
4807
4806
  noName: "'name' must be specified in config for DataModel",
4808
4807
  noMetadata: "'metadata' must be specified in config for DataModel"
4809
4808
  },
4810
4809
  filter: {
4811
4810
  unsupportedType: "Unsupported filter type: {{filterType}}",
4812
- unsupportedDatetimeLevel: 'Filters do not support the next "datetime" levels: Hours, MinutesRoundTo30, MinutesRoundTo15, Minutes, Seconds',
4811
+ unsupportedDatetimeLevel: 'Filters do not support the following "datetime" levels: Hours, MinutesRoundTo30, MinutesRoundTo15, Minutes, Seconds',
4813
4812
  membersFilterNullMember: "MembersFilter of {{attributeId}} - member cannot be null",
4814
- unsupportedConditionFilter: "Jaql contains unsupported condition filter: {{filter}}",
4815
- formulaFiltersNotSupported: "Formula-based filter not supported yet: {{filter}}"
4813
+ unsupportedConditionFilter: "Jaql for {{attributeName}} contains unsupported condition filter: {{filter}}",
4814
+ formulaFiltersNotSupported: "Formula-based filter for {{attributeName}} not supported yet: {{filter}}"
4816
4815
  },
4817
4816
  unsupportedDimensionalElement: "Unsupported dimensional element type"
4818
4817
  }
4819
4818
  }, OI = {
4820
4819
  errors: {
4821
4820
  measure: {
4822
- unsupportedType: "Непідтримуваний тип measure",
4821
+ unsupportedType: "Непідтримуваний тип measure: {{measureName}}",
4823
4822
  dimensionalCalculatedMeasure: {
4824
- noContext: "DimensionalCalculatedMeasure має мати властивість 'context'"
4823
+ noContext: "DimensionalCalculatedMeasure {{measureName}} має мати властивість 'context'"
4825
4824
  },
4826
4825
  dimensionalBaseMeasure: {
4827
- noAttributeDimExpression: "DimensionalBaseMeasure має мати властивість 'attribute'/'dim'/'expression'",
4828
- noAggAggregation: "DimensionalBaseMeasure має мати властивість 'agg' або 'aggregation'"
4829
- },
4830
- notAFormula: "Jaql не формула"
4826
+ noAttributeDimExpression: "DimensionalBaseMeasure {{measureName}} має мати властивість 'attribute'/'dim'/'expression'",
4827
+ noAggAggregation: "DimensionalBaseMeasure {{measureName}} має мати властивість 'agg' або 'aggregation'"
4828
+ }
4831
4829
  },
4832
- dataModelConfig: {
4830
+ dataModel: {
4833
4831
  noName: "'name' має бути вказано в конфігурації для DataModel",
4834
4832
  noMetadata: "'metadata' має бути вказано в конфігурації для DataModel"
4835
4833
  },
@@ -4837,8 +4835,8 @@ const RI = {
4837
4835
  unsupportedType: "Непідтримуваний тип фільтра: {{filterType}}",
4838
4836
  unsupportedDatetimeLevel: 'Фільтри не підтримують наступні рівні "datetime": Hours, MinutesRoundTo30, MinutesRoundTo15, Minutes, Seconds',
4839
4837
  membersFilterNullMember: "MembersFilter у {{attributeId}} - member не може бути нульовим",
4840
- unsupportedConditionFilter: "Jaql містить непідтримуваний condition фільтр: {{filter}}",
4841
- formulaFiltersNotSupported: "Фільтри, що містять формули наразі не підтримуються: {{filter}}"
4838
+ unsupportedConditionFilter: "Jaql для {{attributeName}} містить непідтримуваний condition фільтр: {{filter}}",
4839
+ formulaFiltersNotSupported: "Фільтри, що містять формули для {{attributeName}} наразі не підтримуються: {{filter}}"
4842
4840
  },
4843
4841
  unsupportedDimensionalElement: "Непідтримуваний тип елемента"
4844
4842
  }
@@ -5128,7 +5126,7 @@ class DI {
5128
5126
  this.loadFromCacheState = this.loadFromCacheState || {};
5129
5127
  const n = this.loadFromCacheState;
5130
5128
  let o = "", r = 0;
5131
- if (ax.forEach((i) => {
5129
+ if (a1.forEach((i) => {
5132
5130
  if (o)
5133
5131
  return;
5134
5132
  n[i] = n[i] || 0, n[i] < ((this.data || {})[i] || []).length && (o = i, r = n[i]);
@@ -7432,7 +7430,7 @@ function a$() {
7432
7430
  const l$ = {}, c$ = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
7433
7431
  __proto__: null,
7434
7432
  default: l$
7435
- }, Symbol.toStringTag, { value: "Module" })), u$ = /* @__PURE__ */ rx(c$);
7433
+ }, Symbol.toStringTag, { value: "Module" })), u$ = /* @__PURE__ */ r1(c$);
7436
7434
  var xd, oy;
7437
7435
  function d$() {
7438
7436
  if (oy)
@@ -8140,11 +8138,9 @@ const y$ = {
8140
8138
  networkError: "Network error. Check browser console for further details.",
8141
8139
  authFailed: "Failed to authenticate.",
8142
8140
  ssoNotEnabled: "SSO is not enabled on target instance, please choose another authentication method.",
8143
- ssoNoLoginUrl: "Can not fetch login URL on target instance. Check SSO settings.",
8141
+ ssoNoLoginUrl: "Unable to fetch SSO login URL from target instance. Check SSO settings.",
8144
8142
  passwordAuthFailed: "$t(errorPrefix) Username and password authentication was not successful. Check credentials.",
8145
- tokenAuthFailed: "$t(errorPrefix) Token authentication was not successful. Check credentials.",
8146
- responseError_onlyStatus: "$t(errorPrefix) Status: {{status}}",
8147
- responseError_withStatusText: "$t(errorPrefix) Status: {{status}} - {{statusText}}"
8143
+ tokenAuthFailed: "$t(errorPrefix) Token authentication was not successful. Check credentials."
8148
8144
  }
8149
8145
  }, b$ = {
8150
8146
  errorPrefix: "[request-error]",
@@ -8152,11 +8148,9 @@ const y$ = {
8152
8148
  networkError: "Помилка мережі. Можливо ви забули додати свій домен до «CORS Allowed Origins» в панелі адміністратора Sisense -> Security Settings.",
8153
8149
  authFailed: "Автентифікація не вдалася.",
8154
8150
  ssoNotEnabled: "SSO не ввімкнено на цьому сервері, будь ласка, виберіть інший метод аутентифікації",
8155
- ssoNoLoginUrl: "Неможливо отримати loginUrl з сервера. Перевірте налаштування SSO.",
8151
+ ssoNoLoginUrl: "Неможливо отримати SSO login URL з сервера. Перевірте налаштування SSO.",
8156
8152
  passwordAuthFailed: "$t(errorPrefix) Помилка автентифікації за допомогою імені користувача та пароля. Перевірте дані для входу.",
8157
- tokenAuthFailed: "$t(errorPrefix) Помилка автентифікації за допомогою токена. Перевірте дані для входу.",
8158
- responseError_onlyStatus: "$t(errorPrefix) Статус: {{status}}",
8159
- responseError_withStatusText: "$t(errorPrefix) Статус: {{status}} - {{statusText}}"
8153
+ tokenAuthFailed: "$t(errorPrefix) Помилка автентифікації за допомогою токена. Перевірте дані для входу."
8160
8154
  }
8161
8155
  }, v$ = "sdkRestClient", C$ = {
8162
8156
  en: y$,
@@ -23482,7 +23476,7 @@ const jL = lw && typeof window.ResizeObserver < "u" ? zL : function() {
23482
23476
  }
23483
23477
  }), Ob = 1, VL = Nt.forwardRef(
23484
23478
  ({ onPageChange: e, count: t, rowsPerPage: n, page: o }, r) => {
23485
- const i = ex(uw), a = (l, u) => e(null, u);
23479
+ const i = e1(uw), a = (l, u) => e(null, u);
23486
23480
  return /* @__PURE__ */ I(us, { children: /* @__PURE__ */ I(cs, { theme: WL, children: /* @__PURE__ */ I(
23487
23481
  LL,
23488
23482
  {
@@ -40165,7 +40159,7 @@ function V_(e) {
40165
40159
  e.type === YW
40166
40160
  );
40167
40161
  }
40168
- const XW = Number(tx.split(".")[0]), JW = (e, t) => {
40162
+ const XW = Number(t1.split(".")[0]), JW = (e, t) => {
40169
40163
  typeof e == "function" ? e(t) : typeof e == "object" && e && "current" in e && (e.current = t);
40170
40164
  }, U_ = (...e) => {
40171
40165
  const t = e.filter(Boolean);
@@ -40433,7 +40427,7 @@ const b0 = (e) => e === !1 ? !1 : !Eo() || !e ? null : typeof e == "string" ? do
40433
40427
  ref: T
40434
40428
  })), /* @__PURE__ */ _.createElement(Y_.Provider, {
40435
40429
  value: g
40436
- }, E ? R : /* @__PURE__ */ ox(R, h));
40430
+ }, E ? R : /* @__PURE__ */ o1(R, h));
40437
40431
  });
40438
40432
  process.env.NODE_ENV !== "production" && (_m.displayName = "Portal");
40439
40433
  function Wf(e, t = {}) {
@@ -41844,7 +41838,7 @@ const Y6 = /* @__PURE__ */ _.forwardRef((e, t) => {
41844
41838
  "classNames",
41845
41839
  "styles"
41846
41840
  ]), $ = rE(v), P = tn(null);
41847
- nx(t, () => P.current);
41841
+ n1(t, () => P.current);
41848
41842
  const N = y({}, O);
41849
41843
  "visible" in e && (N.popupVisible = e.visible);
41850
41844
  const S = () => /* @__PURE__ */ _.createElement(WW, {
package/package.json CHANGED
@@ -11,7 +11,7 @@
11
11
  "Sisense",
12
12
  "Compose SDK"
13
13
  ],
14
- "version": "2.19.0",
14
+ "version": "2.20.0",
15
15
  "type": "module",
16
16
  "exports": "./dist/index.js",
17
17
  "main": "./dist/index.js",
@@ -39,11 +39,11 @@
39
39
  "esm/**/*"
40
40
  ],
41
41
  "dependencies": {
42
- "@sisense/sdk-common": "2.19.0",
43
- "@sisense/sdk-data": "2.19.0",
44
- "@sisense/sdk-pivot-query-client": "2.19.0",
45
- "@sisense/sdk-rest-client": "2.19.0",
46
- "@sisense/sdk-shared-ui": "2.19.0",
42
+ "@sisense/sdk-common": "2.20.0",
43
+ "@sisense/sdk-data": "2.20.0",
44
+ "@sisense/sdk-pivot-query-client": "2.20.0",
45
+ "@sisense/sdk-rest-client": "2.20.0",
46
+ "@sisense/sdk-shared-ui": "2.20.0",
47
47
  "classnames": "2.3.2",
48
48
  "dom-css": "2.1.0",
49
49
  "dompurify": "^3.3.0",