@sisense/sdk-ui-vue 2.33.0 → 2.34.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/index.cjs +1 -1
- package/dist/index.js +418 -356
- package/dist/src/components/charts/index.d.ts +1 -0
- package/dist/src/components/charts/kpi-chart.d.ts +171 -0
- package/dist/src/components/widgets/chart-widget.d.ts +2 -2
- package/dist/src/components/widgets/widget.d.ts +2 -2
- package/dist/src/sdk-ui-core-exports.d.ts +1 -1
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
var at = Object.defineProperty;
|
|
2
2
|
var ct = (t, e, n) => e in t ? at(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n;
|
|
3
3
|
var I = (t, e, n) => (ct(t, typeof e != "symbol" ? e + "" : e, n), n);
|
|
4
|
-
import { DrilldownBreadcrumbs as ut, AreaChart as lt, BarChart as dt, CalendarHeatmapChart as pt, ColumnChart as
|
|
5
|
-
import { DashboardHeaderTargets as
|
|
6
|
-
import { defineComponent as
|
|
7
|
-
import { d as ot, s as l, a as W, g as
|
|
8
|
-
import { C as
|
|
9
|
-
import { getFilterListAndRelationsJaql as it, isMembersFilter as
|
|
10
|
-
const
|
|
4
|
+
import { DrilldownBreadcrumbs as ut, AreaChart as lt, BarChart as dt, CalendarHeatmapChart as pt, ColumnChart as ht, FunnelChart as yt, LineChart as bt, PieChart as gt, ScatterChart as ft, Table as Ot, PivotTable as Ct, TreemapChart as St, SunburstChart as Ft, PolarChart as Dt, IndicatorChart as mt, KpiChart as jt, Chart as Pt, BoxplotChart as vt, AreamapChart as xt, ScattermapChart as wt, StreamgraphChart as At, AreaRangeChart as Mt, SankeyChart as Rt, DateRangeFilterTile as qt, MemberFilterTile as Wt, CriteriaFilterTile as Tt, RelativeDateFilterTile as Bt, FilterTile as Et, FiltersPanel as kt, queryStateReducer as nt, executeQueryWithRowCount as $t, executeQuery as It, executeQueryByWidgetId as Qt, HookAdapter as A, useExecuteCsvQueryInternal as Ht, useExecutePivotQueryInternal as Lt, useExecuteCustomWidgetQueryInternal as Gt, useGetFilterMembers as _t, useGetDataSourceDimensionsInternal as Vt, translateToDashboardResponse as Kt, dataLoadStateReducer as Q, getDashboardModel as Nt, translateToDashboardsResponse as Jt, getDashboardModels as zt, useGetSharedFormulaInternal as Ut, getWidgetModel as Xt, getHierarchyModels as Yt, ComponentAdapter as Zt, createElement as te, ExternalComponentAdapterElement as ee, useComposedDashboardInternal as ne, createHookApiFacade as Z, useJtdWidget as re, ContextMenu as oe, translateColumnToAttribute as ie, isSameAttribute as tt, updateDrilldownSelections as se, processDrilldownSelections as ae, getSelectionTitleMenuItem as ce, getDrilldownMenuItems as ue, ChartWidget as le, WidgetById as de, PivotTableWidget as pe, Widget as he, DashboardById as ye, Dashboard as be, dashboardModelTranslator as ge, dashboardHelpers as $, widgetModelTranslator as x } from "@sisense/sdk-ui-preact";
|
|
5
|
+
import { DashboardHeaderTargets as yr, WidgetHeaderMenuTargets as br, boxWhiskerProcessResult as gr, extractDimensionsAndMeasures as fr, formatDataSet as Or, formatDate as Cr, formatNumber as Sr, getDefaultDateFormat as Fr } from "@sisense/sdk-ui-preact";
|
|
6
|
+
import { defineComponent as c, ref as D, watch as g, toRefs as y, onBeforeUnmount as w, createApp as fe, h as rt, toValue as Oe, computed as V, openBlock as Ce, createElementBlock as Se, renderSlot as _, createVNode as et, unref as j, createElementVNode as Fe } from "vue";
|
|
7
|
+
import { d as ot, s as l, a as W, g as v, u as C, b, t as d, e as K, f as M, h as T, i as H, j as De, k as me, l as je, c as Pe, m as N, n as J, o as ve } from "./use-tracking-39f8225d.js";
|
|
8
|
+
import { C as mr, S as jr, T as Pr } from "./use-tracking-39f8225d.js";
|
|
9
|
+
import { getFilterListAndRelationsJaql as it, isMembersFilter as xe, MetadataTypes as we } from "@sisense/sdk-data";
|
|
10
|
+
const Ae = c({
|
|
11
11
|
props: {
|
|
12
12
|
/**
|
|
13
13
|
* {@inheritDoc @sisense/sdk-ui!DrilldownBreadcrumbsProps.clearDrilldownSelections}
|
|
@@ -47,7 +47,7 @@ const xe = u({
|
|
|
47
47
|
}
|
|
48
48
|
},
|
|
49
49
|
setup: (t, { slots: e }) => ot(ut, t, e, [])
|
|
50
|
-
}),
|
|
50
|
+
}), pn = c({
|
|
51
51
|
props: {
|
|
52
52
|
/**
|
|
53
53
|
* {@inheritDoc @sisense/sdk-ui!AreaChartProps.dataOptions}
|
|
@@ -114,7 +114,7 @@ const xe = u({
|
|
|
114
114
|
onDataPointsSelected: Function
|
|
115
115
|
},
|
|
116
116
|
setup: (t) => l(lt, t)
|
|
117
|
-
}),
|
|
117
|
+
}), hn = c({
|
|
118
118
|
props: {
|
|
119
119
|
/**
|
|
120
120
|
* {@inheritDoc @sisense/sdk-ui!BarChartProps.dataOptions}
|
|
@@ -181,7 +181,7 @@ const xe = u({
|
|
|
181
181
|
styleOptions: Object
|
|
182
182
|
},
|
|
183
183
|
setup: (t) => l(dt, t)
|
|
184
|
-
}), yn =
|
|
184
|
+
}), yn = c({
|
|
185
185
|
props: {
|
|
186
186
|
/**
|
|
187
187
|
* {@inheritDoc @sisense/sdk-ui!CalendarHeatmapChartProps.dataOptions}
|
|
@@ -248,7 +248,7 @@ const xe = u({
|
|
|
248
248
|
onDataPointsSelected: Function
|
|
249
249
|
},
|
|
250
250
|
setup: (t) => l(pt, t)
|
|
251
|
-
}),
|
|
251
|
+
}), bn = c({
|
|
252
252
|
props: {
|
|
253
253
|
/**
|
|
254
254
|
* {@inheritDoc @sisense/sdk-ui!ColumnChartProps.dataOptions}
|
|
@@ -314,8 +314,8 @@ const xe = u({
|
|
|
314
314
|
*/
|
|
315
315
|
styleOptions: Object
|
|
316
316
|
},
|
|
317
|
-
setup: (t) => l(
|
|
318
|
-
}), gn =
|
|
317
|
+
setup: (t) => l(ht, t)
|
|
318
|
+
}), gn = c({
|
|
319
319
|
props: {
|
|
320
320
|
/**
|
|
321
321
|
* {@inheritDoc @sisense/sdk-ui!FunnelChartProps.dataOptions}
|
|
@@ -381,8 +381,8 @@ const xe = u({
|
|
|
381
381
|
*/
|
|
382
382
|
styleOptions: Object
|
|
383
383
|
},
|
|
384
|
-
setup: (t) => l(
|
|
385
|
-
}),
|
|
384
|
+
setup: (t) => l(yt, t)
|
|
385
|
+
}), fn = c({
|
|
386
386
|
props: {
|
|
387
387
|
/**
|
|
388
388
|
* {@inheritDoc @sisense/sdk-ui!LineChartProps.dataOptions}
|
|
@@ -448,8 +448,8 @@ const xe = u({
|
|
|
448
448
|
*/
|
|
449
449
|
styleOptions: Object
|
|
450
450
|
},
|
|
451
|
-
setup: (t) => l(
|
|
452
|
-
}),
|
|
451
|
+
setup: (t) => l(bt, t)
|
|
452
|
+
}), On = c({
|
|
453
453
|
props: {
|
|
454
454
|
/**
|
|
455
455
|
* {@inheritDoc @sisense/sdk-ui!PieChartProps.dataOptions}
|
|
@@ -515,8 +515,8 @@ const xe = u({
|
|
|
515
515
|
*/
|
|
516
516
|
styleOptions: Object
|
|
517
517
|
},
|
|
518
|
-
setup: (t) => l(
|
|
519
|
-
}),
|
|
518
|
+
setup: (t) => l(gt, t)
|
|
519
|
+
}), Cn = c({
|
|
520
520
|
props: {
|
|
521
521
|
/**
|
|
522
522
|
* {@inheritDoc @sisense/sdk-ui!ScatterChartProps.dataOptions}
|
|
@@ -583,7 +583,7 @@ const xe = u({
|
|
|
583
583
|
styleOptions: Object
|
|
584
584
|
},
|
|
585
585
|
setup: (t) => l(ft, t)
|
|
586
|
-
}),
|
|
586
|
+
}), Sn = c({
|
|
587
587
|
props: {
|
|
588
588
|
/**
|
|
589
589
|
* {@inheritDoc @sisense/sdk-ui!TableProps.dataOptions}
|
|
@@ -622,7 +622,7 @@ const xe = u({
|
|
|
622
622
|
onDataReady: Function
|
|
623
623
|
},
|
|
624
624
|
setup: (t) => l(Ot, t)
|
|
625
|
-
}),
|
|
625
|
+
}), Fn = c({
|
|
626
626
|
props: {
|
|
627
627
|
/**
|
|
628
628
|
* {@inheritDoc @sisense/sdk-ui!PivotTableProps.dataOptions}
|
|
@@ -673,7 +673,7 @@ const xe = u({
|
|
|
673
673
|
onDataPointContextMenu: Function
|
|
674
674
|
},
|
|
675
675
|
setup: (t) => l(Ct, t)
|
|
676
|
-
}),
|
|
676
|
+
}), Dn = c({
|
|
677
677
|
props: {
|
|
678
678
|
/**
|
|
679
679
|
* {@inheritDoc @sisense/sdk-ui!TreemapChartProps.dataOptions}
|
|
@@ -740,7 +740,7 @@ const xe = u({
|
|
|
740
740
|
styleOptions: Object
|
|
741
741
|
},
|
|
742
742
|
setup: (t) => l(St, t)
|
|
743
|
-
}),
|
|
743
|
+
}), mn = c({
|
|
744
744
|
props: {
|
|
745
745
|
/**
|
|
746
746
|
* {@inheritDoc @sisense/sdk-ui!SunburstChartProps.dataOptions}
|
|
@@ -807,7 +807,7 @@ const xe = u({
|
|
|
807
807
|
styleOptions: Object
|
|
808
808
|
},
|
|
809
809
|
setup: (t) => l(Ft, t)
|
|
810
|
-
}),
|
|
810
|
+
}), jn = c({
|
|
811
811
|
props: {
|
|
812
812
|
/**
|
|
813
813
|
* {@inheritDoc @sisense/sdk-ui!PolarChartProps.dataOptions}
|
|
@@ -874,7 +874,7 @@ const xe = u({
|
|
|
874
874
|
styleOptions: Object
|
|
875
875
|
},
|
|
876
876
|
setup: (t) => l(Dt, t)
|
|
877
|
-
}),
|
|
877
|
+
}), Pn = c({
|
|
878
878
|
props: {
|
|
879
879
|
/**
|
|
880
880
|
* {@inheritDoc @sisense/sdk-ui!IndicatorChartProps.dataOptions}
|
|
@@ -923,7 +923,68 @@ const xe = u({
|
|
|
923
923
|
onDataReady: Function
|
|
924
924
|
},
|
|
925
925
|
setup: (t) => l(mt, t)
|
|
926
|
-
}), vn =
|
|
926
|
+
}), vn = c({
|
|
927
|
+
props: {
|
|
928
|
+
/**
|
|
929
|
+
* {@inheritDoc @sisense/sdk-ui!KpiChartProps.dataOptions}
|
|
930
|
+
*
|
|
931
|
+
* @category Chart
|
|
932
|
+
*/
|
|
933
|
+
dataOptions: {
|
|
934
|
+
type: Object,
|
|
935
|
+
required: !0
|
|
936
|
+
},
|
|
937
|
+
/**
|
|
938
|
+
* {@inheritDoc @sisense/sdk-ui!KpiChartProps.dataSet}
|
|
939
|
+
*
|
|
940
|
+
* @category Data
|
|
941
|
+
*/
|
|
942
|
+
dataSet: [String, Object],
|
|
943
|
+
/**
|
|
944
|
+
* {@inheritDoc @sisense/sdk-ui!KpiChartProps.filters}
|
|
945
|
+
*
|
|
946
|
+
* @category Data
|
|
947
|
+
*/
|
|
948
|
+
filters: [Object, Array],
|
|
949
|
+
/**
|
|
950
|
+
* {@inheritDoc @sisense/sdk-ui!KpiChartProps.highlights}
|
|
951
|
+
*
|
|
952
|
+
* @category Data
|
|
953
|
+
*/
|
|
954
|
+
highlights: Array,
|
|
955
|
+
/**
|
|
956
|
+
* {@inheritDoc @sisense/sdk-ui!KpiChartProps.styleOptions}
|
|
957
|
+
*
|
|
958
|
+
* @category Chart
|
|
959
|
+
*/
|
|
960
|
+
styleOptions: Object,
|
|
961
|
+
/**
|
|
962
|
+
* {@inheritDoc @sisense/sdk-ui!KpiChartProps.onBeforeRender}
|
|
963
|
+
*
|
|
964
|
+
* @category Callbacks
|
|
965
|
+
*/
|
|
966
|
+
onBeforeRender: Function,
|
|
967
|
+
/**
|
|
968
|
+
* {@inheritDoc @sisense/sdk-ui!KpiChartProps.onDataReady}
|
|
969
|
+
*
|
|
970
|
+
* @category Callbacks
|
|
971
|
+
*/
|
|
972
|
+
onDataReady: Function,
|
|
973
|
+
/**
|
|
974
|
+
* {@inheritDoc @sisense/sdk-ui!KpiChartProps.onDataPointClick}
|
|
975
|
+
*
|
|
976
|
+
* @category Callbacks
|
|
977
|
+
*/
|
|
978
|
+
onDataPointClick: Function,
|
|
979
|
+
/**
|
|
980
|
+
* {@inheritDoc @sisense/sdk-ui!KpiChartProps.onDataPointContextMenu}
|
|
981
|
+
*
|
|
982
|
+
* @category Callbacks
|
|
983
|
+
*/
|
|
984
|
+
onDataPointContextMenu: Function
|
|
985
|
+
},
|
|
986
|
+
setup: (t) => l(jt, t)
|
|
987
|
+
}), xn = c({
|
|
927
988
|
props: {
|
|
928
989
|
/**
|
|
929
990
|
* {@inheritDoc @sisense/sdk-ui!ChartProps.chartType}
|
|
@@ -1002,8 +1063,8 @@ const xe = u({
|
|
|
1002
1063
|
*/
|
|
1003
1064
|
refreshCounter: Number
|
|
1004
1065
|
},
|
|
1005
|
-
setup: (t) => l(
|
|
1006
|
-
}),
|
|
1066
|
+
setup: (t) => l(Pt, t)
|
|
1067
|
+
}), wn = c({
|
|
1007
1068
|
props: {
|
|
1008
1069
|
/**
|
|
1009
1070
|
* {@inheritDoc @sisense/sdk-ui!BoxplotChartProps.dataOptions}
|
|
@@ -1070,7 +1131,7 @@ const xe = u({
|
|
|
1070
1131
|
onDataPointsSelected: Function
|
|
1071
1132
|
},
|
|
1072
1133
|
setup: (t) => l(vt, t)
|
|
1073
|
-
}),
|
|
1134
|
+
}), An = c({
|
|
1074
1135
|
props: {
|
|
1075
1136
|
/**
|
|
1076
1137
|
* {@inheritDoc @sisense/sdk-ui!AreamapChartProps.dataOptions}
|
|
@@ -1118,8 +1179,8 @@ const xe = u({
|
|
|
1118
1179
|
*/
|
|
1119
1180
|
onDataPointClick: Function
|
|
1120
1181
|
},
|
|
1121
|
-
setup: (t) => l(
|
|
1122
|
-
}),
|
|
1182
|
+
setup: (t) => l(xt, t)
|
|
1183
|
+
}), Mn = c({
|
|
1123
1184
|
props: {
|
|
1124
1185
|
/**
|
|
1125
1186
|
* {@inheritDoc @sisense/sdk-ui!ScattermapChartProps.dataOptions}
|
|
@@ -1168,7 +1229,7 @@ const xe = u({
|
|
|
1168
1229
|
onDataPointClick: Object
|
|
1169
1230
|
},
|
|
1170
1231
|
setup: (t) => l(wt, t)
|
|
1171
|
-
}),
|
|
1232
|
+
}), Rn = c({
|
|
1172
1233
|
props: {
|
|
1173
1234
|
/**
|
|
1174
1235
|
* {@inheritDoc @sisense/sdk-ui!StreamgraphChartProps.dataOptions}
|
|
@@ -1234,8 +1295,8 @@ const xe = u({
|
|
|
1234
1295
|
*/
|
|
1235
1296
|
onDataPointsSelected: Function
|
|
1236
1297
|
},
|
|
1237
|
-
setup: (t) => l(
|
|
1238
|
-
}),
|
|
1298
|
+
setup: (t) => l(At, t)
|
|
1299
|
+
}), qn = c({
|
|
1239
1300
|
props: {
|
|
1240
1301
|
/**
|
|
1241
1302
|
* {@inheritDoc @sisense/sdk-ui!AreaRangeChartProps.dataOptions}
|
|
@@ -1301,8 +1362,8 @@ const xe = u({
|
|
|
1301
1362
|
*/
|
|
1302
1363
|
styleOptions: Object
|
|
1303
1364
|
},
|
|
1304
|
-
setup: (t) => l(
|
|
1305
|
-
}),
|
|
1365
|
+
setup: (t) => l(Mt, t)
|
|
1366
|
+
}), Wn = c({
|
|
1306
1367
|
props: {
|
|
1307
1368
|
/**
|
|
1308
1369
|
* {@inheritDoc @sisense/sdk-ui!SankeyChartProps.dataOptions}
|
|
@@ -1368,8 +1429,8 @@ const xe = u({
|
|
|
1368
1429
|
*/
|
|
1369
1430
|
onDataPointsSelected: Function
|
|
1370
1431
|
},
|
|
1371
|
-
setup: (t) => l(
|
|
1372
|
-
}),
|
|
1432
|
+
setup: (t) => l(Rt, t)
|
|
1433
|
+
}), Tn = c({
|
|
1373
1434
|
props: {
|
|
1374
1435
|
/**
|
|
1375
1436
|
* {@inheritDoc @sisense/sdk-ui!DateRangeFilterTileProps.attribute}
|
|
@@ -1429,8 +1490,8 @@ const xe = u({
|
|
|
1429
1490
|
*/
|
|
1430
1491
|
onEdit: Function
|
|
1431
1492
|
},
|
|
1432
|
-
setup: (t) => l(
|
|
1433
|
-
}),
|
|
1493
|
+
setup: (t) => l(qt, t)
|
|
1494
|
+
}), Bn = c({
|
|
1434
1495
|
props: {
|
|
1435
1496
|
/**
|
|
1436
1497
|
* {@inheritDoc @sisense/sdk-ui!MemberFilterTileProps.attribute}
|
|
@@ -1477,8 +1538,8 @@ const xe = u({
|
|
|
1477
1538
|
*/
|
|
1478
1539
|
onEdit: Function
|
|
1479
1540
|
},
|
|
1480
|
-
setup: (t) => l(
|
|
1481
|
-
}),
|
|
1541
|
+
setup: (t) => l(Wt, t)
|
|
1542
|
+
}), En = c({
|
|
1482
1543
|
props: {
|
|
1483
1544
|
/**
|
|
1484
1545
|
* {@inheritDoc @sisense/sdk-ui!CriteriaFilterTileProps.arrangement}
|
|
@@ -1518,8 +1579,8 @@ const xe = u({
|
|
|
1518
1579
|
*/
|
|
1519
1580
|
onEdit: Function
|
|
1520
1581
|
},
|
|
1521
|
-
setup: (t) => l(
|
|
1522
|
-
}),
|
|
1582
|
+
setup: (t) => l(Tt, t)
|
|
1583
|
+
}), kn = c({
|
|
1523
1584
|
props: {
|
|
1524
1585
|
/**
|
|
1525
1586
|
* {@inheritDoc @sisense/sdk-ui!RelativeDateFilterTileProps.title}
|
|
@@ -1564,8 +1625,8 @@ const xe = u({
|
|
|
1564
1625
|
*/
|
|
1565
1626
|
onEdit: Function
|
|
1566
1627
|
},
|
|
1567
|
-
setup: (t) => l(
|
|
1568
|
-
}),
|
|
1628
|
+
setup: (t) => l(Bt, t)
|
|
1629
|
+
}), $n = c({
|
|
1569
1630
|
props: {
|
|
1570
1631
|
/**
|
|
1571
1632
|
* {@inheritDoc @sisense/sdk-ui!FilterTileProps.filter}
|
|
@@ -1595,7 +1656,7 @@ const xe = u({
|
|
|
1595
1656
|
onEdit: Function
|
|
1596
1657
|
},
|
|
1597
1658
|
setup: (t) => l(Et, t)
|
|
1598
|
-
}),
|
|
1659
|
+
}), In = c({
|
|
1599
1660
|
props: {
|
|
1600
1661
|
/**
|
|
1601
1662
|
* {@inheritDoc @sisense/sdk-ui!FiltersPanelProps.filters}
|
|
@@ -1626,8 +1687,8 @@ const xe = u({
|
|
|
1626
1687
|
required: !0
|
|
1627
1688
|
}
|
|
1628
1689
|
},
|
|
1629
|
-
setup: (t) => l(
|
|
1630
|
-
}),
|
|
1690
|
+
setup: (t) => l(kt, t)
|
|
1691
|
+
}), Qn = (t) => {
|
|
1631
1692
|
const [e, n] = W(nt, {
|
|
1632
1693
|
isLoading: !0,
|
|
1633
1694
|
isError: !1,
|
|
@@ -1635,36 +1696,36 @@ const xe = u({
|
|
|
1635
1696
|
status: "loading",
|
|
1636
1697
|
error: void 0,
|
|
1637
1698
|
data: void 0
|
|
1638
|
-
}), r =
|
|
1699
|
+
}), r = v();
|
|
1639
1700
|
C("useExecuteQuery");
|
|
1640
1701
|
const o = D(void 0), i = async (s) => {
|
|
1641
1702
|
try {
|
|
1642
1703
|
const {
|
|
1643
|
-
dataSource:
|
|
1704
|
+
dataSource: u,
|
|
1644
1705
|
dimensions: a,
|
|
1645
1706
|
measures: p,
|
|
1646
1707
|
filters: S,
|
|
1647
1708
|
highlights: f,
|
|
1648
|
-
count:
|
|
1709
|
+
count: h,
|
|
1649
1710
|
offset: F,
|
|
1650
1711
|
ungroup: m,
|
|
1651
|
-
includeRowCount:
|
|
1712
|
+
includeRowCount: P,
|
|
1652
1713
|
onBeforeQuery: R
|
|
1653
1714
|
} = d(t), { filters: G, relations: L } = it(S);
|
|
1654
1715
|
n({ type: "loading" });
|
|
1655
1716
|
const O = {
|
|
1656
|
-
dataSource:
|
|
1717
|
+
dataSource: u,
|
|
1657
1718
|
dimensions: a,
|
|
1658
1719
|
measures: p,
|
|
1659
1720
|
filters: G,
|
|
1660
1721
|
filterRelations: L,
|
|
1661
1722
|
highlights: f,
|
|
1662
|
-
count:
|
|
1723
|
+
count: h,
|
|
1663
1724
|
offset: F,
|
|
1664
1725
|
ungroup: m
|
|
1665
|
-
}, k = { onBeforeQuery:
|
|
1666
|
-
if (
|
|
1667
|
-
const q = await
|
|
1726
|
+
}, k = { onBeforeQuery: K(R) };
|
|
1727
|
+
if (P) {
|
|
1728
|
+
const q = await $t(
|
|
1668
1729
|
O,
|
|
1669
1730
|
s,
|
|
1670
1731
|
k
|
|
@@ -1672,25 +1733,25 @@ const xe = u({
|
|
|
1672
1733
|
o.value = q.rowCount, n({ type: "success", data: q.data });
|
|
1673
1734
|
} else {
|
|
1674
1735
|
o.value = void 0;
|
|
1675
|
-
const q = await
|
|
1736
|
+
const q = await It(O, s, k);
|
|
1676
1737
|
n({ type: "success", data: q });
|
|
1677
1738
|
}
|
|
1678
|
-
} catch (
|
|
1679
|
-
n({ type: "error", error:
|
|
1739
|
+
} catch (u) {
|
|
1740
|
+
n({ type: "error", error: u });
|
|
1680
1741
|
}
|
|
1681
1742
|
};
|
|
1682
|
-
return
|
|
1683
|
-
[...
|
|
1743
|
+
return g(
|
|
1744
|
+
[...b(t), r],
|
|
1684
1745
|
() => {
|
|
1685
|
-
const { app: s } = r.value, { enabled:
|
|
1686
|
-
!s || !(
|
|
1746
|
+
const { app: s } = r.value, { enabled: u } = d(t);
|
|
1747
|
+
!s || !(u === void 0 || u === !0) || i(s);
|
|
1687
1748
|
},
|
|
1688
1749
|
{ immediate: !0 }
|
|
1689
1750
|
), {
|
|
1690
|
-
...
|
|
1751
|
+
...y(e.value),
|
|
1691
1752
|
rowCount: o
|
|
1692
1753
|
};
|
|
1693
|
-
},
|
|
1754
|
+
}, Hn = (t) => {
|
|
1694
1755
|
const e = D(void 0), n = D(void 0), r = D(void 0);
|
|
1695
1756
|
C("useExecuteQueryByWidgetId");
|
|
1696
1757
|
const [o, i] = W(nt, {
|
|
@@ -1700,40 +1761,40 @@ const xe = u({
|
|
|
1700
1761
|
status: "loading",
|
|
1701
1762
|
error: void 0,
|
|
1702
1763
|
data: void 0
|
|
1703
|
-
}), s =
|
|
1764
|
+
}), s = v(), u = async (a) => {
|
|
1704
1765
|
try {
|
|
1705
1766
|
i({ type: "loading" });
|
|
1706
|
-
const { filters: p, ...S } = d(t), { filters: f } = it(
|
|
1707
|
-
data:
|
|
1767
|
+
const { filters: p, ...S } = d(t), { filters: f } = it(K(p)), {
|
|
1768
|
+
data: h,
|
|
1708
1769
|
query: F,
|
|
1709
1770
|
pivotQuery: m,
|
|
1710
|
-
rowCount:
|
|
1711
|
-
} = await
|
|
1771
|
+
rowCount: P
|
|
1772
|
+
} = await Qt({
|
|
1712
1773
|
...S,
|
|
1713
1774
|
filters: f,
|
|
1714
1775
|
app: a
|
|
1715
1776
|
});
|
|
1716
|
-
i({ type: "success", data:
|
|
1777
|
+
i({ type: "success", data: h }), e.value = F, n.value = m, r.value = P;
|
|
1717
1778
|
} catch (p) {
|
|
1718
1779
|
i({ type: "error", error: p });
|
|
1719
1780
|
}
|
|
1720
1781
|
};
|
|
1721
|
-
return
|
|
1722
|
-
[...
|
|
1782
|
+
return g(
|
|
1783
|
+
[...b(t), s],
|
|
1723
1784
|
() => {
|
|
1724
1785
|
const { app: a } = s.value, { enabled: p } = d(t);
|
|
1725
|
-
!a || !(p === void 0 || p === !0) ||
|
|
1786
|
+
!a || !(p === void 0 || p === !0) || u(a);
|
|
1726
1787
|
},
|
|
1727
1788
|
{ immediate: !0 }
|
|
1728
1789
|
), {
|
|
1729
|
-
...
|
|
1790
|
+
...y(o.value),
|
|
1730
1791
|
query: e,
|
|
1731
1792
|
pivotQuery: n,
|
|
1732
1793
|
rowCount: r
|
|
1733
1794
|
};
|
|
1734
|
-
},
|
|
1795
|
+
}, Ln = (t) => {
|
|
1735
1796
|
C("useExecuteCsvQuery");
|
|
1736
|
-
const e = new A(
|
|
1797
|
+
const e = new A(Ht, [
|
|
1737
1798
|
M()
|
|
1738
1799
|
]), [n, r] = T({
|
|
1739
1800
|
isLoading: !0,
|
|
@@ -1745,14 +1806,14 @@ const xe = u({
|
|
|
1745
1806
|
});
|
|
1746
1807
|
return e.subscribe((o) => {
|
|
1747
1808
|
r(o);
|
|
1748
|
-
}), e.run(d(t)),
|
|
1809
|
+
}), e.run(d(t)), g([...b(t)], () => {
|
|
1749
1810
|
e.run(d(t));
|
|
1750
|
-
}),
|
|
1811
|
+
}), w(() => {
|
|
1751
1812
|
e.destroy();
|
|
1752
|
-
}),
|
|
1753
|
-
},
|
|
1813
|
+
}), y(n.value);
|
|
1814
|
+
}, Gn = (t) => {
|
|
1754
1815
|
C("useExecutePivotQuery");
|
|
1755
|
-
const e = new A(
|
|
1816
|
+
const e = new A(Lt, [
|
|
1756
1817
|
M()
|
|
1757
1818
|
]), [n, r] = T({
|
|
1758
1819
|
isLoading: !0,
|
|
@@ -1764,14 +1825,14 @@ const xe = u({
|
|
|
1764
1825
|
});
|
|
1765
1826
|
return e.subscribe((o) => {
|
|
1766
1827
|
r(o);
|
|
1767
|
-
}), e.run(d(t)),
|
|
1828
|
+
}), e.run(d(t)), g([...b(t)], () => {
|
|
1768
1829
|
e.run(d(t));
|
|
1769
|
-
}),
|
|
1830
|
+
}), w(() => {
|
|
1770
1831
|
e.destroy();
|
|
1771
|
-
}),
|
|
1772
|
-
},
|
|
1832
|
+
}), y(n.value);
|
|
1833
|
+
}, _n = (t) => {
|
|
1773
1834
|
C("useExecuteCustomWidgetQuery");
|
|
1774
|
-
const e = new A(
|
|
1835
|
+
const e = new A(Gt, [
|
|
1775
1836
|
M()
|
|
1776
1837
|
]), [n, r] = T({
|
|
1777
1838
|
data: void 0,
|
|
@@ -1783,17 +1844,17 @@ const xe = u({
|
|
|
1783
1844
|
});
|
|
1784
1845
|
return e.subscribe((o) => {
|
|
1785
1846
|
r(o);
|
|
1786
|
-
}), e.run(d(t)),
|
|
1847
|
+
}), e.run(d(t)), g([...b(t)], () => {
|
|
1787
1848
|
e.run(d(t));
|
|
1788
|
-
}),
|
|
1849
|
+
}), w(() => {
|
|
1789
1850
|
e.destroy();
|
|
1790
|
-
}),
|
|
1791
|
-
},
|
|
1851
|
+
}), y(n.value);
|
|
1852
|
+
}, Vn = (t) => {
|
|
1792
1853
|
C("useGetFilterMembers");
|
|
1793
1854
|
const { filter: e, parentFilters: n = [] } = d(t), r = {
|
|
1794
1855
|
selectedMembers: [],
|
|
1795
1856
|
allMembers: [],
|
|
1796
|
-
...
|
|
1857
|
+
...xe(e) ? {
|
|
1797
1858
|
excludeMembers: e.config.excludeMembers,
|
|
1798
1859
|
enableMultiSelection: e.config.enableMultiSelection,
|
|
1799
1860
|
hasBackgroundFilter: !!e.config.backgroundFilter && n.length === 0
|
|
@@ -1802,7 +1863,7 @@ const xe = u({
|
|
|
1802
1863
|
enableMultiSelection: !1,
|
|
1803
1864
|
hasBackgroundFilter: !1
|
|
1804
1865
|
}
|
|
1805
|
-
}, o = new A(
|
|
1866
|
+
}, o = new A(_t, [M()]), [i, s] = T({
|
|
1806
1867
|
isLoading: !0,
|
|
1807
1868
|
isError: !1,
|
|
1808
1869
|
isSuccess: !1,
|
|
@@ -1811,16 +1872,16 @@ const xe = u({
|
|
|
1811
1872
|
data: r,
|
|
1812
1873
|
isAllItemsLoaded: !1
|
|
1813
1874
|
});
|
|
1814
|
-
return o.subscribe((
|
|
1815
|
-
s(
|
|
1816
|
-
}), o.run(d(t)),
|
|
1875
|
+
return o.subscribe((u) => {
|
|
1876
|
+
s(u);
|
|
1877
|
+
}), o.run(d(t)), g([...b(t)], () => {
|
|
1817
1878
|
o.run(d(t));
|
|
1818
|
-
}),
|
|
1879
|
+
}), w(() => {
|
|
1819
1880
|
o.destroy();
|
|
1820
|
-
}),
|
|
1821
|
-
},
|
|
1881
|
+
}), y(i.value);
|
|
1882
|
+
}, Kn = (t) => {
|
|
1822
1883
|
C("useGetDataSourceDimensions");
|
|
1823
|
-
const e = new A(
|
|
1884
|
+
const e = new A(Vt, [
|
|
1824
1885
|
M()
|
|
1825
1886
|
]), [n, r] = T({
|
|
1826
1887
|
isLoading: !0,
|
|
@@ -1832,12 +1893,12 @@ const xe = u({
|
|
|
1832
1893
|
});
|
|
1833
1894
|
return e.subscribe((o) => {
|
|
1834
1895
|
r(o);
|
|
1835
|
-
}), e.run(d(t)),
|
|
1896
|
+
}), e.run(d(t)), g([...b(t)], () => {
|
|
1836
1897
|
e.run(d(t));
|
|
1837
|
-
}),
|
|
1898
|
+
}), w(() => {
|
|
1838
1899
|
e.destroy();
|
|
1839
|
-
}),
|
|
1840
|
-
},
|
|
1900
|
+
}), y(n.value);
|
|
1901
|
+
}, Nn = (t) => {
|
|
1841
1902
|
C("useGetDashboardModel");
|
|
1842
1903
|
const [e, n] = W(Q, {
|
|
1843
1904
|
isLoading: !0,
|
|
@@ -1846,32 +1907,32 @@ const xe = u({
|
|
|
1846
1907
|
status: "loading",
|
|
1847
1908
|
error: void 0,
|
|
1848
1909
|
data: void 0
|
|
1849
|
-
}), r =
|
|
1910
|
+
}), r = v(), o = H(), i = async (u) => {
|
|
1850
1911
|
try {
|
|
1851
1912
|
n({ type: "loading" });
|
|
1852
1913
|
const { dashboardOid: a, includeWidgets: p, includeFilters: S } = d(t), f = await Nt(
|
|
1853
|
-
|
|
1914
|
+
u.httpClient,
|
|
1854
1915
|
a,
|
|
1855
1916
|
{ includeWidgets: p, includeFilters: S },
|
|
1856
1917
|
o.value,
|
|
1857
|
-
|
|
1918
|
+
u.settings
|
|
1858
1919
|
);
|
|
1859
1920
|
n({ type: "success", data: f });
|
|
1860
1921
|
} catch (a) {
|
|
1861
1922
|
n({ type: "error", error: a });
|
|
1862
1923
|
}
|
|
1863
1924
|
};
|
|
1864
|
-
|
|
1865
|
-
[...
|
|
1925
|
+
g(
|
|
1926
|
+
[...b(t), r, o],
|
|
1866
1927
|
() => {
|
|
1867
|
-
const { app:
|
|
1868
|
-
!
|
|
1928
|
+
const { app: u } = r.value, { enabled: a } = d(t);
|
|
1929
|
+
!u || !(a === void 0 || a === !0) || i(u);
|
|
1869
1930
|
},
|
|
1870
1931
|
{ immediate: !0 }
|
|
1871
1932
|
);
|
|
1872
|
-
const s =
|
|
1873
|
-
return
|
|
1874
|
-
},
|
|
1933
|
+
const s = y(e.value);
|
|
1934
|
+
return y(Kt(s));
|
|
1935
|
+
}, Jn = (t) => {
|
|
1875
1936
|
C("useGetDashboardModels");
|
|
1876
1937
|
const [e, n] = W(Q, {
|
|
1877
1938
|
isLoading: !0,
|
|
@@ -1880,33 +1941,33 @@ const xe = u({
|
|
|
1880
1941
|
status: "loading",
|
|
1881
1942
|
error: void 0,
|
|
1882
1943
|
data: void 0
|
|
1883
|
-
}), r =
|
|
1944
|
+
}), r = v(), o = H(), i = async (u) => {
|
|
1884
1945
|
try {
|
|
1885
1946
|
n({ type: "loading" });
|
|
1886
1947
|
const a = d(t), p = await zt(
|
|
1887
|
-
|
|
1948
|
+
u.httpClient,
|
|
1888
1949
|
a,
|
|
1889
1950
|
o.value,
|
|
1890
|
-
|
|
1951
|
+
u.settings
|
|
1891
1952
|
);
|
|
1892
1953
|
n({ type: "success", data: p });
|
|
1893
1954
|
} catch (a) {
|
|
1894
1955
|
n({ type: "error", error: a });
|
|
1895
1956
|
}
|
|
1896
1957
|
};
|
|
1897
|
-
|
|
1898
|
-
[...
|
|
1958
|
+
g(
|
|
1959
|
+
[...b(t), r, o],
|
|
1899
1960
|
() => {
|
|
1900
|
-
const { app:
|
|
1901
|
-
!
|
|
1961
|
+
const { app: u } = r.value, { enabled: a } = d(t);
|
|
1962
|
+
!u || !(a === void 0 || a === !0) || i(u);
|
|
1902
1963
|
},
|
|
1903
1964
|
{ immediate: !0 }
|
|
1904
1965
|
);
|
|
1905
|
-
const s =
|
|
1906
|
-
return
|
|
1907
|
-
},
|
|
1966
|
+
const s = y(e.value);
|
|
1967
|
+
return y(Jt(s));
|
|
1968
|
+
}, zn = (t) => {
|
|
1908
1969
|
C("useGetSharedFormula");
|
|
1909
|
-
const e = new A(
|
|
1970
|
+
const e = new A(Ut, [
|
|
1910
1971
|
M()
|
|
1911
1972
|
]), [n, r] = T({
|
|
1912
1973
|
isLoading: !0,
|
|
@@ -1918,12 +1979,12 @@ const xe = u({
|
|
|
1918
1979
|
});
|
|
1919
1980
|
return e.subscribe((o) => {
|
|
1920
1981
|
r(o);
|
|
1921
|
-
}), e.run(d(t)),
|
|
1982
|
+
}), e.run(d(t)), g([...b(t)], () => {
|
|
1922
1983
|
e.run(d(t));
|
|
1923
|
-
}),
|
|
1984
|
+
}), w(() => {
|
|
1924
1985
|
e.destroy();
|
|
1925
|
-
}),
|
|
1926
|
-
},
|
|
1986
|
+
}), y(n.value);
|
|
1987
|
+
}, Un = (t) => {
|
|
1927
1988
|
C("useGetWidgetModel");
|
|
1928
1989
|
const [e, n] = W(Q, {
|
|
1929
1990
|
isLoading: !0,
|
|
@@ -1932,24 +1993,24 @@ const xe = u({
|
|
|
1932
1993
|
status: "loading",
|
|
1933
1994
|
error: void 0,
|
|
1934
1995
|
data: void 0
|
|
1935
|
-
}), r =
|
|
1996
|
+
}), r = v(), o = async (i) => {
|
|
1936
1997
|
try {
|
|
1937
1998
|
n({ type: "loading" });
|
|
1938
|
-
const { dashboardOid: s, widgetOid:
|
|
1999
|
+
const { dashboardOid: s, widgetOid: u } = d(t), a = await Xt(i.httpClient, s, u);
|
|
1939
2000
|
n({ type: "success", data: a });
|
|
1940
2001
|
} catch (s) {
|
|
1941
2002
|
n({ type: "error", error: s });
|
|
1942
2003
|
}
|
|
1943
2004
|
};
|
|
1944
|
-
return
|
|
1945
|
-
[...
|
|
2005
|
+
return g(
|
|
2006
|
+
[...b(t), r],
|
|
1946
2007
|
() => {
|
|
1947
2008
|
const { app: i } = r.value, { enabled: s } = d(t);
|
|
1948
2009
|
!i || !(s === void 0 || s === !0) || o(i);
|
|
1949
2010
|
},
|
|
1950
2011
|
{ immediate: !0 }
|
|
1951
|
-
),
|
|
1952
|
-
},
|
|
2012
|
+
), y(e.value);
|
|
2013
|
+
}, Xn = (t) => {
|
|
1953
2014
|
C("useGetHierarchyModels");
|
|
1954
2015
|
const [e, n] = W(Q, {
|
|
1955
2016
|
isLoading: !0,
|
|
@@ -1958,24 +2019,24 @@ const xe = u({
|
|
|
1958
2019
|
status: "loading",
|
|
1959
2020
|
error: void 0,
|
|
1960
2021
|
data: void 0
|
|
1961
|
-
}), r =
|
|
2022
|
+
}), r = v(), o = async (i) => {
|
|
1962
2023
|
try {
|
|
1963
2024
|
n({ type: "loading" });
|
|
1964
|
-
const s = await
|
|
2025
|
+
const s = await Yt(i.httpClient, d(t));
|
|
1965
2026
|
n({ type: "success", data: s });
|
|
1966
2027
|
} catch (s) {
|
|
1967
2028
|
n({ type: "error", error: s });
|
|
1968
2029
|
}
|
|
1969
2030
|
};
|
|
1970
|
-
return
|
|
1971
|
-
[...
|
|
2031
|
+
return g(
|
|
2032
|
+
[...b(t), r],
|
|
1972
2033
|
() => {
|
|
1973
2034
|
const { app: i } = r.value, { enabled: s } = d(t);
|
|
1974
2035
|
!i || !(s === void 0 || s === !0) || o(i);
|
|
1975
2036
|
},
|
|
1976
2037
|
{ immediate: !0 }
|
|
1977
|
-
),
|
|
1978
|
-
},
|
|
2038
|
+
), y(e.value);
|
|
2039
|
+
}, Yn = (t, e, n) => {
|
|
1979
2040
|
const [r, o] = W(Q, {
|
|
1980
2041
|
isLoading: !0,
|
|
1981
2042
|
isError: !1,
|
|
@@ -1983,32 +2044,32 @@ const xe = u({
|
|
|
1983
2044
|
status: "loading",
|
|
1984
2045
|
error: void 0,
|
|
1985
2046
|
data: void 0
|
|
1986
|
-
}), i =
|
|
2047
|
+
}), i = v(), s = async (u) => {
|
|
1987
2048
|
try {
|
|
1988
2049
|
o({ type: "loading" });
|
|
1989
|
-
const a =
|
|
2050
|
+
const a = K(t), p = e ? d(e) : {}, S = n ? d(n) : {}, f = {
|
|
1990
2051
|
requestConfig: S.requestConfig ? d(S.requestConfig) : {},
|
|
1991
2052
|
skipTrackingParam: !0
|
|
1992
|
-
},
|
|
1993
|
-
|
|
2053
|
+
}, h = await u.call(
|
|
2054
|
+
u.url + a,
|
|
1994
2055
|
p,
|
|
1995
2056
|
f
|
|
1996
2057
|
);
|
|
1997
|
-
o({ type: "success", data:
|
|
2058
|
+
o({ type: "success", data: h });
|
|
1998
2059
|
} catch (a) {
|
|
1999
2060
|
o({ type: "error", error: a });
|
|
2000
2061
|
}
|
|
2001
2062
|
};
|
|
2002
|
-
return
|
|
2003
|
-
[...
|
|
2063
|
+
return g(
|
|
2064
|
+
[...b(t, e, n), i],
|
|
2004
2065
|
() => {
|
|
2005
|
-
const { app:
|
|
2006
|
-
!
|
|
2066
|
+
const { app: u } = i.value, a = d(n || {}).enabled;
|
|
2067
|
+
!u || !(a === void 0 || a === !0) || s(u.httpClient);
|
|
2007
2068
|
},
|
|
2008
2069
|
{ immediate: !0 }
|
|
2009
|
-
),
|
|
2070
|
+
), y(r.value);
|
|
2010
2071
|
};
|
|
2011
|
-
class
|
|
2072
|
+
class Me {
|
|
2012
2073
|
constructor(e, n) {
|
|
2013
2074
|
I(this, "app", null);
|
|
2014
2075
|
I(this, "container", null);
|
|
@@ -2030,7 +2091,7 @@ class Ae {
|
|
|
2030
2091
|
const r = {
|
|
2031
2092
|
setup: () => () => rt(this.componentClass, this.propsRef.value)
|
|
2032
2093
|
};
|
|
2033
|
-
this.app =
|
|
2094
|
+
this.app = fe(r), this.app.provide(De, this.contexts.sisenseContext), this.app.provide(me, this.contexts.themeContext), this.app.provide(je, this.contexts.customWidgetsContext), this.app.mount(e);
|
|
2034
2095
|
}
|
|
2035
2096
|
/**
|
|
2036
2097
|
* Updates the props on the existing Vue component instance.
|
|
@@ -2056,29 +2117,29 @@ class Ae {
|
|
|
2056
2117
|
return this.app !== null && !this.isDestroyed;
|
|
2057
2118
|
}
|
|
2058
2119
|
}
|
|
2059
|
-
function
|
|
2060
|
-
return (n) =>
|
|
2061
|
-
adapterFactory: () => new
|
|
2120
|
+
function Re(t, e) {
|
|
2121
|
+
return (n) => te(ee, {
|
|
2122
|
+
adapterFactory: () => new Me(t, e),
|
|
2062
2123
|
componentProps: n
|
|
2063
2124
|
});
|
|
2064
2125
|
}
|
|
2065
|
-
function
|
|
2066
|
-
return
|
|
2126
|
+
function qe(t) {
|
|
2127
|
+
return c({
|
|
2067
2128
|
name: "PreactComponent",
|
|
2068
2129
|
inheritAttrs: !1,
|
|
2069
2130
|
setup: (e, { attrs: n }) => {
|
|
2070
|
-
const r = D(null), o = new
|
|
2131
|
+
const r = D(null), o = new Zt(
|
|
2071
2132
|
// the adapter renders any preact function component; the attrs are forwarded untyped
|
|
2072
2133
|
t,
|
|
2073
|
-
|
|
2134
|
+
Pe()
|
|
2074
2135
|
);
|
|
2075
|
-
return
|
|
2136
|
+
return w(() => {
|
|
2076
2137
|
o.destroy();
|
|
2077
|
-
}), () => (r.value && o.render(r.value,
|
|
2138
|
+
}), () => (r.value && o.render(r.value, N({ ...n })), rt("div", { ref: r, style: "width: 100%; height: 100%" }));
|
|
2078
2139
|
}
|
|
2079
2140
|
});
|
|
2080
2141
|
}
|
|
2081
|
-
function
|
|
2142
|
+
function z(t) {
|
|
2082
2143
|
const e = /* @__PURE__ */ new WeakMap(), n = /* @__PURE__ */ new WeakMap(), r = (o, i) => {
|
|
2083
2144
|
e.set(o, i), n.set(i, o);
|
|
2084
2145
|
};
|
|
@@ -2093,7 +2154,7 @@ function K(t) {
|
|
|
2093
2154
|
const i = e.get(o);
|
|
2094
2155
|
if (i)
|
|
2095
2156
|
return i;
|
|
2096
|
-
const s =
|
|
2157
|
+
const s = Re(o, t);
|
|
2097
2158
|
return r(o, s), s;
|
|
2098
2159
|
},
|
|
2099
2160
|
/**
|
|
@@ -2107,14 +2168,14 @@ function K(t) {
|
|
|
2107
2168
|
const i = n.get(o);
|
|
2108
2169
|
if (i)
|
|
2109
2170
|
return i;
|
|
2110
|
-
const s =
|
|
2171
|
+
const s = qe(o);
|
|
2111
2172
|
return r(s, o), s;
|
|
2112
2173
|
}
|
|
2113
2174
|
};
|
|
2114
2175
|
}
|
|
2115
|
-
const
|
|
2116
|
-
const t =
|
|
2117
|
-
sisenseContext:
|
|
2176
|
+
const Zn = () => {
|
|
2177
|
+
const t = J(), e = z({
|
|
2178
|
+
sisenseContext: v(),
|
|
2118
2179
|
themeContext: H(),
|
|
2119
2180
|
customWidgetsContext: t
|
|
2120
2181
|
});
|
|
@@ -2151,28 +2212,28 @@ const Xn = () => {
|
|
|
2151
2212
|
*/
|
|
2152
2213
|
hasCustomWidget: (n) => t.value.customWidgetsMap.has(n)
|
|
2153
2214
|
};
|
|
2154
|
-
},
|
|
2215
|
+
}, tr = (t, e = {}) => {
|
|
2155
2216
|
C("useComposedDashboard");
|
|
2156
2217
|
const n = (a) => d(a), r = new A(
|
|
2157
|
-
|
|
2218
|
+
ne,
|
|
2158
2219
|
[M()]
|
|
2159
2220
|
), [o, i] = T(d(t));
|
|
2160
2221
|
r.subscribe(({ dashboard: a }) => {
|
|
2161
2222
|
i(a);
|
|
2162
|
-
}), r.run(n(t), e),
|
|
2223
|
+
}), r.run(n(t), e), g([...b(t)], () => {
|
|
2163
2224
|
r.run(n(t), e);
|
|
2164
|
-
}),
|
|
2225
|
+
}), w(() => {
|
|
2165
2226
|
r.destroy();
|
|
2166
2227
|
});
|
|
2167
|
-
const s = Z(r, "setFilters"),
|
|
2228
|
+
const s = Z(r, "setFilters"), u = Z(r, "setWidgetsLayout");
|
|
2168
2229
|
return {
|
|
2169
2230
|
dashboard: o,
|
|
2170
2231
|
setFilters: s,
|
|
2171
|
-
setWidgetsLayout:
|
|
2232
|
+
setWidgetsLayout: u
|
|
2172
2233
|
};
|
|
2173
|
-
},
|
|
2234
|
+
}, er = (t, e) => {
|
|
2174
2235
|
C("useJtdWidget");
|
|
2175
|
-
const n = new A(
|
|
2236
|
+
const n = new A(re, [
|
|
2176
2237
|
M(),
|
|
2177
2238
|
ve()
|
|
2178
2239
|
]), r = D(null);
|
|
@@ -2180,15 +2241,15 @@ const Xn = () => {
|
|
|
2180
2241
|
r.value = i;
|
|
2181
2242
|
});
|
|
2182
2243
|
const o = () => {
|
|
2183
|
-
const i =
|
|
2244
|
+
const i = Oe(t), s = d(e);
|
|
2184
2245
|
n.run(i, s);
|
|
2185
2246
|
};
|
|
2186
|
-
return o(),
|
|
2247
|
+
return o(), g([...b(t), ...b(e)], () => {
|
|
2187
2248
|
o();
|
|
2188
|
-
}),
|
|
2249
|
+
}), w(() => {
|
|
2189
2250
|
n.destroy();
|
|
2190
2251
|
}), r;
|
|
2191
|
-
},
|
|
2252
|
+
}, We = c({
|
|
2192
2253
|
props: {
|
|
2193
2254
|
/**
|
|
2194
2255
|
* {@inheritDoc @sisense/sdk-ui!ContextMenuProps.closeContextMenu}
|
|
@@ -2206,8 +2267,8 @@ const Xn = () => {
|
|
|
2206
2267
|
*/
|
|
2207
2268
|
position: Object
|
|
2208
2269
|
},
|
|
2209
|
-
setup: (t, { slots: e }) => ot(
|
|
2210
|
-
}),
|
|
2270
|
+
setup: (t, { slots: e }) => ot(oe, t, e, [])
|
|
2271
|
+
}), Te = ({
|
|
2211
2272
|
drilldownPaths: t,
|
|
2212
2273
|
initialDimension: e
|
|
2213
2274
|
}) => {
|
|
@@ -2216,43 +2277,43 @@ const Xn = () => {
|
|
|
2216
2277
|
"Initial dimension has to be specified to use drilldown with custom components"
|
|
2217
2278
|
);
|
|
2218
2279
|
const n = D([]), r = D(), o = D([]), i = D([]), s = V(() => [
|
|
2219
|
-
|
|
2220
|
-
...n.value.map(({ nextDimension:
|
|
2221
|
-
]),
|
|
2222
|
-
() => t.value.filter((
|
|
2223
|
-
if (we.isAttribute(
|
|
2224
|
-
const
|
|
2280
|
+
ie(e),
|
|
2281
|
+
...n.value.map(({ nextDimension: h }) => h)
|
|
2282
|
+
]), u = V(
|
|
2283
|
+
() => t.value.filter((h) => {
|
|
2284
|
+
if (we.isAttribute(h)) {
|
|
2285
|
+
const P = h;
|
|
2225
2286
|
return s.value.every(
|
|
2226
|
-
(R) => !tt(R,
|
|
2287
|
+
(R) => !tt(R, P)
|
|
2227
2288
|
);
|
|
2228
2289
|
}
|
|
2229
|
-
const m =
|
|
2290
|
+
const m = h;
|
|
2230
2291
|
return s.value.every(
|
|
2231
|
-
(
|
|
2292
|
+
(P, R) => tt(P, m.levels[R])
|
|
2232
2293
|
);
|
|
2233
2294
|
})
|
|
2234
|
-
), a = (
|
|
2235
|
-
n.value =
|
|
2295
|
+
), a = (h, F, m) => {
|
|
2296
|
+
n.value = se(
|
|
2236
2297
|
n.value,
|
|
2237
|
-
|
|
2298
|
+
h,
|
|
2238
2299
|
F,
|
|
2239
2300
|
m
|
|
2240
2301
|
), f();
|
|
2241
|
-
}, p = (
|
|
2242
|
-
n.value = n.value.slice(0,
|
|
2302
|
+
}, p = (h) => {
|
|
2303
|
+
n.value = n.value.slice(0, h), f();
|
|
2243
2304
|
}, S = () => {
|
|
2244
2305
|
n.value = [], f();
|
|
2245
2306
|
}, f = () => {
|
|
2246
|
-
const
|
|
2307
|
+
const h = (m) => m === "drilldown.breadcrumbsAllSuffix" ? "All" : m, F = ae(
|
|
2247
2308
|
n.value,
|
|
2248
2309
|
e,
|
|
2249
|
-
|
|
2310
|
+
h
|
|
2250
2311
|
);
|
|
2251
2312
|
r.value = F.drilldownDimension, o.value = F.drilldownFilters, i.value = F.drilldownFiltersDisplayValues;
|
|
2252
2313
|
};
|
|
2253
2314
|
return f(), {
|
|
2254
2315
|
drilldownSelections: n,
|
|
2255
|
-
availableDrilldownPaths:
|
|
2316
|
+
availableDrilldownPaths: u,
|
|
2256
2317
|
drilldownDimension: r,
|
|
2257
2318
|
drilldownFilters: o,
|
|
2258
2319
|
drilldownFiltersDisplayValues: i,
|
|
@@ -2260,7 +2321,7 @@ const Xn = () => {
|
|
|
2260
2321
|
sliceDrilldownSelections: p,
|
|
2261
2322
|
clearDrilldownSelections: S
|
|
2262
2323
|
};
|
|
2263
|
-
},
|
|
2324
|
+
}, Be = c({
|
|
2264
2325
|
props: {
|
|
2265
2326
|
/**
|
|
2266
2327
|
* {@inheritDoc @sisense/sdk-ui!DrilldownWidgetProps.config}
|
|
@@ -2296,12 +2357,12 @@ const Xn = () => {
|
|
|
2296
2357
|
},
|
|
2297
2358
|
setup: () => {
|
|
2298
2359
|
}
|
|
2299
|
-
}), Ee = { style: { display: "flex", "flex-direction": "column", height: "100%" } },
|
|
2360
|
+
}), Ee = { style: { display: "flex", "flex-direction": "column", height: "100%" } }, ke = { style: { "flex-grow": "1", "min-wdith": "0", "min-height": "0" } }, nr = /* @__PURE__ */ c({
|
|
2300
2361
|
__name: "drilldown-widget",
|
|
2301
|
-
props:
|
|
2362
|
+
props: Be.props,
|
|
2302
2363
|
setup(t) {
|
|
2303
|
-
const e = t, { drilldownPaths: n, initialDimension: r, config: o } =
|
|
2304
|
-
drilldownFilters:
|
|
2364
|
+
const e = t, { drilldownPaths: n, initialDimension: r, config: o } = y(e), i = D(null), s = D([]), {
|
|
2365
|
+
drilldownFilters: u,
|
|
2305
2366
|
// computed
|
|
2306
2367
|
drilldownDimension: a,
|
|
2307
2368
|
// computed
|
|
@@ -2310,18 +2371,18 @@ const Xn = () => {
|
|
|
2310
2371
|
availableDrilldownPaths: S,
|
|
2311
2372
|
// computed
|
|
2312
2373
|
selectDrilldown: f,
|
|
2313
|
-
sliceDrilldownSelections:
|
|
2374
|
+
sliceDrilldownSelections: h,
|
|
2314
2375
|
clearDrilldownSelections: F
|
|
2315
|
-
} =
|
|
2376
|
+
} = Te({
|
|
2316
2377
|
drilldownPaths: n,
|
|
2317
2378
|
initialDimension: r.value
|
|
2318
2379
|
}), m = (O) => {
|
|
2319
2380
|
f(s.value, O);
|
|
2320
|
-
},
|
|
2321
|
-
const O = (Y) => Y === "drilldown.drillMenuItem" ? "Drill" : Y, k =
|
|
2381
|
+
}, P = V(() => {
|
|
2382
|
+
const O = (Y) => Y === "drilldown.drillMenuItem" ? "Drill" : Y, k = ce(
|
|
2322
2383
|
s.value,
|
|
2323
2384
|
a.value
|
|
2324
|
-
), q =
|
|
2385
|
+
), q = ue(
|
|
2325
2386
|
S.value,
|
|
2326
2387
|
a.value,
|
|
2327
2388
|
m,
|
|
@@ -2335,34 +2396,34 @@ const Xn = () => {
|
|
|
2335
2396
|
}, L = () => {
|
|
2336
2397
|
i.value = null;
|
|
2337
2398
|
};
|
|
2338
|
-
return (O, k) => (
|
|
2399
|
+
return (O, k) => (Ce(), Se("div", Ee, [
|
|
2339
2400
|
_(O.$slots, "contextMenu", {
|
|
2340
|
-
contextMenuProps: { position: i.value, itemSections:
|
|
2401
|
+
contextMenuProps: { position: i.value, itemSections: P.value, closeContextMenu: L }
|
|
2341
2402
|
}, () => [
|
|
2342
|
-
et(j(
|
|
2403
|
+
et(j(We), {
|
|
2343
2404
|
position: i.value,
|
|
2344
|
-
itemSections:
|
|
2405
|
+
itemSections: P.value,
|
|
2345
2406
|
closeContextMenu: L
|
|
2346
2407
|
}, null, 8, ["position", "itemSections"])
|
|
2347
2408
|
]),
|
|
2348
2409
|
_(O.$slots, "breadcrumbs", {
|
|
2349
2410
|
drilldownBreadcrumbsProps: {
|
|
2350
2411
|
clearDrilldownSelections: j(F),
|
|
2351
|
-
sliceDrilldownSelections: j(
|
|
2412
|
+
sliceDrilldownSelections: j(h),
|
|
2352
2413
|
drilldownFiltersDisplayValues: j(p),
|
|
2353
2414
|
drilldownDimension: j(a)
|
|
2354
2415
|
}
|
|
2355
2416
|
}, () => [
|
|
2356
|
-
et(j(
|
|
2417
|
+
et(j(Ae), {
|
|
2357
2418
|
"clear-drilldown-selections": j(F),
|
|
2358
|
-
"slice-drilldown-selections": j(
|
|
2419
|
+
"slice-drilldown-selections": j(h),
|
|
2359
2420
|
"filters-display-values": j(p),
|
|
2360
2421
|
"current-dimension": j(a)
|
|
2361
2422
|
}, null, 8, ["clear-drilldown-selections", "slice-drilldown-selections", "filters-display-values", "current-dimension"])
|
|
2362
2423
|
]),
|
|
2363
|
-
|
|
2424
|
+
Fe("div", ke, [
|
|
2364
2425
|
_(O.$slots, "chart", {
|
|
2365
|
-
drilldownFilters: j(
|
|
2426
|
+
drilldownFilters: j(u),
|
|
2366
2427
|
drilldownDimension: j(a),
|
|
2367
2428
|
onDataPointsSelected: G,
|
|
2368
2429
|
onContextMenu: R
|
|
@@ -2370,7 +2431,7 @@ const Xn = () => {
|
|
|
2370
2431
|
])
|
|
2371
2432
|
]));
|
|
2372
2433
|
}
|
|
2373
|
-
}),
|
|
2434
|
+
}), rr = c({
|
|
2374
2435
|
props: {
|
|
2375
2436
|
/**
|
|
2376
2437
|
* {@inheritDoc @sisense/sdk-ui!ChartWidgetProps.bottomSlot}
|
|
@@ -2503,8 +2564,8 @@ const Xn = () => {
|
|
|
2503
2564
|
*/
|
|
2504
2565
|
onDataReady: Function
|
|
2505
2566
|
},
|
|
2506
|
-
setup: (t) => l(
|
|
2507
|
-
}),
|
|
2567
|
+
setup: (t) => l(le, t)
|
|
2568
|
+
}), or = c({
|
|
2508
2569
|
props: {
|
|
2509
2570
|
/** @internal */
|
|
2510
2571
|
bottomSlot: Object,
|
|
@@ -2611,8 +2672,8 @@ const Xn = () => {
|
|
|
2611
2672
|
*/
|
|
2612
2673
|
onDataReady: Function
|
|
2613
2674
|
},
|
|
2614
|
-
setup: (t) => l(
|
|
2615
|
-
}),
|
|
2675
|
+
setup: (t) => l(de, t)
|
|
2676
|
+
}), ir = c({
|
|
2616
2677
|
props: {
|
|
2617
2678
|
/**
|
|
2618
2679
|
* {@inheritDoc @sisense/sdk-ui!PivotTableWidgetProps.dataOptions}
|
|
@@ -2718,8 +2779,8 @@ const Xn = () => {
|
|
|
2718
2779
|
*/
|
|
2719
2780
|
onHeaderCellFormat: Function
|
|
2720
2781
|
},
|
|
2721
|
-
setup: (t) => l(
|
|
2722
|
-
}),
|
|
2782
|
+
setup: (t) => l(pe, t)
|
|
2783
|
+
}), sr = c({
|
|
2723
2784
|
props: {
|
|
2724
2785
|
/**
|
|
2725
2786
|
* Unique identifier of the widget
|
|
@@ -2857,7 +2918,7 @@ const Xn = () => {
|
|
|
2857
2918
|
*/
|
|
2858
2919
|
onDataPointsSelected: Function
|
|
2859
2920
|
},
|
|
2860
|
-
setup: (t) => l(
|
|
2921
|
+
setup: (t) => l(he, t)
|
|
2861
2922
|
});
|
|
2862
2923
|
function U(t, e) {
|
|
2863
2924
|
return e ? t.map((n) => ({
|
|
@@ -2871,36 +2932,36 @@ function X(t, e) {
|
|
|
2871
2932
|
component: e.fromPreactComponent(n.component)
|
|
2872
2933
|
})) : t;
|
|
2873
2934
|
}
|
|
2874
|
-
function
|
|
2935
|
+
function $e(t, e) {
|
|
2875
2936
|
return (n) => U(
|
|
2876
2937
|
t(X(n, e)),
|
|
2877
2938
|
e
|
|
2878
2939
|
);
|
|
2879
2940
|
}
|
|
2880
|
-
function
|
|
2941
|
+
function Ie(t, e) {
|
|
2881
2942
|
return (n) => X(
|
|
2882
2943
|
t(U(n, e)),
|
|
2883
2944
|
e
|
|
2884
2945
|
);
|
|
2885
2946
|
}
|
|
2886
|
-
function
|
|
2947
|
+
function Qe(t, e) {
|
|
2887
2948
|
const { items: n, onBeforeRender: r, ...o } = t;
|
|
2888
2949
|
return {
|
|
2889
2950
|
...o,
|
|
2890
2951
|
...n && { items: U(n, e) },
|
|
2891
2952
|
// omitted entirely when the consumer provided no transform, so the renderer can skip it
|
|
2892
2953
|
...r && {
|
|
2893
|
-
onBeforeRender:
|
|
2954
|
+
onBeforeRender: $e(r, e)
|
|
2894
2955
|
}
|
|
2895
2956
|
};
|
|
2896
2957
|
}
|
|
2897
|
-
function
|
|
2958
|
+
function He(t, e) {
|
|
2898
2959
|
const { items: n, onBeforeRender: r, ...o } = t;
|
|
2899
2960
|
return {
|
|
2900
2961
|
...o,
|
|
2901
2962
|
...n && { items: X(n, e) },
|
|
2902
2963
|
...r && {
|
|
2903
|
-
onBeforeRender:
|
|
2964
|
+
onBeforeRender: Ie(r, e)
|
|
2904
2965
|
}
|
|
2905
2966
|
};
|
|
2906
2967
|
}
|
|
@@ -2908,32 +2969,32 @@ function st(t, e) {
|
|
|
2908
2969
|
const { header: n, ...r } = t;
|
|
2909
2970
|
return {
|
|
2910
2971
|
...r,
|
|
2911
|
-
...n && { header:
|
|
2972
|
+
...n && { header: Qe(n, e) }
|
|
2912
2973
|
// sibling sections are shared with preact verbatim; only `header` carries Vue components
|
|
2913
2974
|
};
|
|
2914
2975
|
}
|
|
2915
|
-
function
|
|
2976
|
+
function Le(t, e) {
|
|
2916
2977
|
const { header: n, ...r } = t;
|
|
2917
2978
|
return {
|
|
2918
2979
|
...r,
|
|
2919
|
-
...n && { header:
|
|
2980
|
+
...n && { header: He(n, e) }
|
|
2920
2981
|
};
|
|
2921
2982
|
}
|
|
2922
|
-
function
|
|
2983
|
+
function B(t, e) {
|
|
2923
2984
|
const { config: n, ...r } = t;
|
|
2924
2985
|
return {
|
|
2925
2986
|
...r,
|
|
2926
2987
|
...n && { config: st(n, e) }
|
|
2927
2988
|
};
|
|
2928
2989
|
}
|
|
2929
|
-
function
|
|
2990
|
+
function E(t, e) {
|
|
2930
2991
|
const { config: n, ...r } = t;
|
|
2931
2992
|
return {
|
|
2932
2993
|
...r,
|
|
2933
|
-
...n && { config:
|
|
2994
|
+
...n && { config: Le(n, e) }
|
|
2934
2995
|
};
|
|
2935
2996
|
}
|
|
2936
|
-
function
|
|
2997
|
+
function Ge(t, e) {
|
|
2937
2998
|
const { config: n, ...r } = t;
|
|
2938
2999
|
return {
|
|
2939
3000
|
...r,
|
|
@@ -2942,7 +3003,7 @@ function Le(t, e) {
|
|
|
2942
3003
|
}
|
|
2943
3004
|
};
|
|
2944
3005
|
}
|
|
2945
|
-
const
|
|
3006
|
+
const ar = c({
|
|
2946
3007
|
props: {
|
|
2947
3008
|
/**
|
|
2948
3009
|
* {@inheritDoc @sisense/sdk-ui!DashboardByIdProps.dashboardOid}
|
|
@@ -2957,17 +3018,17 @@ const ir = u({
|
|
|
2957
3018
|
config: Object
|
|
2958
3019
|
},
|
|
2959
3020
|
setup: (t) => {
|
|
2960
|
-
const e =
|
|
2961
|
-
sisenseContext:
|
|
3021
|
+
const e = z({
|
|
3022
|
+
sisenseContext: v(),
|
|
2962
3023
|
themeContext: H(),
|
|
2963
|
-
customWidgetsContext:
|
|
3024
|
+
customWidgetsContext: J()
|
|
2964
3025
|
});
|
|
2965
3026
|
return l(
|
|
2966
3027
|
ye,
|
|
2967
|
-
() =>
|
|
3028
|
+
() => Ge(N(t), e)
|
|
2968
3029
|
);
|
|
2969
3030
|
}
|
|
2970
|
-
}),
|
|
3031
|
+
}), cr = c({
|
|
2971
3032
|
props: {
|
|
2972
3033
|
/**
|
|
2973
3034
|
* {@inheritDoc @sisense/sdk-ui!DashboardProps.title}
|
|
@@ -3006,146 +3067,147 @@ const ir = u({
|
|
|
3006
3067
|
styleOptions: Object
|
|
3007
3068
|
},
|
|
3008
3069
|
setup: (t) => {
|
|
3009
|
-
const e =
|
|
3010
|
-
sisenseContext:
|
|
3070
|
+
const e = z({
|
|
3071
|
+
sisenseContext: v(),
|
|
3011
3072
|
themeContext: H(),
|
|
3012
|
-
customWidgetsContext:
|
|
3073
|
+
customWidgetsContext: J()
|
|
3013
3074
|
});
|
|
3014
3075
|
return l(
|
|
3015
|
-
|
|
3016
|
-
() =>
|
|
3076
|
+
be,
|
|
3077
|
+
() => B(N(t), e)
|
|
3017
3078
|
);
|
|
3018
3079
|
}
|
|
3019
3080
|
});
|
|
3020
|
-
function
|
|
3021
|
-
return
|
|
3081
|
+
function _e(t) {
|
|
3082
|
+
return E(ge.toDashboardProps(t));
|
|
3022
3083
|
}
|
|
3023
|
-
const
|
|
3084
|
+
const ur = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3024
3085
|
__proto__: null,
|
|
3025
|
-
toDashboardProps:
|
|
3026
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
3027
|
-
$.replaceFilters(
|
|
3028
|
-
),
|
|
3029
|
-
$.addFilter(
|
|
3030
|
-
), Ne = (t, e) =>
|
|
3031
|
-
$.addFilters(
|
|
3032
|
-
), Je = (t, e, n) =>
|
|
3086
|
+
toDashboardProps: _e
|
|
3087
|
+
}, Symbol.toStringTag, { value: "Module" })), Ve = (t, e) => E(
|
|
3088
|
+
$.replaceFilters(B(t), e)
|
|
3089
|
+
), Ke = (t, e) => E(
|
|
3090
|
+
$.addFilter(B(t), e)
|
|
3091
|
+
), Ne = (t, e) => E(
|
|
3092
|
+
$.addFilters(B(t), e)
|
|
3093
|
+
), Je = (t, e, n) => E(
|
|
3033
3094
|
$.replaceFilter(
|
|
3034
|
-
|
|
3095
|
+
B(t),
|
|
3035
3096
|
e,
|
|
3036
3097
|
n
|
|
3037
3098
|
)
|
|
3038
|
-
), ze = (t, e) =>
|
|
3039
|
-
$.removeFilter(
|
|
3040
|
-
),
|
|
3041
|
-
$.removeFilters(
|
|
3042
|
-
),
|
|
3099
|
+
), ze = (t, e) => E(
|
|
3100
|
+
$.removeFilter(B(t), e)
|
|
3101
|
+
), Ue = (t, e) => E(
|
|
3102
|
+
$.removeFilters(B(t), e)
|
|
3103
|
+
), lr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3043
3104
|
__proto__: null,
|
|
3044
|
-
addFilter:
|
|
3105
|
+
addFilter: Ke,
|
|
3045
3106
|
addFilters: Ne,
|
|
3046
3107
|
removeFilter: ze,
|
|
3047
|
-
removeFilters:
|
|
3108
|
+
removeFilters: Ue,
|
|
3048
3109
|
replaceFilter: Je,
|
|
3049
|
-
replaceFilters:
|
|
3050
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
3051
|
-
function Ye(t) {
|
|
3052
|
-
return w.toChartProps(t);
|
|
3053
|
-
}
|
|
3110
|
+
replaceFilters: Ve
|
|
3111
|
+
}, Symbol.toStringTag, { value: "Module" })), Xe = (t) => x.toExecuteQueryParams(t), Ye = (t) => x.toExecutePivotQueryParams(t);
|
|
3054
3112
|
function Ze(t) {
|
|
3055
|
-
return
|
|
3113
|
+
return x.toChartProps(t);
|
|
3056
3114
|
}
|
|
3057
3115
|
function tn(t) {
|
|
3058
|
-
return
|
|
3116
|
+
return x.toTableProps(t);
|
|
3059
3117
|
}
|
|
3060
3118
|
function en(t) {
|
|
3061
|
-
return
|
|
3119
|
+
return x.toPivotTableProps(t);
|
|
3062
3120
|
}
|
|
3063
3121
|
function nn(t) {
|
|
3064
|
-
return
|
|
3122
|
+
return x.toChartWidgetProps(t);
|
|
3065
3123
|
}
|
|
3066
3124
|
function rn(t) {
|
|
3067
|
-
return
|
|
3125
|
+
return x.toPivotTableWidgetProps(t);
|
|
3068
3126
|
}
|
|
3069
3127
|
function on(t) {
|
|
3070
|
-
return
|
|
3128
|
+
return x.toTextWidgetProps(t);
|
|
3071
3129
|
}
|
|
3072
|
-
|
|
3130
|
+
function sn(t) {
|
|
3131
|
+
return x.toWidgetProps(t);
|
|
3132
|
+
}
|
|
3133
|
+
const dr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3073
3134
|
__proto__: null,
|
|
3074
|
-
toChartProps:
|
|
3075
|
-
toChartWidgetProps:
|
|
3076
|
-
toExecutePivotQueryParams:
|
|
3077
|
-
toExecuteQueryParams:
|
|
3078
|
-
toPivotTableProps:
|
|
3079
|
-
toPivotTableWidgetProps:
|
|
3080
|
-
toTableProps:
|
|
3081
|
-
toTextWidgetProps:
|
|
3082
|
-
toWidgetProps:
|
|
3135
|
+
toChartProps: Ze,
|
|
3136
|
+
toChartWidgetProps: nn,
|
|
3137
|
+
toExecutePivotQueryParams: Ye,
|
|
3138
|
+
toExecuteQueryParams: Xe,
|
|
3139
|
+
toPivotTableProps: en,
|
|
3140
|
+
toPivotTableWidgetProps: rn,
|
|
3141
|
+
toTableProps: tn,
|
|
3142
|
+
toTextWidgetProps: on,
|
|
3143
|
+
toWidgetProps: sn
|
|
3083
3144
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
3084
3145
|
export {
|
|
3085
|
-
|
|
3086
|
-
|
|
3087
|
-
|
|
3088
|
-
|
|
3089
|
-
|
|
3146
|
+
pn as AreaChart,
|
|
3147
|
+
qn as AreaRangeChart,
|
|
3148
|
+
An as AreamapChart,
|
|
3149
|
+
hn as BarChart,
|
|
3150
|
+
wn as BoxplotChart,
|
|
3090
3151
|
yn as CalendarHeatmapChart,
|
|
3091
|
-
|
|
3092
|
-
|
|
3093
|
-
|
|
3094
|
-
|
|
3095
|
-
|
|
3096
|
-
|
|
3097
|
-
|
|
3098
|
-
|
|
3099
|
-
|
|
3100
|
-
|
|
3101
|
-
|
|
3102
|
-
|
|
3103
|
-
|
|
3104
|
-
|
|
3152
|
+
xn as Chart,
|
|
3153
|
+
rr as ChartWidget,
|
|
3154
|
+
bn as ColumnChart,
|
|
3155
|
+
We as ContextMenu,
|
|
3156
|
+
En as CriteriaFilterTile,
|
|
3157
|
+
mr as CustomWidgetsProvider,
|
|
3158
|
+
cr as Dashboard,
|
|
3159
|
+
ar as DashboardById,
|
|
3160
|
+
yr as DashboardHeaderTargets,
|
|
3161
|
+
Tn as DateRangeFilterTile,
|
|
3162
|
+
Ae as DrilldownBreadcrumbs,
|
|
3163
|
+
nr as DrilldownWidget,
|
|
3164
|
+
$n as FilterTile,
|
|
3165
|
+
In as FiltersPanel,
|
|
3105
3166
|
gn as FunnelChart,
|
|
3106
|
-
|
|
3107
|
-
|
|
3108
|
-
|
|
3109
|
-
|
|
3110
|
-
|
|
3111
|
-
|
|
3112
|
-
|
|
3113
|
-
|
|
3114
|
-
|
|
3115
|
-
|
|
3116
|
-
|
|
3117
|
-
|
|
3118
|
-
|
|
3119
|
-
|
|
3120
|
-
|
|
3121
|
-
|
|
3122
|
-
|
|
3123
|
-
|
|
3124
|
-
|
|
3125
|
-
|
|
3126
|
-
|
|
3127
|
-
|
|
3128
|
-
|
|
3129
|
-
|
|
3130
|
-
|
|
3131
|
-
|
|
3132
|
-
|
|
3133
|
-
|
|
3134
|
-
|
|
3135
|
-
|
|
3136
|
-
|
|
3137
|
-
Ln as
|
|
3138
|
-
|
|
3139
|
-
|
|
3140
|
-
|
|
3141
|
-
|
|
3142
|
-
|
|
3143
|
-
Nn as
|
|
3144
|
-
|
|
3145
|
-
|
|
3146
|
-
|
|
3147
|
-
|
|
3148
|
-
zn as
|
|
3149
|
-
|
|
3150
|
-
|
|
3167
|
+
Pn as IndicatorChart,
|
|
3168
|
+
vn as KpiChart,
|
|
3169
|
+
fn as LineChart,
|
|
3170
|
+
Bn as MemberFilterTile,
|
|
3171
|
+
On as PieChart,
|
|
3172
|
+
Fn as PivotTable,
|
|
3173
|
+
ir as PivotTableWidget,
|
|
3174
|
+
jn as PolarChart,
|
|
3175
|
+
kn as RelativeDateFilterTile,
|
|
3176
|
+
Wn as SankeyChart,
|
|
3177
|
+
Cn as ScatterChart,
|
|
3178
|
+
Mn as ScattermapChart,
|
|
3179
|
+
jr as SisenseContextProvider,
|
|
3180
|
+
Rn as StreamgraphChart,
|
|
3181
|
+
mn as SunburstChart,
|
|
3182
|
+
Sn as Table,
|
|
3183
|
+
Pr as ThemeProvider,
|
|
3184
|
+
Dn as TreemapChart,
|
|
3185
|
+
sr as Widget,
|
|
3186
|
+
or as WidgetById,
|
|
3187
|
+
br as WidgetHeaderMenuTargets,
|
|
3188
|
+
gr as boxWhiskerProcessResult,
|
|
3189
|
+
lr as dashboardHelpers,
|
|
3190
|
+
ur as dashboardModelTranslator,
|
|
3191
|
+
fr as extractDimensionsAndMeasures,
|
|
3192
|
+
Or as formatDataSet,
|
|
3193
|
+
Cr as formatDate,
|
|
3194
|
+
Sr as formatNumber,
|
|
3195
|
+
Fr as getDefaultDateFormat,
|
|
3196
|
+
tr as useComposedDashboard,
|
|
3197
|
+
Zn as useCustomWidgets,
|
|
3198
|
+
Ln as useExecuteCsvQuery,
|
|
3199
|
+
_n as useExecuteCustomWidgetQuery,
|
|
3200
|
+
Gn as useExecutePivotQuery,
|
|
3201
|
+
Qn as useExecuteQuery,
|
|
3202
|
+
Hn as useExecuteQueryByWidgetId,
|
|
3203
|
+
Yn as useFetch,
|
|
3204
|
+
Nn as useGetDashboardModel,
|
|
3205
|
+
Jn as useGetDashboardModels,
|
|
3206
|
+
Kn as useGetDataSourceDimensions,
|
|
3207
|
+
Vn as useGetFilterMembers,
|
|
3208
|
+
Xn as useGetHierarchyModels,
|
|
3209
|
+
zn as useGetSharedFormula,
|
|
3210
|
+
Un as useGetWidgetModel,
|
|
3211
|
+
er as useJtdWidget,
|
|
3212
|
+
dr as widgetModelTranslator
|
|
3151
3213
|
};
|