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