slippers-ui 3.3.0-alpha.2 → 3.3.1

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 (69) hide show
  1. package/dist/icons/Approval.js +22 -0
  2. package/dist/icons/BuildingStar.js +23 -0
  3. package/dist/icons/BulbAlt.js +21 -0
  4. package/dist/icons/CatalogCheckMark.js +22 -0
  5. package/dist/icons/CheckCircleDashed.js +22 -0
  6. package/dist/icons/Comment.js +20 -0
  7. package/dist/icons/Comments.js +22 -0
  8. package/dist/icons/Dashboard.js +22 -0
  9. package/dist/icons/DocVersions.js +21 -0
  10. package/dist/icons/DuoChat.js +22 -0
  11. package/dist/icons/FlagAlt.js +23 -0
  12. package/dist/icons/Hourglass.js +22 -0
  13. package/dist/icons/InfrastructureRegistry.js +22 -0
  14. package/dist/icons/Iteration.js +22 -0
  15. package/dist/icons/Location.js +22 -0
  16. package/dist/icons/LockCloseAlt.js +21 -0
  17. package/dist/icons/Profile.js +22 -0
  18. package/dist/icons/RocketLaunch.js +22 -0
  19. package/dist/icons/SearchDot.js +22 -0
  20. package/dist/icons/SearchResults.js +22 -0
  21. package/dist/icons/Star.js +20 -0
  22. package/dist/icons/StarOutline.js +22 -0
  23. package/dist/icons/Timer.js +22 -0
  24. package/dist/icons/TodoDone.js +22 -0
  25. package/dist/icons/Warning.js +22 -0
  26. package/dist/icons/WarningSolid.js +22 -0
  27. package/dist/icons/Work.js +20 -0
  28. package/dist/icons/WorkItemMaintenance.js +20 -0
  29. package/dist/icons/WorkItemObjective.js +20 -0
  30. package/dist/icons/WorkItemTestCase.js +20 -0
  31. package/dist/icons/World.js +24 -11
  32. package/dist/icons/index.js +916 -856
  33. package/dist/slippers-ui.css +1 -1
  34. package/dist/slippers-ui.es.js +397 -383
  35. package/icons/Approval.vue +15 -0
  36. package/icons/BuildingStar.vue +18 -0
  37. package/icons/BulbAlt.vue +3 -0
  38. package/icons/CatalogCheckMark.vue +3 -0
  39. package/icons/CheckCircleDashed.vue +15 -0
  40. package/icons/Comment.vue +3 -0
  41. package/icons/Comments.vue +3 -0
  42. package/icons/Dashboard.vue +15 -0
  43. package/icons/DocVersions.vue +3 -0
  44. package/icons/DuoChat.vue +3 -0
  45. package/icons/FlagAlt.vue +3 -0
  46. package/icons/Hourglass.vue +15 -0
  47. package/icons/InfrastructureRegistry.vue +10 -0
  48. package/icons/Iteration.vue +3 -0
  49. package/icons/Location.vue +15 -0
  50. package/icons/LockCloseAlt.vue +3 -0
  51. package/icons/Profile.vue +15 -0
  52. package/icons/RocketLaunch.vue +15 -0
  53. package/icons/SearchDot.vue +3 -0
  54. package/icons/SearchResults.vue +15 -0
  55. package/icons/Star.vue +13 -0
  56. package/icons/StarOutline.vue +15 -0
  57. package/icons/Timer.vue +15 -0
  58. package/icons/TodoDone.vue +15 -0
  59. package/icons/Warning.vue +15 -0
  60. package/icons/WarningSolid.vue +15 -0
  61. package/icons/Work.vue +3 -0
  62. package/icons/WorkItemMaintenance.vue +3 -0
  63. package/icons/WorkItemObjective.vue +13 -0
  64. package/icons/WorkItemTestCase.vue +3 -0
  65. package/icons/World.vue +18 -2
  66. package/icons/index.ts +30 -0
  67. package/icons.d.ts +30 -0
  68. package/package.json +10 -8
  69. package/src/styles/base.scss +0 -2
@@ -1,5 +1,5 @@
1
- import { defineComponent as C, computed as w, openBlock as o, createElementBlock as s, mergeProps as F, renderSlot as g, normalizeClass as h, createElementVNode as d, createBlock as G, resolveDynamicComponent as Y, normalizeStyle as Q, withCtx as N, createCommentVNode as E, ref as x, onMounted as q, onUnmounted as X, createVNode as L, unref as P, Fragment as z, renderList as B, withModifiers as J, toDisplayString as I, createTextVNode as V, resolveComponent as ce, withDirectives as W, vShow as K, normalizeProps as de, guardReactiveProps as ue, watch as ve, onBeforeUnmount as ee, onBeforeMount as fe, vModelSelect as pe } from "vue";
2
- const he = ["href"], ge = /* @__PURE__ */ C({
1
+ import { defineComponent as C, computed as k, openBlock as n, createElementBlock as l, mergeProps as Y, renderSlot as b, normalizeClass as g, createElementVNode as d, createBlock as G, resolveDynamicComponent as X, normalizeStyle as ee, withCtx as N, createCommentVNode as E, ref as x, onMounted as W, onUnmounted as te, createVNode as L, unref as P, Fragment as V, renderList as z, withModifiers as Q, toDisplayString as I, createTextVNode as M, resolveComponent as pe, withDirectives as H, vShow as K, normalizeProps as fe, guardReactiveProps as he, watch as ge, onBeforeUnmount as ae, onBeforeMount as me, vModelSelect as be } from "vue";
2
+ const ye = ["href"], _e = /* @__PURE__ */ C({
3
3
  __name: "SlpButton",
4
4
  props: {
5
5
  disabled: { type: Boolean },
@@ -7,140 +7,140 @@ const he = ["href"], ge = /* @__PURE__ */ C({
7
7
  href: {}
8
8
  },
9
9
  setup(e) {
10
- const t = e, n = w(() => t.disabled ?? !1), i = w(() => t.variant ?? "primary");
11
- w(() => t.href ?? "");
12
- const a = w(() => {
13
- let l = [`slp-btn-${i.value}`];
14
- return n.value && l.push("slp-btn-disabled"), l.join(" ");
10
+ const t = e, o = k(() => t.disabled ?? !1), i = k(() => t.variant ?? "primary");
11
+ k(() => t.href ?? "");
12
+ const a = k(() => {
13
+ let s = [`slp-btn-${i.value}`];
14
+ return o.value && s.push("slp-btn-disabled"), s.join(" ");
15
15
  });
16
- return (l, b) => t.href ? (o(), s("a", F({ key: 0 }, l.$attrs, {
16
+ return (s, m) => t.href ? (n(), l("a", Y({ key: 0 }, s.$attrs, {
17
17
  class: ["slp-btn", a.value],
18
18
  href: t.href
19
19
  }), [
20
- g(l.$slots, "default", {}, void 0, !0)
21
- ], 16, he)) : (o(), s("button", F({ key: 1 }, l.$attrs, {
20
+ b(s.$slots, "default", {}, void 0, !0)
21
+ ], 16, ye)) : (n(), l("button", Y({ key: 1 }, s.$attrs, {
22
22
  class: ["slp-btn", a.value],
23
23
  type: "button"
24
24
  }), [
25
- g(l.$slots, "default", {}, void 0, !0)
25
+ b(s.$slots, "default", {}, void 0, !0)
26
26
  ], 16));
27
27
  }
28
- }), $ = (e, t) => {
29
- const n = e.__vccOpts || e;
28
+ }), w = (e, t) => {
29
+ const o = e.__vccOpts || e;
30
30
  for (const [i, a] of t)
31
- n[i] = a;
32
- return n;
33
- }, Z = /* @__PURE__ */ $(ge, [["__scopeId", "data-v-c6fd7cb9"]]), me = /* @__PURE__ */ C({
31
+ o[i] = a;
32
+ return o;
33
+ }, Z = /* @__PURE__ */ w(_e, [["__scopeId", "data-v-c6fd7cb9"]]), $e = /* @__PURE__ */ C({
34
34
  __name: "SlpColumn",
35
35
  props: {
36
36
  cols: {},
37
37
  size: {}
38
38
  },
39
39
  setup(e) {
40
- const t = e, n = w(() => t.cols ?? null), i = w(() => t.size ?? "md"), a = w(() => n.value ? `slp-col-${i.value}-${n.value}` : `slp-col-${i.value}`);
41
- return (l, b) => (o(), s("div", {
42
- class: h(a.value)
40
+ const t = e, o = k(() => t.cols ?? null), i = k(() => t.size ?? "md"), a = k(() => o.value ? `slp-col-${i.value}-${o.value}` : `slp-col-${i.value}`);
41
+ return (s, m) => (n(), l("div", {
42
+ class: g(a.value)
43
43
  }, [
44
- g(l.$slots, "default", {}, void 0, !0)
44
+ b(s.$slots, "default", {}, void 0, !0)
45
45
  ], 2));
46
46
  }
47
- }), Ht = /* @__PURE__ */ $(me, [["__scopeId", "data-v-00b68f22"]]), be = {
47
+ }), Zt = /* @__PURE__ */ w($e, [["__scopeId", "data-v-00b68f22"]]), ke = {
48
48
  key: 0,
49
49
  class: "slp-full-light-purple-background"
50
- }, ye = {
50
+ }, we = {
51
51
  key: 1,
52
52
  class: "slp-charcoal-grey-background"
53
- }, _e = {
53
+ }, Se = {
54
54
  key: 2,
55
55
  class: "slp-gradient-background"
56
- }, $e = {
56
+ }, xe = {
57
57
  key: 3,
58
58
  class: "slp-full-gradient-background"
59
- }, ke = {
59
+ }, Ie = {
60
60
  key: 4,
61
61
  class: "slp-full-charcoal-background"
62
- }, we = {
62
+ }, Le = {
63
63
  key: 5,
64
64
  class: "slp-partial-charcoal-background"
65
- }, Se = {
65
+ }, Ce = {
66
66
  key: 6,
67
67
  class: "slp-half-grey-background"
68
- }, xe = {
68
+ }, Ne = {
69
69
  key: 7,
70
70
  class: "slp-partial-white-background"
71
- }, Ie = {
71
+ }, Te = {
72
72
  key: 8,
73
73
  class: "slp-partial-grey-background"
74
- }, Le = /* @__PURE__ */ C({
74
+ }, Ee = /* @__PURE__ */ C({
75
75
  __name: "SlpContainer",
76
76
  props: {
77
77
  fluid: { type: Boolean },
78
78
  variant: {}
79
79
  },
80
80
  setup(e) {
81
- const t = e, n = w(() => t.fluid ?? !1), i = w(() => t.variant ?? "white"), a = w(() => n.value ? "fluid" : "");
82
- return (l, b) => i.value === "light-purple-100" ? (o(), s("div", be, [
81
+ const t = e, o = k(() => t.fluid ?? !1), i = k(() => t.variant ?? "white"), a = k(() => o.value ? "fluid" : "");
82
+ return (s, m) => i.value === "light-purple-100" ? (n(), l("div", ke, [
83
83
  d("div", {
84
- class: h(["slp-container", a.value])
84
+ class: g(["slp-container", a.value])
85
85
  }, [
86
- g(l.$slots, "default", {}, void 0, !0)
86
+ b(s.$slots, "default", {}, void 0, !0)
87
87
  ], 2)
88
- ])) : i.value === "grey-100" ? (o(), s("div", ye, [
88
+ ])) : i.value === "grey-100" ? (n(), l("div", we, [
89
89
  d("div", {
90
- class: h(["slp-container", a.value])
90
+ class: g(["slp-container", a.value])
91
91
  }, [
92
- g(l.$slots, "default", {}, void 0, !0)
92
+ b(s.$slots, "default", {}, void 0, !0)
93
93
  ], 2)
94
- ])) : i.value === "gradient" ? (o(), s("div", _e, [
94
+ ])) : i.value === "gradient" ? (n(), l("div", Se, [
95
95
  d("div", {
96
- class: h(["slp-container", a.value])
96
+ class: g(["slp-container", a.value])
97
97
  }, [
98
- g(l.$slots, "default", {}, void 0, !0)
98
+ b(s.$slots, "default", {}, void 0, !0)
99
99
  ], 2)
100
- ])) : i.value === "gradient-full" ? (o(), s("div", $e, [
100
+ ])) : i.value === "gradient-full" ? (n(), l("div", xe, [
101
101
  d("div", {
102
- class: h(["slp-container", a.value])
102
+ class: g(["slp-container", a.value])
103
103
  }, [
104
- g(l.$slots, "default", {}, void 0, !0)
104
+ b(s.$slots, "default", {}, void 0, !0)
105
105
  ], 2)
106
- ])) : i.value === "charcoal-100" ? (o(), s("div", ke, [
106
+ ])) : i.value === "charcoal-100" ? (n(), l("div", Ie, [
107
107
  d("div", {
108
- class: h(["slp-container", a.value])
108
+ class: g(["slp-container", a.value])
109
109
  }, [
110
- g(l.$slots, "default", {}, void 0, !0)
110
+ b(s.$slots, "default", {}, void 0, !0)
111
111
  ], 2)
112
- ])) : i.value === "charcoal-75" ? (o(), s("div", we, [
112
+ ])) : i.value === "charcoal-75" ? (n(), l("div", Le, [
113
113
  d("div", {
114
- class: h(["slp-container", a.value])
114
+ class: g(["slp-container", a.value])
115
115
  }, [
116
- g(l.$slots, "default", {}, void 0, !0)
116
+ b(s.$slots, "default", {}, void 0, !0)
117
117
  ], 2)
118
- ])) : i.value === "grey-50" ? (o(), s("div", Se, [
118
+ ])) : i.value === "grey-50" ? (n(), l("div", Ce, [
119
119
  d("div", {
120
- class: h(["slp-container", a.value])
120
+ class: g(["slp-container", a.value])
121
121
  }, [
122
- g(l.$slots, "default", {}, void 0, !0)
122
+ b(s.$slots, "default", {}, void 0, !0)
123
123
  ], 2)
124
- ])) : i.value === "white-75" ? (o(), s("div", xe, [
124
+ ])) : i.value === "white-75" ? (n(), l("div", Ne, [
125
125
  d("div", {
126
- class: h(["slp-container", a.value])
126
+ class: g(["slp-container", a.value])
127
127
  }, [
128
- g(l.$slots, "default", {}, void 0, !0)
128
+ b(s.$slots, "default", {}, void 0, !0)
129
129
  ], 2)
130
- ])) : i.value === "grey-75" ? (o(), s("div", Ie, [
130
+ ])) : i.value === "grey-75" ? (n(), l("div", Te, [
131
131
  d("div", {
132
- class: h(["slp-container", a.value])
132
+ class: g(["slp-container", a.value])
133
133
  }, [
134
- g(l.$slots, "default", {}, void 0, !0)
134
+ b(s.$slots, "default", {}, void 0, !0)
135
135
  ], 2)
136
- ])) : (o(), s("div", {
136
+ ])) : (n(), l("div", {
137
137
  key: 9,
138
- class: h(["slp-container", a.value])
138
+ class: g(["slp-container", a.value])
139
139
  }, [
140
- g(l.$slots, "default", {}, void 0, !0)
140
+ b(s.$slots, "default", {}, void 0, !0)
141
141
  ], 2));
142
142
  }
143
- }), te = /* @__PURE__ */ $(Le, [["__scopeId", "data-v-e594efe8"]]), Ce = /* @__PURE__ */ C({
143
+ }), oe = /* @__PURE__ */ w(Ee, [["__scopeId", "data-v-e594efe8"]]), Ve = /* @__PURE__ */ C({
144
144
  __name: "SlpIcon",
145
145
  props: {
146
146
  size: {
@@ -160,35 +160,35 @@ const he = ["href"], ge = /* @__PURE__ */ C({
160
160
  }
161
161
  },
162
162
  setup(e) {
163
- const t = e, n = w(() => {
163
+ const t = e, o = k(() => {
164
164
  const a = ["slp-icon"];
165
165
  return typeof t.size == "string" && isNaN(Number(t.size)) && a.push(`slp-icon--size-${t.size}`), t.color && !t.color.startsWith("#") && a.push(`slp-icon--color-${t.color}`), a;
166
- }), i = w(() => {
166
+ }), i = k(() => {
167
167
  const a = {};
168
168
  if (t.color?.startsWith("#") && (a.color = t.color, a.fill = t.color), typeof t.size == "number" || !isNaN(Number(t.size))) {
169
- const l = typeof t.size == "number" ? t.size : Number(t.size);
170
- a.width = `${l}px`, a.height = `${l}px`;
169
+ const s = typeof t.size == "number" ? t.size : Number(t.size);
170
+ a.width = `${s}px`, a.height = `${s}px`;
171
171
  }
172
172
  return a;
173
173
  });
174
- return (a, l) => (o(), G(Y(e.icon), {
175
- class: h(["slp-icon", n.value]),
176
- style: Q(i.value),
174
+ return (a, s) => (n(), G(X(e.icon), {
175
+ class: g(["slp-icon", o.value]),
176
+ style: ee(i.value),
177
177
  role: "img",
178
178
  "aria-hidden": "true",
179
179
  "data-icon-name": e.icon?.__docgenInfo?.displayName || ""
180
180
  }, null, 8, ["class", "style", "data-icon-name"]));
181
181
  }
182
- }), A = /* @__PURE__ */ $(Ce, [["__scopeId", "data-v-c3411281"]]), Ne = {}, Te = { class: "slp-row" };
183
- function Ee(e, t) {
184
- return o(), s("div", Te, [
185
- g(e.$slots, "default", {}, void 0, !0)
182
+ }), A = /* @__PURE__ */ w(Ve, [["__scopeId", "data-v-c3411281"]]), ze = {}, Be = { class: "slp-row" };
183
+ function Me(e, t) {
184
+ return n(), l("div", Be, [
185
+ b(e.$slots, "default", {}, void 0, !0)
186
186
  ]);
187
187
  }
188
- const Ut = /* @__PURE__ */ $(Ne, [["render", Ee], ["__scopeId", "data-v-adc8d02f"]]), ze = {
188
+ const Ft = /* @__PURE__ */ w(ze, [["render", Me], ["__scopeId", "data-v-adc8d02f"]]), Pe = {
189
189
  key: 0,
190
190
  class: "arrow-symbol"
191
- }, Be = /* @__PURE__ */ C({
191
+ }, Oe = /* @__PURE__ */ C({
192
192
  __name: "SlpTypography",
193
193
  props: {
194
194
  variant: {},
@@ -217,25 +217,25 @@ const Ut = /* @__PURE__ */ $(Ne, [["render", Ee], ["__scopeId", "data-v-adc8d02f
217
217
  "arrow",
218
218
  "quotes",
219
219
  "emphasis"
220
- ], n = ["span", "h1", "h2", "h3", "h4", "h5", "p", "div"], i = e, a = w(() => t.includes(i.variant || "") ? i.variant : "body1"), l = w(() => n.includes(i.tag || "") ? i.tag : "span"), b = w(() => `slp-text-${a.value}`);
221
- return (r, f) => (o(), G(Y(l.value), {
222
- class: h(b.value)
220
+ ], o = ["span", "h1", "h2", "h3", "h4", "h5", "p", "div"], i = e, a = k(() => t.includes(i.variant || "") ? i.variant : "body1"), s = k(() => o.includes(i.tag || "") ? i.tag : "span"), m = k(() => `slp-text-${a.value}`);
221
+ return (r, p) => (n(), G(X(s.value), {
222
+ class: g(m.value)
223
223
  }, {
224
224
  default: N(() => [
225
- g(r.$slots, "default", {}, void 0, !0),
226
- a.value === "arrow" ? (o(), s("span", ze, "→")) : E("", !0)
225
+ b(r.$slots, "default", {}, void 0, !0),
226
+ a.value === "arrow" ? (n(), l("span", Pe, "→")) : E("", !0)
227
227
  ]),
228
228
  _: 3
229
229
  }, 8, ["class"]));
230
230
  }
231
- }), D = /* @__PURE__ */ $(Be, [["__scopeId", "data-v-64ad2128"]]), Me = {}, Ve = {
231
+ }), D = /* @__PURE__ */ w(Oe, [["__scopeId", "data-v-64ad2128"]]), Ge = {}, Re = {
232
232
  width: "16",
233
233
  height: "16",
234
234
  viewBox: "0 0 16 16",
235
235
  xmlns: "http://www.w3.org/2000/svg"
236
236
  };
237
- function Pe(e, t) {
238
- return o(), s("svg", Ve, [...t[0] || (t[0] = [
237
+ function Ae(e, t) {
238
+ return n(), l("svg", Re, [...t[0] || (t[0] = [
239
239
  d("path", {
240
240
  fill: "currentColor",
241
241
  "fill-rule": "evenodd",
@@ -244,12 +244,12 @@ function Pe(e, t) {
244
244
  }, null, -1)
245
245
  ])]);
246
246
  }
247
- const ae = /* @__PURE__ */ $(Me, [["render", Pe]]), Oe = {}, Ge = {
247
+ const ne = /* @__PURE__ */ w(Ge, [["render", Ae]]), De = {}, He = {
248
248
  viewBox: "0 0 16 16",
249
249
  xmlns: "http://www.w3.org/2000/svg"
250
250
  };
251
- function Re(e, t) {
252
- return o(), s("svg", Ge, [...t[0] || (t[0] = [
251
+ function We(e, t) {
252
+ return n(), l("svg", He, [...t[0] || (t[0] = [
253
253
  d("path", {
254
254
  "fill-rule": "evenodd",
255
255
  "clip-rule": "evenodd",
@@ -258,12 +258,12 @@ function Re(e, t) {
258
258
  }, null, -1)
259
259
  ])]);
260
260
  }
261
- const Ae = /* @__PURE__ */ $(Oe, [["render", Re]]), De = {}, We = {
261
+ const qe = /* @__PURE__ */ w(De, [["render", We]]), Ue = {}, je = {
262
262
  viewBox: "0 0 16 16",
263
263
  xmlns: "http://www.w3.org/2000/svg"
264
264
  };
265
- function qe(e, t) {
266
- return o(), s("svg", We, [...t[0] || (t[0] = [
265
+ function Ke(e, t) {
266
+ return n(), l("svg", je, [...t[0] || (t[0] = [
267
267
  d("path", {
268
268
  "fill-rule": "evenodd",
269
269
  "clip-rule": "evenodd",
@@ -272,14 +272,14 @@ function qe(e, t) {
272
272
  }, null, -1)
273
273
  ])]);
274
274
  }
275
- const oe = /* @__PURE__ */ $(De, [["render", qe]]), He = {}, Ue = {
275
+ const le = /* @__PURE__ */ w(Ue, [["render", Ke]]), Ze = {}, Fe = {
276
276
  width: "16",
277
277
  height: "16",
278
278
  viewBox: "0 0 16 16",
279
279
  xmlns: "http://www.w3.org/2000/svg"
280
280
  };
281
- function je(e, t) {
282
- return o(), s("svg", Ue, [...t[0] || (t[0] = [
281
+ function Je(e, t) {
282
+ return n(), l("svg", Fe, [...t[0] || (t[0] = [
283
283
  d("path", {
284
284
  "fill-rule": "evenodd",
285
285
  "clip-rule": "evenodd",
@@ -288,10 +288,10 @@ function je(e, t) {
288
288
  }, null, -1)
289
289
  ])]);
290
290
  }
291
- const ne = /* @__PURE__ */ $(He, [["render", je]]), Ke = {
291
+ const se = /* @__PURE__ */ w(Ze, [["render", Je]]), Ye = {
292
292
  key: 0,
293
293
  class: "dropdown-menu"
294
- }, Ze = ["onClick"], Fe = ["aria-label"], Je = ["data-ga-name", "onClick"], Ye = /* @__PURE__ */ C({
294
+ }, Qe = ["onClick"], Xe = ["aria-label"], et = ["data-ga-name", "onClick"], tt = /* @__PURE__ */ C({
295
295
  __name: "SlpSideNavigation",
296
296
  props: {
297
297
  position: {
@@ -312,38 +312,38 @@ const ne = /* @__PURE__ */ $(He, [["render", je]]), Ke = {
312
312
  }
313
313
  },
314
314
  setup(e) {
315
- const t = e, n = x(null), i = (v) => {
316
- n.value && !n.value.contains(v.target) && (r.value = !1);
317
- }, a = x(null), l = x(null);
318
- let b = null;
319
- const r = x(!1), f = x(!0), c = (v) => {
315
+ const t = e, o = x(null), i = (v) => {
316
+ o.value && !o.value.contains(v.target) && (r.value = !1);
317
+ }, a = x(null), s = x(null);
318
+ let m = null;
319
+ const r = x(!1), p = x(!0), c = (v) => {
320
320
  window.location.hash = v, r.value = !1;
321
321
  }, u = () => {
322
- if (!l.value) return;
322
+ if (!s.value) return;
323
323
  const v = (window.innerHeight - 120 - 48) * -1;
324
- b = new IntersectionObserver(
325
- (k) => {
326
- k.forEach((S) => {
327
- S.isIntersecting ? a.value = S.target.id : f.value && (t.navigationItems.length > 0 && (a.value = t.navigationItems[0].id), f.value = !1);
324
+ m = new IntersectionObserver(
325
+ (y) => {
326
+ y.forEach((S) => {
327
+ S.isIntersecting ? a.value = S.target.id : p.value && (t.navigationItems.length > 0 && (a.value = t.navigationItems[0].id), p.value = !1);
328
328
  });
329
329
  },
330
330
  {
331
331
  rootMargin: `-120px 0px ${v}px 0px`,
332
332
  threshold: 0
333
333
  }
334
- ), t.navigationItems.forEach((k) => {
335
- const S = document.getElementById(k.id);
336
- S && b.observe(S);
334
+ ), t.navigationItems.forEach((y) => {
335
+ const S = document.getElementById(y.id);
336
+ S && m.observe(S);
337
337
  });
338
338
  };
339
- return q(() => {
339
+ return W(() => {
340
340
  document.addEventListener("click", i), window.addEventListener("load", () => {
341
341
  u();
342
342
  }), document.readyState === "complete" && u();
343
- }), X(() => {
344
- b && b.disconnect(), document.removeEventListener("click", i);
345
- }), (v, k) => (o(), s("div", {
346
- class: h([
343
+ }), te(() => {
344
+ m && m.disconnect(), document.removeEventListener("click", i);
345
+ }), (v, y) => (n(), l("div", {
346
+ class: g([
347
347
  "side-navigation-layout",
348
348
  `side-navigation-layout--${t.position}`,
349
349
  { "side-navigation--dark": t.darkMode }
@@ -351,30 +351,30 @@ const ne = /* @__PURE__ */ $(He, [["render", je]]), Ke = {
351
351
  }, [
352
352
  d("div", {
353
353
  ref_key: "dropdownRef",
354
- ref: n,
354
+ ref: o,
355
355
  class: "side-navigation-dropdown"
356
356
  }, [
357
357
  d("button", {
358
358
  class: "dropdown-toggle",
359
- onClick: k[0] || (k[0] = (S) => r.value = !r.value)
359
+ onClick: y[0] || (y[0] = (S) => r.value = !r.value)
360
360
  }, [
361
- k[1] || (k[1] = d("span", null, "Jump to a section", -1)),
361
+ y[1] || (y[1] = d("span", null, "Jump to a section", -1)),
362
362
  L(A, {
363
- icon: r.value ? P(ne) : P(ae),
363
+ icon: r.value ? P(se) : P(ne),
364
364
  color: "black",
365
365
  size: "sm"
366
366
  }, null, 8, ["icon"])
367
367
  ]),
368
- r.value ? (o(), s("ul", Ke, [
369
- (o(!0), s(z, null, B(t.navigationItems, (S) => (o(), s("li", {
368
+ r.value ? (n(), l("ul", Ye, [
369
+ (n(!0), l(V, null, z(t.navigationItems, (S) => (n(), l("li", {
370
370
  key: S.id,
371
371
  class: "dropdown-item"
372
372
  }, [
373
373
  d("a", {
374
374
  href: "#",
375
375
  class: "dropdown-link",
376
- onClick: J((R) => c(S.id), ["prevent"])
377
- }, I(S.text), 9, Ze)
376
+ onClick: Q((R) => c(S.id), ["prevent"])
377
+ }, I(S.text), 9, Qe)
378
378
  ]))), 128))
379
379
  ])) : E("", !0)
380
380
  ], 512),
@@ -382,32 +382,32 @@ const ne = /* @__PURE__ */ $(He, [["render", je]]), Ke = {
382
382
  class: "side-navigation",
383
383
  "aria-label": e.navigationLabel
384
384
  }, [
385
- g(v.$slots, "navigation-header", {}, void 0, !0),
385
+ b(v.$slots, "navigation-header", {}, void 0, !0),
386
386
  d("ul", null, [
387
- (o(!0), s(z, null, B(t.navigationItems, (S) => (o(), s("li", {
387
+ (n(!0), l(V, null, z(t.navigationItems, (S) => (n(), l("li", {
388
388
  key: S.id,
389
389
  class: "side-navigation__item"
390
390
  }, [
391
391
  d("a", {
392
392
  href: "#",
393
- class: h(["side-navigation__link", { "side-navigation__link--active": a.value === S.id }]),
393
+ class: g(["side-navigation__link", { "side-navigation__link--active": a.value === S.id }]),
394
394
  "data-ga-name": S.text,
395
395
  "data-ga-location": "side anchor",
396
- onClick: J((R) => c(S.id), ["prevent"])
397
- }, I(S.text), 11, Je)
396
+ onClick: Q((R) => c(S.id), ["prevent"])
397
+ }, I(S.text), 11, et)
398
398
  ]))), 128))
399
399
  ])
400
- ], 8, Fe),
400
+ ], 8, Xe),
401
401
  d("div", {
402
402
  ref_key: "slotContentRef",
403
- ref: l,
403
+ ref: s,
404
404
  class: "side-navigation-content"
405
405
  }, [
406
- g(v.$slots, "default", {}, void 0, !0)
406
+ b(v.$slots, "default", {}, void 0, !0)
407
407
  ], 512)
408
408
  ], 2));
409
409
  }
410
- }), jt = /* @__PURE__ */ $(Ye, [["__scopeId", "data-v-3cc08323"]]), Qe = ["for"], Xe = ["name", "value", "id", "checked", "disabled"], et = /* @__PURE__ */ C({
410
+ }), Jt = /* @__PURE__ */ w(tt, [["__scopeId", "data-v-3cc08323"]]), at = ["for"], ot = ["name", "value", "id", "checked", "disabled"], nt = /* @__PURE__ */ C({
411
411
  __name: "SlpRadioButton",
412
412
  props: {
413
413
  option: {},
@@ -416,15 +416,15 @@ const ne = /* @__PURE__ */ $(He, [["render", je]]), Ke = {
416
416
  },
417
417
  emits: ["update:modelValue"],
418
418
  setup(e, { emit: t }) {
419
- const n = t, i = (a) => {
420
- const l = a.target;
421
- n("update:modelValue", l.value);
419
+ const o = t, i = (a) => {
420
+ const s = a.target;
421
+ o("update:modelValue", s.value);
422
422
  };
423
- return (a, l) => (o(), s("label", {
423
+ return (a, s) => (n(), l("label", {
424
424
  for: e.option,
425
- class: h(["slp-radio", { disabled: e.config?.disabled }])
425
+ class: g(["slp-radio", { disabled: e.config?.disabled }])
426
426
  }, [
427
- V(I(e.option) + " ", 1),
427
+ M(I(e.option) + " ", 1),
428
428
  d("input", {
429
429
  type: "radio",
430
430
  name: e.name,
@@ -433,11 +433,11 @@ const ne = /* @__PURE__ */ $(He, [["render", je]]), Ke = {
433
433
  onInput: i,
434
434
  checked: e.config?.checked,
435
435
  disabled: e.config?.disabled
436
- }, null, 40, Xe),
437
- l[0] || (l[0] = d("span", { class: "slp-radio__checkmark" }, null, -1))
438
- ], 10, Qe));
436
+ }, null, 40, ot),
437
+ s[0] || (s[0] = d("span", { class: "slp-radio__checkmark" }, null, -1))
438
+ ], 10, at));
439
439
  }
440
- }), tt = /* @__PURE__ */ $(et, [["__scopeId", "data-v-f37e970e"]]), at = /* @__PURE__ */ C({
440
+ }), lt = /* @__PURE__ */ w(nt, [["__scopeId", "data-v-f37e970e"]]), st = /* @__PURE__ */ C({
441
441
  __name: "SlpRadioButtonGroup",
442
442
  props: {
443
443
  options: {},
@@ -449,20 +449,20 @@ const ne = /* @__PURE__ */ $(He, [["render", je]]), Ke = {
449
449
  },
450
450
  emits: ["update:modelValue"],
451
451
  setup(e, { emit: t }) {
452
- const n = {
452
+ const o = {
453
453
  VERTICAL: "vertical",
454
454
  HORIZONTAL: "horizontal"
455
- }, i = t, a = (l) => {
456
- i("update:modelValue", l);
455
+ }, i = t, a = (s) => {
456
+ i("update:modelValue", s);
457
457
  };
458
- return (l, b) => (o(), G(te, {
459
- class: h(["slp-radio-group", {
460
- "slp-radio-group--vertical": e.config?.orientation === n.VERTICAL,
461
- "slp-radio-group--horizontal": e.config?.orientation === n.HORIZONTAL
458
+ return (s, m) => (n(), G(oe, {
459
+ class: g(["slp-radio-group", {
460
+ "slp-radio-group--vertical": e.config?.orientation === o.VERTICAL,
461
+ "slp-radio-group--horizontal": e.config?.orientation === o.HORIZONTAL
462
462
  }])
463
463
  }, {
464
464
  default: N(() => [
465
- (o(!0), s(z, null, B(e.options, (r) => (o(), G(tt, {
465
+ (n(!0), l(V, null, z(e.options, (r) => (n(), G(lt, {
466
466
  key: r.value,
467
467
  option: r.value,
468
468
  name: e.name,
@@ -476,13 +476,13 @@ const ne = /* @__PURE__ */ $(He, [["render", je]]), Ke = {
476
476
  _: 1
477
477
  }, 8, ["class"]));
478
478
  }
479
- }), Kt = /* @__PURE__ */ $(at, [["__scopeId", "data-v-ae31ec89"]]), ot = {
479
+ }), Yt = /* @__PURE__ */ w(st, [["__scopeId", "data-v-ae31ec89"]]), it = {
480
480
  key: 0,
481
481
  class: "slp-loading-round"
482
- }, nt = {
482
+ }, rt = {
483
483
  key: 1,
484
484
  class: "slp-loading-linear"
485
- }, st = /* @__PURE__ */ C({
485
+ }, ct = /* @__PURE__ */ C({
486
486
  name: "SlpLoader",
487
487
  __name: "SlpLoader",
488
488
  props: {
@@ -490,9 +490,9 @@ const ne = /* @__PURE__ */ $(He, [["render", je]]), Ke = {
490
490
  },
491
491
  setup(e) {
492
492
  const t = e;
493
- return (n, i) => t.config?.variant === "round" ? (o(), s("div", ot)) : (o(), s("div", nt));
493
+ return (o, i) => t.config?.variant === "round" ? (n(), l("div", it)) : (n(), l("div", rt));
494
494
  }
495
- }), Zt = /* @__PURE__ */ $(st, [["__scopeId", "data-v-ee32411b"]]), lt = ["href", "data-ga-name", "data-ga-location"], it = /* @__PURE__ */ C({
495
+ }), Qt = /* @__PURE__ */ w(ct, [["__scopeId", "data-v-ee32411b"]]), dt = ["href", "data-ga-name", "data-ga-location"], ut = /* @__PURE__ */ C({
496
496
  __name: "Tree",
497
497
  props: {
498
498
  text: { default: "" },
@@ -507,19 +507,19 @@ const ne = /* @__PURE__ */ $(He, [["render", je]]), Ke = {
507
507
  }) }
508
508
  },
509
509
  setup(e) {
510
- return (t, n) => {
511
- const i = ce("Tree", !0);
512
- return o(), s("div", {
513
- class: h([`depth-${e.config?.depth}`, { mobile: e.config?.mobile }])
510
+ return (t, o) => {
511
+ const i = pe("Tree", !0);
512
+ return n(), l("div", {
513
+ class: g([`depth-${e.config?.depth}`, { mobile: e.config?.mobile }])
514
514
  }, [
515
- e.text ? (o(), s("a", {
515
+ e.text ? (n(), l("a", {
516
516
  key: 0,
517
- class: h(["anchor", { selected: e.config?.isSelected }]),
517
+ class: g(["anchor", { selected: e.config?.isSelected }]),
518
518
  href: e.config?.href,
519
519
  "data-ga-name": e.config?.dataGaName,
520
520
  "data-ga-location": e.config?.dataGaLocation
521
- }, I(e.text), 11, lt)) : E("", !0),
522
- (o(!0), s(z, null, B(e.nodes, (a) => (o(), G(i, {
521
+ }, I(e.text), 11, dt)) : E("", !0),
522
+ (n(!0), l(V, null, z(e.nodes, (a) => (n(), G(i, {
523
523
  key: a.text,
524
524
  nodes: a.nodes,
525
525
  text: a.text,
@@ -535,7 +535,7 @@ const ne = /* @__PURE__ */ $(He, [["render", je]]), Ke = {
535
535
  ], 2);
536
536
  };
537
537
  }
538
- }), se = /* @__PURE__ */ $(it, [["__scopeId", "data-v-c3be63ed"]]), rt = { class: "dropdown__list" }, ct = { class: "horizontal-rule slp-my-16" }, dt = /* @__PURE__ */ C({
538
+ }), ie = /* @__PURE__ */ w(ut, [["__scopeId", "data-v-c3be63ed"]]), vt = { class: "dropdown__list" }, pt = { class: "horizontal-rule slp-my-16" }, ft = /* @__PURE__ */ C({
539
539
  __name: "SlpAnchorDropdown",
540
540
  props: {
541
541
  dropdownLabel: { default: "Jump to a section" },
@@ -543,73 +543,73 @@ const ne = /* @__PURE__ */ $(He, [["render", je]]), Ke = {
543
543
  hyperlinks: {}
544
544
  },
545
545
  setup(e) {
546
- const t = x(!1), n = () => {
546
+ const t = x(!1), o = () => {
547
547
  t.value = !t.value;
548
548
  };
549
- return (i, a) => (o(), s("div", {
550
- class: h(["dropdown", { hide: !t.value }])
549
+ return (i, a) => (n(), l("div", {
550
+ class: g(["dropdown", { hide: !t.value }])
551
551
  }, [
552
552
  L(Z, {
553
553
  class: "dropdown__button",
554
554
  variant: "ghost",
555
- onClick: n
555
+ onClick: o
556
556
  }, {
557
557
  default: N(() => [
558
558
  d("span", null, I(e.dropdownLabel), 1),
559
559
  L(A, {
560
- icon: t.value ? P(ne) : P(ae)
560
+ icon: t.value ? P(se) : P(ne)
561
561
  }, null, 8, ["icon"])
562
562
  ]),
563
563
  _: 1
564
564
  }),
565
- d("div", rt, [
566
- W(L(D, {
565
+ d("div", vt, [
566
+ H(L(D, {
567
567
  tag: "div",
568
568
  variant: "body3-bold",
569
569
  class: "nav-heading"
570
570
  }, {
571
571
  default: N(() => [
572
- V(I(e.anchors.text), 1)
572
+ M(I(e.anchors.text), 1)
573
573
  ]),
574
574
  _: 1
575
575
  }, 512), [
576
576
  [K, e.anchors.text]
577
577
  ]),
578
- L(se, {
578
+ L(ie, {
579
579
  mobile: "",
580
580
  nodes: e.anchors.data,
581
- onClick: n
581
+ onClick: o
582
582
  }, null, 8, ["nodes"]),
583
- W(d("div", ct, null, 512), [
583
+ H(d("div", pt, null, 512), [
584
584
  [K, e.hyperlinks?.data.length]
585
585
  ]),
586
- W(L(D, {
586
+ H(L(D, {
587
587
  tag: "div",
588
588
  variant: "body3-bold",
589
589
  class: "nav-heading"
590
590
  }, {
591
591
  default: N(() => [
592
- V(I(e.hyperlinks?.text), 1)
592
+ M(I(e.hyperlinks?.text), 1)
593
593
  ]),
594
594
  _: 1
595
595
  }, 512), [
596
596
  [K, e.hyperlinks?.text]
597
597
  ]),
598
598
  d("ul", null, [
599
- (o(!0), s(z, null, B(e.hyperlinks?.data, (l) => (o(), s("li", {
600
- key: l.text
599
+ (n(!0), l(V, null, z(e.hyperlinks?.data, (s) => (n(), l("li", {
600
+ key: s.text
601
601
  }, [
602
602
  L(Z, {
603
603
  class: "dropdown__link",
604
604
  variant: "ghost",
605
- href: l.config.href
605
+ href: s.config.href
606
606
  }, {
607
607
  default: N(() => [
608
- d("span", null, I(l.text), 1),
608
+ d("span", null, I(s.text), 1),
609
609
  L(Z, { variant: "icon" }, {
610
610
  default: N(() => [
611
611
  L(A, {
612
- icon: P(oe),
612
+ icon: P(le),
613
613
  size: "xs"
614
614
  }, null, 8, ["icon"])
615
615
  ]),
@@ -623,10 +623,7 @@ const ne = /* @__PURE__ */ $(He, [["render", je]]), Ke = {
623
623
  ])
624
624
  ], 2));
625
625
  }
626
- }), ut = /* @__PURE__ */ $(dt, [["__scopeId", "data-v-bd9281e3"]]), vt = { key: 0 }, ft = {
627
- key: 1,
628
- id: "collapsible-sidebar-wrapper"
629
- }, pt = { id: "collapsible-sidebar-content" }, ht = { id: "collapsible-sidebar" }, gt = { class: "anchors" }, mt = /* @__PURE__ */ C({
626
+ }), ht = /* @__PURE__ */ w(ft, [["__scopeId", "data-v-bd9281e3"]]), gt = ["aria-hidden", "inert", "tabindex"], mt = { id: "collapsible-sidebar-wrapper" }, bt = { id: "collapsible-sidebar-content" }, yt = ["aria-hidden", "inert", "tabindex"], _t = { class: "anchors" }, $t = /* @__PURE__ */ C({
630
627
  __name: "SlpSideNavigationWithTree",
631
628
  props: {
632
629
  anchors: {},
@@ -634,115 +631,132 @@ const ne = /* @__PURE__ */ $(He, [["render", je]]), Ke = {
634
631
  alwaysExpanded: { type: Boolean }
635
632
  },
636
633
  setup(e) {
637
- const t = e, n = x([]), i = x(null), a = x([]), l = x(
638
- t.anchors.data.map((m) => ({
639
- text: m.text,
640
- nodes: m.nodes,
634
+ const t = e, o = x([]), i = x(null), a = x([]), s = x(
635
+ t.anchors.data.map((f) => ({
636
+ text: f.text,
637
+ nodes: f.nodes,
641
638
  config: {
642
- href: m.config.href,
643
- dataGaName: m.config.dataGaName,
644
- dataGaLocation: m.config.dataGaLocation,
639
+ href: f.config.href,
640
+ dataGaName: f.config.dataGaName,
641
+ dataGaLocation: f.config.dataGaLocation,
645
642
  depth: 0,
646
643
  mobile: !1
647
644
  }
648
645
  }))
649
- ), b = x(!1), r = x(!0);
650
- let f = null;
651
- const c = (m, p = []) => (m.forEach((y) => {
652
- y.config.href && p.push(y.config.href), y.nodes && c(y.nodes, p);
653
- }), p), u = (m) => {
654
- const p = [], y = (T) => T.some((_, M) => (p.push(M), _.config.href === m || _.nodes && y(_.nodes) ? !0 : (p.pop(), !1)));
655
- return y(t.anchors.data), p;
656
- }, v = (m) => {
657
- const p = a.value, y = i.value, T = (_, M, O) => {
658
- const ie = p[O] === M, re = _.config.href === y, H = {
659
- text: _.text,
646
+ ), m = x(!0), r = x(null);
647
+ let p = null, c = null;
648
+ const u = k(
649
+ () => r.value !== null && r.value
650
+ ), v = k(
651
+ () => r.value !== null && !r.value
652
+ ), y = (f, h = []) => (f.forEach((_) => {
653
+ _.config.href && h.push(_.config.href), _.nodes && y(_.nodes, h);
654
+ }), h), S = (f) => {
655
+ const h = [], _ = (T) => T.some(($, B) => (h.push(B), $.config.href === f || $.nodes && _($.nodes) ? !0 : (h.pop(), !1)));
656
+ return _(t.anchors.data), h;
657
+ }, R = (f) => {
658
+ const h = a.value, _ = i.value, T = ($, B, O) => {
659
+ const ue = h[O] === B, ve = $.config.href === _, q = {
660
+ text: $.text,
660
661
  config: {
661
- href: _.config.href,
662
- dataGaName: _.config.dataGaName,
663
- dataGaLocation: _.config.dataGaLocation,
662
+ href: $.config.href,
663
+ dataGaName: $.config.dataGaName,
664
+ dataGaLocation: $.config.dataGaLocation,
664
665
  // Highlight only the exact node (or first one on very first load)
665
- isSelected: re || m && O === 0 && M === 0 && !y
666
+ isSelected: ve || f && O === 0 && B === 0 && !_
666
667
  }
667
668
  };
668
- return t.alwaysExpanded ? _.nodes && (H.nodes = _.nodes.map(
669
+ return t.alwaysExpanded ? $.nodes && (q.nodes = $.nodes.map(
669
670
  (U, j) => T(U, j, O + 1)
670
- )) : ie && _.nodes && (H.nodes = _.nodes.map(
671
+ )) : ue && $.nodes && (q.nodes = $.nodes.map(
671
672
  (U, j) => T(U, j, O + 1)
672
- )), H;
673
+ )), q;
673
674
  };
674
- return t.anchors.data.map((_, M) => T(_, M, 0));
675
- }, k = (m) => {
676
- let p = null;
677
- for (const y of m) {
678
- if (!y.isIntersecting) continue;
679
- const T = y.boundingClientRect?.top ?? Number.POSITIVE_INFINITY;
680
- if (!p) {
681
- p = y;
675
+ return t.anchors.data.map(($, B) => T($, B, 0));
676
+ }, re = (f) => {
677
+ let h = null;
678
+ for (const _ of f) {
679
+ if (!_.isIntersecting) continue;
680
+ const T = _.boundingClientRect?.top ?? Number.POSITIVE_INFINITY;
681
+ if (!h) {
682
+ h = _;
682
683
  continue;
683
684
  }
684
- const _ = p.boundingClientRect?.top ?? Number.POSITIVE_INFINITY, M = T >= 0 && (_ < 0 || T < _), O = !M && y.intersectionRatio > p.intersectionRatio;
685
- (M || O) && (p = y);
685
+ const $ = h.boundingClientRect?.top ?? Number.POSITIVE_INFINITY, B = T >= 0 && ($ < 0 || T < $), O = !B && _.intersectionRatio > h.intersectionRatio;
686
+ (B || O) && (h = _);
686
687
  }
687
- return p;
688
- }, S = (m) => {
689
- const p = k(m);
690
- if (p && p.isIntersecting) {
691
- const y = `#${p.target.id}`;
692
- i.value = y, a.value = u(y), n.value = a.value.slice(), l.value = v(!1), r.value = !1;
688
+ return h;
689
+ }, ce = (f) => {
690
+ const h = re(f);
691
+ if (h && h.isIntersecting) {
692
+ const _ = `#${h.target.id}`;
693
+ i.value = _, a.value = S(_), o.value = a.value.slice(), s.value = R(!1), m.value = !1;
693
694
  return;
694
695
  }
695
- r.value && !t.alwaysExpanded && (l.value = v(!0), r.value = !1);
696
- }, R = () => {
697
- b.value = window.innerWidth < 768;
698
- }, le = () => {
699
- const m = c(t.anchors.data), p = m[0] || null;
700
- i.value = p, a.value = p ? u(p) : [], l.value = v(!0), r.value = !1;
701
- const y = (window.innerHeight - 120 - 48) * -1;
702
- f = new IntersectionObserver(S, {
703
- rootMargin: `-120px 0px ${y}px 0px`,
696
+ m.value && !t.alwaysExpanded && (s.value = R(!0), m.value = !1);
697
+ }, F = (f) => {
698
+ r.value = f;
699
+ }, de = () => {
700
+ const f = y(t.anchors.data), h = f[0] || null;
701
+ i.value = h, a.value = h ? S(h) : [], s.value = R(!0), m.value = !1;
702
+ const _ = (window.innerHeight - 120 - 48) * -1;
703
+ c = new IntersectionObserver(ce, {
704
+ rootMargin: `-120px 0px ${_}px 0px`,
704
705
  threshold: 0
705
706
  }), setTimeout(() => {
706
- m.forEach((T) => {
707
- const _ = document.querySelector(T);
708
- _ && f?.observe(_);
707
+ f.forEach((T) => {
708
+ const $ = document.querySelector(T);
709
+ $ && c?.observe($);
709
710
  });
710
711
  }, 0);
712
+ }, J = (f) => {
713
+ F(f.matches);
711
714
  };
712
- return q(() => {
713
- R(), window.addEventListener("resize", R), le();
714
- }), X(() => {
715
- window.removeEventListener("resize", R), f && f.disconnect();
716
- }), (m, p) => (o(), s("div", null, [
717
- b.value ? (o(), s("div", vt, [
718
- L(ut, de(ue({ anchors: e.anchors, hyperlinks: e.hyperlinks })), null, 16),
719
- g(m.$slots, "default", {}, void 0, !0)
720
- ])) : (o(), s("div", ft, [
721
- d("div", pt, [
722
- g(m.$slots, "default", {}, void 0, !0)
715
+ return W(() => {
716
+ p = window.matchMedia("(min-width: 768px)"), F(p.matches), p.addEventListener("change", J), de();
717
+ }), te(() => {
718
+ p?.removeEventListener("change", J), c && c.disconnect();
719
+ }), (f, h) => (n(), l("div", null, [
720
+ d("div", {
721
+ class: "mobile",
722
+ "aria-hidden": u.value,
723
+ inert: u.value,
724
+ tabindex: u.value ? -1 : void 0
725
+ }, [
726
+ L(ht, fe(he({ anchors: e.anchors, hyperlinks: e.hyperlinks })), null, 16)
727
+ ], 8, gt),
728
+ d("div", mt, [
729
+ d("div", bt, [
730
+ b(f.$slots, "default", {}, void 0, !0)
723
731
  ]),
724
- d("nav", ht, [
725
- g(m.$slots, "header", {}, void 0, !0),
726
- d("div", gt, [
727
- e.anchors.text ? (o(), G(D, {
732
+ d("nav", {
733
+ id: "collapsible-sidebar",
734
+ class: "desktop",
735
+ "aria-hidden": v.value,
736
+ inert: v.value,
737
+ tabindex: v.value ? -1 : void 0
738
+ }, [
739
+ b(f.$slots, "header", {}, void 0, !0),
740
+ d("div", _t, [
741
+ e.anchors.text ? (n(), G(D, {
728
742
  key: 0,
729
743
  tag: "div",
730
744
  variant: "body3-bold",
731
745
  class: "nav-heading"
732
746
  }, {
733
747
  default: N(() => [
734
- V(I(e.anchors.text), 1)
748
+ M(I(e.anchors.text), 1)
735
749
  ]),
736
750
  _: 1
737
751
  })) : E("", !0),
738
- L(se, { nodes: l.value }, null, 8, ["nodes"])
752
+ L(ie, { nodes: s.value }, null, 8, ["nodes"])
739
753
  ]),
740
- g(m.$slots, "footer", {}, void 0, !0)
741
- ])
742
- ]))
754
+ b(f.$slots, "footer", {}, void 0, !0)
755
+ ], 8, yt)
756
+ ])
743
757
  ]));
744
758
  }
745
- }), Ft = /* @__PURE__ */ $(mt, [["__scopeId", "data-v-32a730be"]]), bt = ["id", "data-tooltip-open", "aria-describedby"], yt = { class: "slp-tooltip__wrapper" }, _t = ["id", "data-ga-features", "data-ga-features-sub", "data-ga-features-sub-card", "data-ga-name", "data-ga-location", "href"], $t = ["id"], kt = ["id", "data-tooltip-open", "aria-describedby"], wt = { class: "slp-tooltip__wrapper" }, St = ["id"], xt = ["data-ga-features", "data-ga-features-sub", "data-ga-features-sub-card", "data-ga-name", "data-ga-location", "href"], It = ["id"], Lt = /* @__PURE__ */ C({
759
+ }), Xt = /* @__PURE__ */ w($t, [["__scopeId", "data-v-4e96ad9b"]]), kt = ["id", "data-tooltip-open", "aria-describedby"], wt = { class: "slp-tooltip__wrapper" }, St = ["id", "data-ga-features", "data-ga-features-sub", "data-ga-features-sub-card", "data-ga-name", "data-ga-location", "href"], xt = ["id"], It = ["id", "data-tooltip-open", "aria-describedby"], Lt = { class: "slp-tooltip__wrapper" }, Ct = ["id"], Nt = ["data-ga-features", "data-ga-features-sub", "data-ga-features-sub-card", "data-ga-name", "data-ga-location", "href"], Tt = ["id"], Et = /* @__PURE__ */ C({
746
760
  __name: "SlpTooltip",
747
761
  props: {
748
762
  text: { default: "" },
@@ -753,48 +767,48 @@ const ne = /* @__PURE__ */ $(He, [["render", je]]), Ke = {
753
767
  dataProperties: { default: null }
754
768
  },
755
769
  setup(e) {
756
- const t = e, n = x(!1), i = x(""), a = x(""), l = x(""), b = (u) => {
757
- t.mode === "hover" && (n.value = u.type === "mouseenter");
770
+ const t = e, o = x(!1), i = x(""), a = x(""), s = x(""), m = (u) => {
771
+ t.mode === "hover" && (o.value = u.type === "mouseenter");
758
772
  }, r = () => {
759
- t.mode === "click" ? (c(), n.value = !n.value) : n.value = !1;
760
- }, f = (u) => {
761
- u.target.id !== t.id && (n.value = !1);
773
+ t.mode === "click" ? (c(), o.value = !o.value) : o.value = !1;
774
+ }, p = (u) => {
775
+ u.target.id !== t.id && (o.value = !1);
762
776
  }, c = () => {
763
777
  document.querySelectorAll('[data-tooltip-open="true"]').forEach((v) => {
764
778
  v.setAttribute("data-tooltip-open", "false");
765
779
  });
766
780
  };
767
- return q(() => {
768
- if (t.mode === "click" && document.addEventListener("click", f), t.text) {
781
+ return W(() => {
782
+ if (t.mode === "click" && document.addEventListener("click", p), t.text) {
769
783
  const u = t.text.match(/\[(.*?)\]/), v = t.text.match(/\[.*?\]\((.*?)\)/);
770
- i.value = u ? u[1] : "", a.value = v ? v[1] : "", l.value = t.text.replace(`(${a.value})`, "").replace(`[${i.value}]`, "").trim();
784
+ i.value = u ? u[1] : "", a.value = v ? v[1] : "", s.value = t.text.replace(`(${a.value})`, "").replace(`[${i.value}]`, "").trim();
771
785
  }
772
- }), ve(n, (u) => {
786
+ }), ge(o, (u) => {
773
787
  if (t.mode === "click" && t.id) {
774
788
  const v = document.getElementById(t.id);
775
789
  v && v.setAttribute("data-tooltip-open", u.toString());
776
790
  }
777
- }), ee(() => {
778
- document.removeEventListener("click", f);
779
- }), (u, v) => e.mode === "hover" ? (o(), s("div", {
791
+ }), ae(() => {
792
+ document.removeEventListener("click", p);
793
+ }), (u, v) => e.mode === "hover" ? (n(), l("div", {
780
794
  key: 0,
781
795
  id: e.id,
782
- "data-tooltip-open": n.value,
796
+ "data-tooltip-open": o.value,
783
797
  "aria-label": "Click to open tooltip with more information.",
784
798
  "aria-describedby": `${e.id}-content`,
785
799
  class: "slp-tooltip",
786
- onMouseenter: b,
787
- onMouseleave: b,
800
+ onMouseenter: m,
801
+ onMouseleave: m,
788
802
  onClick: r
789
803
  }, [
790
- d("div", yt, [
791
- g(u.$slots, "default", {}, void 0, !0),
792
- n.value ? (o(), s("div", {
804
+ d("div", wt, [
805
+ b(u.$slots, "default", {}, void 0, !0),
806
+ o.value ? (n(), l("div", {
793
807
  key: 0,
794
- class: h(["slp-tooltip__content", `${e.position} ${e.mode === "hover" ? "hover-mode" : ""}`])
808
+ class: g(["slp-tooltip__content", `${e.position} ${e.mode === "hover" ? "hover-mode" : ""}`])
795
809
  }, [
796
- V(I(l.value) + " ", 1),
797
- e.text ? (o(), s("a", {
810
+ M(I(s.value) + " ", 1),
811
+ e.text ? (n(), l("a", {
798
812
  key: 0,
799
813
  id: `${e.id}-content`,
800
814
  "data-ga-features": e.dataProperties && e.dataProperties.features.toLowerCase() || null,
@@ -804,40 +818,40 @@ const ne = /* @__PURE__ */ $(He, [["render", je]]), Ke = {
804
818
  "data-ga-location": e.dataProperties ? "features content" : null,
805
819
  role: "tooltip",
806
820
  href: a.value
807
- }, I(i.value), 9, _t)) : e.list ? (o(), s("ul", {
821
+ }, I(i.value), 9, St)) : e.list ? (n(), l("ul", {
808
822
  key: 1,
809
823
  id: `${e.id}-content`,
810
824
  role: "tooltip",
811
825
  class: "slp-tooltip__list"
812
826
  }, [
813
- (o(!0), s(z, null, B(e.list, (k) => (o(), s("li", {
814
- key: k.text
815
- }, I(k.text), 1))), 128))
816
- ], 8, $t)) : E("", !0)
827
+ (n(!0), l(V, null, z(e.list, (y) => (n(), l("li", {
828
+ key: y.text
829
+ }, I(y.text), 1))), 128))
830
+ ], 8, xt)) : E("", !0)
817
831
  ], 2)) : E("", !0)
818
832
  ])
819
- ], 40, bt)) : (o(), s("button", {
833
+ ], 40, kt)) : (n(), l("button", {
820
834
  key: 1,
821
835
  id: e.id,
822
- "data-tooltip-open": n.value,
836
+ "data-tooltip-open": o.value,
823
837
  "aria-label": "Click to open tooltip with more information.",
824
838
  "aria-describedby": `${e.id}-content`,
825
- class: h(`slp-tooltip ${e.mode === "click" ? "button-mode" : ""}`),
839
+ class: g(`slp-tooltip ${e.mode === "click" ? "button-mode" : ""}`),
826
840
  onClick: r
827
841
  }, [
828
- d("div", wt, [
829
- g(u.$slots, "default", {}, void 0, !0),
830
- n.value ? (o(), s("div", {
842
+ d("div", Lt, [
843
+ b(u.$slots, "default", {}, void 0, !0),
844
+ o.value ? (n(), l("div", {
831
845
  key: 0,
832
- class: h(["slp-tooltip__content", `${e.position}`])
846
+ class: g(["slp-tooltip__content", `${e.position}`])
833
847
  }, [
834
- e.text ? (o(), s("span", {
848
+ e.text ? (n(), l("span", {
835
849
  key: 0,
836
850
  id: `${e.id}-content`,
837
851
  role: "tooltip"
838
852
  }, [
839
- V(I(l.value) + " ", 1),
840
- i.value && a.value ? (o(), s("a", {
853
+ M(I(s.value) + " ", 1),
854
+ i.value && a.value ? (n(), l("a", {
841
855
  key: 0,
842
856
  "data-ga-features": e.dataProperties && e.dataProperties.features.toLowerCase() || null,
843
857
  "data-ga-features-sub": e.dataProperties?.sub,
@@ -845,84 +859,84 @@ const ne = /* @__PURE__ */ $(He, [["render", je]]), Ke = {
845
859
  "data-ga-name": e.dataProperties?.plan,
846
860
  "data-ga-location": e.dataProperties ? "features content" : null,
847
861
  href: a.value
848
- }, I(i.value), 9, xt)) : E("", !0)
849
- ], 8, St)) : (o(), s("ul", {
862
+ }, I(i.value), 9, Nt)) : E("", !0)
863
+ ], 8, Ct)) : (n(), l("ul", {
850
864
  key: 1,
851
865
  id: `${e.id}-content`,
852
866
  role: "tooltip",
853
867
  class: "slp-tooltip__list"
854
868
  }, [
855
- (o(!0), s(z, null, B(e.list, (k) => (o(), s("li", {
856
- key: k.text
857
- }, I(k.text), 1))), 128))
858
- ], 8, It))
869
+ (n(!0), l(V, null, z(e.list, (y) => (n(), l("li", {
870
+ key: y.text
871
+ }, I(y.text), 1))), 128))
872
+ ], 8, Tt))
859
873
  ], 2)) : E("", !0)
860
874
  ])
861
- ], 10, kt));
875
+ ], 10, It));
862
876
  }
863
- }), Ct = /* @__PURE__ */ $(Lt, [["__scopeId", "data-v-0412a63f"]]), Nt = {
877
+ }), Vt = /* @__PURE__ */ w(Et, [["__scopeId", "data-v-0412a63f"]]), zt = {
864
878
  key: 0,
865
879
  class: "breadcrumb",
866
880
  vocab: "https://schema.org/",
867
881
  typeof: "BreadcrumbList"
868
- }, Tt = ["onMouseenter", "onMouseleave"], Et = ["data-ga-name", "data-ga-location", "href"], zt = {
882
+ }, Bt = ["onMouseenter", "onMouseleave"], Mt = ["data-ga-name", "data-ga-location", "href"], Pt = {
869
883
  key: 0,
870
884
  class: "breadcrumb__chevron"
871
- }, Bt = ["content"], Mt = {
885
+ }, Ot = ["content"], Gt = {
872
886
  key: 1,
873
887
  class: "breadcrumb",
874
888
  vocab: "https://schema.org/",
875
889
  typeof: "BreadcrumbList"
876
- }, Vt = ["href", "data-ga-name", "data-ga-location"], Pt = ["content"], Ot = /* @__PURE__ */ C({
890
+ }, Rt = ["href", "data-ga-name", "data-ga-location"], At = ["content"], Dt = /* @__PURE__ */ C({
877
891
  __name: "SlpBreadcrumb",
878
892
  props: {
879
893
  crumbs: { default: () => [] },
880
894
  router: {}
881
895
  },
882
896
  setup(e) {
883
- const t = e, n = x(t.crumbs), i = x(!1), a = (r) => {
884
- const f = r.split(" ");
885
- for (let c = 0; c < f.length; c++)
886
- f[c] = f[c][0].toUpperCase() + f[c].substr(1);
887
- return f.join(" ");
888
- }, l = () => {
897
+ const t = e, o = x(t.crumbs), i = x(!1), a = (r) => {
898
+ const p = r.split(" ");
899
+ for (let c = 0; c < p.length; c++)
900
+ p[c] = p[c][0].toUpperCase() + p[c].substr(1);
901
+ return p.join(" ");
902
+ }, s = () => {
889
903
  i.value = window.innerWidth < 768;
890
- }, b = (r) => {
891
- n.value[r] && (n.value[r] = {
892
- ...n.value[r],
893
- hover: !n.value[r].hover
904
+ }, m = (r) => {
905
+ o.value[r] && (o.value[r] = {
906
+ ...o.value[r],
907
+ hover: !o.value[r].hover
894
908
  });
895
909
  };
896
- return fe(() => {
910
+ return me(() => {
897
911
  if (t.router) {
898
- const r = t.router.currentRoute.path, f = r.startsWith("/") ? r.substring(1).split("/") : r.split("/"), c = [];
912
+ const r = t.router.currentRoute.path, p = r.startsWith("/") ? r.substring(1).split("/") : r.split("/"), c = [];
899
913
  let u = "";
900
- f.forEach((v) => {
914
+ p.forEach((v) => {
901
915
  u = `${u}/${v}`;
902
- const k = t.router.match(u);
903
- k.params.slug !== null && v.length && c.push({
916
+ const y = t.router.match(u);
917
+ y.params.slug !== null && v.length && c.push({
904
918
  title: a(v.replace(/-/g, " ")),
905
919
  hover: !1,
906
- ...k
920
+ ...y
907
921
  });
908
- }), n.value = c;
922
+ }), o.value = c;
909
923
  }
910
- }), q(() => {
911
- l(), window.addEventListener("resize", l);
912
- }), ee(() => {
913
- window.removeEventListener("resize", l);
914
- }), (r, f) => n.value && !i.value ? (o(), s("ol", Nt, [
915
- (o(!0), s(z, null, B(n.value, (c, u) => (o(), s("li", {
924
+ }), W(() => {
925
+ s(), window.addEventListener("resize", s);
926
+ }), ae(() => {
927
+ window.removeEventListener("resize", s);
928
+ }), (r, p) => o.value && !i.value ? (n(), l("ol", zt, [
929
+ (n(!0), l(V, null, z(o.value, (c, u) => (n(), l("li", {
916
930
  key: c.title,
917
- class: h(["breadcrumb__crumb", {
918
- "breadcrumb__crumb--disabled": u === n.value.length - 1
931
+ class: g(["breadcrumb__crumb", {
932
+ "breadcrumb__crumb--disabled": u === o.value.length - 1
919
933
  }]),
920
934
  property: "itemListElement",
921
935
  typeof: "ListItem",
922
- onMouseenter: (v) => b(u),
923
- onMouseleave: (v) => b(u)
936
+ onMouseenter: (v) => m(u),
937
+ onMouseleave: (v) => m(u)
924
938
  }, [
925
- L(Ct, {
939
+ L(Vt, {
926
940
  text: c.title,
927
941
  class: "breadcrumb__crumb__tooltip",
928
942
  position: "top"
@@ -933,7 +947,7 @@ const ne = /* @__PURE__ */ $(He, [["render", je]]), Ke = {
933
947
  typeof: "WebPage",
934
948
  "data-ga-name": c.dataGaName || c.title.toLowerCase(),
935
949
  "data-ga-location": c.dataGaLocation || "breadcrumb",
936
- href: u !== n.value.length - 1 ? c.path : void 0
950
+ href: u !== o.value.length - 1 ? c.path : void 0
937
951
  }, [
938
952
  L(D, {
939
953
  tag: "span",
@@ -941,28 +955,28 @@ const ne = /* @__PURE__ */ $(He, [["render", je]]), Ke = {
941
955
  property: "name"
942
956
  }, {
943
957
  default: N(() => [
944
- V(I(c.title.length > 18 ? c.title.substring(0, 18).concat("...") : c.title), 1)
958
+ M(I(c.title.length > 18 ? c.title.substring(0, 18).concat("...") : c.title), 1)
945
959
  ]),
946
960
  _: 2
947
961
  }, 1024)
948
- ], 8, Et)
962
+ ], 8, Mt)
949
963
  ]),
950
964
  _: 2
951
965
  }, 1032, ["text"]),
952
- u !== n.value.length - 1 ? (o(), s("span", zt, [
966
+ u !== o.value.length - 1 ? (n(), l("span", Pt, [
953
967
  L(A, {
954
968
  color: "accent-500",
955
969
  size: "xs",
956
- icon: P(oe)
970
+ icon: P(le)
957
971
  }, null, 8, ["icon"])
958
972
  ])) : E("", !0),
959
973
  d("meta", {
960
974
  property: "position",
961
975
  content: u + 1
962
- }, null, 8, Bt)
963
- ], 42, Tt))), 128))
964
- ])) : n.value && i.value ? (o(), s("ol", Mt, [
965
- (o(!0), s(z, null, B(n.value, (c) => (o(), s("li", {
976
+ }, null, 8, Ot)
977
+ ], 42, Bt))), 128))
978
+ ])) : o.value && i.value ? (n(), l("ol", Gt, [
979
+ (n(!0), l(V, null, z(o.value, (c) => (n(), l("li", {
966
980
  key: c.title,
967
981
  class: "breadcrumb__crumb breadcrumb__crumb--mobile",
968
982
  property: "itemListElement",
@@ -970,7 +984,7 @@ const ne = /* @__PURE__ */ $(He, [["render", je]]), Ke = {
970
984
  }, [
971
985
  d("a", {
972
986
  class: "slp-flex slp-align-items-center",
973
- href: n.value[n.value.length - 2].path,
987
+ href: o.value[o.value.length - 2].path,
974
988
  "data-ga-name": c.dataGaName || c.title.toLowerCase(),
975
989
  "data-ga-location": c.dataGaLocation || "breadcrumb",
976
990
  property: "item",
@@ -980,7 +994,7 @@ const ne = /* @__PURE__ */ $(He, [["render", je]]), Ke = {
980
994
  L(A, {
981
995
  color: "accent-500",
982
996
  size: "xs",
983
- icon: P(Ae)
997
+ icon: P(qe)
984
998
  }, null, 8, ["icon"])
985
999
  ]),
986
1000
  L(D, {
@@ -990,22 +1004,22 @@ const ne = /* @__PURE__ */ $(He, [["render", je]]), Ke = {
990
1004
  property: "name"
991
1005
  }, {
992
1006
  default: N(() => [
993
- V(I(n.value[n.value.length - 2].title), 1)
1007
+ M(I(o.value[o.value.length - 2].title), 1)
994
1008
  ]),
995
1009
  _: 1
996
1010
  })
997
- ], 8, Vt),
1011
+ ], 8, Rt),
998
1012
  d("meta", {
999
1013
  property: "position",
1000
- content: n.value.length - 1
1001
- }, null, 8, Pt)
1014
+ content: o.value.length - 1
1015
+ }, null, 8, At)
1002
1016
  ]))), 128))
1003
1017
  ])) : E("", !0);
1004
1018
  }
1005
- }), Jt = /* @__PURE__ */ $(Ot, [["__scopeId", "data-v-6894f4b8"]]), Gt = ["value"], Rt = {
1019
+ }), ea = /* @__PURE__ */ w(Dt, [["__scopeId", "data-v-6894f4b8"]]), Ht = ["value"], Wt = {
1006
1020
  key: 1,
1007
1021
  class: "dropdown"
1008
- }, At = /* @__PURE__ */ C({
1022
+ }, qt = /* @__PURE__ */ C({
1009
1023
  __name: "SlpDropdown",
1010
1024
  props: {
1011
1025
  modelValue: {},
@@ -1015,51 +1029,51 @@ const ne = /* @__PURE__ */ $(He, [["render", je]]), Ke = {
1015
1029
  },
1016
1030
  emits: ["update:modelValue"],
1017
1031
  setup(e, { emit: t }) {
1018
- const n = e, i = t, a = (r, f) => {
1032
+ const o = e, i = t, a = (r, p) => {
1019
1033
  if (typeof r == "object" && r !== null) {
1020
- if (!f) {
1034
+ if (!p) {
1021
1035
  const v = Object.keys(r)[0];
1022
1036
  return r[v];
1023
1037
  }
1024
- const c = f.split(".");
1038
+ const c = p.split(".");
1025
1039
  let u = r;
1026
1040
  for (const v of c)
1027
1041
  u = u?.[v];
1028
1042
  return u;
1029
1043
  }
1030
1044
  return r;
1031
- }, l = w(() => n.options.length > 0 ? a(n.options[0], n.valueKey) : ""), b = w({
1045
+ }, s = k(() => o.options.length > 0 ? a(o.options[0], o.valueKey) : ""), m = k({
1032
1046
  // Getter: Called when the template reads selectedValue
1033
1047
  // Returns the current modelValue from parent (or empty string if undefined)
1034
- get: () => n.modelValue ?? l.value,
1048
+ get: () => o.modelValue ?? s.value,
1035
1049
  // Setter: Called when the select's v-model updates selectedValue
1036
1050
  // Emits the new value to the parent component
1037
1051
  set: (r) => i("update:modelValue", r)
1038
1052
  });
1039
- return (r, f) => e.options?.length ? W((o(), s("select", {
1053
+ return (r, p) => e.options?.length ? H((n(), l("select", {
1040
1054
  key: 0,
1041
- "onUpdate:modelValue": f[0] || (f[0] = (c) => b.value = c),
1055
+ "onUpdate:modelValue": p[0] || (p[0] = (c) => m.value = c),
1042
1056
  class: "dropdown"
1043
1057
  }, [
1044
- (o(!0), s(z, null, B(e.options, (c, u) => (o(), s("option", {
1058
+ (n(!0), l(V, null, z(e.options, (c, u) => (n(), l("option", {
1045
1059
  key: `${a(c, e.valueKey)}-${u}`,
1046
1060
  value: a(c, e.valueKey)
1047
- }, I(a(c, e.labelKey)), 9, Gt))), 128))
1061
+ }, I(a(c, e.labelKey)), 9, Ht))), 128))
1048
1062
  ], 512)), [
1049
- [pe, b.value]
1050
- ]) : (o(), s("div", Rt, [...f[1] || (f[1] = [
1063
+ [be, m.value]
1064
+ ]) : (n(), l("div", Wt, [...p[1] || (p[1] = [
1051
1065
  d("p", null, "No options available", -1)
1052
1066
  ])]));
1053
1067
  }
1054
- }), Yt = /* @__PURE__ */ $(At, [["__scopeId", "data-v-4a5d0657"]]), Dt = ["id"], Wt = /* @__PURE__ */ C({
1068
+ }), ta = /* @__PURE__ */ w(qt, [["__scopeId", "data-v-4a5d0657"]]), Ut = ["id"], jt = /* @__PURE__ */ C({
1055
1069
  __name: "SlpSection",
1056
1070
  props: {
1057
1071
  backgroundColor: {
1058
1072
  type: String,
1059
1073
  required: !1,
1060
1074
  validator(e) {
1061
- const t = /^#([A-Fa-f0-9]{3}){1,2}$/.test(e), n = /^\$color-[a-zA-Z0-9-]+$/.test(e);
1062
- return e ? t || n : !0;
1075
+ const t = /^#([A-Fa-f0-9]{3}){1,2}$/.test(e), o = /^\$color-[a-zA-Z0-9-]+$/.test(e);
1076
+ return e ? t || o : !0;
1063
1077
  }
1064
1078
  },
1065
1079
  id: {
@@ -1068,35 +1082,35 @@ const ne = /* @__PURE__ */ $(He, [["render", je]]), Ke = {
1068
1082
  }
1069
1083
  },
1070
1084
  setup(e) {
1071
- const t = e, n = w(() => !t.backgroundColor || t.backgroundColor?.startsWith("$") ? {} : { backgroundColor: t.backgroundColor }), i = w(() => t.backgroundColor?.startsWith("$") ? `slp-background-${t.backgroundColor?.slice(1)}` : null);
1072
- return (a, l) => (o(), s("section", {
1073
- style: Q(n.value),
1074
- class: h(i.value),
1085
+ const t = e, o = k(() => !t.backgroundColor || t.backgroundColor?.startsWith("$") ? {} : { backgroundColor: t.backgroundColor }), i = k(() => t.backgroundColor?.startsWith("$") ? `slp-background-${t.backgroundColor?.slice(1)}` : null);
1086
+ return (a, s) => (n(), l("section", {
1087
+ style: ee(o.value),
1088
+ class: g(i.value),
1075
1089
  id: e.id || void 0
1076
1090
  }, [
1077
- L(te, null, {
1091
+ L(oe, null, {
1078
1092
  default: N(() => [
1079
- g(a.$slots, "default", {}, void 0, !0)
1093
+ b(a.$slots, "default", {}, void 0, !0)
1080
1094
  ]),
1081
1095
  _: 3
1082
1096
  })
1083
- ], 14, Dt));
1097
+ ], 14, Ut));
1084
1098
  }
1085
- }), Qt = /* @__PURE__ */ $(Wt, [["__scopeId", "data-v-2b3ad016"]]);
1099
+ }), aa = /* @__PURE__ */ w(jt, [["__scopeId", "data-v-2b3ad016"]]);
1086
1100
  export {
1087
- Jt as SlpBreadcrumb,
1101
+ ea as SlpBreadcrumb,
1088
1102
  Z as SlpButton,
1089
- Ht as SlpColumn,
1090
- te as SlpContainer,
1091
- Yt as SlpDropdown,
1103
+ Zt as SlpColumn,
1104
+ oe as SlpContainer,
1105
+ ta as SlpDropdown,
1092
1106
  A as SlpIcon,
1093
- Zt as SlpLoader,
1094
- tt as SlpRadioButton,
1095
- Kt as SlpRadioButtonGroup,
1096
- Ut as SlpRow,
1097
- Qt as SlpSection,
1098
- jt as SlpSideNavigation,
1099
- Ft as SlpSideNavigationWithTree,
1100
- Ct as SlpTooltip,
1107
+ Qt as SlpLoader,
1108
+ lt as SlpRadioButton,
1109
+ Yt as SlpRadioButtonGroup,
1110
+ Ft as SlpRow,
1111
+ aa as SlpSection,
1112
+ Jt as SlpSideNavigation,
1113
+ Xt as SlpSideNavigationWithTree,
1114
+ Vt as SlpTooltip,
1101
1115
  D as SlpTypography
1102
1116
  };