@salesql/sql_components_vue3 3.4.0 → 3.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.es.js CHANGED
@@ -1,4 +1,4 @@
1
- import { defineComponent as O, computed as g, openBlock as a, createElementBlock as l, normalizeStyle as W, normalizeClass as C, createBlock as Q, unref as S, createCommentVNode as h, createElementVNode as n, renderSlot as N, toDisplayString as f, withModifiers as pe, useModel as Se, ref as V, onMounted as Et, watch as J, withDirectives as Ye, vModelCheckbox as Mt, createTextVNode as j, mergeModels as se, onBeforeUnmount as re, nextTick as ue, createVNode as z, Fragment as F, renderList as X, useSlots as we, vModelDynamic as Pt, useAttrs as zt, mergeProps as De, vModelText as Ut, Transition as ke, withCtx as P, Teleport as xe, useId as $e, withKeys as We, reactive as Vt, resolveDynamicComponent as qt, createSlots as je } from "vue";
1
+ import { defineComponent as x, computed as g, openBlock as a, createElementBlock as l, normalizeStyle as G, normalizeClass as C, createBlock as Q, unref as $, createCommentVNode as h, createElementVNode as i, renderSlot as O, toDisplayString as f, withModifiers as pe, useModel as Se, ref as V, onMounted as Et, watch as J, withDirectives as Ye, vModelCheckbox as Mt, createTextVNode as Z, mergeModels as se, onBeforeUnmount as re, nextTick as ue, createVNode as U, Fragment as q, renderList as X, useSlots as Te, vModelDynamic as Pt, useAttrs as zt, mergeProps as De, vModelText as Ut, Transition as ke, withCtx as z, Teleport as xe, useId as $e, withKeys as We, reactive as Vt, resolveDynamicComponent as qt, createSlots as je } from "vue";
2
2
  const Re = {
3
3
  DARK: "dark",
4
4
  // slate ring — for light surfaces (default)
@@ -13,7 +13,7 @@ const Re = {
13
13
  // 32px
14
14
  LARGE: "large"
15
15
  // 48px
16
- }, Ft = ["aria-label"], Gt = /* @__PURE__ */ O({
16
+ }, Ft = ["aria-label"], Gt = /* @__PURE__ */ x({
17
17
  __name: "DsSpinner",
18
18
  props: {
19
19
  // Diameter in px, or a named size ("small" 20 / "medium" 32 / "large" 48).
@@ -34,23 +34,23 @@ const Re = {
34
34
  [Fe.LARGE]: 48
35
35
  }, t = e, d = g(
36
36
  () => {
37
- var i;
38
- return typeof t.size == "string" ? (i = s[t.size]) != null ? i : 24 : t.size;
37
+ var n;
38
+ return typeof t.size == "string" ? (n = s[t.size]) != null ? n : 24 : t.size;
39
39
  }
40
40
  );
41
- return (i, o) => (a(), l("span", {
41
+ return (n, o) => (a(), l("span", {
42
42
  class: C(["ds-spinner", `ds-spinner--${e.tone}`]),
43
43
  role: "status",
44
- style: W({ width: `${d.value}px`, height: `${d.value}px` }),
44
+ style: G({ width: `${d.value}px`, height: `${d.value}px` }),
45
45
  "aria-label": e.label || void 0
46
46
  }, null, 14, Ft));
47
47
  }
48
- }), x = (e, s) => {
48
+ }), M = (e, s) => {
49
49
  const t = e.__vccOpts || e;
50
- for (const [d, i] of s)
51
- t[d] = i;
50
+ for (const [d, n] of s)
51
+ t[d] = n;
52
52
  return t;
53
- }, Le = /* @__PURE__ */ x(Gt, [["__scopeId", "data-v-aaf2f048"]]), le = "click", te = "close", Ae = "focus", Ne = "blur", tt = "change", at = "field-blur", be = "copy", ye = "correct", me = "incorrect", lt = "sort", it = "edit", nt = "select-all", st = "page-change", ot = "page-size-change", fe = "search", dt = "select", Ge = "step", rt = "final-step", ct = "navigate", ut = "resize-start", ft = "resize", vt = "resize-end", ie = "update:open", bt = "pick", yt = "apply", mt = "add", Be = "create", de = {
53
+ }, Le = /* @__PURE__ */ M(Gt, [["__scopeId", "data-v-aaf2f048"]]), le = "click", te = "close", Ae = "focus", Ne = "blur", tt = "change", at = "field-blur", be = "copy", ye = "correct", me = "incorrect", lt = "sort", nt = "edit", it = "select-all", st = "page-change", ot = "page-size-change", fe = "search", dt = "select", Ge = "step", rt = "final-step", ct = "navigate", ut = "resize-start", ft = "resize", vt = "resize-end", ne = "update:open", bt = "pick", yt = "apply", mt = "add", Oe = "create", de = {
54
54
  DEFAULT: "default",
55
55
  // white surface, dark text (the default value; == tertiary)
56
56
  PRIMARY: "primary",
@@ -76,7 +76,7 @@ const Re = {
76
76
  // `warning` as a deprecated alias of `danger` (tint), but app consumers already
77
77
  // ship this solid look — kept unchanged to avoid a visual regression. Prefer `danger`.
78
78
  WARNING: "warning"
79
- }, ne = {
79
+ }, ie = {
80
80
  SMALL: "small",
81
81
  // 24px
82
82
  MEDIUM: "medium",
@@ -104,11 +104,11 @@ const Re = {
104
104
  }, Qt = {
105
105
  class: "material-symbols-filled",
106
106
  "aria-hidden": "true"
107
- }, Jt = /* @__PURE__ */ O({
107
+ }, Jt = /* @__PURE__ */ x({
108
108
  __name: "DsButton",
109
109
  props: {
110
110
  variant: { type: String, default: de.DEFAULT },
111
- size: { type: String, default: ne.MEDIUM },
111
+ size: { type: String, default: ie.MEDIUM },
112
112
  nativeType: {
113
113
  type: String,
114
114
  default: Ht.BUTTON
@@ -137,7 +137,7 @@ const Re = {
137
137
  },
138
138
  emits: [le],
139
139
  setup(e, { emit: s }) {
140
- const t = e, d = s, i = g(() => t.size === ne.SMALL ? 14 : 20), o = g(
140
+ const t = e, d = s, n = g(() => t.size === ie.SMALL ? 14 : 20), o = g(
141
141
  () => t.variant === de.PRIMARY || t.variant === de.WARNING ? Re.LIGHT : Re.DARK
142
142
  );
143
143
  function m(c) {
@@ -166,33 +166,33 @@ const Re = {
166
166
  "aria-label": e.ariaLabel || void 0,
167
167
  onClick: m
168
168
  }, [
169
- e.loading ? (a(), Q(S(Le), {
169
+ e.loading ? (a(), Q($(Le), {
170
170
  key: 0,
171
171
  class: "ds-button__spinner",
172
- size: i.value,
172
+ size: n.value,
173
173
  tone: o.value
174
174
  }, null, 8, ["size", "tone"])) : h("", !0),
175
- n("span", {
175
+ i("span", {
176
176
  class: "ds-button__content",
177
177
  "aria-hidden": e.loading || void 0
178
178
  }, [
179
179
  e.leftIcon || c.$slots.leading ? (a(), l("span", Yt, [
180
- N(c.$slots, "leading", {}, () => [
181
- n("i", jt, f(e.leftIcon), 1)
180
+ O(c.$slots, "leading", {}, () => [
181
+ i("i", jt, f(e.leftIcon), 1)
182
182
  ], !0)
183
183
  ])) : h("", !0),
184
184
  c.$slots.default && !e.circle && !e.square ? (a(), l("span", Zt, [
185
- N(c.$slots, "default", {}, void 0, !0)
185
+ O(c.$slots, "default", {}, void 0, !0)
186
186
  ])) : h("", !0),
187
187
  e.rightIcon || c.$slots.trailing ? (a(), l("span", Xt, [
188
- N(c.$slots, "trailing", {}, () => [
189
- n("i", Qt, f(e.rightIcon), 1)
188
+ O(c.$slots, "trailing", {}, () => [
189
+ i("i", Qt, f(e.rightIcon), 1)
190
190
  ], !0)
191
191
  ])) : h("", !0)
192
192
  ], 8, Kt)
193
193
  ], 10, Wt));
194
194
  }
195
- }), ae = /* @__PURE__ */ x(Jt, [["__scopeId", "data-v-85d01e1a"]]), ea = {
195
+ }), ae = /* @__PURE__ */ M(Jt, [["__scopeId", "data-v-85d01e1a"]]), ea = {
196
196
  DEFAULT: "default",
197
197
  // white bg, slate-tint border, muted text
198
198
  GREY: "grey",
@@ -205,7 +205,7 @@ const Re = {
205
205
  // e.g. Pending
206
206
  ERROR: "error"
207
207
  // e.g. Bounced
208
- }, ta = { class: "ds-tag__label" }, aa = ["aria-label"], la = /* @__PURE__ */ O({
208
+ }, ta = { class: "ds-tag__label" }, aa = ["aria-label"], la = /* @__PURE__ */ x({
209
209
  __name: "DsTag",
210
210
  props: {
211
211
  tone: {
@@ -233,30 +233,30 @@ const Re = {
233
233
  },
234
234
  setup(e, { emit: s }) {
235
235
  const t = s;
236
- return (d, i) => (a(), l("span", {
236
+ return (d, n) => (a(), l("span", {
237
237
  class: C(["ds-tag", [
238
238
  `ds-tag--${e.tone}`,
239
239
  { "is-rounded": e.rounded, "is-clickable": e.clickable, "is-truncate": e.truncate }
240
240
  ]])
241
241
  }, [
242
- n("span", ta, [
243
- N(d.$slots, "default", {}, void 0, !0)
242
+ i("span", ta, [
243
+ O(d.$slots, "default", {}, void 0, !0)
244
244
  ]),
245
245
  e.closable ? (a(), l("button", {
246
246
  key: 0,
247
247
  type: "button",
248
248
  class: "ds-tag__close",
249
249
  "aria-label": e.closeLabel || void 0,
250
- onClick: i[0] || (i[0] = pe((o) => t(S(te)), ["stop"]))
251
- }, [...i[1] || (i[1] = [
252
- n("i", {
250
+ onClick: n[0] || (n[0] = pe((o) => t($(te)), ["stop"]))
251
+ }, [...n[1] || (n[1] = [
252
+ i("i", {
253
253
  class: "material-symbols-filled",
254
254
  "aria-hidden": "true"
255
255
  }, "close", -1)
256
256
  ])], 8, aa)) : h("", !0)
257
257
  ], 2));
258
258
  }
259
- }), Vs = /* @__PURE__ */ x(la, [["__scopeId", "data-v-23118dd1"]]), Ke = {
259
+ }), Vs = /* @__PURE__ */ M(la, [["__scopeId", "data-v-23118dd1"]]), Ke = {
260
260
  ACCENT: "accent",
261
261
  // e.g. Work (purple)
262
262
  GREY: "grey",
@@ -269,7 +269,7 @@ const Re = {
269
269
  // coral
270
270
  WARNING: "warning"
271
271
  // orange
272
- }, ia = /* @__PURE__ */ O({
272
+ }, na = /* @__PURE__ */ x({
273
273
  __name: "DsBadge",
274
274
  props: {
275
275
  tone: {
@@ -281,10 +281,10 @@ const Re = {
281
281
  return (s, t) => (a(), l("span", {
282
282
  class: C(["ds-badge", `ds-badge--${e.tone}`])
283
283
  }, [
284
- N(s.$slots, "default", {}, void 0, !0)
284
+ O(s.$slots, "default", {}, void 0, !0)
285
285
  ], 2));
286
286
  }
287
- }), na = /* @__PURE__ */ x(ia, [["__scopeId", "data-v-f10a17a0"]]), sa = ["src", "alt"], oa = ["aria-label"], da = /* @__PURE__ */ O({
287
+ }), ia = /* @__PURE__ */ M(na, [["__scopeId", "data-v-f10a17a0"]]), sa = ["src", "alt"], oa = ["aria-label"], da = /* @__PURE__ */ x({
288
288
  __name: "DsAvatar",
289
289
  props: {
290
290
  image: { type: String, default: "" },
@@ -310,7 +310,7 @@ const Re = {
310
310
  alt: { type: String, default: void 0 }
311
311
  },
312
312
  setup(e) {
313
- const s = e, t = g(() => s.letters ? s.letters : s.firstName && s.lastName ? (s.firstName.charAt(0) + s.lastName.charAt(0)).toUpperCase() : ""), d = g(() => `${s.firstName} ${s.lastName}`.trim() || s.letters), i = g(() => {
313
+ const s = e, t = g(() => s.letters ? s.letters : s.firstName && s.lastName ? (s.firstName.charAt(0) + s.lastName.charAt(0)).toUpperCase() : ""), d = g(() => `${s.firstName} ${s.lastName}`.trim() || s.letters), n = g(() => {
314
314
  var u;
315
315
  return (u = s.alt) != null ? u : d.value;
316
316
  }), o = g(() => {
@@ -327,10 +327,10 @@ const Re = {
327
327
  ), y = g(() => {
328
328
  const u = s.uid || s.firstName + s.lastName || s.letters;
329
329
  let p = 0;
330
- for (let $ = 0; $ < u.length; $++)
331
- p = u.charCodeAt($) + ((p << 5) - p), p = p & p;
330
+ for (let S = 0; S < u.length; S++)
331
+ p = u.charCodeAt(S) + ((p << 5) - p), p = p & p;
332
332
  const r = [0, 0, 0];
333
- for (let $ = 0; $ < 3; $++) r[$] = p >> $ * 8 & 255;
333
+ for (let S = 0; S < 3; S++) r[S] = p >> S * 8 & 255;
334
334
  const v = r[0] >= 200 && r[1] >= 200 && r[2] >= 200;
335
335
  return { bg: `rgb(${r[0]}, ${r[1]}, ${r[2]})`, fg: v ? "#323f4b" : "#fff" };
336
336
  });
@@ -338,14 +338,14 @@ const Re = {
338
338
  key: 0,
339
339
  class: C(["ds-avatar", { "is-circular": e.circular }]),
340
340
  src: e.image,
341
- alt: i.value,
342
- style: W(c.value)
341
+ alt: n.value,
342
+ style: G(c.value)
343
343
  }, null, 14, sa)) : t.value ? (a(), l("div", {
344
344
  key: 1,
345
345
  class: C(["ds-avatar ds-avatar--initials", { "is-circular": e.circular }]),
346
346
  role: "img",
347
- "aria-label": i.value || void 0,
348
- style: W([
347
+ "aria-label": n.value || void 0,
348
+ style: G([
349
349
  c.value,
350
350
  {
351
351
  background: y.value.bg,
@@ -357,11 +357,11 @@ const Re = {
357
357
  }, f(t.value), 15, oa)) : (a(), l("div", {
358
358
  key: 2,
359
359
  class: C(["ds-avatar ds-avatar--placeholder", { "is-circular": e.circular }]),
360
- style: W(c.value),
360
+ style: G(c.value),
361
361
  "aria-hidden": "true"
362
362
  }, null, 6));
363
363
  }
364
- }), qs = /* @__PURE__ */ x(da, [["__scopeId", "data-v-4faae4da"]]), ra = ["disabled", "name", "aria-label"], ca = {
364
+ }), qs = /* @__PURE__ */ M(da, [["__scopeId", "data-v-4faae4da"]]), ra = ["disabled", "name", "aria-label"], ca = {
365
365
  key: 0,
366
366
  class: "ds-checkbox__mark",
367
367
  viewBox: "0 0 16 16",
@@ -378,7 +378,7 @@ const Re = {
378
378
  }, fa = {
379
379
  key: 0,
380
380
  class: "ds-checkbox__label"
381
- }, va = /* @__PURE__ */ O({
381
+ }, va = /* @__PURE__ */ x({
382
382
  __name: "DsCheckbox",
383
383
  props: /* @__PURE__ */ se({
384
384
  indeterminate: Boolean,
@@ -395,13 +395,13 @@ const Re = {
395
395
  emits: ["update:modelValue"],
396
396
  setup(e) {
397
397
  const s = Se(e, "modelValue"), t = e, d = V(null);
398
- function i() {
398
+ function n() {
399
399
  d.value && (d.value.indeterminate = t.indeterminate);
400
400
  }
401
- return Et(i), J(() => t.indeterminate, i), (o, m) => (a(), l("label", {
401
+ return Et(n), J(() => t.indeterminate, n), (o, m) => (a(), l("label", {
402
402
  class: C(["ds-checkbox", { "is-disabled": e.disabled }])
403
403
  }, [
404
- Ye(n("input", {
404
+ Ye(i("input", {
405
405
  ref_key: "inputRef",
406
406
  ref: d,
407
407
  "onUpdate:modelValue": m[0] || (m[0] = (c) => s.value = c),
@@ -413,29 +413,29 @@ const Re = {
413
413
  }, null, 8, ra), [
414
414
  [Mt, s.value]
415
415
  ]),
416
- n("span", {
416
+ i("span", {
417
417
  class: C(["ds-checkbox__box", { "is-active": s.value || e.indeterminate }]),
418
418
  "aria-hidden": "true"
419
419
  }, [
420
420
  e.indeterminate ? (a(), l("svg", ca, [...m[1] || (m[1] = [
421
- n("line", {
421
+ i("line", {
422
422
  x1: "4",
423
423
  y1: "8",
424
424
  x2: "12",
425
425
  y2: "8"
426
426
  }, null, -1)
427
427
  ])])) : s.value ? (a(), l("svg", ua, [...m[2] || (m[2] = [
428
- n("path", { d: "M3.5 8.5l3 3 6-6" }, null, -1)
428
+ i("path", { d: "M3.5 8.5l3 3 6-6" }, null, -1)
429
429
  ])])) : h("", !0)
430
430
  ], 2),
431
431
  o.$slots.default || e.label ? (a(), l("span", fa, [
432
- N(o.$slots, "default", {}, () => [
433
- j(f(e.label), 1)
432
+ O(o.$slots, "default", {}, () => [
433
+ Z(f(e.label), 1)
434
434
  ], !0)
435
435
  ])) : h("", !0)
436
436
  ], 2));
437
437
  }
438
- }), Me = /* @__PURE__ */ x(va, [["__scopeId", "data-v-2da3772e"]]), gt = {
438
+ }), Me = /* @__PURE__ */ M(va, [["__scopeId", "data-v-2da3772e"]]), gt = {
439
439
  LEFT: "left",
440
440
  CENTER: "center",
441
441
  RIGHT: "right"
@@ -445,7 +445,7 @@ const Re = {
445
445
  }, ba = ["aria-busy"], ya = { class: "ds-table__table" }, ma = { class: "ds-table__head" }, ga = {
446
446
  key: 0,
447
447
  class: "ds-table__select-all"
448
- }, ha = { key: 0 }, pa = ["colspan"], ka = ["aria-busy"], Sa = { key: 0 }, $a = ["colspan"], _a = { key: 1 }, La = ["colspan"], Ea = ["title"], Ta = /* @__PURE__ */ O({
448
+ }, ha = { key: 0 }, pa = ["colspan"], ka = ["aria-busy"], Sa = { key: 0 }, $a = ["colspan"], _a = { key: 1 }, La = ["colspan"], Ea = ["title"], wa = /* @__PURE__ */ x({
449
449
  __name: "DsTable",
450
450
  props: {
451
451
  // --- Declarative API (default): the table builds itself from columns + rows. ---
@@ -500,9 +500,9 @@ const Re = {
500
500
  // falls back to DsSpinner's own default. Overridable per row via the #loading slot.
501
501
  loadingLabel: { type: String, default: "" }
502
502
  },
503
- emits: [nt],
503
+ emits: [it],
504
504
  setup(e, { emit: s }) {
505
- const t = e, d = s, i = g(
505
+ const t = e, d = s, n = g(
506
506
  () => Math.max(1, t.headers.length + (t.selectable ? 1 : 0))
507
507
  ), o = g(
508
508
  () => t.rowHeight == null ? void 0 : {
@@ -512,27 +512,27 @@ const Re = {
512
512
  () => t.height == null ? void 0 : { height: typeof t.height == "number" ? `${t.height}px` : t.height }
513
513
  );
514
514
  function c(E) {
515
- d(nt, E);
515
+ d(it, E);
516
516
  }
517
517
  function b(E) {
518
518
  if (!E) return 0;
519
- const U = /^(\d+(?:\.\d+)?)px$/.exec(E.trim());
520
- return U ? parseFloat(U[1]) : 0;
519
+ const N = /^(\d+(?:\.\d+)?)px$/.exec(E.trim());
520
+ return N ? parseFloat(N[1]) : 0;
521
521
  }
522
522
  const y = g(() => {
523
523
  const E = {};
524
- let U = 0;
525
- for (const R of t.columns)
526
- R.pinned === ce.LEFT && (E[R.key] = { position: "sticky", left: `${U}px` }, U += b(R.width));
527
- let T = 0;
528
- for (let R = t.columns.length - 1; R >= 0; R--) {
529
- const H = t.columns[R];
530
- H.pinned === ce.RIGHT && (E[H.key] = { position: "sticky", right: `${T}px` }, T += b(H.width));
524
+ let N = 0;
525
+ for (const D of t.columns)
526
+ D.pinned === ce.LEFT && (E[D.key] = { position: "sticky", left: `${N}px` }, N += b(D.width));
527
+ let w = 0;
528
+ for (let D = t.columns.length - 1; D >= 0; D--) {
529
+ const F = t.columns[D];
530
+ F.pinned === ce.RIGHT && (E[F.key] = { position: "sticky", right: `${w}px` }, w += b(F.width));
531
531
  }
532
532
  return E;
533
533
  }), u = g(() => {
534
- const E = t.columns.filter((R) => R.pinned === ce.LEFT), U = t.columns.filter((R) => R.pinned === ce.RIGHT), T = /* @__PURE__ */ new Set();
535
- return E.length && T.add(E[E.length - 1].key), U.length && T.add(U[0].key), T;
534
+ const E = t.columns.filter((D) => D.pinned === ce.LEFT), N = t.columns.filter((D) => D.pinned === ce.RIGHT), w = /* @__PURE__ */ new Set();
535
+ return E.length && w.add(E[E.length - 1].key), N.length && w.add(N[0].key), w;
536
536
  });
537
537
  function p(E) {
538
538
  if (E.pinned)
@@ -543,105 +543,105 @@ const Re = {
543
543
  };
544
544
  }
545
545
  function r(E) {
546
- const U = y.value[E.key], T = E.width ? { width: E.width } : void 0;
547
- if (!(!U && !T))
548
- return { ...T, ...U };
546
+ const N = y.value[E.key], w = E.width ? { width: E.width } : void 0;
547
+ if (!(!N && !w))
548
+ return { ...w, ...N };
549
549
  }
550
550
  function v(E) {
551
- const U = y.value[E.key];
552
- if (U)
553
- return E.width ? { ...U, width: E.width } : U;
551
+ const N = y.value[E.key];
552
+ if (N)
553
+ return E.width ? { ...N, width: E.width } : N;
554
554
  }
555
- const $ = g(
555
+ const S = g(
556
556
  () => t.headers.map((E) => typeof E == "string" ? { label: E } : E)
557
557
  ), _ = g(() => {
558
- const E = {}, U = $.value;
559
- let T = 0;
560
- U.forEach((H, oe) => {
561
- H.pinned === ce.LEFT && (E[oe] = { position: "sticky", left: `${T}px` }, T += b(H.width));
558
+ const E = {}, N = S.value;
559
+ let w = 0;
560
+ N.forEach((F, oe) => {
561
+ F.pinned === ce.LEFT && (E[oe] = { position: "sticky", left: `${w}px` }, w += b(F.width));
562
562
  });
563
- let R = 0;
564
- for (let H = U.length - 1; H >= 0; H--)
565
- U[H].pinned === ce.RIGHT && (E[H] = { position: "sticky", right: `${R}px` }, R += b(U[H].width));
563
+ let D = 0;
564
+ for (let F = N.length - 1; F >= 0; F--)
565
+ N[F].pinned === ce.RIGHT && (E[F] = { position: "sticky", right: `${D}px` }, D += b(N[F].width));
566
566
  return E;
567
- }), I = g(() => {
568
- const E = $.value, U = E.map((H, oe) => ({ h: H, i: oe })).filter(({ h: H }) => H.pinned === ce.LEFT), T = E.map((H, oe) => ({ h: H, i: oe })).filter(({ h: H }) => H.pinned === ce.RIGHT), R = /* @__PURE__ */ new Set();
569
- return U.length && R.add(U[U.length - 1].i), T.length && R.add(T[0].i), R;
567
+ }), R = g(() => {
568
+ const E = S.value, N = E.map((F, oe) => ({ h: F, i: oe })).filter(({ h: F }) => F.pinned === ce.LEFT), w = E.map((F, oe) => ({ h: F, i: oe })).filter(({ h: F }) => F.pinned === ce.RIGHT), D = /* @__PURE__ */ new Set();
569
+ return N.length && D.add(N[N.length - 1].i), w.length && D.add(w[0].i), D;
570
570
  });
571
- function k(E, U) {
571
+ function k(E, N) {
572
572
  if (E.pinned)
573
573
  return {
574
574
  "ds-table__pin": !0,
575
575
  [`ds-table__pin--${E.pinned}`]: !0,
576
- "ds-table__pin--edge": I.value.has(U)
576
+ "ds-table__pin--edge": R.value.has(N)
577
577
  };
578
578
  }
579
- function D(E, U) {
580
- const T = _.value[U], R = E.width ? { width: E.width } : void 0;
581
- if (!(!T && !R))
582
- return { ...R, ...T };
579
+ function T(E, N) {
580
+ const w = _.value[N], D = E.width ? { width: E.width } : void 0;
581
+ if (!(!w && !D))
582
+ return { ...D, ...w };
583
583
  }
584
- const L = V(null), A = V(!1), B = V(!1);
585
- let G = null;
586
- function q() {
584
+ const L = V(null), B = V(!1), j = V(!1);
585
+ let K = null;
586
+ function A() {
587
587
  const E = L.value;
588
- E && (A.value = E.scrollLeft > 0, B.value = E.scrollLeft + E.clientWidth < E.scrollWidth - 1);
588
+ E && (B.value = E.scrollLeft > 0, j.value = E.scrollLeft + E.clientWidth < E.scrollWidth - 1);
589
589
  }
590
- function Z(E) {
591
- E == null || E.removeEventListener("scroll", q), G == null || G.disconnect(), G = null;
590
+ function Y(E) {
591
+ E == null || E.removeEventListener("scroll", A), K == null || K.disconnect(), K = null;
592
592
  }
593
593
  return J(
594
594
  L,
595
- (E, U) => {
596
- Z(U != null ? U : null), E && (E.addEventListener("scroll", q, { passive: !0 }), typeof ResizeObserver != "undefined" && (G = new ResizeObserver(q), G.observe(E)), q());
595
+ (E, N) => {
596
+ Y(N != null ? N : null), E && (E.addEventListener("scroll", A, { passive: !0 }), typeof ResizeObserver != "undefined" && (K = new ResizeObserver(A), K.observe(E)), A());
597
597
  },
598
598
  { immediate: !0 }
599
- ), re(() => Z(L.value)), J(
599
+ ), re(() => Y(L.value)), J(
600
600
  () => [t.columns.length, t.rows.length, t.headers.length, t.compound],
601
- () => ue(q)
602
- ), (E, U) => e.compound ? (a(), l("div", {
601
+ () => ue(A)
602
+ ), (E, N) => e.compound ? (a(), l("div", {
603
603
  key: 0,
604
604
  class: "ds-table ds-table--compound",
605
605
  "aria-busy": e.loading ? "true" : void 0
606
606
  }, [
607
- n("div", {
607
+ i("div", {
608
608
  ref_key: "wrapperRef",
609
609
  ref: L,
610
- class: C(["ds-table__wrapper", { "is-scrolled-start": A.value, "is-scrolled-end": B.value }]),
611
- style: W(m.value)
610
+ class: C(["ds-table__wrapper", { "is-scrolled-start": B.value, "is-scrolled-end": j.value }]),
611
+ style: G(m.value)
612
612
  }, [
613
- n("table", ya, [
614
- n("thead", ma, [
615
- n("tr", null, [
613
+ i("table", ya, [
614
+ i("thead", ma, [
615
+ i("tr", null, [
616
616
  e.selectable ? (a(), l("th", ga, [
617
- z(S(Me), {
617
+ U($(Me), {
618
618
  "model-value": e.allSelected,
619
619
  indeterminate: !e.allSelected && e.someSelected,
620
620
  "aria-label": e.selectAllLabel || void 0,
621
621
  "onUpdate:modelValue": c
622
622
  }, null, 8, ["model-value", "indeterminate", "aria-label"])
623
623
  ])) : h("", !0),
624
- (a(!0), l(F, null, X($.value, (T, R) => (a(), l("th", {
625
- key: T.label,
626
- class: C(k(T, R)),
627
- style: W(D(T, R))
628
- }, f(T.label), 7))), 128))
624
+ (a(!0), l(q, null, X(S.value, (w, D) => (a(), l("th", {
625
+ key: w.label,
626
+ class: C(k(w, D)),
627
+ style: G(T(w, D))
628
+ }, f(w.label), 7))), 128))
629
629
  ])
630
630
  ]),
631
- n("tbody", null, [
631
+ i("tbody", null, [
632
632
  e.loading ? (a(), l("tr", ha, [
633
- n("td", {
633
+ i("td", {
634
634
  class: "ds-table__loading",
635
- colspan: i.value,
635
+ colspan: n.value,
636
636
  "data-testid": "ds-table-loading"
637
637
  }, [
638
- N(E.$slots, "loading", {}, () => [
639
- z(S(Le), {
638
+ O(E.$slots, "loading", {}, () => [
639
+ U($(Le), {
640
640
  label: e.loadingLabel || void 0
641
641
  }, null, 8, ["label"])
642
642
  ], !0)
643
643
  ], 8, pa)
644
- ])) : N(E.$slots, "default", { key: 1 }, void 0, !0)
644
+ ])) : O(E.$slots, "default", { key: 1 }, void 0, !0)
645
645
  ])
646
646
  ])
647
647
  ], 6)
@@ -650,71 +650,71 @@ const Re = {
650
650
  class: "ds-table",
651
651
  "aria-busy": e.loading ? "true" : void 0
652
652
  }, [
653
- n("div", {
653
+ i("div", {
654
654
  ref_key: "wrapperRef",
655
655
  ref: L,
656
- class: C(["ds-table__wrapper", { "is-scrolled-start": A.value, "is-scrolled-end": B.value }])
656
+ class: C(["ds-table__wrapper", { "is-scrolled-start": B.value, "is-scrolled-end": j.value }])
657
657
  }, [
658
- n("table", {
658
+ i("table", {
659
659
  class: C(["ds-table__table", { "has-row-height": e.rowHeight != null }]),
660
- style: W(o.value)
660
+ style: G(o.value)
661
661
  }, [
662
- n("thead", null, [
663
- n("tr", null, [
664
- (a(!0), l(F, null, X(e.columns, (T) => {
665
- var R;
662
+ i("thead", null, [
663
+ i("tr", null, [
664
+ (a(!0), l(q, null, X(e.columns, (w) => {
665
+ var D;
666
666
  return a(), l("th", {
667
- key: T.key,
667
+ key: w.key,
668
668
  class: C([
669
- `ds-table__th--${(R = T.align) != null ? R : S(gt).LEFT}`,
670
- p(T)
669
+ `ds-table__th--${(D = w.align) != null ? D : $(gt).LEFT}`,
670
+ p(w)
671
671
  ]),
672
- style: W(r(T))
673
- }, f(T.label), 7);
672
+ style: G(r(w))
673
+ }, f(w.label), 7);
674
674
  }), 128))
675
675
  ])
676
676
  ]),
677
- n("tbody", null, [
677
+ i("tbody", null, [
678
678
  e.loading ? (a(), l("tr", Sa, [
679
- n("td", {
679
+ i("td", {
680
680
  class: "ds-table__loading",
681
681
  colspan: Math.max(1, e.columns.length),
682
682
  "data-testid": "ds-table-loading"
683
683
  }, [
684
- N(E.$slots, "loading", {}, () => [
685
- z(S(Le), {
684
+ O(E.$slots, "loading", {}, () => [
685
+ U($(Le), {
686
686
  label: e.loadingLabel || void 0
687
687
  }, null, 8, ["label"])
688
688
  ], !0)
689
689
  ], 8, $a)
690
690
  ])) : e.rows.length === 0 ? (a(), l("tr", _a, [
691
- n("td", {
691
+ i("td", {
692
692
  class: "ds-table__empty",
693
693
  colspan: Math.max(1, e.columns.length),
694
694
  "data-testid": "ds-table-empty"
695
695
  }, [
696
- N(E.$slots, "empty", {}, () => [
697
- j(f(e.emptyMessage), 1)
696
+ O(E.$slots, "empty", {}, () => [
697
+ Z(f(e.emptyMessage), 1)
698
698
  ], !0)
699
699
  ], 8, La)
700
- ])) : (a(!0), l(F, { key: 2 }, X(e.rows, (T) => (a(), l("tr", {
701
- key: T.id,
702
- class: C({ "is-highlighted": T.id === e.highlightRowId }),
700
+ ])) : (a(!0), l(q, { key: 2 }, X(e.rows, (w) => (a(), l("tr", {
701
+ key: w.id,
702
+ class: C({ "is-highlighted": w.id === e.highlightRowId }),
703
703
  "data-testid": "ds-table-row"
704
704
  }, [
705
- (a(!0), l(F, null, X(e.columns, (R) => {
706
- var H;
705
+ (a(!0), l(q, null, X(e.columns, (D) => {
706
+ var F;
707
707
  return a(), l("td", {
708
- key: R.key,
708
+ key: D.key,
709
709
  class: C([
710
- `ds-table__td--${(H = R.align) != null ? H : S(gt).LEFT}`,
711
- p(R)
710
+ `ds-table__td--${(F = D.align) != null ? F : $(gt).LEFT}`,
711
+ p(D)
712
712
  ]),
713
- style: W(v(R)),
714
- title: e.rowHeight != null && !E.$slots[`cell-${R.key}`] && T[R.key] != null ? String(T[R.key]) : void 0
713
+ style: G(v(D)),
714
+ title: e.rowHeight != null && !E.$slots[`cell-${D.key}`] && w[D.key] != null ? String(w[D.key]) : void 0
715
715
  }, [
716
- N(E.$slots, `cell-${R.key}`, { row: T }, () => [
717
- j(f(T[R.key]), 1)
716
+ O(E.$slots, `cell-${D.key}`, { row: w }, () => [
717
+ Z(f(w[D.key]), 1)
718
718
  ], !0)
719
719
  ], 14, Ea);
720
720
  }), 128))
@@ -724,7 +724,7 @@ const Re = {
724
724
  ], 2)
725
725
  ], 8, ka));
726
726
  }
727
- }), Fs = /* @__PURE__ */ x(Ta, [["__scopeId", "data-v-7a5bb12f"]]), _e = {
727
+ }), Fs = /* @__PURE__ */ M(wa, [["__scopeId", "data-v-7a5bb12f"]]), _e = {
728
728
  TEXT: "text",
729
729
  EMAIL: "email",
730
730
  PASSWORD: "password",
@@ -732,7 +732,7 @@ const Re = {
732
732
  NUMBER: "number",
733
733
  SEARCH: "search",
734
734
  URL: "url"
735
- }, wa = {
735
+ }, Ta = {
736
736
  SM: "sm",
737
737
  // 36px
738
738
  MD: "md"
@@ -748,14 +748,14 @@ const Re = {
748
748
  key: 0,
749
749
  class: "material-symbols-filled ds-input__error-icon",
750
750
  "aria-hidden": "true"
751
- }, Na = ["disabled", "aria-label", "aria-pressed"], Ba = {
751
+ }, Na = ["disabled", "aria-label", "aria-pressed"], Oa = {
752
752
  class: "material-symbols-filled",
753
753
  "aria-hidden": "true"
754
- }, Oa = ["id"], xa = /* @__PURE__ */ O({
754
+ }, Ba = ["id"], xa = /* @__PURE__ */ x({
755
755
  __name: "DsInput",
756
756
  props: /* @__PURE__ */ se({
757
757
  type: { type: String, default: _e.TEXT },
758
- size: { type: String, default: wa.SM },
758
+ size: { type: String, default: Ta.SM },
759
759
  placeholder: { type: String, default: "" },
760
760
  disabled: Boolean,
761
761
  error: Boolean,
@@ -777,48 +777,48 @@ const Re = {
777
777
  }),
778
778
  emits: /* @__PURE__ */ se([Ae, Ne, tt, at], ["update:modelValue"]),
779
779
  setup(e, { expose: s, emit: t }) {
780
- const d = Se(e, "modelValue"), i = e, o = t, m = V();
781
- function c(I) {
782
- const k = I.relatedTarget, D = I.currentTarget;
783
- k && (D != null && D.contains(k)) || o(at, I);
780
+ const d = Se(e, "modelValue"), n = e, o = t, m = V();
781
+ function c(R) {
782
+ const k = R.relatedTarget, T = R.currentTarget;
783
+ k && (T != null && T.contains(k)) || o(at, R);
784
784
  }
785
- const b = we(), y = V(!1);
785
+ const b = Te(), y = V(!1);
786
786
  function u() {
787
- i.disabled || (y.value = !y.value);
787
+ n.disabled || (y.value = !y.value);
788
788
  }
789
- const p = g(() => i.type === _e.PASSWORD), r = g(() => i.type === _e.SEARCH), v = g(() => p.value ? y.value ? _e.TEXT : _e.PASSWORD : r.value ? _e.TEXT : i.type), $ = g(() => p.value && !!i.toggleLabel), _ = g(
790
- () => !!b.suffix || i.error && i.showErrorIcon || $.value
789
+ const p = g(() => n.type === _e.PASSWORD), r = g(() => n.type === _e.SEARCH), v = g(() => p.value ? y.value ? _e.TEXT : _e.PASSWORD : r.value ? _e.TEXT : n.type), S = g(() => p.value && !!n.toggleLabel), _ = g(
790
+ () => !!b.suffix || n.error && n.showErrorIcon || S.value
791
791
  );
792
792
  return s({
793
793
  focus: () => {
794
- var I;
795
- return (I = m.value) == null ? void 0 : I.focus();
794
+ var R;
795
+ return (R = m.value) == null ? void 0 : R.focus();
796
796
  },
797
797
  focusAtEnd: async () => {
798
798
  await ue();
799
- const I = m.value;
800
- if (!I) return;
801
- I.focus();
802
- const k = I.value.length;
799
+ const R = m.value;
800
+ if (!R) return;
801
+ R.focus();
802
+ const k = R.value.length;
803
803
  try {
804
- I.setSelectionRange(k, k);
804
+ R.setSelectionRange(k, k);
805
805
  } catch {
806
806
  }
807
807
  }
808
- }), (I, k) => (a(), l("div", {
808
+ }), (R, k) => (a(), l("div", {
809
809
  class: C(["ds-input", [
810
810
  `ds-input--${e.size}`,
811
811
  { "is-error": e.error, "is-disabled": e.disabled, "is-search": r.value }
812
812
  ]]),
813
813
  onFocusout: c
814
814
  }, [
815
- n("div", Ca, [
815
+ i("div", Ca, [
816
816
  r.value ? (a(), l("i", Ia, "search")) : h("", !0),
817
- Ye(n("input", {
817
+ Ye(i("input", {
818
818
  id: e.id || void 0,
819
819
  ref_key: "inputEl",
820
820
  ref: m,
821
- "onUpdate:modelValue": k[0] || (k[0] = (D) => d.value = D),
821
+ "onUpdate:modelValue": k[0] || (k[0] = (T) => d.value = T),
822
822
  class: C(["ds-input__control", { "has-suffix": _.value }]),
823
823
  type: v.value,
824
824
  placeholder: e.placeholder,
@@ -830,15 +830,15 @@ const Re = {
830
830
  autocomplete: e.autocomplete || void 0,
831
831
  "aria-invalid": e.error || void 0,
832
832
  "aria-describedby": e.error && e.errorMessage && e.id ? `${e.id}-error` : void 0,
833
- onFocus: k[1] || (k[1] = (D) => o(S(Ae), D)),
834
- onBlur: k[2] || (k[2] = (D) => o(S(Ne), D)),
835
- onChange: k[3] || (k[3] = (D) => o(S(tt), D))
833
+ onFocus: k[1] || (k[1] = (T) => o($(Ae), T)),
834
+ onBlur: k[2] || (k[2] = (T) => o($(Ne), T)),
835
+ onChange: k[3] || (k[3] = (T) => o($(tt), T))
836
836
  }, null, 42, Da), [
837
837
  [Pt, d.value]
838
838
  ]),
839
839
  _.value ? (a(), l("div", Ra, [
840
- N(I.$slots, "suffix", {}, void 0, !0),
841
- e.error && e.showErrorIcon ? (a(), l("i", Aa, "warning")) : $.value ? (a(), l("button", {
840
+ O(R.$slots, "suffix", {}, void 0, !0),
841
+ e.error && e.showErrorIcon ? (a(), l("i", Aa, "warning")) : S.value ? (a(), l("button", {
842
842
  key: 1,
843
843
  type: "button",
844
844
  class: "ds-input__toggle",
@@ -847,7 +847,7 @@ const Re = {
847
847
  "aria-pressed": y.value,
848
848
  onClick: u
849
849
  }, [
850
- n("i", Ba, f(y.value ? "visibility" : "visibility_off"), 1)
850
+ i("i", Oa, f(y.value ? "visibility" : "visibility_off"), 1)
851
851
  ], 8, Na)) : h("", !0)
852
852
  ])) : h("", !0)
853
853
  ]),
@@ -855,12 +855,12 @@ const Re = {
855
855
  key: 0,
856
856
  id: e.id ? `${e.id}-error` : void 0,
857
857
  class: "ds-input__error"
858
- }, f(e.errorMessage), 9, Oa)) : h("", !0)
858
+ }, f(e.errorMessage), 9, Ba)) : h("", !0)
859
859
  ], 34));
860
860
  }
861
- }), Ze = /* @__PURE__ */ x(xa, [["__scopeId", "data-v-d6eb193a"]]), Ma = {
861
+ }), Ze = /* @__PURE__ */ M(xa, [["__scopeId", "data-v-d6eb193a"]]), Ma = {
862
862
  VERTICAL: "vertical"
863
- }, Pa = ["id", "placeholder", "rows", "disabled", "name", "aria-invalid", "aria-describedby"], za = ["id"], Ua = /* @__PURE__ */ O({
863
+ }, Pa = ["id", "placeholder", "rows", "disabled", "name", "aria-invalid", "aria-describedby"], za = ["id"], Ua = /* @__PURE__ */ x({
864
864
  inheritAttrs: !1,
865
865
  __name: "DsTextarea",
866
866
  props: /* @__PURE__ */ se({
@@ -882,15 +882,15 @@ const Re = {
882
882
  }),
883
883
  emits: /* @__PURE__ */ se([Ae, Ne], ["update:modelValue"]),
884
884
  setup(e, { emit: s }) {
885
- const t = Se(e, "modelValue"), d = s, i = zt(), o = (b) => b === "class" || b === "style" || b.startsWith("data-"), m = g(
886
- () => Object.fromEntries(Object.entries(i).filter(([b]) => o(b)))
885
+ const t = Se(e, "modelValue"), d = s, n = zt(), o = (b) => b === "class" || b === "style" || b.startsWith("data-"), m = g(
886
+ () => Object.fromEntries(Object.entries(n).filter(([b]) => o(b)))
887
887
  ), c = g(
888
- () => Object.fromEntries(Object.entries(i).filter(([b]) => !o(b)))
888
+ () => Object.fromEntries(Object.entries(n).filter(([b]) => !o(b)))
889
889
  );
890
890
  return (b, y) => (a(), l("div", De({
891
891
  class: ["ds-textarea", [`ds-textarea--resize-${e.resize}`, { "is-error": e.error, "is-disabled": e.disabled }]]
892
892
  }, m.value), [
893
- Ye(n("textarea", De(c.value, {
893
+ Ye(i("textarea", De(c.value, {
894
894
  id: e.id || void 0,
895
895
  "onUpdate:modelValue": y[0] || (y[0] = (u) => t.value = u),
896
896
  class: "ds-textarea__control",
@@ -900,8 +900,8 @@ const Re = {
900
900
  name: e.name || void 0,
901
901
  "aria-invalid": e.error || void 0,
902
902
  "aria-describedby": e.error && e.errorMessage && e.id ? `${e.id}-error` : void 0,
903
- onFocus: y[1] || (y[1] = (u) => d(S(Ae), u)),
904
- onBlur: y[2] || (y[2] = (u) => d(S(Ne), u))
903
+ onFocus: y[1] || (y[1] = (u) => d($(Ae), u)),
904
+ onBlur: y[2] || (y[2] = (u) => d($(Ne), u))
905
905
  }), null, 16, Pa), [
906
906
  [Ut, t.value]
907
907
  ]),
@@ -912,7 +912,7 @@ const Re = {
912
912
  }, f(e.errorMessage), 9, za)) : h("", !0)
913
913
  ], 16));
914
914
  }
915
- }), Gs = /* @__PURE__ */ x(Ua, [["__scopeId", "data-v-745c01de"]]), Va = {
915
+ }), Gs = /* @__PURE__ */ M(Ua, [["__scopeId", "data-v-745c01de"]]), Va = {
916
916
  SUCCESS: "success",
917
917
  INFO: "info",
918
918
  WARNING: "warning",
@@ -934,7 +934,7 @@ const Re = {
934
934
  }, Ha = { class: "ds-alert__content" }, Wa = {
935
935
  key: 1,
936
936
  class: "ds-alert__body"
937
- }, Ka = ["aria-label"], Ya = /* @__PURE__ */ O({
937
+ }, Ka = ["aria-label"], Ya = /* @__PURE__ */ x({
938
938
  __name: "DsAlert",
939
939
  props: /* @__PURE__ */ se({
940
940
  type: { type: String, default: Va.INFO },
@@ -953,30 +953,30 @@ const Re = {
953
953
  }),
954
954
  emits: /* @__PURE__ */ se([te], ["update:visible"]),
955
955
  setup(e, { emit: s }) {
956
- const t = e, d = s, i = Se(e, "visible"), o = we(), m = g(() => Fa[t.type]), c = g(() => !!o.default || t.description.length > 0), b = g(() => !!o.title || t.title.length > 0);
956
+ const t = e, d = s, n = Se(e, "visible"), o = Te(), m = g(() => Fa[t.type]), c = g(() => !!o.default || t.description.length > 0), b = g(() => !!o.title || t.title.length > 0);
957
957
  function y() {
958
- i.value = !1, d(te);
958
+ n.value = !1, d(te);
959
959
  }
960
960
  return (u, p) => (a(), Q(ke, { name: "ds-alert-fade" }, {
961
- default: P(() => [
962
- i.value ? (a(), l("div", {
961
+ default: z(() => [
962
+ n.value ? (a(), l("div", {
963
963
  key: 0,
964
964
  class: C(["ds-alert", [`ds-alert--${e.type}`, `ds-alert--${e.effect}`, { "is-center": e.center }]]),
965
965
  role: "alert"
966
966
  }, [
967
967
  e.showIcon ? (a(), l("i", Ga, f(m.value), 1)) : h("", !0),
968
- n("div", Ha, [
968
+ i("div", Ha, [
969
969
  b.value ? (a(), l("div", {
970
970
  key: 0,
971
971
  class: C(["ds-alert__title", { "has-body": c.value, "is-bold": c.value || e.boldTitle }])
972
972
  }, [
973
- N(u.$slots, "title", {}, () => [
974
- j(f(e.title), 1)
973
+ O(u.$slots, "title", {}, () => [
974
+ Z(f(e.title), 1)
975
975
  ], !0)
976
976
  ], 2)) : h("", !0),
977
977
  c.value ? (a(), l("div", Wa, [
978
- N(u.$slots, "default", {}, () => [
979
- j(f(e.description), 1)
978
+ O(u.$slots, "default", {}, () => [
979
+ Z(f(e.description), 1)
980
980
  ], !0)
981
981
  ])) : h("", !0)
982
982
  ]),
@@ -987,7 +987,7 @@ const Re = {
987
987
  "aria-label": e.closeLabel || void 0,
988
988
  onClick: y
989
989
  }, [...p[0] || (p[0] = [
990
- n("i", {
990
+ i("i", {
991
991
  class: "material-symbols-filled",
992
992
  "aria-hidden": "true"
993
993
  }, "close", -1)
@@ -997,7 +997,7 @@ const Re = {
997
997
  _: 3
998
998
  }));
999
999
  }
1000
- }), Hs = /* @__PURE__ */ x(Ya, [["__scopeId", "data-v-82377cbc"]]), ja = {
1000
+ }), Hs = /* @__PURE__ */ M(Ya, [["__scopeId", "data-v-82377cbc"]]), ja = {
1001
1001
  SUCCESS: "success",
1002
1002
  INFO: "info",
1003
1003
  WARNING: "warning",
@@ -1026,7 +1026,7 @@ const Re = {
1026
1026
  }, tl = {
1027
1027
  key: 1,
1028
1028
  class: "ds-notification__desc"
1029
- }, al = ["href", "target", "rel"], ll = ["aria-label"], il = /* @__PURE__ */ O({
1029
+ }, al = ["href", "target", "rel"], ll = ["aria-label"], nl = /* @__PURE__ */ x({
1030
1030
  __name: "DsNotification",
1031
1031
  props: {
1032
1032
  type: { type: String, default: ja.INFO },
@@ -1057,15 +1057,15 @@ const Re = {
1057
1057
  },
1058
1058
  emits: [te, ct],
1059
1059
  setup(e, { emit: s }) {
1060
- const t = e, d = s, i = V(!0), o = g(() => Xa[t.type]), m = g(
1060
+ const t = e, d = s, n = V(!0), o = g(() => Xa[t.type]), m = g(
1061
1061
  () => t.linkTarget === ht.BLANK ? "noopener noreferrer" : void 0
1062
1062
  );
1063
1063
  let c, b = 0, y = t.duration;
1064
1064
  function u() {
1065
1065
  c && (clearTimeout(c), c = void 0);
1066
1066
  }
1067
- function p(I) {
1068
- u(), !(t.duration <= 0 || !i.value) && (b = Date.now(), c = setTimeout($, I));
1067
+ function p(R) {
1068
+ u(), !(t.duration <= 0 || !n.value) && (b = Date.now(), c = setTimeout(S, R));
1069
1069
  }
1070
1070
  function r() {
1071
1071
  c && (y -= Date.now() - b, u());
@@ -1073,30 +1073,30 @@ const Re = {
1073
1073
  function v() {
1074
1074
  p(y > 0 ? y : t.duration);
1075
1075
  }
1076
- function $() {
1077
- u(), i.value = !1, d(te);
1076
+ function S() {
1077
+ u(), n.value = !1, d(te);
1078
1078
  }
1079
- function _(I) {
1080
- d(ct, I);
1079
+ function _(R) {
1080
+ d(ct, R);
1081
1081
  }
1082
- return Et(() => p(t.duration)), re(u), (I, k) => (a(), Q(xe, { to: "body" }, [
1083
- z(ke, {
1082
+ return Et(() => p(t.duration)), re(u), (R, k) => (a(), Q(xe, { to: "body" }, [
1083
+ U(ke, {
1084
1084
  name: "ds-notification",
1085
1085
  appear: ""
1086
1086
  }, {
1087
- default: P(() => [
1088
- i.value ? (a(), l("div", {
1087
+ default: z(() => [
1088
+ n.value ? (a(), l("div", {
1089
1089
  key: 0,
1090
1090
  class: C(["ds-notification", `ds-notification--${e.position}`])
1091
1091
  }, [
1092
- n("div", {
1092
+ i("div", {
1093
1093
  class: C(["ds-notification__card", `ds-notification__card--${e.type}`]),
1094
1094
  role: "alert",
1095
1095
  onMouseenter: r,
1096
1096
  onMouseleave: v
1097
1097
  }, [
1098
- n("i", Qa, f(o.value), 1),
1099
- n("div", Ja, [
1098
+ i("i", Qa, f(o.value), 1),
1099
+ i("div", Ja, [
1100
1100
  e.title ? (a(), l("span", el, f(e.title), 1)) : h("", !0),
1101
1101
  e.description ? (a(), l("p", tl, f(e.description), 1)) : h("", !0),
1102
1102
  e.linkTitle ? (a(), l("a", {
@@ -1113,9 +1113,9 @@ const Re = {
1113
1113
  type: "button",
1114
1114
  class: "ds-notification__close",
1115
1115
  "aria-label": e.closeLabel || void 0,
1116
- onClick: $
1116
+ onClick: S
1117
1117
  }, [...k[0] || (k[0] = [
1118
- n("i", {
1118
+ i("i", {
1119
1119
  class: "material-symbols-filled",
1120
1120
  "aria-hidden": "true"
1121
1121
  }, "close", -1)
@@ -1127,13 +1127,13 @@ const Re = {
1127
1127
  })
1128
1128
  ]));
1129
1129
  }
1130
- }), Ws = /* @__PURE__ */ x(il, [["__scopeId", "data-v-4ae56e64"]]), nl = ["aria-modal", "aria-labelledby", "aria-label"], sl = {
1130
+ }), Ws = /* @__PURE__ */ M(nl, [["__scopeId", "data-v-4ae56e64"]]), il = ["aria-modal", "aria-labelledby", "aria-label"], sl = {
1131
1131
  key: 0,
1132
1132
  class: "ds-modal__header"
1133
1133
  }, ol = ["id"], dl = { class: "ds-modal__body" }, rl = {
1134
1134
  key: 1,
1135
1135
  class: "ds-modal__footer"
1136
- }, cl = /* @__PURE__ */ O({
1136
+ }, cl = /* @__PURE__ */ x({
1137
1137
  __name: "DsModal",
1138
1138
  props: {
1139
1139
  open: Boolean,
@@ -1158,7 +1158,7 @@ const Re = {
1158
1158
  },
1159
1159
  emits: [te],
1160
1160
  setup(e, { emit: s }) {
1161
- const t = e, d = s, i = V(null);
1161
+ const t = e, d = s, n = V(null);
1162
1162
  let o = null;
1163
1163
  const m = $e(), c = g(() => ({
1164
1164
  width: t.width,
@@ -1168,8 +1168,8 @@ const Re = {
1168
1168
  t.fixed && t.closeOnBackdrop && d(te);
1169
1169
  }
1170
1170
  function y() {
1171
- return i.value ? Array.from(i.value.querySelectorAll('a[href], button:not([disabled]), textarea:not([disabled]), input:not([disabled]), select:not([disabled]), [tabindex]:not([tabindex="-1"])')).filter(
1172
- ($) => $.offsetParent !== null
1171
+ return n.value ? Array.from(n.value.querySelectorAll('a[href], button:not([disabled]), textarea:not([disabled]), input:not([disabled]), select:not([disabled]), [tabindex]:not([tabindex="-1"])')).filter(
1172
+ (S) => S.offsetParent !== null
1173
1173
  ) : [];
1174
1174
  }
1175
1175
  function u(v) {
@@ -1179,90 +1179,90 @@ const Re = {
1179
1179
  return;
1180
1180
  }
1181
1181
  if (v.key !== "Tab") return;
1182
- const $ = y();
1183
- if ($.length === 0) {
1184
- v.preventDefault(), (k = i.value) == null || k.focus();
1182
+ const S = y();
1183
+ if (S.length === 0) {
1184
+ v.preventDefault(), (k = n.value) == null || k.focus();
1185
1185
  return;
1186
1186
  }
1187
- const _ = $[0], I = $[$.length - 1];
1188
- v.shiftKey && document.activeElement === _ ? (v.preventDefault(), I.focus()) : !v.shiftKey && document.activeElement === I && (v.preventDefault(), _.focus());
1187
+ const _ = S[0], R = S[S.length - 1];
1188
+ v.shiftKey && document.activeElement === _ ? (v.preventDefault(), R.focus()) : !v.shiftKey && document.activeElement === R && (v.preventDefault(), _.focus());
1189
1189
  }
1190
1190
  function p() {
1191
1191
  o = document.activeElement, document.addEventListener("keydown", u), document.body.style.overflow = "hidden", ue(() => {
1192
- var v, $;
1193
- return ($ = (v = y()[0]) != null ? v : i.value) == null ? void 0 : $.focus();
1192
+ var v, S;
1193
+ return (S = (v = y()[0]) != null ? v : n.value) == null ? void 0 : S.focus();
1194
1194
  });
1195
1195
  }
1196
1196
  function r(v = !0) {
1197
- var $;
1198
- document.removeEventListener("keydown", u), document.body.style.overflow = "", v && (($ = o == null ? void 0 : o.focus) == null || $.call(o));
1197
+ var S;
1198
+ document.removeEventListener("keydown", u), document.body.style.overflow = "", v && ((S = o == null ? void 0 : o.focus) == null || S.call(o));
1199
1199
  }
1200
1200
  return J(
1201
1201
  () => t.open && t.fixed,
1202
- (v, $) => {
1203
- typeof document != "undefined" && (v ? p() : $ && r());
1202
+ (v, S) => {
1203
+ typeof document != "undefined" && (v ? p() : S && r());
1204
1204
  },
1205
1205
  { immediate: !0 }
1206
1206
  ), re(() => {
1207
1207
  typeof document != "undefined" && r(!1);
1208
- }), (v, $) => (a(), Q(xe, {
1208
+ }), (v, S) => (a(), Q(xe, {
1209
1209
  to: "body",
1210
1210
  disabled: !e.fixed
1211
1211
  }, [
1212
- z(ke, { name: "ds-modal" }, {
1213
- default: P(() => [
1212
+ U(ke, { name: "ds-modal" }, {
1213
+ default: z(() => [
1214
1214
  e.open ? (a(), l("div", {
1215
1215
  key: 0,
1216
1216
  class: C(["ds-modal", { "is-fixed": e.fixed }]),
1217
- style: W(e.fixed ? { paddingTop: e.top } : void 0),
1217
+ style: G(e.fixed ? { paddingTop: e.top } : void 0),
1218
1218
  onClick: b
1219
1219
  }, [
1220
- n("div", {
1220
+ i("div", {
1221
1221
  ref_key: "dialogRef",
1222
- ref: i,
1222
+ ref: n,
1223
1223
  class: C(["ds-modal__dialog", { "is-center": e.center }]),
1224
1224
  role: "dialog",
1225
1225
  "aria-modal": e.fixed ? "true" : "false",
1226
- "aria-labelledby": e.title ? S(m) : void 0,
1226
+ "aria-labelledby": e.title ? $(m) : void 0,
1227
1227
  "aria-label": e.title ? void 0 : "dialog",
1228
1228
  tabindex: "-1",
1229
- style: W(c.value),
1230
- onClick: $[1] || ($[1] = pe(() => {
1229
+ style: G(c.value),
1230
+ onClick: S[1] || (S[1] = pe(() => {
1231
1231
  }, ["stop"]))
1232
1232
  }, [
1233
1233
  e.title || e.showClose ? (a(), l("div", sl, [
1234
- n("span", {
1235
- id: S(m),
1234
+ i("span", {
1235
+ id: $(m),
1236
1236
  class: "ds-modal__title"
1237
1237
  }, f(e.title), 9, ol),
1238
- e.showClose ? (a(), Q(S(ae), {
1238
+ e.showClose ? (a(), Q($(ae), {
1239
1239
  key: 0,
1240
1240
  variant: "tertiary",
1241
1241
  circle: "",
1242
1242
  "left-icon": "close",
1243
1243
  "aria-label": e.closeLabel || void 0,
1244
- onClick: $[0] || ($[0] = (_) => d(S(te)))
1244
+ onClick: S[0] || (S[0] = (_) => d($(te)))
1245
1245
  }, null, 8, ["aria-label"])) : h("", !0)
1246
1246
  ])) : h("", !0),
1247
- n("div", dl, [
1248
- N(v.$slots, "default", {}, void 0, !0)
1247
+ i("div", dl, [
1248
+ O(v.$slots, "default", {}, void 0, !0)
1249
1249
  ]),
1250
1250
  v.$slots.footer ? (a(), l("div", rl, [
1251
- N(v.$slots, "footer", {}, void 0, !0)
1251
+ O(v.$slots, "footer", {}, void 0, !0)
1252
1252
  ])) : h("", !0)
1253
- ], 14, nl)
1253
+ ], 14, il)
1254
1254
  ], 6)) : h("", !0)
1255
1255
  ]),
1256
1256
  _: 3
1257
1257
  })
1258
1258
  ], 8, ["disabled"]));
1259
1259
  }
1260
- }), Ks = /* @__PURE__ */ x(cl, [["__scopeId", "data-v-a759ae72"]]), ul = "--ds-overlay-shift", Ie = 8;
1261
- function Tt(e, s) {
1260
+ }), Ks = /* @__PURE__ */ M(cl, [["__scopeId", "data-v-a759ae72"]]), ul = "--ds-overlay-shift", Ie = 8;
1261
+ function wt(e, s) {
1262
1262
  const t = V(0), d = g(
1263
1263
  () => t.value ? { [ul]: `${Math.round(t.value)}px` } : null
1264
1264
  );
1265
- async function i() {
1265
+ async function n() {
1266
1266
  if (typeof window == "undefined") return;
1267
1267
  t.value = 0, await ue();
1268
1268
  const c = e.value;
@@ -1271,19 +1271,19 @@ function Tt(e, s) {
1271
1271
  p < Ie ? t.value = Ie - p : r > v - Ie && (t.value = v - Ie - r);
1272
1272
  }
1273
1273
  function o() {
1274
- typeof window != "undefined" && (window.addEventListener("resize", i), window.addEventListener("scroll", i, { capture: !0, passive: !0 }), i());
1274
+ typeof window != "undefined" && (window.addEventListener("resize", n), window.addEventListener("scroll", n, { capture: !0, passive: !0 }), n());
1275
1275
  }
1276
1276
  function m() {
1277
- typeof window != "undefined" && (window.removeEventListener("resize", i), window.removeEventListener("scroll", i, { capture: !0 }), t.value = 0);
1277
+ typeof window != "undefined" && (window.removeEventListener("resize", n), window.removeEventListener("scroll", n, { capture: !0 }), t.value = 0);
1278
1278
  }
1279
- return { shift: t, shiftStyle: d, measure: i, activate: o, deactivate: m };
1279
+ return { shift: t, shiftStyle: d, measure: n, activate: o, deactivate: m };
1280
1280
  }
1281
1281
  const Xe = {
1282
1282
  TOP: "top",
1283
1283
  BOTTOM: "bottom",
1284
1284
  LEFT: "left",
1285
1285
  RIGHT: "right"
1286
- }, fl = ["id"], vl = /* @__PURE__ */ O({
1286
+ }, fl = ["id"], vl = /* @__PURE__ */ x({
1287
1287
  __name: "DsTooltip",
1288
1288
  props: {
1289
1289
  // Bubble text. Rich content can be provided via the #content slot instead.
@@ -1303,76 +1303,76 @@ const Xe = {
1303
1303
  disabled: { type: Boolean, default: !1 }
1304
1304
  },
1305
1305
  setup(e) {
1306
- const s = e, t = we(), d = $e(), i = V(!1), o = V(null), {
1306
+ const s = e, t = Te(), d = $e(), n = V(!1), o = V(null), {
1307
1307
  shiftStyle: m,
1308
1308
  activate: c,
1309
1309
  deactivate: b
1310
- } = Tt(o, () => s.placement);
1311
- J(i, (q) => {
1312
- q ? c() : b();
1310
+ } = wt(o, () => s.placement);
1311
+ J(n, (A) => {
1312
+ A ? c() : b();
1313
1313
  });
1314
1314
  const y = g(() => !s.disabled && (s.content.length > 0 || !!t.content));
1315
1315
  J(
1316
1316
  () => s.disabled,
1317
- (q) => {
1318
- q && G();
1317
+ (A) => {
1318
+ A && K();
1319
1319
  }
1320
1320
  );
1321
- let u = !1, p = !1, r = null, v = null, $ = null;
1321
+ let u = !1, p = !1, r = null, v = null, S = null;
1322
1322
  function _() {
1323
1323
  r !== null && (clearTimeout(r), r = null);
1324
1324
  }
1325
- function I(q) {
1326
- q && (v && v !== q && k(), v !== q && (v = q, $ = q.getAttribute("aria-describedby"), q.setAttribute(
1325
+ function R(A) {
1326
+ A && (v && v !== A && k(), v !== A && (v = A, S = A.getAttribute("aria-describedby"), A.setAttribute(
1327
1327
  "aria-describedby",
1328
- $ ? `${$} ${d}` : d
1328
+ S ? `${S} ${d}` : d
1329
1329
  )));
1330
1330
  }
1331
1331
  function k() {
1332
- v && ($ !== null ? v.setAttribute("aria-describedby", $) : v.removeAttribute("aria-describedby"), v = null, $ = null);
1332
+ v && (S !== null ? v.setAttribute("aria-describedby", S) : v.removeAttribute("aria-describedby"), v = null, S = null);
1333
1333
  }
1334
- function D() {
1334
+ function T() {
1335
1335
  y.value && (u = !0, _(), r = setTimeout(() => {
1336
- i.value = !0;
1336
+ n.value = !0;
1337
1337
  }, s.delay));
1338
1338
  }
1339
1339
  function L() {
1340
- u = !1, _(), p || G();
1340
+ u = !1, _(), p || K();
1341
1341
  }
1342
- function A(q) {
1343
- y.value && (p = !0, _(), i.value = !0, I(q.target));
1342
+ function B(A) {
1343
+ y.value && (p = !0, _(), n.value = !0, R(A.target));
1344
1344
  }
1345
- function B(q) {
1346
- const Z = q.relatedTarget, E = q.currentTarget;
1347
- Z && (E != null && E.contains(Z)) || (p = !1, u || G());
1345
+ function j(A) {
1346
+ const Y = A.relatedTarget, E = A.currentTarget;
1347
+ Y && (E != null && E.contains(Y)) || (p = !1, u || K());
1348
1348
  }
1349
- function G() {
1350
- _(), i.value = !1, k();
1349
+ function K() {
1350
+ _(), n.value = !1, k();
1351
1351
  }
1352
1352
  return re(() => {
1353
1353
  _(), k(), b();
1354
- }), (q, Z) => (a(), l("div", {
1354
+ }), (A, Y) => (a(), l("div", {
1355
1355
  class: C(["ds-tooltip", { "ds-tooltip--block": e.block }]),
1356
- onMouseenter: D,
1356
+ onMouseenter: T,
1357
1357
  onMouseleave: L,
1358
- onFocusin: A,
1359
- onFocusout: B,
1360
- onKeydown: We(G, ["esc"])
1358
+ onFocusin: B,
1359
+ onFocusout: j,
1360
+ onKeydown: We(K, ["esc"])
1361
1361
  }, [
1362
- N(q.$slots, "default", {}, void 0, !0),
1363
- z(ke, { name: "ds-tooltip-fade" }, {
1364
- default: P(() => [
1365
- i.value ? (a(), l("div", {
1362
+ O(A.$slots, "default", {}, void 0, !0),
1363
+ U(ke, { name: "ds-tooltip-fade" }, {
1364
+ default: z(() => [
1365
+ n.value ? (a(), l("div", {
1366
1366
  key: 0,
1367
- id: S(d),
1367
+ id: $(d),
1368
1368
  ref_key: "bubbleRef",
1369
1369
  ref: o,
1370
1370
  class: C(["ds-tooltip__bubble", `ds-tooltip__bubble--${e.placement}`]),
1371
1371
  role: "tooltip",
1372
- style: W(S(m))
1372
+ style: G($(m))
1373
1373
  }, [
1374
- N(q.$slots, "content", {}, () => [
1375
- j(f(e.content), 1)
1374
+ O(A.$slots, "content", {}, () => [
1375
+ Z(f(e.content), 1)
1376
1376
  ], !0)
1377
1377
  ], 14, fl)) : h("", !0)
1378
1378
  ]),
@@ -1380,11 +1380,11 @@ const Xe = {
1380
1380
  })
1381
1381
  ], 34));
1382
1382
  }
1383
- }), Pe = /* @__PURE__ */ x(vl, [["__scopeId", "data-v-ca1ba028"]]), He = {
1383
+ }), Pe = /* @__PURE__ */ M(vl, [["__scopeId", "data-v-ca1ba028"]]), He = {
1384
1384
  VERIFIED: "verified",
1385
1385
  UNVERIFIED: "unverified",
1386
1386
  NEW: "new"
1387
- }, bl = ["aria-label", "title"], yl = /* @__PURE__ */ O({
1387
+ }, bl = ["aria-label", "title"], yl = /* @__PURE__ */ x({
1388
1388
  __name: "DsVerificationIcon",
1389
1389
  props: {
1390
1390
  // true = verified · false = not verified · null/undefined = newly found.
@@ -1422,25 +1422,25 @@ const Xe = {
1422
1422
  icon: s.isContactData ? "dangerous" : "error",
1423
1423
  label: "Not verified"
1424
1424
  });
1425
- return (d, i) => (a(), l("i", {
1425
+ return (d, n) => (a(), l("i", {
1426
1426
  class: C(["material-symbols-filled ds-verification-icon", [
1427
1427
  `ds-verification-icon--${t.value.state}`,
1428
1428
  { "ds-verification-icon--email": e.isContactData }
1429
1429
  ]]),
1430
- style: W({ fontSize: `${e.size}px` }),
1430
+ style: G({ fontSize: `${e.size}px` }),
1431
1431
  role: "img",
1432
1432
  "aria-label": e.label || t.value.label,
1433
1433
  title: e.label || t.value.label
1434
1434
  }, [
1435
- N(d.$slots, "default", {}, () => [
1436
- j(f(t.value.icon), 1)
1435
+ O(d.$slots, "default", {}, () => [
1436
+ Z(f(t.value.icon), 1)
1437
1437
  ], !0)
1438
1438
  ], 14, bl));
1439
1439
  }
1440
- }), ml = /* @__PURE__ */ x(yl, [["__scopeId", "data-v-c84b2196"]]), gl = ["title"], hl = { class: "ds-contact-value__marquee" }, pl = { class: "ds-contact-value__actions" }, kl = ["role", "aria-label", "aria-hidden"], Sl = ["aria-label", "title"], $l = {
1440
+ }), ml = /* @__PURE__ */ M(yl, [["__scopeId", "data-v-c84b2196"]]), gl = ["title"], hl = { class: "ds-contact-value__marquee" }, pl = { class: "ds-contact-value__actions" }, kl = ["role", "aria-label", "aria-hidden"], Sl = ["aria-label", "title"], $l = {
1441
1441
  class: "material-symbols-filled",
1442
1442
  "aria-hidden": "true"
1443
- }, _l = ["aria-label", "aria-pressed", "title"], Ll = ["aria-label", "aria-pressed", "title"], El = /* @__PURE__ */ O({
1443
+ }, _l = ["aria-label", "aria-pressed", "title"], Ll = ["aria-label", "aria-pressed", "title"], El = /* @__PURE__ */ x({
1444
1444
  __name: "DsContactValue",
1445
1445
  props: {
1446
1446
  value: { type: String, required: !0 },
@@ -1462,12 +1462,12 @@ const Xe = {
1462
1462
  },
1463
1463
  emits: [be, ye, me],
1464
1464
  setup(e, { emit: s }) {
1465
- const t = e, d = s, i = V(!1);
1465
+ const t = e, d = s, n = V(!1);
1466
1466
  let o;
1467
1467
  function m() {
1468
1468
  typeof navigator != "undefined" && navigator.clipboard && navigator.clipboard.writeText(t.value).catch(() => {
1469
- }), i.value = !0, clearTimeout(o), o = setTimeout(() => {
1470
- i.value = !1;
1469
+ }), n.value = !0, clearTimeout(o), o = setTimeout(() => {
1470
+ n.value = !1;
1471
1471
  }, 1200), d(be, t.value);
1472
1472
  }
1473
1473
  function c() {
@@ -1479,45 +1479,45 @@ const Xe = {
1479
1479
  return re(() => clearTimeout(o)), (y, u) => (a(), l("div", {
1480
1480
  class: C(["ds-contact-value", { "ds-contact-value--main": e.main }])
1481
1481
  }, [
1482
- z(S(ml), {
1482
+ U($(ml), {
1483
1483
  verified: e.verified,
1484
1484
  "is-contact-data": e.isContactData
1485
1485
  }, null, 8, ["verified", "is-contact-data"]),
1486
- n("span", {
1486
+ i("span", {
1487
1487
  class: "ds-contact-value__value",
1488
1488
  title: e.value
1489
1489
  }, f(e.value), 9, gl),
1490
- n("span", hl, [
1491
- e.valueType ? (a(), Q(S(na), {
1490
+ i("span", hl, [
1491
+ e.valueType ? (a(), Q($(ia), {
1492
1492
  key: 0,
1493
1493
  class: "ds-contact-value__badge",
1494
- tone: e.main ? S(Ke).ACCENT : S(Ke).GREY,
1494
+ tone: e.main ? $(Ke).ACCENT : $(Ke).GREY,
1495
1495
  title: e.valueType
1496
1496
  }, {
1497
- default: P(() => [
1498
- j(f(e.valueType), 1)
1497
+ default: z(() => [
1498
+ Z(f(e.valueType), 1)
1499
1499
  ]),
1500
1500
  _: 1
1501
1501
  }, 8, ["tone", "title"])) : h("", !0),
1502
- n("span", pl, [
1502
+ i("span", pl, [
1503
1503
  e.hideValue ? (a(), l("i", {
1504
1504
  key: 0,
1505
1505
  class: "material-symbols-filled ds-contact-value__lock",
1506
1506
  role: e.hideValueLabel ? "img" : void 0,
1507
1507
  "aria-label": e.hideValueLabel || void 0,
1508
1508
  "aria-hidden": e.hideValueLabel ? void 0 : "true"
1509
- }, "lock", 8, kl)) : (a(), l(F, { key: 1 }, [
1510
- n("button", {
1509
+ }, "lock", 8, kl)) : (a(), l(q, { key: 1 }, [
1510
+ i("button", {
1511
1511
  type: "button",
1512
- class: C(["ds-contact-value__action", { "is-copied": i.value }]),
1513
- "aria-label": i.value ? e.copiedLabel : e.copyLabel,
1514
- title: i.value ? e.copiedLabel : e.copyLabel,
1512
+ class: C(["ds-contact-value__action", { "is-copied": n.value }]),
1513
+ "aria-label": n.value ? e.copiedLabel : e.copyLabel,
1514
+ title: n.value ? e.copiedLabel : e.copyLabel,
1515
1515
  onClick: m
1516
1516
  }, [
1517
- n("i", $l, f(i.value ? "check" : "content_copy"), 1)
1517
+ i("i", $l, f(n.value ? "check" : "content_copy"), 1)
1518
1518
  ], 10, Sl),
1519
- e.showRate ? (a(), l(F, { key: 0 }, [
1520
- n("button", {
1519
+ e.showRate ? (a(), l(q, { key: 0 }, [
1520
+ i("button", {
1521
1521
  type: "button",
1522
1522
  class: "ds-contact-value__action",
1523
1523
  "aria-label": e.correctLabel,
@@ -1525,12 +1525,12 @@ const Xe = {
1525
1525
  title: e.correctLabel,
1526
1526
  onClick: c
1527
1527
  }, [
1528
- n("i", {
1528
+ i("i", {
1529
1529
  class: C(e.correct === !0 ? "material-symbols-filled" : "material-symbols-rounded"),
1530
1530
  "aria-hidden": "true"
1531
1531
  }, "thumb_up", 2)
1532
1532
  ], 8, _l),
1533
- n("button", {
1533
+ i("button", {
1534
1534
  type: "button",
1535
1535
  class: "ds-contact-value__action",
1536
1536
  "aria-label": e.incorrectLabel,
@@ -1538,7 +1538,7 @@ const Xe = {
1538
1538
  title: e.incorrectLabel,
1539
1539
  onClick: b
1540
1540
  }, [
1541
- n("i", {
1541
+ i("i", {
1542
1542
  class: C(e.correct === !1 ? "material-symbols-filled" : "material-symbols-rounded"),
1543
1543
  "aria-hidden": "true"
1544
1544
  }, "thumb_down", 2)
@@ -1549,7 +1549,7 @@ const Xe = {
1549
1549
  ])
1550
1550
  ], 2));
1551
1551
  }
1552
- }), pt = /* @__PURE__ */ x(El, [["__scopeId", "data-v-80b170cf"]]), Tl = ["aria-label", "aria-busy"], wl = { class: "ds-data-card__heading" }, Cl = {
1552
+ }), pt = /* @__PURE__ */ M(El, [["__scopeId", "data-v-80b170cf"]]), wl = ["aria-label", "aria-busy"], Tl = { class: "ds-data-card__heading" }, Cl = {
1553
1553
  class: "material-symbols-filled ds-data-card__icon",
1554
1554
  "aria-hidden": "true"
1555
1555
  }, Il = { class: "ds-data-card__title" }, Dl = ["aria-label"], Rl = {
@@ -1561,7 +1561,7 @@ const Xe = {
1561
1561
  }, Nl = {
1562
1562
  key: 1,
1563
1563
  class: "ds-data-card__locked"
1564
- }, Bl = { class: "ds-data-card__state-text" }, Ol = { class: "ds-data-card__state-title" }, xl = {
1564
+ }, Ol = { class: "ds-data-card__state-text" }, Bl = { class: "ds-data-card__state-title" }, xl = {
1565
1565
  key: 2,
1566
1566
  class: "ds-data-card__empty"
1567
1567
  }, Ml = { class: "ds-data-card__state-badge" }, Pl = {
@@ -1576,7 +1576,7 @@ const Xe = {
1576
1576
  }, Gl = { key: 1 }, Hl = {
1577
1577
  key: 0,
1578
1578
  class: "ds-data-card__section"
1579
- }, Wl = { class: "ds-data-card__more" }, Kl = /* @__PURE__ */ O({
1579
+ }, Wl = { class: "ds-data-card__more" }, Kl = /* @__PURE__ */ x({
1580
1580
  __name: "DsDataCard",
1581
1581
  props: {
1582
1582
  title: { type: String, required: !0 },
@@ -1616,44 +1616,44 @@ const Xe = {
1616
1616
  toggleLabel: { type: String, default: "Toggle" },
1617
1617
  closeLabel: { type: String, default: "Close" }
1618
1618
  },
1619
- emits: [be, lt, it, te, ye, me],
1619
+ emits: [be, lt, nt, te, ye, me],
1620
1620
  setup(e, { emit: s }) {
1621
- const t = e, d = s, i = V(!1), o = g(() => t.more.length + (t.mostLikely ? 1 : 0)), m = g(() => o.value > 3), c = g(() => o.value === 0), b = g(() => t.collapsible && i.value);
1621
+ const t = e, d = s, n = V(!1), o = g(() => t.more.length + (t.mostLikely ? 1 : 0)), m = g(() => o.value > 3), c = g(() => o.value === 0), b = g(() => t.collapsible && n.value);
1622
1622
  function y() {
1623
- i.value = !i.value;
1623
+ n.value = !n.value;
1624
1624
  }
1625
- function u(I) {
1626
- d(be, I);
1625
+ function u(R) {
1626
+ d(be, R);
1627
1627
  }
1628
1628
  function p() {
1629
1629
  d(lt);
1630
1630
  }
1631
1631
  function r() {
1632
- d(it);
1632
+ d(nt);
1633
1633
  }
1634
1634
  function v() {
1635
1635
  d(te);
1636
1636
  }
1637
- function $(I) {
1638
- d(ye, I);
1637
+ function S(R) {
1638
+ d(ye, R);
1639
1639
  }
1640
- function _(I) {
1641
- d(me, I);
1640
+ function _(R) {
1641
+ d(me, R);
1642
1642
  }
1643
- return (I, k) => (a(), l("section", {
1643
+ return (R, k) => (a(), l("section", {
1644
1644
  class: "ds-data-card",
1645
1645
  "aria-label": e.title,
1646
1646
  "aria-busy": e.loading ? "true" : void 0
1647
1647
  }, [
1648
- n("div", {
1648
+ i("div", {
1649
1649
  class: C(["ds-data-card__header", { "is-collapsed": b.value, "is-collapsible": e.collapsible }]),
1650
- onClick: k[1] || (k[1] = (D) => e.collapsible && y())
1650
+ onClick: k[1] || (k[1] = (T) => e.collapsible && y())
1651
1651
  }, [
1652
- n("div", wl, [
1653
- n("i", Cl, f(e.icon), 1),
1654
- n("span", Il, f(e.title), 1)
1652
+ i("div", Tl, [
1653
+ i("i", Cl, f(e.icon), 1),
1654
+ i("span", Il, f(e.title), 1)
1655
1655
  ]),
1656
- n("div", {
1656
+ i("div", {
1657
1657
  class: "ds-data-card__actions",
1658
1658
  onClick: k[0] || (k[0] = pe(() => {
1659
1659
  }, ["stop"]))
@@ -1664,7 +1664,7 @@ const Xe = {
1664
1664
  class: "ds-data-card__edit",
1665
1665
  onClick: r
1666
1666
  }, f(e.editLabel), 1)) : h("", !0),
1667
- !b.value && e.showSort ? (a(), Q(S(ae), {
1667
+ !b.value && e.showSort ? (a(), Q($(ae), {
1668
1668
  key: 1,
1669
1669
  variant: "tertiary",
1670
1670
  size: "medium",
@@ -1673,12 +1673,12 @@ const Xe = {
1673
1673
  "aria-label": e.sortLabel,
1674
1674
  onClick: p
1675
1675
  }, null, 8, ["aria-label"])) : h("", !0),
1676
- e.collapsible ? (a(), Q(S(ae), {
1676
+ e.collapsible ? (a(), Q($(ae), {
1677
1677
  key: 2,
1678
1678
  variant: "tertiary",
1679
1679
  size: "medium",
1680
1680
  circle: "",
1681
- "left-icon": i.value ? "keyboard_arrow_down" : "keyboard_arrow_up",
1681
+ "left-icon": n.value ? "keyboard_arrow_down" : "keyboard_arrow_up",
1682
1682
  "aria-label": e.toggleLabel,
1683
1683
  onClick: y
1684
1684
  }, null, 8, ["left-icon", "aria-label"])) : h("", !0),
@@ -1689,7 +1689,7 @@ const Xe = {
1689
1689
  "aria-label": e.closeLabel,
1690
1690
  onClick: v
1691
1691
  }, [...k[4] || (k[4] = [
1692
- n("i", {
1692
+ i("i", {
1693
1693
  class: "material-symbols-filled",
1694
1694
  "aria-hidden": "true"
1695
1695
  }, "close", -1)
@@ -1698,35 +1698,35 @@ const Xe = {
1698
1698
  ], 2),
1699
1699
  b.value ? h("", !0) : (a(), l("div", Rl, [
1700
1700
  e.loading ? (a(), l("div", Al, [
1701
- N(I.$slots, "loading", {}, () => [
1702
- z(S(Le), {
1701
+ O(R.$slots, "loading", {}, () => [
1702
+ U($(Le), {
1703
1703
  label: e.loadingLabel || void 0
1704
1704
  }, null, 8, ["label"])
1705
1705
  ], !0)
1706
1706
  ])) : e.locked ? (a(), l("div", Nl, [
1707
- N(I.$slots, "locked", {}, () => [
1708
- k[5] || (k[5] = n("span", { class: "ds-data-card__state-badge ds-data-card__state-badge--accent" }, [
1709
- n("i", {
1707
+ O(R.$slots, "locked", {}, () => [
1708
+ k[5] || (k[5] = i("span", { class: "ds-data-card__state-badge ds-data-card__state-badge--accent" }, [
1709
+ i("i", {
1710
1710
  class: "material-symbols-filled ds-data-card__state-icon",
1711
1711
  "aria-hidden": "true"
1712
1712
  }, "lock")
1713
1713
  ], -1)),
1714
- n("div", Bl, [
1715
- n("span", Ol, f(e.lockedLabel), 1)
1714
+ i("div", Ol, [
1715
+ i("span", Bl, f(e.lockedLabel), 1)
1716
1716
  ])
1717
1717
  ], !0)
1718
1718
  ])) : c.value ? (a(), l("div", xl, [
1719
- n("span", Ml, [
1720
- n("i", Pl, f(e.icon), 1)
1719
+ i("span", Ml, [
1720
+ i("i", Pl, f(e.icon), 1)
1721
1721
  ]),
1722
- n("div", zl, [
1723
- n("span", Ul, f(e.emptyLabel), 1),
1722
+ i("div", zl, [
1723
+ i("span", Ul, f(e.emptyLabel), 1),
1724
1724
  e.emptySubtitle ? (a(), l("span", Vl, f(e.emptySubtitle), 1)) : h("", !0)
1725
1725
  ])
1726
- ])) : (a(), l(F, { key: 3 }, [
1726
+ ])) : (a(), l(q, { key: 3 }, [
1727
1727
  e.mostLikely ? (a(), l("div", ql, [
1728
1728
  m.value ? (a(), l("div", Fl, f(e.mostLikelyLabel), 1)) : h("", !0),
1729
- z(S(pt), {
1729
+ U($(pt), {
1730
1730
  value: e.mostLikely.value,
1731
1731
  "value-type": e.mostLikely.type,
1732
1732
  verified: e.mostLikely.verified,
@@ -1736,36 +1736,36 @@ const Xe = {
1736
1736
  "is-contact-data": e.isContactData,
1737
1737
  "show-rate": e.showRate,
1738
1738
  onCopy: u,
1739
- onCorrect: k[2] || (k[2] = (D) => $(e.mostLikely)),
1740
- onIncorrect: k[3] || (k[3] = (D) => _(e.mostLikely))
1739
+ onCorrect: k[2] || (k[2] = (T) => S(e.mostLikely)),
1740
+ onIncorrect: k[3] || (k[3] = (T) => _(e.mostLikely))
1741
1741
  }, null, 8, ["value", "value-type", "verified", "correct", "hide-value", "is-contact-data", "show-rate"])
1742
1742
  ])) : h("", !0),
1743
1743
  e.more.length > 0 ? (a(), l("div", Gl, [
1744
1744
  m.value ? (a(), l("div", Hl, f(e.moreLabel), 1)) : h("", !0),
1745
- n("div", Wl, [
1746
- (a(!0), l(F, null, X(e.more, (D) => (a(), Q(S(pt), {
1747
- key: D.value,
1748
- value: D.value,
1749
- "value-type": D.type,
1750
- verified: D.verified,
1751
- correct: D.correct,
1752
- "hide-value": D.hideValue,
1745
+ i("div", Wl, [
1746
+ (a(!0), l(q, null, X(e.more, (T) => (a(), Q($(pt), {
1747
+ key: T.value,
1748
+ value: T.value,
1749
+ "value-type": T.type,
1750
+ verified: T.verified,
1751
+ correct: T.correct,
1752
+ "hide-value": T.hideValue,
1753
1753
  "is-contact-data": e.isContactData,
1754
1754
  "show-rate": e.showRate,
1755
1755
  onCopy: u,
1756
- onCorrect: (L) => $(D),
1757
- onIncorrect: (L) => _(D)
1756
+ onCorrect: (L) => S(T),
1757
+ onIncorrect: (L) => _(T)
1758
1758
  }, null, 8, ["value", "value-type", "verified", "correct", "hide-value", "is-contact-data", "show-rate", "onCorrect", "onIncorrect"]))), 128))
1759
1759
  ])
1760
1760
  ])) : h("", !0)
1761
1761
  ], 64))
1762
1762
  ]))
1763
- ], 8, Tl));
1763
+ ], 8, wl));
1764
1764
  }
1765
- }), Ys = /* @__PURE__ */ x(Kl, [["__scopeId", "data-v-e4f6e090"]]), Yl = ["name", "value", "checked", "disabled"], jl = {
1765
+ }), Ys = /* @__PURE__ */ M(Kl, [["__scopeId", "data-v-e4f6e090"]]), Yl = ["name", "value", "checked", "disabled"], jl = {
1766
1766
  key: 0,
1767
1767
  class: "ds-radio__label"
1768
- }, Zl = /* @__PURE__ */ O({
1768
+ }, Zl = /* @__PURE__ */ x({
1769
1769
  __name: "DsRadio",
1770
1770
  props: /* @__PURE__ */ se({
1771
1771
  disabled: Boolean,
@@ -1783,10 +1783,10 @@ const Xe = {
1783
1783
  function d() {
1784
1784
  t.disabled || (s.value = !0);
1785
1785
  }
1786
- return (i, o) => (a(), l("label", {
1786
+ return (n, o) => (a(), l("label", {
1787
1787
  class: C(["ds-radio", { "is-disabled": e.disabled }])
1788
1788
  }, [
1789
- n("input", {
1789
+ i("input", {
1790
1790
  type: "radio",
1791
1791
  class: "ds-radio__native",
1792
1792
  name: e.name || void 0,
@@ -1795,21 +1795,21 @@ const Xe = {
1795
1795
  disabled: e.disabled,
1796
1796
  onChange: d
1797
1797
  }, null, 40, Yl),
1798
- n("span", {
1798
+ i("span", {
1799
1799
  class: C(["ds-radio__dot", { "is-active": s.value }]),
1800
1800
  "aria-hidden": "true"
1801
1801
  }, null, 2),
1802
- i.$slots.default || e.label ? (a(), l("span", jl, [
1803
- N(i.$slots, "default", {}, () => [
1804
- j(f(e.label), 1)
1802
+ n.$slots.default || e.label ? (a(), l("span", jl, [
1803
+ O(n.$slots, "default", {}, () => [
1804
+ Z(f(e.label), 1)
1805
1805
  ], !0)
1806
1806
  ])) : h("", !0)
1807
1807
  ], 2));
1808
1808
  }
1809
- }), wt = /* @__PURE__ */ x(Zl, [["__scopeId", "data-v-96b70404"]]), Xl = ["aria-checked", "aria-busy", "aria-disabled", "aria-label", "disabled"], Ql = {
1809
+ }), Tt = /* @__PURE__ */ M(Zl, [["__scopeId", "data-v-96b70404"]]), Xl = ["aria-checked", "aria-busy", "aria-disabled", "aria-label", "disabled"], Ql = {
1810
1810
  class: "ds-switch__thumb",
1811
1811
  "aria-hidden": "true"
1812
- }, Jl = /* @__PURE__ */ O({
1812
+ }, Jl = /* @__PURE__ */ x({
1813
1813
  __name: "DsSwitch",
1814
1814
  props: /* @__PURE__ */ se({
1815
1815
  disabled: Boolean,
@@ -1831,7 +1831,7 @@ const Xe = {
1831
1831
  function d() {
1832
1832
  t.disabled || t.loading || (s.value = !s.value);
1833
1833
  }
1834
- return (i, o) => (a(), l("button", {
1834
+ return (n, o) => (a(), l("button", {
1835
1835
  type: "button",
1836
1836
  role: "switch",
1837
1837
  class: C(["ds-switch", { "is-disabled": e.disabled, "is-loading": e.loading }]),
@@ -1842,18 +1842,18 @@ const Xe = {
1842
1842
  disabled: e.disabled || e.loading,
1843
1843
  onClick: d
1844
1844
  }, [
1845
- n("span", Ql, [
1846
- e.loading ? (a(), Q(S(Le), {
1845
+ i("span", Ql, [
1846
+ e.loading ? (a(), Q($(Le), {
1847
1847
  key: 0,
1848
1848
  class: "ds-switch__spinner",
1849
1849
  size: 12,
1850
- tone: S(Re).DARK,
1850
+ tone: $(Re).DARK,
1851
1851
  label: ""
1852
1852
  }, null, 8, ["tone"])) : h("", !0)
1853
1853
  ])
1854
1854
  ], 10, Xl));
1855
1855
  }
1856
- }), js = /* @__PURE__ */ x(Jl, [["__scopeId", "data-v-f8073b3b"]]), ei = ["aria-label", "disabled"], ti = { class: "ds-item-selector-button__label" }, ai = /* @__PURE__ */ O({
1856
+ }), js = /* @__PURE__ */ M(Jl, [["__scopeId", "data-v-f8073b3b"]]), en = ["aria-label", "disabled"], tn = { class: "ds-item-selector-button__label" }, an = /* @__PURE__ */ x({
1857
1857
  __name: "DsItemSelectorButton",
1858
1858
  props: {
1859
1859
  item: { type: Object, default: null },
@@ -1868,7 +1868,7 @@ const Xe = {
1868
1868
  emits: [le],
1869
1869
  setup(e, { emit: s }) {
1870
1870
  const t = e, d = s;
1871
- function i(o) {
1871
+ function n(o) {
1872
1872
  t.disabled || d(le, o);
1873
1873
  }
1874
1874
  return (o, m) => {
@@ -1879,19 +1879,19 @@ const Xe = {
1879
1879
  "aria-haspopup": "listbox",
1880
1880
  "aria-label": e.ariaLabel || void 0,
1881
1881
  disabled: e.disabled,
1882
- onClick: i
1882
+ onClick: n
1883
1883
  }, [
1884
- n("span", ti, f(e.item ? e.item.name : e.emptyTitle), 1),
1884
+ i("span", tn, f(e.item ? e.item.name : e.emptyTitle), 1),
1885
1885
  e.icon ? (a(), l("i", {
1886
1886
  key: 0,
1887
1887
  class: C(["ds-item-selector-button__icon", e.item ? "material-symbols-filled" : "material-symbols-rounded"]),
1888
- style: W((c = e.item) != null && c.color ? { color: e.item.color } : void 0),
1888
+ style: G((c = e.item) != null && c.color ? { color: e.item.color } : void 0),
1889
1889
  "aria-hidden": "true"
1890
1890
  }, f(e.icon), 7)) : h("", !0)
1891
- ], 10, ei);
1891
+ ], 10, en);
1892
1892
  };
1893
1893
  }
1894
- }), Zs = /* @__PURE__ */ x(ai, [["__scopeId", "data-v-81a7f24f"]]), kt = {
1894
+ }), Zs = /* @__PURE__ */ M(an, [["__scopeId", "data-v-81a7f24f"]]), kt = {
1895
1895
  DEFAULT: "default",
1896
1896
  FILTER_SUMMARY: "filterSummary"
1897
1897
  }, St = {
@@ -1905,28 +1905,28 @@ const Xe = {
1905
1905
  // 280px
1906
1906
  FULL: "full"
1907
1907
  // 100% of the container
1908
- }, li = ["disabled", "aria-expanded", "aria-controls", "aria-activedescendant"], ii = ["title"], ni = ["disabled", "aria-label"], si = {
1908
+ }, ln = ["disabled", "aria-expanded", "aria-controls", "aria-activedescendant"], nn = ["title"], sn = ["disabled", "aria-label"], on = {
1909
1909
  key: 1,
1910
1910
  class: "material-symbols-filled ds-select__chevron",
1911
1911
  "aria-hidden": "true"
1912
- }, oi = {
1912
+ }, dn = {
1913
1913
  key: 0,
1914
1914
  class: "ds-select__popup"
1915
- }, di = {
1915
+ }, rn = {
1916
1916
  key: 0,
1917
1917
  class: "ds-select__search"
1918
- }, ri = ["aria-activedescendant", "aria-label", "placeholder", "value"], ci = ["aria-multiselectable", "aria-busy"], ui = {
1918
+ }, cn = ["aria-activedescendant", "aria-label", "placeholder", "value"], un = ["aria-multiselectable", "aria-busy"], fn = {
1919
1919
  key: 0,
1920
1920
  class: "ds-select__loading",
1921
1921
  role: "presentation"
1922
- }, fi = ["role", "aria-labelledby"], vi = ["id"], bi = ["id", "aria-selected", "onClick", "onMouseenter"], yi = { class: "ds-select__option-label" }, mi = {
1922
+ }, vn = ["role", "aria-labelledby"], bn = ["id"], yn = ["id", "aria-selected", "onClick", "onMouseenter"], mn = { class: "ds-select__option-label" }, gn = {
1923
1923
  key: 0,
1924
1924
  class: "ds-select__option-sublabel"
1925
- }, gi = {
1925
+ }, hn = {
1926
1926
  key: 0,
1927
1927
  class: "ds-select__empty",
1928
1928
  role: "presentation"
1929
- }, hi = /* @__PURE__ */ O({
1929
+ }, pn = /* @__PURE__ */ x({
1930
1930
  __name: "DsSelect",
1931
1931
  props: /* @__PURE__ */ se({
1932
1932
  options: { type: Array, required: !0 },
@@ -1973,172 +1973,172 @@ const Xe = {
1973
1973
  }),
1974
1974
  emits: /* @__PURE__ */ se([fe], ["update:modelValue"]),
1975
1975
  setup(e, { emit: s }) {
1976
- const t = e, d = s, i = Se(e, "modelValue"), o = `ds-select-${$e()}`, m = `${o}-listbox`, c = (w) => `${o}-option-${w}`, b = V(null), y = V(null), u = V(null), p = V(!1), r = V(-1), v = V(""), $ = g(() => t.selectType === kt.FILTER_SUMMARY), _ = g(() => t.filterable && !t.remote), I = g(() => {
1976
+ const t = e, d = s, n = Se(e, "modelValue"), o = `ds-select-${$e()}`, m = `${o}-listbox`, c = (I) => `${o}-option-${I}`, b = V(null), y = V(null), u = V(null), p = V(!1), r = V(-1), v = V(""), S = g(() => t.selectType === kt.FILTER_SUMMARY), _ = g(() => t.filterable && !t.remote), R = g(() => {
1977
1977
  if (!_.value) return t.options;
1978
- const w = v.value.trim().toLowerCase();
1979
- return w ? t.options.filter(
1980
- (M) => M.label.toLowerCase().includes(w) || (M.subLabel ? M.subLabel.toLowerCase().includes(w) : !1)
1978
+ const I = v.value.trim().toLowerCase();
1979
+ return I ? t.options.filter(
1980
+ (P) => P.label.toLowerCase().includes(I) || (P.subLabel ? P.subLabel.toLowerCase().includes(I) : !1)
1981
1981
  ) : t.options;
1982
1982
  }), k = g(
1983
- () => t.loading ? [] : I.value
1984
- ), D = g(() => {
1985
- const w = [];
1986
- return k.value.forEach((M, Y) => {
1987
- const K = M.group, ee = w[w.length - 1];
1988
- K ? (ee == null ? void 0 : ee.kind) === "group" && ee.label === K ? ee.items.push({ option: M, index: Y }) : w.push({
1983
+ () => t.loading ? [] : R.value
1984
+ ), T = g(() => {
1985
+ const I = [];
1986
+ return k.value.forEach((P, W) => {
1987
+ const H = P.group, ee = I[I.length - 1];
1988
+ H ? (ee == null ? void 0 : ee.kind) === "group" && ee.label === H ? ee.items.push({ option: P, index: W }) : I.push({
1989
1989
  kind: "group",
1990
- label: K,
1991
- headerId: `${o}-group-${Y}`,
1992
- key: `g-${Y}`,
1993
- items: [{ option: M, index: Y }]
1994
- }) : (ee == null ? void 0 : ee.kind) === "plain" ? ee.items.push({ option: M, index: Y }) : w.push({ kind: "plain", key: `p-${Y}`, items: [{ option: M, index: Y }] });
1995
- }), w;
1996
- }), L = g(() => t.multiple ? Array.isArray(i.value) ? i.value : [] : i.value !== null && i.value !== void 0 ? [i.value] : []), A = g(() => L.value.length > 0), B = g(() => $.value && A.value);
1997
- function G(w) {
1998
- return L.value.includes(w);
1990
+ label: H,
1991
+ headerId: `${o}-group-${W}`,
1992
+ key: `g-${W}`,
1993
+ items: [{ option: P, index: W }]
1994
+ }) : (ee == null ? void 0 : ee.kind) === "plain" ? ee.items.push({ option: P, index: W }) : I.push({ kind: "plain", key: `p-${W}`, items: [{ option: P, index: W }] });
1995
+ }), I;
1996
+ }), L = g(() => t.multiple ? Array.isArray(n.value) ? n.value : [] : n.value !== null && n.value !== void 0 ? [n.value] : []), B = g(() => L.value.length > 0), j = g(() => S.value && B.value);
1997
+ function K(I) {
1998
+ return L.value.includes(I);
1999
1999
  }
2000
- const q = Vt(/* @__PURE__ */ new Map());
2000
+ const A = Vt(/* @__PURE__ */ new Map());
2001
2001
  J(
2002
2002
  () => t.options,
2003
- (w) => w.forEach((M) => q.set(M.value, M.label)),
2003
+ (I) => I.forEach((P) => A.set(P.value, P.label)),
2004
2004
  { immediate: !0, deep: !0 }
2005
2005
  );
2006
- function Z(w) {
2007
- var M, Y, K;
2008
- return (K = (Y = (M = t.options.find((ee) => ee.value === w)) == null ? void 0 : M.label) != null ? Y : q.get(w)) != null ? K : String(w);
2006
+ function Y(I) {
2007
+ var P, W, H;
2008
+ return (H = (W = (P = t.options.find((ee) => ee.value === I)) == null ? void 0 : P.label) != null ? W : A.get(I)) != null ? H : String(I);
2009
2009
  }
2010
- const E = g(() => $.value ? A.value ? t.multiple ? `${t.placeholder} (${L.value.length})` : Z(L.value[0]) : t.placeholder : A.value ? t.multiple ? L.value.map(Z).join(", ") : Z(L.value[0]) : t.placeholder), U = Object.values(St), T = g(
2011
- () => typeof t.width == "string" && U.includes(t.width) ? `ds-select--w-${t.width}` : null
2012
- ), R = g(() => {
2013
- if (!T.value)
2010
+ const E = g(() => S.value ? B.value ? t.multiple ? `${t.placeholder} (${L.value.length})` : Y(L.value[0]) : t.placeholder : B.value ? t.multiple ? L.value.map(Y).join(", ") : Y(L.value[0]) : t.placeholder), N = Object.values(St), w = g(
2011
+ () => typeof t.width == "string" && N.includes(t.width) ? `ds-select--w-${t.width}` : null
2012
+ ), D = g(() => {
2013
+ if (!w.value)
2014
2014
  return { width: typeof t.width == "number" ? `${t.width}px` : t.width };
2015
- }), H = g(
2015
+ }), F = g(
2016
2016
  () => p.value && r.value >= 0 ? c(r.value) : void 0
2017
2017
  );
2018
2018
  function oe() {
2019
2019
  if (k.value.length === 0) return -1;
2020
- const w = k.value.findIndex((M) => G(M.value));
2021
- return w >= 0 ? w : 0;
2020
+ const I = k.value.findIndex((P) => K(P.value));
2021
+ return I >= 0 ? I : 0;
2022
2022
  }
2023
2023
  function ge() {
2024
2024
  t.disabled || (p.value = !0, r.value = oe(), t.filterable && ue(() => {
2025
- var w;
2026
- return (w = u.value) == null ? void 0 : w.focus();
2025
+ var I;
2026
+ return (I = u.value) == null ? void 0 : I.focus();
2027
2027
  }));
2028
2028
  }
2029
- function ve(w = !0) {
2030
- p.value = !1, r.value = -1, v.value && (v.value = "", d(fe, "")), w && ue(() => {
2031
- var M;
2032
- return (M = y.value) == null ? void 0 : M.focus();
2029
+ function ve(I = !0) {
2030
+ p.value = !1, r.value = -1, v.value && (v.value = "", d(fe, "")), I && ue(() => {
2031
+ var P;
2032
+ return (P = y.value) == null ? void 0 : P.focus();
2033
2033
  });
2034
2034
  }
2035
2035
  function At() {
2036
2036
  t.disabled || (p.value ? ve() : ge());
2037
2037
  }
2038
- function Ve(w) {
2038
+ function Ve(I) {
2039
2039
  if (t.disabled) return;
2040
2040
  if (t.multiple) {
2041
- const Y = L.value;
2042
- i.value = Y.includes(w) ? Y.filter((K) => K !== w) : [...Y, w];
2041
+ const W = L.value;
2042
+ n.value = W.includes(I) ? W.filter((H) => H !== I) : [...W, I];
2043
2043
  return;
2044
2044
  }
2045
- const M = G(w);
2046
- i.value = M && t.showCheckbox ? null : w, ve();
2045
+ const P = K(I);
2046
+ n.value = P && t.showCheckbox ? null : I, ve();
2047
2047
  }
2048
2048
  function Nt() {
2049
- t.disabled || (i.value = t.multiple ? [] : null);
2049
+ t.disabled || (n.value = t.multiple ? [] : null);
2050
2050
  }
2051
- function Ce(w) {
2052
- const M = k.value.length;
2053
- M !== 0 && (r.value < 0 ? r.value = w > 0 ? 0 : M - 1 : r.value = (r.value + w + M) % M, ue(() => {
2054
- var Y, K;
2055
- (K = (Y = document.getElementById(c(r.value))) == null ? void 0 : Y.scrollIntoView) == null || K.call(Y, { block: "nearest" });
2051
+ function Ce(I) {
2052
+ const P = k.value.length;
2053
+ P !== 0 && (r.value < 0 ? r.value = I > 0 ? 0 : P - 1 : r.value = (r.value + I + P) % P, ue(() => {
2054
+ var W, H;
2055
+ (H = (W = document.getElementById(c(r.value))) == null ? void 0 : W.scrollIntoView) == null || H.call(W, { block: "nearest" });
2056
2056
  }));
2057
2057
  }
2058
- function Bt(w) {
2058
+ function Ot(I) {
2059
2059
  if (!t.disabled)
2060
- switch (w.key) {
2060
+ switch (I.key) {
2061
2061
  case "ArrowDown":
2062
- w.preventDefault(), p.value ? Ce(1) : ge();
2062
+ I.preventDefault(), p.value ? Ce(1) : ge();
2063
2063
  break;
2064
2064
  case "ArrowUp":
2065
- w.preventDefault(), p.value ? Ce(-1) : ge();
2065
+ I.preventDefault(), p.value ? Ce(-1) : ge();
2066
2066
  break;
2067
2067
  case "Home":
2068
- p.value && (w.preventDefault(), r.value = 0);
2068
+ p.value && (I.preventDefault(), r.value = 0);
2069
2069
  break;
2070
2070
  case "End":
2071
- p.value && (w.preventDefault(), r.value = k.value.length - 1);
2071
+ p.value && (I.preventDefault(), r.value = k.value.length - 1);
2072
2072
  break;
2073
2073
  case "Enter":
2074
2074
  case " ":
2075
2075
  case "Spacebar":
2076
- if (w.preventDefault(), !p.value)
2076
+ if (I.preventDefault(), !p.value)
2077
2077
  ge();
2078
2078
  else if (r.value >= 0) {
2079
- const M = k.value[r.value];
2080
- M && Ve(M.value);
2079
+ const P = k.value[r.value];
2080
+ P && Ve(P.value);
2081
2081
  }
2082
2082
  break;
2083
2083
  case "Escape":
2084
- p.value && (w.preventDefault(), w.stopPropagation(), ve());
2084
+ p.value && (I.preventDefault(), I.stopPropagation(), ve());
2085
2085
  break;
2086
2086
  case "Tab":
2087
2087
  p.value && ve(!1);
2088
2088
  break;
2089
2089
  }
2090
2090
  }
2091
- function Ot(w) {
2091
+ function Bt(I) {
2092
2092
  if (!t.disabled)
2093
- switch (w.key) {
2093
+ switch (I.key) {
2094
2094
  case "ArrowDown":
2095
- w.preventDefault(), Ce(1);
2095
+ I.preventDefault(), Ce(1);
2096
2096
  break;
2097
2097
  case "ArrowUp":
2098
- w.preventDefault(), Ce(-1);
2098
+ I.preventDefault(), Ce(-1);
2099
2099
  break;
2100
2100
  case "Enter":
2101
- if (w.preventDefault(), r.value >= 0) {
2102
- const M = k.value[r.value];
2103
- M && Ve(M.value);
2101
+ if (I.preventDefault(), r.value >= 0) {
2102
+ const P = k.value[r.value];
2103
+ P && Ve(P.value);
2104
2104
  }
2105
2105
  break;
2106
2106
  case "Escape":
2107
- w.preventDefault(), w.stopPropagation(), ve();
2107
+ I.preventDefault(), I.stopPropagation(), ve();
2108
2108
  break;
2109
2109
  case "Tab":
2110
2110
  p.value && ve(!1);
2111
2111
  break;
2112
2112
  }
2113
2113
  }
2114
- function xt(w) {
2115
- v.value = w.target.value, d(fe, v.value);
2114
+ function xt(I) {
2115
+ v.value = I.target.value, d(fe, v.value);
2116
2116
  }
2117
- J(k, (w) => {
2118
- p.value && (w.length === 0 ? r.value = -1 : (r.value < 0 || r.value >= w.length) && (r.value = 0));
2117
+ J(k, (I) => {
2118
+ p.value && (I.length === 0 ? r.value = -1 : (r.value < 0 || r.value >= I.length) && (r.value = 0));
2119
2119
  });
2120
- function qe(w) {
2121
- b.value && !b.value.contains(w.target) && ve(!1);
2120
+ function qe(I) {
2121
+ b.value && !b.value.contains(I.target) && ve(!1);
2122
2122
  }
2123
- return J(p, (w) => {
2124
- typeof document != "undefined" && (w ? document.addEventListener("mousedown", qe) : document.removeEventListener("mousedown", qe));
2123
+ return J(p, (I) => {
2124
+ typeof document != "undefined" && (I ? document.addEventListener("mousedown", qe) : document.removeEventListener("mousedown", qe));
2125
2125
  }), J(
2126
2126
  () => t.disabled,
2127
- (w) => {
2128
- w && p.value && ve(!1);
2127
+ (I) => {
2128
+ I && p.value && ve(!1);
2129
2129
  }
2130
2130
  ), re(() => {
2131
2131
  typeof document != "undefined" && document.removeEventListener("mousedown", qe);
2132
- }), (w, M) => (a(), l("div", {
2132
+ }), (I, P) => (a(), l("div", {
2133
2133
  ref_key: "rootRef",
2134
2134
  ref: b,
2135
- class: C(["ds-select", [`ds-select--${e.selectType}`, T.value, { "is-open": p.value }]]),
2136
- style: W(R.value)
2135
+ class: C(["ds-select", [`ds-select--${e.selectType}`, w.value, { "is-open": p.value }]]),
2136
+ style: G(D.value)
2137
2137
  }, [
2138
- n("div", {
2139
- class: C(["ds-select__control", { "is-disabled": e.disabled, "is-filter-selected": B.value }])
2138
+ i("div", {
2139
+ class: C(["ds-select__control", { "is-disabled": e.disabled, "is-filter-selected": j.value }])
2140
2140
  }, [
2141
- n("button", {
2141
+ i("button", {
2142
2142
  ref_key: "triggerRef",
2143
2143
  ref: y,
2144
2144
  type: "button",
@@ -2147,36 +2147,36 @@ const Xe = {
2147
2147
  "aria-haspopup": "listbox",
2148
2148
  "aria-expanded": p.value,
2149
2149
  "aria-controls": p.value ? m : void 0,
2150
- "aria-activedescendant": e.filterable ? void 0 : H.value,
2150
+ "aria-activedescendant": e.filterable ? void 0 : F.value,
2151
2151
  onClick: At,
2152
- onKeydown: Bt
2152
+ onKeydown: Ot
2153
2153
  }, [
2154
- n("span", {
2154
+ i("span", {
2155
2155
  class: "ds-select__summary",
2156
2156
  title: E.value
2157
- }, f(E.value), 9, ii)
2158
- ], 40, li),
2159
- $.value && A.value ? (a(), l("button", {
2157
+ }, f(E.value), 9, nn)
2158
+ ], 40, ln),
2159
+ S.value && B.value ? (a(), l("button", {
2160
2160
  key: 0,
2161
2161
  type: "button",
2162
2162
  class: "ds-select__clear",
2163
2163
  disabled: e.disabled,
2164
2164
  "aria-label": e.clearLabel || void 0,
2165
2165
  onClick: Nt
2166
- }, [...M[1] || (M[1] = [
2167
- n("i", {
2166
+ }, [...P[1] || (P[1] = [
2167
+ i("i", {
2168
2168
  class: "material-symbols-filled",
2169
2169
  "aria-hidden": "true"
2170
2170
  }, "close", -1)
2171
- ])], 8, ni)) : (a(), l("i", si, "keyboard_arrow_down"))
2171
+ ])], 8, sn)) : (a(), l("i", on, "keyboard_arrow_down"))
2172
2172
  ], 2),
2173
- p.value ? (a(), l("div", oi, [
2174
- e.filterable ? (a(), l("div", di, [
2175
- M[2] || (M[2] = n("i", {
2173
+ p.value ? (a(), l("div", dn, [
2174
+ e.filterable ? (a(), l("div", rn, [
2175
+ P[2] || (P[2] = i("i", {
2176
2176
  class: "material-symbols-filled ds-select__search-icon",
2177
2177
  "aria-hidden": "true"
2178
2178
  }, "search", -1)),
2179
- n("input", {
2179
+ i("input", {
2180
2180
  ref_key: "searchRef",
2181
2181
  ref: u,
2182
2182
  type: "text",
@@ -2184,90 +2184,90 @@ const Xe = {
2184
2184
  role: "combobox",
2185
2185
  "aria-expanded": "true",
2186
2186
  "aria-controls": m,
2187
- "aria-activedescendant": H.value,
2187
+ "aria-activedescendant": F.value,
2188
2188
  "aria-autocomplete": "list",
2189
2189
  autocomplete: "off",
2190
2190
  "aria-label": e.searchLabel,
2191
2191
  placeholder: e.searchPlaceholder,
2192
2192
  value: v.value,
2193
2193
  onInput: xt,
2194
- onKeydown: Ot
2195
- }, null, 40, ri)
2194
+ onKeydown: Bt
2195
+ }, null, 40, cn)
2196
2196
  ])) : h("", !0),
2197
- n("ul", {
2197
+ i("ul", {
2198
2198
  id: m,
2199
2199
  class: "ds-select__listbox",
2200
2200
  role: "listbox",
2201
2201
  "aria-multiselectable": e.multiple || void 0,
2202
2202
  "aria-busy": e.loading || void 0,
2203
- onMousedown: M[0] || (M[0] = pe(() => {
2203
+ onMousedown: P[0] || (P[0] = pe(() => {
2204
2204
  }, ["prevent"]))
2205
2205
  }, [
2206
- e.loading ? (a(), l("li", ui, [
2207
- N(w.$slots, "loading", {}, () => [
2208
- z(S(Le), { size: "small" })
2206
+ e.loading ? (a(), l("li", fn, [
2207
+ O(I.$slots, "loading", {}, () => [
2208
+ U($(Le), { size: "small" })
2209
2209
  ], !0)
2210
- ])) : (a(), l(F, { key: 1 }, [
2211
- (a(!0), l(F, null, X(D.value, (Y) => (a(), l("li", {
2212
- key: Y.key,
2213
- role: Y.kind === "group" ? "group" : "presentation",
2214
- "aria-labelledby": Y.kind === "group" ? Y.headerId : void 0,
2215
- class: C(Y.kind === "group" ? "ds-select__group" : "ds-select__run")
2210
+ ])) : (a(), l(q, { key: 1 }, [
2211
+ (a(!0), l(q, null, X(T.value, (W) => (a(), l("li", {
2212
+ key: W.key,
2213
+ role: W.kind === "group" ? "group" : "presentation",
2214
+ "aria-labelledby": W.kind === "group" ? W.headerId : void 0,
2215
+ class: C(W.kind === "group" ? "ds-select__group" : "ds-select__run")
2216
2216
  }, [
2217
- Y.kind === "group" ? (a(), l("span", {
2217
+ W.kind === "group" ? (a(), l("span", {
2218
2218
  key: 0,
2219
- id: Y.headerId,
2219
+ id: W.headerId,
2220
2220
  class: "ds-select__group-header"
2221
- }, f(Y.label), 9, vi)) : h("", !0),
2222
- (a(!0), l(F, null, X(Y.items, (K) => (a(), l("div", {
2223
- id: c(K.index),
2224
- key: K.option.value,
2221
+ }, f(W.label), 9, bn)) : h("", !0),
2222
+ (a(!0), l(q, null, X(W.items, (H) => (a(), l("div", {
2223
+ id: c(H.index),
2224
+ key: H.option.value,
2225
2225
  class: C(["ds-select__option", {
2226
- "is-selected": G(K.option.value),
2227
- "is-active": K.index === r.value,
2226
+ "is-selected": K(H.option.value),
2227
+ "is-active": H.index === r.value,
2228
2228
  "ds-select__option--checkbox": e.showCheckbox
2229
2229
  }]),
2230
2230
  role: "option",
2231
- "aria-selected": G(K.option.value),
2232
- onClick: pe((ee) => Ve(K.option.value), ["prevent"]),
2233
- onMouseenter: (ee) => r.value = K.index
2231
+ "aria-selected": K(H.option.value),
2232
+ onClick: pe((ee) => Ve(H.option.value), ["prevent"]),
2233
+ onMouseenter: (ee) => r.value = H.index
2234
2234
  }, [
2235
- e.showCheckbox ? (a(), Q(S(Me), {
2235
+ e.showCheckbox ? (a(), Q($(Me), {
2236
2236
  key: 0,
2237
2237
  class: "ds-select__option-check",
2238
- "model-value": G(K.option.value),
2238
+ "model-value": K(H.option.value),
2239
2239
  disabled: "",
2240
2240
  "aria-hidden": "true"
2241
2241
  }, null, 8, ["model-value"])) : h("", !0),
2242
- N(w.$slots, "option", {
2243
- option: K.option,
2244
- selected: G(K.option.value),
2245
- active: K.index === r.value
2242
+ O(I.$slots, "option", {
2243
+ option: H.option,
2244
+ selected: K(H.option.value),
2245
+ active: H.index === r.value
2246
2246
  }, () => [
2247
- K.option.icon ? (a(), l("i", {
2247
+ H.option.icon ? (a(), l("i", {
2248
2248
  key: 0,
2249
2249
  class: "material-symbols-filled ds-select__option-icon",
2250
- style: W(K.option.color ? { color: K.option.color } : void 0),
2250
+ style: G(H.option.color ? { color: H.option.color } : void 0),
2251
2251
  "aria-hidden": "true"
2252
- }, f(K.option.icon), 5)) : h("", !0),
2253
- n("span", yi, [
2254
- j(f(K.option.label), 1),
2255
- K.option.subLabel ? (a(), l("span", mi, ", " + f(K.option.subLabel), 1)) : h("", !0)
2252
+ }, f(H.option.icon), 5)) : h("", !0),
2253
+ i("span", mn, [
2254
+ Z(f(H.option.label), 1),
2255
+ H.option.subLabel ? (a(), l("span", gn, ", " + f(H.option.subLabel), 1)) : h("", !0)
2256
2256
  ])
2257
2257
  ], !0)
2258
- ], 42, bi))), 128))
2259
- ], 10, fi))), 128)),
2260
- k.value.length === 0 ? (a(), l("li", gi, [
2261
- N(w.$slots, "empty", {}, () => [
2262
- j(f(e.emptyText), 1)
2258
+ ], 42, yn))), 128))
2259
+ ], 10, vn))), 128)),
2260
+ k.value.length === 0 ? (a(), l("li", hn, [
2261
+ O(I.$slots, "empty", {}, () => [
2262
+ Z(f(e.emptyText), 1)
2263
2263
  ], !0)
2264
2264
  ])) : h("", !0)
2265
2265
  ], 64))
2266
- ], 40, ci)
2266
+ ], 40, un)
2267
2267
  ])) : h("", !0)
2268
2268
  ], 6));
2269
2269
  }
2270
- }), Xs = /* @__PURE__ */ x(hi, [["__scopeId", "data-v-936974a2"]]), pi = ["tabindex"], ki = /* @__PURE__ */ O({
2270
+ }), Xs = /* @__PURE__ */ M(pn, [["__scopeId", "data-v-936974a2"]]), kn = ["tabindex"], Sn = /* @__PURE__ */ x({
2271
2271
  __name: "DsRow",
2272
2272
  props: {
2273
2273
  selected: { type: Boolean, default: !1 },
@@ -2276,7 +2276,7 @@ const Xe = {
2276
2276
  emits: [le],
2277
2277
  setup(e, { emit: s }) {
2278
2278
  const t = e, d = s;
2279
- function i() {
2279
+ function n() {
2280
2280
  t.clickable && d(le);
2281
2281
  }
2282
2282
  function o(m) {
@@ -2285,13 +2285,13 @@ const Xe = {
2285
2285
  return (m, c) => (a(), l("tr", {
2286
2286
  class: C(["ds-row", { "is-selected": e.selected, "is-clickable": e.clickable }]),
2287
2287
  tabindex: e.clickable ? 0 : void 0,
2288
- onClick: i,
2288
+ onClick: n,
2289
2289
  onKeydown: o
2290
2290
  }, [
2291
- N(m.$slots, "default", {}, void 0, !0)
2292
- ], 42, pi));
2291
+ O(m.$slots, "default", {}, void 0, !0)
2292
+ ], 42, kn));
2293
2293
  }
2294
- }), Qs = /* @__PURE__ */ x(ki, [["__scopeId", "data-v-c2d6c50b"]]), Si = /* @__PURE__ */ O({
2294
+ }), Qs = /* @__PURE__ */ M(Sn, [["__scopeId", "data-v-c2d6c50b"]]), $n = /* @__PURE__ */ x({
2295
2295
  __name: "DsCell",
2296
2296
  props: {
2297
2297
  first: { type: Boolean, default: !1 },
@@ -2309,16 +2309,16 @@ const Xe = {
2309
2309
  }
2310
2310
  },
2311
2311
  setup(e) {
2312
- const s = e, t = (i) => typeof i == "number" ? `${i}px` : i, d = g(() => {
2313
- const i = {};
2314
- if (s.width != null && (i.width = t(s.width)), s.pinned) {
2315
- i.position = "sticky";
2312
+ const s = e, t = (n) => typeof n == "number" ? `${n}px` : n, d = g(() => {
2313
+ const n = {};
2314
+ if (s.width != null && (n.width = t(s.width)), s.pinned) {
2315
+ n.position = "sticky";
2316
2316
  const o = s.pinnedOffset == null ? "0px" : t(s.pinnedOffset);
2317
- i[s.pinned === ce.LEFT ? "left" : "right"] = o;
2317
+ n[s.pinned === ce.LEFT ? "left" : "right"] = o;
2318
2318
  }
2319
- return Object.keys(i).length ? i : void 0;
2319
+ return Object.keys(n).length ? n : void 0;
2320
2320
  });
2321
- return (i, o) => (a(), l("td", {
2321
+ return (n, o) => (a(), l("td", {
2322
2322
  class: C(["ds-cell", {
2323
2323
  "is-accent": e.first && e.selected,
2324
2324
  "is-truncated": e.truncate,
@@ -2326,12 +2326,12 @@ const Xe = {
2326
2326
  "is-pinned": !!e.pinned,
2327
2327
  [`is-pinned--${e.pinned}`]: !!e.pinned
2328
2328
  }]),
2329
- style: W(d.value)
2329
+ style: G(d.value)
2330
2330
  }, [
2331
- N(i.$slots, "default", {}, void 0, !0)
2331
+ O(n.$slots, "default", {}, void 0, !0)
2332
2332
  ], 6));
2333
2333
  }
2334
- }), Js = /* @__PURE__ */ x(Si, [["__scopeId", "data-v-727b775d"]]), $i = {
2334
+ }), Js = /* @__PURE__ */ M($n, [["__scopeId", "data-v-727b775d"]]), _n = {
2335
2335
  SUCCESS: "success",
2336
2336
  WARNING: "warning",
2337
2337
  DANGER: "danger",
@@ -2341,12 +2341,12 @@ const Xe = {
2341
2341
  // the only solid-fill variant
2342
2342
  ACCENT: "accent"
2343
2343
  // maps to $info-* tokens, not $accent-*
2344
- }, _i = /* @__PURE__ */ O({
2344
+ }, Ln = /* @__PURE__ */ x({
2345
2345
  __name: "DsCustomTag",
2346
2346
  props: {
2347
2347
  type: {
2348
2348
  type: String,
2349
- default: $i.INFO
2349
+ default: _n.INFO
2350
2350
  },
2351
2351
  // Fully rounded (radius-full) sides vs the default radius-control.
2352
2352
  round: Boolean
@@ -2355,13 +2355,13 @@ const Xe = {
2355
2355
  return (s, t) => (a(), l("span", {
2356
2356
  class: C(["ds-custom-tag", [`ds-custom-tag--${e.type}`, { "is-round": e.round }]])
2357
2357
  }, [
2358
- N(s.$slots, "default", {}, void 0, !0)
2358
+ O(s.$slots, "default", {}, void 0, !0)
2359
2359
  ], 2));
2360
2360
  }
2361
- }), eo = /* @__PURE__ */ x(_i, [["__scopeId", "data-v-c0220631"]]), Li = { class: "ds-pill__text" }, Ei = ["aria-label"], Ti = {
2361
+ }), eo = /* @__PURE__ */ M(Ln, [["__scopeId", "data-v-c0220631"]]), En = { class: "ds-pill__text" }, wn = ["aria-label"], Tn = {
2362
2362
  class: "material-symbols-filled",
2363
2363
  "aria-hidden": "true"
2364
- }, wi = /* @__PURE__ */ O({
2364
+ }, Cn = /* @__PURE__ */ x({
2365
2365
  __name: "DsPill",
2366
2366
  props: {
2367
2367
  // Material Symbols ligature name; when set, renders a trailing icon button.
@@ -2384,52 +2384,52 @@ const Xe = {
2384
2384
  emits: [le],
2385
2385
  setup(e, { emit: s }) {
2386
2386
  const t = s;
2387
- return (d, i) => (a(), l("span", {
2387
+ return (d, n) => (a(), l("span", {
2388
2388
  class: C(["ds-pill", { "ds-pill--has-icon": e.icon }]),
2389
- style: W(e.background ? { background: e.background } : void 0)
2389
+ style: G(e.background ? { background: e.background } : void 0)
2390
2390
  }, [
2391
- n("span", Li, [
2392
- N(d.$slots, "default", {}, void 0, !0)
2391
+ i("span", En, [
2392
+ O(d.$slots, "default", {}, void 0, !0)
2393
2393
  ]),
2394
2394
  e.icon ? (a(), l("button", {
2395
2395
  key: 0,
2396
2396
  type: "button",
2397
2397
  class: "ds-pill__icon",
2398
2398
  "aria-label": e.iconLabel || void 0,
2399
- onClick: i[0] || (i[0] = (o) => t(S(le)))
2399
+ onClick: n[0] || (n[0] = (o) => t($(le)))
2400
2400
  }, [
2401
- n("i", Ti, f(e.icon), 1)
2402
- ], 8, Ei)) : h("", !0)
2401
+ i("i", Tn, f(e.icon), 1)
2402
+ ], 8, wn)) : h("", !0)
2403
2403
  ], 6));
2404
2404
  }
2405
- }), to = /* @__PURE__ */ x(wi, [["__scopeId", "data-v-59af98d0"]]), Ci = {
2405
+ }), to = /* @__PURE__ */ M(Cn, [["__scopeId", "data-v-59af98d0"]]), In = {
2406
2406
  key: 0,
2407
2407
  class: "ds-pill-with-border__icon"
2408
- }, Ii = { class: "ds-pill-with-border__label" }, Di = /* @__PURE__ */ O({
2408
+ }, Dn = { class: "ds-pill-with-border__label" }, Rn = /* @__PURE__ */ x({
2409
2409
  __name: "DsPillWithBorder",
2410
2410
  emits: [le],
2411
2411
  setup(e, { emit: s }) {
2412
2412
  const t = s;
2413
- return (d, i) => (a(), l("button", {
2413
+ return (d, n) => (a(), l("button", {
2414
2414
  type: "button",
2415
2415
  class: "ds-pill-with-border",
2416
- onClick: i[0] || (i[0] = (o) => t(S(le)))
2416
+ onClick: n[0] || (n[0] = (o) => t($(le)))
2417
2417
  }, [
2418
- d.$slots.icon ? (a(), l("span", Ci, [
2419
- N(d.$slots, "icon", {}, void 0, !0)
2418
+ d.$slots.icon ? (a(), l("span", In, [
2419
+ O(d.$slots, "icon", {}, void 0, !0)
2420
2420
  ])) : h("", !0),
2421
- n("span", Ii, [
2422
- N(d.$slots, "default", {}, void 0, !0)
2421
+ i("span", Dn, [
2422
+ O(d.$slots, "default", {}, void 0, !0)
2423
2423
  ])
2424
2424
  ]));
2425
2425
  }
2426
- }), ao = /* @__PURE__ */ x(Di, [["__scopeId", "data-v-8db4dcaf"]]), Ri = ["aria-label"], Ai = ["title"], Ni = {
2426
+ }), ao = /* @__PURE__ */ M(Rn, [["__scopeId", "data-v-8db4dcaf"]]), An = ["aria-label"], Nn = ["title"], On = {
2427
2427
  key: 1,
2428
2428
  class: "ds-segmented-progress-bar-wrapper"
2429
- }, Bi = ["aria-label"], Oi = ["title"], xi = {
2429
+ }, Bn = ["aria-label"], xn = ["title"], Mn = {
2430
2430
  class: "ds-segmented-progress-bar__legend",
2431
2431
  "aria-hidden": "true"
2432
- }, Mi = { class: "ds-segmented-progress-bar__legend-label" }, Pi = /* @__PURE__ */ O({
2432
+ }, Pn = { class: "ds-segmented-progress-bar__legend-label" }, zn = /* @__PURE__ */ x({
2433
2433
  inheritAttrs: !1,
2434
2434
  __name: "DsSegmentedProgressBar",
2435
2435
  props: {
@@ -2450,40 +2450,40 @@ const Xe = {
2450
2450
  showLegend: { type: Boolean, default: !1 }
2451
2451
  },
2452
2452
  setup(e) {
2453
- const s = e, t = we(), d = g(() => s.segments.filter((o) => !!o.name)), i = g(
2453
+ const s = e, t = Te(), d = g(() => s.segments.filter((o) => !!o.name)), n = g(
2454
2454
  () => !!t.legend || s.showLegend && d.value.length > 0
2455
2455
  );
2456
- return (o, m) => i.value ? (a(), l("div", Ni, [
2457
- n("div", De(o.$attrs, {
2456
+ return (o, m) => n.value ? (a(), l("div", On, [
2457
+ i("div", De(o.$attrs, {
2458
2458
  class: "ds-segmented-progress-bar",
2459
2459
  role: "img",
2460
2460
  "aria-label": e.label || void 0,
2461
2461
  style: { height: `${e.height}px` }
2462
2462
  }), [
2463
- (a(!0), l(F, null, X(e.segments, (c, b) => {
2463
+ (a(!0), l(q, null, X(e.segments, (c, b) => {
2464
2464
  var y;
2465
2465
  return a(), l("div", {
2466
2466
  key: `${(y = c.name) != null ? y : ""}-${b}`,
2467
2467
  class: "ds-segmented-progress-bar__segment",
2468
- style: W({
2468
+ style: G({
2469
2469
  width: `${e.total > 0 ? c.amount * 100 / e.total : 0}%`,
2470
2470
  backgroundColor: c.color
2471
2471
  }),
2472
2472
  title: c.name || void 0
2473
- }, null, 12, Oi);
2473
+ }, null, 12, xn);
2474
2474
  }), 128))
2475
- ], 16, Bi),
2476
- N(o.$slots, "legend", {}, () => [
2477
- n("ul", xi, [
2478
- (a(!0), l(F, null, X(d.value, (c, b) => (a(), l("li", {
2475
+ ], 16, Bn),
2476
+ O(o.$slots, "legend", {}, () => [
2477
+ i("ul", Mn, [
2478
+ (a(!0), l(q, null, X(d.value, (c, b) => (a(), l("li", {
2479
2479
  key: `${c.name}-${b}`,
2480
2480
  class: "ds-segmented-progress-bar__legend-item"
2481
2481
  }, [
2482
- n("span", {
2482
+ i("span", {
2483
2483
  class: "ds-segmented-progress-bar__legend-swatch",
2484
- style: W({ backgroundColor: c.color })
2484
+ style: G({ backgroundColor: c.color })
2485
2485
  }, null, 4),
2486
- n("span", Mi, f(c.name), 1)
2486
+ i("span", Pn, f(c.name), 1)
2487
2487
  ]))), 128))
2488
2488
  ])
2489
2489
  ], !0)
@@ -2493,27 +2493,27 @@ const Xe = {
2493
2493
  "aria-label": e.label || void 0,
2494
2494
  style: { height: `${e.height}px` }
2495
2495
  }), [
2496
- (a(!0), l(F, null, X(e.segments, (c, b) => {
2496
+ (a(!0), l(q, null, X(e.segments, (c, b) => {
2497
2497
  var y;
2498
2498
  return a(), l("div", {
2499
2499
  key: `${(y = c.name) != null ? y : ""}-${b}`,
2500
2500
  class: "ds-segmented-progress-bar__segment",
2501
- style: W({
2501
+ style: G({
2502
2502
  width: `${e.total > 0 ? c.amount * 100 / e.total : 0}%`,
2503
2503
  backgroundColor: c.color
2504
2504
  }),
2505
2505
  title: c.name || void 0
2506
- }, null, 12, Ai);
2506
+ }, null, 12, Nn);
2507
2507
  }), 128))
2508
- ], 16, Ri));
2508
+ ], 16, An));
2509
2509
  }
2510
- }), lo = /* @__PURE__ */ x(Pi, [["__scopeId", "data-v-89dc768c"]]), zi = {
2510
+ }), lo = /* @__PURE__ */ M(zn, [["__scopeId", "data-v-89dc768c"]]), Un = {
2511
2511
  key: 0,
2512
2512
  class: "ds-empty-state__header"
2513
- }, Ui = { class: "ds-empty-state__body" }, Vi = ["src"], qi = { class: "ds-empty-state__title" }, Fi = {
2513
+ }, Vn = { class: "ds-empty-state__body" }, qn = ["src"], Fn = { class: "ds-empty-state__title" }, Gn = {
2514
2514
  key: 1,
2515
2515
  class: "ds-empty-state__subtitle"
2516
- }, Gi = /* @__PURE__ */ O({
2516
+ }, Hn = /* @__PURE__ */ x({
2517
2517
  __name: "DsEmptyState",
2518
2518
  props: {
2519
2519
  // Illustration URL; decorative (rendered with alt="").
@@ -2527,30 +2527,30 @@ const Xe = {
2527
2527
  return (s, t) => (a(), l("div", {
2528
2528
  class: C(["ds-empty-state", { "is-rounded": e.roundedBorder }])
2529
2529
  }, [
2530
- s.$slots["table-header"] ? (a(), l("div", zi, [
2531
- N(s.$slots, "table-header", {}, void 0, !0)
2530
+ s.$slots["table-header"] ? (a(), l("div", Un, [
2531
+ O(s.$slots, "table-header", {}, void 0, !0)
2532
2532
  ])) : h("", !0),
2533
- n("div", Ui, [
2533
+ i("div", Vn, [
2534
2534
  e.image ? (a(), l("img", {
2535
2535
  key: 0,
2536
2536
  src: e.image,
2537
2537
  alt: "",
2538
2538
  class: "ds-empty-state__image"
2539
- }, null, 8, Vi)) : h("", !0),
2540
- n("p", qi, f(e.title), 1),
2541
- e.subtitle ? (a(), l("p", Fi, f(e.subtitle), 1)) : h("", !0),
2542
- N(s.$slots, "button", {}, void 0, !0)
2539
+ }, null, 8, qn)) : h("", !0),
2540
+ i("p", Fn, f(e.title), 1),
2541
+ e.subtitle ? (a(), l("p", Gn, f(e.subtitle), 1)) : h("", !0),
2542
+ O(s.$slots, "button", {}, void 0, !0)
2543
2543
  ])
2544
2544
  ], 2));
2545
2545
  }
2546
- }), io = /* @__PURE__ */ x(Gi, [["__scopeId", "data-v-159c48f9"]]), Hi = ["aria-label"], Wi = {
2546
+ }), no = /* @__PURE__ */ M(Hn, [["__scopeId", "data-v-159c48f9"]]), Wn = ["aria-label"], Kn = {
2547
2547
  key: 0,
2548
2548
  class: "ds-paginator__limit-message"
2549
- }, Ki = { class: "ds-paginator__pager" }, Yi = {
2549
+ }, Yn = { class: "ds-paginator__pager" }, jn = {
2550
2550
  key: 0,
2551
2551
  class: "ds-paginator__ellipsis",
2552
2552
  "aria-hidden": "true"
2553
- }, ji = ["aria-current", "onClick"], Zi = ["aria-label", "value"], Xi = ["value"], Qi = "…l", Ji = "…r", en = /* @__PURE__ */ O({
2553
+ }, Zn = ["aria-current", "onClick"], Xn = ["aria-label", "value"], Qn = ["value"], Jn = "…l", ei = "…r", ti = /* @__PURE__ */ x({
2554
2554
  __name: "DsPaginator",
2555
2555
  props: {
2556
2556
  total: { type: Number, required: !0 },
@@ -2569,19 +2569,19 @@ const Xe = {
2569
2569
  },
2570
2570
  emits: [st, ot],
2571
2571
  setup(e, { emit: s }) {
2572
- const t = e, d = s, i = g(() => Math.max(1, Math.ceil(t.total / t.pageSize))), o = g(() => {
2573
- const b = i.value;
2572
+ const t = e, d = s, n = g(() => Math.max(1, Math.ceil(t.total / t.pageSize))), o = g(() => {
2573
+ const b = n.value;
2574
2574
  if (b <= 7)
2575
- return Array.from({ length: b }, (v, $) => $ + 1);
2575
+ return Array.from({ length: b }, (v, S) => S + 1);
2576
2576
  const y = t.currentPage, u = [1];
2577
- y > 4 && u.push(Qi);
2577
+ y > 4 && u.push(Jn);
2578
2578
  const p = Math.max(2, y - 2), r = Math.min(b - 1, y + 2);
2579
2579
  for (let v = p; v <= r; v++)
2580
2580
  u.push(v);
2581
- return y < b - 3 && u.push(Ji), u.push(b), u;
2581
+ return y < b - 3 && u.push(ei), u.push(b), u;
2582
2582
  });
2583
2583
  function m(b) {
2584
- b < 1 || b > i.value || d(st, b);
2584
+ b < 1 || b > n.value || d(st, b);
2585
2585
  }
2586
2586
  function c(b) {
2587
2587
  const y = b.target;
@@ -2591,9 +2591,9 @@ const Xe = {
2591
2591
  class: "ds-paginator",
2592
2592
  "aria-label": e.paginationLabel || void 0
2593
2593
  }, [
2594
- e.limitMessage ? (a(), l("span", Wi, f(e.limitMessage), 1)) : h("", !0),
2595
- n("div", Ki, [
2596
- z(S(ae), {
2594
+ e.limitMessage ? (a(), l("span", Kn, f(e.limitMessage), 1)) : h("", !0),
2595
+ i("div", Yn, [
2596
+ U($(ae), {
2597
2597
  variant: "tertiary",
2598
2598
  circle: "",
2599
2599
  size: "medium",
@@ -2602,45 +2602,45 @@ const Xe = {
2602
2602
  disabled: e.currentPage <= 1,
2603
2603
  onClick: y[0] || (y[0] = (u) => m(e.currentPage - 1))
2604
2604
  }, null, 8, ["aria-label", "disabled"]),
2605
- (a(!0), l(F, null, X(o.value, (u) => (a(), l(F, { key: u }, [
2606
- typeof u == "string" ? (a(), l("span", Yi, "…")) : (a(), l("button", {
2605
+ (a(!0), l(q, null, X(o.value, (u) => (a(), l(q, { key: u }, [
2606
+ typeof u == "string" ? (a(), l("span", jn, "…")) : (a(), l("button", {
2607
2607
  key: 1,
2608
2608
  type: "button",
2609
2609
  class: C(["ds-paginator__page", { "is-active": u === e.currentPage }]),
2610
2610
  "aria-current": u === e.currentPage ? "page" : void 0,
2611
2611
  onClick: (p) => m(u)
2612
- }, f(u), 11, ji))
2612
+ }, f(u), 11, Zn))
2613
2613
  ], 64))), 128)),
2614
- z(S(ae), {
2614
+ U($(ae), {
2615
2615
  variant: "tertiary",
2616
2616
  circle: "",
2617
2617
  size: "medium",
2618
2618
  "left-icon": "chevron_right",
2619
2619
  "aria-label": e.nextLabel || void 0,
2620
- disabled: e.currentPage >= i.value,
2620
+ disabled: e.currentPage >= n.value,
2621
2621
  onClick: y[1] || (y[1] = (u) => m(e.currentPage + 1))
2622
2622
  }, null, 8, ["aria-label", "disabled"])
2623
2623
  ]),
2624
- n("select", {
2624
+ i("select", {
2625
2625
  class: "ds-paginator__page-size",
2626
2626
  "aria-label": e.pageSizeLabel || void 0,
2627
2627
  value: e.pageSize,
2628
2628
  onChange: c
2629
2629
  }, [
2630
- (a(!0), l(F, null, X(e.pageSizes, (u) => (a(), l("option", {
2630
+ (a(!0), l(q, null, X(e.pageSizes, (u) => (a(), l("option", {
2631
2631
  key: u,
2632
2632
  value: u
2633
- }, f(u) + f(e.pageSizeSuffix), 9, Xi))), 128))
2634
- ], 40, Zi)
2635
- ], 8, Hi));
2633
+ }, f(u) + f(e.pageSizeSuffix), 9, Qn))), 128))
2634
+ ], 40, Xn)
2635
+ ], 8, Wn));
2636
2636
  }
2637
- }), no = /* @__PURE__ */ x(en, [["__scopeId", "data-v-a42e7bb4"]]), tn = ["aria-current", "title"], an = {
2637
+ }), io = /* @__PURE__ */ M(ti, [["__scopeId", "data-v-a42e7bb4"]]), ai = ["aria-current", "title"], li = {
2638
2638
  class: "ds-menu-item__icon material-symbols-filled",
2639
2639
  "aria-hidden": "true"
2640
- }, ln = {
2640
+ }, ni = {
2641
2641
  key: 0,
2642
2642
  class: "ds-menu-item__label"
2643
- }, nn = /* @__PURE__ */ O({
2643
+ }, ii = /* @__PURE__ */ x({
2644
2644
  __name: "DsMenuItem",
2645
2645
  props: {
2646
2646
  // Material Symbols ligature name (rendered via <i class="material-symbols-filled">).
@@ -2655,25 +2655,25 @@ const Xe = {
2655
2655
  emits: [dt],
2656
2656
  setup(e, { emit: s }) {
2657
2657
  const t = s;
2658
- function d(i) {
2659
- t(dt, i);
2658
+ function d(n) {
2659
+ t(dt, n);
2660
2660
  }
2661
- return (i, o) => (a(), l("button", {
2661
+ return (n, o) => (a(), l("button", {
2662
2662
  type: "button",
2663
2663
  class: C(["ds-menu-item", { "is-active": e.active, "is-collapsed": e.collapsed }]),
2664
2664
  "aria-current": e.active ? "page" : void 0,
2665
2665
  title: e.text || void 0,
2666
2666
  onClick: d
2667
2667
  }, [
2668
- n("i", an, f(e.icon), 1),
2669
- e.text || i.$slots.default ? (a(), l("span", ln, [
2670
- N(i.$slots, "default", {}, () => [
2671
- j(f(e.text), 1)
2668
+ i("i", li, f(e.icon), 1),
2669
+ e.text || n.$slots.default ? (a(), l("span", ni, [
2670
+ O(n.$slots, "default", {}, () => [
2671
+ Z(f(e.text), 1)
2672
2672
  ], !0)
2673
2673
  ])) : h("", !0)
2674
- ], 10, tn));
2674
+ ], 10, ai));
2675
2675
  }
2676
- }), so = /* @__PURE__ */ x(nn, [["__scopeId", "data-v-374c4426"]]), he = {
2676
+ }), so = /* @__PURE__ */ M(ii, [["__scopeId", "data-v-374c4426"]]), he = {
2677
2677
  ACTIVE: "active",
2678
2678
  // current step — accent-tint chip, filled marker
2679
2679
  COMPLETED: "completed",
@@ -2682,10 +2682,10 @@ const Xe = {
2682
2682
  // visited but unfinished — red "!" chip
2683
2683
  NEUTRAL: "neutral"
2684
2684
  // upcoming — outlined marker
2685
- }, sn = { class: "ds-wizard-stepper" }, on = { class: "ds-wizard-stepper__steps" }, dn = {
2685
+ }, si = { class: "ds-wizard-stepper" }, oi = { class: "ds-wizard-stepper__steps" }, di = {
2686
2686
  class: "ds-wizard-step__marker",
2687
2687
  "aria-hidden": "true"
2688
- }, rn = { class: "ds-wizard-step__label" }, cn = /* @__PURE__ */ O({
2688
+ }, ri = { class: "ds-wizard-step__label" }, ci = /* @__PURE__ */ x({
2689
2689
  __name: "DsWizardStepper",
2690
2690
  props: {
2691
2691
  steps: { type: Array, default: () => [] },
@@ -2699,7 +2699,7 @@ const Xe = {
2699
2699
  },
2700
2700
  emits: [Ge, rt],
2701
2701
  setup(e, { emit: s }) {
2702
- const t = e, d = s, i = g(() => t.value === t.steps.length), o = g(
2702
+ const t = e, d = s, n = g(() => t.value === t.steps.length), o = g(
2703
2703
  () => t.steps.map((y, u) => {
2704
2704
  var v;
2705
2705
  const p = u + 1;
@@ -2723,9 +2723,9 @@ const Xe = {
2723
2723
  function b() {
2724
2724
  d(rt);
2725
2725
  }
2726
- return (y, u) => (a(), l("div", sn, [
2727
- n("ol", on, [
2728
- (a(!0), l(F, null, X(o.value, (p) => (a(), l("li", {
2726
+ return (y, u) => (a(), l("div", si, [
2727
+ i("ol", oi, [
2728
+ (a(!0), l(q, null, X(o.value, (p) => (a(), l("li", {
2729
2729
  key: p.key,
2730
2730
  class: "ds-wizard-stepper__item"
2731
2731
  }, [
@@ -2735,57 +2735,57 @@ const Xe = {
2735
2735
  "aria-current": p.current ? "step" : void 0,
2736
2736
  onClick: (r) => m(p.index)
2737
2737
  }, {
2738
- default: P(() => [
2739
- n("span", dn, f(p.marker), 1),
2740
- n("span", rn, f(p.label), 1)
2738
+ default: z(() => [
2739
+ i("span", di, f(p.marker), 1),
2740
+ i("span", ri, f(p.label), 1)
2741
2741
  ]),
2742
2742
  _: 2
2743
2743
  }, 1032, ["type", "class", "aria-current", "onClick"]))
2744
2744
  ]))), 128))
2745
2745
  ]),
2746
- !i.value && e.nextLabel ? (a(), Q(S(ae), {
2746
+ !n.value && e.nextLabel ? (a(), Q($(ae), {
2747
2747
  key: 0,
2748
2748
  variant: "primary",
2749
2749
  size: "large",
2750
2750
  "right-icon": "keyboard_arrow_right",
2751
2751
  onClick: c
2752
2752
  }, {
2753
- default: P(() => [
2754
- j(f(e.nextLabel), 1)
2753
+ default: z(() => [
2754
+ Z(f(e.nextLabel), 1)
2755
2755
  ]),
2756
2756
  _: 1
2757
2757
  })) : h("", !0),
2758
- i.value && e.finalStepLabel ? (a(), Q(S(ae), {
2758
+ n.value && e.finalStepLabel ? (a(), Q($(ae), {
2759
2759
  key: 1,
2760
2760
  variant: "primary",
2761
2761
  size: "large",
2762
2762
  onClick: b
2763
2763
  }, {
2764
- default: P(() => [
2765
- j(f(e.finalStepLabel), 1)
2764
+ default: z(() => [
2765
+ Z(f(e.finalStepLabel), 1)
2766
2766
  ]),
2767
2767
  _: 1
2768
2768
  })) : h("", !0)
2769
2769
  ]));
2770
2770
  }
2771
- }), oo = /* @__PURE__ */ x(cn, [["__scopeId", "data-v-d6f1e6d7"]]), $t = {
2771
+ }), oo = /* @__PURE__ */ M(ci, [["__scopeId", "data-v-d6f1e6d7"]]), $t = {
2772
2772
  /** Right-to-left: panel pinned to the right edge, ring on its left border. */
2773
2773
  RTL: "rtl",
2774
2774
  /** Left-to-right: panel pinned to the left edge, ring on its right border. */
2775
2775
  LTR: "ltr"
2776
- }, un = ["aria-modal", "aria-labelledby", "aria-label"], fn = {
2776
+ }, ui = ["aria-modal", "aria-labelledby", "aria-label"], fi = {
2777
2777
  key: 1,
2778
2778
  class: "ds-drawer__header"
2779
- }, vn = ["id"], bn = {
2779
+ }, vi = ["id"], bi = {
2780
2780
  key: 0,
2781
2781
  class: "ds-drawer__controls"
2782
- }, yn = {
2782
+ }, yi = {
2783
2783
  key: 0,
2784
2784
  class: "ds-drawer__actions"
2785
- }, mn = ["aria-label"], gn = { class: "ds-drawer__body" }, hn = {
2785
+ }, mi = ["aria-label"], gi = { class: "ds-drawer__body" }, hi = {
2786
2786
  key: 2,
2787
2787
  class: "ds-drawer__footer"
2788
- }, pn = /* @__PURE__ */ O({
2788
+ }, pi = /* @__PURE__ */ x({
2789
2789
  __name: "DsDrawer",
2790
2790
  props: {
2791
2791
  open: Boolean,
@@ -2814,9 +2814,9 @@ const Xe = {
2814
2814
  },
2815
2815
  emits: [te, ut, ft, vt],
2816
2816
  setup(e, { emit: s }) {
2817
- const t = e, d = s, i = V(null);
2817
+ const t = e, d = s, n = V(null);
2818
2818
  let o = null;
2819
- const m = we(), c = $e(), b = g(() => t.title && !m.header ? c : void 0), y = (T) => Math.min(Math.max(T, t.minWidth), Math.max(t.minWidth, t.maxWidth)), u = V(y(t.width));
2819
+ const m = Te(), c = $e(), b = g(() => t.title && !m.header ? c : void 0), y = (w) => Math.min(Math.max(w, t.minWidth), Math.max(t.minWidth, t.maxWidth)), u = V(y(t.width));
2820
2820
  J(
2821
2821
  () => [t.width, t.minWidth, t.maxWidth],
2822
2822
  () => {
@@ -2828,7 +2828,7 @@ const Xe = {
2828
2828
  t.beforeClose && await t.beforeClose() === !1 || d(te);
2829
2829
  }
2830
2830
  let v = !1;
2831
- function $() {
2831
+ function S() {
2832
2832
  if (v) {
2833
2833
  v = !1;
2834
2834
  return;
@@ -2836,84 +2836,84 @@ const Xe = {
2836
2836
  t.fixed && t.closeOnOverlay && r();
2837
2837
  }
2838
2838
  const _ = V(!1);
2839
- let I = 0, k = 0;
2840
- function D(T) {
2841
- const R = T.clientX - I, H = t.direction === $t.RTL ? k - R : k + R;
2842
- return y(H);
2839
+ let R = 0, k = 0;
2840
+ function T(w) {
2841
+ const D = w.clientX - R, F = t.direction === $t.RTL ? k - D : k + D;
2842
+ return y(F);
2843
2843
  }
2844
- function L(T) {
2845
- t.resizable && (_.value = !0, I = T.clientX, k = u.value, document.addEventListener("pointermove", A), document.addEventListener("pointerup", B), document.addEventListener("pointercancel", B), d(ut, u.value));
2844
+ function L(w) {
2845
+ t.resizable && (_.value = !0, R = w.clientX, k = u.value, document.addEventListener("pointermove", B), document.addEventListener("pointerup", j), document.addEventListener("pointercancel", j), d(ut, u.value));
2846
2846
  }
2847
- function A(T) {
2848
- _.value && (u.value = D(T), d(ft, u.value));
2847
+ function B(w) {
2848
+ _.value && (u.value = T(w), d(ft, u.value));
2849
2849
  }
2850
- function B() {
2851
- _.value && (G(), _.value = !1, v = !0, setTimeout(() => v = !1, 0), d(vt, u.value));
2850
+ function j() {
2851
+ _.value && (K(), _.value = !1, v = !0, setTimeout(() => v = !1, 0), d(vt, u.value));
2852
2852
  }
2853
- function G() {
2854
- document.removeEventListener("pointermove", A), document.removeEventListener("pointerup", B), document.removeEventListener("pointercancel", B);
2853
+ function K() {
2854
+ document.removeEventListener("pointermove", B), document.removeEventListener("pointerup", j), document.removeEventListener("pointercancel", j);
2855
2855
  }
2856
- function q() {
2857
- return i.value ? Array.from(i.value.querySelectorAll('a[href], button:not([disabled]), textarea:not([disabled]), input:not([disabled]), select:not([disabled]), [tabindex]:not([tabindex="-1"])')).filter(
2858
- (R) => !R.closest("[hidden]") && R.getAttribute("aria-hidden") !== "true"
2856
+ function A() {
2857
+ return n.value ? Array.from(n.value.querySelectorAll('a[href], button:not([disabled]), textarea:not([disabled]), input:not([disabled]), select:not([disabled]), [tabindex]:not([tabindex="-1"])')).filter(
2858
+ (D) => !D.closest("[hidden]") && D.getAttribute("aria-hidden") !== "true"
2859
2859
  ) : [];
2860
2860
  }
2861
- function Z(T) {
2861
+ function Y(w) {
2862
2862
  var ge;
2863
- if (T.key === "Escape") {
2863
+ if (w.key === "Escape") {
2864
2864
  t.closeOnEscape && r();
2865
2865
  return;
2866
2866
  }
2867
- if (T.key !== "Tab") return;
2868
- const R = q();
2869
- if (R.length === 0) {
2870
- T.preventDefault(), (ge = i.value) == null || ge.focus();
2867
+ if (w.key !== "Tab") return;
2868
+ const D = A();
2869
+ if (D.length === 0) {
2870
+ w.preventDefault(), (ge = n.value) == null || ge.focus();
2871
2871
  return;
2872
2872
  }
2873
- const H = R[0], oe = R[R.length - 1];
2874
- T.shiftKey && document.activeElement === H ? (T.preventDefault(), oe.focus()) : !T.shiftKey && document.activeElement === oe && (T.preventDefault(), H.focus());
2873
+ const F = D[0], oe = D[D.length - 1];
2874
+ w.shiftKey && document.activeElement === F ? (w.preventDefault(), oe.focus()) : !w.shiftKey && document.activeElement === oe && (w.preventDefault(), F.focus());
2875
2875
  }
2876
2876
  function E() {
2877
- o = document.activeElement, document.addEventListener("keydown", Z), document.body.style.overflow = "hidden", ue(() => {
2878
- var T, R;
2879
- return (R = (T = q()[0]) != null ? T : i.value) == null ? void 0 : R.focus();
2877
+ o = document.activeElement, document.addEventListener("keydown", Y), document.body.style.overflow = "hidden", ue(() => {
2878
+ var w, D;
2879
+ return (D = (w = A()[0]) != null ? w : n.value) == null ? void 0 : D.focus();
2880
2880
  });
2881
2881
  }
2882
- function U(T = !0) {
2883
- var R;
2884
- document.removeEventListener("keydown", Z), document.body.style.overflow = "", T && ((R = o == null ? void 0 : o.focus) == null || R.call(o));
2882
+ function N(w = !0) {
2883
+ var D;
2884
+ document.removeEventListener("keydown", Y), document.body.style.overflow = "", w && ((D = o == null ? void 0 : o.focus) == null || D.call(o));
2885
2885
  }
2886
2886
  return J(
2887
2887
  () => t.open && t.fixed,
2888
- (T, R) => {
2889
- typeof document != "undefined" && (T ? E() : R && U());
2888
+ (w, D) => {
2889
+ typeof document != "undefined" && (w ? E() : D && N());
2890
2890
  },
2891
2891
  { immediate: !0 }
2892
2892
  ), re(() => {
2893
- typeof document != "undefined" && (G(), U(!1));
2894
- }), (T, R) => (a(), Q(xe, {
2893
+ typeof document != "undefined" && (K(), N(!1));
2894
+ }), (w, D) => (a(), Q(xe, {
2895
2895
  to: "body",
2896
2896
  disabled: !e.fixed
2897
2897
  }, [
2898
- z(ke, {
2898
+ U(ke, {
2899
2899
  name: `ds-drawer-${e.direction}`
2900
2900
  }, {
2901
- default: P(() => [
2901
+ default: z(() => [
2902
2902
  e.open ? (a(), l("div", {
2903
2903
  key: 0,
2904
2904
  class: C(["ds-drawer", [`ds-drawer--${e.direction}`, { "is-fixed": e.fixed, "is-resizing": _.value }]]),
2905
- onClick: pe($, ["self"])
2905
+ onClick: pe(S, ["self"])
2906
2906
  }, [
2907
- n("aside", {
2907
+ i("aside", {
2908
2908
  ref_key: "panelRef",
2909
- ref: i,
2909
+ ref: n,
2910
2910
  class: "ds-drawer__panel",
2911
2911
  role: "dialog",
2912
2912
  "aria-modal": e.fixed ? "true" : "false",
2913
2913
  "aria-labelledby": b.value,
2914
2914
  "aria-label": b.value ? void 0 : "drawer",
2915
2915
  tabindex: "-1",
2916
- style: W(p.value)
2916
+ style: G(p.value)
2917
2917
  }, [
2918
2918
  e.resizable ? (a(), l("div", {
2919
2919
  key: 0,
@@ -2921,16 +2921,16 @@ const Xe = {
2921
2921
  "aria-hidden": "true",
2922
2922
  onPointerdown: pe(L, ["stop", "prevent"])
2923
2923
  }, null, 32)) : h("", !0),
2924
- e.title || e.showClose || T.$slots.header || T.$slots.actions ? (a(), l("header", fn, [
2925
- N(T.$slots, "header", {}, () => [
2926
- n("h4", {
2927
- id: S(c),
2924
+ e.title || e.showClose || w.$slots.header || w.$slots.actions ? (a(), l("header", fi, [
2925
+ O(w.$slots, "header", {}, () => [
2926
+ i("h4", {
2927
+ id: $(c),
2928
2928
  class: "ds-drawer__title"
2929
- }, f(e.title), 9, vn)
2929
+ }, f(e.title), 9, vi)
2930
2930
  ], !0),
2931
- e.showClose || T.$slots.actions ? (a(), l("div", bn, [
2932
- T.$slots.actions ? (a(), l("div", yn, [
2933
- N(T.$slots, "actions", {}, void 0, !0)
2931
+ e.showClose || w.$slots.actions ? (a(), l("div", bi, [
2932
+ w.$slots.actions ? (a(), l("div", yi, [
2933
+ O(w.$slots, "actions", {}, void 0, !0)
2934
2934
  ])) : h("", !0),
2935
2935
  e.showClose ? (a(), l("button", {
2936
2936
  key: 1,
@@ -2938,28 +2938,28 @@ const Xe = {
2938
2938
  class: "ds-drawer__close",
2939
2939
  "aria-label": e.closeLabel || void 0,
2940
2940
  onClick: r
2941
- }, [...R[0] || (R[0] = [
2942
- n("i", {
2941
+ }, [...D[0] || (D[0] = [
2942
+ i("i", {
2943
2943
  class: "material-symbols-filled",
2944
2944
  "aria-hidden": "true"
2945
2945
  }, "close", -1)
2946
- ])], 8, mn)) : h("", !0)
2946
+ ])], 8, mi)) : h("", !0)
2947
2947
  ])) : h("", !0)
2948
2948
  ])) : h("", !0),
2949
- n("div", gn, [
2950
- N(T.$slots, "default", {}, void 0, !0)
2949
+ i("div", gi, [
2950
+ O(w.$slots, "default", {}, void 0, !0)
2951
2951
  ]),
2952
- T.$slots.footer ? (a(), l("footer", hn, [
2953
- N(T.$slots, "footer", {}, void 0, !0)
2952
+ w.$slots.footer ? (a(), l("footer", hi, [
2953
+ O(w.$slots, "footer", {}, void 0, !0)
2954
2954
  ])) : h("", !0)
2955
- ], 12, un)
2955
+ ], 12, ui)
2956
2956
  ], 2)) : h("", !0)
2957
2957
  ]),
2958
2958
  _: 3
2959
2959
  }, 8, ["name"])
2960
2960
  ], 8, ["disabled"]));
2961
2961
  }
2962
- }), ro = /* @__PURE__ */ x(pn, [["__scopeId", "data-v-b912d1e5"]]), Oe = {
2962
+ }), ro = /* @__PURE__ */ M(pi, [["__scopeId", "data-v-b912d1e5"]]), Be = {
2963
2963
  TOP: "top",
2964
2964
  TOP_START: "top-start",
2965
2965
  TOP_END: "top-end",
@@ -2974,13 +2974,13 @@ const Xe = {
2974
2974
  RIGHT_END: "right-end",
2975
2975
  OVER_START: "over-start",
2976
2976
  OVER_END: "over-end"
2977
- }, kn = ["id"], Sn = ["id"], $n = /* @__PURE__ */ O({
2977
+ }, ki = ["id"], Si = ["id"], $i = /* @__PURE__ */ x({
2978
2978
  __name: "DsPopover",
2979
2979
  props: {
2980
2980
  open: Boolean,
2981
2981
  placement: {
2982
2982
  type: String,
2983
- default: Oe.BOTTOM
2983
+ default: Be.BOTTOM
2984
2984
  },
2985
2985
  // Panel width (any CSS length). Empty = fit content.
2986
2986
  width: { type: String, default: "" },
@@ -2999,104 +2999,114 @@ const Xe = {
2999
2999
  // ancestor with `overflow` other than visible — a table cell, a scroller — which would
3000
3000
  // otherwise clip the panel. Placement, offset and the viewport clamp behave the same.
3001
3001
  // Off = the panel stays inside the root, as before — additive, nothing existing moves.
3002
- teleported: { type: Boolean, default: !1 }
3002
+ teleported: { type: Boolean, default: !1 },
3003
+ // The root and the trigger fill their container instead of hugging the trigger's content
3004
+ // (SALESQL-4056): for a trigger that is a whole surface, like a table cell painted as
3005
+ // clickable end to end. Off = inline, as before.
3006
+ block: { type: Boolean, default: !1 }
3003
3007
  },
3004
- emits: [ie],
3008
+ emits: [ne],
3005
3009
  setup(e, { emit: s }) {
3006
- const t = e, d = s, i = V(null), o = V(null), m = $e(), {
3010
+ const t = e, d = s, n = V(null), o = V(null), m = $e(), {
3007
3011
  shiftStyle: c,
3008
3012
  activate: b,
3009
3013
  deactivate: y
3010
- } = Tt(o, () => t.placement), u = g(() => {
3011
- const B = {
3014
+ } = wt(o, () => t.placement), u = g(() => {
3015
+ const A = {
3012
3016
  ...t.width ? { width: t.width } : {},
3013
3017
  ...t.offset ? { "--ds-popover-offset": t.offset } : {},
3014
3018
  ...c.value
3015
3019
  };
3016
- return Object.keys(B).length > 0 ? B : void 0;
3020
+ return Object.keys(A).length > 0 ? A : void 0;
3017
3021
  }), p = V(null), r = g(() => {
3018
- const B = p.value;
3019
- if (B)
3022
+ const A = p.value;
3023
+ if (A)
3020
3024
  return {
3021
- top: `${B.top}px`,
3022
- left: `${B.left}px`,
3023
- width: `${B.width}px`,
3024
- height: `${B.height}px`
3025
+ top: `${A.top}px`,
3026
+ left: `${A.left}px`,
3027
+ width: `${A.width}px`,
3028
+ height: `${A.height}px`
3025
3029
  };
3026
3030
  });
3027
3031
  function v() {
3028
- var G;
3029
- const B = (G = i.value) == null ? void 0 : G.getBoundingClientRect();
3030
- B && (p.value = { top: B.top, left: B.left, width: B.width, height: B.height });
3031
- }
3032
- function $() {
3033
- v(), window.addEventListener("resize", v), window.addEventListener("scroll", v, { capture: !0, passive: !0 });
3032
+ var Y;
3033
+ const A = (Y = n.value) == null ? void 0 : Y.getBoundingClientRect();
3034
+ A && (p.value = { top: A.top, left: A.left, width: A.width, height: A.height });
3034
3035
  }
3036
+ let S = null;
3035
3037
  function _() {
3036
- window.removeEventListener("resize", v), window.removeEventListener("scroll", v, { capture: !0 });
3038
+ typeof IntersectionObserver == "undefined" || !n.value || (S = new IntersectionObserver((A) => {
3039
+ A.some((Y) => !Y.isIntersecting) && L();
3040
+ }), S.observe(n.value));
3037
3041
  }
3038
- let I = null;
3039
- function k() {
3040
- d(ie, !1);
3042
+ function R() {
3043
+ v(), window.addEventListener("resize", v), window.addEventListener("scroll", v, { capture: !0, passive: !0 }), _();
3041
3044
  }
3042
- function D() {
3043
- t.triggerOnClick && d(ie, !t.open);
3045
+ function k() {
3046
+ window.removeEventListener("resize", v), window.removeEventListener("scroll", v, { capture: !0 }), S == null || S.disconnect(), S = null;
3044
3047
  }
3048
+ let T = null;
3045
3049
  function L() {
3046
- t.closeOnEscape && t.open && k();
3050
+ d(ne, !1);
3051
+ }
3052
+ function B() {
3053
+ t.triggerOnClick && d(ne, !t.open);
3054
+ }
3055
+ function j() {
3056
+ t.closeOnEscape && t.open && L();
3047
3057
  }
3048
- function A(B) {
3049
- var q, Z;
3050
- const G = B.target;
3051
- !G || (q = i.value) != null && q.contains(G) || (Z = o.value) != null && Z.contains(G) || k();
3058
+ function K(A) {
3059
+ var E, N;
3060
+ const Y = A.target;
3061
+ !Y || (E = n.value) != null && E.contains(Y) || (N = o.value) != null && N.contains(Y) || L();
3052
3062
  }
3053
3063
  return J(
3054
3064
  () => t.open,
3055
- (B, G) => {
3056
- var q;
3057
- typeof document != "undefined" && (B ? (I = document.activeElement, t.closeOnOutside && document.addEventListener("mousedown", A), t.teleported && $(), ue(() => {
3058
- var Z, E;
3059
- (E = (Z = o.value) == null ? void 0 : Z.focus) == null || E.call(Z, { preventScroll: !0 }), b();
3060
- })) : G && (document.removeEventListener("mousedown", A), _(), y(), (q = I == null ? void 0 : I.focus) == null || q.call(I, { preventScroll: !0 })));
3065
+ (A, Y) => {
3066
+ var E;
3067
+ typeof document != "undefined" && (A ? (T = document.activeElement, t.closeOnOutside && document.addEventListener("mousedown", K), t.teleported && R(), ue(() => {
3068
+ var N, w;
3069
+ (w = (N = o.value) == null ? void 0 : N.focus) == null || w.call(N, { preventScroll: !0 }), b();
3070
+ })) : Y && (document.removeEventListener("mousedown", K), k(), y(), (E = T == null ? void 0 : T.focus) == null || E.call(T, { preventScroll: !0 })));
3061
3071
  },
3062
3072
  { immediate: !0 }
3063
3073
  ), re(() => {
3064
- typeof document != "undefined" && (document.removeEventListener("mousedown", A), _(), y());
3065
- }), (B, G) => (a(), l("div", {
3074
+ typeof document != "undefined" && (document.removeEventListener("mousedown", K), k(), y());
3075
+ }), (A, Y) => (a(), l("div", {
3066
3076
  ref_key: "rootRef",
3067
- ref: i,
3068
- class: "ds-popover",
3069
- onKeydown: We(L, ["esc"])
3077
+ ref: n,
3078
+ class: C(["ds-popover", { "ds-popover--block": e.block }]),
3079
+ onKeydown: We(j, ["esc"])
3070
3080
  }, [
3071
- n("div", {
3081
+ i("div", {
3072
3082
  class: "ds-popover__trigger",
3073
- onClick: D
3083
+ onClick: B
3074
3084
  }, [
3075
- N(B.$slots, "trigger", {}, void 0, !0)
3085
+ O(A.$slots, "trigger", {}, void 0, !0)
3076
3086
  ]),
3077
3087
  e.teleported ? (a(), Q(xe, {
3078
3088
  key: 0,
3079
3089
  to: "body"
3080
3090
  }, [
3081
- z(ke, { name: "ds-popover-fade" }, {
3082
- default: P(() => [
3091
+ U(ke, { name: "ds-popover-fade" }, {
3092
+ default: z(() => [
3083
3093
  e.open ? (a(), l("div", {
3084
3094
  key: 0,
3085
3095
  class: "ds-popover__anchor",
3086
- style: W(r.value),
3087
- onKeydown: We(L, ["esc"])
3096
+ style: G(r.value),
3097
+ onKeydown: We(j, ["esc"])
3088
3098
  }, [
3089
- n("div", {
3090
- id: S(m),
3099
+ i("div", {
3100
+ id: $(m),
3091
3101
  ref_key: "panelRef",
3092
3102
  ref: o,
3093
3103
  class: C(["ds-popover__panel", [`ds-popover__panel--${e.placement}`, { "is-flush": e.flush }]]),
3094
3104
  role: "dialog",
3095
3105
  tabindex: "-1",
3096
- style: W(u.value)
3106
+ style: G(u.value)
3097
3107
  }, [
3098
- N(B.$slots, "default", {}, void 0, !0)
3099
- ], 14, kn)
3108
+ O(A.$slots, "default", {}, void 0, !0)
3109
+ ], 14, ki)
3100
3110
  ], 36)) : h("", !0)
3101
3111
  ]),
3102
3112
  _: 3
@@ -3105,29 +3115,29 @@ const Xe = {
3105
3115
  key: 1,
3106
3116
  name: "ds-popover-fade"
3107
3117
  }, {
3108
- default: P(() => [
3118
+ default: z(() => [
3109
3119
  e.open ? (a(), l("div", {
3110
3120
  key: 0,
3111
- id: S(m),
3121
+ id: $(m),
3112
3122
  ref_key: "panelRef",
3113
3123
  ref: o,
3114
3124
  class: C(["ds-popover__panel", [`ds-popover__panel--${e.placement}`, { "is-flush": e.flush }]]),
3115
3125
  role: "dialog",
3116
3126
  tabindex: "-1",
3117
- style: W(u.value)
3127
+ style: G(u.value)
3118
3128
  }, [
3119
- N(B.$slots, "default", {}, void 0, !0)
3120
- ], 14, Sn)) : h("", !0)
3129
+ O(A.$slots, "default", {}, void 0, !0)
3130
+ ], 14, Si)) : h("", !0)
3121
3131
  ]),
3122
3132
  _: 3
3123
3133
  }))
3124
- ], 544));
3134
+ ], 34));
3125
3135
  }
3126
- }), ze = /* @__PURE__ */ x($n, [["__scopeId", "data-v-06a40603"]]), _n = ["src"], Ln = {
3136
+ }), ze = /* @__PURE__ */ M($i, [["__scopeId", "data-v-16d43fc7"]]), _i = ["src"], Li = {
3127
3137
  key: 1,
3128
3138
  class: "ds-company-logo__initial",
3129
3139
  "aria-hidden": "true"
3130
- }, En = /* @__PURE__ */ O({
3140
+ }, Ei = /* @__PURE__ */ x({
3131
3141
  __name: "DsCompanyLogo",
3132
3142
  props: {
3133
3143
  src: { type: String, default: "" },
@@ -3140,13 +3150,13 @@ const Xe = {
3140
3150
  () => s.src,
3141
3151
  () => t.value = !1
3142
3152
  );
3143
- const d = g(() => (s.name || "?").slice(0, 1)), i = g(() => ({ width: `${s.size}px`, height: `${s.size}px` })), o = g(() => {
3153
+ const d = g(() => (s.name || "?").slice(0, 1)), n = g(() => ({ width: `${s.size}px`, height: `${s.size}px` })), o = g(() => {
3144
3154
  const m = `${Math.round(s.size * 0.61)}px`;
3145
3155
  return { width: m, height: m };
3146
3156
  });
3147
3157
  return (m, c) => (a(), l("span", {
3148
3158
  class: "ds-company-logo",
3149
- style: W(i.value)
3159
+ style: G(n.value)
3150
3160
  }, [
3151
3161
  e.src && !t.value ? (a(), l("img", {
3152
3162
  key: 0,
@@ -3154,18 +3164,18 @@ const Xe = {
3154
3164
  src: e.src,
3155
3165
  alt: "",
3156
3166
  loading: "lazy",
3157
- style: W(o.value),
3167
+ style: G(o.value),
3158
3168
  onError: c[0] || (c[0] = (b) => t.value = !0)
3159
- }, null, 44, _n)) : (a(), l("span", Ln, f(d.value), 1))
3169
+ }, null, 44, _i)) : (a(), l("span", Li, f(d.value), 1))
3160
3170
  ], 4));
3161
3171
  }
3162
- }), Tn = /* @__PURE__ */ x(En, [["__scopeId", "data-v-a390b894"]]), wn = { class: "ds-company-card" }, Cn = { class: "ds-company-card__header" }, In = { class: "ds-company-card__name" }, Dn = ["href", "aria-label"], Rn = ["href", "aria-label"], An = {
3172
+ }), wi = /* @__PURE__ */ M(Ei, [["__scopeId", "data-v-541b2e2e"]]), Ti = { class: "ds-company-card" }, Ci = { class: "ds-company-card__header" }, Ii = { class: "ds-company-card__name" }, Di = ["href", "aria-label"], Ri = ["href", "aria-label"], Ai = {
3163
3173
  class: "material-symbols-filled ds-company-card__row-icon",
3164
3174
  "aria-hidden": "true"
3165
- }, Nn = { class: "ds-company-card__row-text" }, Bn = { class: "ds-company-card__row-label" }, On = ["href"], xn = {
3175
+ }, Ni = { class: "ds-company-card__row-text" }, Oi = { class: "ds-company-card__row-label" }, Bi = ["href"], xi = {
3166
3176
  key: 1,
3167
3177
  class: "ds-company-card__row-value"
3168
- }, Mn = /* @__PURE__ */ O({
3178
+ }, Mi = /* @__PURE__ */ x({
3169
3179
  __name: "DsCompanyCard",
3170
3180
  props: {
3171
3181
  name: { type: String, required: !0 },
@@ -3178,32 +3188,32 @@ const Xe = {
3178
3188
  },
3179
3189
  setup(e) {
3180
3190
  const s = e, t = g(() => s.details.filter((d) => d.value));
3181
- return (d, i) => (a(), l("div", wn, [
3182
- n("div", Cn, [
3183
- z(Tn, {
3191
+ return (d, n) => (a(), l("div", Ti, [
3192
+ i("div", Ci, [
3193
+ U(wi, {
3184
3194
  src: e.logo,
3185
3195
  name: e.name,
3186
3196
  size: 34
3187
3197
  }, null, 8, ["src", "name"]),
3188
- n("span", In, f(e.name), 1),
3198
+ i("span", Ii, f(e.name), 1),
3189
3199
  e.websiteUrl ? (a(), Q(Pe, {
3190
3200
  key: 0,
3191
3201
  content: e.websiteLabel,
3192
- placement: S(Xe).BOTTOM
3202
+ placement: $(Xe).BOTTOM
3193
3203
  }, {
3194
- default: P(() => [
3195
- n("a", {
3204
+ default: z(() => [
3205
+ i("a", {
3196
3206
  class: "ds-company-card__website",
3197
3207
  href: e.websiteUrl,
3198
3208
  target: "_blank",
3199
3209
  rel: "noopener noreferrer",
3200
3210
  "aria-label": e.websiteLabel || void 0
3201
- }, [...i[0] || (i[0] = [
3202
- n("i", {
3211
+ }, [...n[0] || (n[0] = [
3212
+ i("i", {
3203
3213
  class: "material-symbols-filled",
3204
3214
  "aria-hidden": "true"
3205
3215
  }, "language", -1)
3206
- ])], 8, Dn)
3216
+ ])], 8, Di)
3207
3217
  ]),
3208
3218
  _: 1
3209
3219
  }, 8, ["content", "placement"])) : h("", !0),
@@ -3214,46 +3224,46 @@ const Xe = {
3214
3224
  target: "_blank",
3215
3225
  rel: "noopener noreferrer",
3216
3226
  "aria-label": e.linkedinLabel || void 0
3217
- }, "in", 8, Rn)) : h("", !0)
3227
+ }, "in", 8, Ri)) : h("", !0)
3218
3228
  ]),
3219
- (a(!0), l(F, null, X(t.value, (o) => (a(), l("div", {
3229
+ (a(!0), l(q, null, X(t.value, (o) => (a(), l("div", {
3220
3230
  key: o.id,
3221
3231
  class: "ds-company-card__row"
3222
3232
  }, [
3223
- n("i", An, f(o.icon), 1),
3224
- n("div", Nn, [
3225
- n("div", Bn, f(o.label), 1),
3233
+ i("i", Ai, f(o.icon), 1),
3234
+ i("div", Ni, [
3235
+ i("div", Oi, f(o.label), 1),
3226
3236
  o.href ? (a(), l("a", {
3227
3237
  key: 0,
3228
3238
  class: "ds-company-card__row-value is-link",
3229
3239
  href: o.href,
3230
3240
  target: "_blank",
3231
3241
  rel: "noopener noreferrer"
3232
- }, f(o.value), 9, On)) : (a(), l("div", xn, f(o.value), 1))
3242
+ }, f(o.value), 9, Bi)) : (a(), l("div", xi, f(o.value), 1))
3233
3243
  ])
3234
3244
  ]))), 128))
3235
3245
  ]));
3236
3246
  }
3237
- }), co = /* @__PURE__ */ x(Mn, [["__scopeId", "data-v-de55a420"]]), Qe = {
3247
+ }), co = /* @__PURE__ */ M(Mi, [["__scopeId", "data-v-52b44ae8"]]), Qe = {
3238
3248
  EMAIL: "email",
3239
3249
  PHONE: "phone"
3240
- }, Te = {
3250
+ }, we = {
3241
3251
  WORK: "work",
3242
3252
  DIRECT: "direct",
3243
3253
  MOBILE: "mobile",
3244
3254
  HQ: "hq",
3245
3255
  OTHER: "other"
3246
3256
  }, Ct = {
3247
- [Te.WORK]: "business_center",
3248
- [Te.DIRECT]: "mail",
3249
- [Te.MOBILE]: "call",
3250
- [Te.HQ]: "corporate_fare",
3251
- [Te.OTHER]: "alternate_email"
3257
+ [we.WORK]: "business_center",
3258
+ [we.DIRECT]: "mail",
3259
+ [we.MOBILE]: "call",
3260
+ [we.HQ]: "corporate_fare",
3261
+ [we.OTHER]: "alternate_email"
3252
3262
  }, _t = ["*", "•", "."];
3253
- function Pn(e) {
3263
+ function Pi(e) {
3254
3264
  return e > 1 ? e - 1 : 0;
3255
3265
  }
3256
- function zn(e, s, t) {
3266
+ function zi(e, s, t) {
3257
3267
  const d = e[e.length - 1];
3258
3268
  if (d && d.masked === t) {
3259
3269
  d.text += s;
@@ -3261,27 +3271,27 @@ function zn(e, s, t) {
3261
3271
  }
3262
3272
  e.push({ text: s, masked: t });
3263
3273
  }
3264
- function Un(e, s) {
3274
+ function Ui(e, s) {
3265
3275
  if (!e) return [];
3266
3276
  if (s === Qe.EMAIL) {
3267
- const i = e.indexOf("@");
3268
- return i <= 0 ? [{ text: e, masked: !0 }] : [
3269
- { text: e.slice(0, i), masked: !0 },
3270
- { text: e.slice(i), masked: !1 }
3277
+ const n = e.indexOf("@");
3278
+ return n <= 0 ? [{ text: e, masked: !0 }] : [
3279
+ { text: e.slice(0, n), masked: !0 },
3280
+ { text: e.slice(n), masked: !1 }
3271
3281
  ];
3272
3282
  }
3273
3283
  const t = [];
3274
3284
  let d = 0;
3275
3285
  for (; d < e.length; ) {
3276
- const i = _t.includes(e[d]);
3286
+ const n = _t.includes(e[d]);
3277
3287
  let o = d;
3278
- for (; o < e.length && _t.includes(e[o]) === i; ) o += 1;
3288
+ for (; o < e.length && _t.includes(e[o]) === n; ) o += 1;
3279
3289
  const m = e.slice(d, o);
3280
- zn(t, m, i && m !== "."), d = o;
3290
+ zi(t, m, n && m !== "."), d = o;
3281
3291
  }
3282
3292
  return t;
3283
3293
  }
3284
- const Vn = ["title"], qn = /* @__PURE__ */ O({
3294
+ const Vi = ["title"], qi = /* @__PURE__ */ x({
3285
3295
  __name: "DsMaskedValue",
3286
3296
  props: {
3287
3297
  value: { type: String, required: !0 },
@@ -3290,24 +3300,24 @@ const Vn = ["title"], qn = /* @__PURE__ */ O({
3290
3300
  },
3291
3301
  setup(e) {
3292
3302
  const s = e, t = g(
3293
- () => s.masked ? Un(s.value, s.kind) : []
3303
+ () => s.masked ? Ui(s.value, s.kind) : []
3294
3304
  ), d = /^\*+$/;
3295
- function i(o) {
3305
+ function n(o) {
3296
3306
  return o.masked ? ["ds-masked-value__mask", d.test(o.text) ? "is-asterisks" : "is-dots"] : ["ds-masked-value__clear"];
3297
3307
  }
3298
3308
  return (o, m) => (a(), l("span", {
3299
3309
  class: C(["ds-masked-value", { "is-masked": e.masked }]),
3300
3310
  title: e.masked ? void 0 : e.value
3301
3311
  }, [
3302
- e.masked ? (a(!0), l(F, { key: 0 }, X(t.value, (c, b) => (a(), l("span", {
3312
+ e.masked ? (a(!0), l(q, { key: 0 }, X(t.value, (c, b) => (a(), l("span", {
3303
3313
  key: b,
3304
- class: C(i(c))
3305
- }, f(c.text), 3))), 128)) : (a(), l(F, { key: 1 }, [
3306
- j(f(e.value), 1)
3314
+ class: C(n(c))
3315
+ }, f(c.text), 3))), 128)) : (a(), l(q, { key: 1 }, [
3316
+ Z(f(e.value), 1)
3307
3317
  ], 64))
3308
- ], 10, Vn));
3318
+ ], 10, Vi));
3309
3319
  }
3310
- }), It = /* @__PURE__ */ x(qn, [["__scopeId", "data-v-4e464c09"]]), Fn = ["aria-label", "tabindex"], Gn = /* @__PURE__ */ O({
3320
+ }), It = /* @__PURE__ */ M(qi, [["__scopeId", "data-v-4e464c09"]]), Fi = ["aria-label", "tabindex"], Gi = /* @__PURE__ */ x({
3311
3321
  __name: "DsDeliverabilityBadge",
3312
3322
  props: {
3313
3323
  label: { type: String, required: !0 },
@@ -3322,23 +3332,23 @@ const Vn = ["title"], qn = /* @__PURE__ */ O({
3322
3332
  focusable: { type: Boolean, default: !0 }
3323
3333
  },
3324
3334
  setup(e) {
3325
- return (s, t) => (a(), Q(S(Pe), {
3335
+ return (s, t) => (a(), Q($(Pe), {
3326
3336
  class: "ds-deliverability-badge",
3327
3337
  content: e.tooltip,
3328
3338
  placement: e.placement
3329
3339
  }, {
3330
- default: P(() => [
3331
- n("span", {
3340
+ default: z(() => [
3341
+ i("span", {
3332
3342
  class: "ds-deliverability-badge__glyph",
3333
3343
  role: "img",
3334
3344
  "aria-label": e.tooltip,
3335
3345
  tabindex: e.focusable ? 0 : void 0
3336
- }, f(e.label), 9, Fn)
3346
+ }, f(e.label), 9, Fi)
3337
3347
  ]),
3338
3348
  _: 1
3339
3349
  }, 8, ["content", "placement"]));
3340
3350
  }
3341
- }), Dt = /* @__PURE__ */ x(Gn, [["__scopeId", "data-v-5e908c13"]]), Hn = ["aria-label"], Wn = /* @__PURE__ */ O({
3351
+ }), Dt = /* @__PURE__ */ M(Gi, [["__scopeId", "data-v-5e908c13"]]), Hi = ["aria-label"], Wi = /* @__PURE__ */ x({
3342
3352
  __name: "DsMoreCountChip",
3343
3353
  props: {
3344
3354
  overflow: { type: Number, required: !0 },
@@ -3350,21 +3360,21 @@ const Vn = ["title"], qn = /* @__PURE__ */ O({
3350
3360
  key: 0,
3351
3361
  class: C(["ds-more-count-chip", { "is-active": e.active }]),
3352
3362
  "aria-label": e.label || void 0
3353
- }, "+" + f(e.overflow), 11, Hn)) : h("", !0);
3363
+ }, "+" + f(e.overflow), 11, Hi)) : h("", !0);
3354
3364
  }
3355
- }), Rt = /* @__PURE__ */ x(Wn, [["__scopeId", "data-v-583db8f3"]]), Kn = { class: "ds-contact-list" }, Yn = {
3365
+ }), Rt = /* @__PURE__ */ M(Wi, [["__scopeId", "data-v-583db8f3"]]), Ki = { class: "ds-contact-list" }, Yi = {
3356
3366
  key: 0,
3357
3367
  class: "ds-contact-list__header"
3358
- }, jn = {
3368
+ }, ji = {
3359
3369
  key: 0,
3360
3370
  class: "ds-contact-list__title"
3361
- }, Zn = {
3371
+ }, Zi = {
3362
3372
  key: 1,
3363
3373
  class: "ds-contact-list__count"
3364
- }, Xn = { class: "ds-contact-list__actions" }, Qn = {
3374
+ }, Xi = { class: "ds-contact-list__actions" }, Qi = {
3365
3375
  key: 1,
3366
3376
  class: "ds-contact-list__empty"
3367
- }, Jn = {
3377
+ }, Ji = {
3368
3378
  key: 0,
3369
3379
  class: "ds-contact-list__section"
3370
3380
  }, es = ["aria-label"], ts = {
@@ -3374,10 +3384,10 @@ const Vn = ["title"], qn = /* @__PURE__ */ O({
3374
3384
  }, as = { class: "ds-contact-list__value-wrap" }, ls = {
3375
3385
  key: 1,
3376
3386
  class: "ds-contact-list__row-actions"
3377
- }, is = ["aria-label", "title", "onClick"], ns = {
3387
+ }, ns = ["aria-label", "title", "onClick"], is = {
3378
3388
  class: "material-symbols-filled",
3379
3389
  "aria-hidden": "true"
3380
- }, ss = ["aria-label", "aria-pressed", "title", "onClick"], os = ["aria-label", "aria-pressed", "title", "onClick"], ds = /* @__PURE__ */ O({
3390
+ }, ss = ["aria-label", "aria-pressed", "title", "onClick"], os = ["aria-label", "aria-pressed", "title", "onClick"], ds = /* @__PURE__ */ x({
3381
3391
  __name: "DsContactList",
3382
3392
  props: {
3383
3393
  items: { type: Array, default: () => [] },
@@ -3400,19 +3410,19 @@ const Vn = ["title"], qn = /* @__PURE__ */ O({
3400
3410
  },
3401
3411
  emits: [be, ye, me],
3402
3412
  setup(e, { emit: s }) {
3403
- const t = e, d = s, i = g(() => t.sections.length ? t.sections.filter((r) => r.items.length > 0).map((r, v) => ({
3413
+ const t = e, d = s, n = g(() => t.sections.length ? t.sections.filter((r) => r.items.length > 0).map((r, v) => ({
3404
3414
  key: `${r.type}-${v}`,
3405
3415
  label: r.label,
3406
3416
  type: r.type,
3407
3417
  items: r.items
3408
- })) : t.items.length ? [{ key: "group", label: "", type: t.type, items: t.items }] : []), o = g(() => i.value.reduce((r, v) => r + v.items.length, 0));
3418
+ })) : t.items.length ? [{ key: "group", label: "", type: t.type, items: t.items }] : []), o = g(() => n.value.reduce((r, v) => r + v.items.length, 0));
3409
3419
  function m(r) {
3410
3420
  return t.kind === Qe.EMAIL && r.valid;
3411
3421
  }
3412
3422
  function c(r, v) {
3413
3423
  var _;
3414
- const $ = (_ = r.type) != null ? _ : v.type;
3415
- return $ ? Ct[$] : "";
3424
+ const S = (_ = r.type) != null ? _ : v.type;
3425
+ return S ? Ct[S] : "";
3416
3426
  }
3417
3427
  function b(r) {
3418
3428
  var v;
@@ -3426,39 +3436,39 @@ const Vn = ["title"], qn = /* @__PURE__ */ O({
3426
3436
  y.value = null;
3427
3437
  }, 1200), d(be, r);
3428
3438
  }
3429
- return re(() => clearTimeout(u)), (r, v) => (a(), l("div", Kn, [
3430
- e.title || r.$slots.actions ? (a(), l("div", Yn, [
3431
- e.title ? (a(), l("span", jn, f(e.title), 1)) : h("", !0),
3432
- e.title ? (a(), l("span", Zn, "(" + f(o.value) + ")", 1)) : h("", !0),
3433
- n("span", Xn, [
3434
- N(r.$slots, "actions", {}, void 0, !0)
3439
+ return re(() => clearTimeout(u)), (r, v) => (a(), l("div", Ki, [
3440
+ e.title || r.$slots.actions ? (a(), l("div", Yi, [
3441
+ e.title ? (a(), l("span", ji, f(e.title), 1)) : h("", !0),
3442
+ e.title ? (a(), l("span", Zi, "(" + f(o.value) + ")", 1)) : h("", !0),
3443
+ i("span", Xi, [
3444
+ O(r.$slots, "actions", {}, void 0, !0)
3435
3445
  ])
3436
3446
  ])) : h("", !0),
3437
- !o.value && e.emptyLabel ? (a(), l("p", Qn, f(e.emptyLabel), 1)) : h("", !0),
3438
- (a(!0), l(F, null, X(i.value, ($) => (a(), l(F, {
3439
- key: $.key
3447
+ !o.value && e.emptyLabel ? (a(), l("p", Qi, f(e.emptyLabel), 1)) : h("", !0),
3448
+ (a(!0), l(q, null, X(n.value, (S) => (a(), l(q, {
3449
+ key: S.key
3440
3450
  }, [
3441
- $.label ? (a(), l("p", Jn, f($.label) + " (" + f($.items.length) + ") ", 1)) : h("", !0),
3442
- n("ul", {
3451
+ S.label ? (a(), l("p", Ji, f(S.label) + " (" + f(S.items.length) + ") ", 1)) : h("", !0),
3452
+ i("ul", {
3443
3453
  class: "ds-contact-list__items",
3444
3454
  role: "list",
3445
- "aria-label": $.label || void 0
3455
+ "aria-label": S.label || void 0
3446
3456
  }, [
3447
- (a(!0), l(F, null, X($.items, (_) => {
3448
- var I;
3457
+ (a(!0), l(q, null, X(S.items, (_) => {
3458
+ var R;
3449
3459
  return a(), l("li", {
3450
- key: (I = _.id) != null ? I : _.value,
3460
+ key: (R = _.id) != null ? R : _.value,
3451
3461
  class: C(["ds-contact-list__item", { "is-primary": _.primary, "is-masked": _.masked }])
3452
3462
  }, [
3453
- c(_, $) ? (a(), l("i", ts, f(c(_, $)), 1)) : h("", !0),
3454
- n("span", as, [
3455
- z(S(It), {
3463
+ c(_, S) ? (a(), l("i", ts, f(c(_, S)), 1)) : h("", !0),
3464
+ i("span", as, [
3465
+ U($(It), {
3456
3466
  class: "ds-contact-list__value",
3457
3467
  value: _.value,
3458
3468
  kind: e.kind,
3459
3469
  masked: _.masked
3460
3470
  }, null, 8, ["value", "kind", "masked"]),
3461
- m(_) ? (a(), Q(S(Dt), {
3471
+ m(_) ? (a(), Q($(Dt), {
3462
3472
  key: 0,
3463
3473
  label: e.badgeLabel,
3464
3474
  tooltip: e.badgeTooltip,
@@ -3466,40 +3476,40 @@ const Vn = ["title"], qn = /* @__PURE__ */ O({
3466
3476
  }, null, 8, ["label", "tooltip"])) : h("", !0)
3467
3477
  ]),
3468
3478
  _.masked ? h("", !0) : (a(), l("span", ls, [
3469
- n("button", {
3479
+ i("button", {
3470
3480
  type: "button",
3471
3481
  class: C(["ds-contact-list__action", { "is-copied": y.value === b(_) }]),
3472
3482
  "aria-label": y.value === b(_) ? e.copiedLabel : e.copyLabel,
3473
3483
  title: y.value === b(_) ? e.copiedLabel : e.copyLabel,
3474
3484
  onClick: (k) => p(_)
3475
3485
  }, [
3476
- n("i", ns, f(y.value === b(_) ? "check" : "content_copy"), 1)
3477
- ], 10, is),
3478
- e.showRate ? (a(), l(F, { key: 0 }, [
3479
- n("button", {
3486
+ i("i", is, f(y.value === b(_) ? "check" : "content_copy"), 1)
3487
+ ], 10, ns),
3488
+ e.showRate ? (a(), l(q, { key: 0 }, [
3489
+ i("button", {
3480
3490
  type: "button",
3481
3491
  class: C(["ds-contact-list__action", { "is-on": _.rating === !0 }]),
3482
3492
  "aria-label": e.correctLabel,
3483
3493
  "aria-pressed": _.rating === !0,
3484
3494
  title: e.correctLabel,
3485
- onClick: (k) => d(S(ye), _)
3495
+ onClick: (k) => d($(ye), _)
3486
3496
  }, [
3487
- n("i", {
3497
+ i("i", {
3488
3498
  class: C(
3489
3499
  _.rating === !0 ? "material-symbols-filled" : "material-symbols-rounded"
3490
3500
  ),
3491
3501
  "aria-hidden": "true"
3492
3502
  }, "thumb_up", 2)
3493
3503
  ], 10, ss),
3494
- n("button", {
3504
+ i("button", {
3495
3505
  type: "button",
3496
3506
  class: C(["ds-contact-list__action", { "is-on": _.rating === !1 }]),
3497
3507
  "aria-label": e.incorrectLabel,
3498
3508
  "aria-pressed": _.rating === !1,
3499
3509
  title: e.incorrectLabel,
3500
- onClick: (k) => d(S(me), _)
3510
+ onClick: (k) => d($(me), _)
3501
3511
  }, [
3502
- n("i", {
3512
+ i("i", {
3503
3513
  class: C(
3504
3514
  _.rating === !1 ? "material-symbols-filled" : "material-symbols-rounded"
3505
3515
  ),
@@ -3514,14 +3524,14 @@ const Vn = ["title"], qn = /* @__PURE__ */ O({
3514
3524
  ], 64))), 128))
3515
3525
  ]));
3516
3526
  }
3517
- }), rs = /* @__PURE__ */ x(ds, [["__scopeId", "data-v-97c7a4ae"]]), cs = ["aria-haspopup", "aria-expanded"], us = {
3527
+ }), rs = /* @__PURE__ */ M(ds, [["__scopeId", "data-v-97c7a4ae"]]), cs = ["aria-haspopup", "aria-expanded"], us = {
3518
3528
  key: 0,
3519
3529
  class: "material-symbols-filled ds-contact-cell__icon",
3520
3530
  "aria-hidden": "true"
3521
3531
  }, fs = { class: "ds-contact-cell__value-wrap" }, vs = {
3522
3532
  key: 1,
3523
3533
  class: "ds-contact-cell__empty"
3524
- }, bs = /* @__PURE__ */ O({
3534
+ }, bs = /* @__PURE__ */ x({
3525
3535
  __name: "DsContactCell",
3526
3536
  props: {
3527
3537
  items: { type: Array, required: !0 },
@@ -3542,7 +3552,7 @@ const Vn = ["title"], qn = /* @__PURE__ */ O({
3542
3552
  disabled: { type: Boolean, default: !1 },
3543
3553
  placement: {
3544
3554
  type: String,
3545
- default: Oe.OVER_START
3555
+ default: Be.OVER_START
3546
3556
  // export TypedCell: over the cell, `top: −8`
3547
3557
  },
3548
3558
  // Contract §3.5: ¼ of the cell's width to the right.
@@ -3556,51 +3566,51 @@ const Vn = ["title"], qn = /* @__PURE__ */ O({
3556
3566
  correctLabel: { type: String, default: "Correct" },
3557
3567
  incorrectLabel: { type: String, default: "Incorrect" }
3558
3568
  },
3559
- emits: [ie, be, ye, me],
3569
+ emits: [ne, be, ye, me],
3560
3570
  setup(e, { emit: s }) {
3561
- const t = e, d = s, i = V(!1), o = V(!1), m = g(() => {
3571
+ const t = e, d = s, n = V(!1), o = V(!1), m = g(() => {
3562
3572
  var L;
3563
3573
  return (L = t.items[0]) != null ? L : null;
3564
- }), c = g(() => !t.disabled && t.items.length > 0), b = g(() => c.value && i.value), y = g(() => {
3574
+ }), c = g(() => !t.disabled && t.items.length > 0), b = g(() => c.value && n.value), y = g(() => {
3565
3575
  var L;
3566
- return Pn((L = t.count) != null ? L : t.items.length);
3576
+ return Pi((L = t.count) != null ? L : t.items.length);
3567
3577
  }), u = g(
3568
3578
  () => !!m.value && t.kind === Qe.EMAIL && m.value.valid
3569
3579
  ), p = g(() => t.type ? Ct[t.type] : "");
3570
3580
  let r;
3571
3581
  function v(L) {
3572
- i.value !== L && (i.value = L, d(ie, L));
3582
+ n.value !== L && (n.value = L, d(ne, L));
3573
3583
  }
3574
- function $() {
3584
+ function S() {
3575
3585
  c.value && (clearTimeout(r), o.value || v(!0));
3576
3586
  }
3577
3587
  function _() {
3578
3588
  !c.value || o.value || (clearTimeout(r), r = setTimeout(() => v(!1), t.leaveDelay));
3579
3589
  }
3580
- function I() {
3590
+ function R() {
3581
3591
  c.value && (clearTimeout(r), o.value ? (o.value = !1, v(!1)) : (o.value = !0, v(!0)));
3582
3592
  }
3583
3593
  function k(L) {
3584
3594
  L || (o.value = !1, clearTimeout(r), v(!1));
3585
3595
  }
3586
- function D(L) {
3587
- L.key !== "Escape" || !i.value || (o.value = !1, v(!1));
3596
+ function T(L) {
3597
+ L.key !== "Escape" || !n.value || (o.value = !1, v(!1));
3588
3598
  }
3589
- return J(i, (L) => {
3590
- typeof document != "undefined" && (L ? document.addEventListener("keydown", D) : document.removeEventListener("keydown", D));
3599
+ return J(n, (L) => {
3600
+ typeof document != "undefined" && (L ? document.addEventListener("keydown", T) : document.removeEventListener("keydown", T));
3591
3601
  }), re(() => {
3592
- clearTimeout(r), typeof document != "undefined" && document.removeEventListener("keydown", D);
3593
- }), (L, A) => (a(), l("div", {
3602
+ clearTimeout(r), typeof document != "undefined" && document.removeEventListener("keydown", T);
3603
+ }), (L, B) => (a(), l("div", {
3594
3604
  class: C(["ds-contact-cell", {
3595
3605
  "is-open": b.value,
3596
3606
  "is-pinned": o.value,
3597
3607
  "is-empty": !m.value,
3598
3608
  "is-disabled": e.disabled
3599
3609
  }]),
3600
- onMouseenter: $,
3610
+ onMouseenter: S,
3601
3611
  onMouseleave: _
3602
3612
  }, [
3603
- z(S(ze), {
3613
+ U($(ze), {
3604
3614
  open: b.value,
3605
3615
  placement: e.placement,
3606
3616
  offset: e.offset,
@@ -3609,31 +3619,31 @@ const Vn = ["title"], qn = /* @__PURE__ */ O({
3609
3619
  "trigger-on-click": !1,
3610
3620
  "onUpdate:open": k
3611
3621
  }, {
3612
- trigger: P(() => [
3613
- n("button", {
3622
+ trigger: z(() => [
3623
+ i("button", {
3614
3624
  type: "button",
3615
3625
  class: "ds-contact-cell__trigger",
3616
3626
  "aria-haspopup": c.value ? "dialog" : void 0,
3617
3627
  "aria-expanded": c.value ? b.value : void 0,
3618
- onClick: I
3628
+ onClick: R
3619
3629
  }, [
3620
- m.value ? (a(), l(F, { key: 0 }, [
3630
+ m.value ? (a(), l(q, { key: 0 }, [
3621
3631
  p.value ? (a(), l("i", us, f(p.value), 1)) : h("", !0),
3622
- n("span", fs, [
3623
- z(S(It), {
3632
+ i("span", fs, [
3633
+ U($(It), {
3624
3634
  class: "ds-contact-cell__value",
3625
3635
  value: m.value.value,
3626
3636
  kind: e.kind,
3627
3637
  masked: m.value.masked
3628
3638
  }, null, 8, ["value", "kind", "masked"]),
3629
- u.value ? (a(), Q(S(Dt), {
3639
+ u.value ? (a(), Q($(Dt), {
3630
3640
  key: 0,
3631
3641
  label: e.badgeLabel,
3632
3642
  tooltip: e.badgeTooltip,
3633
3643
  focusable: !1
3634
3644
  }, null, 8, ["label", "tooltip"])) : h("", !0)
3635
3645
  ]),
3636
- z(S(Rt), {
3646
+ U($(Rt), {
3637
3647
  overflow: y.value,
3638
3648
  active: b.value,
3639
3649
  label: e.moreLabel
@@ -3641,8 +3651,8 @@ const Vn = ["title"], qn = /* @__PURE__ */ O({
3641
3651
  ], 64)) : (a(), l("span", vs, f(e.emptyLabel), 1))
3642
3652
  ], 8, cs)
3643
3653
  ]),
3644
- default: P(() => [
3645
- z(S(rs), {
3654
+ default: z(() => [
3655
+ U($(rs), {
3646
3656
  items: e.items,
3647
3657
  sections: e.sections,
3648
3658
  kind: e.kind,
@@ -3655,14 +3665,14 @@ const Vn = ["title"], qn = /* @__PURE__ */ O({
3655
3665
  "copied-label": e.copiedLabel,
3656
3666
  "correct-label": e.correctLabel,
3657
3667
  "incorrect-label": e.incorrectLabel,
3658
- onCopy: A[0] || (A[0] = (B) => d(S(be), B)),
3659
- onCorrect: A[1] || (A[1] = (B) => d(S(ye), B)),
3660
- onIncorrect: A[2] || (A[2] = (B) => d(S(me), B))
3668
+ onCopy: B[0] || (B[0] = (j) => d($(be), j)),
3669
+ onCorrect: B[1] || (B[1] = (j) => d($(ye), j)),
3670
+ onIncorrect: B[2] || (B[2] = (j) => d($(me), j))
3661
3671
  }, je({ _: 2 }, [
3662
3672
  L.$slots.actions ? {
3663
3673
  name: "actions",
3664
- fn: P(() => [
3665
- N(L.$slots, "actions", {}, void 0, !0)
3674
+ fn: z(() => [
3675
+ O(L.$slots, "actions", {}, void 0, !0)
3666
3676
  ]),
3667
3677
  key: "0"
3668
3678
  } : void 0
@@ -3672,7 +3682,7 @@ const Vn = ["title"], qn = /* @__PURE__ */ O({
3672
3682
  }, 8, ["open", "placement", "offset", "width"])
3673
3683
  ], 34));
3674
3684
  }
3675
- }), uo = /* @__PURE__ */ x(bs, [["__scopeId", "data-v-c4f75a79"]]), Ee = {
3685
+ }), uo = /* @__PURE__ */ M(bs, [["__scopeId", "data-v-c4f75a79"]]), Ee = {
3676
3686
  MEDIUM: "medium",
3677
3687
  LARGE: "large"
3678
3688
  }, Ue = {
@@ -3687,12 +3697,12 @@ function Je(e, s) {
3687
3697
  return t ? e.filter((d) => d.name.toLowerCase().includes(t)) : [...e];
3688
3698
  }
3689
3699
  function et(e) {
3690
- return e === Ue.END ? Oe.BOTTOM_END : Oe.BOTTOM_START;
3700
+ return e === Ue.END ? Be.BOTTOM_END : Be.BOTTOM_START;
3691
3701
  }
3692
3702
  const ms = { class: "ds-saved-button__label" }, gs = { class: "ds-saved-button__menu" }, hs = ["aria-label"], ps = { class: "ds-saved-button__option-name" }, ks = {
3693
3703
  key: 0,
3694
3704
  class: "ds-saved-button__empty"
3695
- }, Ss = { class: "ds-saved-button__footer" }, $s = /* @__PURE__ */ O({
3705
+ }, Ss = { class: "ds-saved-button__footer" }, $s = /* @__PURE__ */ x({
3696
3706
  __name: "DsSavedButton",
3697
3707
  props: {
3698
3708
  label: { type: String, required: !0 },
@@ -3710,70 +3720,70 @@ const ms = { class: "ds-saved-button__label" }, gs = { class: "ds-saved-button__
3710
3720
  align: { type: String, default: Ue.END },
3711
3721
  disabled: { type: Boolean, default: !1 }
3712
3722
  },
3713
- emits: [bt, Be, fe, ie],
3723
+ emits: [bt, Oe, fe, ne],
3714
3724
  setup(e, { emit: s }) {
3715
- const t = e, d = s, i = V(!1), o = V(""), m = $e(), c = g(() => et(t.align)), b = g(() => Je(t.folders, o.value)), y = g(
3716
- () => t.size === Ee.LARGE ? ne.LARGE : ne.MEDIUM
3725
+ const t = e, d = s, n = V(!1), o = V(""), m = $e(), c = g(() => et(t.align)), b = g(() => Je(t.folders, o.value)), y = g(
3726
+ () => t.size === Ee.LARGE ? ie.LARGE : ie.MEDIUM
3717
3727
  );
3718
3728
  function u(_) {
3719
3729
  return t.folder !== null && t.folder.id === _.id;
3720
3730
  }
3721
3731
  function p(_) {
3722
- i.value !== _ && (_ && (o.value = ""), i.value = _, d(ie, _));
3732
+ n.value !== _ && (_ && (o.value = ""), n.value = _, d(ne, _));
3723
3733
  }
3724
3734
  function r() {
3725
- t.disabled || p(!i.value);
3735
+ t.disabled || p(!n.value);
3726
3736
  }
3727
3737
  function v(_) {
3728
3738
  d(bt, _), p(!1);
3729
3739
  }
3730
- function $() {
3731
- d(Be, o.value.trim()), p(!1);
3740
+ function S() {
3741
+ d(Oe, o.value.trim()), p(!1);
3732
3742
  }
3733
- return J(o, (_) => d(fe, _)), (_, I) => (a(), l("div", {
3734
- class: C(["ds-saved-button", [`ds-saved-button--${e.size}`, { "is-open": i.value, "is-disabled": e.disabled }]])
3743
+ return J(o, (_) => d(fe, _)), (_, R) => (a(), l("div", {
3744
+ class: C(["ds-saved-button", [`ds-saved-button--${e.size}`, { "is-open": n.value, "is-disabled": e.disabled }]])
3735
3745
  }, [
3736
- z(S(ze), {
3737
- open: i.value,
3746
+ U($(ze), {
3747
+ open: n.value,
3738
3748
  placement: c.value,
3739
3749
  width: "300px",
3740
3750
  "trigger-on-click": !1,
3741
3751
  "onUpdate:open": p
3742
3752
  }, {
3743
- trigger: P(() => [
3744
- z(S(Pe), {
3753
+ trigger: z(() => [
3754
+ U($(Pe), {
3745
3755
  content: e.tooltip,
3746
- disabled: !e.tooltip || i.value,
3756
+ disabled: !e.tooltip || n.value,
3747
3757
  placement: "bottom"
3748
3758
  }, {
3749
- default: P(() => [
3750
- z(S(ae), {
3759
+ default: z(() => [
3760
+ U($(ae), {
3751
3761
  class: "ds-saved-button__trigger",
3752
- variant: S(de).OUTLINE,
3762
+ variant: $(de).OUTLINE,
3753
3763
  size: y.value,
3754
3764
  pill: e.pill,
3755
3765
  disabled: e.disabled,
3756
3766
  "aria-haspopup": "listbox",
3757
- "aria-expanded": i.value,
3767
+ "aria-expanded": n.value,
3758
3768
  onClick: r
3759
3769
  }, je({
3760
- trailing: P(() => [
3761
- I[1] || (I[1] = n("i", {
3770
+ trailing: z(() => [
3771
+ R[1] || (R[1] = i("i", {
3762
3772
  class: "material-symbols-filled ds-saved-button__caret",
3763
3773
  "aria-hidden": "true"
3764
3774
  }, "keyboard_arrow_down", -1))
3765
3775
  ]),
3766
- default: P(() => [
3767
- n("span", ms, f(e.label), 1)
3776
+ default: z(() => [
3777
+ i("span", ms, f(e.label), 1)
3768
3778
  ]),
3769
3779
  _: 2
3770
3780
  }, [
3771
3781
  e.folder ? {
3772
3782
  name: "leading",
3773
- fn: P(() => [
3774
- n("i", {
3783
+ fn: z(() => [
3784
+ i("i", {
3775
3785
  class: "material-symbols-filled ds-saved-button__icon",
3776
- style: W({ color: e.folder.color }),
3786
+ style: G({ color: e.folder.color }),
3777
3787
  "aria-hidden": "true"
3778
3788
  }, f(e.icon), 5)
3779
3789
  ]),
@@ -3784,57 +3794,57 @@ const ms = { class: "ds-saved-button__label" }, gs = { class: "ds-saved-button__
3784
3794
  _: 1
3785
3795
  }, 8, ["content", "disabled"])
3786
3796
  ]),
3787
- default: P(() => [
3788
- n("div", gs, [
3789
- z(S(Ze), {
3797
+ default: z(() => [
3798
+ i("div", gs, [
3799
+ U($(Ze), {
3790
3800
  modelValue: o.value,
3791
- "onUpdate:modelValue": I[0] || (I[0] = (k) => o.value = k),
3801
+ "onUpdate:modelValue": R[0] || (R[0] = (k) => o.value = k),
3792
3802
  class: "ds-saved-button__search",
3793
3803
  type: "search",
3794
3804
  size: "sm",
3795
3805
  placeholder: e.searchPlaceholder
3796
3806
  }, null, 8, ["modelValue", "placeholder"]),
3797
- I[3] || (I[3] = n("div", { class: "ds-saved-button__divider" }, null, -1)),
3798
- n("div", {
3807
+ R[3] || (R[3] = i("div", { class: "ds-saved-button__divider" }, null, -1)),
3808
+ i("div", {
3799
3809
  class: "ds-saved-button__list",
3800
3810
  role: "radiogroup",
3801
3811
  "aria-label": e.label
3802
3812
  }, [
3803
- (a(!0), l(F, null, X(b.value, (k) => (a(), l("div", {
3813
+ (a(!0), l(q, null, X(b.value, (k) => (a(), l("div", {
3804
3814
  key: k.id,
3805
3815
  class: C(["ds-saved-button__option", { "is-current": u(k) }])
3806
3816
  }, [
3807
- z(S(wt), {
3808
- name: S(m),
3817
+ U($(Tt), {
3818
+ name: $(m),
3809
3819
  value: String(k.id),
3810
3820
  "model-value": u(k),
3811
- "onUpdate:modelValue": (D) => v(k)
3821
+ "onUpdate:modelValue": (T) => v(k)
3812
3822
  }, {
3813
- default: P(() => [
3814
- n("i", {
3823
+ default: z(() => [
3824
+ i("i", {
3815
3825
  class: "material-symbols-filled ds-saved-button__option-icon",
3816
- style: W({ color: k.color }),
3826
+ style: G({ color: k.color }),
3817
3827
  "aria-hidden": "true"
3818
3828
  }, f(e.icon), 5),
3819
- n("span", ps, f(k.name), 1)
3829
+ i("span", ps, f(k.name), 1)
3820
3830
  ]),
3821
3831
  _: 2
3822
3832
  }, 1032, ["name", "value", "model-value", "onUpdate:modelValue"])
3823
3833
  ], 2))), 128)),
3824
3834
  !b.value.length && e.emptyLabel ? (a(), l("p", ks, f(e.emptyLabel), 1)) : h("", !0)
3825
3835
  ], 8, hs),
3826
- e.createLabel || _.$slots.footer ? (a(), l(F, { key: 0 }, [
3827
- I[2] || (I[2] = n("div", { class: "ds-saved-button__divider" }, null, -1)),
3828
- n("div", Ss, [
3829
- N(_.$slots, "footer", { query: o.value }, () => [
3830
- z(S(ae), {
3831
- variant: S(de).TERTIARY,
3832
- size: S(ne).LARGE,
3836
+ e.createLabel || _.$slots.footer ? (a(), l(q, { key: 0 }, [
3837
+ R[2] || (R[2] = i("div", { class: "ds-saved-button__divider" }, null, -1)),
3838
+ i("div", Ss, [
3839
+ O(_.$slots, "footer", { query: o.value }, () => [
3840
+ U($(ae), {
3841
+ variant: $(de).TERTIARY,
3842
+ size: $(ie).LARGE,
3833
3843
  "left-icon": "add",
3834
- onClick: $
3844
+ onClick: S
3835
3845
  }, {
3836
- default: P(() => [
3837
- j(f(e.createLabel), 1)
3846
+ default: z(() => [
3847
+ Z(f(e.createLabel), 1)
3838
3848
  ]),
3839
3849
  _: 1
3840
3850
  }, 8, ["variant", "size"])
@@ -3847,10 +3857,10 @@ const ms = { class: "ds-saved-button__label" }, gs = { class: "ds-saved-button__
3847
3857
  }, 8, ["open", "placement"])
3848
3858
  ], 2));
3849
3859
  }
3850
- }), fo = /* @__PURE__ */ x($s, [["__scopeId", "data-v-40ca86cd"]]), _s = { class: "ds-tag-picker__label" }, Ls = { class: "ds-tag-picker__menu" }, Es = ["aria-label"], Ts = { class: "ds-tag-picker__name" }, ws = { class: "ds-tag-picker__create-query" }, Cs = {
3860
+ }), fo = /* @__PURE__ */ M($s, [["__scopeId", "data-v-40ca86cd"]]), _s = { class: "ds-tag-picker__label" }, Ls = { class: "ds-tag-picker__menu" }, Es = ["aria-label"], ws = { class: "ds-tag-picker__name" }, Ts = { class: "ds-tag-picker__create-query" }, Cs = {
3851
3861
  key: 1,
3852
3862
  class: "ds-tag-picker__empty"
3853
- }, Is = { class: "ds-tag-picker__footer" }, Ds = /* @__PURE__ */ O({
3863
+ }, Is = { class: "ds-tag-picker__footer" }, Ds = /* @__PURE__ */ x({
3854
3864
  __name: "DsTagPicker",
3855
3865
  props: {
3856
3866
  label: { type: String, required: !0 },
@@ -3869,72 +3879,72 @@ const ms = { class: "ds-saved-button__label" }, gs = { class: "ds-saved-button__
3869
3879
  align: { type: String, default: Ue.START },
3870
3880
  disabled: { type: Boolean, default: !1 }
3871
3881
  },
3872
- emits: [yt, Be, fe, ie],
3882
+ emits: [yt, Oe, fe, ne],
3873
3883
  setup(e, { emit: s }) {
3874
- const t = e, d = s, i = V(!1), o = V(""), m = V(/* @__PURE__ */ new Set()), c = g(() => t.tags.length > 0), b = g(() => et(t.align)), y = g(() => Je(t.options, o.value)), u = g(() => o.value.trim()), p = g(() => {
3884
+ const t = e, d = s, n = V(!1), o = V(""), m = V(/* @__PURE__ */ new Set()), c = g(() => t.tags.length > 0), b = g(() => et(t.align)), y = g(() => Je(t.options, o.value)), u = g(() => o.value.trim()), p = g(() => {
3875
3885
  if (!t.createLabel || !u.value) return !1;
3876
- const D = u.value.toLowerCase();
3877
- return !t.options.some((L) => L.name.toLowerCase() === D);
3886
+ const T = u.value.toLowerCase();
3887
+ return !t.options.some((L) => L.name.toLowerCase() === T);
3878
3888
  }), r = g(
3879
- () => t.size === Ee.LARGE ? ne.LARGE : ne.MEDIUM
3889
+ () => t.size === Ee.LARGE ? ie.LARGE : ie.MEDIUM
3880
3890
  );
3881
- function v(D) {
3882
- i.value !== D && (D && (o.value = "", m.value = new Set(t.tags.map((L) => L.id))), i.value = D, d(ie, D));
3891
+ function v(T) {
3892
+ n.value !== T && (T && (o.value = "", m.value = new Set(t.tags.map((L) => L.id))), n.value = T, d(ne, T));
3883
3893
  }
3884
- function $() {
3885
- t.disabled || v(!i.value);
3894
+ function S() {
3895
+ t.disabled || v(!n.value);
3886
3896
  }
3887
- function _(D, L) {
3888
- const A = new Set(m.value);
3889
- L ? A.add(D.id) : A.delete(D.id), m.value = A;
3897
+ function _(T, L) {
3898
+ const B = new Set(m.value);
3899
+ L ? B.add(T.id) : B.delete(T.id), m.value = B;
3890
3900
  }
3891
- function I() {
3892
- const D = new Set(t.options.map((A) => A.id)), L = [
3893
- ...t.options.filter((A) => m.value.has(A.id)),
3894
- ...t.tags.filter((A) => m.value.has(A.id) && !D.has(A.id))
3901
+ function R() {
3902
+ const T = new Set(t.options.map((B) => B.id)), L = [
3903
+ ...t.options.filter((B) => m.value.has(B.id)),
3904
+ ...t.tags.filter((B) => m.value.has(B.id) && !T.has(B.id))
3895
3905
  ];
3896
3906
  d(yt, L), v(!1);
3897
3907
  }
3898
3908
  function k() {
3899
- d(Be, u.value);
3909
+ d(Oe, u.value);
3900
3910
  }
3901
- return J(o, (D) => d(fe, D)), (D, L) => (a(), l("div", {
3911
+ return J(o, (T) => d(fe, T)), (T, L) => (a(), l("div", {
3902
3912
  class: C(["ds-tag-picker", [
3903
3913
  `ds-tag-picker--${e.size}`,
3904
- { "is-open": i.value, "is-disabled": e.disabled, "has-tags": c.value }
3914
+ { "is-open": n.value, "is-disabled": e.disabled, "has-tags": c.value }
3905
3915
  ]])
3906
3916
  }, [
3907
- z(S(ze), {
3908
- open: i.value,
3917
+ U($(ze), {
3918
+ open: n.value,
3909
3919
  placement: b.value,
3910
3920
  width: "240px",
3911
3921
  "trigger-on-click": !1,
3912
3922
  "onUpdate:open": v
3913
3923
  }, {
3914
- trigger: P(() => [
3915
- z(S(ae), {
3924
+ trigger: z(() => [
3925
+ U($(ae), {
3916
3926
  class: "ds-tag-picker__trigger",
3917
- variant: S(de).OUTLINE,
3927
+ variant: $(de).OUTLINE,
3918
3928
  size: r.value,
3919
3929
  pill: e.pill,
3920
3930
  disabled: e.disabled,
3921
3931
  "aria-haspopup": "dialog",
3922
- "aria-expanded": i.value,
3923
- onClick: $
3932
+ "aria-expanded": n.value,
3933
+ onClick: S
3924
3934
  }, je({
3925
- leading: P(() => [
3926
- n("i", {
3935
+ leading: z(() => [
3936
+ i("i", {
3927
3937
  class: "material-symbols-filled ds-tag-picker__icon",
3928
- style: W(c.value ? { color: e.tags[0].color } : void 0),
3938
+ style: G(c.value ? { color: e.tags[0].color } : void 0),
3929
3939
  "aria-hidden": "true"
3930
3940
  }, f(c.value ? "sell" : "label"), 5)
3931
3941
  ]),
3932
- default: P(() => [
3933
- n("span", _s, [
3934
- c.value ? (a(), l(F, { key: 0 }, [
3935
- j(f(e.taggedAsLabel) + " " + f(e.tags[0].name), 1)
3936
- ], 64)) : (a(), l(F, { key: 1 }, [
3937
- j(f(e.label), 1)
3942
+ default: z(() => [
3943
+ i("span", _s, [
3944
+ c.value ? (a(), l(q, { key: 0 }, [
3945
+ Z(f(e.taggedAsLabel) + " " + f(e.tags[0].name), 1)
3946
+ ], 64)) : (a(), l(q, { key: 1 }, [
3947
+ Z(f(e.label), 1)
3938
3948
  ], 64))
3939
3949
  ])
3940
3950
  ]),
@@ -3942,8 +3952,8 @@ const ms = { class: "ds-saved-button__label" }, gs = { class: "ds-saved-button__
3942
3952
  }, [
3943
3953
  c.value ? {
3944
3954
  name: "trailing",
3945
- fn: P(() => [
3946
- z(S(Rt), {
3955
+ fn: z(() => [
3956
+ U($(Rt), {
3947
3957
  overflow: e.tags.length - 1,
3948
3958
  label: e.moreLabel
3949
3959
  }, null, 8, ["overflow", "label"])
@@ -3952,37 +3962,37 @@ const ms = { class: "ds-saved-button__label" }, gs = { class: "ds-saved-button__
3952
3962
  } : void 0
3953
3963
  ]), 1032, ["variant", "size", "pill", "disabled", "aria-expanded"])
3954
3964
  ]),
3955
- default: P(() => [
3956
- n("div", Ls, [
3957
- z(S(Ze), {
3965
+ default: z(() => [
3966
+ i("div", Ls, [
3967
+ U($(Ze), {
3958
3968
  modelValue: o.value,
3959
- "onUpdate:modelValue": L[0] || (L[0] = (A) => o.value = A),
3969
+ "onUpdate:modelValue": L[0] || (L[0] = (B) => o.value = B),
3960
3970
  class: "ds-tag-picker__search",
3961
3971
  type: "search",
3962
3972
  size: "sm",
3963
3973
  placeholder: e.searchPlaceholder
3964
3974
  }, null, 8, ["modelValue", "placeholder"]),
3965
- L[2] || (L[2] = n("div", { class: "ds-tag-picker__divider" }, null, -1)),
3966
- n("div", {
3975
+ L[2] || (L[2] = i("div", { class: "ds-tag-picker__divider" }, null, -1)),
3976
+ i("div", {
3967
3977
  class: "ds-tag-picker__list",
3968
3978
  role: "group",
3969
3979
  "aria-label": e.label
3970
3980
  }, [
3971
- (a(!0), l(F, null, X(y.value, (A) => (a(), l("div", {
3972
- key: A.id,
3981
+ (a(!0), l(q, null, X(y.value, (B) => (a(), l("div", {
3982
+ key: B.id,
3973
3983
  class: "ds-tag-picker__option"
3974
3984
  }, [
3975
- z(S(Me), {
3976
- "model-value": m.value.has(A.id),
3977
- "onUpdate:modelValue": (B) => _(A, B)
3985
+ U($(Me), {
3986
+ "model-value": m.value.has(B.id),
3987
+ "onUpdate:modelValue": (j) => _(B, j)
3978
3988
  }, {
3979
- default: P(() => [
3980
- n("span", {
3989
+ default: z(() => [
3990
+ i("span", {
3981
3991
  class: "ds-tag-picker__dot",
3982
- style: W({ background: A.color }),
3992
+ style: G({ background: B.color }),
3983
3993
  "aria-hidden": "true"
3984
3994
  }, null, 4),
3985
- n("span", Ts, f(A.name), 1)
3995
+ i("span", ws, f(B.name), 1)
3986
3996
  ]),
3987
3997
  _: 2
3988
3998
  }, 1032, ["model-value", "onUpdate:modelValue"])
@@ -3993,25 +4003,25 @@ const ms = { class: "ds-saved-button__label" }, gs = { class: "ds-saved-button__
3993
4003
  class: "ds-tag-picker__create",
3994
4004
  onClick: k
3995
4005
  }, [
3996
- L[1] || (L[1] = n("i", {
4006
+ L[1] || (L[1] = i("i", {
3997
4007
  class: "material-symbols-filled",
3998
4008
  "aria-hidden": "true"
3999
4009
  }, "add", -1)),
4000
- n("span", null, f(e.createLabel), 1),
4001
- n("span", ws, "“" + f(u.value) + "”", 1)
4010
+ i("span", null, f(e.createLabel), 1),
4011
+ i("span", Ts, "“" + f(u.value) + "”", 1)
4002
4012
  ])) : h("", !0),
4003
4013
  !y.value.length && !p.value && e.emptyLabel ? (a(), l("p", Cs, f(e.emptyLabel), 1)) : h("", !0)
4004
4014
  ], 8, Es),
4005
- L[3] || (L[3] = n("div", { class: "ds-tag-picker__divider" }, null, -1)),
4006
- n("div", Is, [
4007
- z(S(ae), {
4015
+ L[3] || (L[3] = i("div", { class: "ds-tag-picker__divider" }, null, -1)),
4016
+ i("div", Is, [
4017
+ U($(ae), {
4008
4018
  class: "ds-tag-picker__apply",
4009
- variant: S(de).PRIMARY,
4010
- size: S(ne).MEDIUM,
4011
- onClick: I
4019
+ variant: $(de).PRIMARY,
4020
+ size: $(ie).MEDIUM,
4021
+ onClick: R
4012
4022
  }, {
4013
- default: P(() => [
4014
- j(f(e.applyLabel), 1)
4023
+ default: z(() => [
4024
+ Z(f(e.applyLabel), 1)
4015
4025
  ]),
4016
4026
  _: 1
4017
4027
  }, 8, ["variant", "size"])
@@ -4022,16 +4032,16 @@ const ms = { class: "ds-saved-button__label" }, gs = { class: "ds-saved-button__
4022
4032
  }, 8, ["open", "placement"])
4023
4033
  ], 2));
4024
4034
  }
4025
- }), vo = /* @__PURE__ */ x(Ds, [["__scopeId", "data-v-6ed1874a"]]), Lt = {
4035
+ }), vo = /* @__PURE__ */ M(Ds, [["__scopeId", "data-v-6ed1874a"]]), Lt = {
4026
4036
  SECONDARY: "secondary",
4027
4037
  PRIMARY: "primary"
4028
- }, Rs = { class: "ds-add-to-sequence__label" }, As = { class: "ds-add-to-sequence__menu" }, Ns = { class: "ds-add-to-sequence__section" }, Bs = ["aria-label"], Os = {
4038
+ }, Rs = { class: "ds-add-to-sequence__label" }, As = { class: "ds-add-to-sequence__menu" }, Ns = { class: "ds-add-to-sequence__section" }, Os = ["aria-label"], Bs = {
4029
4039
  key: 0,
4030
4040
  class: "ds-add-to-sequence__section"
4031
4041
  }, xs = ["aria-label"], Ms = {
4032
4042
  key: 0,
4033
4043
  class: "ds-add-to-sequence__empty"
4034
- }, Ps = { class: "ds-add-to-sequence__footer" }, zs = /* @__PURE__ */ O({
4044
+ }, Ps = { class: "ds-add-to-sequence__footer" }, zs = /* @__PURE__ */ x({
4035
4045
  __name: "DsAddToSequence",
4036
4046
  props: {
4037
4047
  label: { type: String, required: !0 },
@@ -4057,70 +4067,70 @@ const ms = { class: "ds-saved-button__label" }, gs = { class: "ds-saved-button__
4057
4067
  align: { type: String, default: Ue.END },
4058
4068
  disabled: { type: Boolean, default: !1 }
4059
4069
  },
4060
- emits: [mt, fe, ie],
4070
+ emits: [mt, fe, ne],
4061
4071
  setup(e, { emit: s }) {
4062
- const t = e, d = s, i = V(!1), o = V(""), m = V(t.defaultChannel), c = V(/* @__PURE__ */ new Set()), b = $e(), y = g(() => et(t.align)), u = g(() => Je(t.campaigns, o.value)), p = g(
4072
+ const t = e, d = s, n = V(!1), o = V(""), m = V(t.defaultChannel), c = V(/* @__PURE__ */ new Set()), b = $e(), y = g(() => et(t.align)), u = g(() => Je(t.campaigns, o.value)), p = g(
4063
4073
  () => t.variant === Lt.PRIMARY ? de.PRIMARY : de.OUTLINE
4064
4074
  ), r = g(
4065
- () => t.size === Ee.LARGE ? ne.LARGE : ne.MEDIUM
4075
+ () => t.size === Ee.LARGE ? ie.LARGE : ie.MEDIUM
4066
4076
  );
4067
4077
  function v(k) {
4068
- i.value !== k && (k && (o.value = ""), i.value = k, d(ie, k));
4078
+ n.value !== k && (k && (o.value = ""), n.value = k, d(ne, k));
4069
4079
  }
4070
- function $() {
4071
- t.disabled || v(!i.value);
4080
+ function S() {
4081
+ t.disabled || v(!n.value);
4072
4082
  }
4073
- function _(k, D) {
4083
+ function _(k, T) {
4074
4084
  const L = new Set(c.value);
4075
- D ? L.add(k.id) : L.delete(k.id), c.value = L;
4085
+ T ? L.add(k.id) : L.delete(k.id), c.value = L;
4076
4086
  }
4077
- function I() {
4087
+ function R() {
4078
4088
  if (c.value.size === 0) return;
4079
4089
  const k = {
4080
4090
  channel: m.value,
4081
- campaigns: t.campaigns.filter((D) => c.value.has(D.id))
4091
+ campaigns: t.campaigns.filter((T) => c.value.has(T.id))
4082
4092
  };
4083
4093
  d(mt, k), c.value = /* @__PURE__ */ new Set(), v(!1);
4084
4094
  }
4085
- return J(o, (k) => d(fe, k)), (k, D) => (a(), l("div", {
4095
+ return J(o, (k) => d(fe, k)), (k, T) => (a(), l("div", {
4086
4096
  class: C(["ds-add-to-sequence", [
4087
4097
  `ds-add-to-sequence--${e.variant}`,
4088
4098
  `ds-add-to-sequence--${e.size}`,
4089
- { "is-open": i.value, "is-disabled": e.disabled }
4099
+ { "is-open": n.value, "is-disabled": e.disabled }
4090
4100
  ]])
4091
4101
  }, [
4092
- z(S(ze), {
4093
- open: i.value,
4102
+ U($(ze), {
4103
+ open: n.value,
4094
4104
  placement: y.value,
4095
4105
  width: "288px",
4096
4106
  "trigger-on-click": !1,
4097
4107
  "onUpdate:open": v
4098
4108
  }, {
4099
- trigger: P(() => [
4100
- z(S(Pe), {
4109
+ trigger: z(() => [
4110
+ U($(Pe), {
4101
4111
  content: e.tooltip,
4102
- disabled: !e.tooltip || i.value,
4112
+ disabled: !e.tooltip || n.value,
4103
4113
  placement: "bottom"
4104
4114
  }, {
4105
- default: P(() => [
4106
- z(S(ae), {
4115
+ default: z(() => [
4116
+ U($(ae), {
4107
4117
  class: "ds-add-to-sequence__trigger",
4108
4118
  variant: p.value,
4109
4119
  size: r.value,
4110
4120
  pill: e.pill,
4111
4121
  disabled: e.disabled,
4112
4122
  "aria-haspopup": "dialog",
4113
- "aria-expanded": i.value,
4114
- onClick: $
4123
+ "aria-expanded": n.value,
4124
+ onClick: S
4115
4125
  }, {
4116
- leading: P(() => [...D[1] || (D[1] = [
4117
- n("i", {
4126
+ leading: z(() => [...T[1] || (T[1] = [
4127
+ i("i", {
4118
4128
  class: "material-symbols-filled ds-add-to-sequence__icon",
4119
4129
  "aria-hidden": "true"
4120
4130
  }, "send", -1)
4121
4131
  ])]),
4122
- default: P(() => [
4123
- n("span", Rs, f(e.label), 1)
4132
+ default: z(() => [
4133
+ i("span", Rs, f(e.label), 1)
4124
4134
  ]),
4125
4135
  _: 1
4126
4136
  }, 8, ["variant", "size", "pill", "disabled", "aria-expanded"])
@@ -4128,72 +4138,72 @@ const ms = { class: "ds-saved-button__label" }, gs = { class: "ds-saved-button__
4128
4138
  _: 1
4129
4139
  }, 8, ["content", "disabled"])
4130
4140
  ]),
4131
- default: P(() => [
4132
- n("div", As, [
4133
- n("p", Ns, f(e.channelsLabel), 1),
4134
- n("div", {
4141
+ default: z(() => [
4142
+ i("div", As, [
4143
+ i("p", Ns, f(e.channelsLabel), 1),
4144
+ i("div", {
4135
4145
  class: "ds-add-to-sequence__channels",
4136
4146
  role: "radiogroup",
4137
4147
  "aria-label": e.channelsLabel
4138
4148
  }, [
4139
- (a(!0), l(F, null, X(e.channels, (L) => (a(), l("div", {
4149
+ (a(!0), l(q, null, X(e.channels, (L) => (a(), l("div", {
4140
4150
  key: L.value,
4141
4151
  class: C(["ds-add-to-sequence__channel", { "is-on": m.value === L.value }])
4142
4152
  }, [
4143
- z(S(wt), {
4144
- name: S(b),
4153
+ U($(Tt), {
4154
+ name: $(b),
4145
4155
  value: L.value,
4146
4156
  "model-value": m.value === L.value,
4147
- "onUpdate:modelValue": (A) => m.value = L.value
4157
+ "onUpdate:modelValue": (B) => m.value = L.value
4148
4158
  }, {
4149
- default: P(() => [
4150
- j(f(L.label), 1)
4159
+ default: z(() => [
4160
+ Z(f(L.label), 1)
4151
4161
  ]),
4152
4162
  _: 2
4153
4163
  }, 1032, ["name", "value", "model-value", "onUpdate:modelValue"])
4154
4164
  ], 2))), 128))
4155
- ], 8, Bs),
4156
- z(S(Ze), {
4165
+ ], 8, Os),
4166
+ U($(Ze), {
4157
4167
  modelValue: o.value,
4158
- "onUpdate:modelValue": D[0] || (D[0] = (L) => o.value = L),
4168
+ "onUpdate:modelValue": T[0] || (T[0] = (L) => o.value = L),
4159
4169
  class: "ds-add-to-sequence__search",
4160
4170
  type: "search",
4161
4171
  size: "sm",
4162
4172
  placeholder: e.searchPlaceholder
4163
4173
  }, null, 8, ["modelValue", "placeholder"]),
4164
- e.campaignsLabel ? (a(), l("p", Os, f(e.campaignsLabel), 1)) : h("", !0),
4165
- n("div", {
4174
+ e.campaignsLabel ? (a(), l("p", Bs, f(e.campaignsLabel), 1)) : h("", !0),
4175
+ i("div", {
4166
4176
  class: "ds-add-to-sequence__list",
4167
4177
  role: "group",
4168
4178
  "aria-label": e.campaignsLabel || e.label
4169
4179
  }, [
4170
- (a(!0), l(F, null, X(u.value, (L) => (a(), l("div", {
4180
+ (a(!0), l(q, null, X(u.value, (L) => (a(), l("div", {
4171
4181
  key: L.id,
4172
4182
  class: "ds-add-to-sequence__option"
4173
4183
  }, [
4174
- z(S(Me), {
4184
+ U($(Me), {
4175
4185
  "model-value": c.value.has(L.id),
4176
- "onUpdate:modelValue": (A) => _(L, A)
4186
+ "onUpdate:modelValue": (B) => _(L, B)
4177
4187
  }, {
4178
- default: P(() => [
4179
- j(f(L.name), 1)
4188
+ default: z(() => [
4189
+ Z(f(L.name), 1)
4180
4190
  ]),
4181
4191
  _: 2
4182
4192
  }, 1032, ["model-value", "onUpdate:modelValue"])
4183
4193
  ]))), 128)),
4184
4194
  !u.value.length && e.emptyLabel ? (a(), l("p", Ms, f(e.emptyLabel), 1)) : h("", !0)
4185
4195
  ], 8, xs),
4186
- D[2] || (D[2] = n("div", { class: "ds-add-to-sequence__divider" }, null, -1)),
4187
- n("div", Ps, [
4188
- z(S(ae), {
4196
+ T[2] || (T[2] = i("div", { class: "ds-add-to-sequence__divider" }, null, -1)),
4197
+ i("div", Ps, [
4198
+ U($(ae), {
4189
4199
  class: "ds-add-to-sequence__add",
4190
- variant: S(de).PRIMARY,
4191
- size: S(ne).MEDIUM,
4200
+ variant: $(de).PRIMARY,
4201
+ size: $(ie).MEDIUM,
4192
4202
  disabled: c.value.size === 0,
4193
- onClick: I
4203
+ onClick: R
4194
4204
  }, {
4195
- default: P(() => [
4196
- j(f(e.addLabel), 1)
4205
+ default: z(() => [
4206
+ Z(f(e.addLabel), 1)
4197
4207
  ]),
4198
4208
  _: 1
4199
4209
  }, 8, ["variant", "size", "disabled"])
@@ -4204,7 +4214,7 @@ const ms = { class: "ds-saved-button__label" }, gs = { class: "ds-saved-button__
4204
4214
  }, 8, ["open", "placement"])
4205
4215
  ], 2));
4206
4216
  }
4207
- }), bo = /* @__PURE__ */ x(zs, [["__scopeId", "data-v-e23d1c03"]]);
4217
+ }), bo = /* @__PURE__ */ M(zs, [["__scopeId", "data-v-e23d1c03"]]);
4208
4218
  export {
4209
4219
  Lt as DS_ADD_TO_SEQUENCE_VARIANTS,
4210
4220
  qa as DS_ALERT_EFFECTS,
@@ -4212,14 +4222,14 @@ export {
4212
4222
  Va as DS_ALERT_TYPES,
4213
4223
  Ke as DS_BADGE_TONES,
4214
4224
  Ht as DS_BUTTON_NATIVE_TYPES,
4215
- ne as DS_BUTTON_SIZES,
4225
+ ie as DS_BUTTON_SIZES,
4216
4226
  de as DS_BUTTON_VARIANTS,
4217
4227
  Qe as DS_CONTACT_KINDS,
4218
- Te as DS_CONTACT_TYPES,
4228
+ we as DS_CONTACT_TYPES,
4219
4229
  Ct as DS_CONTACT_TYPE_ICONS,
4220
- $i as DS_CUSTOM_TAG_TYPES,
4230
+ _n as DS_CUSTOM_TAG_TYPES,
4221
4231
  $t as DS_DRAWER_DIRECTIONS,
4222
- wa as DS_INPUT_SIZES,
4232
+ Ta as DS_INPUT_SIZES,
4223
4233
  _e as DS_INPUT_TYPES,
4224
4234
  Xa as DS_NOTIFICATION_ICONS,
4225
4235
  ht as DS_NOTIFICATION_LINK_TARGETS,
@@ -4227,7 +4237,7 @@ export {
4227
4237
  ja as DS_NOTIFICATION_TYPES,
4228
4238
  Ue as DS_PICKER_ALIGNS,
4229
4239
  Ee as DS_PICKER_SIZES,
4230
- Oe as DS_POPOVER_PLACEMENTS,
4240
+ Be as DS_POPOVER_PLACEMENTS,
4231
4241
  kt as DS_SELECT_TYPES,
4232
4242
  St as DS_SELECT_WIDTHS,
4233
4243
  ys as DS_SEQUENCE_CHANNELS,
@@ -4242,12 +4252,12 @@ export {
4242
4252
  bo as DsAddToSequence,
4243
4253
  Hs as DsAlert,
4244
4254
  qs as DsAvatar,
4245
- na as DsBadge,
4255
+ ia as DsBadge,
4246
4256
  ae as DsButton,
4247
4257
  Js as DsCell,
4248
4258
  Me as DsCheckbox,
4249
4259
  co as DsCompanyCard,
4250
- Tn as DsCompanyLogo,
4260
+ wi as DsCompanyLogo,
4251
4261
  uo as DsContactCell,
4252
4262
  rs as DsContactList,
4253
4263
  pt as DsContactValue,
@@ -4255,7 +4265,7 @@ export {
4255
4265
  Ys as DsDataCard,
4256
4266
  Dt as DsDeliverabilityBadge,
4257
4267
  ro as DsDrawer,
4258
- io as DsEmptyState,
4268
+ no as DsEmptyState,
4259
4269
  Ze as DsInput,
4260
4270
  Zs as DsItemSelectorButton,
4261
4271
  It as DsMaskedValue,
@@ -4263,11 +4273,11 @@ export {
4263
4273
  Ks as DsModal,
4264
4274
  Rt as DsMoreCountChip,
4265
4275
  Ws as DsNotification,
4266
- no as DsPaginator,
4276
+ io as DsPaginator,
4267
4277
  to as DsPill,
4268
4278
  ao as DsPillWithBorder,
4269
4279
  ze as DsPopover,
4270
- wt as DsRadio,
4280
+ Tt as DsRadio,
4271
4281
  Qs as DsRow,
4272
4282
  fo as DsSavedButton,
4273
4283
  lo as DsSegmentedProgressBar,
@@ -4283,8 +4293,8 @@ export {
4283
4293
  oo as DsWizardStepper,
4284
4294
  _t as MASK_GLYPHS,
4285
4295
  Je as filterOptions,
4286
- Pn as overflowFromGroupSize,
4296
+ Pi as overflowFromGroupSize,
4287
4297
  et as pickerPlacement,
4288
- Un as splitMaskedValue
4298
+ Ui as splitMaskedValue
4289
4299
  };
4290
4300
  //# sourceMappingURL=index.es.js.map