@sisense/sdk-ui-vue 2.5.0 → 2.7.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 +1234 -1186
- package/dist/index.cjs +1 -1
- package/dist/index.js +475 -488
- package/dist/packages/sdk-ui-vue/src/helpers/setup-helper.d.ts +1 -1
- package/dist/use-tracking-139811d9.cjs +1076 -0
- package/dist/{use-tracking-22a9105d.js → use-tracking-71a2feea.js} +40787 -38406
- package/package.json +2 -2
- package/dist/use-tracking-93de730a.cjs +0 -1073
package/dist/index.js
CHANGED
@@ -1,7 +1,7 @@
|
|
1
|
-
import { defineComponent as y, watch as R, toRefs as A, ref as B, onBeforeUnmount as De, createApp as
|
2
|
-
import { s as _t,
|
3
|
-
import { az as
|
4
|
-
const
|
1
|
+
import { defineComponent as y, watch as R, toRefs as A, ref as B, onBeforeUnmount as De, createApp as cn, computed as Ke, openBlock as dn, createElementBlock as fn, renderSlot as Te, createVNode as at, unref as E, createElementVNode as pn } from "vue";
|
2
|
+
import { s as _t, C as gn, a as S, d as hn, p as mn, c as yn, h as bn, b as Sn, u as On, g as vn, _ as xn, M as Cn, e as wn, v as Dn, f as jn, m as Pn, t as An, y as Fn, x as Ln, w as En, k as Nn, R as Rn, $ as Tn, z as Mn, W as $n, i as In, o as _n, r as U, j as je, l as kn, n as Qe, q as kt, A as Bn, B as Un, D as qn, E as Bt, F as Ut, S as ot, G as qt, H as Se, I as Vt, J as Vn, K as q, L as V, N as M, O as T, P as O, Q as Kt, T as Kn, U as Ye, V as Wn, X as Pe, Y as Hn, Z as Ae, a0 as Fe, a1 as zn, a2 as Gn, a3 as Jn, a4 as Z, a5 as Qn, a6 as Yn, a7 as Xn, a8 as Zn, 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 K } from "./use-tracking-71a2feea.js";
|
3
|
+
import { az as pu, ax as gu, ay as hu, aA as mu, aB as yu } from "./use-tracking-71a2feea.js";
|
4
|
+
const Or = y({
|
5
5
|
props: {
|
6
6
|
/**
|
7
7
|
* {@inheritDoc @sisense/sdk-ui!DrilldownBreadcrumbsProps.clearDrilldownSelections}
|
@@ -40,8 +40,8 @@ const vr = y({
|
|
40
40
|
required: !0
|
41
41
|
}
|
42
42
|
},
|
43
|
-
setup: (e, { slots: t }) => _t(
|
44
|
-
}),
|
43
|
+
setup: (e, { slots: t }) => _t(gn, e, t, [])
|
44
|
+
}), bo = y({
|
45
45
|
props: {
|
46
46
|
/**
|
47
47
|
* {@inheritDoc @sisense/sdk-ui!AreaChartProps.dataOptions}
|
@@ -107,8 +107,8 @@ const vr = y({
|
|
107
107
|
*/
|
108
108
|
onDataPointsSelected: Function
|
109
109
|
},
|
110
|
-
setup: (e) => S(
|
111
|
-
}),
|
110
|
+
setup: (e) => S(hn, e)
|
111
|
+
}), So = y({
|
112
112
|
props: {
|
113
113
|
/**
|
114
114
|
* {@inheritDoc @sisense/sdk-ui!BarChartProps.dataOptions}
|
@@ -174,8 +174,8 @@ const vr = y({
|
|
174
174
|
*/
|
175
175
|
styleOptions: Object
|
176
176
|
},
|
177
|
-
setup: (e) => S(
|
178
|
-
}),
|
177
|
+
setup: (e) => S(mn, e)
|
178
|
+
}), Oo = y({
|
179
179
|
props: {
|
180
180
|
/**
|
181
181
|
* {@inheritDoc @sisense/sdk-ui!ColumnChartProps.dataOptions}
|
@@ -241,8 +241,8 @@ const vr = y({
|
|
241
241
|
*/
|
242
242
|
styleOptions: Object
|
243
243
|
},
|
244
|
-
setup: (e) => S(
|
245
|
-
}),
|
244
|
+
setup: (e) => S(yn, e)
|
245
|
+
}), vo = y({
|
246
246
|
props: {
|
247
247
|
/**
|
248
248
|
* {@inheritDoc @sisense/sdk-ui!FunnelChartProps.dataOptions}
|
@@ -308,8 +308,8 @@ const vr = y({
|
|
308
308
|
*/
|
309
309
|
styleOptions: Object
|
310
310
|
},
|
311
|
-
setup: (e) => S(
|
312
|
-
}),
|
311
|
+
setup: (e) => S(bn, e)
|
312
|
+
}), xo = y({
|
313
313
|
props: {
|
314
314
|
/**
|
315
315
|
* {@inheritDoc @sisense/sdk-ui!LineChartProps.dataOptions}
|
@@ -375,8 +375,8 @@ const vr = y({
|
|
375
375
|
*/
|
376
376
|
styleOptions: Object
|
377
377
|
},
|
378
|
-
setup: (e) => S(
|
379
|
-
}),
|
378
|
+
setup: (e) => S(Sn, e)
|
379
|
+
}), Co = y({
|
380
380
|
props: {
|
381
381
|
/**
|
382
382
|
* {@inheritDoc @sisense/sdk-ui!PieChartProps.dataOptions}
|
@@ -442,8 +442,8 @@ const vr = y({
|
|
442
442
|
*/
|
443
443
|
styleOptions: Object
|
444
444
|
},
|
445
|
-
setup: (e) => S(
|
446
|
-
}),
|
445
|
+
setup: (e) => S(On, e)
|
446
|
+
}), wo = y({
|
447
447
|
props: {
|
448
448
|
/**
|
449
449
|
* {@inheritDoc @sisense/sdk-ui!ScatterChartProps.dataOptions}
|
@@ -509,8 +509,8 @@ const vr = y({
|
|
509
509
|
*/
|
510
510
|
styleOptions: Object
|
511
511
|
},
|
512
|
-
setup: (e) => S(
|
513
|
-
}),
|
512
|
+
setup: (e) => S(vn, e)
|
513
|
+
}), Do = y({
|
514
514
|
props: {
|
515
515
|
/**
|
516
516
|
* {@inheritDoc @sisense/sdk-ui!TableProps.dataOptions}
|
@@ -548,8 +548,8 @@ const vr = y({
|
|
548
548
|
*/
|
549
549
|
onDataReady: Function
|
550
550
|
},
|
551
|
-
setup: (e) => S(
|
552
|
-
}),
|
551
|
+
setup: (e) => S(xn, e)
|
552
|
+
}), jo = y({
|
553
553
|
props: {
|
554
554
|
/**
|
555
555
|
* {@inheritDoc @sisense/sdk-ui!PivotTableProps.dataOptions}
|
@@ -587,8 +587,8 @@ const vr = y({
|
|
587
587
|
*/
|
588
588
|
styleOptions: Object
|
589
589
|
},
|
590
|
-
setup: (e) => S(
|
591
|
-
}),
|
590
|
+
setup: (e) => S(Cn, e)
|
591
|
+
}), Po = y({
|
592
592
|
props: {
|
593
593
|
/**
|
594
594
|
* {@inheritDoc @sisense/sdk-ui!TreemapChartProps.dataOptions}
|
@@ -654,8 +654,8 @@ const vr = y({
|
|
654
654
|
*/
|
655
655
|
styleOptions: Object
|
656
656
|
},
|
657
|
-
setup: (e) => S(
|
658
|
-
}),
|
657
|
+
setup: (e) => S(wn, e)
|
658
|
+
}), Ao = y({
|
659
659
|
props: {
|
660
660
|
/**
|
661
661
|
* {@inheritDoc @sisense/sdk-ui!SunburstChartProps.dataOptions}
|
@@ -721,8 +721,8 @@ const vr = y({
|
|
721
721
|
*/
|
722
722
|
styleOptions: Object
|
723
723
|
},
|
724
|
-
setup: (e) => S(
|
725
|
-
}),
|
724
|
+
setup: (e) => S(Dn, e)
|
725
|
+
}), Fo = y({
|
726
726
|
props: {
|
727
727
|
/**
|
728
728
|
* {@inheritDoc @sisense/sdk-ui!PolarChartProps.dataOptions}
|
@@ -788,8 +788,8 @@ const vr = y({
|
|
788
788
|
*/
|
789
789
|
styleOptions: Object
|
790
790
|
},
|
791
|
-
setup: (e) => S(
|
792
|
-
}),
|
791
|
+
setup: (e) => S(jn, e)
|
792
|
+
}), Lo = y({
|
793
793
|
props: {
|
794
794
|
/**
|
795
795
|
* {@inheritDoc @sisense/sdk-ui!IndicatorChartProps.dataOptions}
|
@@ -837,8 +837,8 @@ const vr = y({
|
|
837
837
|
*/
|
838
838
|
onDataReady: Function
|
839
839
|
},
|
840
|
-
setup: (e) => S(
|
841
|
-
}),
|
840
|
+
setup: (e) => S(Pn, e)
|
841
|
+
}), Eo = y({
|
842
842
|
props: {
|
843
843
|
/**
|
844
844
|
* {@inheritDoc @sisense/sdk-ui!ChartProps.chartType}
|
@@ -917,8 +917,8 @@ const vr = y({
|
|
917
917
|
*/
|
918
918
|
refreshCounter: Number
|
919
919
|
},
|
920
|
-
setup: (e) => S(
|
921
|
-
}),
|
920
|
+
setup: (e) => S(An, e)
|
921
|
+
}), No = y({
|
922
922
|
props: {
|
923
923
|
/**
|
924
924
|
* {@inheritDoc @sisense/sdk-ui!BoxplotChartProps.dataOptions}
|
@@ -984,8 +984,8 @@ const vr = y({
|
|
984
984
|
*/
|
985
985
|
onDataPointsSelected: Function
|
986
986
|
},
|
987
|
-
setup: (e) => S(
|
988
|
-
}),
|
987
|
+
setup: (e) => S(Fn, e)
|
988
|
+
}), Ro = y({
|
989
989
|
props: {
|
990
990
|
/**
|
991
991
|
* {@inheritDoc @sisense/sdk-ui!AreamapChartProps.dataOptions}
|
@@ -1033,8 +1033,8 @@ const vr = y({
|
|
1033
1033
|
*/
|
1034
1034
|
onDataPointClick: Function
|
1035
1035
|
},
|
1036
|
-
setup: (e) => S(
|
1037
|
-
}),
|
1036
|
+
setup: (e) => S(Ln, e)
|
1037
|
+
}), To = y({
|
1038
1038
|
props: {
|
1039
1039
|
/**
|
1040
1040
|
* {@inheritDoc @sisense/sdk-ui!ScattermapChartProps.dataOptions}
|
@@ -1082,8 +1082,8 @@ const vr = y({
|
|
1082
1082
|
*/
|
1083
1083
|
onDataPointClick: Object
|
1084
1084
|
},
|
1085
|
-
setup: (e) => S(
|
1086
|
-
}),
|
1085
|
+
setup: (e) => S(En, e)
|
1086
|
+
}), Mo = y({
|
1087
1087
|
props: {
|
1088
1088
|
/**
|
1089
1089
|
* {@inheritDoc @sisense/sdk-ui!AreaRangeChartProps.dataOptions}
|
@@ -1149,8 +1149,8 @@ const vr = y({
|
|
1149
1149
|
*/
|
1150
1150
|
styleOptions: Object
|
1151
1151
|
},
|
1152
|
-
setup: (e) => S(
|
1153
|
-
}),
|
1152
|
+
setup: (e) => S(Nn, e)
|
1153
|
+
}), $o = y({
|
1154
1154
|
props: {
|
1155
1155
|
/**
|
1156
1156
|
* {@inheritDoc @sisense/sdk-ui!DateRangeFilterTileProps.attribute}
|
@@ -1210,8 +1210,8 @@ const vr = y({
|
|
1210
1210
|
*/
|
1211
1211
|
onEdit: Function
|
1212
1212
|
},
|
1213
|
-
setup: (e) => S(
|
1214
|
-
}),
|
1213
|
+
setup: (e) => S(Rn, e)
|
1214
|
+
}), Io = y({
|
1215
1215
|
props: {
|
1216
1216
|
/**
|
1217
1217
|
* {@inheritDoc @sisense/sdk-ui!MemberFilterTileProps.attribute}
|
@@ -1258,8 +1258,8 @@ const vr = y({
|
|
1258
1258
|
*/
|
1259
1259
|
onEdit: Function
|
1260
1260
|
},
|
1261
|
-
setup: (e) => S(
|
1262
|
-
}),
|
1261
|
+
setup: (e) => S(Tn, e)
|
1262
|
+
}), _o = y({
|
1263
1263
|
props: {
|
1264
1264
|
/**
|
1265
1265
|
* {@inheritDoc @sisense/sdk-ui!CriteriaFilterTileProps.arrangement}
|
@@ -1299,8 +1299,8 @@ const vr = y({
|
|
1299
1299
|
*/
|
1300
1300
|
onEdit: Function
|
1301
1301
|
},
|
1302
|
-
setup: (e) => S(
|
1303
|
-
}),
|
1302
|
+
setup: (e) => S(Mn, e)
|
1303
|
+
}), ko = y({
|
1304
1304
|
props: {
|
1305
1305
|
/**
|
1306
1306
|
* {@inheritDoc @sisense/sdk-ui!RelativeDateFilterTileProps.title}
|
@@ -1345,8 +1345,8 @@ const vr = y({
|
|
1345
1345
|
*/
|
1346
1346
|
onEdit: Function
|
1347
1347
|
},
|
1348
|
-
setup: (e) => S(
|
1349
|
-
}),
|
1348
|
+
setup: (e) => S($n, e)
|
1349
|
+
}), Bo = y({
|
1350
1350
|
props: {
|
1351
1351
|
/**
|
1352
1352
|
* {@inheritDoc @sisense/sdk-ui!FilterTileProps.filter}
|
@@ -1375,8 +1375,8 @@ const vr = y({
|
|
1375
1375
|
*/
|
1376
1376
|
onEdit: Function
|
1377
1377
|
},
|
1378
|
-
setup: (e) => S(
|
1379
|
-
}),
|
1378
|
+
setup: (e) => S(In, e)
|
1379
|
+
}), Uo = y({
|
1380
1380
|
props: {
|
1381
1381
|
/**
|
1382
1382
|
* {@inheritDoc @sisense/sdk-ui!FiltersPanelProps.filters}
|
@@ -1407,8 +1407,8 @@ const vr = y({
|
|
1407
1407
|
required: !0
|
1408
1408
|
}
|
1409
1409
|
},
|
1410
|
-
setup: (e) => S(
|
1411
|
-
}),
|
1410
|
+
setup: (e) => S(_n, e)
|
1411
|
+
}), vr = {
|
1412
1412
|
type: "logger",
|
1413
1413
|
log(e) {
|
1414
1414
|
this.output("log", e);
|
@@ -1430,7 +1430,7 @@ class Oe {
|
|
1430
1430
|
}
|
1431
1431
|
init(t) {
|
1432
1432
|
let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
1433
|
-
this.prefix = n.prefix || "i18next:", this.logger = t ||
|
1433
|
+
this.prefix = n.prefix || "i18next:", this.logger = t || vr, this.options = n, this.debug = n.debug;
|
1434
1434
|
}
|
1435
1435
|
log() {
|
1436
1436
|
for (var t = arguments.length, n = new Array(t), r = 0; r < t; r++)
|
@@ -1504,12 +1504,12 @@ function ae() {
|
|
1504
1504
|
function ct(e) {
|
1505
1505
|
return e == null ? "" : "" + e;
|
1506
1506
|
}
|
1507
|
-
function
|
1507
|
+
function xr(e, t, n) {
|
1508
1508
|
e.forEach((r) => {
|
1509
1509
|
t[r] && (n[r] = t[r]);
|
1510
1510
|
});
|
1511
1511
|
}
|
1512
|
-
function
|
1512
|
+
function Xe(e, t, n) {
|
1513
1513
|
function r(a) {
|
1514
1514
|
return a && a.indexOf("###") > -1 ? a.replace(/###/g, ".") : a;
|
1515
1515
|
}
|
@@ -1532,37 +1532,37 @@ function dt(e, t, n) {
|
|
1532
1532
|
const {
|
1533
1533
|
obj: r,
|
1534
1534
|
k: s
|
1535
|
-
} =
|
1535
|
+
} = Xe(e, t, Object);
|
1536
1536
|
r[s] = n;
|
1537
1537
|
}
|
1538
|
-
function
|
1538
|
+
function Cr(e, t, n, r) {
|
1539
1539
|
const {
|
1540
1540
|
obj: s,
|
1541
1541
|
k: i
|
1542
|
-
} =
|
1542
|
+
} = Xe(e, t, Object);
|
1543
1543
|
s[i] = s[i] || [], r && (s[i] = s[i].concat(n)), r || s[i].push(n);
|
1544
1544
|
}
|
1545
1545
|
function ve(e, t) {
|
1546
1546
|
const {
|
1547
1547
|
obj: n,
|
1548
1548
|
k: r
|
1549
|
-
} =
|
1549
|
+
} = Xe(e, t);
|
1550
1550
|
if (n)
|
1551
1551
|
return n[r];
|
1552
1552
|
}
|
1553
|
-
function
|
1553
|
+
function wr(e, t, n) {
|
1554
1554
|
const r = ve(e, n);
|
1555
1555
|
return r !== void 0 ? r : ve(t, n);
|
1556
1556
|
}
|
1557
|
-
function
|
1557
|
+
function Wt(e, t, n) {
|
1558
1558
|
for (const r in t)
|
1559
|
-
r !== "__proto__" && r !== "constructor" && (r in e ? typeof e[r] == "string" || e[r] instanceof String || typeof t[r] == "string" || t[r] instanceof String ? n && (e[r] = t[r]) :
|
1559
|
+
r !== "__proto__" && r !== "constructor" && (r in e ? typeof e[r] == "string" || e[r] instanceof String || typeof t[r] == "string" || t[r] instanceof String ? n && (e[r] = t[r]) : Wt(e[r], t[r], n) : e[r] = t[r]);
|
1560
1560
|
return e;
|
1561
1561
|
}
|
1562
1562
|
function Y(e) {
|
1563
1563
|
return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\$&");
|
1564
1564
|
}
|
1565
|
-
var
|
1565
|
+
var Dr = {
|
1566
1566
|
"&": "&",
|
1567
1567
|
"<": "<",
|
1568
1568
|
">": ">",
|
@@ -1570,13 +1570,13 @@ var jr = {
|
|
1570
1570
|
"'": "'",
|
1571
1571
|
"/": "/"
|
1572
1572
|
};
|
1573
|
-
function
|
1574
|
-
return typeof e == "string" ? e.replace(/[&<>"'\/]/g, (t) =>
|
1573
|
+
function jr(e) {
|
1574
|
+
return typeof e == "string" ? e.replace(/[&<>"'\/]/g, (t) => Dr[t]) : e;
|
1575
1575
|
}
|
1576
|
-
const
|
1577
|
-
function
|
1576
|
+
const Pr = [" ", ",", "?", "!", ";"];
|
1577
|
+
function Ar(e, t, n) {
|
1578
1578
|
t = t || "", n = n || "";
|
1579
|
-
const r =
|
1579
|
+
const r = Pr.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("|")})`);
|
@@ -1669,7 +1669,7 @@ class ft extends Le {
|
|
1669
1669
|
}, o = [t, n];
|
1670
1670
|
t.indexOf(".") > -1 && (o = t.split("."), s = r, r = n, n = o[1]), this.addNamespaces(n);
|
1671
1671
|
let u = ve(this.data, o) || {};
|
1672
|
-
s ?
|
1672
|
+
s ? Wt(u, r, i) : u = {
|
1673
1673
|
...u,
|
1674
1674
|
...r
|
1675
1675
|
}, dt(this.data, o, u), a.silent || this.emit("added", t, n, r);
|
@@ -1711,7 +1711,7 @@ const pt = {};
|
|
1711
1711
|
class we extends Le {
|
1712
1712
|
constructor(t) {
|
1713
1713
|
let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
1714
|
-
super(),
|
1714
|
+
super(), xr(["resourceStore", "languageUtils", "pluralResolver", "interpolator", "backendConnector", "i18nFormat", "utils"], t, this), this.options = n, this.options.keySeparator === void 0 && (this.options.keySeparator = "."), this.logger = _.create("translator");
|
1715
1715
|
}
|
1716
1716
|
changeLanguage(t) {
|
1717
1717
|
t && (this.language = t);
|
@@ -1730,7 +1730,7 @@ class we extends Le {
|
|
1730
1730
|
r === void 0 && (r = ":");
|
1731
1731
|
const s = n.keySeparator !== void 0 ? n.keySeparator : this.options.keySeparator;
|
1732
1732
|
let i = n.ns || this.options.defaultNS || [];
|
1733
|
-
const a = r && t.indexOf(r) > -1, o = !this.options.userDefinedKeySeparator && !n.keySeparator && !this.options.userDefinedNsSeparator && !n.nsSeparator && !
|
1733
|
+
const a = r && t.indexOf(r) > -1, o = !this.options.userDefinedKeySeparator && !n.keySeparator && !this.options.userDefinedNsSeparator && !n.nsSeparator && !Ar(t, r, s);
|
1734
1734
|
if (a && !o) {
|
1735
1735
|
const u = t.match(this.interpolator.nestingRegexp);
|
1736
1736
|
if (u && u.length > 0)
|
@@ -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", P = we.hasDefaultValue(n), ce = $ ? this.pluralResolver.getSuffix(c, n.count, n) : "",
|
1807
|
+
const $ = n.count !== void 0 && typeof n.count != "string", P = 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
|
-
}) : "", re = n[`defaultValue${ce}`] || n[`defaultValue${
|
1809
|
+
}) : "", re = n[`defaultValue${ce}`] || n[`defaultValue${un}`] || n.defaultValue;
|
1810
1810
|
!this.isValidLookup(l) && P && (C = !0, l = re), this.isValidLookup(l) || (F = !0, l = a);
|
1811
|
-
const
|
1811
|
+
const ln = (n.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey) && F ? void 0 : l, se = P && 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, {
|
@@ -1825,7 +1825,7 @@ class we extends Le {
|
|
1825
1825
|
else
|
1826
1826
|
this.options.saveMissingTo === "all" ? ie = this.languageUtils.toResolveHierarchy(n.lng || this.language) : ie.push(n.lng || this.language);
|
1827
1827
|
const rt = (L, Q, st) => {
|
1828
|
-
const it = P && st !== l ? st :
|
1828
|
+
const it = P && st !== l ? st : ln;
|
1829
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) => {
|
@@ -2008,7 +2008,7 @@ class gt {
|
|
2008
2008
|
}), s;
|
2009
2009
|
}
|
2010
2010
|
}
|
2011
|
-
let
|
2011
|
+
let Fr = [{
|
2012
2012
|
lngs: ["ach", "ak", "am", "arn", "br", "fil", "gun", "ln", "mfe", "mg", "mi", "oc", "pt", "pt-BR", "tg", "tl", "ti", "tr", "uz", "wa"],
|
2013
2013
|
nr: [1, 2],
|
2014
2014
|
fc: 1
|
@@ -2100,7 +2100,7 @@ let Lr = [{
|
|
2100
2100
|
lngs: ["he", "iw"],
|
2101
2101
|
nr: [1, 2, 20, 21],
|
2102
2102
|
fc: 22
|
2103
|
-
}],
|
2103
|
+
}], Lr = {
|
2104
2104
|
1: function(e) {
|
2105
2105
|
return +(e > 1);
|
2106
2106
|
},
|
@@ -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
|
2171
|
+
const Er = ["v1", "v2", "v3"], Nr = ["v4"], ht = {
|
2172
2172
|
zero: 0,
|
2173
2173
|
one: 1,
|
2174
2174
|
two: 2,
|
@@ -2176,21 +2176,21 @@ const Nr = ["v1", "v2", "v3"], Rr = ["v4"], ht = {
|
|
2176
2176
|
many: 4,
|
2177
2177
|
other: 5
|
2178
2178
|
};
|
2179
|
-
function
|
2179
|
+
function Rr() {
|
2180
2180
|
const e = {};
|
2181
|
-
return
|
2181
|
+
return Fr.forEach((t) => {
|
2182
2182
|
t.lngs.forEach((n) => {
|
2183
2183
|
e[n] = {
|
2184
2184
|
numbers: t.nr,
|
2185
|
-
plurals:
|
2185
|
+
plurals: Lr[t.fc]
|
2186
2186
|
};
|
2187
2187
|
});
|
2188
2188
|
}), e;
|
2189
2189
|
}
|
2190
|
-
class
|
2190
|
+
class Tr {
|
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 || 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 = Rr();
|
2194
2194
|
}
|
2195
2195
|
addRule(t, n) {
|
2196
2196
|
this.rules[t] = n;
|
@@ -2234,14 +2234,14 @@ class Mr {
|
|
2234
2234
|
return this.options.compatibilityJSON === "v1" ? s === 1 ? "" : typeof s == "number" ? `_plural_${s.toString()}` : i() : this.options.compatibilityJSON === "v2" || this.options.simplifyPluralSuffix && t.numbers.length === 2 && t.numbers[0] === 1 ? i() : this.options.prepend && r.toString() ? this.options.prepend + r.toString() : r.toString();
|
2235
2235
|
}
|
2236
2236
|
shouldUseIntlApi() {
|
2237
|
-
return !
|
2237
|
+
return !Er.includes(this.options.compatibilityJSON);
|
2238
2238
|
}
|
2239
2239
|
}
|
2240
2240
|
function mt(e, t, n) {
|
2241
|
-
let r = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : ".", s = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : !0, i =
|
2241
|
+
let r = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : ".", s = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : !0, i = wr(e, t, n);
|
2242
2242
|
return !i && s && typeof n == "string" && (i = xe(e, n, r), i === void 0 && (i = xe(t, n, r))), i;
|
2243
2243
|
}
|
2244
|
-
class
|
2244
|
+
class Mr {
|
2245
2245
|
constructor() {
|
2246
2246
|
let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
2247
2247
|
this.logger = _.create("interpolator"), this.options = t, this.format = t.interpolation && t.interpolation.format || ((n) => n), this.init(t);
|
@@ -2252,7 +2252,7 @@ class $r {
|
|
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 : jr, 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);
|
@@ -2358,7 +2358,7 @@ class $r {
|
|
2358
2358
|
return t;
|
2359
2359
|
}
|
2360
2360
|
}
|
2361
|
-
function
|
2361
|
+
function $r(e) {
|
2362
2362
|
let t = e.toLowerCase().trim();
|
2363
2363
|
const n = {};
|
2364
2364
|
if (e.indexOf("(") > -1) {
|
@@ -2377,7 +2377,7 @@ function Ir(e) {
|
|
2377
2377
|
formatOptions: n
|
2378
2378
|
};
|
2379
2379
|
}
|
2380
|
-
function
|
2380
|
+
function X(e) {
|
2381
2381
|
const t = {};
|
2382
2382
|
return function(r, s, i) {
|
2383
2383
|
const a = s + JSON.stringify(i);
|
@@ -2385,36 +2385,36 @@ function Z(e) {
|
|
2385
2385
|
return o || (o = e(Ce(s), i), t[a] = o), o(r);
|
2386
2386
|
};
|
2387
2387
|
}
|
2388
|
-
class
|
2388
|
+
class Ir {
|
2389
2389
|
constructor() {
|
2390
2390
|
let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
2391
2391
|
this.logger = _.create("formatter"), this.options = t, this.formats = {
|
2392
|
-
number:
|
2392
|
+
number: X((n, r) => {
|
2393
2393
|
const s = new Intl.NumberFormat(n, {
|
2394
2394
|
...r
|
2395
2395
|
});
|
2396
2396
|
return (i) => s.format(i);
|
2397
2397
|
}),
|
2398
|
-
currency:
|
2398
|
+
currency: X((n, r) => {
|
2399
2399
|
const s = new Intl.NumberFormat(n, {
|
2400
2400
|
...r,
|
2401
2401
|
style: "currency"
|
2402
2402
|
});
|
2403
2403
|
return (i) => s.format(i);
|
2404
2404
|
}),
|
2405
|
-
datetime:
|
2405
|
+
datetime: X((n, r) => {
|
2406
2406
|
const s = new Intl.DateTimeFormat(n, {
|
2407
2407
|
...r
|
2408
2408
|
});
|
2409
2409
|
return (i) => s.format(i);
|
2410
2410
|
}),
|
2411
|
-
relativetime:
|
2411
|
+
relativetime: X((n, r) => {
|
2412
2412
|
const s = new Intl.RelativeTimeFormat(n, {
|
2413
2413
|
...r
|
2414
2414
|
});
|
2415
2415
|
return (i) => s.format(i, r.range || "day");
|
2416
2416
|
}),
|
2417
|
-
list:
|
2417
|
+
list: X((n, r) => {
|
2418
2418
|
const s = new Intl.ListFormat(n, {
|
2419
2419
|
...r
|
2420
2420
|
});
|
@@ -2432,7 +2432,7 @@ class _r {
|
|
2432
2432
|
this.formats[t.toLowerCase().trim()] = n;
|
2433
2433
|
}
|
2434
2434
|
addCached(t, n) {
|
2435
|
-
this.formats[t.toLowerCase().trim()] =
|
2435
|
+
this.formats[t.toLowerCase().trim()] = X(n);
|
2436
2436
|
}
|
2437
2437
|
format(t, n, r) {
|
2438
2438
|
let s = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {};
|
@@ -2440,7 +2440,7 @@ class _r {
|
|
2440
2440
|
const {
|
2441
2441
|
formatName: c,
|
2442
2442
|
formatOptions: d
|
2443
|
-
} =
|
2443
|
+
} = $r(u);
|
2444
2444
|
if (this.formats[c]) {
|
2445
2445
|
let f = o;
|
2446
2446
|
try {
|
@@ -2460,10 +2460,10 @@ class _r {
|
|
2460
2460
|
}, t);
|
2461
2461
|
}
|
2462
2462
|
}
|
2463
|
-
function
|
2463
|
+
function _r(e, t) {
|
2464
2464
|
e.pending[t] !== void 0 && (delete e.pending[t], e.pendingCount--);
|
2465
2465
|
}
|
2466
|
-
class
|
2466
|
+
class kr extends Le {
|
2467
2467
|
constructor(t, n, r) {
|
2468
2468
|
let s = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {};
|
2469
2469
|
super(), this.backend = t, this.store = n, this.services = r, this.languageUtils = r.languageUtils, this.options = s, this.logger = _.create("backendConnector"), this.waitingReads = [], this.maxParallelReads = s.maxParallelReads || 10, this.readingCalls = 0, this.maxRetries = s.maxRetries >= 0 ? s.maxRetries : 5, this.retryTimeout = s.retryTimeout >= 1 ? s.retryTimeout : 350, this.state = {}, this.queue = [], this.backend && this.backend.init && this.backend.init(r, s.backend, s);
|
@@ -2494,7 +2494,7 @@ class Br extends Le {
|
|
2494
2494
|
n && this.emit("failedLoading", i, a, n), r && this.store.addResourceBundle(i, a, r), this.state[t] = n ? -1 : 2;
|
2495
2495
|
const o = {};
|
2496
2496
|
this.queue.forEach((u) => {
|
2497
|
-
|
2497
|
+
Cr(u.loaded, [i], a), _r(u, t), n && u.errors.push(n), u.pendingCount === 0 && !u.done && (Object.keys(u.loaded).forEach((c) => {
|
2498
2498
|
o[c] || (o[c] = {});
|
2499
2499
|
const d = u.loaded[c];
|
2500
2500
|
d.length && d.forEach((f) => {
|
@@ -2661,7 +2661,7 @@ function bt(e) {
|
|
2661
2661
|
}
|
2662
2662
|
function fe() {
|
2663
2663
|
}
|
2664
|
-
function
|
2664
|
+
function Br(e) {
|
2665
2665
|
Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach((n) => {
|
2666
2666
|
typeof e[n] == "function" && (e[n] = e[n].bind(e));
|
2667
2667
|
});
|
@@ -2671,7 +2671,7 @@ class oe extends Le {
|
|
2671
2671
|
let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, n = arguments.length > 1 ? arguments[1] : void 0;
|
2672
2672
|
if (super(), this.options = bt(t), this.services = {}, this.logger = _, this.modules = {
|
2673
2673
|
external: []
|
2674
|
-
},
|
2674
|
+
}, Br(this), n && !this.isInitialized && !t.isClone) {
|
2675
2675
|
if (!this.options.initImmediate)
|
2676
2676
|
return this.init(t, n), this;
|
2677
2677
|
setTimeout(() => {
|
@@ -2698,17 +2698,17 @@ class oe extends Le {
|
|
2698
2698
|
if (!this.options.isClone) {
|
2699
2699
|
this.modules.logger ? _.init(i(this.modules.logger), this.options) : _.init(null, this.options);
|
2700
2700
|
let d;
|
2701
|
-
this.modules.formatter ? d = this.modules.formatter : typeof Intl < "u" && (d =
|
2701
|
+
this.modules.formatter ? d = this.modules.formatter : typeof Intl < "u" && (d = Ir);
|
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 Tr(f, {
|
2706
2706
|
prepend: this.options.pluralSeparator,
|
2707
2707
|
compatibilityJSON: this.options.compatibilityJSON,
|
2708
2708
|
simplifyPluralSuffix: this.options.simplifyPluralSuffix
|
2709
|
-
}), d && (!this.options.interpolation.format || this.options.interpolation.format === s.interpolation.format) && (l.formatter = i(d), l.formatter.init(l, this.options), this.options.interpolation.format = l.formatter.format.bind(l.formatter)), l.interpolator = new
|
2709
|
+
}), d && (!this.options.interpolation.format || this.options.interpolation.format === s.interpolation.format) && (l.formatter = i(d), l.formatter.init(l, this.options), this.options.interpolation.format = l.formatter.format.bind(l.formatter)), l.interpolator = new Mr(this.options), l.utils = {
|
2710
2710
|
hasLoadedNamespace: this.hasLoadedNamespace.bind(this)
|
2711
|
-
}, l.backendConnector = new
|
2711
|
+
}, l.backendConnector = new kr(i(this.modules.backend), l.resourceStore, l, this.options), l.backendConnector.on("*", function(g) {
|
2712
2712
|
for (var p = arguments.length, m = new Array(p > 1 ? p - 1 : 0), h = 1; h < p; h++)
|
2713
2713
|
m[h - 1] = arguments[h];
|
2714
2714
|
t.emit(g, ...m);
|
@@ -2930,23 +2930,23 @@ j.setDefaultNamespace;
|
|
2930
2930
|
j.hasLoadedNamespace;
|
2931
2931
|
j.loadNamespaces;
|
2932
2932
|
j.loadLanguages;
|
2933
|
-
const
|
2933
|
+
const Ur = {
|
2934
2934
|
error: "Error"
|
2935
|
-
},
|
2935
|
+
}, qr = {
|
2936
2936
|
error: "Помилка"
|
2937
|
-
}, St = "common",
|
2938
|
-
en:
|
2939
|
-
uk:
|
2937
|
+
}, St = "common", Vr = {
|
2938
|
+
en: Ur,
|
2939
|
+
uk: qr
|
2940
2940
|
}, I = j.createInstance({
|
2941
2941
|
defaultNS: St,
|
2942
|
-
resources:
|
2942
|
+
resources: Wr(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 Kr = (e) => {
|
2951
2951
|
if (pe.has(e.namespace))
|
2952
2952
|
return pe.get(e.namespace);
|
@@ -2959,7 +2959,7 @@ const Kr = (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) => {
|
@@ -2970,12 +2970,12 @@ const Kr = (e) => {
|
|
2970
2970
|
const s = { initPromise: n, i18nextInstance: t };
|
2971
2971
|
return pe.set(e.namespace, s), s;
|
2972
2972
|
};
|
2973
|
-
function
|
2973
|
+
function Wr(e, t) {
|
2974
2974
|
return Object.keys(e).reduce((n, r) => (n[r] = {
|
2975
2975
|
[t]: e[r]
|
2976
2976
|
}, n), {});
|
2977
2977
|
}
|
2978
|
-
function
|
2978
|
+
function Hr(e) {
|
2979
2979
|
return e && e.replace(new RegExp("(?<!\\\\)'", "g"), "\\'");
|
2980
2980
|
}
|
2981
2981
|
const zr = {
|
@@ -3004,7 +3004,7 @@ const zr = {
|
|
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,46 +3030,46 @@ const zr = {
|
|
3030
3030
|
},
|
3031
3031
|
unsupportedDimensionalElement: "Непідтримуваний тип елемента"
|
3032
3032
|
}
|
3033
|
-
},
|
3033
|
+
}, Jr = "sdkData", Qr = {
|
3034
3034
|
en: zr,
|
3035
|
-
uk:
|
3035
|
+
uk: Gr
|
3036
3036
|
};
|
3037
|
-
function
|
3037
|
+
function Yr() {
|
3038
3038
|
return Kr({
|
3039
|
-
resource:
|
3039
|
+
resource: Qr,
|
3040
3040
|
language: "en",
|
3041
|
-
namespace:
|
3041
|
+
namespace: Jr
|
3042
3042
|
});
|
3043
3043
|
}
|
3044
|
-
|
3044
|
+
Yr();
|
3045
3045
|
function Xr() {
|
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
|
}
|
3057
|
-
var
|
3058
|
-
function
|
3057
|
+
var Zr = Array.prototype, es = Zr.splice;
|
3058
|
+
function ts(e) {
|
3059
3059
|
var t = this.__data__, n = Ee(t, e);
|
3060
3060
|
if (n < 0)
|
3061
3061
|
return !1;
|
3062
3062
|
var r = t.length - 1;
|
3063
|
-
return n == r ? t.pop() :
|
3063
|
+
return n == r ? t.pop() : es.call(t, n, 1), --this.size, !0;
|
3064
3064
|
}
|
3065
|
-
function
|
3065
|
+
function ns(e) {
|
3066
3066
|
var t = this.__data__, n = Ee(t, e);
|
3067
3067
|
return n < 0 ? void 0 : t[n][1];
|
3068
3068
|
}
|
3069
|
-
function
|
3069
|
+
function rs(e) {
|
3070
3070
|
return Ee(this.__data__, e) > -1;
|
3071
3071
|
}
|
3072
|
-
function
|
3072
|
+
function ss(e, t) {
|
3073
3073
|
var n = this.__data__, r = Ee(n, e);
|
3074
3074
|
return r < 0 ? (++this.size, n.push([e, t])) : n[r][1] = t, this;
|
3075
3075
|
}
|
@@ -3081,37 +3081,37 @@ function k(e) {
|
|
3081
3081
|
}
|
3082
3082
|
}
|
3083
3083
|
k.prototype.clear = Xr;
|
3084
|
-
k.prototype.delete =
|
3085
|
-
k.prototype.get =
|
3086
|
-
k.prototype.has =
|
3087
|
-
k.prototype.set =
|
3088
|
-
function
|
3084
|
+
k.prototype.delete = ts;
|
3085
|
+
k.prototype.get = ns;
|
3086
|
+
k.prototype.has = rs;
|
3087
|
+
k.prototype.set = ss;
|
3088
|
+
function is() {
|
3089
3089
|
this.__data__ = new k(), this.size = 0;
|
3090
3090
|
}
|
3091
|
-
function
|
3091
|
+
function as(e) {
|
3092
3092
|
var t = this.__data__, n = t.delete(e);
|
3093
3093
|
return this.size = t.size, n;
|
3094
3094
|
}
|
3095
|
-
function
|
3095
|
+
function os(e) {
|
3096
3096
|
return this.__data__.get(e);
|
3097
3097
|
}
|
3098
|
-
function
|
3098
|
+
function us(e) {
|
3099
3099
|
return this.__data__.has(e);
|
3100
3100
|
}
|
3101
|
-
var
|
3102
|
-
const $e =
|
3101
|
+
var ls = U["__core-js_shared__"];
|
3102
|
+
const $e = ls;
|
3103
3103
|
var Ot = function() {
|
3104
3104
|
var e = /[^.]+$/.exec($e && $e.keys && $e.keys.IE_PROTO || "");
|
3105
3105
|
return e ? "Symbol(src)_1." + e : "";
|
3106
3106
|
}();
|
3107
|
-
function
|
3107
|
+
function cs(e) {
|
3108
3108
|
return !!Ot && Ot in e;
|
3109
3109
|
}
|
3110
|
-
var
|
3111
|
-
function
|
3110
|
+
var ds = Function.prototype, fs = ds.toString;
|
3111
|
+
function G(e) {
|
3112
3112
|
if (e != null) {
|
3113
3113
|
try {
|
3114
|
-
return
|
3114
|
+
return fs.call(e);
|
3115
3115
|
} catch {
|
3116
3116
|
}
|
3117
3117
|
try {
|
@@ -3121,90 +3121,90 @@ function z(e) {
|
|
3121
3121
|
}
|
3122
3122
|
return "";
|
3123
3123
|
}
|
3124
|
-
var
|
3125
|
-
"^" +
|
3124
|
+
var ps = /[\\^$.*+?()[\]{}|]/g, gs = /^\[object .+?Constructor\]$/, hs = Function.prototype, ms = Object.prototype, ys = hs.toString, bs = ms.hasOwnProperty, Ss = RegExp(
|
3125
|
+
"^" + ys.call(bs).replace(ps, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
3126
3126
|
);
|
3127
|
-
function
|
3128
|
-
if (!je(e) ||
|
3127
|
+
function Os(e) {
|
3128
|
+
if (!je(e) || cs(e))
|
3129
3129
|
return !1;
|
3130
|
-
var t =
|
3131
|
-
return t.test(
|
3130
|
+
var t = kn(e) ? Ss : gs;
|
3131
|
+
return t.test(G(e));
|
3132
3132
|
}
|
3133
|
-
function
|
3133
|
+
function vs(e, t) {
|
3134
3134
|
return e == null ? void 0 : e[t];
|
3135
3135
|
}
|
3136
3136
|
function J(e, t) {
|
3137
|
-
var n =
|
3138
|
-
return
|
3137
|
+
var n = vs(e, t);
|
3138
|
+
return Os(n) ? n : void 0;
|
3139
3139
|
}
|
3140
|
-
var
|
3141
|
-
const ue =
|
3142
|
-
var
|
3143
|
-
const le =
|
3144
|
-
function
|
3140
|
+
var xs = J(U, "Map");
|
3141
|
+
const ue = xs;
|
3142
|
+
var Cs = J(Object, "create");
|
3143
|
+
const le = Cs;
|
3144
|
+
function ws() {
|
3145
3145
|
this.__data__ = le ? le(null) : {}, this.size = 0;
|
3146
3146
|
}
|
3147
|
-
function
|
3147
|
+
function Ds(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
|
3152
|
-
function
|
3151
|
+
var js = "__lodash_hash_undefined__", Ps = Object.prototype, As = Ps.hasOwnProperty;
|
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 === js ? void 0 : n;
|
3157
3157
|
}
|
3158
|
-
return
|
3158
|
+
return As.call(t, e) ? t[e] : void 0;
|
3159
3159
|
}
|
3160
|
-
var
|
3161
|
-
function
|
3160
|
+
var Ls = Object.prototype, Es = Ls.hasOwnProperty;
|
3161
|
+
function Ns(e) {
|
3162
3162
|
var t = this.__data__;
|
3163
|
-
return le ? t[e] !== void 0 :
|
3163
|
+
return le ? t[e] !== void 0 : Es.call(t, e);
|
3164
3164
|
}
|
3165
|
-
var
|
3166
|
-
function
|
3165
|
+
var Rs = "__lodash_hash_undefined__";
|
3166
|
+
function Ts(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 ? Rs : 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
|
-
|
3182
|
-
function
|
3177
|
+
z.prototype.clear = ws;
|
3178
|
+
z.prototype.delete = Ds;
|
3179
|
+
z.prototype.get = Fs;
|
3180
|
+
z.prototype.has = Ns;
|
3181
|
+
z.prototype.set = Ts;
|
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
|
-
function
|
3189
|
+
function $s(e) {
|
3190
3190
|
var t = typeof e;
|
3191
3191
|
return t == "string" || t == "number" || t == "symbol" || t == "boolean" ? e !== "__proto__" : e === null;
|
3192
3192
|
}
|
3193
3193
|
function Ne(e, t) {
|
3194
3194
|
var n = e.__data__;
|
3195
|
-
return
|
3195
|
+
return $s(t) ? n[typeof t == "string" ? "string" : "hash"] : n.map;
|
3196
3196
|
}
|
3197
|
-
function
|
3197
|
+
function Is(e) {
|
3198
3198
|
var t = Ne(this, e).delete(e);
|
3199
3199
|
return this.size -= t ? 1 : 0, t;
|
3200
3200
|
}
|
3201
|
-
function
|
3201
|
+
function _s(e) {
|
3202
3202
|
return Ne(this, e).get(e);
|
3203
3203
|
}
|
3204
|
-
function
|
3204
|
+
function ks(e) {
|
3205
3205
|
return Ne(this, e).has(e);
|
3206
3206
|
}
|
3207
|
-
function
|
3207
|
+
function Bs(e, t) {
|
3208
3208
|
var n = Ne(this, e), r = n.size;
|
3209
3209
|
return n.set(e, t), this.size += n.size == r ? 0 : 1, this;
|
3210
3210
|
}
|
@@ -3215,17 +3215,17 @@ function te(e) {
|
|
3215
3215
|
this.set(r[0], r[1]);
|
3216
3216
|
}
|
3217
3217
|
}
|
3218
|
-
te.prototype.clear =
|
3219
|
-
te.prototype.delete =
|
3220
|
-
te.prototype.get =
|
3221
|
-
te.prototype.has =
|
3222
|
-
te.prototype.set =
|
3223
|
-
var
|
3224
|
-
function
|
3218
|
+
te.prototype.clear = Ms;
|
3219
|
+
te.prototype.delete = Is;
|
3220
|
+
te.prototype.get = _s;
|
3221
|
+
te.prototype.has = ks;
|
3222
|
+
te.prototype.set = Bs;
|
3223
|
+
var Us = 200;
|
3224
|
+
function qs(e, t) {
|
3225
3225
|
var n = this.__data__;
|
3226
3226
|
if (n instanceof k) {
|
3227
3227
|
var r = n.__data__;
|
3228
|
-
if (!ue || r.length <
|
3228
|
+
if (!ue || r.length < Us - 1)
|
3229
3229
|
return r.push([e, t]), this.size = ++n.size, this;
|
3230
3230
|
n = this.__data__ = new te(r);
|
3231
3231
|
}
|
@@ -3235,12 +3235,12 @@ function ne(e) {
|
|
3235
3235
|
var t = this.__data__ = new k(e);
|
3236
3236
|
this.size = t.size;
|
3237
3237
|
}
|
3238
|
-
ne.prototype.clear =
|
3239
|
-
ne.prototype.delete =
|
3240
|
-
ne.prototype.get =
|
3241
|
-
ne.prototype.has =
|
3242
|
-
ne.prototype.set =
|
3243
|
-
function
|
3238
|
+
ne.prototype.clear = is;
|
3239
|
+
ne.prototype.delete = as;
|
3240
|
+
ne.prototype.get = os;
|
3241
|
+
ne.prototype.has = us;
|
3242
|
+
ne.prototype.set = qs;
|
3243
|
+
function Vs(e, t) {
|
3244
3244
|
for (var n = -1, r = e == null ? 0 : e.length; ++n < r && t(e[n], n, e) !== !1; )
|
3245
3245
|
;
|
3246
3246
|
return e;
|
@@ -3261,10 +3261,10 @@ function Jt(e, t, n) {
|
|
3261
3261
|
writable: !0
|
3262
3262
|
}) : e[t] = n;
|
3263
3263
|
}
|
3264
|
-
var
|
3264
|
+
var Ws = Object.prototype, Hs = Ws.hasOwnProperty;
|
3265
3265
|
function Qt(e, t, n) {
|
3266
3266
|
var r = e[t];
|
3267
|
-
(!(
|
3267
|
+
(!(Hs.call(e, t) && Gt(r, n)) || n === void 0 && !(t in e)) && Jt(e, t, n);
|
3268
3268
|
}
|
3269
3269
|
function Re(e, t, n, r) {
|
3270
3270
|
var s = !n;
|
@@ -3278,173 +3278,173 @@ function Re(e, t, n, r) {
|
|
3278
3278
|
function zs(e, t) {
|
3279
3279
|
return e && Re(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
|
3289
|
-
function
|
3288
|
+
var Js = Object.prototype, Qs = Js.hasOwnProperty;
|
3289
|
+
function Ys(e) {
|
3290
3290
|
if (!je(e))
|
3291
|
-
return
|
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
|
-
function
|
3298
|
-
return
|
3297
|
+
function Ze(e) {
|
3298
|
+
return Bn(e) ? Un(e, !0) : Ys(e);
|
3299
3299
|
}
|
3300
3300
|
function Xs(e, t) {
|
3301
|
-
return e && Re(t,
|
3301
|
+
return e && Re(t, Ze(t), e);
|
3302
3302
|
}
|
3303
|
-
var Yt = typeof exports == "object" && exports && !exports.nodeType && exports, xt = Yt && typeof module == "object" && module && !module.nodeType && module,
|
3304
|
-
function
|
3303
|
+
var Yt = typeof exports == "object" && exports && !exports.nodeType && exports, xt = Yt && typeof module == "object" && module && !module.nodeType && module, Zs = xt && xt.exports === Yt, Ct = Zs ? U.Buffer : void 0, wt = Ct ? Ct.allocUnsafe : void 0;
|
3304
|
+
function ei(e, t) {
|
3305
3305
|
if (t)
|
3306
3306
|
return e.slice();
|
3307
3307
|
var n = e.length, r = wt ? wt(n) : new e.constructor(n);
|
3308
3308
|
return e.copy(r), r;
|
3309
3309
|
}
|
3310
|
-
function
|
3310
|
+
function ti(e, t) {
|
3311
3311
|
var n = -1, r = e.length;
|
3312
3312
|
for (t || (t = Array(r)); ++n < r; )
|
3313
3313
|
t[n] = e[n];
|
3314
3314
|
return t;
|
3315
3315
|
}
|
3316
|
-
function
|
3316
|
+
function ni(e, t) {
|
3317
3317
|
for (var n = -1, r = e == null ? 0 : e.length, s = 0, i = []; ++n < r; ) {
|
3318
3318
|
var a = e[n];
|
3319
3319
|
t(a, n, e) && (i[s++] = a);
|
3320
3320
|
}
|
3321
3321
|
return i;
|
3322
3322
|
}
|
3323
|
-
function
|
3323
|
+
function Xt() {
|
3324
3324
|
return [];
|
3325
3325
|
}
|
3326
|
-
var
|
3327
|
-
return e == null ? [] : (e = Object(e),
|
3328
|
-
return
|
3326
|
+
var ri = Object.prototype, si = ri.propertyIsEnumerable, Dt = Object.getOwnPropertySymbols, ii = Dt ? function(e) {
|
3327
|
+
return e == null ? [] : (e = Object(e), ni(Dt(e), function(t) {
|
3328
|
+
return si.call(e, t);
|
3329
3329
|
}));
|
3330
|
-
} :
|
3331
|
-
const et =
|
3332
|
-
function
|
3330
|
+
} : Xt;
|
3331
|
+
const et = ii;
|
3332
|
+
function ai(e, t) {
|
3333
3333
|
return Re(e, et(e), t);
|
3334
3334
|
}
|
3335
|
-
function
|
3335
|
+
function Zt(e, t) {
|
3336
3336
|
for (var n = -1, r = t.length, s = e.length; ++n < r; )
|
3337
3337
|
e[s + n] = t[n];
|
3338
3338
|
return e;
|
3339
3339
|
}
|
3340
|
-
var
|
3341
|
-
const en =
|
3342
|
-
var
|
3340
|
+
var oi = qn(Object.getPrototypeOf, Object);
|
3341
|
+
const en = oi;
|
3342
|
+
var ui = Object.getOwnPropertySymbols, li = ui ? function(e) {
|
3343
3343
|
for (var t = []; e; )
|
3344
|
-
|
3344
|
+
Zt(t, et(e)), e = en(e);
|
3345
3345
|
return t;
|
3346
|
-
} :
|
3347
|
-
const tn =
|
3348
|
-
function
|
3346
|
+
} : Xt;
|
3347
|
+
const tn = li;
|
3348
|
+
function ci(e, t) {
|
3349
3349
|
return Re(e, tn(e), t);
|
3350
3350
|
}
|
3351
3351
|
function nn(e, t, n) {
|
3352
3352
|
var r = t(e);
|
3353
|
-
return Bt(e) ? r :
|
3353
|
+
return Bt(e) ? r : Zt(r, n(e));
|
3354
3354
|
}
|
3355
|
-
function
|
3355
|
+
function di(e) {
|
3356
3356
|
return nn(e, Qe, et);
|
3357
3357
|
}
|
3358
|
-
function
|
3359
|
-
return nn(e,
|
3358
|
+
function fi(e) {
|
3359
|
+
return nn(e, Ze, tn);
|
3360
3360
|
}
|
3361
|
-
var
|
3362
|
-
const
|
3363
|
-
var
|
3364
|
-
const He =
|
3365
|
-
var
|
3361
|
+
var pi = J(U, "DataView");
|
3362
|
+
const We = pi;
|
3363
|
+
var gi = J(U, "Promise");
|
3364
|
+
const He = gi;
|
3365
|
+
var hi = J(U, "Set");
|
3366
|
+
const ze = hi;
|
3367
|
+
var mi = J(U, "WeakMap");
|
3366
3368
|
const Ge = mi;
|
3367
|
-
var yi =
|
3368
|
-
|
3369
|
-
var
|
3370
|
-
(Ke && K(new Ke(new ArrayBuffer(1))) != Lt || ue && K(new ue()) != jt || He && K(He.resolve()) != Pt || Ge && K(new Ge()) != At || ze && K(new ze()) != Ft) && (K = function(e) {
|
3371
|
-
var t = Ut(e), n = t == bi ? e.constructor : void 0, r = n ? z(n) : "";
|
3369
|
+
var jt = "[object Map]", yi = "[object Object]", Pt = "[object Promise]", At = "[object Set]", Ft = "[object WeakMap]", Lt = "[object DataView]", bi = G(We), Si = G(ue), Oi = G(He), vi = G(ze), xi = G(Ge), W = Ut;
|
3370
|
+
(We && W(new We(new ArrayBuffer(1))) != Lt || ue && W(new ue()) != jt || He && W(He.resolve()) != Pt || ze && W(new ze()) != At || Ge && W(new Ge()) != Ft) && (W = 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
|
-
case
|
3374
|
+
case bi:
|
3375
3375
|
return Lt;
|
3376
|
-
case
|
3376
|
+
case Si:
|
3377
3377
|
return jt;
|
3378
|
-
case
|
3378
|
+
case Oi:
|
3379
3379
|
return Pt;
|
3380
|
-
case
|
3380
|
+
case vi:
|
3381
3381
|
return At;
|
3382
|
-
case
|
3382
|
+
case xi:
|
3383
3383
|
return Ft;
|
3384
3384
|
}
|
3385
3385
|
return t;
|
3386
3386
|
});
|
3387
|
-
const tt =
|
3388
|
-
var
|
3389
|
-
function
|
3387
|
+
const tt = W;
|
3388
|
+
var Ci = Object.prototype, wi = Ci.hasOwnProperty;
|
3389
|
+
function Di(e) {
|
3390
3390
|
var t = e.length, n = new e.constructor(t);
|
3391
|
-
return t && typeof e[0] == "string" &&
|
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 ji = U.Uint8Array;
|
3394
|
+
const Et = ji;
|
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 Pi(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
|
}
|
3403
|
-
var
|
3404
|
-
function
|
3405
|
-
var t = new e.constructor(e.source,
|
3403
|
+
var Ai = /\w*$/;
|
3404
|
+
function Fi(e) {
|
3405
|
+
var t = new e.constructor(e.source, Ai.exec(e));
|
3406
3406
|
return t.lastIndex = e.lastIndex, t;
|
3407
3407
|
}
|
3408
3408
|
var Nt = ot ? ot.prototype : void 0, Rt = Nt ? Nt.valueOf : void 0;
|
3409
|
-
function
|
3409
|
+
function Li(e) {
|
3410
3410
|
return Rt ? Object(Rt.call(e)) : {};
|
3411
3411
|
}
|
3412
|
-
function
|
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
|
3417
|
-
function
|
3416
|
+
var Ni = "[object Boolean]", Ri = "[object Date]", Ti = "[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]", Ki = "[object Int8Array]", Wi = "[object Int16Array]", Hi = "[object Int32Array]", zi = "[object Uint8Array]", Gi = "[object Uint8ClampedArray]", Ji = "[object Uint16Array]", Qi = "[object Uint32Array]";
|
3417
|
+
function Yi(e, t, n) {
|
3418
3418
|
var r = e.constructor;
|
3419
3419
|
switch (t) {
|
3420
|
-
case
|
3420
|
+
case Bi:
|
3421
3421
|
return nt(e);
|
3422
|
+
case Ni:
|
3422
3423
|
case Ri:
|
3423
|
-
case Ti:
|
3424
3424
|
return new r(+e);
|
3425
|
+
case Ui:
|
3426
|
+
return Pi(e, n);
|
3425
3427
|
case qi:
|
3426
|
-
return Ai(e, n);
|
3427
3428
|
case Vi:
|
3428
|
-
case Wi:
|
3429
3429
|
case Ki:
|
3430
|
+
case Wi:
|
3430
3431
|
case Hi:
|
3431
|
-
case Gi:
|
3432
3432
|
case zi:
|
3433
|
+
case Gi:
|
3433
3434
|
case Ji:
|
3434
3435
|
case Qi:
|
3435
|
-
|
3436
|
-
|
3437
|
-
case Mi:
|
3436
|
+
return Ei(e, n);
|
3437
|
+
case Ti:
|
3438
3438
|
return new r();
|
3439
|
-
case
|
3440
|
-
case
|
3439
|
+
case Mi:
|
3440
|
+
case _i:
|
3441
3441
|
return new r(e);
|
3442
|
+
case $i:
|
3443
|
+
return Fi(e);
|
3442
3444
|
case Ii:
|
3443
|
-
return Li(e);
|
3444
|
-
case _i:
|
3445
3445
|
return new r();
|
3446
|
-
case
|
3447
|
-
return
|
3446
|
+
case ki:
|
3447
|
+
return Li(e);
|
3448
3448
|
}
|
3449
3449
|
}
|
3450
3450
|
var Tt = Object.create, Xi = function() {
|
@@ -3460,73 +3460,73 @@ var Tt = Object.create, Xi = function() {
|
|
3460
3460
|
return e.prototype = void 0, n;
|
3461
3461
|
};
|
3462
3462
|
}();
|
3463
|
-
const
|
3464
|
-
function
|
3465
|
-
return typeof e.constructor == "function" && !kt(e) ?
|
3463
|
+
const Zi = Xi;
|
3464
|
+
function ea(e) {
|
3465
|
+
return typeof e.constructor == "function" && !kt(e) ? Zi(en(e)) : {};
|
3466
3466
|
}
|
3467
|
-
var
|
3468
|
-
function
|
3469
|
-
return qt(e) && tt(e) ==
|
3467
|
+
var ta = "[object Map]";
|
3468
|
+
function na(e) {
|
3469
|
+
return qt(e) && tt(e) == ta;
|
3470
3470
|
}
|
3471
|
-
var Mt = Se && Se.isMap,
|
3472
|
-
const
|
3473
|
-
var
|
3474
|
-
function
|
3475
|
-
return qt(e) && tt(e) ==
|
3471
|
+
var Mt = Se && Se.isMap, ra = Mt ? Vt(Mt) : na;
|
3472
|
+
const sa = ra;
|
3473
|
+
var ia = "[object Set]";
|
3474
|
+
function aa(e) {
|
3475
|
+
return qt(e) && tt(e) == ia;
|
3476
3476
|
}
|
3477
|
-
var $t = Se && Se.isSet,
|
3478
|
-
const
|
3479
|
-
var
|
3480
|
-
v[rn] = v[
|
3481
|
-
v[
|
3477
|
+
var $t = Se && Se.isSet, oa = $t ? Vt($t) : aa;
|
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]", Da = "[object DataView]", ja = "[object Float32Array]", Pa = "[object Float64Array]", Aa = "[object Int8Array]", Fa = "[object Int16Array]", La = "[object Int32Array]", Ea = "[object Uint8Array]", Na = "[object Uint8ClampedArray]", Ra = "[object Uint16Array]", Ta = "[object Uint32Array]", v = {};
|
3480
|
+
v[rn] = v[fa] = v[wa] = v[Da] = v[pa] = v[ga] = v[ja] = v[Pa] = 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[Ra] = v[Ta] = !0;
|
3481
|
+
v[ha] = v[sn] = v[Ca] = !1;
|
3482
3482
|
function ge(e, t, n, r, s, i) {
|
3483
|
-
var a, o = t &
|
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
3486
|
if (!je(e))
|
3487
3487
|
return e;
|
3488
3488
|
var d = Bt(e);
|
3489
3489
|
if (d) {
|
3490
|
-
if (a =
|
3491
|
-
return
|
3490
|
+
if (a = Di(e), !o)
|
3491
|
+
return ti(e, a);
|
3492
3492
|
} else {
|
3493
|
-
var f = tt(e), l = f == sn || f ==
|
3494
|
-
if (
|
3495
|
-
return
|
3493
|
+
var f = tt(e), l = f == sn || f == ma;
|
3494
|
+
if (Vn(e))
|
3495
|
+
return ei(e, o);
|
3496
3496
|
if (f == an || f == rn || l && !s) {
|
3497
|
-
if (a = u || l ? {} :
|
3498
|
-
return u ?
|
3497
|
+
if (a = u || l ? {} : ea(e), !o)
|
3498
|
+
return u ? ci(e, Xs(a, e)) : ai(e, zs(a, e));
|
3499
3499
|
} else {
|
3500
3500
|
if (!v[f])
|
3501
3501
|
return s ? e : {};
|
3502
|
-
a =
|
3502
|
+
a = Yi(e, f, o);
|
3503
3503
|
}
|
3504
3504
|
}
|
3505
3505
|
i || (i = new ne());
|
3506
3506
|
var g = i.get(e);
|
3507
3507
|
if (g)
|
3508
3508
|
return g;
|
3509
|
-
i.set(e, a),
|
3509
|
+
i.set(e, a), ua(e) ? e.forEach(function(h) {
|
3510
3510
|
a.add(ge(h, t, n, h, e, 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 ?
|
3515
|
-
return
|
3514
|
+
var p = c ? u ? fi : di : u ? Ze : Qe, m = d ? void 0 : p(e);
|
3515
|
+
return Vs(m || e, function(h, x) {
|
3516
3516
|
m && (x = h, h = e[x]), Qt(a, x, ge(h, t, n, x, e, i));
|
3517
3517
|
}), a;
|
3518
3518
|
}
|
3519
|
-
var
|
3520
|
-
function
|
3521
|
-
return ge(e,
|
3519
|
+
var Ma = 1, $a = 4;
|
3520
|
+
function Ia(e) {
|
3521
|
+
return ge(e, Ma | $a);
|
3522
3522
|
}
|
3523
|
-
function
|
3523
|
+
function _a(e) {
|
3524
3524
|
return Buffer.from(e).toString("utf8");
|
3525
3525
|
}
|
3526
|
-
function
|
3526
|
+
function ka(e) {
|
3527
3527
|
return String.fromCharCode.apply(null, new Uint16Array(e));
|
3528
3528
|
}
|
3529
|
-
function
|
3529
|
+
function Ba() {
|
3530
3530
|
return "UNSUPPORTED";
|
3531
3531
|
}
|
3532
3532
|
typeof Buffer < "u" && Buffer.from;
|
@@ -3575,7 +3575,7 @@ const b = {
|
|
3575
3575
|
* @returns true if the object or type is a base measure
|
3576
3576
|
*/
|
3577
3577
|
isBaseMeasure(e) {
|
3578
|
-
return e ? typeof e == "string" ? e.toLowerCase() === b.BaseMeasure : (e.agg || e.aggregation) && (e.attribute || e.jaql) && !this.isMeasureTemplate(e) : !1;
|
3578
|
+
return e ? typeof e == "string" ? e.toLowerCase() === b.BaseMeasure : (e.agg || e.aggregation) && (e.attribute || e.jaql || e.dim || e.expression) && !this.isMeasureTemplate(e) : !1;
|
3579
3579
|
},
|
3580
3580
|
/**
|
3581
3581
|
* Checks whether the given object or type is a measure - of any type
|
@@ -3682,46 +3682,33 @@ var Be;
|
|
3682
3682
|
})(Be = Be || (Be = {}));
|
3683
3683
|
function Je(e, t = []) {
|
3684
3684
|
try {
|
3685
|
-
return e == null ? String(e) : typeof e == "string" ? `'${
|
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
|
}
|
3689
3689
|
}
|
3690
|
-
function
|
3690
|
+
function Ua(e) {
|
3691
3691
|
let t = e.length;
|
3692
3692
|
for (; t > 0 && e[t - 1] === void 0; )
|
3693
3693
|
t--;
|
3694
3694
|
return e.slice(0, t);
|
3695
3695
|
}
|
3696
|
-
function
|
3696
|
+
function qa(e, t) {
|
3697
3697
|
return function(n) {
|
3698
3698
|
return function(...r) {
|
3699
|
-
const s =
|
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
|
};
|
3703
3703
|
}
|
3704
3704
|
function It(e, t) {
|
3705
|
-
return
|
3705
|
+
return qa("filterFactory.logic", t)(e);
|
3706
3706
|
}
|
3707
|
-
|
3708
|
-
|
3709
|
-
members: "members",
|
3710
|
-
exclude: "exclude",
|
3711
|
-
measure: "measure",
|
3712
|
-
ranking: "ranking",
|
3713
|
-
text: "text",
|
3714
|
-
numeric: "numeric",
|
3715
|
-
dateRange: "dateRange",
|
3716
|
-
relativeDate: "relativeDate",
|
3717
|
-
cascading: "cascading",
|
3718
|
-
advanced: "advanced"
|
3719
|
-
};
|
3720
|
-
function Wa(e) {
|
3721
|
-
return "filterType" in e && e.filterType === on.members;
|
3707
|
+
function Va(e) {
|
3708
|
+
return e && e.__serializable === "MembersFilter";
|
3722
3709
|
}
|
3723
3710
|
function Ka(e) {
|
3724
|
-
return
|
3711
|
+
return e && e.__serializable === "CascadingFilter";
|
3725
3712
|
}
|
3726
3713
|
const H = (e) => {
|
3727
3714
|
if (Array.isArray(e)) {
|
@@ -3766,7 +3753,7 @@ var qe;
|
|
3766
3753
|
(function(e) {
|
3767
3754
|
e.DATE_TIME = "datetime", e.NUMERIC = "numeric", e.TEXT = "text";
|
3768
3755
|
})(qe = qe || (qe = {}));
|
3769
|
-
const N = Object.assign(Object.assign(Object.assign({}, he), me), ye),
|
3756
|
+
const N = Object.assign(Object.assign(Object.assign({}, he), me), ye), Wa = {
|
3770
3757
|
[N.INCLUDE_ALL]: {
|
3771
3758
|
all: !0,
|
3772
3759
|
filterType: N.INCLUDE_ALL
|
@@ -3795,12 +3782,12 @@ const N = Object.assign(Object.assign(Object.assign({}, he), me), ye), Ha = {
|
|
3795
3782
|
filterType: N.SPECIFIC_ITEMS
|
3796
3783
|
}
|
3797
3784
|
};
|
3798
|
-
|
3785
|
+
Wa.INCLUDE_ALL, be.YEARS;
|
3799
3786
|
var Ve;
|
3800
3787
|
(function(e) {
|
3801
3788
|
e.IS = "members", e.IS_NOT = "exclude", e.IS_WITHIN = "isWithin", e.TOP = "top", e.BOTTOM = "bottom", e.AFTER = "after", e.BEFORE = "before", e.STARTS_WITH = "startsWith", e.DOESNT_START_WITH = "doesntStartWith", e.ENDS_WITH = "endsWith", e.DOESNT_END_WITH = "doesntEndWith", e.CONTAINS = "contains", e.DOESNT_CONTAIN = "doesntContain", e.EQUALS = "equals", e.DOESNT_EQUAL = "doesntEqual", e.IS_EMPTY = "isEmpty", e.IS_NOT_EMPTY = "isNotEmpty", e.GREATER_THAN = "fromNotEqual", e.GREATER_THAN_OR_EQUAL = "from", e.LESS_THAN = "toNotEqual", e.LESS_THAN_OR_EQUAL = "to", e.BETWEEN = "between", e.IS_NOT_BETWEEN = "isNotBetween", e.MULTIPLE_CONDITION = "multipleCondition", e.NONE = "none";
|
3802
3789
|
})(Ve = Ve || (Ve = {}));
|
3803
|
-
const
|
3790
|
+
const on = (e) => {
|
3804
3791
|
if (!e)
|
3805
3792
|
return { filters: void 0, relations: void 0 };
|
3806
3793
|
if (Array.isArray(e))
|
@@ -3814,17 +3801,17 @@ const un = (e) => {
|
|
3814
3801
|
return { left: c, right: d, operator: "AND" };
|
3815
3802
|
}
|
3816
3803
|
function r(a) {
|
3817
|
-
return a && (
|
3804
|
+
return a && (Ha(a) ? Ka(a) ? n(a.filters) : (t.add(a), { instanceid: a.config.guid }) : ("left" in a && (a.left = r(a.left)), "right" in a && (a.right = r(a.right)), "composeCode" in a && delete a.composeCode, a));
|
3818
3805
|
}
|
3819
|
-
const s =
|
3806
|
+
const s = Ia(e), i = r(s);
|
3820
3807
|
return { filters: Array.from(t), relations: i };
|
3821
3808
|
};
|
3822
|
-
function
|
3809
|
+
function Ha(e) {
|
3823
3810
|
return "config" in e && "guid" in e.config;
|
3824
3811
|
}
|
3825
3812
|
b.TextAttribute, b.NumericAttribute, b.DateLevel;
|
3826
|
-
const
|
3827
|
-
const [t, n] = q(
|
3813
|
+
const qo = (e) => {
|
3814
|
+
const [t, n] = q(Kt, {
|
3828
3815
|
isLoading: !0,
|
3829
3816
|
isError: !1,
|
3830
3817
|
isSuccess: !1,
|
@@ -3845,7 +3832,7 @@ const Vo = (e) => {
|
|
3845
3832
|
offset: l,
|
3846
3833
|
ungroup: g,
|
3847
3834
|
onBeforeQuery: p
|
3848
|
-
} = O(e), { filters: m, relations: h } =
|
3835
|
+
} = O(e), { filters: m, relations: h } = on(c);
|
3849
3836
|
n({ type: "loading" });
|
3850
3837
|
const x = await Kn(
|
3851
3838
|
{
|
@@ -3875,10 +3862,10 @@ const Vo = (e) => {
|
|
3875
3862
|
},
|
3876
3863
|
{ immediate: !0 }
|
3877
3864
|
), A(t.value);
|
3878
|
-
},
|
3865
|
+
}, Vo = (e) => {
|
3879
3866
|
const t = B(void 0), n = B(void 0);
|
3880
3867
|
M("useExecuteQueryByWidgetId");
|
3881
|
-
const [r, s] = q(
|
3868
|
+
const [r, s] = q(Kt, {
|
3882
3869
|
isLoading: !0,
|
3883
3870
|
isError: !1,
|
3884
3871
|
isSuccess: !1,
|
@@ -3888,11 +3875,11 @@ const Vo = (e) => {
|
|
3888
3875
|
}), i = V(), a = async (o) => {
|
3889
3876
|
try {
|
3890
3877
|
s({ type: "loading" });
|
3891
|
-
const { filters: u, ...c } = O(e), { filters: d } =
|
3878
|
+
const { filters: u, ...c } = O(e), { filters: d } = on(Ye(u)), {
|
3892
3879
|
data: f,
|
3893
3880
|
query: l,
|
3894
3881
|
pivotQuery: g
|
3895
|
-
} = await
|
3882
|
+
} = await Wn({
|
3896
3883
|
...c,
|
3897
3884
|
filters: d,
|
3898
3885
|
app: o
|
@@ -3916,7 +3903,7 @@ const Vo = (e) => {
|
|
3916
3903
|
};
|
3917
3904
|
}, Ko = (e) => {
|
3918
3905
|
M("useExecuteCsvQuery");
|
3919
|
-
const t = new Pe(
|
3906
|
+
const t = new Pe(Hn, [
|
3920
3907
|
Ae()
|
3921
3908
|
]), [n, r] = Fe({
|
3922
3909
|
isLoading: !0,
|
@@ -3933,7 +3920,7 @@ const Vo = (e) => {
|
|
3933
3920
|
}), De(() => {
|
3934
3921
|
t.destroy();
|
3935
3922
|
}), A(n.value);
|
3936
|
-
},
|
3923
|
+
}, Wo = (e) => {
|
3937
3924
|
M("useExecuteCustomWidgetQuery");
|
3938
3925
|
const t = new Pe(zn, [
|
3939
3926
|
Ae()
|
@@ -3952,12 +3939,12 @@ const Vo = (e) => {
|
|
3952
3939
|
}), De(() => {
|
3953
3940
|
t.destroy();
|
3954
3941
|
}), A(n.value);
|
3955
|
-
},
|
3942
|
+
}, Ho = (e) => {
|
3956
3943
|
M("useGetFilterMembers");
|
3957
3944
|
const { filter: t, parentFilters: n = [] } = O(e), r = {
|
3958
3945
|
selectedMembers: [],
|
3959
3946
|
allMembers: [],
|
3960
|
-
...
|
3947
|
+
...Va(t) ? {
|
3961
3948
|
excludeMembers: t.config.excludeMembers,
|
3962
3949
|
enableMultiSelection: t.config.enableMultiSelection,
|
3963
3950
|
hasBackgroundFilter: !!t.config.backgroundFilter && n.length === 0
|
@@ -3966,7 +3953,7 @@ const Vo = (e) => {
|
|
3966
3953
|
enableMultiSelection: !1,
|
3967
3954
|
hasBackgroundFilter: !1
|
3968
3955
|
}
|
3969
|
-
}, s = new Pe(
|
3956
|
+
}, s = new Pe(Gn, [Ae()]), [i, a] = Fe({
|
3970
3957
|
isLoading: !0,
|
3971
3958
|
isError: !1,
|
3972
3959
|
isSuccess: !1,
|
@@ -3983,7 +3970,7 @@ const Vo = (e) => {
|
|
3983
3970
|
}), A(i.value);
|
3984
3971
|
}, zo = (e) => {
|
3985
3972
|
M("useGetDashboardModel");
|
3986
|
-
const [t, n] = q(
|
3973
|
+
const [t, n] = q(Z, {
|
3987
3974
|
isLoading: !0,
|
3988
3975
|
isError: !1,
|
3989
3976
|
isSuccess: !1,
|
@@ -3993,7 +3980,7 @@ const Vo = (e) => {
|
|
3993
3980
|
}), r = V(), s = async (a) => {
|
3994
3981
|
try {
|
3995
3982
|
n({ type: "loading" });
|
3996
|
-
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, {
|
3997
3984
|
includeWidgets: u,
|
3998
3985
|
includeFilters: c
|
3999
3986
|
});
|
@@ -4011,10 +3998,10 @@ const Vo = (e) => {
|
|
4011
3998
|
{ immediate: !0 }
|
4012
3999
|
);
|
4013
4000
|
const i = A(t.value);
|
4014
|
-
return A(
|
4015
|
-
},
|
4001
|
+
return A(Jn(i));
|
4002
|
+
}, Go = (e) => {
|
4016
4003
|
M("useGetDashboardModels");
|
4017
|
-
const [t, n] = q(
|
4004
|
+
const [t, n] = q(Z, {
|
4018
4005
|
isLoading: !0,
|
4019
4006
|
isError: !1,
|
4020
4007
|
isSuccess: !1,
|
@@ -4039,10 +4026,10 @@ const Vo = (e) => {
|
|
4039
4026
|
{ immediate: !0 }
|
4040
4027
|
);
|
4041
4028
|
const i = A(t.value);
|
4042
|
-
return A(
|
4043
|
-
},
|
4029
|
+
return A(Yn(i));
|
4030
|
+
}, Jo = (e) => {
|
4044
4031
|
M("useGetSharedFormula");
|
4045
|
-
const [t, n] = q(
|
4032
|
+
const [t, n] = q(Z, {
|
4046
4033
|
isLoading: !0,
|
4047
4034
|
isError: !1,
|
4048
4035
|
isSuccess: !1,
|
@@ -4053,7 +4040,7 @@ const Vo = (e) => {
|
|
4053
4040
|
n({ type: "loading" });
|
4054
4041
|
const { dataSource: o, name: u, oid: c } = O(e);
|
4055
4042
|
let d = Promise.resolve(null);
|
4056
|
-
c ? d =
|
4043
|
+
c ? d = er(c, a) : u && o && (d = tr(u, o, a)), d.then((f) => {
|
4057
4044
|
n({ type: "success", data: f });
|
4058
4045
|
}).catch((f) => {
|
4059
4046
|
n({ type: "error", error: f });
|
@@ -4069,11 +4056,11 @@ const Vo = (e) => {
|
|
4069
4056
|
);
|
4070
4057
|
const i = A(t.value);
|
4071
4058
|
return A(
|
4072
|
-
|
4059
|
+
Zn(i)
|
4073
4060
|
);
|
4074
|
-
},
|
4061
|
+
}, Qo = (e) => {
|
4075
4062
|
M("useGetWidgetModel");
|
4076
|
-
const [t, n] = q(
|
4063
|
+
const [t, n] = q(Z, {
|
4077
4064
|
isLoading: !0,
|
4078
4065
|
isError: !1,
|
4079
4066
|
isSuccess: !1,
|
@@ -4083,7 +4070,7 @@ const Vo = (e) => {
|
|
4083
4070
|
}), r = V(), s = async (i) => {
|
4084
4071
|
try {
|
4085
4072
|
n({ type: "loading" });
|
4086
|
-
const { dashboardOid: a, widgetOid: o } = O(e), u = await
|
4073
|
+
const { dashboardOid: a, widgetOid: o } = O(e), u = await nr(i.httpClient, a, o);
|
4087
4074
|
n({ type: "success", data: u });
|
4088
4075
|
} catch (a) {
|
4089
4076
|
n({ type: "error", error: a });
|
@@ -4097,9 +4084,9 @@ const Vo = (e) => {
|
|
4097
4084
|
},
|
4098
4085
|
{ immediate: !0 }
|
4099
4086
|
), A(t.value);
|
4100
|
-
},
|
4087
|
+
}, Yo = (e) => {
|
4101
4088
|
M("useGetHierarchyModels");
|
4102
|
-
const [t, n] = q(
|
4089
|
+
const [t, n] = q(Z, {
|
4103
4090
|
isLoading: !0,
|
4104
4091
|
isError: !1,
|
4105
4092
|
isSuccess: !1,
|
@@ -4109,7 +4096,7 @@ const Vo = (e) => {
|
|
4109
4096
|
}), r = V(), s = async (i) => {
|
4110
4097
|
try {
|
4111
4098
|
n({ type: "loading" });
|
4112
|
-
const a = await
|
4099
|
+
const a = await rr(i.httpClient, O(e));
|
4113
4100
|
n({ type: "success", data: a });
|
4114
4101
|
} catch (a) {
|
4115
4102
|
n({ type: "error", error: a });
|
@@ -4124,7 +4111,7 @@ const Vo = (e) => {
|
|
4124
4111
|
{ immediate: !0 }
|
4125
4112
|
), A(t.value);
|
4126
4113
|
}, Xo = (e, t, n) => {
|
4127
|
-
const [r, s] = q(
|
4114
|
+
const [r, s] = q(Z, {
|
4128
4115
|
isLoading: !0,
|
4129
4116
|
isError: !1,
|
4130
4117
|
isSuccess: !1,
|
@@ -4159,7 +4146,7 @@ const Vo = (e) => {
|
|
4159
4146
|
function za(e, t) {
|
4160
4147
|
const n = document.createElement("div");
|
4161
4148
|
n.style.width = "100%", n.style.height = "100%";
|
4162
|
-
const r =
|
4149
|
+
const r = cn(e, t);
|
4163
4150
|
return r.mount(n), {
|
4164
4151
|
element: n,
|
4165
4152
|
app: r,
|
@@ -4168,8 +4155,8 @@ function za(e, t) {
|
|
4168
4155
|
}
|
4169
4156
|
};
|
4170
4157
|
}
|
4171
|
-
const
|
4172
|
-
const e =
|
4158
|
+
const Zo = () => {
|
4159
|
+
const e = sr();
|
4173
4160
|
return {
|
4174
4161
|
/**
|
4175
4162
|
* Registers a new custom widget.
|
@@ -4180,7 +4167,7 @@ const eu = () => {
|
|
4180
4167
|
registerCustomWidget: (t, n) => {
|
4181
4168
|
const r = (s) => {
|
4182
4169
|
const i = za(n, s);
|
4183
|
-
return
|
4170
|
+
return ir(
|
4184
4171
|
i.element,
|
4185
4172
|
() => i.destroy()
|
4186
4173
|
);
|
@@ -4198,9 +4185,9 @@ const eu = () => {
|
|
4198
4185
|
*/
|
4199
4186
|
hasCustomWidget: (t) => e.value.customWidgetsMap.has(t)
|
4200
4187
|
};
|
4201
|
-
},
|
4188
|
+
}, eu = (e, t = {}) => {
|
4202
4189
|
M("useComposedDashboard");
|
4203
|
-
const n = new Pe(
|
4190
|
+
const n = new Pe(ar, [
|
4204
4191
|
Ae()
|
4205
4192
|
]), [r, s] = Fe(O(e));
|
4206
4193
|
n.subscribe(({ dashboard: o }) => {
|
@@ -4216,7 +4203,7 @@ const eu = () => {
|
|
4216
4203
|
setFilters: i,
|
4217
4204
|
setWidgetsLayout: a
|
4218
4205
|
};
|
4219
|
-
},
|
4206
|
+
}, Ga = y({
|
4220
4207
|
props: {
|
4221
4208
|
/**
|
4222
4209
|
* {@inheritDoc @sisense/sdk-ui!ContextMenuProps.closeContextMenu}
|
@@ -4234,8 +4221,8 @@ const eu = () => {
|
|
4234
4221
|
*/
|
4235
4222
|
position: Object
|
4236
4223
|
},
|
4237
|
-
setup: (e, { slots: t }) => _t(
|
4238
|
-
}),
|
4224
|
+
setup: (e, { slots: t }) => _t(or, e, t, [])
|
4225
|
+
}), Ja = ({
|
4239
4226
|
drilldownPaths: e,
|
4240
4227
|
initialDimension: t
|
4241
4228
|
}) => {
|
@@ -4243,10 +4230,10 @@ const eu = () => {
|
|
4243
4230
|
throw new Error(
|
4244
4231
|
"Initial dimension has to be specified to use drilldown with custom components"
|
4245
4232
|
);
|
4246
|
-
const n = B([]), r = B(), s = B([]), i = B([]), a =
|
4247
|
-
|
4233
|
+
const n = B([]), r = B(), s = B([]), i = B([]), a = Ke(() => [
|
4234
|
+
ur(t),
|
4248
4235
|
...n.value.map(({ nextDimension: l }) => l)
|
4249
|
-
]), o =
|
4236
|
+
]), o = Ke(
|
4250
4237
|
() => e.value.filter((l) => {
|
4251
4238
|
if (b.isAttribute(l)) {
|
4252
4239
|
const m = l;
|
@@ -4260,7 +4247,7 @@ const eu = () => {
|
|
4260
4247
|
);
|
4261
4248
|
})
|
4262
4249
|
), u = (l, g, p) => {
|
4263
|
-
n.value =
|
4250
|
+
n.value = lr(
|
4264
4251
|
n.value,
|
4265
4252
|
l,
|
4266
4253
|
g,
|
@@ -4271,7 +4258,7 @@ const eu = () => {
|
|
4271
4258
|
}, d = () => {
|
4272
4259
|
n.value = [], f();
|
4273
4260
|
}, f = () => {
|
4274
|
-
const l = (p) => p === "drilldown.breadcrumbsAllSuffix" ? "All" : p, g =
|
4261
|
+
const l = (p) => p === "drilldown.breadcrumbsAllSuffix" ? "All" : p, g = cr(
|
4275
4262
|
n.value,
|
4276
4263
|
t,
|
4277
4264
|
l
|
@@ -4288,7 +4275,7 @@ const eu = () => {
|
|
4288
4275
|
sliceDrilldownSelections: c,
|
4289
4276
|
clearDrilldownSelections: d
|
4290
4277
|
};
|
4291
|
-
},
|
4278
|
+
}, Qa = y({
|
4292
4279
|
props: {
|
4293
4280
|
/**
|
4294
4281
|
* {@inheritDoc @sisense/sdk-ui!DrilldownWidgetProps.config}
|
@@ -4324,9 +4311,9 @@ const eu = () => {
|
|
4324
4311
|
},
|
4325
4312
|
setup: () => {
|
4326
4313
|
}
|
4327
|
-
}),
|
4314
|
+
}), Ya = { style: { display: "flex", "flex-direction": "column", height: "100%" } }, Xa = { style: { "flex-grow": "1", "min-wdith": "0", "min-height": "0" } }, tu = /* @__PURE__ */ y({
|
4328
4315
|
__name: "drilldown-widget",
|
4329
|
-
props:
|
4316
|
+
props: Qa.props,
|
4330
4317
|
setup(e) {
|
4331
4318
|
const t = e, { drilldownPaths: n, initialDimension: r, config: s } = A(t), i = B(null), a = B([]), {
|
4332
4319
|
drilldownFilters: o,
|
@@ -4340,16 +4327,16 @@ const eu = () => {
|
|
4340
4327
|
selectDrilldown: f,
|
4341
4328
|
sliceDrilldownSelections: l,
|
4342
4329
|
clearDrilldownSelections: g
|
4343
|
-
} =
|
4330
|
+
} = Ja({
|
4344
4331
|
drilldownPaths: n,
|
4345
4332
|
initialDimension: r.value
|
4346
4333
|
}), p = (D) => {
|
4347
4334
|
f(a.value, D);
|
4348
|
-
}, m =
|
4335
|
+
}, m = Ke(() => {
|
4349
4336
|
const D = (C) => C === "drilldown.drillMenuItem" ? "Drill" : C;
|
4350
4337
|
return [
|
4351
|
-
|
4352
|
-
|
4338
|
+
dr(a.value, u.value),
|
4339
|
+
fr(
|
4353
4340
|
d.value,
|
4354
4341
|
u.value,
|
4355
4342
|
p,
|
@@ -4363,11 +4350,11 @@ const eu = () => {
|
|
4363
4350
|
}, w = () => {
|
4364
4351
|
i.value = null;
|
4365
4352
|
};
|
4366
|
-
return (D, C) => (
|
4353
|
+
return (D, C) => (dn(), fn("div", Ya, [
|
4367
4354
|
Te(D.$slots, "contextMenu", {
|
4368
4355
|
contextMenuProps: { position: i.value, itemSections: m.value, closeContextMenu: w }
|
4369
4356
|
}, () => [
|
4370
|
-
at(E(
|
4357
|
+
at(E(Ga), {
|
4371
4358
|
position: i.value,
|
4372
4359
|
itemSections: m.value,
|
4373
4360
|
closeContextMenu: w
|
@@ -4381,14 +4368,14 @@ const eu = () => {
|
|
4381
4368
|
drilldownDimension: E(u)
|
4382
4369
|
}
|
4383
4370
|
}, () => [
|
4384
|
-
at(E(
|
4371
|
+
at(E(Or), {
|
4385
4372
|
"clear-drilldown-selections": E(g),
|
4386
4373
|
"slice-drilldown-selections": E(l),
|
4387
4374
|
"filters-display-values": E(c),
|
4388
4375
|
"current-dimension": E(u)
|
4389
4376
|
}, null, 8, ["clear-drilldown-selections", "slice-drilldown-selections", "filters-display-values", "current-dimension"])
|
4390
4377
|
]),
|
4391
|
-
|
4378
|
+
pn("div", Xa, [
|
4392
4379
|
Te(D.$slots, "chart", {
|
4393
4380
|
drilldownFilters: E(o),
|
4394
4381
|
drilldownDimension: E(u),
|
@@ -4398,7 +4385,7 @@ const eu = () => {
|
|
4398
4385
|
])
|
4399
4386
|
]));
|
4400
4387
|
}
|
4401
|
-
}),
|
4388
|
+
}), nu = y({
|
4402
4389
|
props: {
|
4403
4390
|
/**
|
4404
4391
|
* {@inheritDoc @sisense/sdk-ui!ChartWidgetProps.bottomSlot}
|
@@ -4533,8 +4520,8 @@ const eu = () => {
|
|
4533
4520
|
*/
|
4534
4521
|
onDataReady: Function
|
4535
4522
|
},
|
4536
|
-
setup: (e) => S(
|
4537
|
-
}),
|
4523
|
+
setup: (e) => S(pr, e)
|
4524
|
+
}), ru = y({
|
4538
4525
|
props: {
|
4539
4526
|
/** @internal */
|
4540
4527
|
bottomSlot: Object,
|
@@ -4645,8 +4632,8 @@ const eu = () => {
|
|
4645
4632
|
*/
|
4646
4633
|
onDataReady: Function
|
4647
4634
|
},
|
4648
|
-
setup: (e) => S(
|
4649
|
-
}),
|
4635
|
+
setup: (e) => S(gr, e)
|
4636
|
+
}), su = y({
|
4650
4637
|
props: {
|
4651
4638
|
bottomSlot: Object,
|
4652
4639
|
dataOptions: {
|
@@ -4661,8 +4648,8 @@ const eu = () => {
|
|
4661
4648
|
topSlot: Object,
|
4662
4649
|
widgetStyleOptions: Object
|
4663
4650
|
},
|
4664
|
-
setup: (e) => S(
|
4665
|
-
}),
|
4651
|
+
setup: (e) => S(hr, e)
|
4652
|
+
}), iu = y({
|
4666
4653
|
props: {
|
4667
4654
|
/**
|
4668
4655
|
* Unique identifier of the widget
|
@@ -4787,8 +4774,8 @@ const eu = () => {
|
|
4787
4774
|
*/
|
4788
4775
|
onDataPointsSelected: Function
|
4789
4776
|
},
|
4790
|
-
setup: (e) => S(
|
4791
|
-
}),
|
4777
|
+
setup: (e) => S(mr, e)
|
4778
|
+
}), au = y({
|
4792
4779
|
props: {
|
4793
4780
|
/**
|
4794
4781
|
* {@inheritDoc @sisense/sdk-ui!DashboardByIdProps.dashboardOid}
|
@@ -4802,8 +4789,8 @@ const eu = () => {
|
|
4802
4789
|
*/
|
4803
4790
|
config: Object
|
4804
4791
|
},
|
4805
|
-
setup: (e) => S(
|
4806
|
-
}),
|
4792
|
+
setup: (e) => S(yr, e)
|
4793
|
+
}), ou = y({
|
4807
4794
|
props: {
|
4808
4795
|
/**
|
4809
4796
|
* {@inheritDoc @sisense/sdk-ui!DashboardProps.title}
|
@@ -4847,109 +4834,109 @@ const eu = () => {
|
|
4847
4834
|
*/
|
4848
4835
|
tabbersOptions: Object
|
4849
4836
|
},
|
4850
|
-
setup: (e) => S(
|
4837
|
+
setup: (e) => S(br, e)
|
4851
4838
|
});
|
4852
|
-
function
|
4853
|
-
return
|
4839
|
+
function Za(e) {
|
4840
|
+
return Sr.toDashboardProps(e);
|
4854
4841
|
}
|
4855
|
-
const
|
4842
|
+
const uu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
4856
4843
|
__proto__: null,
|
4857
|
-
toDashboardProps:
|
4858
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
4844
|
+
toDashboardProps: Za
|
4845
|
+
}, Symbol.toStringTag, { value: "Module" })), eo = (e, t) => ee.replaceFilters(e, t), to = (e, t) => ee.addFilter(e, t), no = (e, t) => ee.addFilters(e, t), ro = (e, t, n) => ee.replaceFilter(
|
4859
4846
|
e,
|
4860
4847
|
t,
|
4861
4848
|
n
|
4862
|
-
),
|
4849
|
+
), so = (e, t) => ee.removeFilter(e, t), io = (e, t) => ee.removeFilters(e, t), lu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
4863
4850
|
__proto__: null,
|
4864
|
-
addFilter:
|
4865
|
-
addFilters:
|
4866
|
-
removeFilter:
|
4867
|
-
removeFilters:
|
4868
|
-
replaceFilter:
|
4869
|
-
replaceFilters:
|
4870
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
4851
|
+
addFilter: to,
|
4852
|
+
addFilters: no,
|
4853
|
+
removeFilter: so,
|
4854
|
+
removeFilters: io,
|
4855
|
+
replaceFilter: ro,
|
4856
|
+
replaceFilters: eo
|
4857
|
+
}, Symbol.toStringTag, { value: "Module" })), ao = (e) => K.toExecuteQueryParams(e), oo = (e) => K.toExecutePivotQueryParams(e);
|
4858
|
+
function uo(e) {
|
4859
|
+
return K.toChartProps(e);
|
4860
|
+
}
|
4871
4861
|
function lo(e) {
|
4872
|
-
return
|
4862
|
+
return K.toTableProps(e);
|
4873
4863
|
}
|
4874
4864
|
function co(e) {
|
4875
|
-
return
|
4865
|
+
return K.toPivotTableProps(e);
|
4876
4866
|
}
|
4877
4867
|
function fo(e) {
|
4878
|
-
return
|
4868
|
+
return K.toChartWidgetProps(e);
|
4879
4869
|
}
|
4880
4870
|
function po(e) {
|
4881
|
-
return
|
4871
|
+
return K.toPivotTableWidgetProps(e);
|
4882
4872
|
}
|
4883
4873
|
function go(e) {
|
4884
|
-
return
|
4885
|
-
}
|
4886
|
-
function ho(e) {
|
4887
|
-
return W.toTextWidgetProps(e);
|
4874
|
+
return K.toTextWidgetProps(e);
|
4888
4875
|
}
|
4889
|
-
const
|
4876
|
+
const cu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
4890
4877
|
__proto__: null,
|
4891
|
-
toChartProps:
|
4892
|
-
toChartWidgetProps:
|
4893
|
-
toExecutePivotQueryParams:
|
4894
|
-
toExecuteQueryParams:
|
4895
|
-
toPivotTableProps:
|
4896
|
-
toPivotTableWidgetProps:
|
4897
|
-
toTableProps:
|
4898
|
-
toTextWidgetProps:
|
4878
|
+
toChartProps: uo,
|
4879
|
+
toChartWidgetProps: fo,
|
4880
|
+
toExecutePivotQueryParams: oo,
|
4881
|
+
toExecuteQueryParams: ao,
|
4882
|
+
toPivotTableProps: co,
|
4883
|
+
toPivotTableWidgetProps: po,
|
4884
|
+
toTableProps: lo,
|
4885
|
+
toTextWidgetProps: go
|
4899
4886
|
}, Symbol.toStringTag, { value: "Module" }));
|
4900
4887
|
export {
|
4901
|
-
|
4902
|
-
|
4903
|
-
|
4904
|
-
|
4905
|
-
|
4906
|
-
|
4907
|
-
|
4908
|
-
|
4909
|
-
|
4910
|
-
|
4911
|
-
|
4912
|
-
|
4913
|
-
|
4914
|
-
|
4915
|
-
|
4916
|
-
|
4917
|
-
|
4918
|
-
|
4919
|
-
|
4920
|
-
|
4921
|
-
|
4922
|
-
|
4923
|
-
|
4924
|
-
|
4925
|
-
|
4926
|
-
|
4927
|
-
|
4928
|
-
|
4929
|
-
|
4930
|
-
|
4931
|
-
|
4932
|
-
|
4933
|
-
|
4934
|
-
|
4935
|
-
|
4936
|
-
|
4937
|
-
|
4938
|
-
|
4939
|
-
|
4940
|
-
|
4941
|
-
|
4942
|
-
|
4888
|
+
bo as AreaChart,
|
4889
|
+
Mo as AreaRangeChart,
|
4890
|
+
Ro as AreamapChart,
|
4891
|
+
So as BarChart,
|
4892
|
+
No as BoxplotChart,
|
4893
|
+
Eo as Chart,
|
4894
|
+
nu as ChartWidget,
|
4895
|
+
Oo as ColumnChart,
|
4896
|
+
Ga as ContextMenu,
|
4897
|
+
_o as CriteriaFilterTile,
|
4898
|
+
pu as CustomWidgetsProvider,
|
4899
|
+
ou as Dashboard,
|
4900
|
+
au as DashboardById,
|
4901
|
+
$o as DateRangeFilterTile,
|
4902
|
+
Or as DrilldownBreadcrumbs,
|
4903
|
+
tu as DrilldownWidget,
|
4904
|
+
Bo as FilterTile,
|
4905
|
+
Uo as FiltersPanel,
|
4906
|
+
vo as FunnelChart,
|
4907
|
+
Lo as IndicatorChart,
|
4908
|
+
xo as LineChart,
|
4909
|
+
Io as MemberFilterTile,
|
4910
|
+
Co as PieChart,
|
4911
|
+
jo as PivotTable,
|
4912
|
+
Fo as PolarChart,
|
4913
|
+
ko as RelativeDateFilterTile,
|
4914
|
+
wo as ScatterChart,
|
4915
|
+
To as ScattermapChart,
|
4916
|
+
gu as SisenseContextProvider,
|
4917
|
+
Ao as SunburstChart,
|
4918
|
+
Do as Table,
|
4919
|
+
su as TableWidget,
|
4920
|
+
hu as ThemeProvider,
|
4921
|
+
Po as TreemapChart,
|
4922
|
+
iu as Widget,
|
4923
|
+
ru as WidgetById,
|
4924
|
+
mu as boxWhiskerProcessResult,
|
4925
|
+
lu as dashboardHelpers,
|
4926
|
+
uu as dashboardModelTranslator,
|
4927
|
+
yu as extractDimensionsAndMeasures,
|
4928
|
+
eu as useComposedDashboard,
|
4929
|
+
Zo as useCustomWidgets,
|
4943
4930
|
Ko as useExecuteCsvQuery,
|
4944
|
-
|
4945
|
-
|
4946
|
-
|
4931
|
+
Wo as useExecuteCustomWidgetQuery,
|
4932
|
+
qo as useExecuteQuery,
|
4933
|
+
Vo as useExecuteQueryByWidgetId,
|
4947
4934
|
Xo as useFetch,
|
4948
4935
|
zo as useGetDashboardModel,
|
4949
|
-
|
4950
|
-
|
4951
|
-
|
4952
|
-
|
4953
|
-
|
4954
|
-
|
4936
|
+
Go as useGetDashboardModels,
|
4937
|
+
Ho as useGetFilterMembers,
|
4938
|
+
Yo as useGetHierarchyModels,
|
4939
|
+
Jo as useGetSharedFormula,
|
4940
|
+
Qo as useGetWidgetModel,
|
4941
|
+
cu as widgetModelTranslator
|
4955
4942
|
};
|