@salesql/sql_components_vue3 1.0.0 → 2.0.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,53 +1,54 @@
1
- import { defineComponent as k, openBlock as t, createElementBlock as a, normalizeStyle as w, normalizeClass as v, toDisplayString as y, createCommentVNode as r, computed as S, createBlock as D, unref as g, renderSlot as I, createElementVNode as s, Fragment as B, renderList as M, createTextVNode as A, useModel as W, useSlots as le, ref as N, withDirectives as q, vModelDynamic as ce, mergeModels as O, vModelText as ue, onMounted as fe, watch as ie, vModelCheckbox as ye, Teleport as ne, nextTick as ve, onBeforeUnmount as oe, withModifiers as se, createVNode as de, withCtx as be } from "vue";
2
- const Y = {
1
+ import { defineComponent as $, openBlock as t, createElementBlock as a, normalizeStyle as L, normalizeClass as m, computed as h, createBlock as D, unref as S, createCommentVNode as u, renderSlot as I, createElementVNode as d, toDisplayString as v, Fragment as A, renderList as V, createTextVNode as O, useModel as Q, useSlots as oe, ref as R, withDirectives as Z, vModelDynamic as ye, mergeModels as U, vModelText as ve, onMounted as se, watch as de, vModelCheckbox as be, onBeforeUnmount as j, Teleport as re, createVNode as p, Transition as ce, withCtx as J, nextTick as me, withModifiers as ue } from "vue";
2
+ const W = {
3
3
  DARK: "dark",
4
4
  // slate ring — for light surfaces (default)
5
5
  LIGHT: "light",
6
6
  // white ring — for dark surfaces / solid buttons
7
7
  ACCENT: "accent"
8
8
  // accent ring
9
- }, me = ["aria-label", "aria-hidden"], ge = {
10
- key: 0,
11
- class: "ds-spinner__sr-only"
12
- }, he = /* @__PURE__ */ k({
9
+ }, ge = ["aria-label"], he = /* @__PURE__ */ $({
13
10
  __name: "DsSpinner",
14
11
  props: {
15
12
  size: { type: Number, default: 24 },
16
13
  tone: {
17
14
  type: String,
18
- default: Y.DARK
15
+ default: W.DARK
19
16
  },
20
- // Optional accessible text; without it the spinner is aria-hidden.
21
- label: { type: String, default: "" }
17
+ // Accessible name (DS default "Loading"); the consuming app can override for
18
+ // i18n. role="status" + aria-label are always present, never opt-in.
19
+ label: { type: String, default: "Loading" }
22
20
  },
23
21
  setup(e) {
24
- return (n, o) => (t(), a("span", {
25
- class: v(["ds-spinner", `ds-spinner--${e.tone}`]),
22
+ return (i, l) => (t(), a("span", {
23
+ class: m(["ds-spinner", `ds-spinner--${e.tone}`]),
26
24
  role: "status",
27
- style: w({ width: `${e.size}px`, height: `${e.size}px` }),
28
- "aria-label": e.label || void 0,
29
- "aria-hidden": e.label ? void 0 : "true"
30
- }, [
31
- e.label ? (t(), a("span", ge, y(e.label), 1)) : r("", !0)
32
- ], 14, me));
25
+ style: L({ width: `${e.size}px`, height: `${e.size}px` }),
26
+ "aria-label": e.label || void 0
27
+ }, null, 14, ge));
33
28
  }
34
- }), $ = (e, n) => {
35
- const o = e.__vccOpts || e;
36
- for (const [l, i] of n)
37
- o[l] = i;
38
- return o;
39
- }, Se = /* @__PURE__ */ $(he, [["__scopeId", "data-v-190a8af4"]]), Z = "click", C = "close", V = "focus", U = "blur", F = "copy", z = "correct", _ = "incorrect", j = "sort", Q = "edit", J = {
29
+ }), T = (e, i) => {
30
+ const l = e.__vccOpts || e;
31
+ for (const [r, s] of i)
32
+ l[r] = s;
33
+ return l;
34
+ }, Se = /* @__PURE__ */ T(he, [["__scopeId", "data-v-4d32b0a5"]]), ee = "click", C = "close", F = "focus", z = "blur", G = "copy", _ = "correct", P = "incorrect", te = "sort", ae = "edit", H = {
35
+ DEFAULT: "default",
36
+ // white surface, dark text (the default value; == tertiary)
40
37
  PRIMARY: "primary",
41
- // solid accent fill, white text
38
+ // solid accent fill, white text — the main CTA
42
39
  SECONDARY: "secondary",
43
40
  // slate surface fill, dark text
44
41
  TERTIARY: "tertiary",
45
- // transparent ghost, dark text
42
+ // white surface, dark text (low-emphasis row action)
46
43
  QUATERNARY: "quaternary",
47
- // accent border + accent text, light fill
48
- SPECIAL: "special"
49
- // accent text only, no fill/border (link-style)
50
- }, ee = {
44
+ // accent text + accent-mid border on white
45
+ QUINARY: "quinary",
46
+ // accent text on white, no border (link-style)
47
+ WARNING: "warning",
48
+ // solid red fill, white text — destructive / delete
49
+ DOTTED: "dotted"
50
+ // transparent, dashed border, 24px radius — "add" affordance
51
+ }, ie = {
51
52
  SMALL: "small",
52
53
  // 24px
53
54
  MEDIUM: "medium",
@@ -60,7 +61,7 @@ const Y = {
60
61
  BUTTON: "button",
61
62
  SUBMIT: "submit",
62
63
  RESET: "reset"
63
- }, $e = ["type", "disabled", "autofocus", "aria-busy", "aria-disabled", "aria-label"], Te = {
64
+ }, $e = ["type", "disabled", "autofocus", "aria-busy", "aria-disabled", "aria-pressed", "aria-label"], Te = {
64
65
  key: 1,
65
66
  class: "ds-button__icon ds-button__icon--leading"
66
67
  }, Ie = {
@@ -72,46 +73,52 @@ const Y = {
72
73
  }, Ee = {
73
74
  key: 3,
74
75
  class: "ds-button__icon ds-button__icon--trailing"
75
- }, Le = {
76
+ }, we = {
76
77
  class: "material-icons",
77
78
  "aria-hidden": "true"
78
- }, De = /* @__PURE__ */ k({
79
+ }, Le = /* @__PURE__ */ $({
79
80
  __name: "DsButton",
80
81
  props: {
81
- variant: { type: String, default: J.PRIMARY },
82
- size: { type: String, default: ee.MEDIUM },
82
+ variant: { type: String, default: H.DEFAULT },
83
+ size: { type: String, default: ie.MEDIUM },
83
84
  nativeType: {
84
85
  type: String,
85
86
  default: ke.BUTTON
86
87
  },
87
88
  // Material Icon names (rendered via <i class="material-icons">); a leading/
88
- // trailing slot overrides. Icon-only buttons need ariaLabel.
89
+ // trailing slot overrides. Icon-only buttons (circle/square) need ariaLabel.
89
90
  leftIcon: { type: String, default: "" },
90
91
  rightIcon: { type: String, default: "" },
91
92
  ariaLabel: { type: String, default: "" },
92
93
  disabled: Boolean,
93
94
  loading: Boolean,
95
+ // Round icon-only button (width === height, fully circular).
94
96
  circle: Boolean,
95
- dashed: Boolean,
97
+ // Flat 4px-radius icon-only button (the DS `*-square` sizes): symmetric padding
98
+ // per size, height === width.
99
+ square: Boolean,
100
+ // Toggle state: accent outline + fill; sets aria-pressed (DS `selected`).
101
+ selected: Boolean,
96
102
  autofocus: Boolean
97
103
  },
98
- emits: [Z],
99
- setup(e, { emit: n }) {
100
- const o = e, l = n, i = S(() => o.size === ee.SMALL ? 14 : 20), d = S(
101
- () => o.variant === J.PRIMARY ? Y.LIGHT : Y.DARK
104
+ emits: [ee],
105
+ setup(e, { emit: i }) {
106
+ const l = e, r = i, s = h(() => l.size === ie.SMALL ? 14 : 20), n = h(
107
+ () => l.variant === H.PRIMARY || l.variant === H.WARNING ? W.LIGHT : W.DARK
102
108
  );
103
- function c(u) {
104
- o.disabled || o.loading || l(Z, u);
109
+ function o(c) {
110
+ l.disabled || l.loading || r(ee, c);
105
111
  }
106
- return (u, b) => (t(), a("button", {
107
- class: v(["ds-button", [
112
+ return (c, b) => (t(), a("button", {
113
+ class: m(["ds-button", [
108
114
  `ds-button--${e.variant}`,
109
115
  `ds-button--${e.size}`,
110
116
  {
111
117
  "is-disabled": e.disabled || e.loading,
112
118
  "is-loading": e.loading,
113
119
  "is-circle": e.circle,
114
- "is-dashed": e.dashed
120
+ "is-square": e.square,
121
+ "is-selected": e.selected
115
122
  }
116
123
  ]]),
117
124
  type: e.nativeType,
@@ -119,33 +126,36 @@ const Y = {
119
126
  autofocus: e.autofocus,
120
127
  "aria-busy": e.loading || void 0,
121
128
  "aria-disabled": e.disabled || e.loading || void 0,
129
+ "aria-pressed": e.selected || void 0,
122
130
  "aria-label": e.ariaLabel || void 0,
123
- onClick: c
131
+ onClick: o
124
132
  }, [
125
- e.loading ? (t(), D(g(Se), {
133
+ e.loading ? (t(), D(S(Se), {
126
134
  key: 0,
127
135
  class: "ds-button__spinner",
128
- size: i.value,
129
- tone: d.value
130
- }, null, 8, ["size", "tone"])) : r("", !0),
131
- !e.loading && (e.leftIcon || u.$slots.leading) ? (t(), a("span", Te, [
132
- I(u.$slots, "leading", {}, () => [
133
- s("i", Ie, y(e.leftIcon), 1)
136
+ size: s.value,
137
+ tone: n.value
138
+ }, null, 8, ["size", "tone"])) : u("", !0),
139
+ !e.loading && (e.leftIcon || c.$slots.leading) ? (t(), a("span", Te, [
140
+ I(c.$slots, "leading", {}, () => [
141
+ d("i", Ie, v(e.leftIcon), 1)
134
142
  ], !0)
135
- ])) : r("", !0),
136
- !e.loading && u.$slots.default ? (t(), a("span", Ce, [
137
- I(u.$slots, "default", {}, void 0, !0)
138
- ])) : r("", !0),
139
- !e.loading && (e.rightIcon || u.$slots.trailing) ? (t(), a("span", Ee, [
140
- I(u.$slots, "trailing", {}, () => [
141
- s("i", Le, y(e.rightIcon), 1)
143
+ ])) : u("", !0),
144
+ !e.loading && c.$slots.default ? (t(), a("span", Ce, [
145
+ I(c.$slots, "default", {}, void 0, !0)
146
+ ])) : u("", !0),
147
+ !e.loading && (e.rightIcon || c.$slots.trailing) ? (t(), a("span", Ee, [
148
+ I(c.$slots, "trailing", {}, () => [
149
+ d("i", we, v(e.rightIcon), 1)
142
150
  ], !0)
143
- ])) : r("", !0)
151
+ ])) : u("", !0)
144
152
  ], 10, $e));
145
153
  }
146
- }), K = /* @__PURE__ */ $(De, [["__scopeId", "data-v-662e5512"]]), we = {
154
+ }), K = /* @__PURE__ */ T(Le, [["__scopeId", "data-v-2d17382d"]]), De = {
147
155
  DEFAULT: "default",
148
156
  // white bg, slate-tint border, muted text
157
+ GREY: "grey",
158
+ // alias of `default` — the DS app passes tone="grey" (ApiApp.jsx)
149
159
  SUCCESS: "success",
150
160
  // e.g. Verified
151
161
  INFO: "info",
@@ -154,12 +164,12 @@ const Y = {
154
164
  // e.g. Pending
155
165
  ERROR: "error"
156
166
  // e.g. Bounced
157
- }, Ne = ["aria-label"], Re = /* @__PURE__ */ k({
167
+ }, Ne = ["aria-label"], Re = /* @__PURE__ */ $({
158
168
  __name: "DsTag",
159
169
  props: {
160
170
  tone: {
161
171
  type: String,
162
- default: we.DEFAULT
172
+ default: De.DEFAULT
163
173
  },
164
174
  // Semicircular sides (DS `rounded`): radius-round vs the default radius-control.
165
175
  rounded: Boolean,
@@ -171,27 +181,27 @@ const Y = {
171
181
  default: ""
172
182
  }
173
183
  },
174
- setup(e, { emit: n }) {
175
- const o = n;
176
- return (l, i) => (t(), a("span", {
177
- class: v(["ds-tag", [`ds-tag--${e.tone}`, { "is-rounded": e.rounded }]])
184
+ setup(e, { emit: i }) {
185
+ const l = i;
186
+ return (r, s) => (t(), a("span", {
187
+ class: m(["ds-tag", [`ds-tag--${e.tone}`, { "is-rounded": e.rounded }]])
178
188
  }, [
179
- I(l.$slots, "default", {}, void 0, !0),
189
+ I(r.$slots, "default", {}, void 0, !0),
180
190
  e.closable ? (t(), a("button", {
181
191
  key: 0,
182
192
  type: "button",
183
193
  class: "ds-tag__close",
184
194
  "aria-label": e.closeLabel || void 0,
185
- onClick: i[0] || (i[0] = (d) => o(g(C)))
186
- }, [...i[1] || (i[1] = [
187
- s("i", {
195
+ onClick: s[0] || (s[0] = (n) => l(S(C)))
196
+ }, [...s[1] || (s[1] = [
197
+ d("i", {
188
198
  class: "material-icons",
189
199
  "aria-hidden": "true"
190
200
  }, "close", -1)
191
- ])], 8, Ne)) : r("", !0)
201
+ ])], 8, Ne)) : u("", !0)
192
202
  ], 2));
193
203
  }
194
- }), ta = /* @__PURE__ */ $(Re, [["__scopeId", "data-v-4507fdca"]]), H = {
204
+ }), ea = /* @__PURE__ */ T(Re, [["__scopeId", "data-v-fc383bb9"]]), X = {
195
205
  ACCENT: "accent",
196
206
  // e.g. Work (purple)
197
207
  GREY: "grey",
@@ -204,22 +214,22 @@ const Y = {
204
214
  // coral
205
215
  WARNING: "warning"
206
216
  // orange
207
- }, Be = /* @__PURE__ */ k({
217
+ }, Be = /* @__PURE__ */ $({
208
218
  __name: "DsBadge",
209
219
  props: {
210
220
  tone: {
211
221
  type: String,
212
- default: H.ACCENT
222
+ default: X.ACCENT
213
223
  }
214
224
  },
215
225
  setup(e) {
216
- return (n, o) => (t(), a("span", {
217
- class: v(["ds-badge", `ds-badge--${e.tone}`])
226
+ return (i, l) => (t(), a("span", {
227
+ class: m(["ds-badge", `ds-badge--${e.tone}`])
218
228
  }, [
219
- I(n.$slots, "default", {}, void 0, !0)
229
+ I(i.$slots, "default", {}, void 0, !0)
220
230
  ], 2));
221
231
  }
222
- }), Ae = /* @__PURE__ */ $(Be, [["__scopeId", "data-v-f10a17a0"]]), Oe = ["src", "alt"], xe = ["aria-label"], Me = /* @__PURE__ */ k({
232
+ }), Ae = /* @__PURE__ */ T(Be, [["__scopeId", "data-v-f10a17a0"]]), Oe = ["src", "alt"], xe = ["aria-label"], Me = /* @__PURE__ */ $({
223
233
  __name: "DsAvatar",
224
234
  props: {
225
235
  image: { type: String, default: "" },
@@ -232,45 +242,45 @@ const Y = {
232
242
  alt: { type: String, default: "" }
233
243
  },
234
244
  setup(e) {
235
- const n = e, o = S(
236
- () => n.firstName && n.lastName ? (n.firstName.charAt(0) + n.lastName.charAt(0)).toUpperCase() : ""
237
- ), l = S(() => n.alt || `${n.firstName} ${n.lastName}`.trim()), i = S(() => ({ width: `${n.size}px`, height: `${n.size}px` })), d = S(() => {
238
- const c = n.uid || n.firstName + n.lastName;
239
- let u = 0;
240
- for (let f = 0; f < c.length; f++)
241
- u = c.charCodeAt(f) + ((u << 5) - u), u = u & u;
245
+ const i = e, l = h(
246
+ () => i.firstName && i.lastName ? (i.firstName.charAt(0) + i.lastName.charAt(0)).toUpperCase() : ""
247
+ ), r = h(() => i.alt || `${i.firstName} ${i.lastName}`.trim()), s = h(() => ({ width: `${i.size}px`, height: `${i.size}px` })), n = h(() => {
248
+ const o = i.uid || i.firstName + i.lastName;
249
+ let c = 0;
250
+ for (let f = 0; f < o.length; f++)
251
+ c = o.charCodeAt(f) + ((c << 5) - c), c = c & c;
242
252
  const b = [0, 0, 0];
243
- for (let f = 0; f < 3; f++) b[f] = u >> f * 8 & 255;
244
- const m = b[0] >= 200 && b[1] >= 200 && b[2] >= 200;
245
- return { bg: `rgb(${b[0]}, ${b[1]}, ${b[2]})`, fg: m ? "#323f4b" : "#fff" };
253
+ for (let f = 0; f < 3; f++) b[f] = c >> f * 8 & 255;
254
+ const y = b[0] >= 200 && b[1] >= 200 && b[2] >= 200;
255
+ return { bg: `rgb(${b[0]}, ${b[1]}, ${b[2]})`, fg: y ? "#323f4b" : "#fff" };
246
256
  });
247
- return (c, u) => e.image ? (t(), a("img", {
257
+ return (o, c) => e.image ? (t(), a("img", {
248
258
  key: 0,
249
- class: v(["ds-avatar", { "is-circular": e.circular }]),
259
+ class: m(["ds-avatar", { "is-circular": e.circular }]),
250
260
  src: e.image,
251
261
  alt: e.alt,
252
- style: w(i.value)
253
- }, null, 14, Oe)) : o.value ? (t(), a("div", {
262
+ style: L(s.value)
263
+ }, null, 14, Oe)) : l.value ? (t(), a("div", {
254
264
  key: 1,
255
- class: v(["ds-avatar ds-avatar--initials", { "is-circular": e.circular }]),
265
+ class: m(["ds-avatar ds-avatar--initials", { "is-circular": e.circular }]),
256
266
  role: "img",
257
- "aria-label": l.value || void 0,
258
- style: w([
259
- i.value,
260
- { background: d.value.bg, color: d.value.fg, fontSize: `${Math.round(e.size * 0.4)}px` }
267
+ "aria-label": r.value || void 0,
268
+ style: L([
269
+ s.value,
270
+ { background: n.value.bg, color: n.value.fg, fontSize: `${Math.round(e.size * 0.4)}px` }
261
271
  ])
262
- }, y(o.value), 15, xe)) : (t(), a("div", {
272
+ }, v(l.value), 15, xe)) : (t(), a("div", {
263
273
  key: 2,
264
- class: v(["ds-avatar ds-avatar--placeholder", { "is-circular": e.circular }]),
265
- style: w(i.value),
274
+ class: m(["ds-avatar ds-avatar--placeholder", { "is-circular": e.circular }]),
275
+ style: L(s.value),
266
276
  "aria-hidden": "true"
267
277
  }, null, 6));
268
278
  }
269
- }), aa = /* @__PURE__ */ $(Me, [["__scopeId", "data-v-e965ed47"]]), te = {
279
+ }), ta = /* @__PURE__ */ T(Me, [["__scopeId", "data-v-e965ed47"]]), le = {
270
280
  LEFT: "left",
271
281
  CENTER: "center",
272
282
  RIGHT: "right"
273
- }, Ve = { class: "ds-table" }, Ue = { class: "ds-table__wrapper" }, Fe = { class: "ds-table__table" }, ze = { key: 0 }, _e = ["colspan"], Pe = /* @__PURE__ */ k({
283
+ }, Ue = { class: "ds-table" }, Ve = { class: "ds-table__wrapper" }, Fe = { key: 0 }, ze = ["colspan"], Ge = /* @__PURE__ */ $({
274
284
  __name: "DsTable",
275
285
  props: {
276
286
  columns: {
@@ -289,59 +299,74 @@ const Y = {
289
299
  highlightRowId: {
290
300
  type: [String, Number],
291
301
  default: null
302
+ },
303
+ // Optional fixed row height (number → px, or any CSS length). Rows are
304
+ // content-driven by default; when set, this pins the height AND truncates
305
+ // overflowing cell text with an ellipsis.
306
+ rowHeight: {
307
+ type: [String, Number],
308
+ default: null
292
309
  }
293
310
  },
294
311
  setup(e) {
295
- return (n, o) => (t(), a("div", Ve, [
296
- s("div", Ue, [
297
- s("table", Fe, [
298
- s("thead", null, [
299
- s("tr", null, [
300
- (t(!0), a(B, null, M(e.columns, (l) => {
301
- var i;
312
+ const i = e, l = h(
313
+ () => i.rowHeight == null ? void 0 : {
314
+ "--ds-table-row-height": typeof i.rowHeight == "number" ? `${i.rowHeight}px` : i.rowHeight
315
+ }
316
+ );
317
+ return (r, s) => (t(), a("div", Ue, [
318
+ d("div", Ve, [
319
+ d("table", {
320
+ class: m(["ds-table__table", { "has-row-height": e.rowHeight != null }]),
321
+ style: L(l.value)
322
+ }, [
323
+ d("thead", null, [
324
+ d("tr", null, [
325
+ (t(!0), a(A, null, V(e.columns, (n) => {
326
+ var o;
302
327
  return t(), a("th", {
303
- key: l.key,
304
- class: v(`ds-table__th--${(i = l.align) != null ? i : g(te).LEFT}`),
305
- style: w(l.width ? { width: l.width } : void 0)
306
- }, y(l.label), 7);
328
+ key: n.key,
329
+ class: m(`ds-table__th--${(o = n.align) != null ? o : S(le).LEFT}`),
330
+ style: L(n.width ? { width: n.width } : void 0)
331
+ }, v(n.label), 7);
307
332
  }), 128))
308
333
  ])
309
334
  ]),
310
- s("tbody", null, [
311
- e.rows.length === 0 ? (t(), a("tr", ze, [
312
- s("td", {
335
+ d("tbody", null, [
336
+ e.rows.length === 0 ? (t(), a("tr", Fe, [
337
+ d("td", {
313
338
  class: "ds-table__empty",
314
339
  colspan: e.columns.length,
315
340
  "data-testid": "ds-table-empty"
316
341
  }, [
317
- I(n.$slots, "empty", {}, () => [
318
- A(y(e.emptyMessage), 1)
342
+ I(r.$slots, "empty", {}, () => [
343
+ O(v(e.emptyMessage), 1)
319
344
  ], !0)
320
- ], 8, _e)
321
- ])) : r("", !0),
322
- (t(!0), a(B, null, M(e.rows, (l) => (t(), a("tr", {
323
- key: l.id,
324
- class: v({ "is-highlighted": l.id === e.highlightRowId }),
345
+ ], 8, ze)
346
+ ])) : u("", !0),
347
+ (t(!0), a(A, null, V(e.rows, (n) => (t(), a("tr", {
348
+ key: n.id,
349
+ class: m({ "is-highlighted": n.id === e.highlightRowId }),
325
350
  "data-testid": "ds-table-row"
326
351
  }, [
327
- (t(!0), a(B, null, M(e.columns, (i) => {
328
- var d;
352
+ (t(!0), a(A, null, V(e.columns, (o) => {
353
+ var c;
329
354
  return t(), a("td", {
330
- key: i.key,
331
- class: v(`ds-table__td--${(d = i.align) != null ? d : g(te).LEFT}`)
355
+ key: o.key,
356
+ class: m(`ds-table__td--${(c = o.align) != null ? c : S(le).LEFT}`)
332
357
  }, [
333
- I(n.$slots, `cell-${i.key}`, { row: l }, () => [
334
- A(y(l[i.key]), 1)
358
+ I(r.$slots, `cell-${o.key}`, { row: n }, () => [
359
+ O(v(n[o.key]), 1)
335
360
  ], !0)
336
361
  ], 2);
337
362
  }), 128))
338
363
  ], 2))), 128))
339
364
  ])
340
- ])
365
+ ], 6)
341
366
  ])
342
367
  ]));
343
368
  }
344
- }), la = /* @__PURE__ */ $(Pe, [["__scopeId", "data-v-1735ff35"]]), P = {
369
+ }), aa = /* @__PURE__ */ T(Ge, [["__scopeId", "data-v-45342363"]]), Y = {
345
370
  TEXT: "text",
346
371
  EMAIL: "email",
347
372
  PASSWORD: "password",
@@ -349,26 +374,26 @@ const Y = {
349
374
  NUMBER: "number",
350
375
  SEARCH: "search",
351
376
  URL: "url"
352
- }, Ge = {
377
+ }, _e = {
353
378
  SM: "sm",
354
379
  // 36px
355
380
  MD: "md"
356
381
  // 48px
357
- }, Ye = { class: "ds-input__wrap" }, Ke = ["id", "type", "placeholder", "disabled", "name", "autocomplete", "aria-invalid", "aria-describedby"], He = {
382
+ }, Pe = { class: "ds-input__wrap" }, pe = ["id", "type", "placeholder", "disabled", "name", "autocomplete", "aria-invalid", "aria-describedby"], He = {
358
383
  key: 0,
359
384
  class: "ds-input__suffix"
360
- }, We = {
385
+ }, Ye = {
361
386
  key: 0,
362
387
  class: "material-icons ds-input__error-icon",
363
388
  "aria-hidden": "true"
364
- }, qe = ["aria-label", "aria-pressed"], pe = {
389
+ }, qe = ["aria-label", "aria-pressed"], We = {
365
390
  class: "material-icons",
366
391
  "aria-hidden": "true"
367
- }, Xe = ["id"], Ze = /* @__PURE__ */ k({
392
+ }, Ke = ["id"], Xe = /* @__PURE__ */ $({
368
393
  __name: "DsInput",
369
- props: /* @__PURE__ */ O({
370
- type: { type: String, default: P.TEXT },
371
- size: { type: String, default: Ge.SM },
394
+ props: /* @__PURE__ */ U({
395
+ type: { type: String, default: Y.TEXT },
396
+ size: { type: String, default: _e.SM },
372
397
  placeholder: { type: String, default: "" },
373
398
  disabled: Boolean,
374
399
  error: Boolean,
@@ -383,21 +408,21 @@ const Y = {
383
408
  modelValue: { default: "" },
384
409
  modelModifiers: {}
385
410
  }),
386
- emits: /* @__PURE__ */ O([V, U], ["update:modelValue"]),
387
- setup(e, { emit: n }) {
388
- const o = W(e, "modelValue"), l = e, i = n, d = le(), c = N(!1), u = S(() => l.type === P.PASSWORD), b = S(
389
- () => u.value && c.value ? P.TEXT : l.type
390
- ), m = S(
391
- () => !!d.suffix || l.error && l.showErrorIcon || u.value
411
+ emits: /* @__PURE__ */ U([F, z], ["update:modelValue"]),
412
+ setup(e, { emit: i }) {
413
+ const l = Q(e, "modelValue"), r = e, s = i, n = oe(), o = R(!1), c = h(() => r.type === Y.PASSWORD), b = h(
414
+ () => c.value && o.value ? Y.TEXT : r.type
415
+ ), y = h(
416
+ () => !!n.suffix || r.error && r.showErrorIcon || c.value
392
417
  );
393
- return (f, h) => (t(), a("div", {
394
- class: v(["ds-input", [`ds-input--${e.size}`, { "is-error": e.error, "is-disabled": e.disabled }]])
418
+ return (f, g) => (t(), a("div", {
419
+ class: m(["ds-input", [`ds-input--${e.size}`, { "is-error": e.error, "is-disabled": e.disabled }]])
395
420
  }, [
396
- s("div", Ye, [
397
- q(s("input", {
421
+ d("div", Pe, [
422
+ Z(d("input", {
398
423
  id: e.id || void 0,
399
- "onUpdate:modelValue": h[0] || (h[0] = (T) => o.value = T),
400
- class: v(["ds-input__control", { "has-suffix": m.value }]),
424
+ "onUpdate:modelValue": g[0] || (g[0] = (k) => l.value = k),
425
+ class: m(["ds-input__control", { "has-suffix": y.value }]),
401
426
  type: b.value,
402
427
  placeholder: e.placeholder,
403
428
  disabled: e.disabled,
@@ -405,35 +430,35 @@ const Y = {
405
430
  autocomplete: e.autocomplete || void 0,
406
431
  "aria-invalid": e.error || void 0,
407
432
  "aria-describedby": e.error && e.errorMessage && e.id ? `${e.id}-error` : void 0,
408
- onFocus: h[1] || (h[1] = (T) => i(g(V), T)),
409
- onBlur: h[2] || (h[2] = (T) => i(g(U), T))
410
- }, null, 42, Ke), [
411
- [ce, o.value]
433
+ onFocus: g[1] || (g[1] = (k) => s(S(F), k)),
434
+ onBlur: g[2] || (g[2] = (k) => s(S(z), k))
435
+ }, null, 42, pe), [
436
+ [ye, l.value]
412
437
  ]),
413
- m.value ? (t(), a("div", He, [
438
+ y.value ? (t(), a("div", He, [
414
439
  I(f.$slots, "suffix", {}, void 0, !0),
415
- e.error && e.showErrorIcon ? (t(), a("i", We, "warning")) : u.value ? (t(), a("button", {
440
+ e.error && e.showErrorIcon ? (t(), a("i", Ye, "warning")) : c.value ? (t(), a("button", {
416
441
  key: 1,
417
442
  type: "button",
418
443
  class: "ds-input__toggle",
419
444
  "aria-label": e.toggleLabel || void 0,
420
- "aria-pressed": c.value,
421
- onClick: h[3] || (h[3] = (T) => c.value = !c.value)
445
+ "aria-pressed": o.value,
446
+ onClick: g[3] || (g[3] = (k) => o.value = !o.value)
422
447
  }, [
423
- s("i", pe, y(c.value ? "visibility" : "visibility_off"), 1)
424
- ], 8, qe)) : r("", !0)
425
- ])) : r("", !0)
448
+ d("i", We, v(o.value ? "visibility" : "visibility_off"), 1)
449
+ ], 8, qe)) : u("", !0)
450
+ ])) : u("", !0)
426
451
  ]),
427
452
  e.error && e.errorMessage ? (t(), a("p", {
428
453
  key: 0,
429
454
  id: e.id ? `${e.id}-error` : void 0,
430
455
  class: "ds-input__error"
431
- }, y(e.errorMessage), 9, Xe)) : r("", !0)
456
+ }, v(e.errorMessage), 9, Ke)) : u("", !0)
432
457
  ], 2));
433
458
  }
434
- }), ia = /* @__PURE__ */ $(Ze, [["__scopeId", "data-v-d4b27b55"]]), je = ["id", "placeholder", "rows", "disabled", "name", "aria-invalid", "aria-describedby"], Qe = ["id"], Je = /* @__PURE__ */ k({
459
+ }), ia = /* @__PURE__ */ T(Xe, [["__scopeId", "data-v-fb36e573"]]), Qe = ["id", "placeholder", "rows", "disabled", "name", "aria-invalid", "aria-describedby"], Ze = ["id"], je = /* @__PURE__ */ $({
435
460
  __name: "DsTextarea",
436
- props: /* @__PURE__ */ O({
461
+ props: /* @__PURE__ */ U({
437
462
  placeholder: { type: String, default: "" },
438
463
  rows: { type: Number, default: 4 },
439
464
  disabled: Boolean,
@@ -445,15 +470,15 @@ const Y = {
445
470
  modelValue: { default: "" },
446
471
  modelModifiers: {}
447
472
  }),
448
- emits: /* @__PURE__ */ O([V, U], ["update:modelValue"]),
449
- setup(e, { emit: n }) {
450
- const o = W(e, "modelValue"), l = n;
451
- return (i, d) => (t(), a("div", {
452
- class: v(["ds-textarea", { "is-error": e.error, "is-disabled": e.disabled }])
473
+ emits: /* @__PURE__ */ U([F, z], ["update:modelValue"]),
474
+ setup(e, { emit: i }) {
475
+ const l = Q(e, "modelValue"), r = i;
476
+ return (s, n) => (t(), a("div", {
477
+ class: m(["ds-textarea", { "is-error": e.error, "is-disabled": e.disabled }])
453
478
  }, [
454
- q(s("textarea", {
479
+ Z(d("textarea", {
455
480
  id: e.id || void 0,
456
- "onUpdate:modelValue": d[0] || (d[0] = (c) => o.value = c),
481
+ "onUpdate:modelValue": n[0] || (n[0] = (o) => l.value = o),
457
482
  class: "ds-textarea__control",
458
483
  placeholder: e.placeholder,
459
484
  rows: e.rows,
@@ -461,38 +486,38 @@ const Y = {
461
486
  name: e.name || void 0,
462
487
  "aria-invalid": e.error || void 0,
463
488
  "aria-describedby": e.error && e.errorMessage && e.id ? `${e.id}-error` : void 0,
464
- onFocus: d[1] || (d[1] = (c) => l(g(V), c)),
465
- onBlur: d[2] || (d[2] = (c) => l(g(U), c))
466
- }, null, 40, je), [
467
- [ue, o.value]
489
+ onFocus: n[1] || (n[1] = (o) => r(S(F), o)),
490
+ onBlur: n[2] || (n[2] = (o) => r(S(z), o))
491
+ }, null, 40, Qe), [
492
+ [ve, l.value]
468
493
  ]),
469
494
  e.error && e.errorMessage ? (t(), a("p", {
470
495
  key: 0,
471
496
  id: e.id ? `${e.id}-error` : void 0,
472
497
  class: "ds-textarea__error"
473
- }, y(e.errorMessage), 9, Qe)) : r("", !0)
498
+ }, v(e.errorMessage), 9, Ze)) : u("", !0)
474
499
  ], 2));
475
500
  }
476
- }), na = /* @__PURE__ */ $(Je, [["__scopeId", "data-v-cfa74e3d"]]), et = ["disabled", "name"], tt = {
501
+ }), la = /* @__PURE__ */ T(je, [["__scopeId", "data-v-54fc312a"]]), Je = ["disabled", "name"], et = {
477
502
  key: 0,
478
503
  class: "ds-checkbox__mark",
479
504
  viewBox: "0 0 16 16",
480
505
  fill: "none",
481
506
  stroke: "currentColor",
482
507
  "stroke-width": "2.5"
483
- }, at = {
508
+ }, tt = {
484
509
  key: 1,
485
510
  class: "ds-checkbox__mark",
486
511
  viewBox: "0 0 16 16",
487
512
  fill: "none",
488
513
  stroke: "currentColor",
489
514
  "stroke-width": "2.5"
490
- }, lt = {
515
+ }, at = {
491
516
  key: 0,
492
517
  class: "ds-checkbox__label"
493
- }, it = /* @__PURE__ */ k({
518
+ }, it = /* @__PURE__ */ $({
494
519
  __name: "DsCheckbox",
495
- props: /* @__PURE__ */ O({
520
+ props: /* @__PURE__ */ U({
496
521
  indeterminate: Boolean,
497
522
  disabled: Boolean,
498
523
  name: { type: String, default: "" },
@@ -504,73 +529,73 @@ const Y = {
504
529
  }),
505
530
  emits: ["update:modelValue"],
506
531
  setup(e) {
507
- const n = W(e, "modelValue"), o = e, l = N(null);
508
- function i() {
509
- l.value && (l.value.indeterminate = o.indeterminate);
532
+ const i = Q(e, "modelValue"), l = e, r = R(null);
533
+ function s() {
534
+ r.value && (r.value.indeterminate = l.indeterminate);
510
535
  }
511
- return fe(i), ie(() => o.indeterminate, i), (d, c) => (t(), a("label", {
512
- class: v(["ds-checkbox", { "is-disabled": e.disabled }])
536
+ return se(s), de(() => l.indeterminate, s), (n, o) => (t(), a("label", {
537
+ class: m(["ds-checkbox", { "is-disabled": e.disabled }])
513
538
  }, [
514
- q(s("input", {
539
+ Z(d("input", {
515
540
  ref_key: "inputRef",
516
- ref: l,
517
- "onUpdate:modelValue": c[0] || (c[0] = (u) => n.value = u),
541
+ ref: r,
542
+ "onUpdate:modelValue": o[0] || (o[0] = (c) => i.value = c),
518
543
  type: "checkbox",
519
544
  class: "ds-checkbox__native",
520
545
  disabled: e.disabled,
521
546
  name: e.name || void 0
522
- }, null, 8, et), [
523
- [ye, n.value]
547
+ }, null, 8, Je), [
548
+ [be, i.value]
524
549
  ]),
525
- s("span", {
526
- class: v(["ds-checkbox__box", { "is-active": n.value || e.indeterminate }]),
550
+ d("span", {
551
+ class: m(["ds-checkbox__box", { "is-active": i.value || e.indeterminate }]),
527
552
  "aria-hidden": "true"
528
553
  }, [
529
- e.indeterminate ? (t(), a("svg", tt, [...c[1] || (c[1] = [
530
- s("line", {
554
+ e.indeterminate ? (t(), a("svg", et, [...o[1] || (o[1] = [
555
+ d("line", {
531
556
  x1: "4",
532
557
  y1: "8",
533
558
  x2: "12",
534
559
  y2: "8"
535
560
  }, null, -1)
536
- ])])) : n.value ? (t(), a("svg", at, [...c[2] || (c[2] = [
537
- s("path", { d: "M3.5 8.5l3 3 6-6" }, null, -1)
538
- ])])) : r("", !0)
561
+ ])])) : i.value ? (t(), a("svg", tt, [...o[2] || (o[2] = [
562
+ d("path", { d: "M3.5 8.5l3 3 6-6" }, null, -1)
563
+ ])])) : u("", !0)
539
564
  ], 2),
540
- d.$slots.default || e.label ? (t(), a("span", lt, [
541
- I(d.$slots, "default", {}, () => [
542
- A(y(e.label), 1)
565
+ n.$slots.default || e.label ? (t(), a("span", at, [
566
+ I(n.$slots, "default", {}, () => [
567
+ O(v(e.label), 1)
543
568
  ], !0)
544
- ])) : r("", !0)
569
+ ])) : u("", !0)
545
570
  ], 2));
546
571
  }
547
- }), oa = /* @__PURE__ */ $(it, [["__scopeId", "data-v-0c1a3c0a"]]), nt = {
572
+ }), na = /* @__PURE__ */ T(it, [["__scopeId", "data-v-8ccdf847"]]), lt = {
548
573
  SUCCESS: "success",
549
574
  INFO: "info",
550
575
  WARNING: "warning",
551
576
  ERROR: "error"
552
- }, ot = {
577
+ }, nt = {
553
578
  LIGHT: "light",
554
579
  // tinted: family tint bg + mid border + shadow text
555
580
  DARK: "dark"
556
581
  // solid: family shadow bg + white text
557
- }, st = {
582
+ }, ot = {
558
583
  success: "check_circle",
559
584
  info: "info",
560
585
  warning: "warning",
561
586
  error: "error"
562
- }, dt = {
587
+ }, st = {
563
588
  key: 0,
564
589
  class: "material-icons ds-alert__icon",
565
590
  "aria-hidden": "true"
566
- }, rt = { class: "ds-alert__content" }, ct = {
591
+ }, dt = { class: "ds-alert__content" }, rt = {
567
592
  key: 1,
568
593
  class: "ds-alert__body"
569
- }, ut = ["aria-label"], ft = /* @__PURE__ */ k({
594
+ }, ct = ["aria-label"], ut = /* @__PURE__ */ $({
570
595
  __name: "DsAlert",
571
596
  props: {
572
- type: { type: String, default: nt.INFO },
573
- effect: { type: String, default: ot.LIGHT },
597
+ type: { type: String, default: lt.INFO },
598
+ effect: { type: String, default: nt.LIGHT },
574
599
  title: { type: String, default: "" },
575
600
  description: { type: String, default: "" },
576
601
  showIcon: Boolean,
@@ -579,27 +604,27 @@ const Y = {
579
604
  closeLabel: { type: String, default: "" }
580
605
  },
581
606
  emits: [C],
582
- setup(e, { emit: n }) {
583
- const o = e, l = n, i = le(), d = N(!0), c = S(() => st[o.type]), u = S(() => !!i.default || o.description.length > 0);
607
+ setup(e, { emit: i }) {
608
+ const l = e, r = i, s = oe(), n = R(!0), o = h(() => ot[l.type]), c = h(() => !!s.default || l.description.length > 0);
584
609
  function b() {
585
- d.value = !1, l(C);
610
+ n.value = !1, r(C);
586
611
  }
587
- return (m, f) => d.value ? (t(), a("div", {
612
+ return (y, f) => n.value ? (t(), a("div", {
588
613
  key: 0,
589
- class: v(["ds-alert", [`ds-alert--${e.type}`, `ds-alert--${e.effect}`, { "is-center": e.center }]]),
614
+ class: m(["ds-alert", [`ds-alert--${e.type}`, `ds-alert--${e.effect}`, { "is-center": e.center }]]),
590
615
  role: "alert"
591
616
  }, [
592
- e.showIcon ? (t(), a("i", dt, y(c.value), 1)) : r("", !0),
593
- s("div", rt, [
617
+ e.showIcon ? (t(), a("i", st, v(o.value), 1)) : u("", !0),
618
+ d("div", dt, [
594
619
  e.title ? (t(), a("div", {
595
620
  key: 0,
596
- class: v(["ds-alert__title", { "has-body": u.value }])
597
- }, y(e.title), 3)) : r("", !0),
598
- u.value ? (t(), a("div", ct, [
599
- I(m.$slots, "default", {}, () => [
600
- A(y(e.description), 1)
621
+ class: m(["ds-alert__title", { "has-body": c.value }])
622
+ }, v(e.title), 3)) : u("", !0),
623
+ c.value ? (t(), a("div", rt, [
624
+ I(y.$slots, "default", {}, () => [
625
+ O(v(e.description), 1)
601
626
  ], !0)
602
- ])) : r("", !0)
627
+ ])) : u("", !0)
603
628
  ]),
604
629
  e.closable ? (t(), a("button", {
605
630
  key: 1,
@@ -608,100 +633,128 @@ const Y = {
608
633
  "aria-label": e.closeLabel || void 0,
609
634
  onClick: b
610
635
  }, [...f[0] || (f[0] = [
611
- s("i", {
636
+ d("i", {
612
637
  class: "material-icons",
613
638
  "aria-hidden": "true"
614
639
  }, "close", -1)
615
- ])], 8, ut)) : r("", !0)
616
- ], 2)) : r("", !0);
640
+ ])], 8, ct)) : u("", !0)
641
+ ], 2)) : u("", !0);
617
642
  }
618
- }), sa = /* @__PURE__ */ $(ft, [["__scopeId", "data-v-58ce7b87"]]), yt = {
643
+ }), oa = /* @__PURE__ */ T(ut, [["__scopeId", "data-v-03bbe700"]]), ft = {
644
+ SUCCESS: "success",
619
645
  INFO: "info",
620
646
  WARNING: "warning",
621
647
  ERROR: "error"
622
- }, vt = {
648
+ }, yt = {
623
649
  TOP_LEFT: "top-left",
624
650
  TOP_RIGHT: "top-right",
625
651
  BOTTOM_LEFT: "bottom-left",
626
652
  BOTTOM_RIGHT: "bottom-right"
627
- }, bt = {
653
+ }, vt = {
654
+ success: "check_circle",
628
655
  info: "mode_edit",
629
656
  warning: "warning",
630
- error: "warning"
631
- }, mt = {
657
+ error: "error"
658
+ }, bt = {
632
659
  class: "material-icons ds-notification__icon",
633
660
  "aria-hidden": "true"
634
- }, gt = { class: "ds-notification__content" }, ht = {
661
+ }, mt = { class: "ds-notification__content" }, gt = {
635
662
  key: 0,
636
663
  class: "ds-notification__title"
637
- }, St = {
664
+ }, ht = {
638
665
  key: 1,
639
666
  class: "ds-notification__desc"
640
- }, kt = ["href"], $t = ["aria-label"], Tt = /* @__PURE__ */ k({
667
+ }, St = ["href"], kt = ["aria-label"], $t = /* @__PURE__ */ $({
641
668
  __name: "DsNotification",
642
669
  props: {
643
- type: { type: String, default: yt.INFO },
670
+ type: { type: String, default: ft.INFO },
644
671
  position: {
645
672
  type: String,
646
- default: vt.BOTTOM_LEFT
673
+ default: yt.BOTTOM_LEFT
647
674
  },
648
675
  title: { type: String, default: "" },
649
676
  description: { type: String, default: "" },
650
677
  linkTitle: { type: String, default: "" },
651
678
  link: { type: String, default: "" },
652
679
  showClose: { type: Boolean, default: !0 },
653
- closeLabel: { type: String, default: "" }
680
+ closeLabel: { type: String, default: "" },
681
+ // Auto-dismiss delay in ms (DS default 3500). 0 disables it. The timer pauses
682
+ // while the pointer is over the card and resumes with the remaining time.
683
+ duration: { type: Number, default: 3500 }
654
684
  },
655
685
  emits: [C],
656
- setup(e, { emit: n }) {
657
- const o = e, l = n, i = N(!0), d = S(() => bt[o.type]);
658
- function c() {
659
- i.value = !1, l(C);
686
+ setup(e, { emit: i }) {
687
+ const l = e, r = i, s = R(!0), n = h(() => vt[l.type]);
688
+ let o, c = 0, b = l.duration;
689
+ function y() {
690
+ o && (clearTimeout(o), o = void 0);
660
691
  }
661
- return (u, b) => (t(), D(ne, { to: "body" }, [
662
- i.value ? (t(), a("div", {
663
- key: 0,
664
- class: v(["ds-notification", `ds-notification--${e.position}`])
665
- }, [
666
- s("div", {
667
- class: v(["ds-notification__card", `ds-notification__card--${e.type}`]),
668
- role: "alert"
669
- }, [
670
- s("i", mt, y(d.value), 1),
671
- s("div", gt, [
672
- e.title ? (t(), a("span", ht, y(e.title), 1)) : r("", !0),
673
- e.description ? (t(), a("p", St, y(e.description), 1)) : r("", !0),
674
- e.linkTitle ? (t(), a("a", {
675
- key: 2,
676
- class: "ds-notification__link",
677
- href: e.link || void 0,
678
- target: "_blank",
679
- rel: "noreferrer"
680
- }, y(e.linkTitle), 9, kt)) : r("", !0)
681
- ]),
682
- e.showClose ? (t(), a("button", {
692
+ function f(x) {
693
+ y(), !(l.duration <= 0 || !s.value) && (c = Date.now(), o = setTimeout(N, x));
694
+ }
695
+ function g() {
696
+ o && (b -= Date.now() - c, y());
697
+ }
698
+ function k() {
699
+ f(b > 0 ? b : l.duration);
700
+ }
701
+ function N() {
702
+ y(), s.value = !1, r(C);
703
+ }
704
+ return se(() => f(l.duration)), j(y), (x, M) => (t(), D(re, { to: "body" }, [
705
+ p(ce, {
706
+ name: "ds-notification",
707
+ appear: ""
708
+ }, {
709
+ default: J(() => [
710
+ s.value ? (t(), a("div", {
683
711
  key: 0,
684
- type: "button",
685
- class: "ds-notification__close",
686
- "aria-label": e.closeLabel || void 0,
687
- onClick: c
688
- }, [...b[0] || (b[0] = [
689
- s("i", {
690
- class: "material-icons",
691
- "aria-hidden": "true"
692
- }, "close", -1)
693
- ])], 8, $t)) : r("", !0)
694
- ], 2)
695
- ], 2)) : r("", !0)
712
+ class: m(["ds-notification", `ds-notification--${e.position}`])
713
+ }, [
714
+ d("div", {
715
+ class: m(["ds-notification__card", `ds-notification__card--${e.type}`]),
716
+ role: "alert",
717
+ onMouseenter: g,
718
+ onMouseleave: k
719
+ }, [
720
+ d("i", bt, v(n.value), 1),
721
+ d("div", mt, [
722
+ e.title ? (t(), a("span", gt, v(e.title), 1)) : u("", !0),
723
+ e.description ? (t(), a("p", ht, v(e.description), 1)) : u("", !0),
724
+ e.linkTitle ? (t(), a("a", {
725
+ key: 2,
726
+ class: "ds-notification__link",
727
+ href: e.link || void 0,
728
+ target: "_blank",
729
+ rel: "noreferrer"
730
+ }, v(e.linkTitle), 9, St)) : u("", !0)
731
+ ]),
732
+ e.showClose ? (t(), a("button", {
733
+ key: 0,
734
+ type: "button",
735
+ class: "ds-notification__close",
736
+ "aria-label": e.closeLabel || void 0,
737
+ onClick: N
738
+ }, [...M[0] || (M[0] = [
739
+ d("i", {
740
+ class: "material-icons",
741
+ "aria-hidden": "true"
742
+ }, "close", -1)
743
+ ])], 8, kt)) : u("", !0)
744
+ ], 34)
745
+ ], 2)) : u("", !0)
746
+ ]),
747
+ _: 1
748
+ })
696
749
  ]));
697
750
  }
698
- }), da = /* @__PURE__ */ $(Tt, [["__scopeId", "data-v-287d5c06"]]), It = ["aria-label"], Ct = {
751
+ }), sa = /* @__PURE__ */ T($t, [["__scopeId", "data-v-dff620c6"]]), Tt = ["aria-label"], It = {
699
752
  key: 0,
700
753
  class: "ds-modal__header"
701
- }, Et = { class: "ds-modal__title" }, Lt = { class: "ds-modal__body" }, Dt = {
754
+ }, Ct = { class: "ds-modal__title" }, Et = { class: "ds-modal__body" }, wt = {
702
755
  key: 1,
703
756
  class: "ds-modal__footer"
704
- }, wt = /* @__PURE__ */ k({
757
+ }, Lt = /* @__PURE__ */ $({
705
758
  __name: "DsModal",
706
759
  props: {
707
760
  open: Boolean,
@@ -712,88 +765,93 @@ const Y = {
712
765
  closeLabel: { type: String, default: "" }
713
766
  },
714
767
  emits: [C],
715
- setup(e, { emit: n }) {
716
- const o = e, l = n, i = N(null);
717
- let d = null;
718
- function c() {
719
- o.closeOnBackdrop && l(C);
768
+ setup(e, { emit: i }) {
769
+ const l = e, r = i, s = R(null);
770
+ let n = null;
771
+ function o() {
772
+ l.closeOnBackdrop && r(C);
720
773
  }
721
- function u() {
722
- 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(
774
+ function c() {
775
+ return s.value ? Array.from(s.value.querySelectorAll('a[href], button:not([disabled]), textarea:not([disabled]), input:not([disabled]), select:not([disabled]), [tabindex]:not([tabindex="-1"])')).filter(
723
776
  (f) => f.offsetParent !== null
724
777
  ) : [];
725
778
  }
726
- function b(m) {
727
- var x;
728
- if (m.key === "Escape") {
729
- l(C);
779
+ function b(y) {
780
+ var N;
781
+ if (y.key === "Escape") {
782
+ r(C);
730
783
  return;
731
784
  }
732
- if (m.key !== "Tab") return;
733
- const f = u();
785
+ if (y.key !== "Tab") return;
786
+ const f = c();
734
787
  if (f.length === 0) {
735
- m.preventDefault(), (x = i.value) == null || x.focus();
788
+ y.preventDefault(), (N = s.value) == null || N.focus();
736
789
  return;
737
790
  }
738
- const h = f[0], T = f[f.length - 1];
739
- m.shiftKey && document.activeElement === h ? (m.preventDefault(), T.focus()) : !m.shiftKey && document.activeElement === T && (m.preventDefault(), h.focus());
791
+ const g = f[0], k = f[f.length - 1];
792
+ y.shiftKey && document.activeElement === g ? (y.preventDefault(), k.focus()) : !y.shiftKey && document.activeElement === k && (y.preventDefault(), g.focus());
740
793
  }
741
- return ie(
742
- () => o.open,
743
- (m) => {
794
+ return de(
795
+ () => l.open,
796
+ (y) => {
744
797
  var f;
745
- typeof document != "undefined" && (m ? (d = document.activeElement, document.addEventListener("keydown", b), document.body.style.overflow = "hidden", ve(() => {
746
- var h, T;
747
- return (T = (h = u()[0]) != null ? h : i.value) == null ? void 0 : T.focus();
748
- })) : (document.removeEventListener("keydown", b), document.body.style.overflow = "", (f = d == null ? void 0 : d.focus) == null || f.call(d)));
798
+ typeof document != "undefined" && (y ? (n = document.activeElement, document.addEventListener("keydown", b), document.body.style.overflow = "hidden", me(() => {
799
+ var g, k;
800
+ return (k = (g = c()[0]) != null ? g : s.value) == null ? void 0 : k.focus();
801
+ })) : (document.removeEventListener("keydown", b), document.body.style.overflow = "", (f = n == null ? void 0 : n.focus) == null || f.call(n)));
749
802
  },
750
803
  { immediate: !0 }
751
- ), oe(() => {
804
+ ), j(() => {
752
805
  typeof document != "undefined" && (document.removeEventListener("keydown", b), document.body.style.overflow = "");
753
- }), (m, f) => (t(), D(ne, { to: "body" }, [
754
- e.open ? (t(), a("div", {
755
- key: 0,
756
- class: "ds-modal",
757
- onClick: c
758
- }, [
759
- s("div", {
760
- ref_key: "dialogRef",
761
- ref: i,
762
- class: "ds-modal__dialog",
763
- role: "dialog",
764
- "aria-modal": "true",
765
- "aria-label": e.title || "dialog",
766
- tabindex: "-1",
767
- style: w({ width: e.width }),
768
- onClick: f[1] || (f[1] = se(() => {
769
- }, ["stop"]))
770
- }, [
771
- e.title || e.showClose ? (t(), a("div", Ct, [
772
- s("span", Et, y(e.title), 1),
773
- e.showClose ? (t(), D(g(K), {
774
- key: 0,
775
- variant: "tertiary",
776
- circle: "",
777
- "left-icon": "close",
778
- "aria-label": e.closeLabel || void 0,
779
- onClick: f[0] || (f[0] = (h) => l(g(C)))
780
- }, null, 8, ["aria-label"])) : r("", !0)
781
- ])) : r("", !0),
782
- s("div", Lt, [
783
- I(m.$slots, "default", {}, void 0, !0)
784
- ]),
785
- m.$slots.footer ? (t(), a("div", Dt, [
786
- I(m.$slots, "footer", {}, void 0, !0)
787
- ])) : r("", !0)
788
- ], 12, It)
789
- ])) : r("", !0)
806
+ }), (y, f) => (t(), D(re, { to: "body" }, [
807
+ p(ce, { name: "ds-modal" }, {
808
+ default: J(() => [
809
+ e.open ? (t(), a("div", {
810
+ key: 0,
811
+ class: "ds-modal",
812
+ onClick: o
813
+ }, [
814
+ d("div", {
815
+ ref_key: "dialogRef",
816
+ ref: s,
817
+ class: "ds-modal__dialog",
818
+ role: "dialog",
819
+ "aria-modal": "true",
820
+ "aria-label": e.title || "dialog",
821
+ tabindex: "-1",
822
+ style: L({ width: e.width }),
823
+ onClick: f[1] || (f[1] = ue(() => {
824
+ }, ["stop"]))
825
+ }, [
826
+ e.title || e.showClose ? (t(), a("div", It, [
827
+ d("span", Ct, v(e.title), 1),
828
+ e.showClose ? (t(), D(S(K), {
829
+ key: 0,
830
+ variant: "tertiary",
831
+ circle: "",
832
+ "left-icon": "close",
833
+ "aria-label": e.closeLabel || void 0,
834
+ onClick: f[0] || (f[0] = (g) => r(S(C)))
835
+ }, null, 8, ["aria-label"])) : u("", !0)
836
+ ])) : u("", !0),
837
+ d("div", Et, [
838
+ I(y.$slots, "default", {}, void 0, !0)
839
+ ]),
840
+ y.$slots.footer ? (t(), a("div", wt, [
841
+ I(y.$slots, "footer", {}, void 0, !0)
842
+ ])) : u("", !0)
843
+ ], 12, Tt)
844
+ ])) : u("", !0)
845
+ ]),
846
+ _: 3
847
+ })
790
848
  ]));
791
849
  }
792
- }), ra = /* @__PURE__ */ $(wt, [["__scopeId", "data-v-6eecaabb"]]), G = {
850
+ }), da = /* @__PURE__ */ T(Lt, [["__scopeId", "data-v-19866588"]]), q = {
793
851
  VERIFIED: "verified",
794
852
  UNVERIFIED: "unverified",
795
853
  NEW: "new"
796
- }, Nt = ["aria-label", "title"], Rt = /* @__PURE__ */ k({
854
+ }, Dt = ["aria-label", "title"], Nt = /* @__PURE__ */ $({
797
855
  __name: "DsVerificationIcon",
798
856
  props: {
799
857
  // true = verified · false = not verified · null/undefined = newly found.
@@ -818,38 +876,38 @@ const Y = {
818
876
  }
819
877
  },
820
878
  setup(e) {
821
- const n = e, o = S(() => n.verified === null || n.verified === void 0 ? {
822
- state: G.NEW,
879
+ const i = e, l = h(() => i.verified === null || i.verified === void 0 ? {
880
+ state: q.NEW,
823
881
  icon: "new_releases",
824
882
  label: "Newly found"
825
- } : n.verified ? {
826
- state: G.VERIFIED,
883
+ } : i.verified ? {
884
+ state: q.VERIFIED,
827
885
  icon: "verified",
828
886
  label: "Verified"
829
887
  } : {
830
- state: G.UNVERIFIED,
831
- icon: n.isContactData ? "dangerous" : "error",
888
+ state: q.UNVERIFIED,
889
+ icon: i.isContactData ? "dangerous" : "error",
832
890
  label: "Not verified"
833
891
  });
834
- return (l, i) => (t(), a("i", {
835
- class: v(["material-icons ds-verification-icon", [
836
- `ds-verification-icon--${o.value.state}`,
892
+ return (r, s) => (t(), a("i", {
893
+ class: m(["material-icons ds-verification-icon", [
894
+ `ds-verification-icon--${l.value.state}`,
837
895
  { "ds-verification-icon--email": e.isContactData }
838
896
  ]]),
839
- style: w({ fontSize: `${e.size}px` }),
897
+ style: L({ fontSize: `${e.size}px` }),
840
898
  role: "img",
841
- "aria-label": e.label || o.value.label,
842
- title: e.label || o.value.label
899
+ "aria-label": e.label || l.value.label,
900
+ title: e.label || l.value.label
843
901
  }, [
844
- I(l.$slots, "default", {}, () => [
845
- A(y(o.value.icon), 1)
902
+ I(r.$slots, "default", {}, () => [
903
+ O(v(l.value.icon), 1)
846
904
  ], !0)
847
- ], 14, Nt));
905
+ ], 14, Dt));
848
906
  }
849
- }), Bt = /* @__PURE__ */ $(Rt, [["__scopeId", "data-v-0fd84040"]]), At = ["title"], Ot = { class: "ds-contact-value__marquee" }, xt = { class: "ds-contact-value__actions" }, Mt = ["aria-label", "title"], Vt = {
907
+ }), Rt = /* @__PURE__ */ T(Nt, [["__scopeId", "data-v-0fd84040"]]), Bt = ["title"], At = { class: "ds-contact-value__marquee" }, Ot = { class: "ds-contact-value__actions" }, xt = ["aria-label", "title"], Mt = {
850
908
  class: "material-icons",
851
909
  "aria-hidden": "true"
852
- }, Ut = ["aria-label", "aria-pressed", "title"], Ft = ["aria-label", "aria-pressed", "title"], zt = /* @__PURE__ */ k({
910
+ }, Ut = ["aria-label", "aria-pressed", "title"], Vt = ["aria-label", "aria-pressed", "title"], Ft = /* @__PURE__ */ $({
853
911
  __name: "DsContactValue",
854
912
  props: {
855
913
  value: { type: String, required: !0 },
@@ -865,106 +923,106 @@ const Y = {
865
923
  correctLabel: { type: String, default: "Correct" },
866
924
  incorrectLabel: { type: String, default: "Incorrect" }
867
925
  },
868
- emits: [F, z, _],
869
- setup(e, { emit: n }) {
870
- const o = e, l = n, i = N(!1);
871
- let d;
872
- function c() {
873
- typeof navigator != "undefined" && navigator.clipboard && navigator.clipboard.writeText(o.value).catch(() => {
874
- }), i.value = !0, clearTimeout(d), d = setTimeout(() => {
875
- i.value = !1;
876
- }, 1200), l(F, o.value);
926
+ emits: [G, _, P],
927
+ setup(e, { emit: i }) {
928
+ const l = e, r = i, s = R(!1);
929
+ let n;
930
+ function o() {
931
+ typeof navigator != "undefined" && navigator.clipboard && navigator.clipboard.writeText(l.value).catch(() => {
932
+ }), s.value = !0, clearTimeout(n), n = setTimeout(() => {
933
+ s.value = !1;
934
+ }, 1200), r(G, l.value);
877
935
  }
878
- function u() {
879
- l(z);
936
+ function c() {
937
+ r(_);
880
938
  }
881
939
  function b() {
882
- l(_);
940
+ r(P);
883
941
  }
884
- return oe(() => clearTimeout(d)), (m, f) => (t(), a("div", {
885
- class: v(["ds-contact-value", { "ds-contact-value--main": e.main }])
942
+ return j(() => clearTimeout(n)), (y, f) => (t(), a("div", {
943
+ class: m(["ds-contact-value", { "ds-contact-value--main": e.main }])
886
944
  }, [
887
- de(g(Bt), {
945
+ p(S(Rt), {
888
946
  verified: e.verified,
889
947
  "is-contact-data": e.isContactData
890
948
  }, null, 8, ["verified", "is-contact-data"]),
891
- s("span", {
949
+ d("span", {
892
950
  class: "ds-contact-value__value",
893
951
  title: e.value
894
- }, y(e.value), 9, At),
895
- s("span", Ot, [
896
- e.valueType ? (t(), D(g(Ae), {
952
+ }, v(e.value), 9, Bt),
953
+ d("span", At, [
954
+ e.valueType ? (t(), D(S(Ae), {
897
955
  key: 0,
898
956
  class: "ds-contact-value__badge",
899
- tone: e.main ? g(H).ACCENT : g(H).GREY,
957
+ tone: e.main ? S(X).ACCENT : S(X).GREY,
900
958
  "aria-hidden": "true"
901
959
  }, {
902
- default: be(() => [
903
- A(y(e.valueType), 1)
960
+ default: J(() => [
961
+ O(v(e.valueType), 1)
904
962
  ]),
905
963
  _: 1
906
- }, 8, ["tone"])) : r("", !0),
907
- s("span", xt, [
908
- s("button", {
964
+ }, 8, ["tone"])) : u("", !0),
965
+ d("span", Ot, [
966
+ d("button", {
909
967
  type: "button",
910
- class: v(["ds-contact-value__action", { "is-copied": i.value }]),
911
- "aria-label": i.value ? e.copiedLabel : e.copyLabel,
912
- title: i.value ? e.copiedLabel : e.copyLabel,
913
- onClick: c
968
+ class: m(["ds-contact-value__action", { "is-copied": s.value }]),
969
+ "aria-label": s.value ? e.copiedLabel : e.copyLabel,
970
+ title: s.value ? e.copiedLabel : e.copyLabel,
971
+ onClick: o
914
972
  }, [
915
- s("i", Vt, y(i.value ? "check" : "content_copy"), 1)
916
- ], 10, Mt),
917
- e.showRate ? (t(), a(B, { key: 0 }, [
918
- s("button", {
973
+ d("i", Mt, v(s.value ? "check" : "content_copy"), 1)
974
+ ], 10, xt),
975
+ e.showRate ? (t(), a(A, { key: 0 }, [
976
+ d("button", {
919
977
  type: "button",
920
- class: v(["ds-contact-value__action", { "is-active": e.correct === !0 }]),
978
+ class: "ds-contact-value__action",
921
979
  "aria-label": e.correctLabel,
922
980
  "aria-pressed": e.correct === !0,
923
981
  title: e.correctLabel,
924
- onClick: u
982
+ onClick: c
925
983
  }, [
926
- s("i", {
927
- class: v(e.correct === !0 ? "material-icons" : "material-icons-outlined"),
984
+ d("i", {
985
+ class: m(e.correct === !0 ? "material-icons" : "material-icons-outlined"),
928
986
  "aria-hidden": "true"
929
987
  }, "thumb_up", 2)
930
- ], 10, Ut),
931
- s("button", {
988
+ ], 8, Ut),
989
+ d("button", {
932
990
  type: "button",
933
- class: v(["ds-contact-value__action", { "is-active": e.correct === !1 }]),
991
+ class: "ds-contact-value__action",
934
992
  "aria-label": e.incorrectLabel,
935
993
  "aria-pressed": e.correct === !1,
936
994
  title: e.incorrectLabel,
937
995
  onClick: b
938
996
  }, [
939
- s("i", {
940
- class: v(e.correct === !1 ? "material-icons" : "material-icons-outlined"),
997
+ d("i", {
998
+ class: m(e.correct === !1 ? "material-icons" : "material-icons-outlined"),
941
999
  "aria-hidden": "true"
942
1000
  }, "thumb_down", 2)
943
- ], 10, Ft)
944
- ], 64)) : r("", !0)
1001
+ ], 8, Vt)
1002
+ ], 64)) : u("", !0)
945
1003
  ])
946
1004
  ])
947
1005
  ], 2));
948
1006
  }
949
- }), ae = /* @__PURE__ */ $(zt, [["__scopeId", "data-v-014e772b"]]), _t = ["aria-label"], Pt = { class: "ds-data-card__heading" }, Gt = {
1007
+ }), ne = /* @__PURE__ */ T(Ft, [["__scopeId", "data-v-75a78ae2"]]), zt = ["aria-label"], Gt = { class: "ds-data-card__heading" }, _t = {
950
1008
  class: "material-icons ds-data-card__icon",
951
1009
  "aria-hidden": "true"
952
- }, Yt = { class: "ds-data-card__title" }, Kt = ["aria-label"], Ht = {
1010
+ }, Pt = { class: "ds-data-card__title" }, pt = ["aria-label"], Ht = {
953
1011
  key: 0,
954
1012
  class: "ds-data-card__body"
955
- }, Wt = {
1013
+ }, Yt = {
956
1014
  key: 0,
957
1015
  class: "ds-data-card__empty"
958
1016
  }, qt = {
959
1017
  class: "material-icons-outlined ds-data-card__empty-icon",
960
1018
  "aria-hidden": "true"
961
- }, pt = { key: 0 }, Xt = {
1019
+ }, Wt = { key: 0 }, Kt = {
962
1020
  key: 0,
963
1021
  class: "ds-data-card__section"
964
- }, Zt = { key: 1 }, jt = {
1022
+ }, Xt = { key: 1 }, Qt = {
965
1023
  key: 0,
966
1024
  class: "ds-data-card__section"
967
- }, Qt = { class: "ds-data-card__more" }, Jt = /* @__PURE__ */ k({
1025
+ }, Zt = { class: "ds-data-card__more" }, jt = /* @__PURE__ */ $({
968
1026
  __name: "DsDataCard",
969
1027
  props: {
970
1028
  title: { type: String, required: !0 },
@@ -987,93 +1045,93 @@ const Y = {
987
1045
  toggleLabel: { type: String, default: "Toggle" },
988
1046
  closeLabel: { type: String, default: "Close" }
989
1047
  },
990
- emits: [F, j, Q, C, z, _],
991
- setup(e, { emit: n }) {
992
- const o = e, l = n, i = N(!1), d = S(() => o.more.length + (o.mostLikely ? 1 : 0)), c = S(() => d.value > 3), u = S(() => d.value === 0), b = S(() => o.collapsible && i.value);
993
- function m() {
994
- i.value = !i.value;
1048
+ emits: [G, te, ae, C, _, P],
1049
+ setup(e, { emit: i }) {
1050
+ const l = e, r = i, s = R(!1), n = h(() => l.more.length + (l.mostLikely ? 1 : 0)), o = h(() => n.value > 3), c = h(() => n.value === 0), b = h(() => l.collapsible && s.value);
1051
+ function y() {
1052
+ s.value = !s.value;
995
1053
  }
996
- function f(R) {
997
- l(F, R);
1054
+ function f(B) {
1055
+ r(G, B);
998
1056
  }
999
- function h() {
1000
- l(j);
1057
+ function g() {
1058
+ r(te);
1001
1059
  }
1002
- function T() {
1003
- l(Q);
1060
+ function k() {
1061
+ r(ae);
1004
1062
  }
1005
- function x() {
1006
- l(C);
1063
+ function N() {
1064
+ r(C);
1007
1065
  }
1008
- function p(R) {
1009
- l(z, R);
1066
+ function x(B) {
1067
+ r(_, B);
1010
1068
  }
1011
- function X(R) {
1012
- l(_, R);
1069
+ function M(B) {
1070
+ r(P, B);
1013
1071
  }
1014
- return (R, E) => (t(), a("section", {
1072
+ return (B, E) => (t(), a("section", {
1015
1073
  class: "ds-data-card",
1016
1074
  "aria-label": e.title
1017
1075
  }, [
1018
- s("div", {
1019
- class: v(["ds-data-card__header", { "is-collapsed": b.value, "is-collapsible": e.collapsible }]),
1020
- onClick: E[1] || (E[1] = (L) => e.collapsible && m())
1076
+ d("div", {
1077
+ class: m(["ds-data-card__header", { "is-collapsed": b.value, "is-collapsible": e.collapsible }]),
1078
+ onClick: E[1] || (E[1] = (w) => e.collapsible && y())
1021
1079
  }, [
1022
- s("div", Pt, [
1023
- s("i", Gt, y(e.icon), 1),
1024
- s("span", Yt, y(e.title), 1)
1080
+ d("div", Gt, [
1081
+ d("i", _t, v(e.icon), 1),
1082
+ d("span", Pt, v(e.title), 1)
1025
1083
  ]),
1026
- s("div", {
1084
+ d("div", {
1027
1085
  class: "ds-data-card__actions",
1028
- onClick: E[0] || (E[0] = se(() => {
1086
+ onClick: E[0] || (E[0] = ue(() => {
1029
1087
  }, ["stop"]))
1030
1088
  }, [
1031
1089
  !b.value && e.showEdit ? (t(), a("button", {
1032
1090
  key: 0,
1033
1091
  type: "button",
1034
1092
  class: "ds-data-card__edit",
1035
- onClick: T
1036
- }, y(e.editLabel), 1)) : r("", !0),
1037
- !b.value && e.showSort ? (t(), D(g(K), {
1093
+ onClick: k
1094
+ }, v(e.editLabel), 1)) : u("", !0),
1095
+ !b.value && e.showSort ? (t(), D(S(K), {
1038
1096
  key: 1,
1039
1097
  variant: "tertiary",
1040
1098
  size: "medium",
1041
1099
  circle: "",
1042
1100
  "left-icon": "swap_vert",
1043
1101
  "aria-label": e.sortLabel,
1044
- onClick: h
1045
- }, null, 8, ["aria-label"])) : r("", !0),
1046
- e.collapsible ? (t(), D(g(K), {
1102
+ onClick: g
1103
+ }, null, 8, ["aria-label"])) : u("", !0),
1104
+ e.collapsible ? (t(), D(S(K), {
1047
1105
  key: 2,
1048
1106
  variant: "tertiary",
1049
1107
  size: "medium",
1050
1108
  circle: "",
1051
- "left-icon": i.value ? "keyboard_arrow_down" : "keyboard_arrow_up",
1109
+ "left-icon": s.value ? "keyboard_arrow_down" : "keyboard_arrow_up",
1052
1110
  "aria-label": e.toggleLabel,
1053
- onClick: m
1054
- }, null, 8, ["left-icon", "aria-label"])) : r("", !0),
1111
+ onClick: y
1112
+ }, null, 8, ["left-icon", "aria-label"])) : u("", !0),
1055
1113
  e.showClose ? (t(), a("button", {
1056
1114
  key: 3,
1057
1115
  type: "button",
1058
1116
  class: "ds-data-card__close",
1059
1117
  "aria-label": e.closeLabel,
1060
- onClick: x
1118
+ onClick: N
1061
1119
  }, [...E[4] || (E[4] = [
1062
- s("i", {
1120
+ d("i", {
1063
1121
  class: "material-icons",
1064
1122
  "aria-hidden": "true"
1065
1123
  }, "close", -1)
1066
- ])], 8, Kt)) : r("", !0)
1124
+ ])], 8, pt)) : u("", !0)
1067
1125
  ])
1068
1126
  ], 2),
1069
- b.value ? r("", !0) : (t(), a("div", Ht, [
1070
- u.value ? (t(), a("div", Wt, [
1071
- s("i", qt, y(e.icon), 1),
1072
- s("span", null, y(e.emptyLabel), 1)
1073
- ])) : (t(), a(B, { key: 1 }, [
1074
- e.mostLikely ? (t(), a("div", pt, [
1075
- c.value ? (t(), a("div", Xt, y(e.mostLikelyLabel), 1)) : r("", !0),
1076
- de(g(ae), {
1127
+ b.value ? u("", !0) : (t(), a("div", Ht, [
1128
+ c.value ? (t(), a("div", Yt, [
1129
+ d("i", qt, v(e.icon), 1),
1130
+ d("span", null, v(e.emptyLabel), 1)
1131
+ ])) : (t(), a(A, { key: 1 }, [
1132
+ e.mostLikely ? (t(), a("div", Wt, [
1133
+ o.value ? (t(), a("div", Kt, v(e.mostLikelyLabel), 1)) : u("", !0),
1134
+ p(S(ne), {
1077
1135
  value: e.mostLikely.value,
1078
1136
  "value-type": e.mostLikely.type,
1079
1137
  verified: e.mostLikely.verified,
@@ -1082,63 +1140,63 @@ const Y = {
1082
1140
  "is-contact-data": e.isContactData,
1083
1141
  "show-rate": e.showRate,
1084
1142
  onCopy: f,
1085
- onCorrect: E[2] || (E[2] = (L) => p(e.mostLikely)),
1086
- onIncorrect: E[3] || (E[3] = (L) => X(e.mostLikely))
1143
+ onCorrect: E[2] || (E[2] = (w) => x(e.mostLikely)),
1144
+ onIncorrect: E[3] || (E[3] = (w) => M(e.mostLikely))
1087
1145
  }, null, 8, ["value", "value-type", "verified", "correct", "is-contact-data", "show-rate"])
1088
- ])) : r("", !0),
1089
- e.more.length > 0 ? (t(), a("div", Zt, [
1090
- c.value ? (t(), a("div", jt, y(e.moreLabel), 1)) : r("", !0),
1091
- s("div", Qt, [
1092
- (t(!0), a(B, null, M(e.more, (L) => (t(), D(g(ae), {
1093
- key: L.value,
1094
- value: L.value,
1095
- "value-type": L.type,
1096
- verified: L.verified,
1097
- correct: L.correct,
1146
+ ])) : u("", !0),
1147
+ e.more.length > 0 ? (t(), a("div", Xt, [
1148
+ o.value ? (t(), a("div", Qt, v(e.moreLabel), 1)) : u("", !0),
1149
+ d("div", Zt, [
1150
+ (t(!0), a(A, null, V(e.more, (w) => (t(), D(S(ne), {
1151
+ key: w.value,
1152
+ value: w.value,
1153
+ "value-type": w.type,
1154
+ verified: w.verified,
1155
+ correct: w.correct,
1098
1156
  "is-contact-data": e.isContactData,
1099
1157
  "show-rate": e.showRate,
1100
1158
  onCopy: f,
1101
- onCorrect: (re) => p(L),
1102
- onIncorrect: (re) => X(L)
1159
+ onCorrect: (fe) => x(w),
1160
+ onIncorrect: (fe) => M(w)
1103
1161
  }, null, 8, ["value", "value-type", "verified", "correct", "is-contact-data", "show-rate", "onCorrect", "onIncorrect"]))), 128))
1104
1162
  ])
1105
- ])) : r("", !0)
1163
+ ])) : u("", !0)
1106
1164
  ], 64))
1107
1165
  ]))
1108
- ], 8, _t));
1166
+ ], 8, zt));
1109
1167
  }
1110
- }), ca = /* @__PURE__ */ $(Jt, [["__scopeId", "data-v-86467226"]]);
1168
+ }), ra = /* @__PURE__ */ T(jt, [["__scopeId", "data-v-86467226"]]);
1111
1169
  export {
1112
- ot as DS_ALERT_EFFECTS,
1113
- st as DS_ALERT_ICONS,
1114
- nt as DS_ALERT_TYPES,
1115
- H as DS_BADGE_TONES,
1170
+ nt as DS_ALERT_EFFECTS,
1171
+ ot as DS_ALERT_ICONS,
1172
+ lt as DS_ALERT_TYPES,
1173
+ X as DS_BADGE_TONES,
1116
1174
  ke as DS_BUTTON_NATIVE_TYPES,
1117
- ee as DS_BUTTON_SIZES,
1118
- J as DS_BUTTON_VARIANTS,
1119
- Ge as DS_INPUT_SIZES,
1120
- P as DS_INPUT_TYPES,
1121
- bt as DS_NOTIFICATION_ICONS,
1122
- vt as DS_NOTIFICATION_POSITIONS,
1123
- yt as DS_NOTIFICATION_TYPES,
1124
- Y as DS_SPINNER_TONES,
1125
- te as DS_TABLE_ALIGN,
1126
- we as DS_TAG_TONES,
1127
- G as DS_VERIFICATION_STATES,
1128
- sa as DsAlert,
1129
- aa as DsAvatar,
1175
+ ie as DS_BUTTON_SIZES,
1176
+ H as DS_BUTTON_VARIANTS,
1177
+ _e as DS_INPUT_SIZES,
1178
+ Y as DS_INPUT_TYPES,
1179
+ vt as DS_NOTIFICATION_ICONS,
1180
+ yt as DS_NOTIFICATION_POSITIONS,
1181
+ ft as DS_NOTIFICATION_TYPES,
1182
+ W as DS_SPINNER_TONES,
1183
+ le as DS_TABLE_ALIGN,
1184
+ De as DS_TAG_TONES,
1185
+ q as DS_VERIFICATION_STATES,
1186
+ oa as DsAlert,
1187
+ ta as DsAvatar,
1130
1188
  Ae as DsBadge,
1131
1189
  K as DsButton,
1132
- oa as DsCheckbox,
1133
- ae as DsContactValue,
1134
- ca as DsDataCard,
1190
+ na as DsCheckbox,
1191
+ ne as DsContactValue,
1192
+ ra as DsDataCard,
1135
1193
  ia as DsInput,
1136
- ra as DsModal,
1137
- da as DsNotification,
1194
+ da as DsModal,
1195
+ sa as DsNotification,
1138
1196
  Se as DsSpinner,
1139
- la as DsTable,
1140
- ta as DsTag,
1141
- na as DsTextarea,
1142
- Bt as DsVerificationIcon
1197
+ aa as DsTable,
1198
+ ea as DsTag,
1199
+ la as DsTextarea,
1200
+ Rt as DsVerificationIcon
1143
1201
  };
1144
1202
  //# sourceMappingURL=index.es.js.map