@sisense/sdk-ui-vue 2.26.0 → 2.27.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.js CHANGED
@@ -1,13 +1,13 @@
1
- var K = Object.defineProperty;
2
- var U = (t, e, n) => e in t ? K(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n;
3
- var E = (t, e, n) => (U(t, typeof e != "symbol" ? e + "" : e, n), n);
4
- import { DrilldownBreadcrumbs as X, AreaChart as Y, BarChart as Z, CalendarHeatmapChart as tt, ColumnChart as et, FunnelChart as nt, LineChart as rt, PieChart as ot, ScatterChart as it, Table as st, PivotTable as at, TreemapChart as ut, SunburstChart as ct, PolarChart as lt, IndicatorChart as dt, Chart as pt, BoxplotChart as yt, AreamapChart as ht, ScattermapChart as bt, StreamgraphChart as gt, AreaRangeChart as Ot, DateRangeFilterTile as St, MemberFilterTile as Ft, CriteriaFilterTile as ft, RelativeDateFilterTile as Ct, FilterTile as Dt, FiltersPanel as mt, queryStateReducer as J, executeQuery as jt, executeQueryByWidgetId as vt, HookAdapter as x, useExecuteCsvQueryInternal as Pt, useExecutePivotQueryInternal as xt, useExecuteCustomWidgetQueryInternal as At, useGetFilterMembers as Mt, useGetDataSourceDimensionsInternal as wt, translateToDashboardResponse as qt, dataLoadStateReducer as B, getDashboardModel as Rt, translateToDashboardsResponse as Wt, getDashboardModels as Tt, useGetSharedFormulaInternal as Et, getWidgetModel as Bt, getHierarchyModels as kt, createElement as $t, ExternalComponentAdapterElement as Qt, useComposedDashboardInternal as It, createHookApiFacade as _, useJtdWidget as Lt, ContextMenu as Gt, translateColumnToAttribute as _t, isSameAttribute as H, updateDrilldownSelections as Ht, processDrilldownSelections as Vt, getSelectionTitleMenuItem as Jt, getDrilldownMenuItems as Nt, ChartWidget as zt, WidgetById as Kt, PivotTableWidget as Ut, Widget as Xt, DashboardById as Yt, Dashboard as Zt, dashboardModelTranslator as te, dashboardHelpers as T, widgetModelTranslator as v } from "@sisense/sdk-ui-preact";
5
- import { boxWhiskerProcessResult as Hn, extractDimensionsAndMeasures as Vn } from "@sisense/sdk-ui-preact";
6
- import { defineComponent as u, watch as g, toRefs as h, ref as j, onBeforeUnmount as A, createApp as ee, h as ne, toValue as re, computed as I, openBlock as oe, createElementBlock as ie, renderSlot as Q, createVNode as V, unref as C, createElementVNode as se } from "vue";
7
- import { d as N, s as d, a as R, g as M, u as O, b, t as l, e as L, f as w, h as W, i as ae, j as ue, k as ce, l as le, m as de, n as pe } from "./use-tracking-04bcc493.js";
8
- import { C as Nn, S as zn, T as Kn } from "./use-tracking-04bcc493.js";
9
- import { getFilterListAndRelationsJaql as z, isMembersFilter as ye, MetadataTypes as he } from "@sisense/sdk-data";
10
- const be = u({
1
+ var Y = Object.defineProperty;
2
+ var Z = (t, e, n) => e in t ? Y(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n;
3
+ var E = (t, e, n) => (Z(t, typeof e != "symbol" ? e + "" : e, n), n);
4
+ import { DrilldownBreadcrumbs as tt, AreaChart as et, BarChart as nt, CalendarHeatmapChart as rt, ColumnChart as ot, FunnelChart as it, LineChart as st, PieChart as at, ScatterChart as ct, Table as ut, PivotTable as lt, TreemapChart as dt, SunburstChart as pt, PolarChart as yt, IndicatorChart as ht, Chart as bt, BoxplotChart as gt, AreamapChart as Ot, ScattermapChart as St, StreamgraphChart as Ft, AreaRangeChart as ft, DateRangeFilterTile as Ct, MemberFilterTile as Dt, CriteriaFilterTile as mt, RelativeDateFilterTile as jt, FilterTile as vt, FiltersPanel as Pt, queryStateReducer as K, executeQuery as xt, executeQueryByWidgetId as At, HookAdapter as x, useExecuteCsvQueryInternal as Mt, useExecutePivotQueryInternal as wt, useExecuteCustomWidgetQueryInternal as qt, useGetFilterMembers as Rt, useGetDataSourceDimensionsInternal as Wt, translateToDashboardResponse as Tt, dataLoadStateReducer as B, getDashboardModel as Et, translateToDashboardsResponse as Bt, getDashboardModels as kt, useGetSharedFormulaInternal as $t, getWidgetModel as Qt, getHierarchyModels as It, createElement as Lt, ExternalComponentAdapterElement as Gt, useComposedDashboardInternal as _t, createHookApiFacade as J, useJtdWidget as Ht, ContextMenu as Vt, translateColumnToAttribute as Jt, isSameAttribute as N, updateDrilldownSelections as Nt, processDrilldownSelections as zt, getSelectionTitleMenuItem as Kt, getDrilldownMenuItems as Ut, ChartWidget as Xt, WidgetById as Yt, PivotTableWidget as Zt, Widget as te, DashboardById as ee, Dashboard as ne, dashboardModelTranslator as re, dashboardHelpers as T, widgetModelTranslator as v } from "@sisense/sdk-ui-preact";
5
+ import { boxWhiskerProcessResult as Jn, extractDimensionsAndMeasures as Nn } from "@sisense/sdk-ui-preact";
6
+ import { defineComponent as u, watch as g, toRefs as h, ref as j, onBeforeUnmount as A, createApp as oe, h as ie, toValue as se, computed as I, openBlock as ae, createElementBlock as ce, renderSlot as Q, createVNode as z, unref as C, createElementVNode as ue } from "vue";
7
+ import { d as U, s as d, a as R, g as M, u as S, b, t as l, e as L, f as w, h as W, i as G, j as le, k as de, l as pe, m as ye, n as he } from "./use-tracking-b2365036.js";
8
+ import { C as Kn, S as Un, T as Xn } from "./use-tracking-b2365036.js";
9
+ import { getFilterListAndRelationsJaql as X, isMembersFilter as be, MetadataTypes as ge } from "@sisense/sdk-data";
10
+ const Oe = u({
11
11
  props: {
12
12
  /**
13
13
  * {@inheritDoc @sisense/sdk-ui!DrilldownBreadcrumbsProps.clearDrilldownSelections}
@@ -46,8 +46,8 @@ const be = u({
46
46
  required: !0
47
47
  }
48
48
  },
49
- setup: (t, { slots: e }) => N(X, t, e, [])
50
- }), _e = u({
49
+ setup: (t, { slots: e }) => U(tt, t, e, [])
50
+ }), Ve = u({
51
51
  props: {
52
52
  /**
53
53
  * {@inheritDoc @sisense/sdk-ui!AreaChartProps.dataOptions}
@@ -113,8 +113,8 @@ const be = u({
113
113
  */
114
114
  onDataPointsSelected: Function
115
115
  },
116
- setup: (t) => d(Y, t)
117
- }), He = u({
116
+ setup: (t) => d(et, t)
117
+ }), Je = u({
118
118
  props: {
119
119
  /**
120
120
  * {@inheritDoc @sisense/sdk-ui!BarChartProps.dataOptions}
@@ -180,8 +180,8 @@ const be = u({
180
180
  */
181
181
  styleOptions: Object
182
182
  },
183
- setup: (t) => d(Z, t)
184
- }), Ve = u({
183
+ setup: (t) => d(nt, t)
184
+ }), Ne = u({
185
185
  props: {
186
186
  /**
187
187
  * {@inheritDoc @sisense/sdk-ui!CalendarHeatmapChartProps.dataOptions}
@@ -247,8 +247,8 @@ const be = u({
247
247
  */
248
248
  onDataPointsSelected: Function
249
249
  },
250
- setup: (t) => d(tt, t)
251
- }), Je = u({
250
+ setup: (t) => d(rt, t)
251
+ }), ze = u({
252
252
  props: {
253
253
  /**
254
254
  * {@inheritDoc @sisense/sdk-ui!ColumnChartProps.dataOptions}
@@ -314,8 +314,8 @@ const be = u({
314
314
  */
315
315
  styleOptions: Object
316
316
  },
317
- setup: (t) => d(et, t)
318
- }), Ne = u({
317
+ setup: (t) => d(ot, t)
318
+ }), Ke = u({
319
319
  props: {
320
320
  /**
321
321
  * {@inheritDoc @sisense/sdk-ui!FunnelChartProps.dataOptions}
@@ -381,8 +381,8 @@ const be = u({
381
381
  */
382
382
  styleOptions: Object
383
383
  },
384
- setup: (t) => d(nt, t)
385
- }), ze = u({
384
+ setup: (t) => d(it, t)
385
+ }), Ue = u({
386
386
  props: {
387
387
  /**
388
388
  * {@inheritDoc @sisense/sdk-ui!LineChartProps.dataOptions}
@@ -448,8 +448,8 @@ const be = u({
448
448
  */
449
449
  styleOptions: Object
450
450
  },
451
- setup: (t) => d(rt, t)
452
- }), Ke = u({
451
+ setup: (t) => d(st, t)
452
+ }), Xe = u({
453
453
  props: {
454
454
  /**
455
455
  * {@inheritDoc @sisense/sdk-ui!PieChartProps.dataOptions}
@@ -515,8 +515,8 @@ const be = u({
515
515
  */
516
516
  styleOptions: Object
517
517
  },
518
- setup: (t) => d(ot, t)
519
- }), Ue = u({
518
+ setup: (t) => d(at, t)
519
+ }), Ye = u({
520
520
  props: {
521
521
  /**
522
522
  * {@inheritDoc @sisense/sdk-ui!ScatterChartProps.dataOptions}
@@ -582,8 +582,8 @@ const be = u({
582
582
  */
583
583
  styleOptions: Object
584
584
  },
585
- setup: (t) => d(it, t)
586
- }), Xe = u({
585
+ setup: (t) => d(ct, t)
586
+ }), Ze = u({
587
587
  props: {
588
588
  /**
589
589
  * {@inheritDoc @sisense/sdk-ui!TableProps.dataOptions}
@@ -621,8 +621,8 @@ const be = u({
621
621
  */
622
622
  onDataReady: Function
623
623
  },
624
- setup: (t) => d(st, t)
625
- }), Ye = u({
624
+ setup: (t) => d(ut, t)
625
+ }), tn = u({
626
626
  props: {
627
627
  /**
628
628
  * {@inheritDoc @sisense/sdk-ui!PivotTableProps.dataOptions}
@@ -672,8 +672,8 @@ const be = u({
672
672
  */
673
673
  onDataPointContextMenu: Function
674
674
  },
675
- setup: (t) => d(at, t)
676
- }), Ze = u({
675
+ setup: (t) => d(lt, t)
676
+ }), en = u({
677
677
  props: {
678
678
  /**
679
679
  * {@inheritDoc @sisense/sdk-ui!TreemapChartProps.dataOptions}
@@ -739,8 +739,8 @@ const be = u({
739
739
  */
740
740
  styleOptions: Object
741
741
  },
742
- setup: (t) => d(ut, t)
743
- }), tn = u({
742
+ setup: (t) => d(dt, t)
743
+ }), nn = u({
744
744
  props: {
745
745
  /**
746
746
  * {@inheritDoc @sisense/sdk-ui!SunburstChartProps.dataOptions}
@@ -806,8 +806,8 @@ const be = u({
806
806
  */
807
807
  styleOptions: Object
808
808
  },
809
- setup: (t) => d(ct, t)
810
- }), en = u({
809
+ setup: (t) => d(pt, t)
810
+ }), rn = u({
811
811
  props: {
812
812
  /**
813
813
  * {@inheritDoc @sisense/sdk-ui!PolarChartProps.dataOptions}
@@ -873,8 +873,8 @@ const be = u({
873
873
  */
874
874
  styleOptions: Object
875
875
  },
876
- setup: (t) => d(lt, t)
877
- }), nn = u({
876
+ setup: (t) => d(yt, t)
877
+ }), on = u({
878
878
  props: {
879
879
  /**
880
880
  * {@inheritDoc @sisense/sdk-ui!IndicatorChartProps.dataOptions}
@@ -922,8 +922,8 @@ const be = u({
922
922
  */
923
923
  onDataReady: Function
924
924
  },
925
- setup: (t) => d(dt, t)
926
- }), rn = u({
925
+ setup: (t) => d(ht, t)
926
+ }), sn = u({
927
927
  props: {
928
928
  /**
929
929
  * {@inheritDoc @sisense/sdk-ui!ChartProps.chartType}
@@ -1002,8 +1002,8 @@ const be = u({
1002
1002
  */
1003
1003
  refreshCounter: Number
1004
1004
  },
1005
- setup: (t) => d(pt, t)
1006
- }), on = u({
1005
+ setup: (t) => d(bt, t)
1006
+ }), an = u({
1007
1007
  props: {
1008
1008
  /**
1009
1009
  * {@inheritDoc @sisense/sdk-ui!BoxplotChartProps.dataOptions}
@@ -1069,8 +1069,8 @@ const be = u({
1069
1069
  */
1070
1070
  onDataPointsSelected: Function
1071
1071
  },
1072
- setup: (t) => d(yt, t)
1073
- }), sn = u({
1072
+ setup: (t) => d(gt, t)
1073
+ }), cn = u({
1074
1074
  props: {
1075
1075
  /**
1076
1076
  * {@inheritDoc @sisense/sdk-ui!AreamapChartProps.dataOptions}
@@ -1118,8 +1118,8 @@ const be = u({
1118
1118
  */
1119
1119
  onDataPointClick: Function
1120
1120
  },
1121
- setup: (t) => d(ht, t)
1122
- }), an = u({
1121
+ setup: (t) => d(Ot, t)
1122
+ }), un = u({
1123
1123
  props: {
1124
1124
  /**
1125
1125
  * {@inheritDoc @sisense/sdk-ui!ScattermapChartProps.dataOptions}
@@ -1167,8 +1167,8 @@ const be = u({
1167
1167
  */
1168
1168
  onDataPointClick: Object
1169
1169
  },
1170
- setup: (t) => d(bt, t)
1171
- }), un = u({
1170
+ setup: (t) => d(St, t)
1171
+ }), ln = u({
1172
1172
  props: {
1173
1173
  /**
1174
1174
  * {@inheritDoc @sisense/sdk-ui!StreamgraphChartProps.dataOptions}
@@ -1234,8 +1234,8 @@ const be = u({
1234
1234
  */
1235
1235
  onDataPointsSelected: Function
1236
1236
  },
1237
- setup: (t) => d(gt, t)
1238
- }), cn = u({
1237
+ setup: (t) => d(Ft, t)
1238
+ }), dn = u({
1239
1239
  props: {
1240
1240
  /**
1241
1241
  * {@inheritDoc @sisense/sdk-ui!AreaRangeChartProps.dataOptions}
@@ -1301,8 +1301,8 @@ const be = u({
1301
1301
  */
1302
1302
  styleOptions: Object
1303
1303
  },
1304
- setup: (t) => d(Ot, t)
1305
- }), ln = u({
1304
+ setup: (t) => d(ft, t)
1305
+ }), pn = u({
1306
1306
  props: {
1307
1307
  /**
1308
1308
  * {@inheritDoc @sisense/sdk-ui!DateRangeFilterTileProps.attribute}
@@ -1362,8 +1362,8 @@ const be = u({
1362
1362
  */
1363
1363
  onEdit: Function
1364
1364
  },
1365
- setup: (t) => d(St, t)
1366
- }), dn = u({
1365
+ setup: (t) => d(Ct, t)
1366
+ }), yn = u({
1367
1367
  props: {
1368
1368
  /**
1369
1369
  * {@inheritDoc @sisense/sdk-ui!MemberFilterTileProps.attribute}
@@ -1410,8 +1410,8 @@ const be = u({
1410
1410
  */
1411
1411
  onEdit: Function
1412
1412
  },
1413
- setup: (t) => d(Ft, t)
1414
- }), pn = u({
1413
+ setup: (t) => d(Dt, t)
1414
+ }), hn = u({
1415
1415
  props: {
1416
1416
  /**
1417
1417
  * {@inheritDoc @sisense/sdk-ui!CriteriaFilterTileProps.arrangement}
@@ -1451,8 +1451,8 @@ const be = u({
1451
1451
  */
1452
1452
  onEdit: Function
1453
1453
  },
1454
- setup: (t) => d(ft, t)
1455
- }), yn = u({
1454
+ setup: (t) => d(mt, t)
1455
+ }), bn = u({
1456
1456
  props: {
1457
1457
  /**
1458
1458
  * {@inheritDoc @sisense/sdk-ui!RelativeDateFilterTileProps.title}
@@ -1497,8 +1497,8 @@ const be = u({
1497
1497
  */
1498
1498
  onEdit: Function
1499
1499
  },
1500
- setup: (t) => d(Ct, t)
1501
- }), hn = u({
1500
+ setup: (t) => d(jt, t)
1501
+ }), gn = u({
1502
1502
  props: {
1503
1503
  /**
1504
1504
  * {@inheritDoc @sisense/sdk-ui!FilterTileProps.filter}
@@ -1527,8 +1527,8 @@ const be = u({
1527
1527
  */
1528
1528
  onEdit: Function
1529
1529
  },
1530
- setup: (t) => d(Dt, t)
1531
- }), bn = u({
1530
+ setup: (t) => d(vt, t)
1531
+ }), On = u({
1532
1532
  props: {
1533
1533
  /**
1534
1534
  * {@inheritDoc @sisense/sdk-ui!FiltersPanelProps.filters}
@@ -1559,103 +1559,103 @@ const be = u({
1559
1559
  required: !0
1560
1560
  }
1561
1561
  },
1562
- setup: (t) => d(mt, t)
1563
- }), gn = (t) => {
1564
- const [e, n] = R(J, {
1562
+ setup: (t) => d(Pt, t)
1563
+ }), Sn = (t) => {
1564
+ const [e, n] = R(K, {
1565
1565
  isLoading: !0,
1566
1566
  isError: !1,
1567
1567
  isSuccess: !1,
1568
1568
  status: "loading",
1569
1569
  error: void 0,
1570
1570
  data: void 0
1571
- }), i = M();
1572
- O("useExecuteQuery");
1573
- const o = async (s) => {
1571
+ }), o = M();
1572
+ S("useExecuteQuery");
1573
+ const r = async (s) => {
1574
1574
  try {
1575
1575
  const {
1576
- dataSource: r,
1577
- dimensions: a,
1578
- measures: c,
1579
- filters: y,
1580
- highlights: S,
1581
- count: f,
1582
- offset: p,
1583
- ungroup: F,
1576
+ dataSource: i,
1577
+ dimensions: c,
1578
+ measures: a,
1579
+ filters: p,
1580
+ highlights: F,
1581
+ count: O,
1582
+ offset: y,
1583
+ ungroup: f,
1584
1584
  onBeforeQuery: m
1585
- } = l(t), { filters: P, relations: q } = z(y);
1585
+ } = l(t), { filters: P, relations: q } = X(p);
1586
1586
  n({ type: "loading" });
1587
- const k = await jt(
1587
+ const k = await xt(
1588
1588
  {
1589
- dataSource: r,
1590
- dimensions: a,
1591
- measures: c,
1589
+ dataSource: i,
1590
+ dimensions: c,
1591
+ measures: a,
1592
1592
  filters: P,
1593
1593
  filterRelations: q,
1594
- highlights: S,
1595
- count: f,
1596
- offset: p,
1597
- ungroup: F
1594
+ highlights: F,
1595
+ count: O,
1596
+ offset: y,
1597
+ ungroup: f
1598
1598
  },
1599
1599
  s,
1600
1600
  { onBeforeQuery: L(m) }
1601
1601
  );
1602
1602
  n({ type: "success", data: k });
1603
- } catch (r) {
1604
- n({ type: "error", error: r });
1603
+ } catch (i) {
1604
+ n({ type: "error", error: i });
1605
1605
  }
1606
1606
  };
1607
1607
  return g(
1608
- [...b(t), i],
1608
+ [...b(t), o],
1609
1609
  () => {
1610
- const { app: s } = i.value, { enabled: r } = l(t);
1611
- !s || !(r === void 0 || r === !0) || o(s);
1610
+ const { app: s } = o.value, { enabled: i } = l(t);
1611
+ !s || !(i === void 0 || i === !0) || r(s);
1612
1612
  },
1613
1613
  { immediate: !0 }
1614
1614
  ), h(e.value);
1615
- }, On = (t) => {
1615
+ }, Fn = (t) => {
1616
1616
  const e = j(void 0), n = j(void 0);
1617
- O("useExecuteQueryByWidgetId");
1618
- const [i, o] = R(J, {
1617
+ S("useExecuteQueryByWidgetId");
1618
+ const [o, r] = R(K, {
1619
1619
  isLoading: !0,
1620
1620
  isError: !1,
1621
1621
  isSuccess: !1,
1622
1622
  status: "loading",
1623
1623
  error: void 0,
1624
1624
  data: void 0
1625
- }), s = M(), r = async (a) => {
1625
+ }), s = M(), i = async (c) => {
1626
1626
  try {
1627
- o({ type: "loading" });
1628
- const { filters: c, ...y } = l(t), { filters: S } = z(L(c)), {
1629
- data: f,
1630
- query: p,
1631
- pivotQuery: F
1632
- } = await vt({
1633
- ...y,
1634
- filters: S,
1635
- app: a
1627
+ r({ type: "loading" });
1628
+ const { filters: a, ...p } = l(t), { filters: F } = X(L(a)), {
1629
+ data: O,
1630
+ query: y,
1631
+ pivotQuery: f
1632
+ } = await At({
1633
+ ...p,
1634
+ filters: F,
1635
+ app: c
1636
1636
  });
1637
- o({ type: "success", data: f }), e.value = p, n.value = F;
1638
- } catch (c) {
1639
- o({ type: "error", error: c });
1637
+ r({ type: "success", data: O }), e.value = y, n.value = f;
1638
+ } catch (a) {
1639
+ r({ type: "error", error: a });
1640
1640
  }
1641
1641
  };
1642
1642
  return g(
1643
1643
  [...b(t), s],
1644
1644
  () => {
1645
- const { app: a } = s.value, { enabled: c } = l(t);
1646
- !a || !(c === void 0 || c === !0) || r(a);
1645
+ const { app: c } = s.value, { enabled: a } = l(t);
1646
+ !c || !(a === void 0 || a === !0) || i(c);
1647
1647
  },
1648
1648
  { immediate: !0 }
1649
1649
  ), {
1650
- ...h(i.value),
1650
+ ...h(o.value),
1651
1651
  query: e,
1652
1652
  pivotQuery: n
1653
1653
  };
1654
- }, Sn = (t) => {
1655
- O("useExecuteCsvQuery");
1656
- const e = new x(Pt, [
1654
+ }, fn = (t) => {
1655
+ S("useExecuteCsvQuery");
1656
+ const e = new x(Mt, [
1657
1657
  w()
1658
- ]), [n, i] = W({
1658
+ ]), [n, o] = W({
1659
1659
  isLoading: !0,
1660
1660
  isError: !1,
1661
1661
  isSuccess: !1,
@@ -1663,18 +1663,18 @@ const be = u({
1663
1663
  error: void 0,
1664
1664
  data: void 0
1665
1665
  });
1666
- return e.subscribe((o) => {
1667
- i(o);
1666
+ return e.subscribe((r) => {
1667
+ o(r);
1668
1668
  }), e.run(l(t)), g([...b(t)], () => {
1669
1669
  e.run(l(t));
1670
1670
  }), A(() => {
1671
1671
  e.destroy();
1672
1672
  }), h(n.value);
1673
- }, Fn = (t) => {
1674
- O("useExecutePivotQuery");
1675
- const e = new x(xt, [
1673
+ }, Cn = (t) => {
1674
+ S("useExecutePivotQuery");
1675
+ const e = new x(wt, [
1676
1676
  w()
1677
- ]), [n, i] = W({
1677
+ ]), [n, o] = W({
1678
1678
  isLoading: !0,
1679
1679
  isError: !1,
1680
1680
  isSuccess: !1,
@@ -1682,18 +1682,18 @@ const be = u({
1682
1682
  error: void 0,
1683
1683
  data: void 0
1684
1684
  });
1685
- return e.subscribe((o) => {
1686
- i(o);
1685
+ return e.subscribe((r) => {
1686
+ o(r);
1687
1687
  }), e.run(l(t)), g([...b(t)], () => {
1688
1688
  e.run(l(t));
1689
1689
  }), A(() => {
1690
1690
  e.destroy();
1691
1691
  }), h(n.value);
1692
- }, fn = (t) => {
1693
- O("useExecuteCustomWidgetQuery");
1694
- const e = new x(At, [
1692
+ }, Dn = (t) => {
1693
+ S("useExecuteCustomWidgetQuery");
1694
+ const e = new x(qt, [
1695
1695
  w()
1696
- ]), [n, i] = W({
1696
+ ]), [n, o] = W({
1697
1697
  data: void 0,
1698
1698
  isLoading: !0,
1699
1699
  isError: !1,
@@ -1701,19 +1701,19 @@ const be = u({
1701
1701
  status: "loading",
1702
1702
  error: void 0
1703
1703
  });
1704
- return e.subscribe((o) => {
1705
- i(o);
1704
+ return e.subscribe((r) => {
1705
+ o(r);
1706
1706
  }), e.run(l(t)), g([...b(t)], () => {
1707
1707
  e.run(l(t));
1708
1708
  }), A(() => {
1709
1709
  e.destroy();
1710
1710
  }), h(n.value);
1711
- }, Cn = (t) => {
1712
- O("useGetFilterMembers");
1713
- const { filter: e, parentFilters: n = [] } = l(t), i = {
1711
+ }, mn = (t) => {
1712
+ S("useGetFilterMembers");
1713
+ const { filter: e, parentFilters: n = [] } = l(t), o = {
1714
1714
  selectedMembers: [],
1715
1715
  allMembers: [],
1716
- ...ye(e) ? {
1716
+ ...be(e) ? {
1717
1717
  excludeMembers: e.config.excludeMembers,
1718
1718
  enableMultiSelection: e.config.enableMultiSelection,
1719
1719
  hasBackgroundFilter: !!e.config.backgroundFilter && n.length === 0
@@ -1722,27 +1722,27 @@ const be = u({
1722
1722
  enableMultiSelection: !1,
1723
1723
  hasBackgroundFilter: !1
1724
1724
  }
1725
- }, o = new x(Mt, [w()]), [s, r] = W({
1725
+ }, r = new x(Rt, [w()]), [s, i] = W({
1726
1726
  isLoading: !0,
1727
1727
  isError: !1,
1728
1728
  isSuccess: !1,
1729
1729
  status: "loading",
1730
1730
  error: void 0,
1731
- data: i,
1731
+ data: o,
1732
1732
  isAllItemsLoaded: !1
1733
1733
  });
1734
- return o.subscribe((a) => {
1735
- r(a);
1736
- }), o.run(l(t)), g([...b(t)], () => {
1737
- o.run(l(t));
1734
+ return r.subscribe((c) => {
1735
+ i(c);
1736
+ }), r.run(l(t)), g([...b(t)], () => {
1737
+ r.run(l(t));
1738
1738
  }), A(() => {
1739
- o.destroy();
1739
+ r.destroy();
1740
1740
  }), h(s.value);
1741
- }, Dn = (t) => {
1742
- O("useGetDataSourceDimensions");
1743
- const e = new x(wt, [
1741
+ }, jn = (t) => {
1742
+ S("useGetDataSourceDimensions");
1743
+ const e = new x(Wt, [
1744
1744
  w()
1745
- ]), [n, i] = W({
1745
+ ]), [n, o] = W({
1746
1746
  isLoading: !0,
1747
1747
  isError: !1,
1748
1748
  isSuccess: !1,
@@ -1750,15 +1750,15 @@ const be = u({
1750
1750
  error: void 0,
1751
1751
  status: "loading"
1752
1752
  });
1753
- return e.subscribe((o) => {
1754
- i(o);
1753
+ return e.subscribe((r) => {
1754
+ o(r);
1755
1755
  }), e.run(l(t)), g([...b(t)], () => {
1756
1756
  e.run(l(t));
1757
1757
  }), A(() => {
1758
1758
  e.destroy();
1759
1759
  }), h(n.value);
1760
- }, mn = (t) => {
1761
- O("useGetDashboardModel");
1760
+ }, vn = (t) => {
1761
+ S("useGetDashboardModel");
1762
1762
  const [e, n] = R(B, {
1763
1763
  isLoading: !0,
1764
1764
  isError: !1,
@@ -1766,30 +1766,33 @@ const be = u({
1766
1766
  status: "loading",
1767
1767
  error: void 0,
1768
1768
  data: void 0
1769
- }), i = M(), o = async (r) => {
1769
+ }), o = M(), r = G(), s = async (c) => {
1770
1770
  try {
1771
1771
  n({ type: "loading" });
1772
- const { dashboardOid: a, includeWidgets: c, includeFilters: y } = l(t), S = await Rt(r.httpClient, a, {
1773
- includeWidgets: c,
1774
- includeFilters: y
1775
- });
1776
- n({ type: "success", data: S });
1772
+ const { dashboardOid: a, includeWidgets: p, includeFilters: F } = l(t), O = await Et(
1773
+ c.httpClient,
1774
+ a,
1775
+ { includeWidgets: p, includeFilters: F },
1776
+ r.value,
1777
+ c.settings
1778
+ );
1779
+ n({ type: "success", data: O });
1777
1780
  } catch (a) {
1778
1781
  n({ type: "error", error: a });
1779
1782
  }
1780
1783
  };
1781
1784
  g(
1782
- [...b(t), i],
1785
+ [...b(t), o, r],
1783
1786
  () => {
1784
- const { app: r } = i.value, { enabled: a } = l(t);
1785
- !r || !(a === void 0 || a === !0) || o(r);
1787
+ const { app: c } = o.value, { enabled: a } = l(t);
1788
+ !c || !(a === void 0 || a === !0) || s(c);
1786
1789
  },
1787
1790
  { immediate: !0 }
1788
1791
  );
1789
- const s = h(e.value);
1790
- return h(qt(s));
1791
- }, jn = (t) => {
1792
- O("useGetDashboardModels");
1792
+ const i = h(e.value);
1793
+ return h(Tt(i));
1794
+ }, Pn = (t) => {
1795
+ S("useGetDashboardModels");
1793
1796
  const [e, n] = R(B, {
1794
1797
  isLoading: !0,
1795
1798
  isError: !1,
@@ -1797,30 +1800,35 @@ const be = u({
1797
1800
  status: "loading",
1798
1801
  error: void 0,
1799
1802
  data: void 0
1800
- }), i = M(), o = async (r) => {
1803
+ }), o = M(), r = G(), s = async (c) => {
1801
1804
  try {
1802
1805
  n({ type: "loading" });
1803
- const a = l(t), c = await Tt(r.httpClient, a);
1804
- n({ type: "success", data: c });
1806
+ const a = l(t), p = await kt(
1807
+ c.httpClient,
1808
+ a,
1809
+ r.value,
1810
+ c.settings
1811
+ );
1812
+ n({ type: "success", data: p });
1805
1813
  } catch (a) {
1806
1814
  n({ type: "error", error: a });
1807
1815
  }
1808
1816
  };
1809
1817
  g(
1810
- [...b(t), i],
1818
+ [...b(t), o, r],
1811
1819
  () => {
1812
- const { app: r } = i.value, { enabled: a } = l(t);
1813
- !r || !(a === void 0 || a === !0) || o(r);
1820
+ const { app: c } = o.value, { enabled: a } = l(t);
1821
+ !c || !(a === void 0 || a === !0) || s(c);
1814
1822
  },
1815
1823
  { immediate: !0 }
1816
1824
  );
1817
- const s = h(e.value);
1818
- return h(Wt(s));
1819
- }, vn = (t) => {
1820
- O("useGetSharedFormula");
1821
- const e = new x(Et, [
1825
+ const i = h(e.value);
1826
+ return h(Bt(i));
1827
+ }, xn = (t) => {
1828
+ S("useGetSharedFormula");
1829
+ const e = new x($t, [
1822
1830
  w()
1823
- ]), [n, i] = W({
1831
+ ]), [n, o] = W({
1824
1832
  isLoading: !0,
1825
1833
  isError: !1,
1826
1834
  isSuccess: !1,
@@ -1828,15 +1836,15 @@ const be = u({
1828
1836
  error: void 0,
1829
1837
  formula: null
1830
1838
  });
1831
- return e.subscribe((o) => {
1832
- i(o);
1839
+ return e.subscribe((r) => {
1840
+ o(r);
1833
1841
  }), e.run(l(t)), g([...b(t)], () => {
1834
1842
  e.run(l(t));
1835
1843
  }), A(() => {
1836
1844
  e.destroy();
1837
1845
  }), h(n.value);
1838
- }, Pn = (t) => {
1839
- O("useGetWidgetModel");
1846
+ }, An = (t) => {
1847
+ S("useGetWidgetModel");
1840
1848
  const [e, n] = R(B, {
1841
1849
  isLoading: !0,
1842
1850
  isError: !1,
@@ -1844,25 +1852,25 @@ const be = u({
1844
1852
  status: "loading",
1845
1853
  error: void 0,
1846
1854
  data: void 0
1847
- }), i = M(), o = async (s) => {
1855
+ }), o = M(), r = async (s) => {
1848
1856
  try {
1849
1857
  n({ type: "loading" });
1850
- const { dashboardOid: r, widgetOid: a } = l(t), c = await Bt(s.httpClient, r, a);
1851
- n({ type: "success", data: c });
1852
- } catch (r) {
1853
- n({ type: "error", error: r });
1858
+ const { dashboardOid: i, widgetOid: c } = l(t), a = await Qt(s.httpClient, i, c);
1859
+ n({ type: "success", data: a });
1860
+ } catch (i) {
1861
+ n({ type: "error", error: i });
1854
1862
  }
1855
1863
  };
1856
1864
  return g(
1857
- [...b(t), i],
1865
+ [...b(t), o],
1858
1866
  () => {
1859
- const { app: s } = i.value, { enabled: r } = l(t);
1860
- !s || !(r === void 0 || r === !0) || o(s);
1867
+ const { app: s } = o.value, { enabled: i } = l(t);
1868
+ !s || !(i === void 0 || i === !0) || r(s);
1861
1869
  },
1862
1870
  { immediate: !0 }
1863
1871
  ), h(e.value);
1864
- }, xn = (t) => {
1865
- O("useGetHierarchyModels");
1872
+ }, Mn = (t) => {
1873
+ S("useGetHierarchyModels");
1866
1874
  const [e, n] = R(B, {
1867
1875
  isLoading: !0,
1868
1876
  isError: !1,
@@ -1870,57 +1878,57 @@ const be = u({
1870
1878
  status: "loading",
1871
1879
  error: void 0,
1872
1880
  data: void 0
1873
- }), i = M(), o = async (s) => {
1881
+ }), o = M(), r = async (s) => {
1874
1882
  try {
1875
1883
  n({ type: "loading" });
1876
- const r = await kt(s.httpClient, l(t));
1877
- n({ type: "success", data: r });
1878
- } catch (r) {
1879
- n({ type: "error", error: r });
1884
+ const i = await It(s.httpClient, l(t));
1885
+ n({ type: "success", data: i });
1886
+ } catch (i) {
1887
+ n({ type: "error", error: i });
1880
1888
  }
1881
1889
  };
1882
1890
  return g(
1883
- [...b(t), i],
1891
+ [...b(t), o],
1884
1892
  () => {
1885
- const { app: s } = i.value, { enabled: r } = l(t);
1886
- !s || !(r === void 0 || r === !0) || o(s);
1893
+ const { app: s } = o.value, { enabled: i } = l(t);
1894
+ !s || !(i === void 0 || i === !0) || r(s);
1887
1895
  },
1888
1896
  { immediate: !0 }
1889
1897
  ), h(e.value);
1890
- }, An = (t, e, n) => {
1891
- const [i, o] = R(B, {
1898
+ }, wn = (t, e, n) => {
1899
+ const [o, r] = R(B, {
1892
1900
  isLoading: !0,
1893
1901
  isError: !1,
1894
1902
  isSuccess: !1,
1895
1903
  status: "loading",
1896
1904
  error: void 0,
1897
1905
  data: void 0
1898
- }), s = M(), r = async (a) => {
1906
+ }), s = M(), i = async (c) => {
1899
1907
  try {
1900
- o({ type: "loading" });
1901
- const c = L(t), y = e ? l(e) : {}, S = n ? l(n) : {}, f = {
1902
- requestConfig: S.requestConfig ? l(S.requestConfig) : {},
1908
+ r({ type: "loading" });
1909
+ const a = L(t), p = e ? l(e) : {}, F = n ? l(n) : {}, O = {
1910
+ requestConfig: F.requestConfig ? l(F.requestConfig) : {},
1903
1911
  skipTrackingParam: !0
1904
- }, p = await a.call(
1905
- a.url + c,
1906
- y,
1907
- f
1912
+ }, y = await c.call(
1913
+ c.url + a,
1914
+ p,
1915
+ O
1908
1916
  );
1909
- o({ type: "success", data: p });
1910
- } catch (c) {
1911
- o({ type: "error", error: c });
1917
+ r({ type: "success", data: y });
1918
+ } catch (a) {
1919
+ r({ type: "error", error: a });
1912
1920
  }
1913
1921
  };
1914
1922
  return g(
1915
1923
  [...b(t, e, n), s],
1916
1924
  () => {
1917
- const { app: a } = s.value, c = l(n || {}).enabled;
1918
- !a || !(c === void 0 || c === !0) || r(a.httpClient);
1925
+ const { app: c } = s.value, a = l(n || {}).enabled;
1926
+ !c || !(a === void 0 || a === !0) || i(c.httpClient);
1919
1927
  },
1920
1928
  { immediate: !0 }
1921
- ), h(i.value);
1929
+ ), h(o.value);
1922
1930
  };
1923
- class ge {
1931
+ class Se {
1924
1932
  constructor(e, n) {
1925
1933
  E(this, "app", null);
1926
1934
  E(this, "container", null);
@@ -1939,10 +1947,10 @@ class ge {
1939
1947
  if (this.app || this.isDestroyed)
1940
1948
  return;
1941
1949
  this.container = e, this.propsRef = j(n);
1942
- const i = {
1943
- setup: () => () => ne(this.componentClass, this.propsRef.value)
1950
+ const o = {
1951
+ setup: () => () => ie(this.componentClass, this.propsRef.value)
1944
1952
  };
1945
- this.app = ee(i), this.app.provide(ae, this.contexts.sisenseContext), this.app.provide(ue, this.contexts.themeContext), this.app.provide(ce, this.contexts.customWidgetsContext), this.app.mount(e);
1953
+ this.app = oe(o), this.app.provide(le, this.contexts.sisenseContext), this.app.provide(de, this.contexts.themeContext), this.app.provide(pe, this.contexts.customWidgetsContext), this.app.mount(e);
1946
1954
  }
1947
1955
  /**
1948
1956
  * Updates the props on the existing Vue component instance.
@@ -1968,8 +1976,8 @@ class ge {
1968
1976
  return this.app !== null && !this.isDestroyed;
1969
1977
  }
1970
1978
  }
1971
- const Mn = () => {
1972
- const t = le(), e = M(), n = de(), i = t;
1979
+ const qn = () => {
1980
+ const t = ye(), e = M(), n = G(), o = t;
1973
1981
  return {
1974
1982
  /**
1975
1983
  * Registers a new custom widget.
@@ -1977,18 +1985,18 @@ const Mn = () => {
1977
1985
  * @param customWidgetType - The unique identifier for the custom widget type.
1978
1986
  * @param customWidget - The custom widget component to register.
1979
1987
  */
1980
- registerCustomWidget: (o, s) => {
1981
- const r = {
1988
+ registerCustomWidget: (r, s) => {
1989
+ const i = {
1982
1990
  sisenseContext: e,
1983
1991
  themeContext: n,
1984
- customWidgetsContext: i
1985
- }, a = () => new ge(s, r), c = (y) => $t(Qt, {
1986
- adapterFactory: a,
1987
- componentProps: y
1992
+ customWidgetsContext: o
1993
+ }, c = () => new Se(s, i), a = (p) => Lt(Gt, {
1994
+ adapterFactory: c,
1995
+ componentProps: p
1988
1996
  });
1989
- t.value.customWidgetsMap.has(o) || (t.value.customWidgetsMap.set(
1990
- o,
1991
- c
1997
+ t.value.customWidgetsMap.has(r) || (t.value.customWidgetsMap.set(
1998
+ r,
1999
+ a
1992
2000
  ), t.value = {
1993
2001
  customWidgetsMap: new Map(t.value.customWidgetsMap)
1994
2002
  });
@@ -1998,8 +2006,8 @@ const Mn = () => {
1998
2006
  *
1999
2007
  * @param customWidgetType - The unique identifier for the custom widget type.
2000
2008
  */
2001
- unregisterCustomWidget: (o) => {
2002
- t.value.customWidgetsMap.delete(o) && (t.value = {
2009
+ unregisterCustomWidget: (r) => {
2010
+ t.value.customWidgetsMap.delete(r) && (t.value = {
2003
2011
  customWidgetsMap: new Map(t.value.customWidgetsMap)
2004
2012
  });
2005
2013
  },
@@ -2009,45 +2017,45 @@ const Mn = () => {
2009
2017
  * @param customWidgetType - The type of the custom widget.
2010
2018
  * @returns True if the custom widget is registered, false otherwise.
2011
2019
  */
2012
- hasCustomWidget: (o) => t.value.customWidgetsMap.has(o)
2020
+ hasCustomWidget: (r) => t.value.customWidgetsMap.has(r)
2013
2021
  };
2014
- }, wn = (t, e = {}) => {
2015
- O("useComposedDashboard");
2016
- const n = new x(It, [
2022
+ }, Rn = (t, e = {}) => {
2023
+ S("useComposedDashboard");
2024
+ const n = new x(_t, [
2017
2025
  w()
2018
- ]), [i, o] = W(l(t));
2019
- n.subscribe(({ dashboard: a }) => {
2020
- o(a);
2026
+ ]), [o, r] = W(l(t));
2027
+ n.subscribe(({ dashboard: c }) => {
2028
+ r(c);
2021
2029
  }), n.run(l(t), e), g([...b(t)], () => {
2022
2030
  n.run(l(t), e);
2023
2031
  }), A(() => {
2024
2032
  n.destroy();
2025
2033
  });
2026
- const s = _(n, "setFilters"), r = _(n, "setWidgetsLayout");
2034
+ const s = J(n, "setFilters"), i = J(n, "setWidgetsLayout");
2027
2035
  return {
2028
- dashboard: i,
2036
+ dashboard: o,
2029
2037
  setFilters: s,
2030
- setWidgetsLayout: r
2038
+ setWidgetsLayout: i
2031
2039
  };
2032
- }, qn = (t, e) => {
2033
- O("useJtdWidget");
2034
- const n = new x(Lt, [
2040
+ }, Wn = (t, e) => {
2041
+ S("useJtdWidget");
2042
+ const n = new x(Ht, [
2035
2043
  w(),
2036
- pe()
2037
- ]), i = j(null);
2044
+ he()
2045
+ ]), o = j(null);
2038
2046
  n.subscribe((s) => {
2039
- i.value = s;
2047
+ o.value = s;
2040
2048
  });
2041
- const o = () => {
2042
- const s = re(t), r = l(e);
2043
- n.run(s, r);
2049
+ const r = () => {
2050
+ const s = se(t), i = l(e);
2051
+ n.run(s, i);
2044
2052
  };
2045
- return o(), g([...b(t), ...b(e)], () => {
2046
- o();
2053
+ return r(), g([...b(t), ...b(e)], () => {
2054
+ r();
2047
2055
  }), A(() => {
2048
2056
  n.destroy();
2049
- }), i;
2050
- }, Oe = u({
2057
+ }), o;
2058
+ }, Fe = u({
2051
2059
  props: {
2052
2060
  /**
2053
2061
  * {@inheritDoc @sisense/sdk-ui!ContextMenuProps.closeContextMenu}
@@ -2065,8 +2073,8 @@ const Mn = () => {
2065
2073
  */
2066
2074
  position: Object
2067
2075
  },
2068
- setup: (t, { slots: e }) => N(Gt, t, e, [])
2069
- }), Se = ({
2076
+ setup: (t, { slots: e }) => U(Vt, t, e, [])
2077
+ }), fe = ({
2070
2078
  drilldownPaths: t,
2071
2079
  initialDimension: e
2072
2080
  }) => {
@@ -2074,52 +2082,52 @@ const Mn = () => {
2074
2082
  throw new Error(
2075
2083
  "Initial dimension has to be specified to use drilldown with custom components"
2076
2084
  );
2077
- const n = j([]), i = j(), o = j([]), s = j([]), r = I(() => [
2078
- _t(e),
2079
- ...n.value.map(({ nextDimension: p }) => p)
2080
- ]), a = I(
2081
- () => t.value.filter((p) => {
2082
- if (he.isAttribute(p)) {
2083
- const P = p;
2084
- return r.value.every(
2085
- (q) => !H(q, P)
2085
+ const n = j([]), o = j(), r = j([]), s = j([]), i = I(() => [
2086
+ Jt(e),
2087
+ ...n.value.map(({ nextDimension: y }) => y)
2088
+ ]), c = I(
2089
+ () => t.value.filter((y) => {
2090
+ if (ge.isAttribute(y)) {
2091
+ const P = y;
2092
+ return i.value.every(
2093
+ (q) => !N(q, P)
2086
2094
  );
2087
2095
  }
2088
- const m = p;
2089
- return r.value.every(
2090
- (P, q) => H(P, m.levels[q])
2096
+ const m = y;
2097
+ return i.value.every(
2098
+ (P, q) => N(P, m.levels[q])
2091
2099
  );
2092
2100
  })
2093
- ), c = (p, F, m) => {
2094
- n.value = Ht(
2101
+ ), a = (y, f, m) => {
2102
+ n.value = Nt(
2095
2103
  n.value,
2096
- p,
2097
- F,
2104
+ y,
2105
+ f,
2098
2106
  m
2099
- ), f();
2100
- }, y = (p) => {
2101
- n.value = n.value.slice(0, p), f();
2102
- }, S = () => {
2103
- n.value = [], f();
2104
- }, f = () => {
2105
- const p = (m) => m === "drilldown.breadcrumbsAllSuffix" ? "All" : m, F = Vt(
2107
+ ), O();
2108
+ }, p = (y) => {
2109
+ n.value = n.value.slice(0, y), O();
2110
+ }, F = () => {
2111
+ n.value = [], O();
2112
+ }, O = () => {
2113
+ const y = (m) => m === "drilldown.breadcrumbsAllSuffix" ? "All" : m, f = zt(
2106
2114
  n.value,
2107
2115
  e,
2108
- p
2116
+ y
2109
2117
  );
2110
- i.value = F.drilldownDimension, o.value = F.drilldownFilters, s.value = F.drilldownFiltersDisplayValues;
2118
+ o.value = f.drilldownDimension, r.value = f.drilldownFilters, s.value = f.drilldownFiltersDisplayValues;
2111
2119
  };
2112
- return f(), {
2120
+ return O(), {
2113
2121
  drilldownSelections: n,
2114
- availableDrilldownPaths: a,
2115
- drilldownDimension: i,
2116
- drilldownFilters: o,
2122
+ availableDrilldownPaths: c,
2123
+ drilldownDimension: o,
2124
+ drilldownFilters: r,
2117
2125
  drilldownFiltersDisplayValues: s,
2118
- selectDrilldown: c,
2119
- sliceDrilldownSelections: y,
2120
- clearDrilldownSelections: S
2126
+ selectDrilldown: a,
2127
+ sliceDrilldownSelections: p,
2128
+ clearDrilldownSelections: F
2121
2129
  };
2122
- }, Fe = u({
2130
+ }, Ce = u({
2123
2131
  props: {
2124
2132
  /**
2125
2133
  * {@inheritDoc @sisense/sdk-ui!DrilldownWidgetProps.config}
@@ -2155,81 +2163,81 @@ const Mn = () => {
2155
2163
  },
2156
2164
  setup: () => {
2157
2165
  }
2158
- }), fe = { style: { display: "flex", "flex-direction": "column", height: "100%" } }, Ce = { style: { "flex-grow": "1", "min-wdith": "0", "min-height": "0" } }, Rn = /* @__PURE__ */ u({
2166
+ }), De = { style: { display: "flex", "flex-direction": "column", height: "100%" } }, me = { style: { "flex-grow": "1", "min-wdith": "0", "min-height": "0" } }, Tn = /* @__PURE__ */ u({
2159
2167
  __name: "drilldown-widget",
2160
- props: Fe.props,
2168
+ props: Ce.props,
2161
2169
  setup(t) {
2162
- const e = t, { drilldownPaths: n, initialDimension: i, config: o } = h(e), s = j(null), r = j([]), {
2163
- drilldownFilters: a,
2170
+ const e = t, { drilldownPaths: n, initialDimension: o, config: r } = h(e), s = j(null), i = j([]), {
2171
+ drilldownFilters: c,
2164
2172
  // computed
2165
- drilldownDimension: c,
2173
+ drilldownDimension: a,
2166
2174
  // computed
2167
- drilldownFiltersDisplayValues: y,
2175
+ drilldownFiltersDisplayValues: p,
2168
2176
  // computed
2169
- availableDrilldownPaths: S,
2177
+ availableDrilldownPaths: F,
2170
2178
  // computed
2171
- selectDrilldown: f,
2172
- sliceDrilldownSelections: p,
2173
- clearDrilldownSelections: F
2174
- } = Se({
2179
+ selectDrilldown: O,
2180
+ sliceDrilldownSelections: y,
2181
+ clearDrilldownSelections: f
2182
+ } = fe({
2175
2183
  drilldownPaths: n,
2176
- initialDimension: i.value
2184
+ initialDimension: o.value
2177
2185
  }), m = (D) => {
2178
- f(r.value, D);
2186
+ O(i.value, D);
2179
2187
  }, P = I(() => {
2180
- const D = ($) => $ === "drilldown.drillMenuItem" ? "Drill" : $;
2181
- return [
2182
- Jt(r.value, c.value),
2183
- Nt(
2184
- S.value,
2185
- c.value,
2186
- m,
2187
- D
2188
- )
2189
- ];
2188
+ const D = (V) => V === "drilldown.drillMenuItem" ? "Drill" : V, $ = Kt(
2189
+ i.value,
2190
+ a.value
2191
+ ), H = Ut(
2192
+ F.value,
2193
+ a.value,
2194
+ m,
2195
+ D
2196
+ );
2197
+ return H ? [$, H] : [$];
2190
2198
  }), q = (D) => {
2191
2199
  s.value = D;
2192
2200
  }, k = (D) => {
2193
- r.value = D;
2194
- }, G = () => {
2201
+ i.value = D;
2202
+ }, _ = () => {
2195
2203
  s.value = null;
2196
2204
  };
2197
- return (D, $) => (oe(), ie("div", fe, [
2205
+ return (D, $) => (ae(), ce("div", De, [
2198
2206
  Q(D.$slots, "contextMenu", {
2199
- contextMenuProps: { position: s.value, itemSections: P.value, closeContextMenu: G }
2207
+ contextMenuProps: { position: s.value, itemSections: P.value, closeContextMenu: _ }
2200
2208
  }, () => [
2201
- V(C(Oe), {
2209
+ z(C(Fe), {
2202
2210
  position: s.value,
2203
2211
  itemSections: P.value,
2204
- closeContextMenu: G
2212
+ closeContextMenu: _
2205
2213
  }, null, 8, ["position", "itemSections"])
2206
2214
  ]),
2207
2215
  Q(D.$slots, "breadcrumbs", {
2208
2216
  drilldownBreadcrumbsProps: {
2209
- clearDrilldownSelections: C(F),
2210
- sliceDrilldownSelections: C(p),
2211
- drilldownFiltersDisplayValues: C(y),
2212
- drilldownDimension: C(c)
2217
+ clearDrilldownSelections: C(f),
2218
+ sliceDrilldownSelections: C(y),
2219
+ drilldownFiltersDisplayValues: C(p),
2220
+ drilldownDimension: C(a)
2213
2221
  }
2214
2222
  }, () => [
2215
- V(C(be), {
2216
- "clear-drilldown-selections": C(F),
2217
- "slice-drilldown-selections": C(p),
2218
- "filters-display-values": C(y),
2219
- "current-dimension": C(c)
2223
+ z(C(Oe), {
2224
+ "clear-drilldown-selections": C(f),
2225
+ "slice-drilldown-selections": C(y),
2226
+ "filters-display-values": C(p),
2227
+ "current-dimension": C(a)
2220
2228
  }, null, 8, ["clear-drilldown-selections", "slice-drilldown-selections", "filters-display-values", "current-dimension"])
2221
2229
  ]),
2222
- se("div", Ce, [
2230
+ ue("div", me, [
2223
2231
  Q(D.$slots, "chart", {
2224
- drilldownFilters: C(a),
2225
- drilldownDimension: C(c),
2232
+ drilldownFilters: C(c),
2233
+ drilldownDimension: C(a),
2226
2234
  onDataPointsSelected: k,
2227
2235
  onContextMenu: q
2228
2236
  })
2229
2237
  ])
2230
2238
  ]));
2231
2239
  }
2232
- }), Wn = u({
2240
+ }), En = u({
2233
2241
  props: {
2234
2242
  /**
2235
2243
  * {@inheritDoc @sisense/sdk-ui!ChartWidgetProps.bottomSlot}
@@ -2350,8 +2358,8 @@ const Mn = () => {
2350
2358
  */
2351
2359
  onDataReady: Function
2352
2360
  },
2353
- setup: (t) => d(zt, t)
2354
- }), Tn = u({
2361
+ setup: (t) => d(Xt, t)
2362
+ }), Bn = u({
2355
2363
  props: {
2356
2364
  /** @internal */
2357
2365
  bottomSlot: Object,
@@ -2458,8 +2466,8 @@ const Mn = () => {
2458
2466
  */
2459
2467
  onDataReady: Function
2460
2468
  },
2461
- setup: (t) => d(Kt, t)
2462
- }), En = u({
2469
+ setup: (t) => d(Yt, t)
2470
+ }), kn = u({
2463
2471
  props: {
2464
2472
  /**
2465
2473
  * {@inheritDoc @sisense/sdk-ui!PivotTableWidgetProps.dataOptions}
@@ -2553,8 +2561,8 @@ const Mn = () => {
2553
2561
  */
2554
2562
  onHeaderCellFormat: Function
2555
2563
  },
2556
- setup: (t) => d(Ut, t)
2557
- }), Bn = u({
2564
+ setup: (t) => d(Zt, t)
2565
+ }), $n = u({
2558
2566
  props: {
2559
2567
  /**
2560
2568
  * Unique identifier of the widget
@@ -2679,8 +2687,8 @@ const Mn = () => {
2679
2687
  */
2680
2688
  onDataPointsSelected: Function
2681
2689
  },
2682
- setup: (t) => d(Xt, t)
2683
- }), kn = u({
2690
+ setup: (t) => d(te, t)
2691
+ }), Qn = u({
2684
2692
  props: {
2685
2693
  /**
2686
2694
  * {@inheritDoc @sisense/sdk-ui!DashboardByIdProps.dashboardOid}
@@ -2694,8 +2702,8 @@ const Mn = () => {
2694
2702
  */
2695
2703
  config: Object
2696
2704
  },
2697
- setup: (t) => d(Yt, t)
2698
- }), $n = u({
2705
+ setup: (t) => d(ee, t)
2706
+ }), In = u({
2699
2707
  props: {
2700
2708
  /**
2701
2709
  * {@inheritDoc @sisense/sdk-ui!DashboardProps.title}
@@ -2733,118 +2741,118 @@ const Mn = () => {
2733
2741
  */
2734
2742
  styleOptions: Object
2735
2743
  },
2736
- setup: (t) => d(Zt, t)
2744
+ setup: (t) => d(ne, t)
2737
2745
  });
2738
- function De(t) {
2739
- return te.toDashboardProps(t);
2746
+ function je(t) {
2747
+ return re.toDashboardProps(t);
2740
2748
  }
2741
- const Qn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2749
+ const Ln = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2742
2750
  __proto__: null,
2743
- toDashboardProps: De
2744
- }, Symbol.toStringTag, { value: "Module" })), me = (t, e) => T.replaceFilters(t, e), je = (t, e) => T.addFilter(t, e), ve = (t, e) => T.addFilters(t, e), Pe = (t, e, n) => T.replaceFilter(
2751
+ toDashboardProps: je
2752
+ }, Symbol.toStringTag, { value: "Module" })), ve = (t, e) => T.replaceFilters(t, e), Pe = (t, e) => T.addFilter(t, e), xe = (t, e) => T.addFilters(t, e), Ae = (t, e, n) => T.replaceFilter(
2745
2753
  t,
2746
2754
  e,
2747
2755
  n
2748
- ), xe = (t, e) => T.removeFilter(t, e), Ae = (t, e) => T.removeFilters(t, e), In = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2756
+ ), Me = (t, e) => T.removeFilter(t, e), we = (t, e) => T.removeFilters(t, e), Gn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2749
2757
  __proto__: null,
2750
- addFilter: je,
2751
- addFilters: ve,
2752
- removeFilter: xe,
2753
- removeFilters: Ae,
2754
- replaceFilter: Pe,
2755
- replaceFilters: me
2756
- }, Symbol.toStringTag, { value: "Module" })), Me = (t) => v.toExecuteQueryParams(t), we = (t) => v.toExecutePivotQueryParams(t);
2757
- function qe(t) {
2758
+ addFilter: Pe,
2759
+ addFilters: xe,
2760
+ removeFilter: Me,
2761
+ removeFilters: we,
2762
+ replaceFilter: Ae,
2763
+ replaceFilters: ve
2764
+ }, Symbol.toStringTag, { value: "Module" })), qe = (t) => v.toExecuteQueryParams(t), Re = (t) => v.toExecutePivotQueryParams(t);
2765
+ function We(t) {
2758
2766
  return v.toChartProps(t);
2759
2767
  }
2760
- function Re(t) {
2768
+ function Te(t) {
2761
2769
  return v.toTableProps(t);
2762
2770
  }
2763
- function We(t) {
2771
+ function Ee(t) {
2764
2772
  return v.toPivotTableProps(t);
2765
2773
  }
2766
- function Te(t) {
2774
+ function Be(t) {
2767
2775
  return v.toChartWidgetProps(t);
2768
2776
  }
2769
- function Ee(t) {
2777
+ function ke(t) {
2770
2778
  return v.toPivotTableWidgetProps(t);
2771
2779
  }
2772
- function Be(t) {
2780
+ function $e(t) {
2773
2781
  return v.toTextWidgetProps(t);
2774
2782
  }
2775
- function ke(t) {
2783
+ function Qe(t) {
2776
2784
  return v.toWidgetProps(t);
2777
2785
  }
2778
- const Ln = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2786
+ const _n = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2779
2787
  __proto__: null,
2780
- toChartProps: qe,
2781
- toChartWidgetProps: Te,
2782
- toExecutePivotQueryParams: we,
2783
- toExecuteQueryParams: Me,
2784
- toPivotTableProps: We,
2785
- toPivotTableWidgetProps: Ee,
2786
- toTableProps: Re,
2787
- toTextWidgetProps: Be,
2788
- toWidgetProps: ke
2788
+ toChartProps: We,
2789
+ toChartWidgetProps: Be,
2790
+ toExecutePivotQueryParams: Re,
2791
+ toExecuteQueryParams: qe,
2792
+ toPivotTableProps: Ee,
2793
+ toPivotTableWidgetProps: ke,
2794
+ toTableProps: Te,
2795
+ toTextWidgetProps: $e,
2796
+ toWidgetProps: Qe
2789
2797
  }, Symbol.toStringTag, { value: "Module" }));
2790
2798
  export {
2791
- _e as AreaChart,
2792
- cn as AreaRangeChart,
2793
- sn as AreamapChart,
2794
- He as BarChart,
2795
- on as BoxplotChart,
2796
- Ve as CalendarHeatmapChart,
2797
- rn as Chart,
2798
- Wn as ChartWidget,
2799
- Je as ColumnChart,
2800
- Oe as ContextMenu,
2801
- pn as CriteriaFilterTile,
2802
- Nn as CustomWidgetsProvider,
2803
- $n as Dashboard,
2804
- kn as DashboardById,
2805
- ln as DateRangeFilterTile,
2806
- be as DrilldownBreadcrumbs,
2807
- Rn as DrilldownWidget,
2808
- hn as FilterTile,
2809
- bn as FiltersPanel,
2810
- Ne as FunnelChart,
2811
- nn as IndicatorChart,
2812
- ze as LineChart,
2813
- dn as MemberFilterTile,
2814
- Ke as PieChart,
2815
- Ye as PivotTable,
2816
- En as PivotTableWidget,
2817
- en as PolarChart,
2818
- yn as RelativeDateFilterTile,
2819
- Ue as ScatterChart,
2820
- an as ScattermapChart,
2821
- zn as SisenseContextProvider,
2822
- un as StreamgraphChart,
2823
- tn as SunburstChart,
2824
- Xe as Table,
2825
- Kn as ThemeProvider,
2826
- Ze as TreemapChart,
2827
- Bn as Widget,
2828
- Tn as WidgetById,
2829
- Hn as boxWhiskerProcessResult,
2830
- In as dashboardHelpers,
2831
- Qn as dashboardModelTranslator,
2832
- Vn as extractDimensionsAndMeasures,
2833
- wn as useComposedDashboard,
2834
- Mn as useCustomWidgets,
2835
- Sn as useExecuteCsvQuery,
2836
- fn as useExecuteCustomWidgetQuery,
2837
- Fn as useExecutePivotQuery,
2838
- gn as useExecuteQuery,
2839
- On as useExecuteQueryByWidgetId,
2840
- An as useFetch,
2841
- mn as useGetDashboardModel,
2842
- jn as useGetDashboardModels,
2843
- Dn as useGetDataSourceDimensions,
2844
- Cn as useGetFilterMembers,
2845
- xn as useGetHierarchyModels,
2846
- vn as useGetSharedFormula,
2847
- Pn as useGetWidgetModel,
2848
- qn as useJtdWidget,
2849
- Ln as widgetModelTranslator
2799
+ Ve as AreaChart,
2800
+ dn as AreaRangeChart,
2801
+ cn as AreamapChart,
2802
+ Je as BarChart,
2803
+ an as BoxplotChart,
2804
+ Ne as CalendarHeatmapChart,
2805
+ sn as Chart,
2806
+ En as ChartWidget,
2807
+ ze as ColumnChart,
2808
+ Fe as ContextMenu,
2809
+ hn as CriteriaFilterTile,
2810
+ Kn as CustomWidgetsProvider,
2811
+ In as Dashboard,
2812
+ Qn as DashboardById,
2813
+ pn as DateRangeFilterTile,
2814
+ Oe as DrilldownBreadcrumbs,
2815
+ Tn as DrilldownWidget,
2816
+ gn as FilterTile,
2817
+ On as FiltersPanel,
2818
+ Ke as FunnelChart,
2819
+ on as IndicatorChart,
2820
+ Ue as LineChart,
2821
+ yn as MemberFilterTile,
2822
+ Xe as PieChart,
2823
+ tn as PivotTable,
2824
+ kn as PivotTableWidget,
2825
+ rn as PolarChart,
2826
+ bn as RelativeDateFilterTile,
2827
+ Ye as ScatterChart,
2828
+ un as ScattermapChart,
2829
+ Un as SisenseContextProvider,
2830
+ ln as StreamgraphChart,
2831
+ nn as SunburstChart,
2832
+ Ze as Table,
2833
+ Xn as ThemeProvider,
2834
+ en as TreemapChart,
2835
+ $n as Widget,
2836
+ Bn as WidgetById,
2837
+ Jn as boxWhiskerProcessResult,
2838
+ Gn as dashboardHelpers,
2839
+ Ln as dashboardModelTranslator,
2840
+ Nn as extractDimensionsAndMeasures,
2841
+ Rn as useComposedDashboard,
2842
+ qn as useCustomWidgets,
2843
+ fn as useExecuteCsvQuery,
2844
+ Dn as useExecuteCustomWidgetQuery,
2845
+ Cn as useExecutePivotQuery,
2846
+ Sn as useExecuteQuery,
2847
+ Fn as useExecuteQueryByWidgetId,
2848
+ wn as useFetch,
2849
+ vn as useGetDashboardModel,
2850
+ Pn as useGetDashboardModels,
2851
+ jn as useGetDataSourceDimensions,
2852
+ mn as useGetFilterMembers,
2853
+ Mn as useGetHierarchyModels,
2854
+ xn as useGetSharedFormula,
2855
+ An as useGetWidgetModel,
2856
+ Wn as useJtdWidget,
2857
+ _n as widgetModelTranslator
2850
2858
  };