@shtabapp/ui-kit 1.78.4 → 1.80.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 (102) hide show
  1. package/CHANGELOG.md +21 -0
  2. package/dist/{SAvatar-hWbsODUa.js → SAvatar-6uaisUHm.js} +23 -21
  3. package/dist/{SAvatar-ClmtSIFg.cjs → SAvatar-BQNqFdkk.cjs} +1 -1
  4. package/dist/{SAvatarGroup-By8oMNTe.cjs → SAvatarGroup-D27squmU.cjs} +1 -1
  5. package/dist/{SAvatarGroup-CSSCQKdH.js → SAvatarGroup-DnVhY7I1.js} +1 -1
  6. package/dist/SBadge-Dn87LB9z.cjs +1 -0
  7. package/dist/{SBadge-BDxQJh6c.js → SBadge-Du9iIiXS.js} +4 -2
  8. package/dist/SButton-B3o80WMR.cjs +1 -0
  9. package/dist/{SButton-DIWMMCSc.js → SButton-D-dmK8Cm.js} +47 -34
  10. package/dist/{SChip-C6d9oIYL.js → SChip-C6Z1VRf9.js} +1 -1
  11. package/dist/{SChip-BCB1bvua.cjs → SChip-Cr6wNKd7.cjs} +1 -1
  12. package/dist/{SColorPicker-Dac8mDye.cjs → SColorPicker--sBL2SBq.cjs} +1 -1
  13. package/dist/{SColorPicker-CIAkM4kx.js → SColorPicker-D2072gdX.js} +3 -3
  14. package/dist/SDropdown-B_nsm3Jf.cjs +1 -0
  15. package/dist/SDropdown-aWjZrahp.js +541 -0
  16. package/dist/{SInput-CGlUBCkW.js → SInput-D2pCcaym.js} +1 -1
  17. package/dist/{SInput-fT-S-Tko.cjs → SInput-DG9R9tJC.cjs} +1 -1
  18. package/dist/{SList-BuuCfuHg.js → SList-DKstFJu1.js} +1 -1
  19. package/dist/{SList-Vg9nx1oe.cjs → SList-_VnusDWn.cjs} +1 -1
  20. package/dist/SListItem-B7RIawMl.cjs +1 -0
  21. package/dist/SListItem-Bw0OXPVk.js +231 -0
  22. package/dist/{SPhotoEdit-B4ujF5Dh.cjs → SPhotoEdit-C1K1n0ti.cjs} +1 -1
  23. package/dist/{SPhotoEdit-BxxycqvA.js → SPhotoEdit-eKRRevtl.js} +1 -1
  24. package/dist/SSelect-91iBEAHR.cjs +1 -0
  25. package/dist/{SSelect-BznJn8Q8.js → SSelect-CKw3a1AD.js} +238 -230
  26. package/dist/STable-CdMVPiYt.cjs +1 -0
  27. package/dist/{STable-BgbWclBb.js → STable-Dbr1oX01.js} +1032 -1002
  28. package/dist/{STabs-BYbsRtvi.js → STabs-DhwF2GvF.js} +1 -1
  29. package/dist/{STabs-DDP-2p6T.cjs → STabs-yf2Mtaji.cjs} +1 -1
  30. package/dist/{STag-DWjv_Za8.js → STag-BCGC8smg.js} +1 -1
  31. package/dist/{STag-nqzlv8OZ.cjs → STag-DBerzc3o.cjs} +1 -1
  32. package/dist/{STagGroup-DEPpEU5C.js → STagGroup-B2FeOTSD.js} +1 -1
  33. package/dist/{STagGroup-CYEI9OXO.cjs → STagGroup-GecKyBlJ.cjs} +1 -1
  34. package/dist/components/SAvatar/SAvatar.vue.d.ts.map +1 -1
  35. package/dist/components/SBadge/SBadge.vue.d.ts.map +1 -1
  36. package/dist/components/SButton/SButton.types.d.ts +5 -1
  37. package/dist/components/SButton/SButton.types.d.ts.map +1 -1
  38. package/dist/components/SButton/SButton.vue.d.ts.map +1 -1
  39. package/dist/components/SButton/utils/useButtonBadge.d.ts +2 -1
  40. package/dist/components/SButton/utils/useButtonBadge.d.ts.map +1 -1
  41. package/dist/components/SDropdown/SDropdown.types.d.ts +16 -1
  42. package/dist/components/SDropdown/SDropdown.types.d.ts.map +1 -1
  43. package/dist/components/SDropdown/SDropdown.vue.d.ts +2 -2
  44. package/dist/components/SDropdown/SDropdown.vue.d.ts.map +1 -1
  45. package/dist/components/SDropdown/utils/dropdownFocusables.d.ts +9 -0
  46. package/dist/components/SDropdown/utils/dropdownFocusables.d.ts.map +1 -0
  47. package/dist/components/SDropdown/utils/useDropdownFocus.d.ts +31 -0
  48. package/dist/components/SDropdown/utils/useDropdownFocus.d.ts.map +1 -0
  49. package/dist/components/SListItem/SListItem.types.d.ts +5 -3
  50. package/dist/components/SListItem/SListItem.types.d.ts.map +1 -1
  51. package/dist/components/SListItem/SListItem.vue.d.ts.map +1 -1
  52. package/dist/components/SSelect/SSelect.vue.d.ts.map +1 -1
  53. package/dist/components/STable/STable.vue.d.ts.map +1 -1
  54. package/dist/components/STable/utils/useTableGridFocus.d.ts +5 -2
  55. package/dist/components/STable/utils/useTableGridFocus.d.ts.map +1 -1
  56. package/dist/components/STable/utils/useTableGridKeyboard.d.ts.map +1 -1
  57. package/dist/components/SToastProvider/SToastProvider.vue.d.ts +1 -1
  58. package/dist/components/SToastProvider/SToastProvider.vue.d.ts.map +1 -1
  59. package/dist/entries/avatar-group.cjs +1 -1
  60. package/dist/entries/avatar-group.js +1 -1
  61. package/dist/entries/avatar.cjs +1 -1
  62. package/dist/entries/avatar.js +1 -1
  63. package/dist/entries/badge.cjs +1 -1
  64. package/dist/entries/badge.js +1 -1
  65. package/dist/entries/button.cjs +1 -1
  66. package/dist/entries/button.js +1 -1
  67. package/dist/entries/chip.cjs +1 -1
  68. package/dist/entries/chip.js +1 -1
  69. package/dist/entries/color-picker.cjs +1 -1
  70. package/dist/entries/color-picker.js +1 -1
  71. package/dist/entries/dropdown.cjs +1 -1
  72. package/dist/entries/dropdown.js +1 -1
  73. package/dist/entries/input.cjs +1 -1
  74. package/dist/entries/input.js +1 -1
  75. package/dist/entries/list-item.cjs +1 -1
  76. package/dist/entries/list-item.js +1 -1
  77. package/dist/entries/list.cjs +1 -1
  78. package/dist/entries/list.js +1 -1
  79. package/dist/entries/photo-edit.cjs +1 -1
  80. package/dist/entries/photo-edit.js +1 -1
  81. package/dist/entries/select.cjs +1 -1
  82. package/dist/entries/select.js +1 -1
  83. package/dist/entries/table.cjs +1 -1
  84. package/dist/entries/table.js +1 -1
  85. package/dist/entries/tabs.cjs +1 -1
  86. package/dist/entries/tabs.js +1 -1
  87. package/dist/entries/tag-group.cjs +1 -1
  88. package/dist/entries/tag-group.js +2 -2
  89. package/dist/entries/tag.cjs +1 -1
  90. package/dist/entries/tag.js +1 -1
  91. package/dist/index.cjs +1 -1
  92. package/dist/index.js +447 -423
  93. package/dist/uikit-components.css +1 -1
  94. package/package.json +3 -3
  95. package/dist/SBadge-d1GOPFP-.cjs +0 -1
  96. package/dist/SButton-BCgdXE_B.cjs +0 -1
  97. package/dist/SDropdown-CPfoNHbg.cjs +0 -1
  98. package/dist/SDropdown-DvPW3_WP.js +0 -400
  99. package/dist/SListItem-CDlsjhA3.js +0 -227
  100. package/dist/SListItem-DMjtJXxV.cjs +0 -1
  101. package/dist/SSelect-CB2XQ4dU.cjs +0 -1
  102. package/dist/STable-CNl_VYLc.cjs +0 -1
package/dist/index.js CHANGED
@@ -1,59 +1,59 @@
1
- import { n as e, r as t, t as n } from "./SBadge-BDxQJh6c.js";
2
- import { a as r, i, n as a, o, r as s, t as c } from "./SAvatar-hWbsODUa.js";
3
- import { i as l, n as u, r as d, t as f } from "./SColorPicker-CIAkM4kx.js";
1
+ import { n as e, r as t, t as n } from "./SBadge-Du9iIiXS.js";
2
+ import { a as r, i, n as a, o, r as s, t as c } from "./SAvatar-6uaisUHm.js";
3
+ import { i as l, n as u, r as d, t as f } from "./SColorPicker-D2072gdX.js";
4
4
  import { a as p, i as m, n as h, o as g, r as _, t as v } from "./SColorPalette-OCu-tgZ3.js";
5
5
  import { a as y, i as b, r as x } from "./colorValue-CSh0chxp.js";
6
- import { n as ee, t as S } from "./SAvatarGroup-CSSCQKdH.js";
7
- import { i as C, n as w, r as T, t as E } from "./SButton-DIWMMCSc.js";
8
- import { a as te, n as ne, o as re, r as ie, t as ae } from "./useSelectionGroup-BCAmPf3R.js";
9
- import { n as oe } from "./useSelectLink-2aCIYmF6.js";
10
- import { i as se, n as ce, r as le, t as ue } from "./SButtonGroup-BqW5Rz1p.js";
11
- import { i as de, n as fe, r as pe, t as me } from "./SCheckbox-Dulusx5v.js";
12
- import { n as he, t as ge } from "./SCard-DJuyINB7.js";
13
- import { n as _e, t as ve } from "./SSegmentControl-Bjech2v4.js";
14
- import { n as ye, r as be, t as xe } from "./STab-D7SATMfv.js";
15
- import { t as Se } from "./STabs-BYbsRtvi.js";
16
- import { a as Ce, i as we, o as Te, s as Ee, t as De } from "./useFloatingOverlay-TxzVisMJ.js";
17
- import { n as Oe, r as ke, t as Ae } from "./STag-DWjv_Za8.js";
18
- import { t as je } from "./STagGroup-DEPpEU5C.js";
19
- import { n as Me, r as Ne, t as Pe } from "./SChip-C6d9oIYL.js";
20
- import { n as Fe, t as Ie } from "./SDropdown-DvPW3_WP.js";
21
- import { t as Le } from "./SDropdownMenu-2koPU6IG.js";
22
- import { r as Re, t as ze } from "./SInput-CGlUBCkW.js";
23
- import { n as Be, t as Ve } from "./SInlineMessage-Dirk5RwO.js";
24
- import { n as He, r as Ue, t as We } from "./SLabel-FHHPlcKq.js";
25
- import { a as Ge, s as Ke } from "./treeKeyboardNavigation-SmxTdnDz.js";
26
- import { n as qe, r as Je, t as Ye } from "./SListItem-CDlsjhA3.js";
27
- import { a as Xe, t as Ze } from "./SList-BuuCfuHg.js";
28
- import { n as Qe, t as $e } from "./SSelect-BznJn8Q8.js";
29
- import { n as et, t as tt } from "./SRadio-BhoLtFUS.js";
30
- import { n as nt, r as rt, t as it } from "./SToggle-MSdprnRP.js";
31
- import { n as at, t as ot } from "./SInlineInput-DO_glYxP.js";
32
- import { t as st } from "./STextarea-BDyy7Ku5.js";
33
- import { n as ct, r as lt, t as ut } from "./SPhotoEdit-BxxycqvA.js";
34
- import { C as dt, D, S as O, c as ft, n as pt, r as mt, s as ht, t as gt, w as _t } from "./useChartInteractivity-sgbPZgcH.js";
35
- import { n as vt, t as yt } from "./SChartLegend-At0mMO09.js";
36
- import { t as bt } from "./SChartLine-rnEsQv-q.js";
37
- import { t as xt } from "./resolveSeriesPaletteColor-Bk52kyZo.js";
38
- import { t as St } from "./SChartStackedArea-zIygTOp8.js";
39
- import { t as Ct } from "./SChartStackedBar-CXpVSagd.js";
40
- import { t as wt } from "./SChartHorizontalBar-VKU0b6Jx.js";
41
- import { n as Tt, t as Et } from "./SChartPie-Ebg7WSga.js";
42
- import { t as Dt } from "./SChartMultiLine-C4jjmLEb.js";
43
- import { t as Ot } from "./SChartBurnup-B1KU1E5B.js";
44
- import { t as kt } from "./useHasListener-RSjlUyqH.js";
45
- import { t as At } from "./SChartBar-DHjm1H0N.js";
46
- import { t as jt } from "./SChartProgress-DRSh_taf.js";
47
- import { t as Mt } from "./SChartScatter-DnmTw18x.js";
48
- import { a as Nt, c as Pt, d as Ft, f as It, i as Lt, l as Rt, n as zt, o as Bt, r as Vt, s as Ht, t as Ut, u as Wt } from "./buildWorkTimeLegendItems-CifzZM9C.js";
49
- import { a as Gt, c as Kt, d as qt, f as Jt, i as Yt, l as Xt, n as Zt, o as Qt, p as $t, r as en, s as tn, t as nn, u as rn } from "./STable-BgbWclBb.js";
50
- import { Fragment as k, Teleport as an, computed as A, createBlock as j, createCommentVNode as M, createElementBlock as N, createElementVNode as P, createSlots as on, createTextVNode as F, createVNode as I, defineComponent as L, mergeModels as sn, mergeProps as cn, normalizeClass as R, normalizeStyle as z, onMounted as ln, openBlock as B, ref as V, renderList as H, renderSlot as U, resolveDynamicComponent as un, shallowRef as dn, toDisplayString as W, toValue as fn, unref as G, useModel as pn, useSlots as K, useTemplateRef as mn, watch as hn, withCtx as q, withKeys as gn, withModifiers as _n } from "vue";
51
- import { ESIconName as J, ESProgressBarSize as vn, ESSkeletonType as yn, SIcon as bn, SProgressBar as xn, SSkeleton as Sn, createUiKit as Cn, setUiKitLocale as wn, uiKitLocaleEn as Tn, uiKitLocaleRu as En, useUiKitI18n as Dn, useUiKitI18n as On } from "@shtabapp/ui-kit-primitives";
52
- import { useResizeObserver as kn } from "@vueuse/core";
6
+ import { n as S, t as C } from "./SAvatarGroup-DnVhY7I1.js";
7
+ import { i as w, n as T, r as E, t as D } from "./SButton-D-dmK8Cm.js";
8
+ import { a as ee, n as te, o as ne, r as re, t as ie } from "./useSelectionGroup-BCAmPf3R.js";
9
+ import { n as ae } from "./useSelectLink-2aCIYmF6.js";
10
+ import { i as oe, n as se, r as ce, t as le } from "./SButtonGroup-BqW5Rz1p.js";
11
+ import { i as ue, n as de, r as fe, t as pe } from "./SCheckbox-Dulusx5v.js";
12
+ import { n as me, t as he } from "./SCard-DJuyINB7.js";
13
+ import { n as ge, t as _e } from "./SSegmentControl-Bjech2v4.js";
14
+ import { n as ve, r as ye, t as be } from "./STab-D7SATMfv.js";
15
+ import { t as xe } from "./STabs-DhwF2GvF.js";
16
+ import { a as Se, i as Ce, o as we, s as Te, t as Ee } from "./useFloatingOverlay-TxzVisMJ.js";
17
+ import { n as De, r as Oe, t as ke } from "./STag-BCGC8smg.js";
18
+ import { t as Ae } from "./STagGroup-B2FeOTSD.js";
19
+ import { n as je, r as Me, t as Ne } from "./SChip-C6Z1VRf9.js";
20
+ import { n as Pe, t as Fe } from "./SDropdown-aWjZrahp.js";
21
+ import { t as Ie } from "./SDropdownMenu-2koPU6IG.js";
22
+ import { r as Le, t as Re } from "./SInput-D2pCcaym.js";
23
+ import { n as ze, t as Be } from "./SInlineMessage-Dirk5RwO.js";
24
+ import { n as Ve, r as He, t as Ue } from "./SLabel-FHHPlcKq.js";
25
+ import { a as We, s as Ge } from "./treeKeyboardNavigation-SmxTdnDz.js";
26
+ import { n as Ke, r as qe, t as Je } from "./SListItem-Bw0OXPVk.js";
27
+ import { a as Ye, t as Xe } from "./SList-DKstFJu1.js";
28
+ import { n as Ze, t as Qe } from "./SSelect-CKw3a1AD.js";
29
+ import { n as $e, t as et } from "./SRadio-BhoLtFUS.js";
30
+ import { n as tt, r as nt, t as rt } from "./SToggle-MSdprnRP.js";
31
+ import { n as it, t as at } from "./SInlineInput-DO_glYxP.js";
32
+ import { t as ot } from "./STextarea-BDyy7Ku5.js";
33
+ import { n as st, r as ct, t as lt } from "./SPhotoEdit-eKRRevtl.js";
34
+ import { C as ut, D as O, S as k, c as dt, n as ft, r as pt, s as mt, t as ht, w as gt } from "./useChartInteractivity-sgbPZgcH.js";
35
+ import { n as _t, t as vt } from "./SChartLegend-At0mMO09.js";
36
+ import { t as yt } from "./SChartLine-rnEsQv-q.js";
37
+ import { t as bt } from "./resolveSeriesPaletteColor-Bk52kyZo.js";
38
+ import { t as xt } from "./SChartStackedArea-zIygTOp8.js";
39
+ import { t as St } from "./SChartStackedBar-CXpVSagd.js";
40
+ import { t as Ct } from "./SChartHorizontalBar-VKU0b6Jx.js";
41
+ import { n as wt, t as Tt } from "./SChartPie-Ebg7WSga.js";
42
+ import { t as Et } from "./SChartMultiLine-C4jjmLEb.js";
43
+ import { t as Dt } from "./SChartBurnup-B1KU1E5B.js";
44
+ import { t as Ot } from "./useHasListener-RSjlUyqH.js";
45
+ import { t as kt } from "./SChartBar-DHjm1H0N.js";
46
+ import { t as At } from "./SChartProgress-DRSh_taf.js";
47
+ import { t as jt } from "./SChartScatter-DnmTw18x.js";
48
+ import { a as Mt, c as Nt, d as Pt, f as Ft, i as It, l as Lt, n as Rt, o as zt, r as Bt, s as Vt, t as Ht, u as Ut } from "./buildWorkTimeLegendItems-CifzZM9C.js";
49
+ import { a as Wt, c as Gt, d as Kt, f as qt, i as Jt, l as Yt, n as Xt, o as Zt, p as Qt, r as $t, s as en, t as tn, u as nn } from "./STable-Dbr1oX01.js";
50
+ import { Fragment as A, Teleport as rn, computed as j, createBlock as M, createCommentVNode as N, createElementBlock as P, createElementVNode as F, createSlots as an, createTextVNode as I, createVNode as L, defineComponent as R, mergeModels as on, mergeProps as sn, nextTick as cn, normalizeClass as z, normalizeStyle as B, onMounted as ln, openBlock as V, ref as H, renderList as U, renderSlot as W, resolveDynamicComponent as un, shallowRef as dn, toDisplayString as G, toValue as fn, unref as K, useModel as pn, useSlots as mn, useTemplateRef as hn, watch as gn, withCtx as q, withKeys as _n, withModifiers as vn } from "vue";
51
+ import { ESIconName as J, ESProgressBarSize as yn, ESSkeletonType as bn, SIcon as xn, SProgressBar as Sn, SSkeleton as Cn, createUiKit as wn, setUiKitLocale as Tn, uiKitLocaleEn as En, uiKitLocaleRu as Dn, useUiKitI18n as On, useUiKitI18n as kn } from "@shtabapp/ui-kit-primitives";
52
+ import { useResizeObserver as An } from "@vueuse/core";
53
53
  export * from "@shtabapp/ui-kit-primitives";
54
54
  export * from "@shtabapp/ui-kit-tokens";
55
55
  //#region src/utils/chart/segmentedBar/resolveSegmentedBarSegmentColor.ts
56
- var An = [
56
+ var jn = [
57
57
  "--s-ui-chart-segmented-bar-palette-1",
58
58
  "--s-ui-chart-segmented-bar-palette-2",
59
59
  "--s-ui-chart-segmented-bar-palette-3",
@@ -62,7 +62,7 @@ var An = [
62
62
  "--s-ui-chart-segmented-bar-palette-6",
63
63
  "--s-ui-chart-segmented-bar-palette-7",
64
64
  "--s-ui-chart-segmented-bar-palette-8"
65
- ], jn = [
65
+ ], Mn = [
66
66
  "--s-ui-chart-segmented-bar-skeleton-palette-1",
67
67
  "--s-ui-chart-segmented-bar-skeleton-palette-2",
68
68
  "--s-ui-chart-segmented-bar-skeleton-palette-3",
@@ -71,51 +71,51 @@ var An = [
71
71
  "--s-ui-chart-segmented-bar-skeleton-palette-6",
72
72
  "--s-ui-chart-segmented-bar-skeleton-palette-7",
73
73
  "--s-ui-chart-segmented-bar-skeleton-palette-8"
74
- ], Mn = (e, t, n, r = !1) => xt(e, t, n, r, {
75
- palette: An,
76
- paletteFallback: An[0],
77
- skeletonPalette: jn,
78
- skeletonFallback: jn[0]
74
+ ], Nn = (e, t, n, r = !1) => bt(e, t, n, r, {
75
+ palette: jn,
76
+ paletteFallback: jn[0],
77
+ skeletonPalette: Mn,
78
+ skeletonFallback: Mn[0]
79
79
  }), Y = /* @__PURE__ */ function(e) {
80
80
  return e.INFO_ACCENT = "info-accent", e.INFO_NORMAL = "info-normal", e.SUCCESS = "success", e.WARNING = "warning", e.DANGER = "danger", e.BILLING = "billing", e;
81
81
  }({}), X = /* @__PURE__ */ function(e) {
82
82
  return e.HORIZONTAL = "horizontal", e.VERTICAL = "vertical", e;
83
83
  }({}), Z = /* @__PURE__ */ function(e) {
84
84
  return e.ICON = "icon", e.AVATAR = "avatar", e;
85
- }({}), Nn = /* @__PURE__ */ function(e) {
85
+ }({}), Pn = /* @__PURE__ */ function(e) {
86
86
  return e.BANNER = "banner", e.TOAST = "toast", e;
87
- }({}), Pn = {
87
+ }({}), Fn = {
88
88
  [Y.INFO_ACCENT]: J.infoCircle,
89
89
  [Y.INFO_NORMAL]: J.infoCircle,
90
90
  [Y.SUCCESS]: J.checkCircle,
91
91
  [Y.WARNING]: J.alertCircle,
92
92
  [Y.DANGER]: J.dangerCircleFill,
93
93
  [Y.BILLING]: J.infoCircle
94
- }, Fn = (e, t) => t || Pn[e], In = ["role"], Ln = { class: "s-ui-notification__body" }, Rn = {
94
+ }, In = (e, t) => t || Fn[e], Ln = ["role"], Rn = { class: "s-ui-notification__body" }, zn = {
95
95
  key: 0,
96
96
  class: "s-ui-notification__leftside"
97
- }, zn = {
97
+ }, Bn = {
98
98
  key: 0,
99
99
  class: "s-ui-notification__icon"
100
- }, Bn = { class: "s-ui-notification__content" }, Vn = { class: "s-ui-notification__title-row" }, Hn = {
100
+ }, Vn = { class: "s-ui-notification__content" }, Hn = { class: "s-ui-notification__title-row" }, Un = {
101
101
  key: 0,
102
102
  class: "s-ui-notification__description-block"
103
- }, Un = {
103
+ }, Wn = {
104
104
  key: 0,
105
105
  class: "s-ui-notification__description s-ui-typography-label-12-medium"
106
- }, Wn = {
106
+ }, Gn = {
107
107
  key: 1,
108
108
  class: "s-ui-notification__actions-stack"
109
- }, Gn = {
109
+ }, Kn = {
110
110
  key: 1,
111
111
  class: "s-ui-notification__actions-row"
112
- }, Kn = /* @__PURE__ */ L({
112
+ }, qn = /* @__PURE__ */ R({
113
113
  __name: "SNotification",
114
114
  props: {
115
115
  type: { default: () => Y.INFO_ACCENT },
116
116
  layout: { default: () => X.HORIZONTAL },
117
117
  leftside: { default: () => Z.ICON },
118
- surface: { default: () => Nn.BANNER },
118
+ surface: { default: () => Pn.BANNER },
119
119
  title: {},
120
120
  description: {},
121
121
  linkText: {},
@@ -151,15 +151,15 @@ var An = [
151
151
  "secondaryAction"
152
152
  ],
153
153
  setup(e, { emit: t }) {
154
- let n = t, r = K(), i = A(() => [
154
+ let n = t, r = mn(), i = j(() => [
155
155
  `s-ui-notification--type-${e.type}`,
156
156
  `s-ui-notification--layout-${e.layout}`,
157
157
  `s-ui-notification--surface-${e.surface}`,
158
158
  { "s-ui-notification--single-line": p.value }
159
- ]), a = A(() => {
159
+ ]), a = j(() => {
160
160
  let t = {};
161
161
  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;
162
- }), s = A(() => e.type === Y.DANGER ? "alert" : "status"), l = A(() => Fn(e.type, e.icon)), u = A(() => e.type === Y.BILLING), d = A(() => !!(e.leftside === Z.AVATAR && e.avatar || e.leftside === Z.ICON)), f = A(() => !!(e.description || e.linkText || r.description)), p = A(() => e.layout === X.HORIZONTAL && !f.value), m = A(() => e.showPrimaryButton && (e.primaryButtonText || e.secondaryButtonText)), h = A(() => e.showPrimaryButton && (e.primaryButtonText || e.secondaryButtonText) || e.closable), g = A(() => e.type === Y.BILLING || e.prominentPrimaryButton ? w.MAJOR : w.OUTLINED), _ = A(() => e.type === Y.BILLING ? C.BILLING : C.MAIN), v = () => {
162
+ }), s = j(() => e.type === Y.DANGER ? "alert" : "status"), l = j(() => In(e.type, e.icon)), u = j(() => e.type === Y.BILLING), d = j(() => !!(e.leftside === Z.AVATAR && e.avatar || e.leftside === Z.ICON)), f = j(() => !!(e.description || e.linkText || r.description)), p = j(() => e.layout === X.HORIZONTAL && !f.value), m = j(() => e.showPrimaryButton && (e.primaryButtonText || e.secondaryButtonText)), h = j(() => e.showPrimaryButton && (e.primaryButtonText || e.secondaryButtonText) || e.closable), g = j(() => e.type === Y.BILLING || e.prominentPrimaryButton ? T.MAJOR : T.OUTLINED), _ = j(() => e.type === Y.BILLING ? w.BILLING : w.MAIN), v = () => {
163
163
  n("close");
164
164
  }, y = () => {
165
165
  n("linkClick");
@@ -168,35 +168,35 @@ var An = [
168
168
  }, x = () => {
169
169
  n("secondaryAction");
170
170
  };
171
- return (t, n) => (B(), N("div", {
172
- class: R(["s-ui-notification", i.value]),
173
- style: z(a.value),
171
+ return (t, n) => (V(), P("div", {
172
+ class: z(["s-ui-notification", i.value]),
173
+ style: B(a.value),
174
174
  role: s.value
175
- }, [P("div", Ln, [
176
- d.value ? (B(), N("div", Rn, [e.leftside === G(Z).ICON ? (B(), N("div", zn, [I(G(bn), {
175
+ }, [F("div", Rn, [
176
+ d.value ? (V(), P("div", zn, [e.leftside === K(Z).ICON ? (V(), P("div", Bn, [L(K(xn), {
177
177
  name: l.value,
178
178
  size: 16,
179
179
  billing: u.value
180
- }, null, 8, ["name", "billing"])])) : e.leftside === G(Z).AVATAR && e.avatar ? (B(), j(G(c), {
180
+ }, null, 8, ["name", "billing"])])) : e.leftside === K(Z).AVATAR && e.avatar ? (V(), M(K(c), {
181
181
  key: 1,
182
182
  name: e.avatar.name,
183
183
  src: e.avatar.src,
184
184
  badge: e.avatar.badge,
185
- size: G(o).SIZE_20,
185
+ size: K(o).SIZE_20,
186
186
  showName: !1
187
187
  }, null, 8, [
188
188
  "name",
189
189
  "src",
190
190
  "badge",
191
191
  "size"
192
- ])) : M("", !0)])) : M("", !0),
193
- P("div", Bn, [
194
- P("div", Vn, [P("span", { class: R(["s-ui-notification__title s-ui-typography-label-14-medium", { "s-ui-notification__title--truncated": e.truncateTitle }]) }, [U(t.$slots, "title", {}, () => [F(W(e.title), 1)])], 2), e.layout === G(X).VERTICAL && e.closable ? (B(), j(G(E), {
192
+ ])) : N("", !0)])) : N("", !0),
193
+ F("div", Vn, [
194
+ F("div", Hn, [F("span", { class: z(["s-ui-notification__title s-ui-typography-label-14-medium", { "s-ui-notification__title--truncated": e.truncateTitle }]) }, [W(t.$slots, "title", {}, () => [I(G(e.title), 1)])], 2), e.layout === K(X).VERTICAL && e.closable ? (V(), M(K(D), {
195
195
  key: 0,
196
196
  class: "s-ui-notification__close",
197
- appearance: G(w).BARE,
198
- variant: G(C).NEUTRAL,
199
- size: G(T).SMALL,
197
+ appearance: K(T).BARE,
198
+ variant: K(w).NEUTRAL,
199
+ size: K(E).SMALL,
200
200
  "aria-label": e.closeAriaLabel,
201
201
  icon: "closeMini",
202
202
  onClick: v
@@ -205,87 +205,87 @@ var An = [
205
205
  "variant",
206
206
  "size",
207
207
  "aria-label"
208
- ])) : M("", !0)]),
209
- f.value ? (B(), N("div", Hn, [e.description || G(r).description ? (B(), N("span", Un, [U(t.$slots, "description", {}, () => [F(W(e.description), 1)])])) : M("", !0), e.linkText ? (B(), j(G(E), {
208
+ ])) : N("", !0)]),
209
+ f.value ? (V(), P("div", Un, [e.description || K(r).description ? (V(), P("span", Wn, [W(t.$slots, "description", {}, () => [I(G(e.description), 1)])])) : N("", !0), e.linkText ? (V(), M(K(D), {
210
210
  key: 1,
211
211
  class: "s-ui-notification__link",
212
- appearance: G(w).BARE,
213
- variant: G(C).MAIN,
214
- size: G(T).SMALL,
212
+ appearance: K(T).BARE,
213
+ variant: K(w).MAIN,
214
+ size: K(E).SMALL,
215
215
  iconRight: e.linkIconRight,
216
216
  onClick: y
217
217
  }, {
218
- default: q(() => [F(W(e.linkText), 1)]),
218
+ default: q(() => [I(G(e.linkText), 1)]),
219
219
  _: 1
220
220
  }, 8, [
221
221
  "appearance",
222
222
  "variant",
223
223
  "size",
224
224
  "iconRight"
225
- ])) : M("", !0)])) : M("", !0),
226
- e.layout === G(X).VERTICAL && m.value ? (B(), N("div", Wn, [e.showPrimaryButton && e.primaryButtonText ? (B(), j(G(E), {
225
+ ])) : N("", !0)])) : N("", !0),
226
+ e.layout === K(X).VERTICAL && m.value ? (V(), P("div", Gn, [e.showPrimaryButton && e.primaryButtonText ? (V(), M(K(D), {
227
227
  key: 0,
228
228
  appearance: g.value,
229
229
  variant: _.value,
230
- size: G(T).SMALL,
230
+ size: K(E).SMALL,
231
231
  onClick: b
232
232
  }, {
233
- default: q(() => [F(W(e.primaryButtonText), 1)]),
233
+ default: q(() => [I(G(e.primaryButtonText), 1)]),
234
234
  _: 1
235
235
  }, 8, [
236
236
  "appearance",
237
237
  "variant",
238
238
  "size"
239
- ])) : M("", !0), e.showPrimaryButton && e.secondaryButtonText ? (B(), j(G(E), {
239
+ ])) : N("", !0), e.showPrimaryButton && e.secondaryButtonText ? (V(), M(K(D), {
240
240
  key: 1,
241
- appearance: G(w).BARE,
242
- variant: G(C).NEUTRAL,
243
- size: G(T).SMALL,
241
+ appearance: K(T).BARE,
242
+ variant: K(w).NEUTRAL,
243
+ size: K(E).SMALL,
244
244
  onClick: x
245
245
  }, {
246
- default: q(() => [F(W(e.secondaryButtonText), 1)]),
246
+ default: q(() => [I(G(e.secondaryButtonText), 1)]),
247
247
  _: 1
248
248
  }, 8, [
249
249
  "appearance",
250
250
  "variant",
251
251
  "size"
252
- ])) : M("", !0)])) : M("", !0)
252
+ ])) : N("", !0)])) : N("", !0)
253
253
  ]),
254
- e.layout === G(X).HORIZONTAL && h.value ? (B(), N("div", Gn, [
255
- e.showPrimaryButton && e.primaryButtonText ? (B(), j(G(E), {
254
+ e.layout === K(X).HORIZONTAL && h.value ? (V(), P("div", Kn, [
255
+ e.showPrimaryButton && e.primaryButtonText ? (V(), M(K(D), {
256
256
  key: 0,
257
257
  appearance: g.value,
258
258
  variant: _.value,
259
- size: G(T).SMALL,
259
+ size: K(E).SMALL,
260
260
  onClick: b
261
261
  }, {
262
- default: q(() => [F(W(e.primaryButtonText), 1)]),
262
+ default: q(() => [I(G(e.primaryButtonText), 1)]),
263
263
  _: 1
264
264
  }, 8, [
265
265
  "appearance",
266
266
  "variant",
267
267
  "size"
268
- ])) : M("", !0),
269
- e.showPrimaryButton && e.secondaryButtonText ? (B(), j(G(E), {
268
+ ])) : N("", !0),
269
+ e.showPrimaryButton && e.secondaryButtonText ? (V(), M(K(D), {
270
270
  key: 1,
271
- appearance: G(w).OUTLINED,
272
- variant: G(C).MAIN,
273
- size: G(T).SMALL,
271
+ appearance: K(T).OUTLINED,
272
+ variant: K(w).MAIN,
273
+ size: K(E).SMALL,
274
274
  onClick: x
275
275
  }, {
276
- default: q(() => [F(W(e.secondaryButtonText), 1)]),
276
+ default: q(() => [I(G(e.secondaryButtonText), 1)]),
277
277
  _: 1
278
278
  }, 8, [
279
279
  "appearance",
280
280
  "variant",
281
281
  "size"
282
- ])) : M("", !0),
283
- e.layout === G(X).HORIZONTAL && e.closable ? (B(), j(G(E), {
282
+ ])) : N("", !0),
283
+ e.layout === K(X).HORIZONTAL && e.closable ? (V(), M(K(D), {
284
284
  key: 2,
285
285
  class: "s-ui-notification__close",
286
- appearance: G(w).BARE,
287
- variant: G(C).NEUTRAL,
288
- size: G(T).SMALL,
286
+ appearance: K(T).BARE,
287
+ variant: K(w).NEUTRAL,
288
+ size: K(E).SMALL,
289
289
  "aria-label": e.closeAriaLabel,
290
290
  icon: "closeMini",
291
291
  onClick: v
@@ -294,11 +294,11 @@ var An = [
294
294
  "variant",
295
295
  "size",
296
296
  "aria-label"
297
- ])) : M("", !0)
298
- ])) : M("", !0)
299
- ])], 14, In));
297
+ ])) : N("", !0)
298
+ ])) : N("", !0)
299
+ ])], 14, Ln));
300
300
  }
301
- }), qn = /* @__PURE__ */ L({
301
+ }), Jn = /* @__PURE__ */ R({
302
302
  __name: "SBanner",
303
303
  props: {
304
304
  type: { default: () => Y.INFO_ACCENT },
@@ -342,14 +342,14 @@ var An = [
342
342
  "secondaryAction"
343
343
  ],
344
344
  setup(e, { emit: t }) {
345
- let n = t, r = K(), i = A(() => ({ "s-ui-banner--elevated": e.elevated }));
346
- return (t, a) => (B(), j(Kn, {
347
- class: R(["s-ui-banner", i.value]),
345
+ let n = t, r = mn(), i = j(() => ({ "s-ui-banner--elevated": e.elevated }));
346
+ return (t, a) => (V(), M(qn, {
347
+ class: z(["s-ui-banner", i.value]),
348
348
  "data-qa": "ui:banner",
349
349
  type: e.type,
350
350
  layout: e.layout,
351
351
  leftside: e.leftside,
352
- surface: G(Nn).BANNER,
352
+ surface: K(Pn).BANNER,
353
353
  title: e.title,
354
354
  description: e.description,
355
355
  linkText: e.linkText,
@@ -368,13 +368,13 @@ var An = [
368
368
  onLinkClick: a[1] ||= (e) => n("linkClick"),
369
369
  onPrimaryAction: a[2] ||= (e) => n("primaryAction"),
370
370
  onSecondaryAction: a[3] ||= (e) => n("secondaryAction")
371
- }, on({ _: 2 }, [G(r).title ? {
371
+ }, an({ _: 2 }, [K(r).title ? {
372
372
  name: "title",
373
- fn: q(() => [U(t.$slots, "title")]),
373
+ fn: q(() => [W(t.$slots, "title")]),
374
374
  key: "0"
375
- } : void 0, G(r).description ? {
375
+ } : void 0, K(r).description ? {
376
376
  name: "description",
377
- fn: q(() => [U(t.$slots, "description")]),
377
+ fn: q(() => [W(t.$slots, "description")]),
378
378
  key: "1"
379
379
  } : void 0]), 1032, [
380
380
  "class",
@@ -398,7 +398,7 @@ var An = [
398
398
  "truncateTitle"
399
399
  ]));
400
400
  }
401
- }), Jn = /* @__PURE__ */ L({
401
+ }), Yn = /* @__PURE__ */ R({
402
402
  __name: "SToast",
403
403
  props: {
404
404
  type: { default: () => Y.INFO_ACCENT },
@@ -433,14 +433,14 @@ var An = [
433
433
  "secondaryAction"
434
434
  ],
435
435
  setup(e, { emit: t }) {
436
- let n = t, r = K(), i = A(() => e.width ?? 360);
437
- return (t, a) => (B(), j(Kn, {
436
+ let n = t, r = mn(), i = j(() => e.width ?? 360);
437
+ return (t, a) => (V(), M(qn, {
438
438
  class: "s-ui-toast",
439
439
  "data-qa": "ui:toast",
440
440
  type: e.type,
441
441
  layout: e.layout,
442
442
  leftside: e.leftside,
443
- surface: G(Nn).TOAST,
443
+ surface: K(Pn).TOAST,
444
444
  title: e.title,
445
445
  description: e.description,
446
446
  linkText: e.linkText,
@@ -457,13 +457,13 @@ var An = [
457
457
  onLinkClick: a[1] ||= (e) => n("linkClick"),
458
458
  onPrimaryAction: a[2] ||= (e) => n("primaryAction"),
459
459
  onSecondaryAction: a[3] ||= (e) => n("secondaryAction")
460
- }, on({ _: 2 }, [G(r).title ? {
460
+ }, an({ _: 2 }, [K(r).title ? {
461
461
  name: "title",
462
- fn: q(() => [U(t.$slots, "title")]),
462
+ fn: q(() => [W(t.$slots, "title")]),
463
463
  key: "0"
464
- } : void 0, G(r).description ? {
464
+ } : void 0, K(r).description ? {
465
465
  name: "description",
466
- fn: q(() => [U(t.$slots, "description")]),
466
+ fn: q(() => [W(t.$slots, "description")]),
467
467
  key: "1"
468
468
  } : void 0]), 1032, [
469
469
  "type",
@@ -484,13 +484,13 @@ var An = [
484
484
  "truncateTitle"
485
485
  ]));
486
486
  }
487
- }), Yn = .05, Xn = [
487
+ }), Xn = .05, Zn = [
488
488
  "data-mounted",
489
489
  "data-front",
490
490
  "data-expanded",
491
491
  "data-removed",
492
492
  "data-visible"
493
- ], Zn = /* @__PURE__ */ L({
493
+ ], Qn = /* @__PURE__ */ R({
494
494
  __name: "SToastProviderToast",
495
495
  props: {
496
496
  index: {},
@@ -503,7 +503,7 @@ var An = [
503
503
  },
504
504
  emits: ["heightChange"],
505
505
  setup(e, { emit: t }) {
506
- let n = t, r = V(null), i = V(0), a = V(!1), o = A(() => e.index === 0), s = A(() => 1 - e.index * Yn), c = A(() => ({
506
+ let n = t, r = H(null), i = H(0), a = H(!1), o = j(() => e.index === 0), s = j(() => 1 - e.index * Xn), c = j(() => ({
507
507
  "--s-ui-toast-provider-toasts-before": String(e.index),
508
508
  "--s-ui-toast-provider-lift-amount": `${e.stackPeek * -1}px`,
509
509
  "--s-ui-toast-provider-front-toast-height": `${e.frontToastHeight}px`,
@@ -512,7 +512,7 @@ var An = [
512
512
  "--s-ui-toast-provider-stack-scale": String(s.value),
513
513
  zIndex: String(1e3 - e.index)
514
514
  }));
515
- return kn(r, (e) => {
515
+ return An(r, (e) => {
516
516
  let t = e[0]?.contentRect.height ?? 0;
517
517
  t !== i.value && (i.value = t, n("heightChange", t));
518
518
  }), ln(() => {
@@ -521,62 +521,62 @@ var An = [
521
521
  a.value = !0;
522
522
  });
523
523
  });
524
- }), (t, n) => (B(), N("div", {
524
+ }), (t, n) => (V(), P("div", {
525
525
  class: "s-ui-toast-provider__toast",
526
526
  "data-mounted": a.value,
527
527
  "data-front": o.value,
528
528
  "data-expanded": e.expanded,
529
529
  "data-removed": e.removed,
530
530
  "data-visible": e.visible,
531
- style: z(c.value)
532
- }, [P("div", {
531
+ style: B(c.value)
532
+ }, [F("div", {
533
533
  ref_key: "contentRef",
534
534
  ref: r,
535
535
  class: "s-ui-toast-provider__toast-content"
536
- }, [U(t.$slots, "default")], 512)], 12, Xn));
536
+ }, [W(t.$slots, "default")], 512)], 12, Zn));
537
537
  }
538
- }), Qn = 4e3, $n = 1e4, er = 50, tr = (e, t) => {
539
- let n = Qn + (e.length + (t?.length ?? 0)) * 50;
540
- return n > 1e4 ? $n : n;
541
- }, Q = dn([]), $ = /* @__PURE__ */ new Map(), nr = 0, rr = {
538
+ }), $n = 4e3, er = 1e4, tr = 50, nr = (e, t) => {
539
+ let n = $n + (e.length + (t?.length ?? 0)) * 50;
540
+ return n > 1e4 ? er : n;
541
+ }, Q = dn([]), $ = /* @__PURE__ */ new Map(), rr = 0, ir = {
542
542
  type: Y.INFO_ACCENT,
543
543
  layout: X.HORIZONTAL,
544
544
  leftside: Z.ICON,
545
545
  showPrimaryButton: !1,
546
546
  closable: !0
547
- }, ir = () => `toast-${Date.now()}-${++nr}`, ar = (e) => {
547
+ }, ar = () => `toast-${Date.now()}-${++rr}`, or = (e) => {
548
548
  let t = $.get(e);
549
549
  t && (window.clearTimeout(t), $.delete(e));
550
- }, or = (e) => {
551
- ar(e.id);
552
- let t = e.duration === void 0 ? tr(e.title, e.description) : e.duration;
550
+ }, sr = (e) => {
551
+ or(e.id);
552
+ let t = e.duration === void 0 ? nr(e.title, e.description) : e.duration;
553
553
  if (t > 0) {
554
554
  let n = window.setTimeout(() => {
555
- sr(e.id);
555
+ cr(e.id);
556
556
  }, t);
557
557
  $.set(e.id, n);
558
558
  }
559
- }, sr = (e) => {
559
+ }, cr = (e) => {
560
560
  let t = Q.value.findIndex((t) => t.id === e);
561
561
  if (t === -1) return;
562
562
  let n = Q.value[t];
563
- n && (ar(e), n.onClose && n.onClose(), Q.value = Q.value.filter((t) => t.id !== e));
564
- }, cr = () => {
563
+ n && (or(e), n.onClose && n.onClose(), Q.value = Q.value.filter((t) => t.id !== e));
564
+ }, lr = () => {
565
565
  $.forEach((e) => window.clearTimeout(e)), $.clear(), Q.value = [];
566
- }, lr = (e) => e.length <= 3 ? e : (e.slice(3).forEach((e) => {
567
- ar(e.id);
568
- }), e.slice(0, 3)), ur = (e) => {
569
- let t = e.id ?? ir(), n = {
570
- ...rr,
566
+ }, ur = (e) => e.length <= 3 ? e : (e.slice(3).forEach((e) => {
567
+ or(e.id);
568
+ }), e.slice(0, 3)), dr = (e) => {
569
+ let t = e.id ?? ar(), n = {
570
+ ...ir,
571
571
  ...e,
572
572
  id: t
573
573
  }, r = Q.value.findIndex((e) => e.id === t);
574
574
  if (r > -1) {
575
575
  let e = [...Q.value];
576
- e[r] = n, Q.value = lr(e);
577
- } else Q.value = lr([n, ...Q.value]);
578
- return or(n), t;
579
- }, dr = (e, t) => {
576
+ e[r] = n, Q.value = ur(e);
577
+ } else Q.value = ur([n, ...Q.value]);
578
+ return sr(n), t;
579
+ }, fr = (e, t) => {
580
580
  let n = Q.value.findIndex((t) => t.id === e);
581
581
  if (n === -1) return;
582
582
  let r = Q.value[n];
@@ -586,142 +586,166 @@ var An = [
586
586
  ...t,
587
587
  id: r.id
588
588
  }, a = [...Q.value];
589
- a[n] = i, Q.value = a, or(i);
590
- }, fr = () => ({
589
+ a[n] = i, Q.value = a, sr(i);
590
+ }, pr = () => ({
591
591
  toasts: Q,
592
- show: ur,
593
- hide: sr,
594
- hideAll: cr,
595
- update: dr
596
- }), pr = /* @__PURE__ */ L({
592
+ show: dr,
593
+ hide: cr,
594
+ hideAll: lr,
595
+ update: fr
596
+ }), mr = {
597
+ class: "s-ui-toast-provider__announcer",
598
+ role: "status",
599
+ "aria-atomic": "true"
600
+ }, hr = {
601
+ class: "s-ui-toast-provider__announcer",
602
+ role: "alert",
603
+ "aria-atomic": "true"
604
+ }, gr = /* @__PURE__ */ R({
597
605
  __name: "SToastProvider",
598
606
  setup(e) {
599
- let { toasts: t, hide: n } = fr(), r = A(() => t.value.slice(0, 3)), i = V(!1), a = dn({}), o = V(/* @__PURE__ */ new Set()), s = A(() => t.value[0] ?? null), c = A(() => s.value ? a.value[s.value.id] ?? 0 : 0), l = V(0), u = A(() => c.value > 0 ? c.value : l.value);
600
- hn(c, (e) => {
601
- e > 0 && (l.value = e);
607
+ let { toasts: t, hide: n } = pr(), r = j(() => t.value.slice(0, 3)), i = H(""), a = H(""), o = /* @__PURE__ */ new Set(), s = (e) => e.flatMap((e) => [e.title, e.description ?? ""]).filter(Boolean).join(". "), c = async (e, t) => {
608
+ t && (e.value = "", await cn(), e.value = t);
609
+ };
610
+ gn(r, async (e) => {
611
+ let n = e.filter((e) => !o.has(e.id)), r = new Set(t.value.map((e) => e.id));
612
+ o.forEach((e) => {
613
+ r.has(e) || o.delete(e);
614
+ }), n.forEach((e) => o.add(e.id));
615
+ let l = n.filter((e) => e.type === Y.DANGER), u = n.filter((e) => e.type !== Y.DANGER);
616
+ await Promise.all([c(a, s(l)), c(i, s(u))]);
617
+ });
618
+ let l = H(!1), u = dn({}), d = H(/* @__PURE__ */ new Set()), f = j(() => t.value[0] ?? null), p = j(() => f.value ? u.value[f.value.id] ?? 0 : 0), m = H(0), h = j(() => p.value > 0 ? p.value : m.value);
619
+ gn(p, (e) => {
620
+ e > 0 && (m.value = e);
602
621
  });
603
- let d = A(() => {
622
+ let g = j(() => {
604
623
  if (r.value.length === 0) return {};
605
- if (i.value) return { height: `${r.value.reduce((e, t, n) => {
606
- let r = a.value[t.id] ?? 0, i = n > 0 ? 4 : 0;
624
+ if (l.value) return { height: `${r.value.reduce((e, t, n) => {
625
+ let r = u.value[t.id] ?? 0, i = n > 0 ? 4 : 0;
607
626
  return e + r + i;
608
627
  }, 0)}px` };
609
628
  let e = Math.min(r.value.length - 1, 2) * 10;
610
- return { height: `${u.value + e}px` };
611
- }), f = (e) => {
629
+ return { height: `${h.value + e}px` };
630
+ }), _ = (e) => {
612
631
  let t = 0;
613
632
  for (let n = 0; n < e; n += 1) {
614
633
  let e = r.value[n];
615
- e && (t += (a.value[e.id] ?? 0) + 4);
634
+ e && (t += (u.value[e.id] ?? 0) + 4);
616
635
  }
617
636
  return t;
618
- }, p = (e) => o.value.has(e), m = () => {
619
- r.value.length > 1 && (i.value = !0);
620
- }, h = () => {
621
- i.value = !1;
622
- }, g = (e, t) => {
623
- a.value = {
624
- ...a.value,
637
+ }, v = (e) => d.value.has(e), y = () => {
638
+ r.value.length > 1 && (l.value = !0);
639
+ }, b = () => {
640
+ l.value = !1;
641
+ }, x = (e, t) => {
642
+ u.value = {
643
+ ...u.value,
625
644
  [e]: t
626
645
  };
627
- }, _ = (e) => {
628
- o.value.has(e) || (o.value = new Set([...o.value, e]), window.setTimeout(() => {
646
+ }, S = (e) => {
647
+ d.value.has(e) || (d.value = new Set([...d.value, e]), window.setTimeout(() => {
629
648
  n(e);
630
- let t = new Set(o.value);
631
- t.delete(e), o.value = t;
632
- let r = { ...a.value };
633
- delete r[e], a.value = r;
649
+ let t = new Set(d.value);
650
+ t.delete(e), d.value = t;
651
+ let r = { ...u.value };
652
+ delete r[e], u.value = r;
634
653
  }, 200));
635
- }, v = (e) => {
654
+ }, C = (e) => {
636
655
  e.onLinkClick && e.onLinkClick();
637
- }, y = (e) => {
656
+ }, w = (e) => {
638
657
  e.onPrimaryAction && e.onPrimaryAction(e.id);
639
- }, b = (e) => {
658
+ }, T = (e) => {
640
659
  e.onSecondaryAction && e.onSecondaryAction();
641
660
  };
642
- return (e, t) => (B(), j(an, { to: "body" }, [P("div", {
661
+ return (e, t) => (V(), M(rn, { to: "body" }, [F("div", {
643
662
  class: "s-ui-toast-provider",
644
- onMouseenter: m,
645
- onMouseleave: h
646
- }, [r.value.length > 0 ? (B(), N("div", {
647
- key: 0,
648
- class: "s-ui-toast-provider__list",
649
- style: z(d.value)
650
- }, [(B(!0), N(k, null, H(r.value, (t, n) => (B(), j(Zn, {
651
- key: t.id,
652
- index: n,
653
- expanded: i.value,
654
- "front-toast-height": u.value,
655
- "stack-peek": G(10),
656
- removed: p(t.id),
657
- visible: n < G(3),
658
- "offset-y": f(n),
659
- onHeightChange: (e) => g(t.id, e)
660
- }, {
661
- default: q(() => [U(e.$slots, "toast", { toast: t }, () => [t.component ? (B(), j(un(t.component), cn({
663
+ onMouseenter: y,
664
+ onMouseleave: b
665
+ }, [
666
+ F("div", mr, G(i.value), 1),
667
+ F("div", hr, G(a.value), 1),
668
+ r.value.length > 0 ? (V(), P("div", {
662
669
  key: 0,
663
- ref_for: !0
664
- }, t.componentProps, {
665
- toast: t,
666
- onClose: (e) => _(t.id)
667
- }), null, 16, ["toast", "onClose"])) : (B(), j(G(Jn), {
668
- key: 1,
669
- type: t.type,
670
- layout: t.layout,
671
- leftside: t.leftside,
672
- title: t.title,
673
- description: t.description,
674
- linkText: t.linkText,
675
- primaryButtonText: t.primaryButtonText,
676
- secondaryButtonText: t.secondaryButtonText,
677
- showPrimaryButton: t.showPrimaryButton,
678
- closable: t.closable,
679
- closeAriaLabel: t.closeAriaLabel,
680
- icon: t.icon,
681
- avatar: t.avatar,
682
- width: t.width,
683
- truncateTitle: t.truncateTitle,
684
- onClose: (e) => _(t.id),
685
- onLinkClick: (e) => v(t),
686
- onPrimaryAction: (e) => y(t),
687
- onSecondaryAction: (e) => b(t)
688
- }, null, 8, [
689
- "type",
690
- "layout",
691
- "leftside",
692
- "title",
693
- "description",
694
- "linkText",
695
- "primaryButtonText",
696
- "secondaryButtonText",
697
- "showPrimaryButton",
698
- "closable",
699
- "closeAriaLabel",
700
- "icon",
701
- "avatar",
702
- "width",
703
- "truncateTitle",
704
- "onClose",
705
- "onLinkClick",
706
- "onPrimaryAction",
707
- "onSecondaryAction"
708
- ]))])]),
709
- _: 2
710
- }, 1032, [
711
- "index",
712
- "expanded",
713
- "front-toast-height",
714
- "stack-peek",
715
- "removed",
716
- "visible",
717
- "offset-y",
718
- "onHeightChange"
719
- ]))), 128))], 4)) : M("", !0)], 32)]));
670
+ class: "s-ui-toast-provider__list",
671
+ style: B(g.value)
672
+ }, [(V(!0), P(A, null, U(r.value, (t, n) => (V(), M(Qn, {
673
+ key: t.id,
674
+ index: n,
675
+ expanded: l.value,
676
+ "front-toast-height": h.value,
677
+ "stack-peek": K(10),
678
+ removed: v(t.id),
679
+ visible: n < K(3),
680
+ "offset-y": _(n),
681
+ onHeightChange: (e) => x(t.id, e)
682
+ }, {
683
+ default: q(() => [W(e.$slots, "toast", { toast: t }, () => [t.component ? (V(), M(un(t.component), sn({
684
+ key: 0,
685
+ ref_for: !0
686
+ }, t.componentProps, {
687
+ toast: t,
688
+ onClose: (e) => S(t.id)
689
+ }), null, 16, ["toast", "onClose"])) : (V(), M(K(Yn), {
690
+ key: 1,
691
+ role: "presentation",
692
+ type: t.type,
693
+ layout: t.layout,
694
+ leftside: t.leftside,
695
+ title: t.title,
696
+ description: t.description,
697
+ linkText: t.linkText,
698
+ primaryButtonText: t.primaryButtonText,
699
+ secondaryButtonText: t.secondaryButtonText,
700
+ showPrimaryButton: t.showPrimaryButton,
701
+ closable: t.closable,
702
+ closeAriaLabel: t.closeAriaLabel,
703
+ icon: t.icon,
704
+ avatar: t.avatar,
705
+ width: t.width,
706
+ truncateTitle: t.truncateTitle,
707
+ onClose: (e) => S(t.id),
708
+ onLinkClick: (e) => C(t),
709
+ onPrimaryAction: (e) => w(t),
710
+ onSecondaryAction: (e) => T(t)
711
+ }, null, 8, [
712
+ "type",
713
+ "layout",
714
+ "leftside",
715
+ "title",
716
+ "description",
717
+ "linkText",
718
+ "primaryButtonText",
719
+ "secondaryButtonText",
720
+ "showPrimaryButton",
721
+ "closable",
722
+ "closeAriaLabel",
723
+ "icon",
724
+ "avatar",
725
+ "width",
726
+ "truncateTitle",
727
+ "onClose",
728
+ "onLinkClick",
729
+ "onPrimaryAction",
730
+ "onSecondaryAction"
731
+ ]))])]),
732
+ _: 2
733
+ }, 1032, [
734
+ "index",
735
+ "expanded",
736
+ "front-toast-height",
737
+ "stack-peek",
738
+ "removed",
739
+ "visible",
740
+ "offset-y",
741
+ "onHeightChange"
742
+ ]))), 128))], 4)) : N("", !0)
743
+ ], 32)]));
720
744
  }
721
- }), mr = 4, hr = 4, gr = 1, _r = "400 12px var(--s-ui-font-family-label)", vr = 4, yr = .5, br = (e, t, n, r, i, a) => {
745
+ }), _r = 4, vr = 4, yr = 1, br = "400 12px var(--s-ui-font-family-label)", xr = 4, Sr = .5, Cr = (e, t, n, r, i, a) => {
722
746
  let o = Math.min(a, r / 2, i / 2);
723
747
  e.beginPath(), e.moveTo(t + o, n), e.lineTo(t + r - o, n), e.arcTo(t + r, n, t + r, n + o, o), e.lineTo(t + r, n + i - o), e.arcTo(t + r, n + i, t + r - o, n + i, o), e.lineTo(t + o, n + i), e.arcTo(t, n + i, t, n + i - o, o), e.lineTo(t, n + o), e.arcTo(t, n, t + o, n, o), e.closePath();
724
- }, xr = (e) => {
748
+ }, wr = (e) => {
725
749
  let t = e.getProps([
726
750
  "x",
727
751
  "y",
@@ -732,37 +756,37 @@ var An = [
732
756
  width: Math.abs(n - i),
733
757
  centerY: r
734
758
  };
735
- }, Sr = (e, t, n, r, i) => {
736
- let a = xr(t);
759
+ }, Tr = (e, t, n, r, i) => {
760
+ let a = wr(t);
737
761
  if (!a) return;
738
- let o = i ? i(n) : `${n}`, s = e.measureText(o).width + mr * 2;
739
- if (a.width < s + vr * 2) return;
762
+ let o = i ? i(n) : `${n}`, s = e.measureText(o).width + _r * 2;
763
+ if (a.width < s + xr * 2) return;
740
764
  let c = a.left + a.width / 2;
741
- br(e, c - s / 2, a.centerY - 20 / 2, s, 20, hr), e.fillStyle = r.background, e.fill(), e.lineWidth = gr, e.strokeStyle = r.border, e.stroke(), e.fillStyle = r.text, e.fillText(o, c, a.centerY);
742
- }, Cr = (e, t) => ({
765
+ Cr(e, c - s / 2, a.centerY - 20 / 2, s, 20, vr), e.fillStyle = r.background, e.fill(), e.lineWidth = yr, e.strokeStyle = r.border, e.stroke(), e.fillStyle = r.text, e.fillText(o, c, a.centerY);
766
+ }, Er = (e, t) => ({
743
767
  id: "segmentedBarBadge",
744
768
  afterDatasetsDraw(n) {
745
769
  let r = {
746
- background: O(D.pieBadgeBackground, e),
747
- border: O(D.pieBadgeBorder, e),
748
- text: O(D.pieBadgeText, e)
770
+ background: k(O.pieBadgeBackground, e),
771
+ border: k(O.pieBadgeBorder, e),
772
+ text: k(O.pieBadgeText, e)
749
773
  }, { ctx: i } = n;
750
- i.save(), i.font = _r, i.textAlign = "center", i.textBaseline = "middle";
751
- let a = ht(n);
774
+ i.save(), i.font = br, i.textAlign = "center", i.textBaseline = "middle";
775
+ let a = mt(n);
752
776
  n.data.datasets.forEach((e, o) => {
753
777
  let s = n.getDatasetMeta(o)?.data[0], c = e.data[0];
754
- s && typeof c == "number" && c > 0 && (i.globalAlpha = a !== null && a.datasetIndex !== o ? yr : 1, Sr(i, s, c, r, t));
778
+ s && typeof c == "number" && c > 0 && (i.globalAlpha = a !== null && a.datasetIndex !== o ? Sr : 1, Tr(i, s, c, r, t));
755
779
  }), i.restore();
756
780
  }
757
- }), wr = 40, Tr = 4, Er = 1, Dr = [
781
+ }), Dr = 40, Or = 4, kr = 1, Ar = [
758
782
  "mousemove",
759
783
  "mouseout",
760
784
  "click",
761
785
  "touchstart",
762
786
  "touchmove"
763
- ], Or = ({ segments: e, segmentColors: t, colorHostElement: n, skeleton: r = !1, formatValue: i, onSegmentClick: a, onSegmentHover: o, resolveTooltipLines: s }) => {
787
+ ], jr = ({ segments: e, segmentColors: t, colorHostElement: n, skeleton: r = !1, formatValue: i, onSegmentClick: a, onSegmentHover: o, resolveTooltipLines: s }) => {
764
788
  if (e.length === 0) return null;
765
- let c = O("--s-ui-color-surface-primary", n), l = e.reduce((e, t) => e + t.value, 0), u = mt({
789
+ let c = k("--s-ui-color-surface-primary", n), l = e.reduce((e, t) => e + t.value, 0), u = pt({
766
790
  kind: "series",
767
791
  skeleton: r,
768
792
  colorHostElement: n,
@@ -780,12 +804,12 @@ var An = [
780
804
  hoverBackgroundColor: t[n],
781
805
  borderColor: c,
782
806
  borderWidth: {
783
- left: Er,
784
- right: Er
807
+ left: kr,
808
+ right: kr
785
809
  },
786
810
  borderSkipped: !1,
787
- borderRadius: Tr,
788
- barThickness: wr,
811
+ borderRadius: Or,
812
+ barThickness: Dr,
789
813
  stack: "track"
790
814
  }))
791
815
  },
@@ -794,7 +818,7 @@ var An = [
794
818
  responsive: !0,
795
819
  maintainAspectRatio: !1,
796
820
  layout: { padding: 0 },
797
- events: r ? [] : Dr,
821
+ events: r ? [] : Ar,
798
822
  onHover: u.onHover,
799
823
  onClick: u.onClick,
800
824
  hover: r ? void 0 : {
@@ -806,9 +830,9 @@ var An = [
806
830
  legend: { display: !1 },
807
831
  tooltip: {
808
832
  enabled: !r && s !== void 0,
809
- backgroundColor: O(D.tooltipBackground, n),
810
- titleColor: O(D.tooltipText, n),
811
- bodyColor: O(D.tooltipText, n),
833
+ backgroundColor: k(O.tooltipBackground, n),
834
+ titleColor: k(O.tooltipText, n),
835
+ bodyColor: k(O.tooltipText, n),
812
836
  displayColors: !1,
813
837
  callbacks: {
814
838
  title: () => "",
@@ -829,9 +853,9 @@ var An = [
829
853
  }
830
854
  }
831
855
  },
832
- plugins: [...r ? [] : [Cr(n, i)], ...u.plugins]
856
+ plugins: [...r ? [] : [Er(n, i)], ...u.plugins]
833
857
  };
834
- }, kr = [
858
+ }, Mr = [
835
859
  4,
836
860
  1,
837
861
  2,
@@ -843,9 +867,9 @@ var An = [
843
867
  ].map((e, t) => ({
844
868
  label: `Series ${t + 1}`,
845
869
  value: e
846
- })), Ar = /* @__PURE__ */ L({
870
+ })), Nr = /* @__PURE__ */ R({
847
871
  __name: "SChartSegmentedBar",
848
- props: /*@__PURE__*/ sn({
872
+ props: /*@__PURE__*/ on({
849
873
  segments: { default: () => [] },
850
874
  showLegend: {
851
875
  type: Boolean,
@@ -864,7 +888,7 @@ var An = [
864
888
  type: Boolean,
865
889
  default: !1
866
890
  },
867
- legendSize: { default: () => vt.SMALL },
891
+ legendSize: { default: () => _t.SMALL },
868
892
  formatTooltip: { type: Function }
869
893
  }, {
870
894
  selectedIndex: { default: null },
@@ -872,31 +896,31 @@ var An = [
872
896
  selectedIndexes: { default: () => [] },
873
897
  selectedIndexesModifiers: {}
874
898
  }),
875
- emits: /*@__PURE__*/ sn(["segmentClick"], ["update:selectedIndex", "update:selectedIndexes"]),
899
+ emits: /*@__PURE__*/ on(["segmentClick"], ["update:selectedIndex", "update:selectedIndexes"]),
876
900
  setup(e, { expose: t, emit: n }) {
877
- let r = pn(e, "selectedIndex"), i = pn(e, "selectedIndexes"), a = n, o = _t, s = mn("chartRootRef"), c = mn("chartCanvasRef"), l = A(() => e.loading ? kr : e.segments), u = A(() => l.value.map((t, n) => Mn(n, s.value, t.fillColor, e.loading))), d = A(() => l.value.map((e, t) => ({
901
+ let r = pn(e, "selectedIndex"), i = pn(e, "selectedIndexes"), a = n, o = gt, s = hn("chartRootRef"), c = hn("chartCanvasRef"), l = j(() => e.loading ? Mr : e.segments), u = j(() => l.value.map((t, n) => Nn(n, s.value, t.fillColor, e.loading))), d = j(() => l.value.map((e, t) => ({
878
902
  segment: e,
879
903
  segmentIndex: t
880
- })).filter(({ segment: e }) => e.value > 0)), f = A(() => d.value.map(({ segment: e }) => e)), p = A(() => d.value.map(({ segmentIndex: e }) => _.value && !i.value.includes(e) ? ft(s.value) : u.value[e] ?? "")), m = A(() => {
904
+ })).filter(({ segment: e }) => e.value > 0)), f = j(() => d.value.map(({ segment: e }) => e)), p = j(() => d.value.map(({ segmentIndex: e }) => _.value && !i.value.includes(e) ? dt(s.value) : u.value[e] ?? "")), m = j(() => {
881
905
  let e = /* @__PURE__ */ new Map();
882
906
  return d.value.forEach(({ segmentIndex: t }, n) => {
883
907
  e.set(t, n);
884
908
  }), e;
885
- }), h = V(null), g = (t) => {
909
+ }), h = H(null), g = (t) => {
886
910
  if (e.multiple) {
887
911
  i.value = i.value.includes(t) ? i.value.filter((e) => e !== t) : [...i.value, t];
888
912
  return;
889
913
  }
890
914
  r.value = r.value === t ? null : t;
891
- }, _ = A(() => e.selectable && e.multiple && i.value.length > 0), v = (t) => {
915
+ }, _ = j(() => e.selectable && e.multiple && i.value.length > 0), v = (t) => {
892
916
  let n = d.value[t];
893
917
  n && (a("segmentClick", n.segmentIndex, n.segment), e.selectable && g(n.segmentIndex));
894
918
  }, y = (e) => {
895
919
  h.value = e === null ? null : d.value[e]?.segmentIndex ?? null;
896
- }, b = kt("onSegmentClick"), x = (t) => {
920
+ }, b = Ot("onSegmentClick"), x = (t) => {
897
921
  let n = d.value[t];
898
922
  return n && e.formatTooltip ? e.formatTooltip(n.segment, n.segmentIndex) : [];
899
- }, ee = A(() => e.selectable ? e.multiple ? h.value : h.value ?? r.value : null), S = A(() => _.value && h.value === null ? i.value : []), C = A(() => Or({
923
+ }, S = j(() => e.selectable ? e.multiple ? h.value : h.value ?? r.value : null), C = j(() => _.value && h.value === null ? i.value : []), w = j(() => jr({
900
924
  segments: f.value,
901
925
  segmentColors: p.value,
902
926
  colorHostElement: s.value,
@@ -905,50 +929,50 @@ var An = [
905
929
  onSegmentClick: e.selectable || b() ? v : void 0,
906
930
  onSegmentHover: e.selectable ? y : void 0,
907
931
  resolveTooltipLines: e.formatTooltip ? x : void 0
908
- })), w = A(() => l.value.map((e, t) => ({
932
+ })), T = j(() => l.value.map((e, t) => ({
909
933
  label: e.label,
910
934
  color: u.value[t] ?? ""
911
- }))), { chartInstance: T } = pt({
935
+ }))), { chartInstance: E } = ft({
912
936
  canvasRef: c,
913
- config: C,
914
- enabled: A(() => e.loading || f.value.length > 0)
915
- }), { exportImage: E, handleLegendItemHover: te, pinElement: ne } = gt({
916
- chartInstance: T,
937
+ config: w,
938
+ enabled: j(() => e.loading || f.value.length > 0)
939
+ }), { exportImage: D, handleLegendItemHover: ee, pinElement: te } = ht({
940
+ chartInstance: E,
917
941
  canvasRef: c,
918
942
  colorHostElement: s
919
- }), re = (e) => e === null ? null : m.value.get(e) ?? null, ie = (t) => {
920
- e.selectable && (h.value = t), te(re(t));
943
+ }), ne = (e) => e === null ? null : m.value.get(e) ?? null, re = (t) => {
944
+ e.selectable && (h.value = t), ee(ne(t));
921
945
  };
922
- return hn([T, r], () => {
923
- e.selectable && !e.loading && ne(re(r.value));
924
- }), t({ exportImage: E }), (t, n) => (B(), N("div", {
946
+ return gn([E, r], () => {
947
+ e.selectable && !e.loading && te(ne(r.value));
948
+ }), t({ exportImage: D }), (t, n) => (V(), P("div", {
925
949
  ref_key: "chartRootRef",
926
950
  ref: s,
927
- class: R(["s-ui-chart-segmented-bar", { "s-ui-chart-segmented-bar--skeleton": e.loading }]),
951
+ class: z(["s-ui-chart-segmented-bar", { "s-ui-chart-segmented-bar--skeleton": e.loading }]),
928
952
  "data-qa": "ui:chart-segmented-bar"
929
- }, [P("div", {
953
+ }, [F("div", {
930
954
  class: "s-ui-chart-segmented-bar__canvas-wrap",
931
955
  onMouseleave: n[0] ||= (e) => y(null)
932
- }, [I(G(dt), {
956
+ }, [L(K(ut), {
933
957
  loading: e.loading,
934
- type: G(o).CARTESIAN
958
+ type: K(o).CARTESIAN
935
959
  }, {
936
- default: q(() => [P("canvas", {
960
+ default: q(() => [F("canvas", {
937
961
  ref_key: "chartCanvasRef",
938
962
  ref: c,
939
963
  class: "s-ui-chart-segmented-bar__canvas"
940
964
  }, null, 512)]),
941
965
  _: 1
942
- }, 8, ["loading", "type"])], 32), e.showLegend && w.value.length ? (B(), j(G(yt), {
966
+ }, 8, ["loading", "type"])], 32), e.showLegend && T.value.length ? (V(), M(K(vt), {
943
967
  key: 0,
944
- items: w.value,
968
+ items: T.value,
945
969
  disabled: e.loading,
946
970
  interactive: !e.loading,
947
971
  size: e.legendSize,
948
972
  selectable: e.selectable && !e.loading,
949
- "active-index": ee.value,
950
- "active-indexes": S.value,
951
- onItemHover: ie,
973
+ "active-index": S.value,
974
+ "active-indexes": C.value,
975
+ onItemHover: re,
952
976
  onItemClick: g
953
977
  }, null, 8, [
954
978
  "items",
@@ -958,30 +982,30 @@ var An = [
958
982
  "selectable",
959
983
  "active-index",
960
984
  "active-indexes"
961
- ])) : M("", !0)], 2));
985
+ ])) : N("", !0)], 2));
962
986
  }
963
- }), jr = {
987
+ }), Pr = {
964
988
  key: 0,
965
989
  class: "s-ui-chart-widget__header"
966
- }, Mr = {
990
+ }, Fr = {
967
991
  key: 0,
968
992
  class: "s-ui-chart-widget__title-skeleton",
969
993
  "aria-hidden": "true"
970
- }, Nr = {
994
+ }, Ir = {
971
995
  key: 1,
972
996
  class: "s-ui-chart-widget__heading"
973
- }, Pr = { class: "s-ui-chart-widget__title s-ui-typography-label-16-medium" }, Fr = {
997
+ }, Lr = { class: "s-ui-chart-widget__title s-ui-typography-label-16-medium" }, Rr = {
974
998
  key: 0,
975
999
  class: "s-ui-chart-widget__subtitle s-ui-typography-body-12-regular"
976
- }, Ir = { class: "s-ui-chart-widget__controls" }, Lr = {
1000
+ }, zr = { class: "s-ui-chart-widget__controls" }, Br = {
977
1001
  key: 1,
978
1002
  class: "s-ui-chart-widget__content"
979
- }, Rr = {
1003
+ }, Vr = {
980
1004
  key: 2,
981
1005
  class: "s-ui-chart-widget__footer"
982
- }, zr = /* @__PURE__ */ L({
1006
+ }, Hr = /* @__PURE__ */ R({
983
1007
  __name: "SChartWidget",
984
- props: /*@__PURE__*/ sn({
1008
+ props: /*@__PURE__*/ on({
985
1009
  title: { default: "" },
986
1010
  subtitle: { default: "" },
987
1011
  collapsible: {
@@ -1005,17 +1029,17 @@ var An = [
1005
1029
  }),
1006
1030
  emits: ["update:collapsed"],
1007
1031
  setup(e) {
1008
- let t = pn(e, "collapsed"), n = K(), { t: r } = On(), i = A(() => !!e.subtitle || !!n.subtitle), a = A(() => !!e.title || !!n.title || i.value || !!n.actions || e.collapsible), o = A(() => !!n.footer), s = A(() => !t.value || !e.collapsible || !e.hideContentWhenCollapsed), c = A(() => r(t.value ? "chartWidget.expand" : "chartWidget.collapse"));
1009
- return (n, r) => (B(), N("div", {
1010
- class: R(["s-ui-chart-widget", { "s-ui-chart-widget--skeleton": e.loading }]),
1032
+ let t = pn(e, "collapsed"), n = mn(), { t: r } = kn(), i = j(() => !!e.subtitle || !!n.subtitle), a = j(() => !!e.title || !!n.title || i.value || !!n.actions || e.collapsible), o = j(() => !!n.footer), s = j(() => !t.value || !e.collapsible || !e.hideContentWhenCollapsed), c = j(() => r(t.value ? "chartWidget.expand" : "chartWidget.collapse"));
1033
+ return (n, r) => (V(), P("div", {
1034
+ class: z(["s-ui-chart-widget", { "s-ui-chart-widget--skeleton": e.loading }]),
1011
1035
  "data-qa": "ui:chart-widget"
1012
1036
  }, [
1013
- a.value ? (B(), N("div", jr, [e.loading ? (B(), N("span", Mr)) : (B(), N("span", Nr, [P("span", Pr, [U(n.$slots, "title", {}, () => [F(W(e.title), 1)])]), i.value ? (B(), N("span", Fr, [U(n.$slots, "subtitle", {}, () => [F(W(e.subtitle), 1)])])) : M("", !0)])), P("div", Ir, [U(n.$slots, "actions"), e.collapsible ? (B(), j(G(E), {
1037
+ a.value ? (V(), P("div", Pr, [e.loading ? (V(), P("span", Fr)) : (V(), P("span", Ir, [F("span", Lr, [W(n.$slots, "title", {}, () => [I(G(e.title), 1)])]), i.value ? (V(), P("span", Rr, [W(n.$slots, "subtitle", {}, () => [I(G(e.subtitle), 1)])])) : N("", !0)])), F("div", zr, [W(n.$slots, "actions"), e.collapsible ? (V(), M(K(D), {
1014
1038
  key: 0,
1015
- appearance: G(w).OUTLINED,
1016
- variant: G(C).NEUTRAL,
1017
- size: G(T).SMALL,
1018
- icon: t.value ? G(J).chevronDown : G(J).chevronUp,
1039
+ appearance: K(T).OUTLINED,
1040
+ variant: K(w).NEUTRAL,
1041
+ size: K(E).SMALL,
1042
+ icon: t.value ? K(J).chevronDown : K(J).chevronUp,
1019
1043
  "aria-label": c.value,
1020
1044
  "aria-expanded": !t.value,
1021
1045
  onClick: r[0] ||= (e) => t.value = !t.value
@@ -1026,84 +1050,84 @@ var An = [
1026
1050
  "icon",
1027
1051
  "aria-label",
1028
1052
  "aria-expanded"
1029
- ])) : M("", !0)])])) : M("", !0),
1030
- s.value ? (B(), N("div", Lr, [U(n.$slots, "default")])) : M("", !0),
1031
- o.value ? (B(), N("div", Rr, [U(n.$slots, "footer")])) : M("", !0)
1053
+ ])) : N("", !0)])])) : N("", !0),
1054
+ s.value ? (V(), P("div", Br, [W(n.$slots, "default")])) : N("", !0),
1055
+ o.value ? (V(), P("div", Vr, [W(n.$slots, "footer")])) : N("", !0)
1032
1056
  ], 2));
1033
1057
  }
1034
- }), Br = /* @__PURE__ */ function(e) {
1058
+ }), Ur = /* @__PURE__ */ function(e) {
1035
1059
  return e.UNDONE = "undone", e.GENERATED = "generated", e.ON_PLAN = "on-plan", e.RISK = "risk", e.DEVIATED = "deviated", e.ON_PAUSE = "on-pause", e.DONE = "done", e;
1036
- }({}), Vr = /^(\d{4})-(\d{2})-(\d{2})/, Hr = (e) => {
1060
+ }({}), Wr = /^(\d{4})-(\d{2})-(\d{2})/, Gr = (e) => {
1037
1061
  if (e instanceof Date) return Number.isNaN(e.getTime()) ? null : {
1038
1062
  year: e.getFullYear(),
1039
1063
  month: e.getMonth(),
1040
1064
  day: e.getDate()
1041
1065
  };
1042
- let t = Vr.exec(e);
1066
+ let t = Wr.exec(e);
1043
1067
  return t ? {
1044
1068
  year: Number(t[1]),
1045
1069
  month: Number(t[2]) - 1,
1046
1070
  day: Number(t[3])
1047
1071
  } : null;
1048
- }, Ur = (e, t) => new Date(e, t + 1, 0).getDate(), Wr = 12, Gr = (e, t, n = !1) => {
1072
+ }, Kr = (e, t) => new Date(e, t + 1, 0).getDate(), qr = 12, Jr = (e, t, n = !1) => {
1049
1073
  if (e.year < t) return 0;
1050
1074
  if (e.year > t) return 100;
1051
- let r = Ur(e.year, e.month), i = n ? e.day : e.day - 1;
1052
- return (e.month + i / r) / Wr * 100;
1053
- }, Kr = (e) => {
1075
+ let r = Kr(e.year, e.month), i = n ? e.day : e.day - 1;
1076
+ return (e.month + i / r) / qr * 100;
1077
+ }, Yr = (e) => {
1054
1078
  let t = new Intl.DateTimeFormat(e, { month: "long" });
1055
- return Array.from({ length: Wr }, (n, r) => {
1079
+ return Array.from({ length: qr }, (n, r) => {
1056
1080
  let i = t.format(new Date(2e3, r, 1));
1057
1081
  return i.charAt(0).toLocaleUpperCase(e) + i.slice(1);
1058
1082
  });
1059
- }, qr = (e) => Math.min(100, Math.max(0, e)), Jr = (e, t, n, r, i) => e.flatMap((e) => {
1060
- let a = Hr(e.date);
1083
+ }, Xr = (e) => Math.min(100, Math.max(0, e)), Zr = (e, t, n, r, i) => e.flatMap((e) => {
1084
+ let a = Gr(e.date);
1061
1085
  if (!a || a.year !== n) return [];
1062
- let o = Gr(a, n, !0), s = i > 0 ? qr((o - r) / i * 100) : 0;
1086
+ let o = Jr(a, n, !0), s = i > 0 ? Xr((o - r) / i * 100) : 0;
1063
1087
  return [{
1064
1088
  milestone: e,
1065
1089
  status: e.status ?? t,
1066
1090
  offset: s
1067
1091
  }];
1068
- }), Yr = (e, t) => e.flatMap((e) => {
1069
- let n = Hr(e.start), r = Hr(e.end);
1092
+ }), Qr = (e, t) => e.flatMap((e) => {
1093
+ let n = Gr(e.start), r = Gr(e.end);
1070
1094
  if (!n || !r || n.year > t || r.year < t) return [];
1071
- let i = Gr(n, t), a = Gr(r, t, !0);
1095
+ let i = Jr(n, t), a = Jr(r, t, !0);
1072
1096
  if (a <= i) return [];
1073
- let o = e.status ?? Br.ON_PLAN, s = a - i;
1097
+ let o = e.status ?? Ur.ON_PLAN, s = a - i;
1074
1098
  return [{
1075
1099
  item: e,
1076
1100
  status: o,
1077
1101
  left: i,
1078
1102
  width: s,
1079
- progress: e.progress === void 0 ? null : qr(Math.round(e.progress)),
1080
- milestones: Jr(e.milestones ?? [], o, t, i, s)
1103
+ progress: e.progress === void 0 ? null : Xr(Math.round(e.progress)),
1104
+ milestones: Zr(e.milestones ?? [], o, t, i, s)
1081
1105
  }];
1082
- }), Xr = ["aria-busy"], Zr = { class: "s-ui-roadmap__ruler" }, Qr = { class: "s-ui-roadmap__year" }, $r = { class: "s-ui-roadmap__months" }, ei = { class: "s-ui-roadmap__body" }, ti = {
1106
+ }), $r = ["aria-busy"], ei = { class: "s-ui-roadmap__ruler" }, ti = { class: "s-ui-roadmap__year" }, ni = { class: "s-ui-roadmap__months" }, ri = { class: "s-ui-roadmap__body" }, ii = {
1083
1107
  class: "s-ui-roadmap__grid",
1084
1108
  "aria-hidden": "true"
1085
- }, ni = {
1109
+ }, ai = {
1086
1110
  key: 1,
1087
1111
  class: "s-ui-roadmap__rows"
1088
- }, ri = { class: "s-ui-roadmap__row" }, ii = {
1112
+ }, oi = { class: "s-ui-roadmap__row" }, si = {
1089
1113
  key: 2,
1090
1114
  class: "s-ui-roadmap__rows"
1091
- }, ai = [
1115
+ }, ci = [
1092
1116
  "role",
1093
1117
  "tabindex",
1094
1118
  "onClick",
1095
1119
  "onKeydown"
1096
- ], oi = { class: "s-ui-roadmap__card-header" }, si = { class: "s-ui-roadmap__card-title" }, ci = { class: "s-ui-roadmap__card-track" }, li = [
1120
+ ], li = { class: "s-ui-roadmap__card-header" }, ui = { class: "s-ui-roadmap__card-title" }, di = { class: "s-ui-roadmap__card-track" }, fi = [
1097
1121
  "title",
1098
1122
  "aria-label",
1099
1123
  "onClick"
1100
- ], ui = {
1124
+ ], pi = {
1101
1125
  key: 0,
1102
1126
  class: "s-ui-roadmap__card-progress"
1103
- }, di = { class: "s-ui-roadmap__card-percent" }, fi = {
1127
+ }, mi = { class: "s-ui-roadmap__card-percent" }, hi = {
1104
1128
  key: 3,
1105
1129
  class: "s-ui-roadmap__empty"
1106
- }, pi = 3.8, mi = 39.6, hi = 16, gi = 16, _i = /* @__PURE__ */ L({
1130
+ }, gi = 3.8, _i = 39.6, vi = 16, yi = 16, bi = /* @__PURE__ */ R({
1107
1131
  __name: "SRoadmap",
1108
1132
  props: {
1109
1133
  items: { default: () => [] },
@@ -1118,12 +1142,12 @@ var An = [
1118
1142
  },
1119
1143
  emits: ["itemClick", "milestoneClick"],
1120
1144
  setup(e, { emit: t }) {
1121
- let n = t, r = hi / 2, i = J.stageFill, a = J.milestoneFill, o = vn.SMALL, s = yn.S_ROADMAP_CARD, c = {
1122
- insetInlineStart: `${pi}%`,
1123
- inlineSize: `${mi}%`
1124
- }, { t: l, locale: u } = On(), d = kt("onItemClick"), f = kt("onMilestoneClick"), p = V(null), m = A(() => d() ? e.itemActionLabel : void 0), h = A(() => f() ? e.milestoneActionLabel : void 0), g = A(() => p.value ? {
1145
+ let n = t, r = vi / 2, i = J.stageFill, a = J.milestoneFill, o = yn.SMALL, s = bn.S_ROADMAP_CARD, c = {
1146
+ insetInlineStart: `${gi}%`,
1147
+ inlineSize: `${_i}%`
1148
+ }, { t: l, locale: u } = kn(), d = Ot("onItemClick"), f = Ot("onMilestoneClick"), p = H(null), m = j(() => d() ? e.itemActionLabel : void 0), h = j(() => f() ? e.milestoneActionLabel : void 0), g = j(() => p.value ? {
1125
1149
  insetInlineStart: `${p.value.x}px`,
1126
- insetBlockStart: `${p.value.y + gi}px`
1150
+ insetBlockStart: `${p.value.y + yi}px`
1127
1151
  } : void 0), _ = (e, t) => {
1128
1152
  p.value = e ? {
1129
1153
  text: e,
@@ -1132,11 +1156,11 @@ var An = [
1132
1156
  } : null;
1133
1157
  }, v = () => {
1134
1158
  p.value = null;
1135
- }, y = A(() => Hr(e.today ?? /* @__PURE__ */ new Date())), b = A(() => e.year ?? y.value?.year ?? (/* @__PURE__ */ new Date()).getFullYear()), x = A(() => y.value?.year === b.value), ee = A(() => ["s-ui-roadmap", { "s-ui-roadmap--loading": e.loading }]), S = A(() => Kr(String(fn(u))).map((e, t) => ({
1159
+ }, y = j(() => Gr(e.today ?? /* @__PURE__ */ new Date())), b = j(() => e.year ?? y.value?.year ?? (/* @__PURE__ */ new Date()).getFullYear()), x = j(() => y.value?.year === b.value), S = j(() => ["s-ui-roadmap", { "s-ui-roadmap--loading": e.loading }]), C = j(() => Yr(String(fn(u))).map((e, t) => ({
1136
1160
  index: t,
1137
1161
  label: e,
1138
1162
  classes: ["s-ui-roadmap__month", { "s-ui-roadmap__month--current": x.value && y.value?.month === t }]
1139
- }))), C = A(() => !x.value || !y.value ? null : { insetInlineStart: `${Gr(y.value, b.value)}%` }), w = A(() => Yr(e.items, b.value).map((e) => ({
1163
+ }))), w = j(() => !x.value || !y.value ? null : { insetInlineStart: `${Jr(y.value, b.value)}%` }), T = j(() => Qr(e.items, b.value).map((e) => ({
1140
1164
  key: e.item.id,
1141
1165
  row: e,
1142
1166
  role: d() ? "button" : void 0,
@@ -1157,91 +1181,91 @@ var An = [
1157
1181
  title: l("roadmap.milestone", { title: e.milestone.title }),
1158
1182
  nativeTitle: h.value ? void 0 : l("roadmap.milestone", { title: e.milestone.title }),
1159
1183
  classes: ["s-ui-roadmap__milestone", `s-ui-roadmap__milestone--status-${e.status}`],
1160
- style: { insetInlineStart: `clamp(0px, calc(${e.offset}% - ${r}px), calc(100% - ${hi}px))` }
1184
+ style: { insetInlineStart: `clamp(0px, calc(${e.offset}% - ${r}px), calc(100% - ${vi}px))` }
1161
1185
  }))
1162
- }))), T = (e) => {
1186
+ }))), E = (e) => {
1163
1187
  n("itemClick", e);
1164
- }, E = (e, t) => {
1188
+ }, D = (e, t) => {
1165
1189
  n("milestoneClick", e, t);
1166
1190
  };
1167
- return (t, n) => (B(), N("div", {
1168
- class: R(ee.value),
1191
+ return (t, n) => (V(), P("div", {
1192
+ class: z(S.value),
1169
1193
  "data-qa": "ui:roadmap",
1170
1194
  "aria-busy": e.loading
1171
1195
  }, [
1172
- P("div", Zr, [P("div", Qr, W(b.value), 1), P("ol", $r, [(B(!0), N(k, null, H(S.value, (e) => (B(), N("li", {
1196
+ F("div", ei, [F("div", ti, G(b.value), 1), F("ol", ni, [(V(!0), P(A, null, U(C.value, (e) => (V(), P("li", {
1173
1197
  key: e.index,
1174
- class: R(e.classes)
1175
- }, W(e.label), 3))), 128))])]),
1176
- P("div", ei, [
1177
- P("div", ti, [(B(!0), N(k, null, H(S.value, (e) => (B(), N("span", {
1198
+ class: z(e.classes)
1199
+ }, G(e.label), 3))), 128))])]),
1200
+ F("div", ri, [
1201
+ F("div", ii, [(V(!0), P(A, null, U(C.value, (e) => (V(), P("span", {
1178
1202
  key: e.index,
1179
1203
  class: "s-ui-roadmap__grid-column"
1180
1204
  }))), 128))]),
1181
- C.value ? (B(), N("div", {
1205
+ w.value ? (V(), P("div", {
1182
1206
  key: 0,
1183
1207
  class: "s-ui-roadmap__today",
1184
- style: z(C.value),
1208
+ style: B(w.value),
1185
1209
  "aria-hidden": "true"
1186
- }, [...n[2] ||= [P("span", { class: "s-ui-roadmap__today-point" }, null, -1)]], 4)) : M("", !0),
1187
- e.loading ? (B(), N("ul", ni, [P("li", ri, [P("div", {
1210
+ }, [...n[2] ||= [F("span", { class: "s-ui-roadmap__today-point" }, null, -1)]], 4)) : N("", !0),
1211
+ e.loading ? (V(), P("ul", ai, [F("li", oi, [F("div", {
1188
1212
  class: "s-ui-roadmap__card s-ui-roadmap__card--skeleton",
1189
1213
  style: c,
1190
1214
  "aria-hidden": "true"
1191
- }, [I(G(Sn), {
1215
+ }, [L(K(Cn), {
1192
1216
  class: "s-ui-roadmap__card-skeleton",
1193
- type: G(s)
1194
- }, null, 8, ["type"])])])])) : w.value.length ? (B(), N("ul", ii, [(B(!0), N(k, null, H(w.value, (e) => (B(), N("li", {
1217
+ type: K(s)
1218
+ }, null, 8, ["type"])])])])) : T.value.length ? (V(), P("ul", si, [(V(!0), P(A, null, U(T.value, (e) => (V(), P("li", {
1195
1219
  key: e.key,
1196
1220
  class: "s-ui-roadmap__row"
1197
- }, [P("div", {
1198
- class: R(e.cardClasses),
1199
- style: z(e.cardStyle),
1221
+ }, [F("div", {
1222
+ class: z(e.cardClasses),
1223
+ style: B(e.cardStyle),
1200
1224
  role: e.role,
1201
1225
  tabindex: e.tabindex,
1202
- onClick: (t) => T(e.row.item),
1203
- onKeydown: gn((t) => T(e.row.item), ["enter"]),
1226
+ onClick: (t) => E(e.row.item),
1227
+ onKeydown: _n((t) => E(e.row.item), ["enter"]),
1204
1228
  onPointermove: n[1] ||= (e) => _(m.value, e),
1205
1229
  onPointerleave: v
1206
1230
  }, [
1207
- P("div", oi, [U(t.$slots, "item-leading", { item: e.row.item }), P("span", si, W(e.row.item.title), 1)]),
1208
- P("div", ci, [I(G(bn), {
1231
+ F("div", li, [W(t.$slots, "item-leading", { item: e.row.item }), F("span", ui, G(e.row.item.title), 1)]),
1232
+ F("div", di, [L(K(xn), {
1209
1233
  class: "s-ui-roadmap__stage-icon",
1210
- name: G(i),
1234
+ name: K(i),
1211
1235
  size: 16
1212
- }, null, 8, ["name"]), (B(!0), N(k, null, H(e.milestones, (t) => (B(), N("button", {
1236
+ }, null, 8, ["name"]), (V(!0), P(A, null, U(e.milestones, (t) => (V(), P("button", {
1213
1237
  key: t.key,
1214
1238
  type: "button",
1215
- class: R(t.classes),
1216
- style: z(t.style),
1239
+ class: z(t.classes),
1240
+ style: B(t.style),
1217
1241
  title: t.nativeTitle,
1218
1242
  "aria-label": t.title,
1219
- onClick: _n((n) => E(t.placement.milestone, e.row.item), ["stop"]),
1220
- onPointermove: n[0] ||= _n((e) => _(h.value, e), ["stop"])
1221
- }, [I(G(bn), {
1222
- name: G(a),
1243
+ onClick: vn((n) => D(t.placement.milestone, e.row.item), ["stop"]),
1244
+ onPointermove: n[0] ||= vn((e) => _(h.value, e), ["stop"])
1245
+ }, [L(K(xn), {
1246
+ name: K(a),
1223
1247
  size: 16
1224
- }, null, 8, ["name"])], 46, li))), 128))]),
1225
- e.row.progress === null ? M("", !0) : (B(), N("div", ui, [I(G(xn), {
1248
+ }, null, 8, ["name"])], 46, fi))), 128))]),
1249
+ e.row.progress === null ? N("", !0) : (V(), P("div", pi, [L(K(Sn), {
1226
1250
  class: "s-ui-roadmap__card-progress-bar",
1227
1251
  value: e.row.progress,
1228
- size: G(o),
1252
+ size: K(o),
1229
1253
  "aria-label": e.progressLabel
1230
1254
  }, null, 8, [
1231
1255
  "value",
1232
1256
  "size",
1233
1257
  "aria-label"
1234
- ]), P("span", di, W(e.row.progress) + "%", 1)]))
1235
- ], 46, ai)]))), 128))])) : (B(), N("div", fi, [U(t.$slots, "empty", {}, () => [F(W(G(l)("roadmap.empty")), 1)])]))
1258
+ ]), F("span", mi, G(e.row.progress) + "%", 1)]))
1259
+ ], 46, ci)]))), 128))])) : (V(), P("div", hi, [W(t.$slots, "empty", {}, () => [I(G(K(l)("roadmap.empty")), 1)])]))
1236
1260
  ]),
1237
- (B(), j(an, { to: "body" }, [p.value ? (B(), N("span", {
1261
+ (V(), M(rn, { to: "body" }, [p.value ? (V(), P("span", {
1238
1262
  key: 0,
1239
1263
  class: "s-ui-roadmap__hint",
1240
- style: z(g.value),
1264
+ style: B(g.value),
1241
1265
  role: "tooltip"
1242
- }, W(p.value.text), 5)) : M("", !0)]))
1243
- ], 10, Xr));
1266
+ }, G(p.value.text), 5)) : N("", !0)]))
1267
+ ], 10, $r));
1244
1268
  }
1245
1269
  });
1246
1270
  //#endregion
1247
- export { Nt as CALENDAR_WEEK_SLOT_COUNT, Vt as DAY_TIMELINE_MINUTES, m as DEFAULT_COLOR_PALETTE, p as EAccentColor, w as EButtonAppearance, se as EButtonGroupLayout, T as EButtonSize, C as EButtonVariant, g as EColorFormat, Ce as EConnectedPositionStrategy, X as ENotificationLayout, Z as ENotificationLeftside, Y as ENotificationType, a as ESAvatarBadge, s as ESAvatarColor, ee as ESAvatarGroupSize, i as ESAvatarIconBackground, r as ESAvatarShape, o as ESAvatarSize, e as ESBadgeColor, t as ESBadgePlacement, Rt as ESCalendarEventDirection, Wt as ESCalendarMonthDayTone, he as ESCardLayout, vt as ESChartLegendSize, Tt as ESChartPieLegendView, fe as ESCheckboxColor, pe as ESCheckboxLabelPlacement, de as ESCheckboxSize, Me as ESChipColor, Ne as ESChipSize, h as ESColorPaletteLayout, Te as ESDropdownBoundary, Ee as ESDropdownPlacement, le as ESInlineGroupOrientation, at as ESInlineInputAppearance, Be as ESInlineMessageValidationStatus, Re as ESInputCustomize, He as ESLabelSize, Ue as ESLabelVariant, Xe as ESListGap, qe as ESListItemRole, Je as ESListItemVariant, ct as ESPhotoEditShape, lt as ESPhotoEditSize, et as ESRadioLabelPlacement, Br as ESRoadmapStatus, _e as ESSegmentControlSize, Qe as ESSelectSearchable, ye as ESTabAppearance, be as ESTabSize, Zt as ESTableCellState, en as ESTableCheckState, Yt as ESTableColumnAlign, Gt as ESTableColumnSticky, Qt as ESTableDropAction, tn as ESTableFooterTone, Kt as ESTableRowColor, Xt as ESTableRowHeightMode, rn as ESTableRowKind, qt as ESTableRowState, Jt as ESTableRowsDragMode, $t as ESTableSortDirection, Oe as ESTagColor, ke as ESTagSize, nt as ESToggleLabelPlacement, rt as ESToggleSize, ae as ESelectionFocusMode, ne as ESelectionMode, ie as ESelectionOrientation, Pt as EWorkTimeSource, l as MAX_RECENT_COLORS, _ as RECOMMENDED_COLOR_PALETTE, c as SAvatar, S as SAvatarGroup, n as SBadge, qn as SBanner, E as SButton, ue as SButtonGroup, Ft as SCalendarMonth, Lt as SCalendarWeekGrid, ge as SCard, At as SChartBar, Ot as SChartBurnup, wt as SChartHorizontalBar, yt as SChartLegend, bt as SChartLine, Dt as SChartMultiLine, Et as SChartPie, jt as SChartProgress, Mt as SChartScatter, Ar as SChartSegmentedBar, St as SChartStackedArea, Ct as SChartStackedBar, zr as SChartWidget, me as SCheckbox, Pe as SChip, d as SColorArea, v as SColorPalette, f as SColorPicker, u as SColorValues, zt as SDayTimeline, Ie as SDropdown, Le as SDropdownMenu, ce as SInlineGroup, ot as SInlineInput, Ve as SInlineMessage, ze as SInput, We as SLabel, Ze as SList, Ye as SListItem, ut as SPhotoEdit, tt as SRadio, _i as SRoadmap, ve as SSegmentControl, $e as SSelect, xe as STab, nn as STable, Se as STabs, Ae as STag, je as STagGroup, st as STextarea, Jn as SToast, pr as SToastProvider, it as SToggle, Fe as S_DROPDOWN_SHEET_BREAKPOINT, $n as TOAST_AUTO_DURATION_MAX_MS, Qn as TOAST_AUTO_DURATION_MIN_MS, er as TOAST_AUTO_DURATION_MS_PER_CHAR, Bt as WORK_TIME_SOURCE_COLOR_VARS, Ht as WORK_TIME_SOURCE_ORDER, Ut as buildWorkTimeLegendItems, tr as computeAutoDuration, we as computeConnectedPosition, Cn as createUiKit, It as formatDurationHM, x as isSameColor, b as normalizeColorValue, y as resolveColorPreview, te as resolveOwnPropOrGroupedOrFallback, wn as setUiKitLocale, Tn as uiKitLocaleEn, En as uiKitLocaleRu, Ke as useFlatTreeList, De as useFloatingOverlay, Ge as useSListEndReached, re as useSelectionGroup, oe as useSelectionGroupItem, fr as useToast, Dn as useUiKitI18n };
1271
+ export { Mt as CALENDAR_WEEK_SLOT_COUNT, Bt as DAY_TIMELINE_MINUTES, m as DEFAULT_COLOR_PALETTE, p as EAccentColor, T as EButtonAppearance, oe as EButtonGroupLayout, E as EButtonSize, w as EButtonVariant, g as EColorFormat, Se as EConnectedPositionStrategy, X as ENotificationLayout, Z as ENotificationLeftside, Y as ENotificationType, a as ESAvatarBadge, s as ESAvatarColor, S as ESAvatarGroupSize, i as ESAvatarIconBackground, r as ESAvatarShape, o as ESAvatarSize, e as ESBadgeColor, t as ESBadgePlacement, Lt as ESCalendarEventDirection, Ut as ESCalendarMonthDayTone, me as ESCardLayout, _t as ESChartLegendSize, wt as ESChartPieLegendView, de as ESCheckboxColor, fe as ESCheckboxLabelPlacement, ue as ESCheckboxSize, je as ESChipColor, Me as ESChipSize, h as ESColorPaletteLayout, we as ESDropdownBoundary, Te as ESDropdownPlacement, ce as ESInlineGroupOrientation, it as ESInlineInputAppearance, ze as ESInlineMessageValidationStatus, Le as ESInputCustomize, Ve as ESLabelSize, He as ESLabelVariant, Ye as ESListGap, Ke as ESListItemRole, qe as ESListItemVariant, st as ESPhotoEditShape, ct as ESPhotoEditSize, $e as ESRadioLabelPlacement, Ur as ESRoadmapStatus, ge as ESSegmentControlSize, Ze as ESSelectSearchable, ve as ESTabAppearance, ye as ESTabSize, Xt as ESTableCellState, $t as ESTableCheckState, Jt as ESTableColumnAlign, Wt as ESTableColumnSticky, Zt as ESTableDropAction, en as ESTableFooterTone, Gt as ESTableRowColor, Yt as ESTableRowHeightMode, nn as ESTableRowKind, Kt as ESTableRowState, qt as ESTableRowsDragMode, Qt as ESTableSortDirection, De as ESTagColor, Oe as ESTagSize, tt as ESToggleLabelPlacement, nt as ESToggleSize, ie as ESelectionFocusMode, te as ESelectionMode, re as ESelectionOrientation, Nt as EWorkTimeSource, l as MAX_RECENT_COLORS, _ as RECOMMENDED_COLOR_PALETTE, c as SAvatar, C as SAvatarGroup, n as SBadge, Jn as SBanner, D as SButton, le as SButtonGroup, Pt as SCalendarMonth, It as SCalendarWeekGrid, he as SCard, kt as SChartBar, Dt as SChartBurnup, Ct as SChartHorizontalBar, vt as SChartLegend, yt as SChartLine, Et as SChartMultiLine, Tt as SChartPie, At as SChartProgress, jt as SChartScatter, Nr as SChartSegmentedBar, xt as SChartStackedArea, St as SChartStackedBar, Hr as SChartWidget, pe as SCheckbox, Ne as SChip, d as SColorArea, v as SColorPalette, f as SColorPicker, u as SColorValues, Rt as SDayTimeline, Fe as SDropdown, Ie as SDropdownMenu, se as SInlineGroup, at as SInlineInput, Be as SInlineMessage, Re as SInput, Ue as SLabel, Xe as SList, Je as SListItem, lt as SPhotoEdit, et as SRadio, bi as SRoadmap, _e as SSegmentControl, Qe as SSelect, be as STab, tn as STable, xe as STabs, ke as STag, Ae as STagGroup, ot as STextarea, Yn as SToast, gr as SToastProvider, rt as SToggle, Pe as S_DROPDOWN_SHEET_BREAKPOINT, er as TOAST_AUTO_DURATION_MAX_MS, $n as TOAST_AUTO_DURATION_MIN_MS, tr as TOAST_AUTO_DURATION_MS_PER_CHAR, zt as WORK_TIME_SOURCE_COLOR_VARS, Vt as WORK_TIME_SOURCE_ORDER, Ht as buildWorkTimeLegendItems, nr as computeAutoDuration, Ce as computeConnectedPosition, wn as createUiKit, Ft as formatDurationHM, x as isSameColor, b as normalizeColorValue, y as resolveColorPreview, ee as resolveOwnPropOrGroupedOrFallback, Tn as setUiKitLocale, En as uiKitLocaleEn, Dn as uiKitLocaleRu, Ge as useFlatTreeList, Ee as useFloatingOverlay, We as useSListEndReached, ne as useSelectionGroup, ae as useSelectionGroupItem, pr as useToast, On as useUiKitI18n };