@sisense/sdk-ui-vue 2.15.0 → 2.16.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 +424 -34
- package/dist/ai.js +1355 -1080
- package/dist/index.cjs +1 -1
- package/dist/index.js +575 -507
- package/dist/packages/sdk-ui-vue/src/components/charts/index.d.ts +1 -0
- package/dist/packages/sdk-ui-vue/src/components/charts/streamgraph-chart.d.ts +182 -0
- package/dist/packages/sdk-ui-vue/src/sdk-ui-core-exports.d.ts +1 -1
- package/dist/use-tracking-2e23927e.cjs +3089 -0
- package/dist/{use-tracking-efb607bb.js → use-tracking-becee384.js} +66653 -57438
- package/package.json +2 -2
- package/dist/use-tracking-1234d40c.cjs +0 -1093
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { s as It,
|
|
2
|
-
import {
|
|
3
|
-
import { defineComponent as
|
|
4
|
-
const
|
|
1
|
+
import { s as It, e as ln, a as b, N as cn, O as dn, U as fn, A as pn, P as gn, E as hn, L as mn, F as yn, B as bn, b as Sn, $ as On, W as vn, R as xn, j as Cn, y as wn, H as Dn, c as jn, z as Pn, I as Fn, Y as An, d as Ln, Q as En, f as Nn, g as Rn, h as Tn, i as Mn, r as U, k as Fe, l as $n, m as Qe, n as _t, o as In, p as _n, q as kn, t as kt, u as Bt, S as it, v as Ut, w as xe, x as qt, C as Bn, D as q, G as V, J as M, K as E, M as O, X as Vt, T as Un, V as Je, Z as qn, _ as le, a0 as Vn, a1 as ce, a2 as de, a3 as Wn, a4 as Hn, a5 as Kn, a6 as zn, a7 as X, a8 as Gn, a9 as Qn, aa as Jn, ab as Yn, ac as Xn, ad as Zn, ae as er, af as tr, ag as nr, ah as rr, ai as sr, aj as at, ak as ir, al as ar, am as ot, an as or, ao as ur, ap as lr, aq as cr, ar as dr, as as fr, at as pr, au as gr, av as hr, aw as mr, ax as yr, ay as br, az as Z, aA as W } from "./use-tracking-becee384.js";
|
|
2
|
+
import { aD as Ou, aB as vu, aC as xu, aE as Cu, aF as wu } from "./use-tracking-becee384.js";
|
|
3
|
+
import { defineComponent as m, watch as N, toRefs as j, ref as B, onBeforeUnmount as fe, createApp as Sr, computed as Ve, openBlock as Or, createElementBlock as vr, renderSlot as Re, createVNode as ut, unref as R, createElementVNode as xr } from "vue";
|
|
4
|
+
const Cr = m({
|
|
5
5
|
props: {
|
|
6
6
|
/**
|
|
7
7
|
* {@inheritDoc @sisense/sdk-ui!DrilldownBreadcrumbsProps.clearDrilldownSelections}
|
|
@@ -41,7 +41,7 @@ const xr = y({
|
|
|
41
41
|
}
|
|
42
42
|
},
|
|
43
43
|
setup: (e, { slots: t }) => It(ln, e, t, [])
|
|
44
|
-
}),
|
|
44
|
+
}), vo = m({
|
|
45
45
|
props: {
|
|
46
46
|
/**
|
|
47
47
|
* {@inheritDoc @sisense/sdk-ui!AreaChartProps.dataOptions}
|
|
@@ -108,7 +108,7 @@ const xr = y({
|
|
|
108
108
|
onDataPointsSelected: Function
|
|
109
109
|
},
|
|
110
110
|
setup: (e) => b(cn, e)
|
|
111
|
-
}),
|
|
111
|
+
}), xo = m({
|
|
112
112
|
props: {
|
|
113
113
|
/**
|
|
114
114
|
* {@inheritDoc @sisense/sdk-ui!BarChartProps.dataOptions}
|
|
@@ -175,7 +175,7 @@ const xr = y({
|
|
|
175
175
|
styleOptions: Object
|
|
176
176
|
},
|
|
177
177
|
setup: (e) => b(dn, e)
|
|
178
|
-
}),
|
|
178
|
+
}), Co = m({
|
|
179
179
|
props: {
|
|
180
180
|
/**
|
|
181
181
|
* {@inheritDoc @sisense/sdk-ui!CalendarHeatmapChartProps.dataOptions}
|
|
@@ -242,7 +242,7 @@ const xr = y({
|
|
|
242
242
|
onDataPointsSelected: Function
|
|
243
243
|
},
|
|
244
244
|
setup: (e) => b(fn, e)
|
|
245
|
-
}),
|
|
245
|
+
}), wo = m({
|
|
246
246
|
props: {
|
|
247
247
|
/**
|
|
248
248
|
* {@inheritDoc @sisense/sdk-ui!ColumnChartProps.dataOptions}
|
|
@@ -309,7 +309,7 @@ const xr = y({
|
|
|
309
309
|
styleOptions: Object
|
|
310
310
|
},
|
|
311
311
|
setup: (e) => b(pn, e)
|
|
312
|
-
}),
|
|
312
|
+
}), Do = m({
|
|
313
313
|
props: {
|
|
314
314
|
/**
|
|
315
315
|
* {@inheritDoc @sisense/sdk-ui!FunnelChartProps.dataOptions}
|
|
@@ -376,7 +376,7 @@ const xr = y({
|
|
|
376
376
|
styleOptions: Object
|
|
377
377
|
},
|
|
378
378
|
setup: (e) => b(gn, e)
|
|
379
|
-
}),
|
|
379
|
+
}), jo = m({
|
|
380
380
|
props: {
|
|
381
381
|
/**
|
|
382
382
|
* {@inheritDoc @sisense/sdk-ui!LineChartProps.dataOptions}
|
|
@@ -443,7 +443,7 @@ const xr = y({
|
|
|
443
443
|
styleOptions: Object
|
|
444
444
|
},
|
|
445
445
|
setup: (e) => b(hn, e)
|
|
446
|
-
}),
|
|
446
|
+
}), Po = m({
|
|
447
447
|
props: {
|
|
448
448
|
/**
|
|
449
449
|
* {@inheritDoc @sisense/sdk-ui!PieChartProps.dataOptions}
|
|
@@ -510,7 +510,7 @@ const xr = y({
|
|
|
510
510
|
styleOptions: Object
|
|
511
511
|
},
|
|
512
512
|
setup: (e) => b(mn, e)
|
|
513
|
-
}),
|
|
513
|
+
}), Fo = m({
|
|
514
514
|
props: {
|
|
515
515
|
/**
|
|
516
516
|
* {@inheritDoc @sisense/sdk-ui!ScatterChartProps.dataOptions}
|
|
@@ -577,7 +577,7 @@ const xr = y({
|
|
|
577
577
|
styleOptions: Object
|
|
578
578
|
},
|
|
579
579
|
setup: (e) => b(yn, e)
|
|
580
|
-
}),
|
|
580
|
+
}), Ao = m({
|
|
581
581
|
props: {
|
|
582
582
|
/**
|
|
583
583
|
* {@inheritDoc @sisense/sdk-ui!TableProps.dataOptions}
|
|
@@ -616,7 +616,7 @@ const xr = y({
|
|
|
616
616
|
onDataReady: Function
|
|
617
617
|
},
|
|
618
618
|
setup: (e) => b(bn, e)
|
|
619
|
-
}),
|
|
619
|
+
}), Lo = m({
|
|
620
620
|
props: {
|
|
621
621
|
/**
|
|
622
622
|
* {@inheritDoc @sisense/sdk-ui!PivotTableProps.dataOptions}
|
|
@@ -655,7 +655,7 @@ const xr = y({
|
|
|
655
655
|
styleOptions: Object
|
|
656
656
|
},
|
|
657
657
|
setup: (e) => b(Sn, e)
|
|
658
|
-
}), Eo =
|
|
658
|
+
}), Eo = m({
|
|
659
659
|
props: {
|
|
660
660
|
/**
|
|
661
661
|
* {@inheritDoc @sisense/sdk-ui!TreemapChartProps.dataOptions}
|
|
@@ -722,7 +722,7 @@ const xr = y({
|
|
|
722
722
|
styleOptions: Object
|
|
723
723
|
},
|
|
724
724
|
setup: (e) => b(On, e)
|
|
725
|
-
}),
|
|
725
|
+
}), No = m({
|
|
726
726
|
props: {
|
|
727
727
|
/**
|
|
728
728
|
* {@inheritDoc @sisense/sdk-ui!SunburstChartProps.dataOptions}
|
|
@@ -789,7 +789,7 @@ const xr = y({
|
|
|
789
789
|
styleOptions: Object
|
|
790
790
|
},
|
|
791
791
|
setup: (e) => b(vn, e)
|
|
792
|
-
}),
|
|
792
|
+
}), Ro = m({
|
|
793
793
|
props: {
|
|
794
794
|
/**
|
|
795
795
|
* {@inheritDoc @sisense/sdk-ui!PolarChartProps.dataOptions}
|
|
@@ -856,7 +856,7 @@ const xr = y({
|
|
|
856
856
|
styleOptions: Object
|
|
857
857
|
},
|
|
858
858
|
setup: (e) => b(xn, e)
|
|
859
|
-
}), To =
|
|
859
|
+
}), To = m({
|
|
860
860
|
props: {
|
|
861
861
|
/**
|
|
862
862
|
* {@inheritDoc @sisense/sdk-ui!IndicatorChartProps.dataOptions}
|
|
@@ -905,7 +905,7 @@ const xr = y({
|
|
|
905
905
|
onDataReady: Function
|
|
906
906
|
},
|
|
907
907
|
setup: (e) => b(Cn, e)
|
|
908
|
-
}),
|
|
908
|
+
}), Mo = m({
|
|
909
909
|
props: {
|
|
910
910
|
/**
|
|
911
911
|
* {@inheritDoc @sisense/sdk-ui!ChartProps.chartType}
|
|
@@ -985,7 +985,7 @@ const xr = y({
|
|
|
985
985
|
refreshCounter: Number
|
|
986
986
|
},
|
|
987
987
|
setup: (e) => b(wn, e)
|
|
988
|
-
}),
|
|
988
|
+
}), $o = m({
|
|
989
989
|
props: {
|
|
990
990
|
/**
|
|
991
991
|
* {@inheritDoc @sisense/sdk-ui!BoxplotChartProps.dataOptions}
|
|
@@ -1052,7 +1052,7 @@ const xr = y({
|
|
|
1052
1052
|
onDataPointsSelected: Function
|
|
1053
1053
|
},
|
|
1054
1054
|
setup: (e) => b(Dn, e)
|
|
1055
|
-
}),
|
|
1055
|
+
}), Io = m({
|
|
1056
1056
|
props: {
|
|
1057
1057
|
/**
|
|
1058
1058
|
* {@inheritDoc @sisense/sdk-ui!AreamapChartProps.dataOptions}
|
|
@@ -1101,7 +1101,7 @@ const xr = y({
|
|
|
1101
1101
|
onDataPointClick: Function
|
|
1102
1102
|
},
|
|
1103
1103
|
setup: (e) => b(jn, e)
|
|
1104
|
-
}),
|
|
1104
|
+
}), _o = m({
|
|
1105
1105
|
props: {
|
|
1106
1106
|
/**
|
|
1107
1107
|
* {@inheritDoc @sisense/sdk-ui!ScattermapChartProps.dataOptions}
|
|
@@ -1150,7 +1150,74 @@ const xr = y({
|
|
|
1150
1150
|
onDataPointClick: Object
|
|
1151
1151
|
},
|
|
1152
1152
|
setup: (e) => b(Pn, e)
|
|
1153
|
-
}),
|
|
1153
|
+
}), ko = m({
|
|
1154
|
+
props: {
|
|
1155
|
+
/**
|
|
1156
|
+
* {@inheritDoc @sisense/sdk-ui!StreamgraphChartProps.dataOptions}
|
|
1157
|
+
*
|
|
1158
|
+
* @category Chart
|
|
1159
|
+
*/
|
|
1160
|
+
dataOptions: {
|
|
1161
|
+
type: Object,
|
|
1162
|
+
required: !0
|
|
1163
|
+
},
|
|
1164
|
+
/**
|
|
1165
|
+
* {@inheritDoc @sisense/sdk-ui!StreamgraphChartProps.dataSet}
|
|
1166
|
+
*
|
|
1167
|
+
* @category Data
|
|
1168
|
+
*/
|
|
1169
|
+
dataSet: [String, Object],
|
|
1170
|
+
/**
|
|
1171
|
+
* {@inheritDoc @sisense/sdk-ui!StreamgraphChartProps.filters}
|
|
1172
|
+
*
|
|
1173
|
+
* @category Data
|
|
1174
|
+
*/
|
|
1175
|
+
filters: [Object, Array],
|
|
1176
|
+
/**
|
|
1177
|
+
* {@inheritDoc @sisense/sdk-ui!StreamgraphChartProps.highlights}
|
|
1178
|
+
*
|
|
1179
|
+
* @category Data
|
|
1180
|
+
*/
|
|
1181
|
+
highlights: Array,
|
|
1182
|
+
/**
|
|
1183
|
+
* {@inheritDoc @sisense/sdk-ui!StreamgraphChartProps.styleOptions}
|
|
1184
|
+
*
|
|
1185
|
+
* @category Chart
|
|
1186
|
+
*/
|
|
1187
|
+
styleOptions: Object,
|
|
1188
|
+
/**
|
|
1189
|
+
* {@inheritDoc @sisense/sdk-ui!StreamgraphChartProps.onBeforeRender}
|
|
1190
|
+
*
|
|
1191
|
+
* @category Callbacks
|
|
1192
|
+
*/
|
|
1193
|
+
onBeforeRender: Function,
|
|
1194
|
+
/**
|
|
1195
|
+
* {@inheritDoc @sisense/sdk-ui!StreamgraphChartProps.onDataReady}
|
|
1196
|
+
*
|
|
1197
|
+
* @category Callbacks
|
|
1198
|
+
*/
|
|
1199
|
+
onDataReady: Function,
|
|
1200
|
+
/**
|
|
1201
|
+
* {@inheritDoc @sisense/sdk-ui!StreamgraphChartProps.onDataPointClick}
|
|
1202
|
+
*
|
|
1203
|
+
* @category Callbacks
|
|
1204
|
+
*/
|
|
1205
|
+
onDataPointClick: Function,
|
|
1206
|
+
/**
|
|
1207
|
+
* {@inheritDoc @sisense/sdk-ui!StreamgraphChartProps.onDataPointContextMenu}
|
|
1208
|
+
*
|
|
1209
|
+
* @category Callbacks
|
|
1210
|
+
*/
|
|
1211
|
+
onDataPointContextMenu: Function,
|
|
1212
|
+
/**
|
|
1213
|
+
* {@inheritDoc @sisense/sdk-ui!StreamgraphChartProps.onDataPointsSelected}
|
|
1214
|
+
*
|
|
1215
|
+
* @category Callbacks
|
|
1216
|
+
*/
|
|
1217
|
+
onDataPointsSelected: Function
|
|
1218
|
+
},
|
|
1219
|
+
setup: (e) => b(Fn, e)
|
|
1220
|
+
}), Bo = m({
|
|
1154
1221
|
props: {
|
|
1155
1222
|
/**
|
|
1156
1223
|
* {@inheritDoc @sisense/sdk-ui!AreaRangeChartProps.dataOptions}
|
|
@@ -1216,8 +1283,8 @@ const xr = y({
|
|
|
1216
1283
|
*/
|
|
1217
1284
|
styleOptions: Object
|
|
1218
1285
|
},
|
|
1219
|
-
setup: (e) => b(
|
|
1220
|
-
}),
|
|
1286
|
+
setup: (e) => b(An, e)
|
|
1287
|
+
}), Uo = m({
|
|
1221
1288
|
props: {
|
|
1222
1289
|
/**
|
|
1223
1290
|
* {@inheritDoc @sisense/sdk-ui!DateRangeFilterTileProps.attribute}
|
|
@@ -1277,8 +1344,8 @@ const xr = y({
|
|
|
1277
1344
|
*/
|
|
1278
1345
|
onEdit: Function
|
|
1279
1346
|
},
|
|
1280
|
-
setup: (e) => b(
|
|
1281
|
-
}),
|
|
1347
|
+
setup: (e) => b(Ln, e)
|
|
1348
|
+
}), qo = m({
|
|
1282
1349
|
props: {
|
|
1283
1350
|
/**
|
|
1284
1351
|
* {@inheritDoc @sisense/sdk-ui!MemberFilterTileProps.attribute}
|
|
@@ -1326,7 +1393,7 @@ const xr = y({
|
|
|
1326
1393
|
onEdit: Function
|
|
1327
1394
|
},
|
|
1328
1395
|
setup: (e) => b(En, e)
|
|
1329
|
-
}),
|
|
1396
|
+
}), Vo = m({
|
|
1330
1397
|
props: {
|
|
1331
1398
|
/**
|
|
1332
1399
|
* {@inheritDoc @sisense/sdk-ui!CriteriaFilterTileProps.arrangement}
|
|
@@ -1366,8 +1433,8 @@ const xr = y({
|
|
|
1366
1433
|
*/
|
|
1367
1434
|
onEdit: Function
|
|
1368
1435
|
},
|
|
1369
|
-
setup: (e) => b(
|
|
1370
|
-
}),
|
|
1436
|
+
setup: (e) => b(Nn, e)
|
|
1437
|
+
}), Wo = m({
|
|
1371
1438
|
props: {
|
|
1372
1439
|
/**
|
|
1373
1440
|
* {@inheritDoc @sisense/sdk-ui!RelativeDateFilterTileProps.title}
|
|
@@ -1412,8 +1479,8 @@ const xr = y({
|
|
|
1412
1479
|
*/
|
|
1413
1480
|
onEdit: Function
|
|
1414
1481
|
},
|
|
1415
|
-
setup: (e) => b(
|
|
1416
|
-
}),
|
|
1482
|
+
setup: (e) => b(Rn, e)
|
|
1483
|
+
}), Ho = m({
|
|
1417
1484
|
props: {
|
|
1418
1485
|
/**
|
|
1419
1486
|
* {@inheritDoc @sisense/sdk-ui!FilterTileProps.filter}
|
|
@@ -1443,7 +1510,7 @@ const xr = y({
|
|
|
1443
1510
|
onEdit: Function
|
|
1444
1511
|
},
|
|
1445
1512
|
setup: (e) => b(Tn, e)
|
|
1446
|
-
}),
|
|
1513
|
+
}), Ko = m({
|
|
1447
1514
|
props: {
|
|
1448
1515
|
/**
|
|
1449
1516
|
* {@inheritDoc @sisense/sdk-ui!FiltersPanelProps.filters}
|
|
@@ -1474,8 +1541,8 @@ const xr = y({
|
|
|
1474
1541
|
required: !0
|
|
1475
1542
|
}
|
|
1476
1543
|
},
|
|
1477
|
-
setup: (e) => b(
|
|
1478
|
-
}),
|
|
1544
|
+
setup: (e) => b(Mn, e)
|
|
1545
|
+
}), wr = {
|
|
1479
1546
|
type: "logger",
|
|
1480
1547
|
log(e) {
|
|
1481
1548
|
this.output("log", e);
|
|
@@ -1497,7 +1564,7 @@ class Ce {
|
|
|
1497
1564
|
}
|
|
1498
1565
|
init(t) {
|
|
1499
1566
|
let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
1500
|
-
this.prefix = n.prefix || "i18next:", this.logger = t ||
|
|
1567
|
+
this.prefix = n.prefix || "i18next:", this.logger = t || wr, this.options = n, this.debug = n.debug;
|
|
1501
1568
|
}
|
|
1502
1569
|
log() {
|
|
1503
1570
|
for (var t = arguments.length, n = new Array(t), r = 0; r < t; r++)
|
|
@@ -1571,7 +1638,7 @@ function ie() {
|
|
|
1571
1638
|
function lt(e) {
|
|
1572
1639
|
return e == null ? "" : "" + e;
|
|
1573
1640
|
}
|
|
1574
|
-
function
|
|
1641
|
+
function Dr(e, t, n) {
|
|
1575
1642
|
e.forEach((r) => {
|
|
1576
1643
|
t[r] && (n[r] = t[r]);
|
|
1577
1644
|
});
|
|
@@ -1602,7 +1669,7 @@ function ct(e, t, n) {
|
|
|
1602
1669
|
} = Ye(e, t, Object);
|
|
1603
1670
|
r[s] = n;
|
|
1604
1671
|
}
|
|
1605
|
-
function
|
|
1672
|
+
function jr(e, t, n, r) {
|
|
1606
1673
|
const {
|
|
1607
1674
|
obj: s,
|
|
1608
1675
|
k: i
|
|
@@ -1617,7 +1684,7 @@ function we(e, t) {
|
|
|
1617
1684
|
if (n)
|
|
1618
1685
|
return n[r];
|
|
1619
1686
|
}
|
|
1620
|
-
function
|
|
1687
|
+
function Pr(e, t, n) {
|
|
1621
1688
|
const r = we(e, n);
|
|
1622
1689
|
return r !== void 0 ? r : we(t, n);
|
|
1623
1690
|
}
|
|
@@ -1629,7 +1696,7 @@ function Wt(e, t, n) {
|
|
|
1629
1696
|
function J(e) {
|
|
1630
1697
|
return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\$&");
|
|
1631
1698
|
}
|
|
1632
|
-
var
|
|
1699
|
+
var Fr = {
|
|
1633
1700
|
"&": "&",
|
|
1634
1701
|
"<": "<",
|
|
1635
1702
|
">": ">",
|
|
@@ -1637,13 +1704,13 @@ var Pr = {
|
|
|
1637
1704
|
"'": "'",
|
|
1638
1705
|
"/": "/"
|
|
1639
1706
|
};
|
|
1640
|
-
function
|
|
1641
|
-
return typeof e == "string" ? e.replace(/[&<>"'\/]/g, (t) =>
|
|
1707
|
+
function Ar(e) {
|
|
1708
|
+
return typeof e == "string" ? e.replace(/[&<>"'\/]/g, (t) => Fr[t]) : e;
|
|
1642
1709
|
}
|
|
1643
|
-
const
|
|
1710
|
+
const Lr = [" ", ",", "?", "!", ";"];
|
|
1644
1711
|
function Er(e, t, n) {
|
|
1645
1712
|
t = t || "", n = n || "";
|
|
1646
|
-
const r =
|
|
1713
|
+
const r = Lr.filter((a) => t.indexOf(a) < 0 && n.indexOf(a) < 0);
|
|
1647
1714
|
if (r.length === 0)
|
|
1648
1715
|
return !0;
|
|
1649
1716
|
const s = new RegExp(`(${r.map((a) => a === "?" ? "\\?" : a).join("|")})`);
|
|
@@ -1778,7 +1845,7 @@ const ft = {};
|
|
|
1778
1845
|
class Pe extends Ae {
|
|
1779
1846
|
constructor(t) {
|
|
1780
1847
|
let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
1781
|
-
super(),
|
|
1848
|
+
super(), Dr(["resourceStore", "languageUtils", "pluralResolver", "interpolator", "backendConnector", "i18nFormat", "utils"], t, this), this.options = n, this.options.keySeparator === void 0 && (this.options.keySeparator = "."), this.logger = _.create("translator");
|
|
1782
1849
|
}
|
|
1783
1850
|
changeLanguage(t) {
|
|
1784
1851
|
t && (this.language = t);
|
|
@@ -1844,8 +1911,8 @@ class Pe extends Ae {
|
|
|
1844
1911
|
}
|
|
1845
1912
|
const f = this.resolve(t, n);
|
|
1846
1913
|
let l = f && f.res;
|
|
1847
|
-
const g = f && f.usedKey || a, p = f && f.exactUsedKey || a,
|
|
1848
|
-
if (w && l && (typeof l != "string" && typeof l != "boolean" && typeof l != "number") && h.indexOf(
|
|
1914
|
+
const g = f && f.usedKey || a, p = f && f.exactUsedKey || a, y = Object.prototype.toString.apply(l), h = ["[object Number]", "[object Function]", "[object RegExp]"], x = n.joinArrays !== void 0 ? n.joinArrays : this.options.joinArrays, w = !this.i18nFormat || this.i18nFormat.handleAsObject;
|
|
1915
|
+
if (w && l && (typeof l != "string" && typeof l != "boolean" && typeof l != "number") && h.indexOf(y) < 0 && !(typeof x == "string" && y === "[object Array]")) {
|
|
1849
1916
|
if (!n.returnObjects && !this.options.returnObjects) {
|
|
1850
1917
|
this.options.returnedObjectHandler || this.logger.warn("accessing an object - but returnObjects options is not enabled!");
|
|
1851
1918
|
const C = this.options.returnedObjectHandler ? this.options.returnedObjectHandler(g, l, {
|
|
@@ -1855,7 +1922,7 @@ class Pe extends Ae {
|
|
|
1855
1922
|
return s ? (f.res = C, f) : C;
|
|
1856
1923
|
}
|
|
1857
1924
|
if (i) {
|
|
1858
|
-
const C =
|
|
1925
|
+
const C = y === "[object Array]", A = C ? [] : {}, $ = C ? p : g;
|
|
1859
1926
|
for (const F in l)
|
|
1860
1927
|
if (Object.prototype.hasOwnProperty.call(l, F)) {
|
|
1861
1928
|
const pe = `${$}${i}${F}`;
|
|
@@ -1867,7 +1934,7 @@ class Pe extends Ae {
|
|
|
1867
1934
|
}
|
|
1868
1935
|
l = A;
|
|
1869
1936
|
}
|
|
1870
|
-
} else if (w && typeof x == "string" &&
|
|
1937
|
+
} else if (w && typeof x == "string" && y === "[object Array]")
|
|
1871
1938
|
l = l.join(x), l && (l = this.extendTranslation(l, t, n, r));
|
|
1872
1939
|
else {
|
|
1873
1940
|
let C = !1, A = !1;
|
|
@@ -1878,26 +1945,26 @@ class Pe extends Ae {
|
|
|
1878
1945
|
const un = (n.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey) && A ? void 0 : l, re = F && ne !== l && this.options.updateMissing;
|
|
1879
1946
|
if (A || C || re) {
|
|
1880
1947
|
if (this.logger.log(re ? "updateKey" : "missingKey", c, u, a, re ? ne : l), i) {
|
|
1881
|
-
const
|
|
1948
|
+
const L = this.resolve(a, {
|
|
1882
1949
|
...n,
|
|
1883
1950
|
keySeparator: !1
|
|
1884
1951
|
});
|
|
1885
|
-
|
|
1952
|
+
L && L.res && this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.");
|
|
1886
1953
|
}
|
|
1887
1954
|
let se = [];
|
|
1888
1955
|
const ge = this.languageUtils.getFallbackCodes(this.options.fallbackLng, n.lng || this.language);
|
|
1889
1956
|
if (this.options.saveMissingTo === "fallback" && ge && ge[0])
|
|
1890
|
-
for (let
|
|
1891
|
-
se.push(ge[
|
|
1957
|
+
for (let L = 0; L < ge.length; L++)
|
|
1958
|
+
se.push(ge[L]);
|
|
1892
1959
|
else
|
|
1893
1960
|
this.options.saveMissingTo === "all" ? se = this.languageUtils.toResolveHierarchy(n.lng || this.language) : se.push(n.lng || this.language);
|
|
1894
|
-
const nt = (
|
|
1961
|
+
const nt = (L, Q, rt) => {
|
|
1895
1962
|
const st = F && rt !== l ? rt : un;
|
|
1896
|
-
this.options.missingKeyHandler ? this.options.missingKeyHandler(
|
|
1963
|
+
this.options.missingKeyHandler ? this.options.missingKeyHandler(L, u, Q, st, re, n) : this.backendConnector && this.backendConnector.saveMissing && this.backendConnector.saveMissing(L, u, Q, st, re, n), this.emit("missingKey", L, u, Q, l);
|
|
1897
1964
|
};
|
|
1898
|
-
this.options.saveMissing && (this.options.saveMissingPlurals && $ ? se.forEach((
|
|
1899
|
-
this.pluralResolver.getSuffixes(
|
|
1900
|
-
nt([
|
|
1965
|
+
this.options.saveMissing && (this.options.saveMissingPlurals && $ ? se.forEach((L) => {
|
|
1966
|
+
this.pluralResolver.getSuffixes(L, n).forEach((Q) => {
|
|
1967
|
+
nt([L], a + Q, n[`defaultValue${Q}`] || ne);
|
|
1901
1968
|
});
|
|
1902
1969
|
}) : nt(se, a, ne));
|
|
1903
1970
|
}
|
|
@@ -1957,9 +2024,9 @@ class Pe extends Ae {
|
|
|
1957
2024
|
s = d;
|
|
1958
2025
|
let f = c.namespaces;
|
|
1959
2026
|
this.options.fallbackNS && (f = f.concat(this.options.fallbackNS));
|
|
1960
|
-
const l = n.count !== void 0 && typeof n.count != "string", g = l && !n.ordinal && n.count === 0 && this.pluralResolver.shouldUseIntlApi(), p = n.context !== void 0 && (typeof n.context == "string" || typeof n.context == "number") && n.context !== "",
|
|
2027
|
+
const l = n.count !== void 0 && typeof n.count != "string", g = l && !n.ordinal && n.count === 0 && this.pluralResolver.shouldUseIntlApi(), p = n.context !== void 0 && (typeof n.context == "string" || typeof n.context == "number") && n.context !== "", y = n.lngs ? n.lngs : this.languageUtils.toResolveHierarchy(n.lng || this.language, n.fallbackLng);
|
|
1961
2028
|
f.forEach((h) => {
|
|
1962
|
-
this.isValidLookup(r) || (o = h, !ft[`${
|
|
2029
|
+
this.isValidLookup(r) || (o = h, !ft[`${y[0]}-${h}`] && this.utils && this.utils.hasLoadedNamespace && !this.utils.hasLoadedNamespace(o) && (ft[`${y[0]}-${h}`] = !0, this.logger.warn(`key "${s}" for languages "${y.join(", ")}" won't get resolved as namespace "${o}" was not yet loaded`, "This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")), y.forEach((x) => {
|
|
1963
2030
|
if (this.isValidLookup(r))
|
|
1964
2031
|
return;
|
|
1965
2032
|
a = x;
|
|
@@ -2003,7 +2070,7 @@ class Pe extends Ae {
|
|
|
2003
2070
|
return !1;
|
|
2004
2071
|
}
|
|
2005
2072
|
}
|
|
2006
|
-
function
|
|
2073
|
+
function Te(e) {
|
|
2007
2074
|
return e.charAt(0).toUpperCase() + e.slice(1);
|
|
2008
2075
|
}
|
|
2009
2076
|
class pt {
|
|
@@ -2026,7 +2093,7 @@ class pt {
|
|
|
2026
2093
|
if (typeof t == "string" && t.indexOf("-") > -1) {
|
|
2027
2094
|
const n = ["hans", "hant", "latn", "cyrl", "cans", "mong", "arab"];
|
|
2028
2095
|
let r = t.split("-");
|
|
2029
|
-
return this.options.lowerCaseLng ? r = r.map((s) => s.toLowerCase()) : r.length === 2 ? (r[0] = r[0].toLowerCase(), r[1] = r[1].toUpperCase(), n.indexOf(r[1].toLowerCase()) > -1 && (r[1] =
|
|
2096
|
+
return this.options.lowerCaseLng ? r = r.map((s) => s.toLowerCase()) : r.length === 2 ? (r[0] = r[0].toLowerCase(), r[1] = r[1].toUpperCase(), n.indexOf(r[1].toLowerCase()) > -1 && (r[1] = Te(r[1].toLowerCase()))) : r.length === 3 && (r[0] = r[0].toLowerCase(), r[1].length === 2 && (r[1] = r[1].toUpperCase()), r[0] !== "sgn" && r[2].length === 2 && (r[2] = r[2].toUpperCase()), n.indexOf(r[1].toLowerCase()) > -1 && (r[1] = Te(r[1].toLowerCase())), n.indexOf(r[2].toLowerCase()) > -1 && (r[2] = Te(r[2].toLowerCase()))), r.join("-");
|
|
2030
2097
|
}
|
|
2031
2098
|
return this.options.cleanCode || this.options.lowerCaseLng ? t.toLowerCase() : t;
|
|
2032
2099
|
}
|
|
@@ -2075,7 +2142,7 @@ class pt {
|
|
|
2075
2142
|
}), s;
|
|
2076
2143
|
}
|
|
2077
2144
|
}
|
|
2078
|
-
let
|
|
2145
|
+
let Nr = [{
|
|
2079
2146
|
lngs: ["ach", "ak", "am", "arn", "br", "fil", "gun", "ln", "mfe", "mg", "mi", "oc", "pt", "pt-BR", "tg", "tl", "ti", "tr", "uz", "wa"],
|
|
2080
2147
|
nr: [1, 2],
|
|
2081
2148
|
fc: 1
|
|
@@ -2167,7 +2234,7 @@ let Lr = [{
|
|
|
2167
2234
|
lngs: ["he", "iw"],
|
|
2168
2235
|
nr: [1, 2, 20, 21],
|
|
2169
2236
|
fc: 22
|
|
2170
|
-
}],
|
|
2237
|
+
}], Rr = {
|
|
2171
2238
|
1: function(e) {
|
|
2172
2239
|
return +(e > 1);
|
|
2173
2240
|
},
|
|
@@ -2235,7 +2302,7 @@ let Lr = [{
|
|
|
2235
2302
|
return e == 1 ? 0 : e == 2 ? 1 : (e < 0 || e > 10) && e % 10 == 0 ? 2 : 3;
|
|
2236
2303
|
}
|
|
2237
2304
|
};
|
|
2238
|
-
const Tr = ["v1", "v2", "v3"],
|
|
2305
|
+
const Tr = ["v1", "v2", "v3"], Mr = ["v4"], gt = {
|
|
2239
2306
|
zero: 0,
|
|
2240
2307
|
one: 1,
|
|
2241
2308
|
two: 2,
|
|
@@ -2243,21 +2310,21 @@ const Tr = ["v1", "v2", "v3"], Rr = ["v4"], gt = {
|
|
|
2243
2310
|
many: 4,
|
|
2244
2311
|
other: 5
|
|
2245
2312
|
};
|
|
2246
|
-
function
|
|
2313
|
+
function $r() {
|
|
2247
2314
|
const e = {};
|
|
2248
|
-
return
|
|
2315
|
+
return Nr.forEach((t) => {
|
|
2249
2316
|
t.lngs.forEach((n) => {
|
|
2250
2317
|
e[n] = {
|
|
2251
2318
|
numbers: t.nr,
|
|
2252
|
-
plurals:
|
|
2319
|
+
plurals: Rr[t.fc]
|
|
2253
2320
|
};
|
|
2254
2321
|
});
|
|
2255
2322
|
}), e;
|
|
2256
2323
|
}
|
|
2257
|
-
class
|
|
2324
|
+
class Ir {
|
|
2258
2325
|
constructor(t) {
|
|
2259
2326
|
let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
2260
|
-
this.languageUtils = t, this.options = n, this.logger = _.create("pluralResolver"), (!this.options.compatibilityJSON ||
|
|
2327
|
+
this.languageUtils = t, this.options = n, this.logger = _.create("pluralResolver"), (!this.options.compatibilityJSON || Mr.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 = $r();
|
|
2261
2328
|
}
|
|
2262
2329
|
addRule(t, n) {
|
|
2263
2330
|
this.rules[t] = n;
|
|
@@ -2305,10 +2372,10 @@ class $r {
|
|
|
2305
2372
|
}
|
|
2306
2373
|
}
|
|
2307
2374
|
function ht(e, t, n) {
|
|
2308
|
-
let r = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : ".", s = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : !0, i =
|
|
2375
|
+
let r = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : ".", s = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : !0, i = Pr(e, t, n);
|
|
2309
2376
|
return !i && s && typeof n == "string" && (i = De(e, n, r), i === void 0 && (i = De(t, n, r))), i;
|
|
2310
2377
|
}
|
|
2311
|
-
class
|
|
2378
|
+
class _r {
|
|
2312
2379
|
constructor() {
|
|
2313
2380
|
let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
2314
2381
|
this.logger = _.create("interpolator"), this.options = t, this.format = t.interpolation && t.interpolation.format || ((n) => n), this.init(t);
|
|
@@ -2319,7 +2386,7 @@ class Ir {
|
|
|
2319
2386
|
escapeValue: !0
|
|
2320
2387
|
});
|
|
2321
2388
|
const n = t.interpolation;
|
|
2322
|
-
this.escape = n.escape !== void 0 ? n.escape :
|
|
2389
|
+
this.escape = n.escape !== void 0 ? n.escape : Ar, this.escapeValue = n.escapeValue !== void 0 ? n.escapeValue : !0, this.useRawValueToEscape = n.useRawValueToEscape !== void 0 ? n.useRawValueToEscape : !1, this.prefix = n.prefix ? J(n.prefix) : n.prefixEscaped || "{{", this.suffix = n.suffix ? J(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 ? J(n.nestingPrefix) : n.nestingPrefixEscaped || J("$t("), this.nestingSuffix = n.nestingSuffix ? J(n.nestingSuffix) : n.nestingSuffixEscaped || J(")"), 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();
|
|
2323
2390
|
}
|
|
2324
2391
|
reset() {
|
|
2325
2392
|
this.options && this.init(this.options);
|
|
@@ -2347,7 +2414,7 @@ class Ir {
|
|
|
2347
2414
|
interpolationkey: p
|
|
2348
2415
|
}) : w;
|
|
2349
2416
|
}
|
|
2350
|
-
const
|
|
2417
|
+
const y = p.split(this.formatSeparator), h = y.shift().trim(), x = y.join(this.formatSeparator).trim();
|
|
2351
2418
|
return this.format(ht(n, u, h, this.options.keySeparator, this.options.ignoreJSONStructure), x, r, {
|
|
2352
2419
|
...s,
|
|
2353
2420
|
...n,
|
|
@@ -2364,18 +2431,18 @@ class Ir {
|
|
|
2364
2431
|
safeValue: (p) => this.escapeValue ? c(this.escape(p)) : c(p)
|
|
2365
2432
|
}].forEach((p) => {
|
|
2366
2433
|
for (o = 0; i = p.regex.exec(t); ) {
|
|
2367
|
-
const
|
|
2368
|
-
if (a = d(
|
|
2434
|
+
const y = i[1].trim();
|
|
2435
|
+
if (a = d(y), a === void 0)
|
|
2369
2436
|
if (typeof f == "function") {
|
|
2370
2437
|
const x = f(t, i, s);
|
|
2371
2438
|
a = typeof x == "string" ? x : "";
|
|
2372
|
-
} else if (s && Object.prototype.hasOwnProperty.call(s,
|
|
2439
|
+
} else if (s && Object.prototype.hasOwnProperty.call(s, y))
|
|
2373
2440
|
a = "";
|
|
2374
2441
|
else if (l) {
|
|
2375
2442
|
a = i[0];
|
|
2376
2443
|
continue;
|
|
2377
2444
|
} else
|
|
2378
|
-
this.logger.warn(`missed to pass in variable ${
|
|
2445
|
+
this.logger.warn(`missed to pass in variable ${y} for interpolating ${t}`), a = "";
|
|
2379
2446
|
else
|
|
2380
2447
|
typeof a != "string" && !this.useRawValueToEscape && (a = lt(a));
|
|
2381
2448
|
const h = p.safeValue(a);
|
|
@@ -2400,8 +2467,8 @@ class Ir {
|
|
|
2400
2467
|
...c,
|
|
2401
2468
|
...a
|
|
2402
2469
|
});
|
|
2403
|
-
} catch (
|
|
2404
|
-
return this.logger.warn(`failed parsing options string in nesting for key ${u}`,
|
|
2470
|
+
} catch (y) {
|
|
2471
|
+
return this.logger.warn(`failed parsing options string in nesting for key ${u}`, y), `${u}${d}${l}`;
|
|
2405
2472
|
}
|
|
2406
2473
|
return delete a.defaultValue, u;
|
|
2407
2474
|
}
|
|
@@ -2425,7 +2492,7 @@ class Ir {
|
|
|
2425
2492
|
return t;
|
|
2426
2493
|
}
|
|
2427
2494
|
}
|
|
2428
|
-
function
|
|
2495
|
+
function kr(e) {
|
|
2429
2496
|
let t = e.toLowerCase().trim();
|
|
2430
2497
|
const n = {};
|
|
2431
2498
|
if (e.indexOf("(") > -1) {
|
|
@@ -2452,7 +2519,7 @@ function Y(e) {
|
|
|
2452
2519
|
return o || (o = e(je(s), i), t[a] = o), o(r);
|
|
2453
2520
|
};
|
|
2454
2521
|
}
|
|
2455
|
-
class
|
|
2522
|
+
class Br {
|
|
2456
2523
|
constructor() {
|
|
2457
2524
|
let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
2458
2525
|
this.logger = _.create("formatter"), this.options = t, this.formats = {
|
|
@@ -2507,7 +2574,7 @@ class kr {
|
|
|
2507
2574
|
const {
|
|
2508
2575
|
formatName: c,
|
|
2509
2576
|
formatOptions: d
|
|
2510
|
-
} =
|
|
2577
|
+
} = kr(u);
|
|
2511
2578
|
if (this.formats[c]) {
|
|
2512
2579
|
let f = o;
|
|
2513
2580
|
try {
|
|
@@ -2527,10 +2594,10 @@ class kr {
|
|
|
2527
2594
|
}, t);
|
|
2528
2595
|
}
|
|
2529
2596
|
}
|
|
2530
|
-
function
|
|
2597
|
+
function Ur(e, t) {
|
|
2531
2598
|
e.pending[t] !== void 0 && (delete e.pending[t], e.pendingCount--);
|
|
2532
2599
|
}
|
|
2533
|
-
class
|
|
2600
|
+
class qr extends Ae {
|
|
2534
2601
|
constructor(t, n, r) {
|
|
2535
2602
|
let s = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {};
|
|
2536
2603
|
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);
|
|
@@ -2561,7 +2628,7 @@ class Ur extends Ae {
|
|
|
2561
2628
|
n && this.emit("failedLoading", i, a, n), r && this.store.addResourceBundle(i, a, r), this.state[t] = n ? -1 : 2;
|
|
2562
2629
|
const o = {};
|
|
2563
2630
|
this.queue.forEach((u) => {
|
|
2564
|
-
|
|
2631
|
+
jr(u.loaded, [i], a), Ur(u, t), n && u.errors.push(n), u.pendingCount === 0 && !u.done && (Object.keys(u.loaded).forEach((c) => {
|
|
2565
2632
|
o[c] || (o[c] = {});
|
|
2566
2633
|
const d = u.loaded[c];
|
|
2567
2634
|
d.length && d.forEach((f) => {
|
|
@@ -2728,7 +2795,7 @@ function yt(e) {
|
|
|
2728
2795
|
}
|
|
2729
2796
|
function he() {
|
|
2730
2797
|
}
|
|
2731
|
-
function
|
|
2798
|
+
function Vr(e) {
|
|
2732
2799
|
Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach((n) => {
|
|
2733
2800
|
typeof e[n] == "function" && (e[n] = e[n].bind(e));
|
|
2734
2801
|
});
|
|
@@ -2738,7 +2805,7 @@ class ae extends Ae {
|
|
|
2738
2805
|
let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, n = arguments.length > 1 ? arguments[1] : void 0;
|
|
2739
2806
|
if (super(), this.options = yt(t), this.services = {}, this.logger = _, this.modules = {
|
|
2740
2807
|
external: []
|
|
2741
|
-
},
|
|
2808
|
+
}, Vr(this), n && !this.isInitialized && !t.isClone) {
|
|
2742
2809
|
if (!this.options.initImmediate)
|
|
2743
2810
|
return this.init(t, n), this;
|
|
2744
2811
|
setTimeout(() => {
|
|
@@ -2765,24 +2832,24 @@ class ae extends Ae {
|
|
|
2765
2832
|
if (!this.options.isClone) {
|
|
2766
2833
|
this.modules.logger ? _.init(i(this.modules.logger), this.options) : _.init(null, this.options);
|
|
2767
2834
|
let d;
|
|
2768
|
-
this.modules.formatter ? d = this.modules.formatter : typeof Intl < "u" && (d =
|
|
2835
|
+
this.modules.formatter ? d = this.modules.formatter : typeof Intl < "u" && (d = Br);
|
|
2769
2836
|
const f = new pt(this.options);
|
|
2770
2837
|
this.store = new dt(this.options.resources, this.options);
|
|
2771
2838
|
const l = this.services;
|
|
2772
|
-
l.logger = _, l.resourceStore = this.store, l.languageUtils = f, l.pluralResolver = new
|
|
2839
|
+
l.logger = _, l.resourceStore = this.store, l.languageUtils = f, l.pluralResolver = new Ir(f, {
|
|
2773
2840
|
prepend: this.options.pluralSeparator,
|
|
2774
2841
|
compatibilityJSON: this.options.compatibilityJSON,
|
|
2775
2842
|
simplifyPluralSuffix: this.options.simplifyPluralSuffix
|
|
2776
|
-
}), 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
|
|
2843
|
+
}), 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 _r(this.options), l.utils = {
|
|
2777
2844
|
hasLoadedNamespace: this.hasLoadedNamespace.bind(this)
|
|
2778
|
-
}, l.backendConnector = new
|
|
2779
|
-
for (var p = arguments.length,
|
|
2780
|
-
|
|
2781
|
-
t.emit(g, ...
|
|
2845
|
+
}, l.backendConnector = new qr(i(this.modules.backend), l.resourceStore, l, this.options), l.backendConnector.on("*", function(g) {
|
|
2846
|
+
for (var p = arguments.length, y = new Array(p > 1 ? p - 1 : 0), h = 1; h < p; h++)
|
|
2847
|
+
y[h - 1] = arguments[h];
|
|
2848
|
+
t.emit(g, ...y);
|
|
2782
2849
|
}), this.modules.languageDetector && (l.languageDetector = i(this.modules.languageDetector), l.languageDetector.init && l.languageDetector.init(l, this.options.detection, this.options)), this.modules.i18nFormat && (l.i18nFormat = i(this.modules.i18nFormat), l.i18nFormat.init && l.i18nFormat.init(this)), this.translator = new Pe(this.services, this.options), this.translator.on("*", function(g) {
|
|
2783
|
-
for (var p = arguments.length,
|
|
2784
|
-
|
|
2785
|
-
t.emit(g, ...
|
|
2850
|
+
for (var p = arguments.length, y = new Array(p > 1 ? p - 1 : 0), h = 1; h < p; h++)
|
|
2851
|
+
y[h - 1] = arguments[h];
|
|
2852
|
+
t.emit(g, ...y);
|
|
2786
2853
|
}), this.modules.external.forEach((g) => {
|
|
2787
2854
|
g.init && g.init(this);
|
|
2788
2855
|
});
|
|
@@ -2997,16 +3064,16 @@ P.setDefaultNamespace;
|
|
|
2997
3064
|
P.hasLoadedNamespace;
|
|
2998
3065
|
P.loadNamespaces;
|
|
2999
3066
|
P.loadLanguages;
|
|
3000
|
-
const
|
|
3067
|
+
const Wr = {
|
|
3001
3068
|
error: "Error"
|
|
3002
|
-
},
|
|
3069
|
+
}, Hr = {
|
|
3003
3070
|
error: "Помилка"
|
|
3004
|
-
}, bt = "common",
|
|
3005
|
-
en:
|
|
3006
|
-
uk:
|
|
3071
|
+
}, bt = "common", Kr = {
|
|
3072
|
+
en: Wr,
|
|
3073
|
+
uk: Hr
|
|
3007
3074
|
}, I = P.createInstance({
|
|
3008
3075
|
defaultNS: bt,
|
|
3009
|
-
resources:
|
|
3076
|
+
resources: Gr(Kr, bt),
|
|
3010
3077
|
lng: "en",
|
|
3011
3078
|
fallbackLng: "en"
|
|
3012
3079
|
}), Kt = {
|
|
@@ -3014,7 +3081,7 @@ const Vr = {
|
|
|
3014
3081
|
initPromise: I.init().then(() => I)
|
|
3015
3082
|
}, me = /* @__PURE__ */ new Map();
|
|
3016
3083
|
me.set("common", Kt);
|
|
3017
|
-
const
|
|
3084
|
+
const zr = (e) => {
|
|
3018
3085
|
if (me.has(e.namespace))
|
|
3019
3086
|
return me.get(e.namespace);
|
|
3020
3087
|
if (e.plugins)
|
|
@@ -3037,15 +3104,15 @@ const Kr = (e) => {
|
|
|
3037
3104
|
const s = { initPromise: n, i18nextInstance: t };
|
|
3038
3105
|
return me.set(e.namespace, s), s;
|
|
3039
3106
|
};
|
|
3040
|
-
function
|
|
3107
|
+
function Gr(e, t) {
|
|
3041
3108
|
return Object.keys(e).reduce((n, r) => (n[r] = {
|
|
3042
3109
|
[t]: e[r]
|
|
3043
3110
|
}, n), {});
|
|
3044
3111
|
}
|
|
3045
|
-
function
|
|
3112
|
+
function Qr(e) {
|
|
3046
3113
|
return e && e.replace(new RegExp("(?<!\\\\)'", "g"), "\\'");
|
|
3047
3114
|
}
|
|
3048
|
-
const
|
|
3115
|
+
const Jr = {
|
|
3049
3116
|
errors: {
|
|
3050
3117
|
measure: {
|
|
3051
3118
|
unsupportedType: "Unsupported measure type",
|
|
@@ -3071,7 +3138,7 @@ const Qr = {
|
|
|
3071
3138
|
},
|
|
3072
3139
|
unsupportedDimensionalElement: "Unsupported dimensional element type"
|
|
3073
3140
|
}
|
|
3074
|
-
},
|
|
3141
|
+
}, Yr = {
|
|
3075
3142
|
errors: {
|
|
3076
3143
|
measure: {
|
|
3077
3144
|
unsupportedType: "Непідтримуваний тип measure",
|
|
@@ -3097,47 +3164,47 @@ const Qr = {
|
|
|
3097
3164
|
},
|
|
3098
3165
|
unsupportedDimensionalElement: "Непідтримуваний тип елемента"
|
|
3099
3166
|
}
|
|
3100
|
-
},
|
|
3101
|
-
en:
|
|
3102
|
-
uk:
|
|
3167
|
+
}, Xr = "sdkData", Zr = {
|
|
3168
|
+
en: Jr,
|
|
3169
|
+
uk: Yr
|
|
3103
3170
|
};
|
|
3104
|
-
function
|
|
3105
|
-
return
|
|
3106
|
-
resource:
|
|
3171
|
+
function es() {
|
|
3172
|
+
return zr({
|
|
3173
|
+
resource: Zr,
|
|
3107
3174
|
language: "en",
|
|
3108
|
-
namespace:
|
|
3175
|
+
namespace: Xr
|
|
3109
3176
|
});
|
|
3110
3177
|
}
|
|
3111
|
-
|
|
3112
|
-
function
|
|
3178
|
+
es();
|
|
3179
|
+
function ts() {
|
|
3113
3180
|
this.__data__ = [], this.size = 0;
|
|
3114
3181
|
}
|
|
3115
3182
|
function zt(e, t) {
|
|
3116
3183
|
return e === t || e !== e && t !== t;
|
|
3117
3184
|
}
|
|
3118
|
-
function
|
|
3185
|
+
function Le(e, t) {
|
|
3119
3186
|
for (var n = e.length; n--; )
|
|
3120
3187
|
if (zt(e[n][0], t))
|
|
3121
3188
|
return n;
|
|
3122
3189
|
return -1;
|
|
3123
3190
|
}
|
|
3124
|
-
var
|
|
3125
|
-
function
|
|
3126
|
-
var t = this.__data__, n =
|
|
3191
|
+
var ns = Array.prototype, rs = ns.splice;
|
|
3192
|
+
function ss(e) {
|
|
3193
|
+
var t = this.__data__, n = Le(t, e);
|
|
3127
3194
|
if (n < 0)
|
|
3128
3195
|
return !1;
|
|
3129
3196
|
var r = t.length - 1;
|
|
3130
|
-
return n == r ? t.pop() :
|
|
3197
|
+
return n == r ? t.pop() : rs.call(t, n, 1), --this.size, !0;
|
|
3131
3198
|
}
|
|
3132
|
-
function
|
|
3133
|
-
var t = this.__data__, n =
|
|
3199
|
+
function is(e) {
|
|
3200
|
+
var t = this.__data__, n = Le(t, e);
|
|
3134
3201
|
return n < 0 ? void 0 : t[n][1];
|
|
3135
3202
|
}
|
|
3136
|
-
function
|
|
3137
|
-
return
|
|
3203
|
+
function as(e) {
|
|
3204
|
+
return Le(this.__data__, e) > -1;
|
|
3138
3205
|
}
|
|
3139
|
-
function
|
|
3140
|
-
var n = this.__data__, r =
|
|
3206
|
+
function os(e, t) {
|
|
3207
|
+
var n = this.__data__, r = Le(n, e);
|
|
3141
3208
|
return r < 0 ? (++this.size, n.push([e, t])) : n[r][1] = t, this;
|
|
3142
3209
|
}
|
|
3143
3210
|
function k(e) {
|
|
@@ -3147,38 +3214,38 @@ function k(e) {
|
|
|
3147
3214
|
this.set(r[0], r[1]);
|
|
3148
3215
|
}
|
|
3149
3216
|
}
|
|
3150
|
-
k.prototype.clear =
|
|
3151
|
-
k.prototype.delete =
|
|
3152
|
-
k.prototype.get =
|
|
3153
|
-
k.prototype.has =
|
|
3154
|
-
k.prototype.set =
|
|
3155
|
-
function
|
|
3217
|
+
k.prototype.clear = ts;
|
|
3218
|
+
k.prototype.delete = ss;
|
|
3219
|
+
k.prototype.get = is;
|
|
3220
|
+
k.prototype.has = as;
|
|
3221
|
+
k.prototype.set = os;
|
|
3222
|
+
function us() {
|
|
3156
3223
|
this.__data__ = new k(), this.size = 0;
|
|
3157
3224
|
}
|
|
3158
|
-
function
|
|
3225
|
+
function ls(e) {
|
|
3159
3226
|
var t = this.__data__, n = t.delete(e);
|
|
3160
3227
|
return this.size = t.size, n;
|
|
3161
3228
|
}
|
|
3162
|
-
function
|
|
3229
|
+
function cs(e) {
|
|
3163
3230
|
return this.__data__.get(e);
|
|
3164
3231
|
}
|
|
3165
|
-
function
|
|
3232
|
+
function ds(e) {
|
|
3166
3233
|
return this.__data__.has(e);
|
|
3167
3234
|
}
|
|
3168
|
-
var
|
|
3169
|
-
const Me =
|
|
3235
|
+
var fs = U["__core-js_shared__"];
|
|
3236
|
+
const Me = fs;
|
|
3170
3237
|
var St = function() {
|
|
3171
3238
|
var e = /[^.]+$/.exec(Me && Me.keys && Me.keys.IE_PROTO || "");
|
|
3172
3239
|
return e ? "Symbol(src)_1." + e : "";
|
|
3173
3240
|
}();
|
|
3174
|
-
function
|
|
3241
|
+
function ps(e) {
|
|
3175
3242
|
return !!St && St in e;
|
|
3176
3243
|
}
|
|
3177
|
-
var
|
|
3244
|
+
var gs = Function.prototype, hs = gs.toString;
|
|
3178
3245
|
function z(e) {
|
|
3179
3246
|
if (e != null) {
|
|
3180
3247
|
try {
|
|
3181
|
-
return
|
|
3248
|
+
return hs.call(e);
|
|
3182
3249
|
} catch {
|
|
3183
3250
|
}
|
|
3184
3251
|
try {
|
|
@@ -3188,51 +3255,51 @@ function z(e) {
|
|
|
3188
3255
|
}
|
|
3189
3256
|
return "";
|
|
3190
3257
|
}
|
|
3191
|
-
var
|
|
3192
|
-
"^" +
|
|
3258
|
+
var ms = /[\\^$.*+?()[\]{}|]/g, ys = /^\[object .+?Constructor\]$/, bs = Function.prototype, Ss = Object.prototype, Os = bs.toString, vs = Ss.hasOwnProperty, xs = RegExp(
|
|
3259
|
+
"^" + Os.call(vs).replace(ms, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
3193
3260
|
);
|
|
3194
|
-
function
|
|
3195
|
-
if (!Fe(e) ||
|
|
3261
|
+
function Cs(e) {
|
|
3262
|
+
if (!Fe(e) || ps(e))
|
|
3196
3263
|
return !1;
|
|
3197
|
-
var t =
|
|
3264
|
+
var t = $n(e) ? xs : ys;
|
|
3198
3265
|
return t.test(z(e));
|
|
3199
3266
|
}
|
|
3200
|
-
function
|
|
3267
|
+
function ws(e, t) {
|
|
3201
3268
|
return e == null ? void 0 : e[t];
|
|
3202
3269
|
}
|
|
3203
3270
|
function G(e, t) {
|
|
3204
|
-
var n =
|
|
3205
|
-
return
|
|
3271
|
+
var n = ws(e, t);
|
|
3272
|
+
return Cs(n) ? n : void 0;
|
|
3206
3273
|
}
|
|
3207
|
-
var
|
|
3208
|
-
const oe =
|
|
3209
|
-
var
|
|
3210
|
-
const ue =
|
|
3211
|
-
function
|
|
3274
|
+
var Ds = G(U, "Map");
|
|
3275
|
+
const oe = Ds;
|
|
3276
|
+
var js = G(Object, "create");
|
|
3277
|
+
const ue = js;
|
|
3278
|
+
function Ps() {
|
|
3212
3279
|
this.__data__ = ue ? ue(null) : {}, this.size = 0;
|
|
3213
3280
|
}
|
|
3214
|
-
function
|
|
3281
|
+
function Fs(e) {
|
|
3215
3282
|
var t = this.has(e) && delete this.__data__[e];
|
|
3216
3283
|
return this.size -= t ? 1 : 0, t;
|
|
3217
3284
|
}
|
|
3218
|
-
var
|
|
3219
|
-
function
|
|
3285
|
+
var As = "__lodash_hash_undefined__", Ls = Object.prototype, Es = Ls.hasOwnProperty;
|
|
3286
|
+
function Ns(e) {
|
|
3220
3287
|
var t = this.__data__;
|
|
3221
3288
|
if (ue) {
|
|
3222
3289
|
var n = t[e];
|
|
3223
|
-
return n ===
|
|
3290
|
+
return n === As ? void 0 : n;
|
|
3224
3291
|
}
|
|
3225
3292
|
return Es.call(t, e) ? t[e] : void 0;
|
|
3226
3293
|
}
|
|
3227
|
-
var
|
|
3228
|
-
function
|
|
3294
|
+
var Rs = Object.prototype, Ts = Rs.hasOwnProperty;
|
|
3295
|
+
function Ms(e) {
|
|
3229
3296
|
var t = this.__data__;
|
|
3230
3297
|
return ue ? t[e] !== void 0 : Ts.call(t, e);
|
|
3231
3298
|
}
|
|
3232
|
-
var
|
|
3233
|
-
function
|
|
3299
|
+
var $s = "__lodash_hash_undefined__";
|
|
3300
|
+
function Is(e, t) {
|
|
3234
3301
|
var n = this.__data__;
|
|
3235
|
-
return this.size += this.has(e) ? 0 : 1, n[e] = ue && t === void 0 ?
|
|
3302
|
+
return this.size += this.has(e) ? 0 : 1, n[e] = ue && t === void 0 ? $s : t, this;
|
|
3236
3303
|
}
|
|
3237
3304
|
function K(e) {
|
|
3238
3305
|
var t = -1, n = e == null ? 0 : e.length;
|
|
@@ -3241,38 +3308,38 @@ function K(e) {
|
|
|
3241
3308
|
this.set(r[0], r[1]);
|
|
3242
3309
|
}
|
|
3243
3310
|
}
|
|
3244
|
-
K.prototype.clear =
|
|
3245
|
-
K.prototype.delete =
|
|
3246
|
-
K.prototype.get =
|
|
3247
|
-
K.prototype.has =
|
|
3248
|
-
K.prototype.set =
|
|
3249
|
-
function
|
|
3311
|
+
K.prototype.clear = Ps;
|
|
3312
|
+
K.prototype.delete = Fs;
|
|
3313
|
+
K.prototype.get = Ns;
|
|
3314
|
+
K.prototype.has = Ms;
|
|
3315
|
+
K.prototype.set = Is;
|
|
3316
|
+
function _s() {
|
|
3250
3317
|
this.size = 0, this.__data__ = {
|
|
3251
3318
|
hash: new K(),
|
|
3252
3319
|
map: new (oe || k)(),
|
|
3253
3320
|
string: new K()
|
|
3254
3321
|
};
|
|
3255
3322
|
}
|
|
3256
|
-
function
|
|
3323
|
+
function ks(e) {
|
|
3257
3324
|
var t = typeof e;
|
|
3258
3325
|
return t == "string" || t == "number" || t == "symbol" || t == "boolean" ? e !== "__proto__" : e === null;
|
|
3259
3326
|
}
|
|
3260
|
-
function
|
|
3327
|
+
function Ee(e, t) {
|
|
3261
3328
|
var n = e.__data__;
|
|
3262
|
-
return
|
|
3263
|
-
}
|
|
3264
|
-
function ks(e) {
|
|
3265
|
-
var t = Le(this, e).delete(e);
|
|
3266
|
-
return this.size -= t ? 1 : 0, t;
|
|
3329
|
+
return ks(t) ? n[typeof t == "string" ? "string" : "hash"] : n.map;
|
|
3267
3330
|
}
|
|
3268
3331
|
function Bs(e) {
|
|
3269
|
-
|
|
3332
|
+
var t = Ee(this, e).delete(e);
|
|
3333
|
+
return this.size -= t ? 1 : 0, t;
|
|
3270
3334
|
}
|
|
3271
3335
|
function Us(e) {
|
|
3272
|
-
return
|
|
3336
|
+
return Ee(this, e).get(e);
|
|
3273
3337
|
}
|
|
3274
|
-
function qs(e
|
|
3275
|
-
|
|
3338
|
+
function qs(e) {
|
|
3339
|
+
return Ee(this, e).has(e);
|
|
3340
|
+
}
|
|
3341
|
+
function Vs(e, t) {
|
|
3342
|
+
var n = Ee(this, e), r = n.size;
|
|
3276
3343
|
return n.set(e, t), this.size += n.size == r ? 0 : 1, this;
|
|
3277
3344
|
}
|
|
3278
3345
|
function ee(e) {
|
|
@@ -3282,17 +3349,17 @@ function ee(e) {
|
|
|
3282
3349
|
this.set(r[0], r[1]);
|
|
3283
3350
|
}
|
|
3284
3351
|
}
|
|
3285
|
-
ee.prototype.clear =
|
|
3286
|
-
ee.prototype.delete =
|
|
3287
|
-
ee.prototype.get =
|
|
3288
|
-
ee.prototype.has =
|
|
3289
|
-
ee.prototype.set =
|
|
3290
|
-
var
|
|
3291
|
-
function
|
|
3352
|
+
ee.prototype.clear = _s;
|
|
3353
|
+
ee.prototype.delete = Bs;
|
|
3354
|
+
ee.prototype.get = Us;
|
|
3355
|
+
ee.prototype.has = qs;
|
|
3356
|
+
ee.prototype.set = Vs;
|
|
3357
|
+
var Ws = 200;
|
|
3358
|
+
function Hs(e, t) {
|
|
3292
3359
|
var n = this.__data__;
|
|
3293
3360
|
if (n instanceof k) {
|
|
3294
3361
|
var r = n.__data__;
|
|
3295
|
-
if (!oe || r.length <
|
|
3362
|
+
if (!oe || r.length < Ws - 1)
|
|
3296
3363
|
return r.push([e, t]), this.size = ++n.size, this;
|
|
3297
3364
|
n = this.__data__ = new ee(r);
|
|
3298
3365
|
}
|
|
@@ -3302,24 +3369,24 @@ function te(e) {
|
|
|
3302
3369
|
var t = this.__data__ = new k(e);
|
|
3303
3370
|
this.size = t.size;
|
|
3304
3371
|
}
|
|
3305
|
-
te.prototype.clear =
|
|
3306
|
-
te.prototype.delete =
|
|
3307
|
-
te.prototype.get =
|
|
3308
|
-
te.prototype.has =
|
|
3309
|
-
te.prototype.set =
|
|
3310
|
-
function
|
|
3372
|
+
te.prototype.clear = us;
|
|
3373
|
+
te.prototype.delete = ls;
|
|
3374
|
+
te.prototype.get = cs;
|
|
3375
|
+
te.prototype.has = ds;
|
|
3376
|
+
te.prototype.set = Hs;
|
|
3377
|
+
function Ks(e, t) {
|
|
3311
3378
|
for (var n = -1, r = e == null ? 0 : e.length; ++n < r && t(e[n], n, e) !== !1; )
|
|
3312
3379
|
;
|
|
3313
3380
|
return e;
|
|
3314
3381
|
}
|
|
3315
|
-
var
|
|
3382
|
+
var zs = function() {
|
|
3316
3383
|
try {
|
|
3317
3384
|
var e = G(Object, "defineProperty");
|
|
3318
3385
|
return e({}, "", {}), e;
|
|
3319
3386
|
} catch {
|
|
3320
3387
|
}
|
|
3321
3388
|
}();
|
|
3322
|
-
const Ot =
|
|
3389
|
+
const Ot = zs;
|
|
3323
3390
|
function Gt(e, t, n) {
|
|
3324
3391
|
t == "__proto__" && Ot ? Ot(e, t, {
|
|
3325
3392
|
configurable: !0,
|
|
@@ -3328,10 +3395,10 @@ function Gt(e, t, n) {
|
|
|
3328
3395
|
writable: !0
|
|
3329
3396
|
}) : e[t] = n;
|
|
3330
3397
|
}
|
|
3331
|
-
var
|
|
3398
|
+
var Gs = Object.prototype, Qs = Gs.hasOwnProperty;
|
|
3332
3399
|
function Qt(e, t, n) {
|
|
3333
3400
|
var r = e[t];
|
|
3334
|
-
(!(
|
|
3401
|
+
(!(Qs.call(e, t) && zt(r, n)) || n === void 0 && !(t in e)) && Gt(e, t, n);
|
|
3335
3402
|
}
|
|
3336
3403
|
function Ne(e, t, n, r) {
|
|
3337
3404
|
var s = !n;
|
|
@@ -3342,45 +3409,45 @@ function Ne(e, t, n, r) {
|
|
|
3342
3409
|
}
|
|
3343
3410
|
return n;
|
|
3344
3411
|
}
|
|
3345
|
-
function
|
|
3412
|
+
function Js(e, t) {
|
|
3346
3413
|
return e && Ne(t, Qe(t), e);
|
|
3347
3414
|
}
|
|
3348
|
-
function
|
|
3415
|
+
function Ys(e) {
|
|
3349
3416
|
var t = [];
|
|
3350
3417
|
if (e != null)
|
|
3351
3418
|
for (var n in Object(e))
|
|
3352
3419
|
t.push(n);
|
|
3353
3420
|
return t;
|
|
3354
3421
|
}
|
|
3355
|
-
var
|
|
3356
|
-
function
|
|
3422
|
+
var Xs = Object.prototype, Zs = Xs.hasOwnProperty;
|
|
3423
|
+
function ei(e) {
|
|
3357
3424
|
if (!Fe(e))
|
|
3358
|
-
return
|
|
3425
|
+
return Ys(e);
|
|
3359
3426
|
var t = _t(e), n = [];
|
|
3360
3427
|
for (var r in e)
|
|
3361
|
-
r == "constructor" && (t || !
|
|
3428
|
+
r == "constructor" && (t || !Zs.call(e, r)) || n.push(r);
|
|
3362
3429
|
return n;
|
|
3363
3430
|
}
|
|
3364
3431
|
function Xe(e) {
|
|
3365
|
-
return
|
|
3432
|
+
return In(e) ? _n(e, !0) : ei(e);
|
|
3366
3433
|
}
|
|
3367
|
-
function
|
|
3434
|
+
function ti(e, t) {
|
|
3368
3435
|
return e && Ne(t, Xe(t), e);
|
|
3369
3436
|
}
|
|
3370
|
-
var Jt = typeof exports == "object" && exports && !exports.nodeType && exports, vt = Jt && typeof module == "object" && module && !module.nodeType && module,
|
|
3371
|
-
function
|
|
3437
|
+
var Jt = typeof exports == "object" && exports && !exports.nodeType && exports, vt = Jt && typeof module == "object" && module && !module.nodeType && module, ni = vt && vt.exports === Jt, xt = ni ? U.Buffer : void 0, Ct = xt ? xt.allocUnsafe : void 0;
|
|
3438
|
+
function ri(e, t) {
|
|
3372
3439
|
if (t)
|
|
3373
3440
|
return e.slice();
|
|
3374
3441
|
var n = e.length, r = Ct ? Ct(n) : new e.constructor(n);
|
|
3375
3442
|
return e.copy(r), r;
|
|
3376
3443
|
}
|
|
3377
|
-
function
|
|
3444
|
+
function si(e, t) {
|
|
3378
3445
|
var n = -1, r = e.length;
|
|
3379
3446
|
for (t || (t = Array(r)); ++n < r; )
|
|
3380
3447
|
t[n] = e[n];
|
|
3381
3448
|
return t;
|
|
3382
3449
|
}
|
|
3383
|
-
function
|
|
3450
|
+
function ii(e, t) {
|
|
3384
3451
|
for (var n = -1, r = e == null ? 0 : e.length, s = 0, i = []; ++n < r; ) {
|
|
3385
3452
|
var a = e[n];
|
|
3386
3453
|
t(a, n, e) && (i[s++] = a);
|
|
@@ -3390,13 +3457,13 @@ function si(e, t) {
|
|
|
3390
3457
|
function Yt() {
|
|
3391
3458
|
return [];
|
|
3392
3459
|
}
|
|
3393
|
-
var
|
|
3394
|
-
return e == null ? [] : (e = Object(e),
|
|
3395
|
-
return
|
|
3460
|
+
var ai = Object.prototype, oi = ai.propertyIsEnumerable, wt = Object.getOwnPropertySymbols, ui = wt ? function(e) {
|
|
3461
|
+
return e == null ? [] : (e = Object(e), ii(wt(e), function(t) {
|
|
3462
|
+
return oi.call(e, t);
|
|
3396
3463
|
}));
|
|
3397
3464
|
} : Yt;
|
|
3398
|
-
const Ze =
|
|
3399
|
-
function
|
|
3465
|
+
const Ze = ui;
|
|
3466
|
+
function li(e, t) {
|
|
3400
3467
|
return Ne(e, Ze(e), t);
|
|
3401
3468
|
}
|
|
3402
3469
|
function Xt(e, t) {
|
|
@@ -3404,94 +3471,93 @@ function Xt(e, t) {
|
|
|
3404
3471
|
e[s + n] = t[n];
|
|
3405
3472
|
return e;
|
|
3406
3473
|
}
|
|
3407
|
-
var
|
|
3408
|
-
const Zt =
|
|
3409
|
-
var
|
|
3474
|
+
var ci = kn(Object.getPrototypeOf, Object);
|
|
3475
|
+
const Zt = ci;
|
|
3476
|
+
var di = Object.getOwnPropertySymbols, fi = di ? function(e) {
|
|
3410
3477
|
for (var t = []; e; )
|
|
3411
3478
|
Xt(t, Ze(e)), e = Zt(e);
|
|
3412
3479
|
return t;
|
|
3413
3480
|
} : Yt;
|
|
3414
|
-
const en =
|
|
3415
|
-
function
|
|
3481
|
+
const en = fi;
|
|
3482
|
+
function pi(e, t) {
|
|
3416
3483
|
return Ne(e, en(e), t);
|
|
3417
3484
|
}
|
|
3418
3485
|
function tn(e, t, n) {
|
|
3419
3486
|
var r = t(e);
|
|
3420
3487
|
return kt(e) ? r : Xt(r, n(e));
|
|
3421
3488
|
}
|
|
3422
|
-
function
|
|
3489
|
+
function gi(e) {
|
|
3423
3490
|
return tn(e, Qe, Ze);
|
|
3424
3491
|
}
|
|
3425
|
-
function
|
|
3492
|
+
function hi(e) {
|
|
3426
3493
|
return tn(e, Xe, en);
|
|
3427
3494
|
}
|
|
3428
|
-
var
|
|
3429
|
-
const We =
|
|
3430
|
-
var
|
|
3431
|
-
const He =
|
|
3432
|
-
var
|
|
3433
|
-
const Ke =
|
|
3434
|
-
var
|
|
3435
|
-
const ze =
|
|
3436
|
-
var Dt = "[object Map]",
|
|
3495
|
+
var mi = G(U, "DataView");
|
|
3496
|
+
const We = mi;
|
|
3497
|
+
var yi = G(U, "Promise");
|
|
3498
|
+
const He = yi;
|
|
3499
|
+
var bi = G(U, "Set");
|
|
3500
|
+
const Ke = bi;
|
|
3501
|
+
var Si = G(U, "WeakMap");
|
|
3502
|
+
const ze = Si;
|
|
3503
|
+
var Dt = "[object Map]", Oi = "[object Object]", jt = "[object Promise]", Pt = "[object Set]", Ft = "[object WeakMap]", At = "[object DataView]", vi = z(We), xi = z(oe), Ci = z(He), wi = z(Ke), Di = z(ze), H = Bt;
|
|
3437
3504
|
(We && H(new We(new ArrayBuffer(1))) != At || oe && H(new oe()) != Dt || He && H(He.resolve()) != jt || Ke && H(new Ke()) != Pt || ze && H(new ze()) != Ft) && (H = function(e) {
|
|
3438
|
-
var t = Bt(e), n = t ==
|
|
3505
|
+
var t = Bt(e), n = t == Oi ? e.constructor : void 0, r = n ? z(n) : "";
|
|
3439
3506
|
if (r)
|
|
3440
3507
|
switch (r) {
|
|
3441
|
-
case Oi:
|
|
3442
|
-
return At;
|
|
3443
3508
|
case vi:
|
|
3444
|
-
return
|
|
3509
|
+
return At;
|
|
3445
3510
|
case xi:
|
|
3446
|
-
return
|
|
3511
|
+
return Dt;
|
|
3447
3512
|
case Ci:
|
|
3448
|
-
return
|
|
3513
|
+
return jt;
|
|
3449
3514
|
case wi:
|
|
3515
|
+
return Pt;
|
|
3516
|
+
case Di:
|
|
3450
3517
|
return Ft;
|
|
3451
3518
|
}
|
|
3452
3519
|
return t;
|
|
3453
3520
|
});
|
|
3454
3521
|
const et = H;
|
|
3455
|
-
var
|
|
3456
|
-
function
|
|
3522
|
+
var ji = Object.prototype, Pi = ji.hasOwnProperty;
|
|
3523
|
+
function Fi(e) {
|
|
3457
3524
|
var t = e.length, n = new e.constructor(t);
|
|
3458
|
-
return t && typeof e[0] == "string" &&
|
|
3525
|
+
return t && typeof e[0] == "string" && Pi.call(e, "index") && (n.index = e.index, n.input = e.input), n;
|
|
3459
3526
|
}
|
|
3460
|
-
var
|
|
3461
|
-
const
|
|
3527
|
+
var Ai = U.Uint8Array;
|
|
3528
|
+
const Lt = Ai;
|
|
3462
3529
|
function tt(e) {
|
|
3463
3530
|
var t = new e.constructor(e.byteLength);
|
|
3464
|
-
return new
|
|
3531
|
+
return new Lt(t).set(new Lt(e)), t;
|
|
3465
3532
|
}
|
|
3466
|
-
function
|
|
3533
|
+
function Li(e, t) {
|
|
3467
3534
|
var n = t ? tt(e.buffer) : e.buffer;
|
|
3468
3535
|
return new e.constructor(n, e.byteOffset, e.byteLength);
|
|
3469
3536
|
}
|
|
3470
3537
|
var Ei = /\w*$/;
|
|
3471
|
-
function
|
|
3538
|
+
function Ni(e) {
|
|
3472
3539
|
var t = new e.constructor(e.source, Ei.exec(e));
|
|
3473
3540
|
return t.lastIndex = e.lastIndex, t;
|
|
3474
3541
|
}
|
|
3475
|
-
var
|
|
3476
|
-
function
|
|
3542
|
+
var Et = it ? it.prototype : void 0, Nt = Et ? Et.valueOf : void 0;
|
|
3543
|
+
function Ri(e) {
|
|
3477
3544
|
return Nt ? Object(Nt.call(e)) : {};
|
|
3478
3545
|
}
|
|
3479
3546
|
function Ti(e, t) {
|
|
3480
3547
|
var n = t ? tt(e.buffer) : e.buffer;
|
|
3481
3548
|
return new e.constructor(n, e.byteOffset, e.length);
|
|
3482
3549
|
}
|
|
3483
|
-
var
|
|
3484
|
-
function
|
|
3550
|
+
var Mi = "[object Boolean]", $i = "[object Date]", Ii = "[object Map]", _i = "[object Number]", ki = "[object RegExp]", Bi = "[object Set]", Ui = "[object String]", qi = "[object Symbol]", Vi = "[object ArrayBuffer]", Wi = "[object DataView]", Hi = "[object Float32Array]", Ki = "[object Float64Array]", zi = "[object Int8Array]", Gi = "[object Int16Array]", Qi = "[object Int32Array]", Ji = "[object Uint8Array]", Yi = "[object Uint8ClampedArray]", Xi = "[object Uint16Array]", Zi = "[object Uint32Array]";
|
|
3551
|
+
function ea(e, t, n) {
|
|
3485
3552
|
var r = e.constructor;
|
|
3486
3553
|
switch (t) {
|
|
3487
|
-
case
|
|
3554
|
+
case Vi:
|
|
3488
3555
|
return tt(e);
|
|
3489
|
-
case Ri:
|
|
3490
3556
|
case Mi:
|
|
3557
|
+
case $i:
|
|
3491
3558
|
return new r(+e);
|
|
3492
|
-
case Vi:
|
|
3493
|
-
return Ai(e, n);
|
|
3494
3559
|
case Wi:
|
|
3560
|
+
return Li(e, n);
|
|
3495
3561
|
case Hi:
|
|
3496
3562
|
case Ki:
|
|
3497
3563
|
case zi:
|
|
@@ -3500,100 +3566,101 @@ function Zi(e, t, n) {
|
|
|
3500
3566
|
case Ji:
|
|
3501
3567
|
case Yi:
|
|
3502
3568
|
case Xi:
|
|
3569
|
+
case Zi:
|
|
3503
3570
|
return Ti(e, n);
|
|
3504
|
-
case $i:
|
|
3505
|
-
return new r();
|
|
3506
3571
|
case Ii:
|
|
3507
|
-
case Bi:
|
|
3508
|
-
return new r(e);
|
|
3509
|
-
case _i:
|
|
3510
|
-
return Li(e);
|
|
3511
|
-
case ki:
|
|
3512
3572
|
return new r();
|
|
3573
|
+
case _i:
|
|
3513
3574
|
case Ui:
|
|
3575
|
+
return new r(e);
|
|
3576
|
+
case ki:
|
|
3514
3577
|
return Ni(e);
|
|
3578
|
+
case Bi:
|
|
3579
|
+
return new r();
|
|
3580
|
+
case qi:
|
|
3581
|
+
return Ri(e);
|
|
3515
3582
|
}
|
|
3516
3583
|
}
|
|
3517
|
-
var
|
|
3584
|
+
var Rt = Object.create, ta = function() {
|
|
3518
3585
|
function e() {
|
|
3519
3586
|
}
|
|
3520
3587
|
return function(t) {
|
|
3521
3588
|
if (!Fe(t))
|
|
3522
3589
|
return {};
|
|
3523
|
-
if (
|
|
3524
|
-
return
|
|
3590
|
+
if (Rt)
|
|
3591
|
+
return Rt(t);
|
|
3525
3592
|
e.prototype = t;
|
|
3526
3593
|
var n = new e();
|
|
3527
3594
|
return e.prototype = void 0, n;
|
|
3528
3595
|
};
|
|
3529
3596
|
}();
|
|
3530
|
-
const
|
|
3531
|
-
function
|
|
3532
|
-
return typeof e.constructor == "function" && !_t(e) ?
|
|
3597
|
+
const na = ta;
|
|
3598
|
+
function ra(e) {
|
|
3599
|
+
return typeof e.constructor == "function" && !_t(e) ? na(Zt(e)) : {};
|
|
3533
3600
|
}
|
|
3534
|
-
var
|
|
3535
|
-
function
|
|
3536
|
-
return Ut(e) && et(e) ==
|
|
3601
|
+
var sa = "[object Map]";
|
|
3602
|
+
function ia(e) {
|
|
3603
|
+
return Ut(e) && et(e) == sa;
|
|
3537
3604
|
}
|
|
3538
|
-
var
|
|
3539
|
-
const
|
|
3540
|
-
var
|
|
3541
|
-
function
|
|
3542
|
-
return Ut(e) && et(e) ==
|
|
3605
|
+
var Tt = xe && xe.isMap, aa = Tt ? qt(Tt) : ia;
|
|
3606
|
+
const oa = aa;
|
|
3607
|
+
var ua = "[object Set]";
|
|
3608
|
+
function la(e) {
|
|
3609
|
+
return Ut(e) && et(e) == ua;
|
|
3543
3610
|
}
|
|
3544
|
-
var Mt = xe && xe.isSet,
|
|
3545
|
-
const
|
|
3546
|
-
var
|
|
3547
|
-
v[nn] = v[
|
|
3548
|
-
v[
|
|
3611
|
+
var Mt = xe && xe.isSet, ca = Mt ? qt(Mt) : la;
|
|
3612
|
+
const da = ca;
|
|
3613
|
+
var fa = 1, pa = 2, ga = 4, nn = "[object Arguments]", ha = "[object Array]", ma = "[object Boolean]", ya = "[object Date]", ba = "[object Error]", rn = "[object Function]", Sa = "[object GeneratorFunction]", Oa = "[object Map]", va = "[object Number]", sn = "[object Object]", xa = "[object RegExp]", Ca = "[object Set]", wa = "[object String]", Da = "[object Symbol]", ja = "[object WeakMap]", Pa = "[object ArrayBuffer]", Fa = "[object DataView]", Aa = "[object Float32Array]", La = "[object Float64Array]", Ea = "[object Int8Array]", Na = "[object Int16Array]", Ra = "[object Int32Array]", Ta = "[object Uint8Array]", Ma = "[object Uint8ClampedArray]", $a = "[object Uint16Array]", Ia = "[object Uint32Array]", v = {};
|
|
3614
|
+
v[nn] = v[ha] = v[Pa] = v[Fa] = v[ma] = v[ya] = v[Aa] = v[La] = v[Ea] = v[Na] = v[Ra] = v[Oa] = v[va] = v[sn] = v[xa] = v[Ca] = v[wa] = v[Da] = v[Ta] = v[Ma] = v[$a] = v[Ia] = !0;
|
|
3615
|
+
v[ba] = v[rn] = v[ja] = !1;
|
|
3549
3616
|
function ye(e, t, n, r, s, i) {
|
|
3550
|
-
var a, o = t &
|
|
3617
|
+
var a, o = t & fa, u = t & pa, c = t & ga;
|
|
3551
3618
|
if (n && (a = s ? n(e, r, s, i) : n(e)), a !== void 0)
|
|
3552
3619
|
return a;
|
|
3553
3620
|
if (!Fe(e))
|
|
3554
3621
|
return e;
|
|
3555
3622
|
var d = kt(e);
|
|
3556
3623
|
if (d) {
|
|
3557
|
-
if (a =
|
|
3558
|
-
return
|
|
3624
|
+
if (a = Fi(e), !o)
|
|
3625
|
+
return si(e, a);
|
|
3559
3626
|
} else {
|
|
3560
|
-
var f = et(e), l = f == rn || f ==
|
|
3561
|
-
if (
|
|
3562
|
-
return
|
|
3627
|
+
var f = et(e), l = f == rn || f == Sa;
|
|
3628
|
+
if (Bn(e))
|
|
3629
|
+
return ri(e, o);
|
|
3563
3630
|
if (f == sn || f == nn || l && !s) {
|
|
3564
|
-
if (a = u || l ? {} :
|
|
3565
|
-
return u ?
|
|
3631
|
+
if (a = u || l ? {} : ra(e), !o)
|
|
3632
|
+
return u ? pi(e, ti(a, e)) : li(e, Js(a, e));
|
|
3566
3633
|
} else {
|
|
3567
3634
|
if (!v[f])
|
|
3568
3635
|
return s ? e : {};
|
|
3569
|
-
a =
|
|
3636
|
+
a = ea(e, f, o);
|
|
3570
3637
|
}
|
|
3571
3638
|
}
|
|
3572
3639
|
i || (i = new te());
|
|
3573
3640
|
var g = i.get(e);
|
|
3574
3641
|
if (g)
|
|
3575
3642
|
return g;
|
|
3576
|
-
i.set(e, a),
|
|
3643
|
+
i.set(e, a), da(e) ? e.forEach(function(h) {
|
|
3577
3644
|
a.add(ye(h, t, n, h, e, i));
|
|
3578
|
-
}) :
|
|
3645
|
+
}) : oa(e) && e.forEach(function(h, x) {
|
|
3579
3646
|
a.set(x, ye(h, t, n, x, e, i));
|
|
3580
3647
|
});
|
|
3581
|
-
var p = c ? u ?
|
|
3582
|
-
return
|
|
3583
|
-
|
|
3648
|
+
var p = c ? u ? hi : gi : u ? Xe : Qe, y = d ? void 0 : p(e);
|
|
3649
|
+
return Ks(y || e, function(h, x) {
|
|
3650
|
+
y && (x = h, h = e[x]), Qt(a, x, ye(h, t, n, x, e, i));
|
|
3584
3651
|
}), a;
|
|
3585
3652
|
}
|
|
3586
|
-
var
|
|
3587
|
-
function ka(e) {
|
|
3588
|
-
return ye(e, Ia | _a);
|
|
3589
|
-
}
|
|
3653
|
+
var _a = 1, ka = 4;
|
|
3590
3654
|
function Ba(e) {
|
|
3591
|
-
return
|
|
3655
|
+
return ye(e, _a | ka);
|
|
3592
3656
|
}
|
|
3593
3657
|
function Ua(e) {
|
|
3658
|
+
return Buffer.from(e).toString("utf8");
|
|
3659
|
+
}
|
|
3660
|
+
function qa(e) {
|
|
3594
3661
|
return String.fromCharCode.apply(null, new Uint16Array(e));
|
|
3595
3662
|
}
|
|
3596
|
-
function
|
|
3663
|
+
function Va() {
|
|
3597
3664
|
return "UNSUPPORTED";
|
|
3598
3665
|
}
|
|
3599
3666
|
typeof Buffer < "u" && Buffer.from;
|
|
@@ -3749,32 +3816,32 @@ var ke;
|
|
|
3749
3816
|
})(ke = ke || (ke = {}));
|
|
3750
3817
|
function Ge(e, t = []) {
|
|
3751
3818
|
try {
|
|
3752
|
-
return e == null ? String(e) : typeof e == "string" ? `'${
|
|
3819
|
+
return e == null ? String(e) : typeof e == "string" ? `'${Qr(e)}'` : typeof e == "number" || typeof e == "boolean" ? String(e) : e instanceof Date ? `new Date('${e.toISOString()}')` : Array.isArray(e) ? `[${e.map((n) => Ge(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}: ${Ge(s, t)}`).join(", ")} }` : JSON.stringify(e);
|
|
3753
3820
|
} catch (n) {
|
|
3754
3821
|
return console.error(n, JSON.stringify(e, null, 2)), JSON.stringify(e);
|
|
3755
3822
|
}
|
|
3756
3823
|
}
|
|
3757
|
-
function
|
|
3824
|
+
function Wa(e) {
|
|
3758
3825
|
let t = e.length;
|
|
3759
3826
|
for (; t > 0 && e[t - 1] === void 0; )
|
|
3760
3827
|
t--;
|
|
3761
3828
|
return e.slice(0, t);
|
|
3762
3829
|
}
|
|
3763
|
-
function
|
|
3830
|
+
function Ha(e, t) {
|
|
3764
3831
|
return function(n) {
|
|
3765
3832
|
return function(...r) {
|
|
3766
|
-
const s =
|
|
3833
|
+
const s = Wa(r), i = s.length, a = s.map((c) => Ge(c, ["guid"])).filter((c, d) => !(["", "{ }", "{}", "undefined", "null"].includes(c) && d === i - 1)).join(", "), o = `${e}.${t ?? n.name}(${a})`, u = n(...r);
|
|
3767
3834
|
return u.composeCode = o, u;
|
|
3768
3835
|
};
|
|
3769
3836
|
};
|
|
3770
3837
|
}
|
|
3771
3838
|
function $t(e, t) {
|
|
3772
|
-
return
|
|
3839
|
+
return Ha("filterFactory.logic", t)(e);
|
|
3773
3840
|
}
|
|
3774
|
-
function
|
|
3841
|
+
function Ka(e) {
|
|
3775
3842
|
return e && e.__serializable === "MembersFilter";
|
|
3776
3843
|
}
|
|
3777
|
-
function
|
|
3844
|
+
function za(e) {
|
|
3778
3845
|
return e && e.__serializable === "CascadingFilter";
|
|
3779
3846
|
}
|
|
3780
3847
|
var Be;
|
|
@@ -3820,36 +3887,36 @@ var Ue;
|
|
|
3820
3887
|
(function(e) {
|
|
3821
3888
|
e.DATE_TIME = "datetime", e.NUMERIC = "numeric", e.TEXT = "text";
|
|
3822
3889
|
})(Ue = Ue || (Ue = {}));
|
|
3823
|
-
const
|
|
3824
|
-
[
|
|
3890
|
+
const T = Object.assign(Object.assign(Object.assign({}, be), Se), Oe), Ga = {
|
|
3891
|
+
[T.INCLUDE_ALL]: {
|
|
3825
3892
|
all: !0,
|
|
3826
|
-
filterType:
|
|
3893
|
+
filterType: T.INCLUDE_ALL
|
|
3827
3894
|
},
|
|
3828
|
-
[
|
|
3895
|
+
[T.PERIOD]: {
|
|
3829
3896
|
last: { count: 1, offset: 1 },
|
|
3830
3897
|
isNotCurrentPeriod: !0,
|
|
3831
|
-
filterType:
|
|
3898
|
+
filterType: T.PERIOD
|
|
3832
3899
|
},
|
|
3833
|
-
[
|
|
3834
|
-
filterType:
|
|
3900
|
+
[T.DATE_RANGE]: {
|
|
3901
|
+
filterType: T.DATE_RANGE
|
|
3835
3902
|
},
|
|
3836
|
-
[
|
|
3837
|
-
filterType:
|
|
3903
|
+
[T.NUMERIC_RANGE]: {
|
|
3904
|
+
filterType: T.NUMERIC_RANGE
|
|
3838
3905
|
},
|
|
3839
|
-
[
|
|
3906
|
+
[T.CONDITION]: {
|
|
3840
3907
|
explicit: !1,
|
|
3841
3908
|
multiSelection: !0,
|
|
3842
3909
|
exclude: { members: [] },
|
|
3843
|
-
filterType:
|
|
3910
|
+
filterType: T.CONDITION
|
|
3844
3911
|
},
|
|
3845
|
-
[
|
|
3912
|
+
[T.SPECIFIC_ITEMS]: {
|
|
3846
3913
|
explicit: !0,
|
|
3847
3914
|
multiSelection: !0,
|
|
3848
3915
|
members: [],
|
|
3849
|
-
filterType:
|
|
3916
|
+
filterType: T.SPECIFIC_ITEMS
|
|
3850
3917
|
}
|
|
3851
3918
|
};
|
|
3852
|
-
|
|
3919
|
+
Ga.INCLUDE_ALL, ve.YEARS;
|
|
3853
3920
|
var qe;
|
|
3854
3921
|
(function(e) {
|
|
3855
3922
|
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";
|
|
@@ -3868,16 +3935,16 @@ const an = (e) => {
|
|
|
3868
3935
|
return { left: c, right: d, operator: "AND" };
|
|
3869
3936
|
}
|
|
3870
3937
|
function r(a) {
|
|
3871
|
-
return a && (
|
|
3938
|
+
return a && (Qa(a) ? za(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));
|
|
3872
3939
|
}
|
|
3873
|
-
const s =
|
|
3940
|
+
const s = Ba(e), i = r(s);
|
|
3874
3941
|
return { filters: Array.from(t), relations: i };
|
|
3875
3942
|
};
|
|
3876
|
-
function
|
|
3943
|
+
function Qa(e) {
|
|
3877
3944
|
return "config" in e && "guid" in e.config;
|
|
3878
3945
|
}
|
|
3879
3946
|
S.TextAttribute, S.NumericAttribute, S.DateLevel;
|
|
3880
|
-
const
|
|
3947
|
+
const zo = (e) => {
|
|
3881
3948
|
const [t, n] = q(Vt, {
|
|
3882
3949
|
isLoading: !0,
|
|
3883
3950
|
isError: !1,
|
|
@@ -3899,14 +3966,14 @@ const Ho = (e) => {
|
|
|
3899
3966
|
offset: l,
|
|
3900
3967
|
ungroup: g,
|
|
3901
3968
|
onBeforeQuery: p
|
|
3902
|
-
} = O(e), { filters:
|
|
3969
|
+
} = O(e), { filters: y, relations: h } = an(c);
|
|
3903
3970
|
n({ type: "loading" });
|
|
3904
|
-
const x = await
|
|
3971
|
+
const x = await Un(
|
|
3905
3972
|
{
|
|
3906
3973
|
dataSource: a,
|
|
3907
3974
|
dimensions: o,
|
|
3908
3975
|
measures: u,
|
|
3909
|
-
filters:
|
|
3976
|
+
filters: y,
|
|
3910
3977
|
filterRelations: h,
|
|
3911
3978
|
highlights: d,
|
|
3912
3979
|
count: f,
|
|
@@ -3922,14 +3989,14 @@ const Ho = (e) => {
|
|
|
3922
3989
|
}
|
|
3923
3990
|
};
|
|
3924
3991
|
return N(
|
|
3925
|
-
[...
|
|
3992
|
+
[...E(e), r],
|
|
3926
3993
|
() => {
|
|
3927
3994
|
const { app: i } = r.value, { enabled: a } = O(e);
|
|
3928
3995
|
!i || !(a === void 0 || a === !0) || s(i);
|
|
3929
3996
|
},
|
|
3930
3997
|
{ immediate: !0 }
|
|
3931
3998
|
), j(t.value);
|
|
3932
|
-
},
|
|
3999
|
+
}, Go = (e) => {
|
|
3933
4000
|
const t = B(void 0), n = B(void 0);
|
|
3934
4001
|
M("useExecuteQueryByWidgetId");
|
|
3935
4002
|
const [r, s] = q(Vt, {
|
|
@@ -3946,7 +4013,7 @@ const Ho = (e) => {
|
|
|
3946
4013
|
data: f,
|
|
3947
4014
|
query: l,
|
|
3948
4015
|
pivotQuery: g
|
|
3949
|
-
} = await
|
|
4016
|
+
} = await qn({
|
|
3950
4017
|
...c,
|
|
3951
4018
|
filters: d,
|
|
3952
4019
|
app: o
|
|
@@ -3957,7 +4024,7 @@ const Ho = (e) => {
|
|
|
3957
4024
|
}
|
|
3958
4025
|
};
|
|
3959
4026
|
return N(
|
|
3960
|
-
[...
|
|
4027
|
+
[...E(e), i],
|
|
3961
4028
|
() => {
|
|
3962
4029
|
const { app: o } = i.value, { enabled: u } = O(e);
|
|
3963
4030
|
!o || !(u === void 0 || u === !0) || a(o);
|
|
@@ -3968,9 +4035,9 @@ const Ho = (e) => {
|
|
|
3968
4035
|
query: t,
|
|
3969
4036
|
pivotQuery: n
|
|
3970
4037
|
};
|
|
3971
|
-
},
|
|
4038
|
+
}, Qo = (e) => {
|
|
3972
4039
|
M("useExecuteCsvQuery");
|
|
3973
|
-
const t = new le(
|
|
4040
|
+
const t = new le(Vn, [
|
|
3974
4041
|
ce()
|
|
3975
4042
|
]), [n, r] = de({
|
|
3976
4043
|
isLoading: !0,
|
|
@@ -3982,14 +4049,14 @@ const Ho = (e) => {
|
|
|
3982
4049
|
});
|
|
3983
4050
|
return t.subscribe((s) => {
|
|
3984
4051
|
r(s);
|
|
3985
|
-
}), t.run(O(e)), N([...
|
|
4052
|
+
}), t.run(O(e)), N([...E(e)], () => {
|
|
3986
4053
|
t.run(O(e));
|
|
3987
4054
|
}), fe(() => {
|
|
3988
4055
|
t.destroy();
|
|
3989
4056
|
}), j(n.value);
|
|
3990
|
-
},
|
|
4057
|
+
}, Jo = (e) => {
|
|
3991
4058
|
M("useExecutePivotQuery");
|
|
3992
|
-
const t = new le(
|
|
4059
|
+
const t = new le(Wn, [
|
|
3993
4060
|
ce()
|
|
3994
4061
|
]), [n, r] = de({
|
|
3995
4062
|
isLoading: !0,
|
|
@@ -4001,14 +4068,14 @@ const Ho = (e) => {
|
|
|
4001
4068
|
});
|
|
4002
4069
|
return t.subscribe((s) => {
|
|
4003
4070
|
r(s);
|
|
4004
|
-
}), t.run(O(e)), N([...
|
|
4071
|
+
}), t.run(O(e)), N([...E(e)], () => {
|
|
4005
4072
|
t.run(O(e));
|
|
4006
4073
|
}), fe(() => {
|
|
4007
4074
|
t.destroy();
|
|
4008
4075
|
}), j(n.value);
|
|
4009
|
-
},
|
|
4076
|
+
}, Yo = (e) => {
|
|
4010
4077
|
M("useExecuteCustomWidgetQuery");
|
|
4011
|
-
const t = new le(
|
|
4078
|
+
const t = new le(Hn, [
|
|
4012
4079
|
ce()
|
|
4013
4080
|
]), [n, r] = de({
|
|
4014
4081
|
data: void 0,
|
|
@@ -4020,17 +4087,17 @@ const Ho = (e) => {
|
|
|
4020
4087
|
});
|
|
4021
4088
|
return t.subscribe((s) => {
|
|
4022
4089
|
r(s);
|
|
4023
|
-
}), t.run(O(e)), N([...
|
|
4090
|
+
}), t.run(O(e)), N([...E(e)], () => {
|
|
4024
4091
|
t.run(O(e));
|
|
4025
4092
|
}), fe(() => {
|
|
4026
4093
|
t.destroy();
|
|
4027
4094
|
}), j(n.value);
|
|
4028
|
-
},
|
|
4095
|
+
}, Xo = (e) => {
|
|
4029
4096
|
M("useGetFilterMembers");
|
|
4030
4097
|
const { filter: t, parentFilters: n = [] } = O(e), r = {
|
|
4031
4098
|
selectedMembers: [],
|
|
4032
4099
|
allMembers: [],
|
|
4033
|
-
...
|
|
4100
|
+
...Ka(t) ? {
|
|
4034
4101
|
excludeMembers: t.config.excludeMembers,
|
|
4035
4102
|
enableMultiSelection: t.config.enableMultiSelection,
|
|
4036
4103
|
hasBackgroundFilter: !!t.config.backgroundFilter && n.length === 0
|
|
@@ -4039,7 +4106,7 @@ const Ho = (e) => {
|
|
|
4039
4106
|
enableMultiSelection: !1,
|
|
4040
4107
|
hasBackgroundFilter: !1
|
|
4041
4108
|
}
|
|
4042
|
-
}, s = new le(
|
|
4109
|
+
}, s = new le(Kn, [ce()]), [i, a] = de({
|
|
4043
4110
|
isLoading: !0,
|
|
4044
4111
|
isError: !1,
|
|
4045
4112
|
isSuccess: !1,
|
|
@@ -4049,12 +4116,12 @@ const Ho = (e) => {
|
|
|
4049
4116
|
});
|
|
4050
4117
|
return s.subscribe((o) => {
|
|
4051
4118
|
a(o);
|
|
4052
|
-
}), s.run(O(e)), N([...
|
|
4119
|
+
}), s.run(O(e)), N([...E(e)], () => {
|
|
4053
4120
|
s.run(O(e));
|
|
4054
4121
|
}), fe(() => {
|
|
4055
4122
|
s.destroy();
|
|
4056
4123
|
}), j(i.value);
|
|
4057
|
-
},
|
|
4124
|
+
}, Zo = (e) => {
|
|
4058
4125
|
M("useGetDashboardModel");
|
|
4059
4126
|
const [t, n] = q(X, {
|
|
4060
4127
|
isLoading: !0,
|
|
@@ -4066,7 +4133,7 @@ const Ho = (e) => {
|
|
|
4066
4133
|
}), r = V(), s = async (a) => {
|
|
4067
4134
|
try {
|
|
4068
4135
|
n({ type: "loading" });
|
|
4069
|
-
const { dashboardOid: o, includeWidgets: u, includeFilters: c } = O(e), d = await
|
|
4136
|
+
const { dashboardOid: o, includeWidgets: u, includeFilters: c } = O(e), d = await Gn(a.httpClient, o, {
|
|
4070
4137
|
includeWidgets: u,
|
|
4071
4138
|
includeFilters: c
|
|
4072
4139
|
});
|
|
@@ -4076,7 +4143,7 @@ const Ho = (e) => {
|
|
|
4076
4143
|
}
|
|
4077
4144
|
};
|
|
4078
4145
|
N(
|
|
4079
|
-
[...
|
|
4146
|
+
[...E(e), r],
|
|
4080
4147
|
() => {
|
|
4081
4148
|
const { app: a } = r.value, { enabled: o } = O(e);
|
|
4082
4149
|
!a || !(o === void 0 || o === !0) || s(a);
|
|
@@ -4084,8 +4151,8 @@ const Ho = (e) => {
|
|
|
4084
4151
|
{ immediate: !0 }
|
|
4085
4152
|
);
|
|
4086
4153
|
const i = j(t.value);
|
|
4087
|
-
return j(
|
|
4088
|
-
},
|
|
4154
|
+
return j(zn(i));
|
|
4155
|
+
}, eu = (e) => {
|
|
4089
4156
|
M("useGetDashboardModels");
|
|
4090
4157
|
const [t, n] = q(X, {
|
|
4091
4158
|
isLoading: !0,
|
|
@@ -4097,14 +4164,14 @@ const Ho = (e) => {
|
|
|
4097
4164
|
}), r = V(), s = async (a) => {
|
|
4098
4165
|
try {
|
|
4099
4166
|
n({ type: "loading" });
|
|
4100
|
-
const o = O(e), u = await
|
|
4167
|
+
const o = O(e), u = await Jn(a.httpClient, o);
|
|
4101
4168
|
n({ type: "success", data: u });
|
|
4102
4169
|
} catch (o) {
|
|
4103
4170
|
n({ type: "error", error: o });
|
|
4104
4171
|
}
|
|
4105
4172
|
};
|
|
4106
4173
|
N(
|
|
4107
|
-
[...
|
|
4174
|
+
[...E(e), r],
|
|
4108
4175
|
() => {
|
|
4109
4176
|
const { app: a } = r.value, { enabled: o } = O(e);
|
|
4110
4177
|
!a || !(o === void 0 || o === !0) || s(a);
|
|
@@ -4112,8 +4179,8 @@ const Ho = (e) => {
|
|
|
4112
4179
|
{ immediate: !0 }
|
|
4113
4180
|
);
|
|
4114
4181
|
const i = j(t.value);
|
|
4115
|
-
return j(
|
|
4116
|
-
},
|
|
4182
|
+
return j(Qn(i));
|
|
4183
|
+
}, tu = (e) => {
|
|
4117
4184
|
M("useGetSharedFormula");
|
|
4118
4185
|
const [t, n] = q(X, {
|
|
4119
4186
|
isLoading: !0,
|
|
@@ -4126,14 +4193,14 @@ const Ho = (e) => {
|
|
|
4126
4193
|
n({ type: "loading" });
|
|
4127
4194
|
const { dataSource: o, name: u, oid: c } = O(e);
|
|
4128
4195
|
let d = Promise.resolve(null);
|
|
4129
|
-
c ? d =
|
|
4196
|
+
c ? d = Xn(c, a) : u && o && (d = Zn(u, o, a)), d.then((f) => {
|
|
4130
4197
|
n({ type: "success", data: f });
|
|
4131
4198
|
}).catch((f) => {
|
|
4132
4199
|
n({ type: "error", error: f });
|
|
4133
4200
|
});
|
|
4134
4201
|
};
|
|
4135
4202
|
N(
|
|
4136
|
-
[...
|
|
4203
|
+
[...E(e), r],
|
|
4137
4204
|
() => {
|
|
4138
4205
|
const { app: a } = r.value, { enabled: o } = O(e);
|
|
4139
4206
|
!a || !(o === void 0 || o === !0) || s(a);
|
|
@@ -4142,9 +4209,9 @@ const Ho = (e) => {
|
|
|
4142
4209
|
);
|
|
4143
4210
|
const i = j(t.value);
|
|
4144
4211
|
return j(
|
|
4145
|
-
|
|
4212
|
+
Yn(i)
|
|
4146
4213
|
);
|
|
4147
|
-
},
|
|
4214
|
+
}, nu = (e) => {
|
|
4148
4215
|
M("useGetWidgetModel");
|
|
4149
4216
|
const [t, n] = q(X, {
|
|
4150
4217
|
isLoading: !0,
|
|
@@ -4156,21 +4223,21 @@ const Ho = (e) => {
|
|
|
4156
4223
|
}), r = V(), s = async (i) => {
|
|
4157
4224
|
try {
|
|
4158
4225
|
n({ type: "loading" });
|
|
4159
|
-
const { dashboardOid: a, widgetOid: o } = O(e), u = await
|
|
4226
|
+
const { dashboardOid: a, widgetOid: o } = O(e), u = await er(i.httpClient, a, o);
|
|
4160
4227
|
n({ type: "success", data: u });
|
|
4161
4228
|
} catch (a) {
|
|
4162
4229
|
n({ type: "error", error: a });
|
|
4163
4230
|
}
|
|
4164
4231
|
};
|
|
4165
4232
|
return N(
|
|
4166
|
-
[...
|
|
4233
|
+
[...E(e), r],
|
|
4167
4234
|
() => {
|
|
4168
4235
|
const { app: i } = r.value, { enabled: a } = O(e);
|
|
4169
4236
|
!i || !(a === void 0 || a === !0) || s(i);
|
|
4170
4237
|
},
|
|
4171
4238
|
{ immediate: !0 }
|
|
4172
4239
|
), j(t.value);
|
|
4173
|
-
},
|
|
4240
|
+
}, ru = (e) => {
|
|
4174
4241
|
M("useGetHierarchyModels");
|
|
4175
4242
|
const [t, n] = q(X, {
|
|
4176
4243
|
isLoading: !0,
|
|
@@ -4182,21 +4249,21 @@ const Ho = (e) => {
|
|
|
4182
4249
|
}), r = V(), s = async (i) => {
|
|
4183
4250
|
try {
|
|
4184
4251
|
n({ type: "loading" });
|
|
4185
|
-
const a = await
|
|
4252
|
+
const a = await tr(i.httpClient, O(e));
|
|
4186
4253
|
n({ type: "success", data: a });
|
|
4187
4254
|
} catch (a) {
|
|
4188
4255
|
n({ type: "error", error: a });
|
|
4189
4256
|
}
|
|
4190
4257
|
};
|
|
4191
4258
|
return N(
|
|
4192
|
-
[...
|
|
4259
|
+
[...E(e), r],
|
|
4193
4260
|
() => {
|
|
4194
4261
|
const { app: i } = r.value, { enabled: a } = O(e);
|
|
4195
4262
|
!i || !(a === void 0 || a === !0) || s(i);
|
|
4196
4263
|
},
|
|
4197
4264
|
{ immediate: !0 }
|
|
4198
4265
|
), j(t.value);
|
|
4199
|
-
},
|
|
4266
|
+
}, su = (e, t, n) => {
|
|
4200
4267
|
const [r, s] = q(X, {
|
|
4201
4268
|
isLoading: !0,
|
|
4202
4269
|
isError: !1,
|
|
@@ -4221,7 +4288,7 @@ const Ho = (e) => {
|
|
|
4221
4288
|
}
|
|
4222
4289
|
};
|
|
4223
4290
|
return N(
|
|
4224
|
-
[...
|
|
4291
|
+
[...E(e, t, n), i],
|
|
4225
4292
|
() => {
|
|
4226
4293
|
const { app: o } = i.value, u = O(n || {}).enabled;
|
|
4227
4294
|
!o || !(u === void 0 || u === !0) || a(o.httpClient);
|
|
@@ -4229,10 +4296,10 @@ const Ho = (e) => {
|
|
|
4229
4296
|
{ immediate: !0 }
|
|
4230
4297
|
), j(r.value);
|
|
4231
4298
|
};
|
|
4232
|
-
function
|
|
4299
|
+
function Ja(e, t) {
|
|
4233
4300
|
const n = document.createElement("div");
|
|
4234
4301
|
n.style.width = "100%", n.style.height = "100%";
|
|
4235
|
-
const r =
|
|
4302
|
+
const r = Sr(e, t);
|
|
4236
4303
|
return r.mount(n), {
|
|
4237
4304
|
element: n,
|
|
4238
4305
|
app: r,
|
|
@@ -4241,8 +4308,8 @@ function Qa(e, t) {
|
|
|
4241
4308
|
}
|
|
4242
4309
|
};
|
|
4243
4310
|
}
|
|
4244
|
-
const
|
|
4245
|
-
const e =
|
|
4311
|
+
const iu = () => {
|
|
4312
|
+
const e = nr();
|
|
4246
4313
|
return {
|
|
4247
4314
|
/**
|
|
4248
4315
|
* Registers a new custom widget.
|
|
@@ -4252,8 +4319,8 @@ const ru = () => {
|
|
|
4252
4319
|
*/
|
|
4253
4320
|
registerCustomWidget: (t, n) => {
|
|
4254
4321
|
const r = (s) => {
|
|
4255
|
-
const i =
|
|
4256
|
-
return
|
|
4322
|
+
const i = Ja(n, s);
|
|
4323
|
+
return rr(
|
|
4257
4324
|
i.element,
|
|
4258
4325
|
() => i.destroy()
|
|
4259
4326
|
);
|
|
@@ -4271,14 +4338,14 @@ const ru = () => {
|
|
|
4271
4338
|
*/
|
|
4272
4339
|
hasCustomWidget: (t) => e.value.customWidgetsMap.has(t)
|
|
4273
4340
|
};
|
|
4274
|
-
},
|
|
4341
|
+
}, au = (e, t = {}) => {
|
|
4275
4342
|
M("useComposedDashboard");
|
|
4276
|
-
const n = new le(
|
|
4343
|
+
const n = new le(sr, [
|
|
4277
4344
|
ce()
|
|
4278
4345
|
]), [r, s] = de(O(e));
|
|
4279
4346
|
n.subscribe(({ dashboard: o }) => {
|
|
4280
4347
|
s(o);
|
|
4281
|
-
}), n.run(O(e), t), N([...
|
|
4348
|
+
}), n.run(O(e), t), N([...E(e)], () => {
|
|
4282
4349
|
n.run(O(e), t);
|
|
4283
4350
|
}), fe(() => {
|
|
4284
4351
|
n.destroy();
|
|
@@ -4289,7 +4356,7 @@ const ru = () => {
|
|
|
4289
4356
|
setFilters: i,
|
|
4290
4357
|
setWidgetsLayout: a
|
|
4291
4358
|
};
|
|
4292
|
-
},
|
|
4359
|
+
}, Ya = m({
|
|
4293
4360
|
props: {
|
|
4294
4361
|
/**
|
|
4295
4362
|
* {@inheritDoc @sisense/sdk-ui!ContextMenuProps.closeContextMenu}
|
|
@@ -4307,8 +4374,8 @@ const ru = () => {
|
|
|
4307
4374
|
*/
|
|
4308
4375
|
position: Object
|
|
4309
4376
|
},
|
|
4310
|
-
setup: (e, { slots: t }) => It(
|
|
4311
|
-
}),
|
|
4377
|
+
setup: (e, { slots: t }) => It(ir, e, t, [])
|
|
4378
|
+
}), Xa = ({
|
|
4312
4379
|
drilldownPaths: e,
|
|
4313
4380
|
initialDimension: t
|
|
4314
4381
|
}) => {
|
|
@@ -4317,23 +4384,23 @@ const ru = () => {
|
|
|
4317
4384
|
"Initial dimension has to be specified to use drilldown with custom components"
|
|
4318
4385
|
);
|
|
4319
4386
|
const n = B([]), r = B(), s = B([]), i = B([]), a = Ve(() => [
|
|
4320
|
-
|
|
4387
|
+
ar(t),
|
|
4321
4388
|
...n.value.map(({ nextDimension: l }) => l)
|
|
4322
4389
|
]), o = Ve(
|
|
4323
4390
|
() => e.value.filter((l) => {
|
|
4324
4391
|
if (S.isAttribute(l)) {
|
|
4325
|
-
const
|
|
4392
|
+
const y = l;
|
|
4326
4393
|
return a.value.every(
|
|
4327
|
-
(h) => !ot(h,
|
|
4394
|
+
(h) => !ot(h, y)
|
|
4328
4395
|
);
|
|
4329
4396
|
}
|
|
4330
4397
|
const p = l;
|
|
4331
4398
|
return a.value.every(
|
|
4332
|
-
(
|
|
4399
|
+
(y, h) => ot(y, p.levels[h])
|
|
4333
4400
|
);
|
|
4334
4401
|
})
|
|
4335
4402
|
), u = (l, g, p) => {
|
|
4336
|
-
n.value =
|
|
4403
|
+
n.value = or(
|
|
4337
4404
|
n.value,
|
|
4338
4405
|
l,
|
|
4339
4406
|
g,
|
|
@@ -4344,7 +4411,7 @@ const ru = () => {
|
|
|
4344
4411
|
}, d = () => {
|
|
4345
4412
|
n.value = [], f();
|
|
4346
4413
|
}, f = () => {
|
|
4347
|
-
const l = (p) => p === "drilldown.breadcrumbsAllSuffix" ? "All" : p, g =
|
|
4414
|
+
const l = (p) => p === "drilldown.breadcrumbsAllSuffix" ? "All" : p, g = ur(
|
|
4348
4415
|
n.value,
|
|
4349
4416
|
t,
|
|
4350
4417
|
l
|
|
@@ -4361,7 +4428,7 @@ const ru = () => {
|
|
|
4361
4428
|
sliceDrilldownSelections: c,
|
|
4362
4429
|
clearDrilldownSelections: d
|
|
4363
4430
|
};
|
|
4364
|
-
},
|
|
4431
|
+
}, Za = m({
|
|
4365
4432
|
props: {
|
|
4366
4433
|
/**
|
|
4367
4434
|
* {@inheritDoc @sisense/sdk-ui!DrilldownWidgetProps.config}
|
|
@@ -4397,9 +4464,9 @@ const ru = () => {
|
|
|
4397
4464
|
},
|
|
4398
4465
|
setup: () => {
|
|
4399
4466
|
}
|
|
4400
|
-
}),
|
|
4467
|
+
}), eo = { style: { display: "flex", "flex-direction": "column", height: "100%" } }, to = { style: { "flex-grow": "1", "min-wdith": "0", "min-height": "0" } }, ou = /* @__PURE__ */ m({
|
|
4401
4468
|
__name: "drilldown-widget",
|
|
4402
|
-
props:
|
|
4469
|
+
props: Za.props,
|
|
4403
4470
|
setup(e) {
|
|
4404
4471
|
const t = e, { drilldownPaths: n, initialDimension: r, config: s } = j(t), i = B(null), a = B([]), {
|
|
4405
4472
|
drilldownFilters: o,
|
|
@@ -4413,16 +4480,16 @@ const ru = () => {
|
|
|
4413
4480
|
selectDrilldown: f,
|
|
4414
4481
|
sliceDrilldownSelections: l,
|
|
4415
4482
|
clearDrilldownSelections: g
|
|
4416
|
-
} =
|
|
4483
|
+
} = Xa({
|
|
4417
4484
|
drilldownPaths: n,
|
|
4418
4485
|
initialDimension: r.value
|
|
4419
4486
|
}), p = (D) => {
|
|
4420
4487
|
f(a.value, D);
|
|
4421
|
-
},
|
|
4488
|
+
}, y = Ve(() => {
|
|
4422
4489
|
const D = (C) => C === "drilldown.drillMenuItem" ? "Drill" : C;
|
|
4423
4490
|
return [
|
|
4424
|
-
|
|
4425
|
-
|
|
4491
|
+
lr(a.value, u.value),
|
|
4492
|
+
cr(
|
|
4426
4493
|
d.value,
|
|
4427
4494
|
u.value,
|
|
4428
4495
|
p,
|
|
@@ -4436,42 +4503,42 @@ const ru = () => {
|
|
|
4436
4503
|
}, w = () => {
|
|
4437
4504
|
i.value = null;
|
|
4438
4505
|
};
|
|
4439
|
-
return (D, C) => (
|
|
4440
|
-
|
|
4441
|
-
contextMenuProps: { position: i.value, itemSections:
|
|
4506
|
+
return (D, C) => (Or(), vr("div", eo, [
|
|
4507
|
+
Re(D.$slots, "contextMenu", {
|
|
4508
|
+
contextMenuProps: { position: i.value, itemSections: y.value, closeContextMenu: w }
|
|
4442
4509
|
}, () => [
|
|
4443
|
-
ut(
|
|
4510
|
+
ut(R(Ya), {
|
|
4444
4511
|
position: i.value,
|
|
4445
|
-
itemSections:
|
|
4512
|
+
itemSections: y.value,
|
|
4446
4513
|
closeContextMenu: w
|
|
4447
4514
|
}, null, 8, ["position", "itemSections"])
|
|
4448
4515
|
]),
|
|
4449
|
-
|
|
4516
|
+
Re(D.$slots, "breadcrumbs", {
|
|
4450
4517
|
drilldownBreadcrumbsProps: {
|
|
4451
|
-
clearDrilldownSelections:
|
|
4452
|
-
sliceDrilldownSelections:
|
|
4453
|
-
drilldownFiltersDisplayValues:
|
|
4454
|
-
drilldownDimension:
|
|
4518
|
+
clearDrilldownSelections: R(g),
|
|
4519
|
+
sliceDrilldownSelections: R(l),
|
|
4520
|
+
drilldownFiltersDisplayValues: R(c),
|
|
4521
|
+
drilldownDimension: R(u)
|
|
4455
4522
|
}
|
|
4456
4523
|
}, () => [
|
|
4457
|
-
ut(
|
|
4458
|
-
"clear-drilldown-selections":
|
|
4459
|
-
"slice-drilldown-selections":
|
|
4460
|
-
"filters-display-values":
|
|
4461
|
-
"current-dimension":
|
|
4524
|
+
ut(R(Cr), {
|
|
4525
|
+
"clear-drilldown-selections": R(g),
|
|
4526
|
+
"slice-drilldown-selections": R(l),
|
|
4527
|
+
"filters-display-values": R(c),
|
|
4528
|
+
"current-dimension": R(u)
|
|
4462
4529
|
}, null, 8, ["clear-drilldown-selections", "slice-drilldown-selections", "filters-display-values", "current-dimension"])
|
|
4463
4530
|
]),
|
|
4464
|
-
|
|
4465
|
-
|
|
4466
|
-
drilldownFilters:
|
|
4467
|
-
drilldownDimension:
|
|
4531
|
+
xr("div", to, [
|
|
4532
|
+
Re(D.$slots, "chart", {
|
|
4533
|
+
drilldownFilters: R(o),
|
|
4534
|
+
drilldownDimension: R(u),
|
|
4468
4535
|
onDataPointsSelected: x,
|
|
4469
4536
|
onContextMenu: h
|
|
4470
4537
|
})
|
|
4471
4538
|
])
|
|
4472
4539
|
]));
|
|
4473
4540
|
}
|
|
4474
|
-
}),
|
|
4541
|
+
}), uu = m({
|
|
4475
4542
|
props: {
|
|
4476
4543
|
/**
|
|
4477
4544
|
* {@inheritDoc @sisense/sdk-ui!ChartWidgetProps.bottomSlot}
|
|
@@ -4606,8 +4673,8 @@ const ru = () => {
|
|
|
4606
4673
|
*/
|
|
4607
4674
|
onDataReady: Function
|
|
4608
4675
|
},
|
|
4609
|
-
setup: (e) => b(
|
|
4610
|
-
}),
|
|
4676
|
+
setup: (e) => b(dr, e)
|
|
4677
|
+
}), lu = m({
|
|
4611
4678
|
props: {
|
|
4612
4679
|
/** @internal */
|
|
4613
4680
|
bottomSlot: Object,
|
|
@@ -4718,8 +4785,8 @@ const ru = () => {
|
|
|
4718
4785
|
*/
|
|
4719
4786
|
onDataReady: Function
|
|
4720
4787
|
},
|
|
4721
|
-
setup: (e) => b(
|
|
4722
|
-
}),
|
|
4788
|
+
setup: (e) => b(fr, e)
|
|
4789
|
+
}), cu = m({
|
|
4723
4790
|
props: {
|
|
4724
4791
|
bottomSlot: Object,
|
|
4725
4792
|
dataOptions: {
|
|
@@ -4734,8 +4801,8 @@ const ru = () => {
|
|
|
4734
4801
|
topSlot: Object,
|
|
4735
4802
|
widgetStyleOptions: Object
|
|
4736
4803
|
},
|
|
4737
|
-
setup: (e) => b(
|
|
4738
|
-
}),
|
|
4804
|
+
setup: (e) => b(pr, e)
|
|
4805
|
+
}), du = m({
|
|
4739
4806
|
props: {
|
|
4740
4807
|
/**
|
|
4741
4808
|
* {@inheritDoc @sisense/sdk-ui!PivotTableWidgetProps.dataOptions}
|
|
@@ -4825,8 +4892,8 @@ const ru = () => {
|
|
|
4825
4892
|
*/
|
|
4826
4893
|
onHeaderCellFormat: Function
|
|
4827
4894
|
},
|
|
4828
|
-
setup: (e) => b(
|
|
4829
|
-
}),
|
|
4895
|
+
setup: (e) => b(gr, e)
|
|
4896
|
+
}), fu = m({
|
|
4830
4897
|
props: {
|
|
4831
4898
|
/**
|
|
4832
4899
|
* Unique identifier of the widget
|
|
@@ -4951,8 +5018,8 @@ const ru = () => {
|
|
|
4951
5018
|
*/
|
|
4952
5019
|
onDataPointsSelected: Function
|
|
4953
5020
|
},
|
|
4954
|
-
setup: (e) => b(
|
|
4955
|
-
}),
|
|
5021
|
+
setup: (e) => b(hr, e)
|
|
5022
|
+
}), pu = m({
|
|
4956
5023
|
props: {
|
|
4957
5024
|
/**
|
|
4958
5025
|
* {@inheritDoc @sisense/sdk-ui!DashboardByIdProps.dashboardOid}
|
|
@@ -4966,8 +5033,8 @@ const ru = () => {
|
|
|
4966
5033
|
*/
|
|
4967
5034
|
config: Object
|
|
4968
5035
|
},
|
|
4969
|
-
setup: (e) => b(
|
|
4970
|
-
}),
|
|
5036
|
+
setup: (e) => b(mr, e)
|
|
5037
|
+
}), gu = m({
|
|
4971
5038
|
props: {
|
|
4972
5039
|
/**
|
|
4973
5040
|
* {@inheritDoc @sisense/sdk-ui!DashboardProps.title}
|
|
@@ -5005,112 +5072,113 @@ const ru = () => {
|
|
|
5005
5072
|
*/
|
|
5006
5073
|
styleOptions: Object
|
|
5007
5074
|
},
|
|
5008
|
-
setup: (e) => b(
|
|
5075
|
+
setup: (e) => b(yr, e)
|
|
5009
5076
|
});
|
|
5010
|
-
function
|
|
5011
|
-
return
|
|
5077
|
+
function no(e) {
|
|
5078
|
+
return br.toDashboardProps(e);
|
|
5012
5079
|
}
|
|
5013
|
-
const
|
|
5080
|
+
const hu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
5014
5081
|
__proto__: null,
|
|
5015
|
-
toDashboardProps:
|
|
5016
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
5082
|
+
toDashboardProps: no
|
|
5083
|
+
}, Symbol.toStringTag, { value: "Module" })), ro = (e, t) => Z.replaceFilters(e, t), so = (e, t) => Z.addFilter(e, t), io = (e, t) => Z.addFilters(e, t), ao = (e, t, n) => Z.replaceFilter(
|
|
5017
5084
|
e,
|
|
5018
5085
|
t,
|
|
5019
5086
|
n
|
|
5020
|
-
),
|
|
5087
|
+
), oo = (e, t) => Z.removeFilter(e, t), uo = (e, t) => Z.removeFilters(e, t), mu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
5021
5088
|
__proto__: null,
|
|
5022
|
-
addFilter:
|
|
5023
|
-
addFilters:
|
|
5024
|
-
removeFilter:
|
|
5025
|
-
removeFilters:
|
|
5026
|
-
replaceFilter:
|
|
5027
|
-
replaceFilters:
|
|
5028
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
5029
|
-
function
|
|
5089
|
+
addFilter: so,
|
|
5090
|
+
addFilters: io,
|
|
5091
|
+
removeFilter: oo,
|
|
5092
|
+
removeFilters: uo,
|
|
5093
|
+
replaceFilter: ao,
|
|
5094
|
+
replaceFilters: ro
|
|
5095
|
+
}, Symbol.toStringTag, { value: "Module" })), lo = (e) => W.toExecuteQueryParams(e), co = (e) => W.toExecutePivotQueryParams(e);
|
|
5096
|
+
function fo(e) {
|
|
5030
5097
|
return W.toChartProps(e);
|
|
5031
5098
|
}
|
|
5032
|
-
function
|
|
5099
|
+
function po(e) {
|
|
5033
5100
|
return W.toTableProps(e);
|
|
5034
5101
|
}
|
|
5035
|
-
function
|
|
5102
|
+
function go(e) {
|
|
5036
5103
|
return W.toPivotTableProps(e);
|
|
5037
5104
|
}
|
|
5038
|
-
function
|
|
5105
|
+
function ho(e) {
|
|
5039
5106
|
return W.toChartWidgetProps(e);
|
|
5040
5107
|
}
|
|
5041
|
-
function
|
|
5108
|
+
function mo(e) {
|
|
5042
5109
|
return W.toPivotTableWidgetProps(e);
|
|
5043
5110
|
}
|
|
5044
|
-
function
|
|
5111
|
+
function yo(e) {
|
|
5045
5112
|
return W.toTextWidgetProps(e);
|
|
5046
5113
|
}
|
|
5047
|
-
const
|
|
5114
|
+
const yu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
5048
5115
|
__proto__: null,
|
|
5049
|
-
toChartProps:
|
|
5050
|
-
toChartWidgetProps:
|
|
5051
|
-
toExecutePivotQueryParams:
|
|
5052
|
-
toExecuteQueryParams:
|
|
5053
|
-
toPivotTableProps:
|
|
5054
|
-
toPivotTableWidgetProps:
|
|
5055
|
-
toTableProps:
|
|
5056
|
-
toTextWidgetProps:
|
|
5116
|
+
toChartProps: fo,
|
|
5117
|
+
toChartWidgetProps: ho,
|
|
5118
|
+
toExecutePivotQueryParams: co,
|
|
5119
|
+
toExecuteQueryParams: lo,
|
|
5120
|
+
toPivotTableProps: go,
|
|
5121
|
+
toPivotTableWidgetProps: mo,
|
|
5122
|
+
toTableProps: po,
|
|
5123
|
+
toTextWidgetProps: yo
|
|
5057
5124
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
5058
5125
|
export {
|
|
5059
|
-
|
|
5060
|
-
|
|
5061
|
-
|
|
5062
|
-
|
|
5063
|
-
|
|
5064
|
-
|
|
5065
|
-
|
|
5066
|
-
|
|
5067
|
-
|
|
5068
|
-
|
|
5069
|
-
|
|
5070
|
-
|
|
5071
|
-
|
|
5072
|
-
|
|
5073
|
-
|
|
5074
|
-
|
|
5075
|
-
|
|
5076
|
-
|
|
5077
|
-
|
|
5078
|
-
|
|
5126
|
+
vo as AreaChart,
|
|
5127
|
+
Bo as AreaRangeChart,
|
|
5128
|
+
Io as AreamapChart,
|
|
5129
|
+
xo as BarChart,
|
|
5130
|
+
$o as BoxplotChart,
|
|
5131
|
+
Co as CalendarHeatmapChart,
|
|
5132
|
+
Mo as Chart,
|
|
5133
|
+
uu as ChartWidget,
|
|
5134
|
+
wo as ColumnChart,
|
|
5135
|
+
Ya as ContextMenu,
|
|
5136
|
+
Vo as CriteriaFilterTile,
|
|
5137
|
+
Ou as CustomWidgetsProvider,
|
|
5138
|
+
gu as Dashboard,
|
|
5139
|
+
pu as DashboardById,
|
|
5140
|
+
Uo as DateRangeFilterTile,
|
|
5141
|
+
Cr as DrilldownBreadcrumbs,
|
|
5142
|
+
ou as DrilldownWidget,
|
|
5143
|
+
Ho as FilterTile,
|
|
5144
|
+
Ko as FiltersPanel,
|
|
5145
|
+
Do as FunnelChart,
|
|
5079
5146
|
To as IndicatorChart,
|
|
5080
|
-
|
|
5081
|
-
|
|
5082
|
-
|
|
5083
|
-
|
|
5084
|
-
|
|
5085
|
-
|
|
5086
|
-
|
|
5087
|
-
|
|
5088
|
-
|
|
5089
|
-
|
|
5090
|
-
|
|
5091
|
-
|
|
5092
|
-
|
|
5093
|
-
|
|
5147
|
+
jo as LineChart,
|
|
5148
|
+
qo as MemberFilterTile,
|
|
5149
|
+
Po as PieChart,
|
|
5150
|
+
Lo as PivotTable,
|
|
5151
|
+
du as PivotTableWidget,
|
|
5152
|
+
Ro as PolarChart,
|
|
5153
|
+
Wo as RelativeDateFilterTile,
|
|
5154
|
+
Fo as ScatterChart,
|
|
5155
|
+
_o as ScattermapChart,
|
|
5156
|
+
vu as SisenseContextProvider,
|
|
5157
|
+
ko as StreamgraphChart,
|
|
5158
|
+
No as SunburstChart,
|
|
5159
|
+
Ao as Table,
|
|
5160
|
+
cu as TableWidget,
|
|
5161
|
+
xu as ThemeProvider,
|
|
5094
5162
|
Eo as TreemapChart,
|
|
5095
|
-
|
|
5096
|
-
|
|
5097
|
-
|
|
5098
|
-
|
|
5099
|
-
|
|
5100
|
-
|
|
5101
|
-
|
|
5102
|
-
|
|
5103
|
-
|
|
5104
|
-
|
|
5105
|
-
|
|
5106
|
-
|
|
5107
|
-
|
|
5108
|
-
|
|
5109
|
-
|
|
5110
|
-
|
|
5111
|
-
|
|
5112
|
-
|
|
5113
|
-
|
|
5114
|
-
|
|
5115
|
-
|
|
5163
|
+
fu as Widget,
|
|
5164
|
+
lu as WidgetById,
|
|
5165
|
+
Cu as boxWhiskerProcessResult,
|
|
5166
|
+
mu as dashboardHelpers,
|
|
5167
|
+
hu as dashboardModelTranslator,
|
|
5168
|
+
wu as extractDimensionsAndMeasures,
|
|
5169
|
+
au as useComposedDashboard,
|
|
5170
|
+
iu as useCustomWidgets,
|
|
5171
|
+
Qo as useExecuteCsvQuery,
|
|
5172
|
+
Yo as useExecuteCustomWidgetQuery,
|
|
5173
|
+
Jo as useExecutePivotQuery,
|
|
5174
|
+
zo as useExecuteQuery,
|
|
5175
|
+
Go as useExecuteQueryByWidgetId,
|
|
5176
|
+
su as useFetch,
|
|
5177
|
+
Zo as useGetDashboardModel,
|
|
5178
|
+
eu as useGetDashboardModels,
|
|
5179
|
+
Xo as useGetFilterMembers,
|
|
5180
|
+
ru as useGetHierarchyModels,
|
|
5181
|
+
tu as useGetSharedFormula,
|
|
5182
|
+
nu as useGetWidgetModel,
|
|
5183
|
+
yu as widgetModelTranslator
|
|
5116
5184
|
};
|