@shtabapp/ui-kit 1.61.0 → 1.63.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.
Files changed (113) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/dist/SChartBar-BVgwPlYi.js +215 -0
  3. package/dist/SChartBar-CBU1uCuL.cjs +1 -0
  4. package/dist/SChartBurnup-Ch3UMa9w.cjs +1 -0
  5. package/dist/{SChartBurnup-Dxi0MBwo.js → SChartBurnup-DyJHdRlf.js} +75 -75
  6. package/dist/SChartHorizontalBar-Bv90SV6E.cjs +1 -0
  7. package/dist/{SChartHorizontalBar-XNasKzaO.js → SChartHorizontalBar-DDo6TfE8.js} +28 -28
  8. package/dist/{SChartLine-DSQaezYq.js → SChartLine-Cs1JzPEK.js} +29 -29
  9. package/dist/SChartLine-nIGaef_o.cjs +1 -0
  10. package/dist/SChartMultiLine-BzoW4ETf.cjs +1 -0
  11. package/dist/SChartMultiLine-DqCQ7FCv.js +204 -0
  12. package/dist/{SChartPie-bN8rY-y5.js → SChartPie-Bt3o7LZI.js} +55 -55
  13. package/dist/SChartPie-Bv5Obcwb.cjs +1 -0
  14. package/dist/{SChartProgress-BtwqE4xL.js → SChartProgress-uMg4DBpS.js} +30 -30
  15. package/dist/SChartProgress-xxqrj03o.cjs +1 -0
  16. package/dist/SChartStackedArea-BNe6FAg8.cjs +1 -0
  17. package/dist/{SChartStackedArea-BxUex_Di.js → SChartStackedArea-BQGnKp1i.js} +58 -58
  18. package/dist/SChartStackedBar-D1G-VloG.cjs +1 -0
  19. package/dist/SChartStackedBar-fiUU9lNp.js +245 -0
  20. package/dist/{SSegmentControl-CAoM03V6.js → SSegmentControl-B9KkAQiG.js} +11 -9
  21. package/dist/SSegmentControl-OXTka86u.cjs +1 -0
  22. package/dist/areChartSeriesAligned-DiBX3TTk.cjs +1 -0
  23. package/dist/{buildChartSeriesPoints-D8Xpfwp7.js → areChartSeriesAligned-DjonrIMm.js} +2 -8
  24. package/dist/buildChartSeriesPoints-BTyOpkin.js +10 -0
  25. package/dist/buildChartSeriesPoints-Cqo2ed-n.cjs +1 -0
  26. package/dist/components/SBanner/SBanner.types.d.ts +5 -0
  27. package/dist/components/SBanner/SBanner.types.d.ts.map +1 -1
  28. package/dist/components/SBanner/SBanner.vue.d.ts.map +1 -1
  29. package/dist/components/SChartBar/SChartBar.types.d.ts +47 -0
  30. package/dist/components/SChartBar/SChartBar.types.d.ts.map +1 -0
  31. package/dist/components/SChartBar/SChartBar.vue.d.ts +11 -0
  32. package/dist/components/SChartBar/SChartBar.vue.d.ts.map +1 -0
  33. package/dist/components/SChartBar/index.d.ts +3 -0
  34. package/dist/components/SChartBar/index.d.ts.map +1 -0
  35. package/dist/components/SChartBar/utils/buildBarChartConfig.d.ts +16 -0
  36. package/dist/components/SChartBar/utils/buildBarChartConfig.d.ts.map +1 -0
  37. package/dist/components/SChartBar/utils/createBarTargetLinePlugin.d.ts +9 -0
  38. package/dist/components/SChartBar/utils/createBarTargetLinePlugin.d.ts.map +1 -0
  39. package/dist/components/SChartBar/utils/demoBarSeries.d.ts +9 -0
  40. package/dist/components/SChartBar/utils/demoBarSeries.d.ts.map +1 -0
  41. package/dist/components/SChartBar/utils/skeletonBarSeries.d.ts +5 -0
  42. package/dist/components/SChartBar/utils/skeletonBarSeries.d.ts.map +1 -0
  43. package/dist/components/SChartMultiLine/SChartMultiLine.types.d.ts +2 -0
  44. package/dist/components/SChartMultiLine/SChartMultiLine.types.d.ts.map +1 -1
  45. package/dist/components/SChartMultiLine/SChartMultiLine.vue.d.ts.map +1 -1
  46. package/dist/components/SChartMultiLine/utils/buildMultiLineChartConfig.d.ts +2 -1
  47. package/dist/components/SChartMultiLine/utils/buildMultiLineChartConfig.d.ts.map +1 -1
  48. package/dist/components/SList/utils/resolveListItemFields.d.ts +1 -1
  49. package/dist/components/SList/utils/resolveListItemFields.d.ts.map +1 -1
  50. package/dist/components/SNotification/SNotification.types.d.ts +6 -0
  51. package/dist/components/SNotification/SNotification.types.d.ts.map +1 -1
  52. package/dist/components/SNotification/SNotification.vue.d.ts.map +1 -1
  53. package/dist/components/SSegmentControl/SSegmentControl.types.d.ts +2 -0
  54. package/dist/components/SSegmentControl/SSegmentControl.types.d.ts.map +1 -1
  55. package/dist/components/SSegmentControl/SSegmentControlItem.vue.d.ts.map +1 -1
  56. package/dist/components/SToast/SToast.types.d.ts +5 -0
  57. package/dist/components/SToast/SToast.types.d.ts.map +1 -1
  58. package/dist/components/SToast/SToast.vue.d.ts.map +1 -1
  59. package/dist/components/SToastProvider/SToastProvider.vue.d.ts.map +1 -1
  60. package/dist/{createChartCrosshairPlugin-DwFOncWI.js → createChartCrosshairPlugin-DU5grSok.js} +2 -2
  61. package/dist/createChartCrosshairPlugin-DfYzBie2.cjs +1 -0
  62. package/dist/entries/chart-bar.cjs +1 -0
  63. package/dist/entries/chart-bar.d.ts +3 -0
  64. package/dist/entries/chart-bar.d.ts.map +1 -0
  65. package/dist/entries/chart-bar.js +2 -0
  66. package/dist/entries/chart-burnup.cjs +1 -1
  67. package/dist/entries/chart-burnup.js +1 -1
  68. package/dist/entries/chart-horizontal-bar.cjs +1 -1
  69. package/dist/entries/chart-horizontal-bar.js +1 -1
  70. package/dist/entries/chart-line.cjs +1 -1
  71. package/dist/entries/chart-line.js +1 -1
  72. package/dist/entries/chart-multi-line.cjs +1 -1
  73. package/dist/entries/chart-multi-line.js +1 -1
  74. package/dist/entries/chart-pie.cjs +1 -1
  75. package/dist/entries/chart-pie.js +1 -1
  76. package/dist/entries/chart-progress.cjs +1 -1
  77. package/dist/entries/chart-progress.js +1 -1
  78. package/dist/entries/chart-stacked-area.cjs +1 -1
  79. package/dist/entries/chart-stacked-area.js +1 -1
  80. package/dist/entries/chart-stacked-bar.cjs +1 -1
  81. package/dist/entries/chart-stacked-bar.js +1 -1
  82. package/dist/entries/segment-control.cjs +1 -1
  83. package/dist/entries/segment-control.js +1 -1
  84. package/dist/index.cjs +1 -1
  85. package/dist/index.d.ts +2 -0
  86. package/dist/index.d.ts.map +1 -1
  87. package/dist/index.js +154 -135
  88. package/dist/resolveBarStackedSeriesColor-HDSkh6Mw.cjs +1 -0
  89. package/dist/resolveBarStackedSeriesColor-LpVh1SvQ.js +11 -0
  90. package/dist/resolveSeriesPaletteColor-B5qoBbXN.cjs +1 -0
  91. package/dist/{resolveSeriesPaletteColor-BdvGT-PI.js → resolveSeriesPaletteColor-DcLSyk-D.js} +1 -1
  92. package/dist/{resolveStackedChartContext-DFre3tt0.js → resolveStackedChartContext-CIKVXkDn.js} +6 -6
  93. package/dist/resolveStackedChartContext-CQbgdV55.cjs +1 -0
  94. package/dist/uikit-components.css +1 -1
  95. package/dist/{SChartSkeletonHost-BT96eWSF.js → useChartInteractivity-BATdT86l.js} +126 -126
  96. package/dist/useChartInteractivity-CXSdHPOw.cjs +1 -0
  97. package/package.json +7 -2
  98. package/dist/SChartBurnup-C4x5kik6.cjs +0 -1
  99. package/dist/SChartHorizontalBar-4H-lgfO4.cjs +0 -1
  100. package/dist/SChartLine-BF6Klm4j.cjs +0 -1
  101. package/dist/SChartMultiLine-CrMmphFe.js +0 -198
  102. package/dist/SChartMultiLine-Ddvfmf__.cjs +0 -1
  103. package/dist/SChartPie-namQTFla.cjs +0 -1
  104. package/dist/SChartProgress-DsFHotRv.cjs +0 -1
  105. package/dist/SChartSkeletonHost-Dt5EjQr5.cjs +0 -1
  106. package/dist/SChartStackedArea-BLHs3sSH.cjs +0 -1
  107. package/dist/SChartStackedBar-BJ9LOgSP.js +0 -250
  108. package/dist/SChartStackedBar-CWNyvUj9.cjs +0 -1
  109. package/dist/SSegmentControl-B9jT8Axu.cjs +0 -1
  110. package/dist/buildChartSeriesPoints-Bv3nXvSu.cjs +0 -1
  111. package/dist/createChartCrosshairPlugin-ZZwKUQm8.cjs +0 -1
  112. package/dist/resolveSeriesPaletteColor-hI4YDdUg.cjs +0 -1
  113. package/dist/resolveStackedChartContext-Dsxhhhel.cjs +0 -1
package/dist/index.js CHANGED
@@ -11,7 +11,7 @@ import { n as ce } from "./useSelectLink-2aCIYmF6.js";
11
11
  import { i as le, n as ue, r as de, t as fe } from "./SButtonGroup-DPq5g7bZ.js";
12
12
  import { i as pe, n as me, r as he, t as ge } from "./SCheckbox-BMkOc5cn.js";
13
13
  import { n as _e, t as ve } from "./SCard-DgGxjBUV.js";
14
- import { t as ye } from "./SSegmentControl-CAoM03V6.js";
14
+ import { t as ye } from "./SSegmentControl-B9KkAQiG.js";
15
15
  import { n as be, r as xe, t as Se } from "./STab-ltjZBvbK.js";
16
16
  import { t as Ce } from "./STabs-CU1lSmcH.js";
17
17
  import { i as we, n as Te, r as Ee, t as De } from "./useFloatingOverlay-QcumEYEq.js";
@@ -30,26 +30,27 @@ import { n as tt, r as nt, t as rt } from "./SToggle-sGw-LSNd.js";
30
30
  import { n as it, t as at } from "./SInlineInput-DO_glYxP.js";
31
31
  import { t as ot } from "./STextarea-BDyy7Ku5.js";
32
32
  import { n as st, r as ct, t as lt } from "./SPhotoEdit-CTXpy4AE.js";
33
- import { a as ut, i as dt, n as ft, r as pt, t as mt, v as T, w as E } from "./SChartSkeletonHost-BT96eWSF.js";
34
- import { t as ht } from "./SChartLine-DSQaezYq.js";
35
- import { t as gt } from "./resolveSeriesPaletteColor-BdvGT-PI.js";
36
- import { t as _t } from "./SChartStackedArea-BxUex_Di.js";
37
- import { t as vt } from "./SChartStackedBar-BJ9LOgSP.js";
38
- import { t as yt } from "./SChartHorizontalBar-XNasKzaO.js";
39
- import { t as bt } from "./SChartPie-bN8rY-y5.js";
40
- import { t as xt } from "./SChartMultiLine-CrMmphFe.js";
41
- import { t as St } from "./SChartBurnup-Dxi0MBwo.js";
42
- import { t as Ct } from "./SChartProgress-BtwqE4xL.js";
43
- import { t as wt } from "./SChartLegend-oZoF8XK7.js";
44
- import { t as Tt } from "./useHasListener-RSjlUyqH.js";
45
- import { a as Et, c as Dt, i as Ot, l as kt, n as At, o as jt, r as Mt, s as Nt, t as Pt, u as Ft } from "./buildWorkTimeLegendItems-ChGHTwbn.js";
46
- import { Fragment as It, Teleport as Lt, computed as D, createBlock as O, createCommentVNode as k, createElementBlock as A, createElementVNode as j, createSlots as Rt, createTextVNode as M, createVNode as zt, defineComponent as N, mergeModels as Bt, mergeProps as Vt, normalizeClass as P, normalizeStyle as F, onMounted as Ht, openBlock as I, ref as L, renderList as Ut, renderSlot as R, resolveDynamicComponent as Wt, shallowRef as z, toDisplayString as B, unref as V, useModel as Gt, useSlots as H, useTemplateRef as Kt, watch as qt, withCtx as U } from "vue";
47
- import { ESIconName as W, SIcon as Jt, createUiKit as Yt, setUiKitLocale as Xt, uiKitLocaleEn as Zt, uiKitLocaleRu as Qt, useUiKitI18n as $t, useUiKitI18n as en } from "@shtabapp/ui-kit-primitives";
48
- import { useResizeObserver as tn } from "@vueuse/core";
33
+ import { t as ut } from "./SChartLegend-oZoF8XK7.js";
34
+ import { C as dt, S as T, g as E, n as ft, r as pt, t as mt, w as ht } from "./useChartInteractivity-BATdT86l.js";
35
+ import { t as gt } from "./SChartLine-Cs1JzPEK.js";
36
+ import { t as _t } from "./resolveSeriesPaletteColor-DcLSyk-D.js";
37
+ import { t as vt } from "./SChartStackedArea-BQGnKp1i.js";
38
+ import { t as yt } from "./SChartStackedBar-fiUU9lNp.js";
39
+ import { t as bt } from "./SChartHorizontalBar-DDo6TfE8.js";
40
+ import { t as xt } from "./SChartPie-Bt3o7LZI.js";
41
+ import { t as St } from "./SChartMultiLine-DqCQ7FCv.js";
42
+ import { t as Ct } from "./SChartBurnup-DyJHdRlf.js";
43
+ import { t as wt } from "./useHasListener-RSjlUyqH.js";
44
+ import { t as Tt } from "./SChartBar-BVgwPlYi.js";
45
+ import { t as Et } from "./SChartProgress-uMg4DBpS.js";
46
+ import { a as Dt, c as Ot, i as kt, l as At, n as jt, o as Mt, r as Nt, s as Pt, t as Ft, u as It } from "./buildWorkTimeLegendItems-ChGHTwbn.js";
47
+ import { Fragment as Lt, Teleport as Rt, computed as D, createBlock as O, createCommentVNode as k, createElementBlock as A, createElementVNode as j, createSlots as M, createTextVNode as N, createVNode as zt, defineComponent as P, mergeModels as Bt, mergeProps as Vt, normalizeClass as F, normalizeStyle as I, onMounted as Ht, openBlock as L, ref as R, renderList as Ut, renderSlot as z, resolveDynamicComponent as Wt, shallowRef as B, toDisplayString as V, unref as H, useModel as Gt, useSlots as U, useTemplateRef as W, watch as Kt, withCtx as G } from "vue";
48
+ import { ESIconName as K, SIcon as qt, createUiKit as Jt, setUiKitLocale as Yt, uiKitLocaleEn as Xt, uiKitLocaleRu as Zt, useUiKitI18n as Qt, useUiKitI18n as $t } from "@shtabapp/ui-kit-primitives";
49
+ import { useResizeObserver as en } from "@vueuse/core";
49
50
  export * from "@shtabapp/ui-kit-primitives";
50
51
  export * from "@shtabapp/ui-kit-tokens";
51
52
  //#region src/utils/chart/segmentedBar/resolveSegmentedBarSegmentColor.ts
52
- var G = [
53
+ var tn = [
53
54
  "--s-ui-chart-segmented-bar-palette-1",
54
55
  "--s-ui-chart-segmented-bar-palette-2",
55
56
  "--s-ui-chart-segmented-bar-palette-3",
@@ -58,7 +59,7 @@ var G = [
58
59
  "--s-ui-chart-segmented-bar-palette-6",
59
60
  "--s-ui-chart-segmented-bar-palette-7",
60
61
  "--s-ui-chart-segmented-bar-palette-8"
61
- ], K = [
62
+ ], nn = [
62
63
  "--s-ui-chart-segmented-bar-skeleton-palette-1",
63
64
  "--s-ui-chart-segmented-bar-skeleton-palette-2",
64
65
  "--s-ui-chart-segmented-bar-skeleton-palette-3",
@@ -67,11 +68,11 @@ var G = [
67
68
  "--s-ui-chart-segmented-bar-skeleton-palette-6",
68
69
  "--s-ui-chart-segmented-bar-skeleton-palette-7",
69
70
  "--s-ui-chart-segmented-bar-skeleton-palette-8"
70
- ], nn = (e, t, n, r = !1) => gt(e, t, n, r, {
71
- palette: G,
72
- paletteFallback: G[0],
73
- skeletonPalette: K,
74
- skeletonFallback: K[0]
71
+ ], rn = (e, t, n, r = !1) => _t(e, t, n, r, {
72
+ palette: tn,
73
+ paletteFallback: tn[0],
74
+ skeletonPalette: nn,
75
+ skeletonFallback: nn[0]
75
76
  }), q = /* @__PURE__ */ function(e) {
76
77
  return e.INFO_ACCENT = "info-accent", e.INFO_NORMAL = "info-normal", e.SUCCESS = "success", e.WARNING = "warning", e.DANGER = "danger", e.BILLING = "billing", e;
77
78
  }({}), J = /* @__PURE__ */ function(e) {
@@ -80,20 +81,20 @@ var G = [
80
81
  return e.ICON = "icon", e.AVATAR = "avatar", e;
81
82
  }({}), X = /* @__PURE__ */ function(e) {
82
83
  return e.BANNER = "banner", e.TOAST = "toast", e;
83
- }({}), rn = {
84
- [q.INFO_ACCENT]: W.infoCircle,
85
- [q.INFO_NORMAL]: W.infoCircle,
86
- [q.SUCCESS]: W.checkCircle,
87
- [q.WARNING]: W.alertCircle,
88
- [q.DANGER]: W.dangerCircleFill,
89
- [q.BILLING]: W.infoCircle
90
- }, an = (e, t) => t || rn[e], on = ["role"], sn = { class: "s-ui-notification__body" }, cn = {
84
+ }({}), an = {
85
+ [q.INFO_ACCENT]: K.infoCircle,
86
+ [q.INFO_NORMAL]: K.infoCircle,
87
+ [q.SUCCESS]: K.checkCircle,
88
+ [q.WARNING]: K.alertCircle,
89
+ [q.DANGER]: K.dangerCircleFill,
90
+ [q.BILLING]: K.infoCircle
91
+ }, on = (e, t) => t || an[e], sn = ["role"], cn = { class: "s-ui-notification__body" }, ln = {
91
92
  key: 0,
92
93
  class: "s-ui-notification__leftside"
93
- }, ln = {
94
+ }, un = {
94
95
  key: 0,
95
96
  class: "s-ui-notification__icon"
96
- }, un = { class: "s-ui-notification__content" }, dn = { class: "s-ui-notification__title-row" }, fn = { class: "s-ui-notification__title s-ui-typography-label-14-medium" }, pn = {
97
+ }, dn = { class: "s-ui-notification__content" }, fn = { class: "s-ui-notification__title-row" }, pn = {
97
98
  key: 0,
98
99
  class: "s-ui-notification__description-block"
99
100
  }, mn = {
@@ -105,7 +106,7 @@ var G = [
105
106
  }, gn = {
106
107
  key: 1,
107
108
  class: "s-ui-notification__actions-row"
108
- }, _n = /* @__PURE__ */ N({
109
+ }, _n = /* @__PURE__ */ P({
109
110
  __name: "SNotification",
110
111
  props: {
111
112
  type: { default: () => q.INFO_ACCENT },
@@ -129,7 +130,11 @@ var G = [
129
130
  icon: {},
130
131
  avatar: {},
131
132
  width: {},
132
- maxWidth: {}
133
+ maxWidth: {},
134
+ truncateTitle: {
135
+ type: Boolean,
136
+ default: !1
137
+ }
133
138
  },
134
139
  emits: [
135
140
  "close",
@@ -138,14 +143,14 @@ var G = [
138
143
  "secondaryAction"
139
144
  ],
140
145
  setup(e, { emit: t }) {
141
- let n = t, r = H(), i = D(() => [
146
+ let n = t, r = U(), i = D(() => [
142
147
  `s-ui-notification--type-${e.type}`,
143
148
  `s-ui-notification--layout-${e.layout}`,
144
149
  `s-ui-notification--surface-${e.surface}`
145
150
  ]), a = D(() => {
146
151
  let t = {};
147
152
  return e.width && (t.width = typeof e.width == "number" ? `${e.width}px` : e.width), e.maxWidth && (t.maxWidth = typeof e.maxWidth == "number" ? `${e.maxWidth}px` : e.maxWidth), t;
148
- }), s = D(() => e.type === q.DANGER ? "alert" : "status"), l = D(() => an(e.type, e.icon)), u = D(() => e.type === q.BILLING), d = D(() => !!(e.leftside === Y.AVATAR && e.avatar || e.leftside === Y.ICON)), f = D(() => !!(e.description || e.linkText || r.description)), p = D(() => e.showPrimaryButton && (e.primaryButtonText || e.secondaryButtonText)), m = D(() => e.showPrimaryButton && e.primaryButtonText || e.closable), h = D(() => e.type === q.BILLING ? C.MAJOR : C.OUTLINED), g = D(() => e.type === q.BILLING ? S.BILLING : S.MAIN), _ = () => {
153
+ }), s = D(() => e.type === q.DANGER ? "alert" : "status"), l = D(() => on(e.type, e.icon)), u = D(() => e.type === q.BILLING), d = D(() => !!(e.leftside === Y.AVATAR && e.avatar || e.leftside === Y.ICON)), f = D(() => !!(e.description || e.linkText || r.description)), p = D(() => e.showPrimaryButton && (e.primaryButtonText || e.secondaryButtonText)), m = D(() => e.showPrimaryButton && e.primaryButtonText || e.closable), h = D(() => e.type === q.BILLING ? C.MAJOR : C.OUTLINED), g = D(() => e.type === q.BILLING ? S.BILLING : S.MAIN), _ = () => {
149
154
  n("close");
150
155
  }, v = () => {
151
156
  n("linkClick");
@@ -154,21 +159,21 @@ var G = [
154
159
  }, b = () => {
155
160
  n("secondaryAction");
156
161
  };
157
- return (t, n) => (I(), A("div", {
158
- class: P(["s-ui-notification", i.value]),
159
- style: F(a.value),
162
+ return (t, n) => (L(), A("div", {
163
+ class: F(["s-ui-notification", i.value]),
164
+ style: I(a.value),
160
165
  role: s.value
161
- }, [j("div", sn, [
162
- d.value ? (I(), A("div", cn, [e.leftside === V(Y).ICON ? (I(), A("div", ln, [zt(V(Jt), {
166
+ }, [j("div", cn, [
167
+ d.value ? (L(), A("div", ln, [e.leftside === H(Y).ICON ? (L(), A("div", un, [zt(H(qt), {
163
168
  name: l.value,
164
169
  size: 16,
165
170
  billing: u.value
166
- }, null, 8, ["name", "billing"])])) : e.leftside === V(Y).AVATAR && e.avatar ? (I(), O(V(c), {
171
+ }, null, 8, ["name", "billing"])])) : e.leftside === H(Y).AVATAR && e.avatar ? (L(), O(H(c), {
167
172
  key: 1,
168
173
  name: e.avatar.name,
169
174
  src: e.avatar.src,
170
175
  badge: e.avatar.badge,
171
- size: V(o).SIZE_20,
176
+ size: H(o).SIZE_20,
172
177
  showName: !1
173
178
  }, null, 8, [
174
179
  "name",
@@ -176,13 +181,13 @@ var G = [
176
181
  "badge",
177
182
  "size"
178
183
  ])) : k("", !0)])) : k("", !0),
179
- j("div", un, [
180
- j("div", dn, [j("span", fn, [R(t.$slots, "title", {}, () => [M(B(e.title), 1)])]), e.layout === V(J).VERTICAL && e.closable ? (I(), O(V(w), {
184
+ j("div", dn, [
185
+ j("div", fn, [j("span", { class: F(["s-ui-notification__title s-ui-typography-label-14-medium", { "s-ui-notification__title--truncated": e.truncateTitle }]) }, [z(t.$slots, "title", {}, () => [N(V(e.title), 1)])], 2), e.layout === H(J).VERTICAL && e.closable ? (L(), O(H(w), {
181
186
  key: 0,
182
187
  class: "s-ui-notification__close",
183
- appearance: V(C).BARE,
184
- variant: V(S).NEUTRAL,
185
- size: V(x).SMALL,
188
+ appearance: H(C).BARE,
189
+ variant: H(S).NEUTRAL,
190
+ size: H(x).SMALL,
186
191
  "aria-label": e.closeAriaLabel,
187
192
  icon: "closeMini",
188
193
  onClick: _
@@ -192,42 +197,42 @@ var G = [
192
197
  "size",
193
198
  "aria-label"
194
199
  ])) : k("", !0)]),
195
- f.value ? (I(), A("div", pn, [e.description || V(r).description ? (I(), A("span", mn, [R(t.$slots, "description", {}, () => [M(B(e.description), 1)])])) : k("", !0), e.linkText ? (I(), O(V(w), {
200
+ f.value ? (L(), A("div", pn, [e.description || H(r).description ? (L(), A("span", mn, [z(t.$slots, "description", {}, () => [N(V(e.description), 1)])])) : k("", !0), e.linkText ? (L(), O(H(w), {
196
201
  key: 1,
197
202
  class: "s-ui-notification__link",
198
- appearance: V(C).BARE,
199
- variant: V(S).MAIN,
200
- size: V(x).SMALL,
203
+ appearance: H(C).BARE,
204
+ variant: H(S).MAIN,
205
+ size: H(x).SMALL,
201
206
  onClick: v
202
207
  }, {
203
- default: U(() => [M(B(e.linkText), 1)]),
208
+ default: G(() => [N(V(e.linkText), 1)]),
204
209
  _: 1
205
210
  }, 8, [
206
211
  "appearance",
207
212
  "variant",
208
213
  "size"
209
214
  ])) : k("", !0)])) : k("", !0),
210
- e.layout === V(J).VERTICAL && p.value ? (I(), A("div", hn, [e.showPrimaryButton && e.primaryButtonText ? (I(), O(V(w), {
215
+ e.layout === H(J).VERTICAL && p.value ? (L(), A("div", hn, [e.showPrimaryButton && e.primaryButtonText ? (L(), O(H(w), {
211
216
  key: 0,
212
217
  appearance: h.value,
213
218
  variant: g.value,
214
- size: V(x).SMALL,
219
+ size: H(x).SMALL,
215
220
  onClick: y
216
221
  }, {
217
- default: U(() => [M(B(e.primaryButtonText), 1)]),
222
+ default: G(() => [N(V(e.primaryButtonText), 1)]),
218
223
  _: 1
219
224
  }, 8, [
220
225
  "appearance",
221
226
  "variant",
222
227
  "size"
223
- ])) : k("", !0), e.showPrimaryButton && e.secondaryButtonText ? (I(), O(V(w), {
228
+ ])) : k("", !0), e.showPrimaryButton && e.secondaryButtonText ? (L(), O(H(w), {
224
229
  key: 1,
225
- appearance: V(C).BARE,
226
- variant: V(S).NEUTRAL,
227
- size: V(x).SMALL,
230
+ appearance: H(C).BARE,
231
+ variant: H(S).NEUTRAL,
232
+ size: H(x).SMALL,
228
233
  onClick: b
229
234
  }, {
230
- default: U(() => [M(B(e.secondaryButtonText), 1)]),
235
+ default: G(() => [N(V(e.secondaryButtonText), 1)]),
231
236
  _: 1
232
237
  }, 8, [
233
238
  "appearance",
@@ -235,25 +240,25 @@ var G = [
235
240
  "size"
236
241
  ])) : k("", !0)])) : k("", !0)
237
242
  ]),
238
- e.layout === V(J).HORIZONTAL && m.value ? (I(), A("div", gn, [e.showPrimaryButton && e.primaryButtonText ? (I(), O(V(w), {
243
+ e.layout === H(J).HORIZONTAL && m.value ? (L(), A("div", gn, [e.showPrimaryButton && e.primaryButtonText ? (L(), O(H(w), {
239
244
  key: 0,
240
245
  appearance: h.value,
241
246
  variant: g.value,
242
- size: V(x).SMALL,
247
+ size: H(x).SMALL,
243
248
  onClick: y
244
249
  }, {
245
- default: U(() => [M(B(e.primaryButtonText), 1)]),
250
+ default: G(() => [N(V(e.primaryButtonText), 1)]),
246
251
  _: 1
247
252
  }, 8, [
248
253
  "appearance",
249
254
  "variant",
250
255
  "size"
251
- ])) : k("", !0), e.layout === V(J).HORIZONTAL && e.closable ? (I(), O(V(w), {
256
+ ])) : k("", !0), e.layout === H(J).HORIZONTAL && e.closable ? (L(), O(H(w), {
252
257
  key: 1,
253
258
  class: "s-ui-notification__close",
254
- appearance: V(C).BARE,
255
- variant: V(S).NEUTRAL,
256
- size: V(x).SMALL,
259
+ appearance: H(C).BARE,
260
+ variant: H(S).NEUTRAL,
261
+ size: H(x).SMALL,
257
262
  "aria-label": e.closeAriaLabel,
258
263
  icon: "closeMini",
259
264
  onClick: _
@@ -263,9 +268,9 @@ var G = [
263
268
  "size",
264
269
  "aria-label"
265
270
  ])) : k("", !0)])) : k("", !0)
266
- ])], 14, on));
271
+ ])], 14, sn));
267
272
  }
268
- }), vn = /* @__PURE__ */ N({
273
+ }), vn = /* @__PURE__ */ P({
269
274
  __name: "SBanner",
270
275
  props: {
271
276
  type: { default: () => q.INFO_ACCENT },
@@ -287,7 +292,11 @@ var G = [
287
292
  closeAriaLabel: { default: "" },
288
293
  icon: {},
289
294
  avatar: {},
290
- maxWidth: {}
295
+ maxWidth: {},
296
+ truncateTitle: {
297
+ type: Boolean,
298
+ default: !1
299
+ }
291
300
  },
292
301
  emits: [
293
302
  "close",
@@ -296,14 +305,14 @@ var G = [
296
305
  "secondaryAction"
297
306
  ],
298
307
  setup(e, { emit: t }) {
299
- let n = t, r = H();
300
- return (t, i) => (I(), O(_n, {
308
+ let n = t, r = U();
309
+ return (t, i) => (L(), O(_n, {
301
310
  class: "s-ui-banner",
302
311
  "data-qa": "ui:banner",
303
312
  type: e.type,
304
313
  layout: e.layout,
305
314
  leftside: e.leftside,
306
- surface: V(X).BANNER,
315
+ surface: H(X).BANNER,
307
316
  title: e.title,
308
317
  description: e.description,
309
318
  linkText: e.linkText,
@@ -315,17 +324,18 @@ var G = [
315
324
  icon: e.icon,
316
325
  avatar: e.avatar,
317
326
  maxWidth: e.maxWidth,
327
+ truncateTitle: e.truncateTitle,
318
328
  onClose: i[0] ||= (e) => n("close"),
319
329
  onLinkClick: i[1] ||= (e) => n("linkClick"),
320
330
  onPrimaryAction: i[2] ||= (e) => n("primaryAction"),
321
331
  onSecondaryAction: i[3] ||= (e) => n("secondaryAction")
322
- }, Rt({ _: 2 }, [V(r).title ? {
332
+ }, M({ _: 2 }, [H(r).title ? {
323
333
  name: "title",
324
- fn: U(() => [R(t.$slots, "title")]),
334
+ fn: G(() => [z(t.$slots, "title")]),
325
335
  key: "0"
326
- } : void 0, V(r).description ? {
336
+ } : void 0, H(r).description ? {
327
337
  name: "description",
328
- fn: U(() => [R(t.$slots, "description")]),
338
+ fn: G(() => [z(t.$slots, "description")]),
329
339
  key: "1"
330
340
  } : void 0]), 1032, [
331
341
  "type",
@@ -342,10 +352,11 @@ var G = [
342
352
  "closeAriaLabel",
343
353
  "icon",
344
354
  "avatar",
345
- "maxWidth"
355
+ "maxWidth",
356
+ "truncateTitle"
346
357
  ]));
347
358
  }
348
- }), yn = /* @__PURE__ */ N({
359
+ }), yn = /* @__PURE__ */ P({
349
360
  __name: "SToast",
350
361
  props: {
351
362
  type: { default: () => q.INFO_ACCENT },
@@ -367,7 +378,11 @@ var G = [
367
378
  closeAriaLabel: { default: "" },
368
379
  icon: {},
369
380
  avatar: {},
370
- width: {}
381
+ width: {},
382
+ truncateTitle: {
383
+ type: Boolean,
384
+ default: !1
385
+ }
371
386
  },
372
387
  emits: [
373
388
  "close",
@@ -376,14 +391,14 @@ var G = [
376
391
  "secondaryAction"
377
392
  ],
378
393
  setup(e, { emit: t }) {
379
- let n = t, r = H(), i = D(() => e.width ?? 360);
380
- return (t, a) => (I(), O(_n, {
394
+ let n = t, r = U(), i = D(() => e.width ?? 360);
395
+ return (t, a) => (L(), O(_n, {
381
396
  class: "s-ui-toast",
382
397
  "data-qa": "ui:toast",
383
398
  type: e.type,
384
399
  layout: e.layout,
385
400
  leftside: e.leftside,
386
- surface: V(X).TOAST,
401
+ surface: H(X).TOAST,
387
402
  title: e.title,
388
403
  description: e.description,
389
404
  linkText: e.linkText,
@@ -395,17 +410,18 @@ var G = [
395
410
  icon: e.icon,
396
411
  avatar: e.avatar,
397
412
  width: i.value,
413
+ truncateTitle: e.truncateTitle,
398
414
  onClose: a[0] ||= (e) => n("close"),
399
415
  onLinkClick: a[1] ||= (e) => n("linkClick"),
400
416
  onPrimaryAction: a[2] ||= (e) => n("primaryAction"),
401
417
  onSecondaryAction: a[3] ||= (e) => n("secondaryAction")
402
- }, Rt({ _: 2 }, [V(r).title ? {
418
+ }, M({ _: 2 }, [H(r).title ? {
403
419
  name: "title",
404
- fn: U(() => [R(t.$slots, "title")]),
420
+ fn: G(() => [z(t.$slots, "title")]),
405
421
  key: "0"
406
- } : void 0, V(r).description ? {
422
+ } : void 0, H(r).description ? {
407
423
  name: "description",
408
- fn: U(() => [R(t.$slots, "description")]),
424
+ fn: G(() => [z(t.$slots, "description")]),
409
425
  key: "1"
410
426
  } : void 0]), 1032, [
411
427
  "type",
@@ -422,7 +438,8 @@ var G = [
422
438
  "closeAriaLabel",
423
439
  "icon",
424
440
  "avatar",
425
- "width"
441
+ "width",
442
+ "truncateTitle"
426
443
  ]));
427
444
  }
428
445
  }), bn = .05, xn = [
@@ -431,7 +448,7 @@ var G = [
431
448
  "data-expanded",
432
449
  "data-removed",
433
450
  "data-visible"
434
- ], Sn = /* @__PURE__ */ N({
451
+ ], Sn = /* @__PURE__ */ P({
435
452
  __name: "SToastProviderToast",
436
453
  props: {
437
454
  index: {},
@@ -444,7 +461,7 @@ var G = [
444
461
  },
445
462
  emits: ["heightChange"],
446
463
  setup(e, { emit: t }) {
447
- let n = t, r = L(null), i = L(0), a = L(!1), o = D(() => e.index === 0), s = D(() => 1 - e.index * bn), c = D(() => ({
464
+ let n = t, r = R(null), i = R(0), a = R(!1), o = D(() => e.index === 0), s = D(() => 1 - e.index * bn), c = D(() => ({
448
465
  "--s-ui-toast-provider-toasts-before": String(e.index),
449
466
  "--s-ui-toast-provider-lift-amount": `${e.stackPeek * -1}px`,
450
467
  "--s-ui-toast-provider-front-toast-height": `${e.frontToastHeight}px`,
@@ -453,7 +470,7 @@ var G = [
453
470
  "--s-ui-toast-provider-stack-scale": String(s.value),
454
471
  zIndex: String(1e3 - e.index)
455
472
  }));
456
- return tn(r, (e) => {
473
+ return en(r, (e) => {
457
474
  let t = e[0]?.contentRect.height ?? 0;
458
475
  t !== i.value && (i.value = t, n("heightChange", t));
459
476
  }), Ht(() => {
@@ -462,24 +479,24 @@ var G = [
462
479
  a.value = !0;
463
480
  });
464
481
  });
465
- }), (t, n) => (I(), A("div", {
482
+ }), (t, n) => (L(), A("div", {
466
483
  class: "s-ui-toast-provider__toast",
467
484
  "data-mounted": a.value,
468
485
  "data-front": o.value,
469
486
  "data-expanded": e.expanded,
470
487
  "data-removed": e.removed,
471
488
  "data-visible": e.visible,
472
- style: F(c.value)
489
+ style: I(c.value)
473
490
  }, [j("div", {
474
491
  ref_key: "contentRef",
475
492
  ref: r,
476
493
  class: "s-ui-toast-provider__toast-content"
477
- }, [R(t.$slots, "default")], 512)], 12, xn));
494
+ }, [z(t.$slots, "default")], 512)], 12, xn));
478
495
  }
479
496
  }), Cn = 4e3, wn = 1e4, Tn = 50, En = (e, t) => {
480
497
  let n = Cn + (e.length + (t?.length ?? 0)) * 50;
481
498
  return n > 1e4 ? wn : n;
482
- }, Z = z([]), Q = /* @__PURE__ */ new Map(), Dn = 0, On = {
499
+ }, Z = B([]), Q = /* @__PURE__ */ new Map(), Dn = 0, On = {
483
500
  type: q.INFO_ACCENT,
484
501
  layout: J.HORIZONTAL,
485
502
  leftside: Y.ICON,
@@ -534,11 +551,11 @@ var G = [
534
551
  hide: jn,
535
552
  hideAll: Mn,
536
553
  update: Fn
537
- }), Ln = /* @__PURE__ */ N({
554
+ }), Ln = /* @__PURE__ */ P({
538
555
  __name: "SToastProvider",
539
556
  setup(e) {
540
- let { toasts: t, hide: n } = In(), r = D(() => t.value.slice(0, 3)), i = L(!1), a = z({}), o = L(/* @__PURE__ */ new Set()), s = D(() => t.value[0] ?? null), c = D(() => s.value ? a.value[s.value.id] ?? 0 : 0), l = L(0), u = D(() => c.value > 0 ? c.value : l.value);
541
- qt(c, (e) => {
557
+ let { toasts: t, hide: n } = In(), r = D(() => t.value.slice(0, 3)), i = R(!1), a = B({}), o = R(/* @__PURE__ */ new Set()), s = D(() => t.value[0] ?? null), c = D(() => s.value ? a.value[s.value.id] ?? 0 : 0), l = R(0), u = D(() => c.value > 0 ? c.value : l.value);
558
+ Kt(c, (e) => {
542
559
  e > 0 && (l.value = e);
543
560
  });
544
561
  let d = D(() => {
@@ -580,32 +597,32 @@ var G = [
580
597
  }, b = (e) => {
581
598
  e.onSecondaryAction && e.onSecondaryAction();
582
599
  };
583
- return (e, t) => (I(), O(Lt, { to: "body" }, [j("div", {
600
+ return (e, t) => (L(), O(Rt, { to: "body" }, [j("div", {
584
601
  class: "s-ui-toast-provider",
585
602
  onMouseenter: m,
586
603
  onMouseleave: h
587
- }, [r.value.length > 0 ? (I(), A("div", {
604
+ }, [r.value.length > 0 ? (L(), A("div", {
588
605
  key: 0,
589
606
  class: "s-ui-toast-provider__list",
590
- style: F(d.value)
591
- }, [(I(!0), A(It, null, Ut(r.value, (t, n) => (I(), O(Sn, {
607
+ style: I(d.value)
608
+ }, [(L(!0), A(Lt, null, Ut(r.value, (t, n) => (L(), O(Sn, {
592
609
  key: t.id,
593
610
  index: n,
594
611
  expanded: i.value,
595
612
  "front-toast-height": u.value,
596
- "stack-peek": V(10),
613
+ "stack-peek": H(10),
597
614
  removed: p(t.id),
598
- visible: n < V(3),
615
+ visible: n < H(3),
599
616
  "offset-y": f(n),
600
617
  onHeightChange: (e) => g(t.id, e)
601
618
  }, {
602
- default: U(() => [R(e.$slots, "toast", { toast: t }, () => [t.component ? (I(), O(Wt(t.component), Vt({
619
+ default: G(() => [z(e.$slots, "toast", { toast: t }, () => [t.component ? (L(), O(Wt(t.component), Vt({
603
620
  key: 0,
604
621
  ref_for: !0
605
622
  }, t.componentProps, {
606
623
  toast: t,
607
624
  onClose: (e) => _(t.id)
608
- }), null, 16, ["toast", "onClose"])) : (I(), O(V(yn), {
625
+ }), null, 16, ["toast", "onClose"])) : (L(), O(H(yn), {
609
626
  key: 1,
610
627
  type: t.type,
611
628
  layout: t.layout,
@@ -621,6 +638,7 @@ var G = [
621
638
  icon: t.icon,
622
639
  avatar: t.avatar,
623
640
  width: t.width,
641
+ truncateTitle: t.truncateTitle,
624
642
  onClose: (e) => _(t.id),
625
643
  onLinkClick: (e) => v(t),
626
644
  onPrimaryAction: (e) => y(t),
@@ -640,6 +658,7 @@ var G = [
640
658
  "icon",
641
659
  "avatar",
642
660
  "width",
661
+ "truncateTitle",
643
662
  "onClose",
644
663
  "onLinkClick",
645
664
  "onPrimaryAction",
@@ -682,9 +701,9 @@ var G = [
682
701
  id: "segmentedBarBadge",
683
702
  afterDatasetsDraw(t) {
684
703
  let n = {
685
- background: E(T.pieBadgeBackground, e),
686
- border: E(T.pieBadgeBorder, e),
687
- text: E(T.pieBadgeText, e)
704
+ background: T(E.pieBadgeBackground, e),
705
+ border: T(E.pieBadgeBorder, e),
706
+ text: T(E.pieBadgeText, e)
688
707
  }, { ctx: r } = t;
689
708
  r.save(), r.font = Vn, r.textAlign = "center", r.textBaseline = "middle", t.data.datasets.forEach((e, i) => {
690
709
  let a = t.getDatasetMeta(i)?.data[0], o = e.data[0];
@@ -699,7 +718,7 @@ var G = [
699
718
  "touchmove"
700
719
  ], Zn = ({ segments: e, segmentColors: t, colorHostElement: n, skeleton: r = !1, onSegmentClick: i }) => {
701
720
  if (e.length === 0) return null;
702
- let a = E("--s-ui-color-surface-primary", n), o = e.reduce((e, t) => e + t.value, 0), s = ut({
721
+ let a = T("--s-ui-color-surface-primary", n), o = e.reduce((e, t) => e + t.value, 0), s = pt({
703
722
  kind: "series",
704
723
  skeleton: r,
705
724
  colorHostElement: n,
@@ -769,7 +788,7 @@ var G = [
769
788
  ].map((e, t) => ({
770
789
  label: `Series ${t + 1}`,
771
790
  value: e
772
- })), $n = { class: "s-ui-chart-segmented-bar__canvas-wrap" }, er = /* @__PURE__ */ N({
791
+ })), $n = { class: "s-ui-chart-segmented-bar__canvas-wrap" }, er = /* @__PURE__ */ P({
773
792
  __name: "SChartSegmentedBar",
774
793
  props: {
775
794
  segments: { default: () => [] },
@@ -784,7 +803,7 @@ var G = [
784
803
  },
785
804
  emits: ["segmentClick"],
786
805
  setup(e, { expose: t, emit: n }) {
787
- let r = n, i = ft, a = Kt("chartRootRef"), o = Kt("chartCanvasRef"), s = D(() => e.loading ? Qn : e.segments), c = D(() => s.value.map((t, n) => nn(n, a.value, t.fillColor, e.loading))), l = D(() => s.value.map((e, t) => ({
806
+ let r = n, i = ht, a = W("chartRootRef"), o = W("chartCanvasRef"), s = D(() => e.loading ? Qn : e.segments), c = D(() => s.value.map((t, n) => rn(n, a.value, t.fillColor, e.loading))), l = D(() => s.value.map((e, t) => ({
788
807
  segment: e,
789
808
  segmentIndex: t
790
809
  })).filter(({ segment: e }) => e.value > 0)), u = D(() => l.value.map(({ segment: e }) => e)), d = D(() => l.value.map(({ segmentIndex: e }) => c.value[e] ?? "")), f = D(() => {
@@ -795,7 +814,7 @@ var G = [
795
814
  }), p = (e) => {
796
815
  let t = l.value[e];
797
816
  t && r("segmentClick", t.segmentIndex, t.segment);
798
- }, m = Tt("onSegmentClick"), h = D(() => Zn({
817
+ }, m = wt("onSegmentClick"), h = D(() => Zn({
799
818
  segments: u.value,
800
819
  segmentColors: d.value,
801
820
  colorHostElement: a.value,
@@ -804,33 +823,33 @@ var G = [
804
823
  })), g = D(() => s.value.map((e, t) => ({
805
824
  label: e.label,
806
825
  color: c.value[t] ?? ""
807
- }))), { chartInstance: _ } = dt({
826
+ }))), { chartInstance: _ } = ft({
808
827
  canvasRef: o,
809
828
  config: h,
810
829
  enabled: D(() => e.loading || u.value.length > 0)
811
- }), { exportImage: v, handleLegendItemHover: y } = pt({
830
+ }), { exportImage: v, handleLegendItemHover: y } = mt({
812
831
  chartInstance: _,
813
832
  canvasRef: o,
814
833
  colorHostElement: a
815
834
  }), b = (e) => {
816
835
  y(e === null ? null : f.value.get(e) ?? null);
817
836
  };
818
- return t({ exportImage: v }), (t, n) => (I(), A("div", {
837
+ return t({ exportImage: v }), (t, n) => (L(), A("div", {
819
838
  ref_key: "chartRootRef",
820
839
  ref: a,
821
- class: P(["s-ui-chart-segmented-bar", { "s-ui-chart-segmented-bar--skeleton": e.loading }]),
840
+ class: F(["s-ui-chart-segmented-bar", { "s-ui-chart-segmented-bar--skeleton": e.loading }]),
822
841
  "data-qa": "ui:chart-segmented-bar"
823
- }, [j("div", $n, [zt(V(mt), {
842
+ }, [j("div", $n, [zt(H(dt), {
824
843
  loading: e.loading,
825
- type: V(i).CARTESIAN
844
+ type: H(i).CARTESIAN
826
845
  }, {
827
- default: U(() => [j("canvas", {
846
+ default: G(() => [j("canvas", {
828
847
  ref_key: "chartCanvasRef",
829
848
  ref: o,
830
849
  class: "s-ui-chart-segmented-bar__canvas"
831
850
  }, null, 512)]),
832
851
  _: 1
833
- }, 8, ["loading", "type"])]), e.showLegend && g.value.length ? (I(), O(V(wt), {
852
+ }, 8, ["loading", "type"])]), e.showLegend && g.value.length ? (L(), O(H(ut), {
834
853
  key: 0,
835
854
  items: g.value,
836
855
  disabled: e.loading,
@@ -855,7 +874,7 @@ var G = [
855
874
  }, ir = { class: "s-ui-chart-widget__controls" }, ar = {
856
875
  key: 1,
857
876
  class: "s-ui-chart-widget__content"
858
- }, or = /* @__PURE__ */ N({
877
+ }, or = /* @__PURE__ */ P({
859
878
  __name: "SChartWidget",
860
879
  props: /*@__PURE__*/ Bt({
861
880
  title: { default: "" },
@@ -880,16 +899,16 @@ var G = [
880
899
  }),
881
900
  emits: ["update:collapsed"],
882
901
  setup(e) {
883
- let t = Gt(e, "collapsed"), n = H(), { t: r } = en(), i = D(() => !!e.title || !!n.title || !!n.actions || e.collapsible), a = D(() => !t.value || !e.collapsible || !e.hideContentWhenCollapsed), o = D(() => r(t.value ? "chartWidget.expand" : "chartWidget.collapse"));
884
- return (n, r) => (I(), A("div", {
885
- class: P(["s-ui-chart-widget", { "s-ui-chart-widget--skeleton": e.loading }]),
902
+ let t = Gt(e, "collapsed"), n = U(), { t: r } = $t(), i = D(() => !!e.title || !!n.title || !!n.actions || e.collapsible), a = D(() => !t.value || !e.collapsible || !e.hideContentWhenCollapsed), o = D(() => r(t.value ? "chartWidget.expand" : "chartWidget.collapse"));
903
+ return (n, r) => (L(), A("div", {
904
+ class: F(["s-ui-chart-widget", { "s-ui-chart-widget--skeleton": e.loading }]),
886
905
  "data-qa": "ui:chart-widget"
887
- }, [i.value ? (I(), A("div", tr, [e.loading ? (I(), A("span", nr)) : (I(), A("span", rr, [R(n.$slots, "title", {}, () => [M(B(e.title), 1)])])), j("div", ir, [R(n.$slots, "actions"), e.collapsible ? (I(), O(V(w), {
906
+ }, [i.value ? (L(), A("div", tr, [e.loading ? (L(), A("span", nr)) : (L(), A("span", rr, [z(n.$slots, "title", {}, () => [N(V(e.title), 1)])])), j("div", ir, [z(n.$slots, "actions"), e.collapsible ? (L(), O(H(w), {
888
907
  key: 0,
889
- appearance: V(C).OUTLINED,
890
- variant: V(S).NEUTRAL,
891
- size: V(x).SMALL,
892
- icon: t.value ? V(W).chevronDown : V(W).chevronUp,
908
+ appearance: H(C).OUTLINED,
909
+ variant: H(S).NEUTRAL,
910
+ size: H(x).SMALL,
911
+ icon: t.value ? H(K).chevronDown : H(K).chevronUp,
893
912
  "aria-label": o.value,
894
913
  "aria-expanded": !t.value,
895
914
  onClick: r[0] ||= (e) => t.value = !t.value
@@ -900,8 +919,8 @@ var G = [
900
919
  "icon",
901
920
  "aria-label",
902
921
  "aria-expanded"
903
- ])) : k("", !0)])])) : k("", !0), a.value ? (I(), A("div", ar, [R(n.$slots, "default")])) : k("", !0)], 2));
922
+ ])) : k("", !0)])])) : k("", !0), a.value ? (L(), A("div", ar, [z(n.$slots, "default")])) : k("", !0)], 2));
904
923
  }
905
924
  });
906
925
  //#endregion
907
- export { Et as CALENDAR_WEEK_SLOT_COUNT, Mt as DAY_TIMELINE_MINUTES, m as DEFAULT_COLOR_PALETTE, p as EAccentColor, C as EButtonAppearance, le as EButtonGroupLayout, x as EButtonSize, x as ESSegmentControlSize, S as EButtonVariant, g as EColorFormat, Ee as EConnectedPositionStrategy, J as ENotificationLayout, Y as ENotificationLeftside, q as ENotificationType, a as ESAvatarBadge, s as ESAvatarColor, te as ESAvatarGroupSize, i as ESAvatarIconBackground, r as ESAvatarShape, o as ESAvatarSize, e as ESBadgeColor, t as ESBadgePlacement, _e as ESCardLayout, me as ESCheckboxColor, he as ESCheckboxLabelPlacement, pe as ESCheckboxSize, Me as ESChipColor, Ne as ESChipSize, h as ESColorPaletteLayout, we as ESDropdownPlacement, de as ESInlineGroupOrientation, it as ESInlineInputAppearance, He as ESInlineMessageValidationStatus, Be as ESInputCustomize, We as ESLabelSize, Ge as ESLabelVariant, qe as ESListGap, Ze as ESListItemVariant, st as ESPhotoEditShape, ct as ESPhotoEditSize, $e as ESRadioLabelPlacement, Le as ESSelectSearchable, be as ESTabAppearance, xe as ESTabSize, Oe as ESTagColor, ke as ESTagSize, tt as ESToggleLabelPlacement, nt as ESToggleSize, se as ESelectionFocusMode, ie as ESelectionMode, oe as ESelectionOrientation, Dt as EWorkTimeSource, l as MAX_RECENT_COLORS, _ as RECOMMENDED_COLOR_PALETTE, c as SAvatar, ne as SAvatarGroup, n as SBadge, vn as SBanner, w as SButton, fe as SButtonGroup, kt as SCalendarMonth, Ot as SCalendarWeekGrid, ve as SCard, St as SChartBurnup, yt as SChartHorizontalBar, wt as SChartLegend, ht as SChartLine, xt as SChartMultiLine, bt as SChartPie, Ct as SChartProgress, er as SChartSegmentedBar, _t as SChartStackedArea, vt as SChartStackedBar, or as SChartWidget, ge as SCheckbox, Pe as SChip, d as SColorArea, v as SColorPalette, f as SColorPicker, u as SColorValues, At as SDayTimeline, Ie as SDropdown, Re as SDropdownMenu, ue as SInlineGroup, at as SInlineInput, Ue as SInlineMessage, Ve as SInput, Ke as SLabel, Xe as SList, Qe as SListItem, lt as SPhotoEdit, et as SRadio, ye as SSegmentControl, ze as SSelect, Se as STab, Ce as STabs, Ae as STag, je as STagGroup, ot as STextarea, yn as SToast, Ln as SToastProvider, rt as SToggle, Fe as S_DROPDOWN_SHEET_BREAKPOINT, wn as TOAST_AUTO_DURATION_MAX_MS, Cn as TOAST_AUTO_DURATION_MIN_MS, Tn as TOAST_AUTO_DURATION_MS_PER_CHAR, jt as WORK_TIME_SOURCE_COLOR_VARS, Nt as WORK_TIME_SOURCE_ORDER, Pt as buildWorkTimeLegendItems, En as computeAutoDuration, Te as computeConnectedPosition, Yt as createUiKit, Ft as formatDurationHM, ee as isSameColor, b as normalizeColorValue, y as resolveColorPreview, re as resolveOwnPropOrGroupedOrFallback, Xt as setUiKitLocale, Zt as uiKitLocaleEn, Qt as uiKitLocaleRu, Ye as useFlatTreeList, De as useFloatingOverlay, Je as useSListEndReached, ae as useSelectionGroup, ce as useSelectionGroupItem, In as useToast, $t as useUiKitI18n };
926
+ export { Dt as CALENDAR_WEEK_SLOT_COUNT, Nt as DAY_TIMELINE_MINUTES, m as DEFAULT_COLOR_PALETTE, p as EAccentColor, C as EButtonAppearance, le as EButtonGroupLayout, x as EButtonSize, x as ESSegmentControlSize, S as EButtonVariant, g as EColorFormat, Ee as EConnectedPositionStrategy, J as ENotificationLayout, Y as ENotificationLeftside, q as ENotificationType, a as ESAvatarBadge, s as ESAvatarColor, te as ESAvatarGroupSize, i as ESAvatarIconBackground, r as ESAvatarShape, o as ESAvatarSize, e as ESBadgeColor, t as ESBadgePlacement, _e as ESCardLayout, me as ESCheckboxColor, he as ESCheckboxLabelPlacement, pe as ESCheckboxSize, Me as ESChipColor, Ne as ESChipSize, h as ESColorPaletteLayout, we as ESDropdownPlacement, de as ESInlineGroupOrientation, it as ESInlineInputAppearance, He as ESInlineMessageValidationStatus, Be as ESInputCustomize, We as ESLabelSize, Ge as ESLabelVariant, qe as ESListGap, Ze as ESListItemVariant, st as ESPhotoEditShape, ct as ESPhotoEditSize, $e as ESRadioLabelPlacement, Le as ESSelectSearchable, be as ESTabAppearance, xe as ESTabSize, Oe as ESTagColor, ke as ESTagSize, tt as ESToggleLabelPlacement, nt as ESToggleSize, se as ESelectionFocusMode, ie as ESelectionMode, oe as ESelectionOrientation, Ot as EWorkTimeSource, l as MAX_RECENT_COLORS, _ as RECOMMENDED_COLOR_PALETTE, c as SAvatar, ne as SAvatarGroup, n as SBadge, vn as SBanner, w as SButton, fe as SButtonGroup, At as SCalendarMonth, kt as SCalendarWeekGrid, ve as SCard, Tt as SChartBar, Ct as SChartBurnup, bt as SChartHorizontalBar, ut as SChartLegend, gt as SChartLine, St as SChartMultiLine, xt as SChartPie, Et as SChartProgress, er as SChartSegmentedBar, vt as SChartStackedArea, yt as SChartStackedBar, or as SChartWidget, ge as SCheckbox, Pe as SChip, d as SColorArea, v as SColorPalette, f as SColorPicker, u as SColorValues, jt as SDayTimeline, Ie as SDropdown, Re as SDropdownMenu, ue as SInlineGroup, at as SInlineInput, Ue as SInlineMessage, Ve as SInput, Ke as SLabel, Xe as SList, Qe as SListItem, lt as SPhotoEdit, et as SRadio, ye as SSegmentControl, ze as SSelect, Se as STab, Ce as STabs, Ae as STag, je as STagGroup, ot as STextarea, yn as SToast, Ln as SToastProvider, rt as SToggle, Fe as S_DROPDOWN_SHEET_BREAKPOINT, wn as TOAST_AUTO_DURATION_MAX_MS, Cn as TOAST_AUTO_DURATION_MIN_MS, Tn as TOAST_AUTO_DURATION_MS_PER_CHAR, Mt as WORK_TIME_SOURCE_COLOR_VARS, Pt as WORK_TIME_SOURCE_ORDER, Ft as buildWorkTimeLegendItems, En as computeAutoDuration, Te as computeConnectedPosition, Jt as createUiKit, It as formatDurationHM, ee as isSameColor, b as normalizeColorValue, y as resolveColorPreview, re as resolveOwnPropOrGroupedOrFallback, Yt as setUiKitLocale, Xt as uiKitLocaleEn, Zt as uiKitLocaleRu, Ye as useFlatTreeList, De as useFloatingOverlay, Je as useSListEndReached, ae as useSelectionGroup, ce as useSelectionGroupItem, In as useToast, Qt as useUiKitI18n };