@sisense/sdk-ui-vue 2.25.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 ct, SunburstChart as ut, PolarChart as lt, IndicatorChart as dt, Chart as pt, BoxplotChart as yt, AreamapChart as bt, ScattermapChart as ht, StreamgraphChart as gt, AreaRangeChart as Ot, DateRangeFilterTile as St, MemberFilterTile as Ft, CriteriaFilterTile as ft, RelativeDateFilterTile as Ct, FilterTile as Dt, FiltersPanel as jt, queryStateReducer as J, executeQuery as mt, executeQueryByWidgetId as vt, HookAdapter as w, useExecuteCsvQueryInternal as Pt, useExecutePivotQueryInternal as xt, useExecuteCustomWidgetQueryInternal as At, useGetFilterMembers as wt, translateToDashboardResponse as Mt, dataLoadStateReducer as B, getDashboardModel as qt, translateToDashboardsResponse as Rt, getDashboardModels as Tt, useGetSharedFormulaInternal as Wt, getWidgetModel as Et, getHierarchyModels as Bt, createElement as $t, ExternalComponentAdapterElement as kt, useComposedDashboardInternal as Qt, createHookApiFacade as _, useJtdWidget as It, ContextMenu as Lt, translateColumnToAttribute as Gt, isSameAttribute as H, updateDrilldownSelections as _t, processDrilldownSelections as Ht, getSelectionTitleMenuItem as Vt, getDrilldownMenuItems as Jt, ChartWidget as Nt, WidgetById as zt, TableWidget 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 c, watch as g, toRefs as b, ref as m, onBeforeUnmount as M, 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 l, a as q, g as x, u as F, b as h, t as d, e as L, f as R, h as W, i as ae, j as ce, k as ue, l as le, m as de, n as pe } from "./use-tracking-9217c553.js";
8
- import { C as Nn, S as zn, T as Kn } from "./use-tracking-9217c553.js";
9
- import { getFilterListAndRelationsJaql as z, isMembersFilter as ye, MetadataTypes as be } from "@sisense/sdk-data";
10
- const he = c({
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 he = c({
46
46
  required: !0
47
47
  }
48
48
  },
49
- setup: (t, { slots: e }) => N(X, t, e, [])
50
- }), _e = c({
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 he = c({
113
113
  */
114
114
  onDataPointsSelected: Function
115
115
  },
116
- setup: (t) => l(Y, t)
117
- }), He = c({
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 he = c({
180
180
  */
181
181
  styleOptions: Object
182
182
  },
183
- setup: (t) => l(Z, t)
184
- }), Ve = c({
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 he = c({
247
247
  */
248
248
  onDataPointsSelected: Function
249
249
  },
250
- setup: (t) => l(tt, t)
251
- }), Je = c({
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 he = c({
314
314
  */
315
315
  styleOptions: Object
316
316
  },
317
- setup: (t) => l(et, t)
318
- }), Ne = c({
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 he = c({
381
381
  */
382
382
  styleOptions: Object
383
383
  },
384
- setup: (t) => l(nt, t)
385
- }), ze = c({
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 he = c({
448
448
  */
449
449
  styleOptions: Object
450
450
  },
451
- setup: (t) => l(rt, t)
452
- }), Ke = c({
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 he = c({
515
515
  */
516
516
  styleOptions: Object
517
517
  },
518
- setup: (t) => l(ot, t)
519
- }), Ue = c({
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 he = c({
582
582
  */
583
583
  styleOptions: Object
584
584
  },
585
- setup: (t) => l(it, t)
586
- }), Xe = c({
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 he = c({
621
621
  */
622
622
  onDataReady: Function
623
623
  },
624
- setup: (t) => l(st, t)
625
- }), Ye = c({
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 he = c({
672
672
  */
673
673
  onDataPointContextMenu: Function
674
674
  },
675
- setup: (t) => l(at, t)
676
- }), Ze = c({
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 he = c({
739
739
  */
740
740
  styleOptions: Object
741
741
  },
742
- setup: (t) => l(ct, t)
743
- }), tn = c({
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 he = c({
806
806
  */
807
807
  styleOptions: Object
808
808
  },
809
- setup: (t) => l(ut, t)
810
- }), en = c({
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 he = c({
873
873
  */
874
874
  styleOptions: Object
875
875
  },
876
- setup: (t) => l(lt, t)
877
- }), nn = c({
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 he = c({
922
922
  */
923
923
  onDataReady: Function
924
924
  },
925
- setup: (t) => l(dt, t)
926
- }), rn = c({
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 he = c({
1002
1002
  */
1003
1003
  refreshCounter: Number
1004
1004
  },
1005
- setup: (t) => l(pt, t)
1006
- }), on = c({
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 he = c({
1069
1069
  */
1070
1070
  onDataPointsSelected: Function
1071
1071
  },
1072
- setup: (t) => l(yt, t)
1073
- }), sn = c({
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 he = c({
1118
1118
  */
1119
1119
  onDataPointClick: Function
1120
1120
  },
1121
- setup: (t) => l(bt, t)
1122
- }), an = c({
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 he = c({
1167
1167
  */
1168
1168
  onDataPointClick: Object
1169
1169
  },
1170
- setup: (t) => l(ht, t)
1171
- }), cn = c({
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 he = c({
1234
1234
  */
1235
1235
  onDataPointsSelected: Function
1236
1236
  },
1237
- setup: (t) => l(gt, t)
1238
- }), un = c({
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 he = c({
1301
1301
  */
1302
1302
  styleOptions: Object
1303
1303
  },
1304
- setup: (t) => l(Ot, t)
1305
- }), ln = c({
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 he = c({
1362
1362
  */
1363
1363
  onEdit: Function
1364
1364
  },
1365
- setup: (t) => l(St, t)
1366
- }), dn = c({
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 he = c({
1410
1410
  */
1411
1411
  onEdit: Function
1412
1412
  },
1413
- setup: (t) => l(Ft, t)
1414
- }), pn = c({
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 he = c({
1451
1451
  */
1452
1452
  onEdit: Function
1453
1453
  },
1454
- setup: (t) => l(ft, t)
1455
- }), yn = c({
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 he = c({
1497
1497
  */
1498
1498
  onEdit: Function
1499
1499
  },
1500
- setup: (t) => l(Ct, t)
1501
- }), bn = c({
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 he = c({
1527
1527
  */
1528
1528
  onEdit: Function
1529
1529
  },
1530
- setup: (t) => l(Dt, t)
1531
- }), hn = c({
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 he = c({
1559
1559
  required: !0
1560
1560
  }
1561
1561
  },
1562
- setup: (t) => l(jt, t)
1563
- }), gn = (t) => {
1564
- const [e, n] = q(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 = x();
1572
- F("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: u,
1579
- filters: y,
1580
- highlights: O,
1581
- count: f,
1582
- offset: p,
1583
- ungroup: S,
1584
- onBeforeQuery: j
1585
- } = d(t), { filters: P, relations: A } = z(y);
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
+ onBeforeQuery: m
1585
+ } = l(t), { filters: P, relations: q } = X(p);
1586
1586
  n({ type: "loading" });
1587
- const $ = await mt(
1587
+ const k = await xt(
1588
1588
  {
1589
- dataSource: r,
1590
- dimensions: a,
1591
- measures: u,
1589
+ dataSource: i,
1590
+ dimensions: c,
1591
+ measures: a,
1592
1592
  filters: P,
1593
- filterRelations: A,
1594
- highlights: O,
1595
- count: f,
1596
- offset: p,
1597
- ungroup: S
1593
+ filterRelations: q,
1594
+ highlights: F,
1595
+ count: O,
1596
+ offset: y,
1597
+ ungroup: f
1598
1598
  },
1599
1599
  s,
1600
- { onBeforeQuery: L(j) }
1600
+ { onBeforeQuery: L(m) }
1601
1601
  );
1602
- n({ type: "success", data: $ });
1603
- } catch (r) {
1604
- n({ type: "error", error: r });
1602
+ n({ type: "success", data: k });
1603
+ } catch (i) {
1604
+ n({ type: "error", error: i });
1605
1605
  }
1606
1606
  };
1607
1607
  return g(
1608
- [...h(t), i],
1608
+ [...b(t), o],
1609
1609
  () => {
1610
- const { app: s } = i.value, { enabled: r } = d(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
- ), b(e.value);
1615
- }, On = (t) => {
1616
- const e = m(void 0), n = m(void 0);
1617
- F("useExecuteQueryByWidgetId");
1618
- const [i, o] = q(J, {
1614
+ ), h(e.value);
1615
+ }, Fn = (t) => {
1616
+ const e = j(void 0), n = j(void 0);
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 = x(), r = async (a) => {
1625
+ }), s = M(), i = async (c) => {
1626
1626
  try {
1627
- o({ type: "loading" });
1628
- const { filters: u, ...y } = d(t), { filters: O } = z(L(u)), {
1629
- data: f,
1630
- query: p,
1631
- pivotQuery: S
1632
- } = await vt({
1633
- ...y,
1634
- filters: O,
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 = S;
1638
- } catch (u) {
1639
- o({ type: "error", error: u });
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
- [...h(t), s],
1643
+ [...b(t), s],
1644
1644
  () => {
1645
- const { app: a } = s.value, { enabled: u } = d(t);
1646
- !a || !(u === void 0 || u === !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
- ...b(i.value),
1650
+ ...h(o.value),
1651
1651
  query: e,
1652
1652
  pivotQuery: n
1653
1653
  };
1654
- }, Sn = (t) => {
1655
- F("useExecuteCsvQuery");
1656
- const e = new w(Pt, [
1657
- R()
1658
- ]), [n, i] = W({
1654
+ }, fn = (t) => {
1655
+ S("useExecuteCsvQuery");
1656
+ const e = new x(Mt, [
1657
+ w()
1658
+ ]), [n, o] = W({
1659
1659
  isLoading: !0,
1660
1660
  isError: !1,
1661
1661
  isSuccess: !1,
@@ -1663,18 +1663,18 @@ const he = c({
1663
1663
  error: void 0,
1664
1664
  data: void 0
1665
1665
  });
1666
- return e.subscribe((o) => {
1667
- i(o);
1668
- }), e.run(d(t)), g([...h(t)], () => {
1669
- e.run(d(t));
1670
- }), M(() => {
1666
+ return e.subscribe((r) => {
1667
+ o(r);
1668
+ }), e.run(l(t)), g([...b(t)], () => {
1669
+ e.run(l(t));
1670
+ }), A(() => {
1671
1671
  e.destroy();
1672
- }), b(n.value);
1673
- }, Fn = (t) => {
1674
- F("useExecutePivotQuery");
1675
- const e = new w(xt, [
1676
- R()
1677
- ]), [n, i] = W({
1672
+ }), h(n.value);
1673
+ }, Cn = (t) => {
1674
+ S("useExecutePivotQuery");
1675
+ const e = new x(wt, [
1676
+ w()
1677
+ ]), [n, o] = W({
1678
1678
  isLoading: !0,
1679
1679
  isError: !1,
1680
1680
  isSuccess: !1,
@@ -1682,18 +1682,18 @@ const he = c({
1682
1682
  error: void 0,
1683
1683
  data: void 0
1684
1684
  });
1685
- return e.subscribe((o) => {
1686
- i(o);
1687
- }), e.run(d(t)), g([...h(t)], () => {
1688
- e.run(d(t));
1689
- }), M(() => {
1685
+ return e.subscribe((r) => {
1686
+ o(r);
1687
+ }), e.run(l(t)), g([...b(t)], () => {
1688
+ e.run(l(t));
1689
+ }), A(() => {
1690
1690
  e.destroy();
1691
- }), b(n.value);
1692
- }, fn = (t) => {
1693
- F("useExecuteCustomWidgetQuery");
1694
- const e = new w(At, [
1695
- R()
1696
- ]), [n, i] = W({
1691
+ }), h(n.value);
1692
+ }, Dn = (t) => {
1693
+ S("useExecuteCustomWidgetQuery");
1694
+ const e = new x(qt, [
1695
+ w()
1696
+ ]), [n, o] = W({
1697
1697
  data: void 0,
1698
1698
  isLoading: !0,
1699
1699
  isError: !1,
@@ -1701,19 +1701,19 @@ const he = c({
1701
1701
  status: "loading",
1702
1702
  error: void 0
1703
1703
  });
1704
- return e.subscribe((o) => {
1705
- i(o);
1706
- }), e.run(d(t)), g([...h(t)], () => {
1707
- e.run(d(t));
1708
- }), M(() => {
1704
+ return e.subscribe((r) => {
1705
+ o(r);
1706
+ }), e.run(l(t)), g([...b(t)], () => {
1707
+ e.run(l(t));
1708
+ }), A(() => {
1709
1709
  e.destroy();
1710
- }), b(n.value);
1711
- }, Cn = (t) => {
1712
- F("useGetFilterMembers");
1713
- const { filter: e, parentFilters: n = [] } = d(t), i = {
1710
+ }), h(n.value);
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,86 +1722,113 @@ const he = c({
1722
1722
  enableMultiSelection: !1,
1723
1723
  hasBackgroundFilter: !1
1724
1724
  }
1725
- }, o = new w(wt, [R()]), [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(d(t)), g([...h(t)], () => {
1737
- o.run(d(t));
1738
- }), M(() => {
1739
- o.destroy();
1740
- }), b(s.value);
1741
- }, Dn = (t) => {
1742
- F("useGetDashboardModel");
1743
- const [e, n] = q(B, {
1734
+ return r.subscribe((c) => {
1735
+ i(c);
1736
+ }), r.run(l(t)), g([...b(t)], () => {
1737
+ r.run(l(t));
1738
+ }), A(() => {
1739
+ r.destroy();
1740
+ }), h(s.value);
1741
+ }, jn = (t) => {
1742
+ S("useGetDataSourceDimensions");
1743
+ const e = new x(Wt, [
1744
+ w()
1745
+ ]), [n, o] = W({
1746
+ isLoading: !0,
1747
+ isError: !1,
1748
+ isSuccess: !1,
1749
+ dimensions: void 0,
1750
+ error: void 0,
1751
+ status: "loading"
1752
+ });
1753
+ return e.subscribe((r) => {
1754
+ o(r);
1755
+ }), e.run(l(t)), g([...b(t)], () => {
1756
+ e.run(l(t));
1757
+ }), A(() => {
1758
+ e.destroy();
1759
+ }), h(n.value);
1760
+ }, vn = (t) => {
1761
+ S("useGetDashboardModel");
1762
+ const [e, n] = R(B, {
1744
1763
  isLoading: !0,
1745
1764
  isError: !1,
1746
1765
  isSuccess: !1,
1747
1766
  status: "loading",
1748
1767
  error: void 0,
1749
1768
  data: void 0
1750
- }), i = x(), o = async (r) => {
1769
+ }), o = M(), r = G(), s = async (c) => {
1751
1770
  try {
1752
1771
  n({ type: "loading" });
1753
- const { dashboardOid: a, includeWidgets: u, includeFilters: y } = d(t), O = await qt(r.httpClient, a, {
1754
- includeWidgets: u,
1755
- includeFilters: y
1756
- });
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
+ );
1757
1779
  n({ type: "success", data: O });
1758
1780
  } catch (a) {
1759
1781
  n({ type: "error", error: a });
1760
1782
  }
1761
1783
  };
1762
1784
  g(
1763
- [...h(t), i],
1785
+ [...b(t), o, r],
1764
1786
  () => {
1765
- const { app: r } = i.value, { enabled: a } = d(t);
1766
- !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);
1767
1789
  },
1768
1790
  { immediate: !0 }
1769
1791
  );
1770
- const s = b(e.value);
1771
- return b(Mt(s));
1772
- }, jn = (t) => {
1773
- F("useGetDashboardModels");
1774
- const [e, n] = q(B, {
1792
+ const i = h(e.value);
1793
+ return h(Tt(i));
1794
+ }, Pn = (t) => {
1795
+ S("useGetDashboardModels");
1796
+ const [e, n] = R(B, {
1775
1797
  isLoading: !0,
1776
1798
  isError: !1,
1777
1799
  isSuccess: !1,
1778
1800
  status: "loading",
1779
1801
  error: void 0,
1780
1802
  data: void 0
1781
- }), i = x(), o = async (r) => {
1803
+ }), o = M(), r = G(), s = async (c) => {
1782
1804
  try {
1783
1805
  n({ type: "loading" });
1784
- const a = d(t), u = await Tt(r.httpClient, a);
1785
- n({ type: "success", data: u });
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 });
1786
1813
  } catch (a) {
1787
1814
  n({ type: "error", error: a });
1788
1815
  }
1789
1816
  };
1790
1817
  g(
1791
- [...h(t), i],
1818
+ [...b(t), o, r],
1792
1819
  () => {
1793
- const { app: r } = i.value, { enabled: a } = d(t);
1794
- !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);
1795
1822
  },
1796
1823
  { immediate: !0 }
1797
1824
  );
1798
- const s = b(e.value);
1799
- return b(Rt(s));
1800
- }, mn = (t) => {
1801
- F("useGetSharedFormula");
1802
- const e = new w(Wt, [
1803
- R()
1804
- ]), [n, i] = W({
1825
+ const i = h(e.value);
1826
+ return h(Bt(i));
1827
+ }, xn = (t) => {
1828
+ S("useGetSharedFormula");
1829
+ const e = new x($t, [
1830
+ w()
1831
+ ]), [n, o] = W({
1805
1832
  isLoading: !0,
1806
1833
  isError: !1,
1807
1834
  isSuccess: !1,
@@ -1809,99 +1836,99 @@ const he = c({
1809
1836
  error: void 0,
1810
1837
  formula: null
1811
1838
  });
1812
- return e.subscribe((o) => {
1813
- i(o);
1814
- }), e.run(d(t)), g([...h(t)], () => {
1815
- e.run(d(t));
1816
- }), M(() => {
1839
+ return e.subscribe((r) => {
1840
+ o(r);
1841
+ }), e.run(l(t)), g([...b(t)], () => {
1842
+ e.run(l(t));
1843
+ }), A(() => {
1817
1844
  e.destroy();
1818
- }), b(n.value);
1819
- }, vn = (t) => {
1820
- F("useGetWidgetModel");
1821
- const [e, n] = q(B, {
1845
+ }), h(n.value);
1846
+ }, An = (t) => {
1847
+ S("useGetWidgetModel");
1848
+ const [e, n] = R(B, {
1822
1849
  isLoading: !0,
1823
1850
  isError: !1,
1824
1851
  isSuccess: !1,
1825
1852
  status: "loading",
1826
1853
  error: void 0,
1827
1854
  data: void 0
1828
- }), i = x(), o = async (s) => {
1855
+ }), o = M(), r = async (s) => {
1829
1856
  try {
1830
1857
  n({ type: "loading" });
1831
- const { dashboardOid: r, widgetOid: a } = d(t), u = await Et(s.httpClient, r, a);
1832
- n({ type: "success", data: u });
1833
- } catch (r) {
1834
- 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 });
1835
1862
  }
1836
1863
  };
1837
1864
  return g(
1838
- [...h(t), i],
1865
+ [...b(t), o],
1839
1866
  () => {
1840
- const { app: s } = i.value, { enabled: r } = d(t);
1841
- !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);
1842
1869
  },
1843
1870
  { immediate: !0 }
1844
- ), b(e.value);
1845
- }, Pn = (t) => {
1846
- F("useGetHierarchyModels");
1847
- const [e, n] = q(B, {
1871
+ ), h(e.value);
1872
+ }, Mn = (t) => {
1873
+ S("useGetHierarchyModels");
1874
+ const [e, n] = R(B, {
1848
1875
  isLoading: !0,
1849
1876
  isError: !1,
1850
1877
  isSuccess: !1,
1851
1878
  status: "loading",
1852
1879
  error: void 0,
1853
1880
  data: void 0
1854
- }), i = x(), o = async (s) => {
1881
+ }), o = M(), r = async (s) => {
1855
1882
  try {
1856
1883
  n({ type: "loading" });
1857
- const r = await Bt(s.httpClient, d(t));
1858
- n({ type: "success", data: r });
1859
- } catch (r) {
1860
- 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 });
1861
1888
  }
1862
1889
  };
1863
1890
  return g(
1864
- [...h(t), i],
1891
+ [...b(t), o],
1865
1892
  () => {
1866
- const { app: s } = i.value, { enabled: r } = d(t);
1867
- !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);
1868
1895
  },
1869
1896
  { immediate: !0 }
1870
- ), b(e.value);
1871
- }, xn = (t, e, n) => {
1872
- const [i, o] = q(B, {
1897
+ ), h(e.value);
1898
+ }, wn = (t, e, n) => {
1899
+ const [o, r] = R(B, {
1873
1900
  isLoading: !0,
1874
1901
  isError: !1,
1875
1902
  isSuccess: !1,
1876
1903
  status: "loading",
1877
1904
  error: void 0,
1878
1905
  data: void 0
1879
- }), s = x(), r = async (a) => {
1906
+ }), s = M(), i = async (c) => {
1880
1907
  try {
1881
- o({ type: "loading" });
1882
- const u = L(t), y = e ? d(e) : {}, O = n ? d(n) : {}, f = {
1883
- requestConfig: O.requestConfig ? d(O.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) : {},
1884
1911
  skipTrackingParam: !0
1885
- }, p = await a.call(
1886
- a.url + u,
1887
- y,
1888
- f
1912
+ }, y = await c.call(
1913
+ c.url + a,
1914
+ p,
1915
+ O
1889
1916
  );
1890
- o({ type: "success", data: p });
1891
- } catch (u) {
1892
- o({ type: "error", error: u });
1917
+ r({ type: "success", data: y });
1918
+ } catch (a) {
1919
+ r({ type: "error", error: a });
1893
1920
  }
1894
1921
  };
1895
1922
  return g(
1896
- [...h(t, e, n), s],
1923
+ [...b(t, e, n), s],
1897
1924
  () => {
1898
- const { app: a } = s.value, u = d(n || {}).enabled;
1899
- !a || !(u === void 0 || u === !0) || r(a.httpClient);
1925
+ const { app: c } = s.value, a = l(n || {}).enabled;
1926
+ !c || !(a === void 0 || a === !0) || i(c.httpClient);
1900
1927
  },
1901
1928
  { immediate: !0 }
1902
- ), b(i.value);
1929
+ ), h(o.value);
1903
1930
  };
1904
- class ge {
1931
+ class Se {
1905
1932
  constructor(e, n) {
1906
1933
  E(this, "app", null);
1907
1934
  E(this, "container", null);
@@ -1919,11 +1946,11 @@ class ge {
1919
1946
  mount(e, n) {
1920
1947
  if (this.app || this.isDestroyed)
1921
1948
  return;
1922
- this.container = e, this.propsRef = m(n);
1923
- const i = {
1924
- setup: () => () => ne(this.componentClass, this.propsRef.value)
1949
+ this.container = e, this.propsRef = j(n);
1950
+ const o = {
1951
+ setup: () => () => ie(this.componentClass, this.propsRef.value)
1925
1952
  };
1926
- this.app = ee(i), this.app.provide(ae, this.contexts.sisenseContext), this.app.provide(ce, this.contexts.themeContext), this.app.provide(ue, 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);
1927
1954
  }
1928
1955
  /**
1929
1956
  * Updates the props on the existing Vue component instance.
@@ -1949,8 +1976,8 @@ class ge {
1949
1976
  return this.app !== null && !this.isDestroyed;
1950
1977
  }
1951
1978
  }
1952
- const An = () => {
1953
- const t = le(), e = x(), n = de(), i = t;
1979
+ const qn = () => {
1980
+ const t = ye(), e = M(), n = G(), o = t;
1954
1981
  return {
1955
1982
  /**
1956
1983
  * Registers a new custom widget.
@@ -1958,19 +1985,31 @@ const An = () => {
1958
1985
  * @param customWidgetType - The unique identifier for the custom widget type.
1959
1986
  * @param customWidget - The custom widget component to register.
1960
1987
  */
1961
- registerCustomWidget: (o, s) => {
1962
- const r = {
1988
+ registerCustomWidget: (r, s) => {
1989
+ const i = {
1963
1990
  sisenseContext: e,
1964
1991
  themeContext: n,
1965
- customWidgetsContext: i
1966
- }, a = () => new ge(s, r), u = (y) => $t(kt, {
1967
- adapterFactory: a,
1968
- componentProps: y
1992
+ customWidgetsContext: o
1993
+ }, c = () => new Se(s, i), a = (p) => Lt(Gt, {
1994
+ adapterFactory: c,
1995
+ componentProps: p
1996
+ });
1997
+ t.value.customWidgetsMap.has(r) || (t.value.customWidgetsMap.set(
1998
+ r,
1999
+ a
2000
+ ), t.value = {
2001
+ customWidgetsMap: new Map(t.value.customWidgetsMap)
2002
+ });
2003
+ },
2004
+ /**
2005
+ * Unregisters a custom widget for the given type name.
2006
+ *
2007
+ * @param customWidgetType - The unique identifier for the custom widget type.
2008
+ */
2009
+ unregisterCustomWidget: (r) => {
2010
+ t.value.customWidgetsMap.delete(r) && (t.value = {
2011
+ customWidgetsMap: new Map(t.value.customWidgetsMap)
1969
2012
  });
1970
- t.value.customWidgetsMap.has(o) || t.value.customWidgetsMap.set(
1971
- o,
1972
- u
1973
- );
1974
2013
  },
1975
2014
  /**
1976
2015
  * Checks if a custom widget is registered.
@@ -1978,45 +2017,45 @@ const An = () => {
1978
2017
  * @param customWidgetType - The type of the custom widget.
1979
2018
  * @returns True if the custom widget is registered, false otherwise.
1980
2019
  */
1981
- hasCustomWidget: (o) => t.value.customWidgetsMap.has(o)
2020
+ hasCustomWidget: (r) => t.value.customWidgetsMap.has(r)
1982
2021
  };
1983
- }, wn = (t, e = {}) => {
1984
- F("useComposedDashboard");
1985
- const n = new w(Qt, [
1986
- R()
1987
- ]), [i, o] = W(d(t));
1988
- n.subscribe(({ dashboard: a }) => {
1989
- o(a);
1990
- }), n.run(d(t), e), g([...h(t)], () => {
1991
- n.run(d(t), e);
1992
- }), M(() => {
2022
+ }, Rn = (t, e = {}) => {
2023
+ S("useComposedDashboard");
2024
+ const n = new x(_t, [
2025
+ w()
2026
+ ]), [o, r] = W(l(t));
2027
+ n.subscribe(({ dashboard: c }) => {
2028
+ r(c);
2029
+ }), n.run(l(t), e), g([...b(t)], () => {
2030
+ n.run(l(t), e);
2031
+ }), A(() => {
1993
2032
  n.destroy();
1994
2033
  });
1995
- const s = _(n, "setFilters"), r = _(n, "setWidgetsLayout");
2034
+ const s = J(n, "setFilters"), i = J(n, "setWidgetsLayout");
1996
2035
  return {
1997
- dashboard: i,
2036
+ dashboard: o,
1998
2037
  setFilters: s,
1999
- setWidgetsLayout: r
2038
+ setWidgetsLayout: i
2000
2039
  };
2001
- }, Mn = (t, e) => {
2002
- F("useJtdWidget");
2003
- const n = new w(It, [
2004
- R(),
2005
- pe()
2006
- ]), i = m(null);
2040
+ }, Wn = (t, e) => {
2041
+ S("useJtdWidget");
2042
+ const n = new x(Ht, [
2043
+ w(),
2044
+ he()
2045
+ ]), o = j(null);
2007
2046
  n.subscribe((s) => {
2008
- i.value = s;
2047
+ o.value = s;
2009
2048
  });
2010
- const o = () => {
2011
- const s = re(t), r = d(e);
2012
- n.run(s, r);
2049
+ const r = () => {
2050
+ const s = se(t), i = l(e);
2051
+ n.run(s, i);
2013
2052
  };
2014
- return o(), g([...h(t), ...h(e)], () => {
2015
- o();
2016
- }), M(() => {
2053
+ return r(), g([...b(t), ...b(e)], () => {
2054
+ r();
2055
+ }), A(() => {
2017
2056
  n.destroy();
2018
- }), i;
2019
- }, Oe = c({
2057
+ }), o;
2058
+ }, Fe = u({
2020
2059
  props: {
2021
2060
  /**
2022
2061
  * {@inheritDoc @sisense/sdk-ui!ContextMenuProps.closeContextMenu}
@@ -2034,8 +2073,8 @@ const An = () => {
2034
2073
  */
2035
2074
  position: Object
2036
2075
  },
2037
- setup: (t, { slots: e }) => N(Lt, t, e, [])
2038
- }), Se = ({
2076
+ setup: (t, { slots: e }) => U(Vt, t, e, [])
2077
+ }), fe = ({
2039
2078
  drilldownPaths: t,
2040
2079
  initialDimension: e
2041
2080
  }) => {
@@ -2043,52 +2082,52 @@ const An = () => {
2043
2082
  throw new Error(
2044
2083
  "Initial dimension has to be specified to use drilldown with custom components"
2045
2084
  );
2046
- const n = m([]), i = m(), o = m([]), s = m([]), r = I(() => [
2047
- Gt(e),
2048
- ...n.value.map(({ nextDimension: p }) => p)
2049
- ]), a = I(
2050
- () => t.value.filter((p) => {
2051
- if (be.isAttribute(p)) {
2052
- const P = p;
2053
- return r.value.every(
2054
- (A) => !H(A, 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)
2055
2094
  );
2056
2095
  }
2057
- const j = p;
2058
- return r.value.every(
2059
- (P, A) => H(P, j.levels[A])
2096
+ const m = y;
2097
+ return i.value.every(
2098
+ (P, q) => N(P, m.levels[q])
2060
2099
  );
2061
2100
  })
2062
- ), u = (p, S, j) => {
2063
- n.value = _t(
2101
+ ), a = (y, f, m) => {
2102
+ n.value = Nt(
2064
2103
  n.value,
2065
- p,
2066
- S,
2067
- j
2068
- ), f();
2069
- }, y = (p) => {
2070
- n.value = n.value.slice(0, p), f();
2104
+ y,
2105
+ f,
2106
+ m
2107
+ ), O();
2108
+ }, p = (y) => {
2109
+ n.value = n.value.slice(0, y), O();
2110
+ }, F = () => {
2111
+ n.value = [], O();
2071
2112
  }, O = () => {
2072
- n.value = [], f();
2073
- }, f = () => {
2074
- const p = (j) => j === "drilldown.breadcrumbsAllSuffix" ? "All" : j, S = Ht(
2113
+ const y = (m) => m === "drilldown.breadcrumbsAllSuffix" ? "All" : m, f = zt(
2075
2114
  n.value,
2076
2115
  e,
2077
- p
2116
+ y
2078
2117
  );
2079
- i.value = S.drilldownDimension, o.value = S.drilldownFilters, s.value = S.drilldownFiltersDisplayValues;
2118
+ o.value = f.drilldownDimension, r.value = f.drilldownFilters, s.value = f.drilldownFiltersDisplayValues;
2080
2119
  };
2081
- return f(), {
2120
+ return O(), {
2082
2121
  drilldownSelections: n,
2083
- availableDrilldownPaths: a,
2084
- drilldownDimension: i,
2085
- drilldownFilters: o,
2122
+ availableDrilldownPaths: c,
2123
+ drilldownDimension: o,
2124
+ drilldownFilters: r,
2086
2125
  drilldownFiltersDisplayValues: s,
2087
- selectDrilldown: u,
2088
- sliceDrilldownSelections: y,
2089
- clearDrilldownSelections: O
2126
+ selectDrilldown: a,
2127
+ sliceDrilldownSelections: p,
2128
+ clearDrilldownSelections: F
2090
2129
  };
2091
- }, Fe = c({
2130
+ }, Ce = u({
2092
2131
  props: {
2093
2132
  /**
2094
2133
  * {@inheritDoc @sisense/sdk-ui!DrilldownWidgetProps.config}
@@ -2124,81 +2163,81 @@ const An = () => {
2124
2163
  },
2125
2164
  setup: () => {
2126
2165
  }
2127
- }), fe = { style: { display: "flex", "flex-direction": "column", height: "100%" } }, Ce = { style: { "flex-grow": "1", "min-wdith": "0", "min-height": "0" } }, qn = /* @__PURE__ */ c({
2166
+ }), De = { style: { display: "flex", "flex-direction": "column", height: "100%" } }, me = { style: { "flex-grow": "1", "min-wdith": "0", "min-height": "0" } }, Tn = /* @__PURE__ */ u({
2128
2167
  __name: "drilldown-widget",
2129
- props: Fe.props,
2168
+ props: Ce.props,
2130
2169
  setup(t) {
2131
- const e = t, { drilldownPaths: n, initialDimension: i, config: o } = b(e), s = m(null), r = m([]), {
2132
- drilldownFilters: a,
2170
+ const e = t, { drilldownPaths: n, initialDimension: o, config: r } = h(e), s = j(null), i = j([]), {
2171
+ drilldownFilters: c,
2133
2172
  // computed
2134
- drilldownDimension: u,
2173
+ drilldownDimension: a,
2135
2174
  // computed
2136
- drilldownFiltersDisplayValues: y,
2175
+ drilldownFiltersDisplayValues: p,
2137
2176
  // computed
2138
- availableDrilldownPaths: O,
2177
+ availableDrilldownPaths: F,
2139
2178
  // computed
2140
- selectDrilldown: f,
2141
- sliceDrilldownSelections: p,
2142
- clearDrilldownSelections: S
2143
- } = Se({
2179
+ selectDrilldown: O,
2180
+ sliceDrilldownSelections: y,
2181
+ clearDrilldownSelections: f
2182
+ } = fe({
2144
2183
  drilldownPaths: n,
2145
- initialDimension: i.value
2146
- }), j = (D) => {
2147
- f(r.value, D);
2184
+ initialDimension: o.value
2185
+ }), m = (D) => {
2186
+ O(i.value, D);
2148
2187
  }, P = I(() => {
2149
- const D = (k) => k === "drilldown.drillMenuItem" ? "Drill" : k;
2150
- return [
2151
- Vt(r.value, u.value),
2152
- Jt(
2153
- O.value,
2154
- u.value,
2155
- j,
2156
- D
2157
- )
2158
- ];
2159
- }), A = (D) => {
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] : [$];
2198
+ }), q = (D) => {
2160
2199
  s.value = D;
2161
- }, $ = (D) => {
2162
- r.value = D;
2163
- }, G = () => {
2200
+ }, k = (D) => {
2201
+ i.value = D;
2202
+ }, _ = () => {
2164
2203
  s.value = null;
2165
2204
  };
2166
- return (D, k) => (oe(), ie("div", fe, [
2205
+ return (D, $) => (ae(), ce("div", De, [
2167
2206
  Q(D.$slots, "contextMenu", {
2168
- contextMenuProps: { position: s.value, itemSections: P.value, closeContextMenu: G }
2207
+ contextMenuProps: { position: s.value, itemSections: P.value, closeContextMenu: _ }
2169
2208
  }, () => [
2170
- V(C(Oe), {
2209
+ z(C(Fe), {
2171
2210
  position: s.value,
2172
2211
  itemSections: P.value,
2173
- closeContextMenu: G
2212
+ closeContextMenu: _
2174
2213
  }, null, 8, ["position", "itemSections"])
2175
2214
  ]),
2176
2215
  Q(D.$slots, "breadcrumbs", {
2177
2216
  drilldownBreadcrumbsProps: {
2178
- clearDrilldownSelections: C(S),
2179
- sliceDrilldownSelections: C(p),
2180
- drilldownFiltersDisplayValues: C(y),
2181
- drilldownDimension: C(u)
2217
+ clearDrilldownSelections: C(f),
2218
+ sliceDrilldownSelections: C(y),
2219
+ drilldownFiltersDisplayValues: C(p),
2220
+ drilldownDimension: C(a)
2182
2221
  }
2183
2222
  }, () => [
2184
- V(C(he), {
2185
- "clear-drilldown-selections": C(S),
2186
- "slice-drilldown-selections": C(p),
2187
- "filters-display-values": C(y),
2188
- "current-dimension": C(u)
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)
2189
2228
  }, null, 8, ["clear-drilldown-selections", "slice-drilldown-selections", "filters-display-values", "current-dimension"])
2190
2229
  ]),
2191
- se("div", Ce, [
2230
+ ue("div", me, [
2192
2231
  Q(D.$slots, "chart", {
2193
- drilldownFilters: C(a),
2194
- drilldownDimension: C(u),
2195
- onDataPointsSelected: $,
2196
- onContextMenu: A
2232
+ drilldownFilters: C(c),
2233
+ drilldownDimension: C(a),
2234
+ onDataPointsSelected: k,
2235
+ onContextMenu: q
2197
2236
  })
2198
2237
  ])
2199
2238
  ]));
2200
2239
  }
2201
- }), Rn = c({
2240
+ }), En = u({
2202
2241
  props: {
2203
2242
  /**
2204
2243
  * {@inheritDoc @sisense/sdk-ui!ChartWidgetProps.bottomSlot}
@@ -2319,8 +2358,8 @@ const An = () => {
2319
2358
  */
2320
2359
  onDataReady: Function
2321
2360
  },
2322
- setup: (t) => l(Nt, t)
2323
- }), Tn = c({
2361
+ setup: (t) => d(Xt, t)
2362
+ }), Bn = u({
2324
2363
  props: {
2325
2364
  /** @internal */
2326
2365
  bottomSlot: Object,
@@ -2427,24 +2466,8 @@ const An = () => {
2427
2466
  */
2428
2467
  onDataReady: Function
2429
2468
  },
2430
- setup: (t) => l(zt, t)
2431
- }), Wn = c({
2432
- props: {
2433
- bottomSlot: Object,
2434
- dataOptions: {
2435
- type: Object,
2436
- required: !0
2437
- },
2438
- dataSource: [String, Object],
2439
- description: String,
2440
- filters: [Object, Array],
2441
- styleOptions: Object,
2442
- title: String,
2443
- topSlot: Object,
2444
- widgetStyleOptions: Object
2445
- },
2446
- setup: (t) => l(Kt, t)
2447
- }), En = c({
2469
+ setup: (t) => d(Yt, t)
2470
+ }), kn = u({
2448
2471
  props: {
2449
2472
  /**
2450
2473
  * {@inheritDoc @sisense/sdk-ui!PivotTableWidgetProps.dataOptions}
@@ -2538,8 +2561,8 @@ const An = () => {
2538
2561
  */
2539
2562
  onHeaderCellFormat: Function
2540
2563
  },
2541
- setup: (t) => l(Ut, t)
2542
- }), Bn = c({
2564
+ setup: (t) => d(Zt, t)
2565
+ }), $n = u({
2543
2566
  props: {
2544
2567
  /**
2545
2568
  * Unique identifier of the widget
@@ -2664,8 +2687,8 @@ const An = () => {
2664
2687
  */
2665
2688
  onDataPointsSelected: Function
2666
2689
  },
2667
- setup: (t) => l(Xt, t)
2668
- }), $n = c({
2690
+ setup: (t) => d(te, t)
2691
+ }), Qn = u({
2669
2692
  props: {
2670
2693
  /**
2671
2694
  * {@inheritDoc @sisense/sdk-ui!DashboardByIdProps.dashboardOid}
@@ -2679,8 +2702,8 @@ const An = () => {
2679
2702
  */
2680
2703
  config: Object
2681
2704
  },
2682
- setup: (t) => l(Yt, t)
2683
- }), kn = c({
2705
+ setup: (t) => d(ee, t)
2706
+ }), In = u({
2684
2707
  props: {
2685
2708
  /**
2686
2709
  * {@inheritDoc @sisense/sdk-ui!DashboardProps.title}
@@ -2718,118 +2741,118 @@ const An = () => {
2718
2741
  */
2719
2742
  styleOptions: Object
2720
2743
  },
2721
- setup: (t) => l(Zt, t)
2744
+ setup: (t) => d(ne, t)
2722
2745
  });
2723
- function De(t) {
2724
- return te.toDashboardProps(t);
2746
+ function je(t) {
2747
+ return re.toDashboardProps(t);
2725
2748
  }
2726
- const Qn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2749
+ const Ln = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2727
2750
  __proto__: null,
2728
- toDashboardProps: De
2729
- }, Symbol.toStringTag, { value: "Module" })), je = (t, e) => T.replaceFilters(t, e), me = (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(
2730
2753
  t,
2731
2754
  e,
2732
2755
  n
2733
- ), 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({
2734
2757
  __proto__: null,
2735
- addFilter: me,
2736
- addFilters: ve,
2737
- removeFilter: xe,
2738
- removeFilters: Ae,
2739
- replaceFilter: Pe,
2740
- replaceFilters: je
2741
- }, Symbol.toStringTag, { value: "Module" })), we = (t) => v.toExecuteQueryParams(t), Me = (t) => v.toExecutePivotQueryParams(t);
2742
- 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) {
2743
2766
  return v.toChartProps(t);
2744
2767
  }
2745
- function Re(t) {
2768
+ function Te(t) {
2746
2769
  return v.toTableProps(t);
2747
2770
  }
2748
- function Te(t) {
2771
+ function Ee(t) {
2749
2772
  return v.toPivotTableProps(t);
2750
2773
  }
2751
- function We(t) {
2774
+ function Be(t) {
2752
2775
  return v.toChartWidgetProps(t);
2753
2776
  }
2754
- function Ee(t) {
2777
+ function ke(t) {
2755
2778
  return v.toPivotTableWidgetProps(t);
2756
2779
  }
2757
- function Be(t) {
2780
+ function $e(t) {
2758
2781
  return v.toTextWidgetProps(t);
2759
2782
  }
2760
- function $e(t) {
2783
+ function Qe(t) {
2761
2784
  return v.toWidgetProps(t);
2762
2785
  }
2763
- const Ln = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2786
+ const _n = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2764
2787
  __proto__: null,
2765
- toChartProps: qe,
2766
- toChartWidgetProps: We,
2767
- toExecutePivotQueryParams: Me,
2768
- toExecuteQueryParams: we,
2769
- toPivotTableProps: Te,
2770
- toPivotTableWidgetProps: Ee,
2771
- toTableProps: Re,
2772
- toTextWidgetProps: Be,
2773
- toWidgetProps: $e
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
2774
2797
  }, Symbol.toStringTag, { value: "Module" }));
2775
2798
  export {
2776
- _e as AreaChart,
2777
- un as AreaRangeChart,
2778
- sn as AreamapChart,
2779
- He as BarChart,
2780
- on as BoxplotChart,
2781
- Ve as CalendarHeatmapChart,
2782
- rn as Chart,
2783
- Rn as ChartWidget,
2784
- Je as ColumnChart,
2785
- Oe as ContextMenu,
2786
- pn as CriteriaFilterTile,
2787
- Nn as CustomWidgetsProvider,
2788
- kn as Dashboard,
2789
- $n as DashboardById,
2790
- ln as DateRangeFilterTile,
2791
- he as DrilldownBreadcrumbs,
2792
- qn as DrilldownWidget,
2793
- bn as FilterTile,
2794
- hn as FiltersPanel,
2795
- Ne as FunnelChart,
2796
- nn as IndicatorChart,
2797
- ze as LineChart,
2798
- dn as MemberFilterTile,
2799
- Ke as PieChart,
2800
- Ye as PivotTable,
2801
- En as PivotTableWidget,
2802
- en as PolarChart,
2803
- yn as RelativeDateFilterTile,
2804
- Ue as ScatterChart,
2805
- an as ScattermapChart,
2806
- zn as SisenseContextProvider,
2807
- cn as StreamgraphChart,
2808
- tn as SunburstChart,
2809
- Xe as Table,
2810
- Wn as TableWidget,
2811
- Kn as ThemeProvider,
2812
- Ze as TreemapChart,
2813
- Bn as Widget,
2814
- Tn as WidgetById,
2815
- Hn as boxWhiskerProcessResult,
2816
- In as dashboardHelpers,
2817
- Qn as dashboardModelTranslator,
2818
- Vn as extractDimensionsAndMeasures,
2819
- wn as useComposedDashboard,
2820
- An as useCustomWidgets,
2821
- Sn as useExecuteCsvQuery,
2822
- fn as useExecuteCustomWidgetQuery,
2823
- Fn as useExecutePivotQuery,
2824
- gn as useExecuteQuery,
2825
- On as useExecuteQueryByWidgetId,
2826
- xn as useFetch,
2827
- Dn as useGetDashboardModel,
2828
- jn as useGetDashboardModels,
2829
- Cn as useGetFilterMembers,
2830
- Pn as useGetHierarchyModels,
2831
- mn as useGetSharedFormula,
2832
- vn as useGetWidgetModel,
2833
- Mn as useJtdWidget,
2834
- 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
2835
2858
  };