slippers-ui 3.2.0 → 3.3.0-alpha

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