@salesql/sql_components_vue3 3.12.0 → 3.13.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.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.es.js +636 -622
- package/dist/index.es.js.map +1 -1
- package/dist/sql_components_vue3.css +1 -1
- package/dist/ui/DsPill/DsPill.types.d.ts +9 -1
- package/dist/ui/DsPill/DsPill.vue.d.ts +13 -0
- package/llms-full.txt +17 -9
- package/llms.txt +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as P, computed as h, openBlock as a, createElementBlock as l, normalizeStyle as j, normalizeClass as D, createBlock as W, unref as m, createCommentVNode as p, createElementVNode as o, renderSlot as M, toDisplayString as v, withModifiers as Se, ref as R, watch as Q, useModel as Ce, onMounted as Ie, withDirectives as vt, vModelCheckbox as
|
|
1
|
+
import { defineComponent as P, computed as h, openBlock as a, createElementBlock as l, normalizeStyle as j, normalizeClass as D, createBlock as W, unref as m, createCommentVNode as p, createElementVNode as o, renderSlot as M, toDisplayString as v, withModifiers as Se, ref as R, watch as Q, useModel as Ce, onMounted as Ie, withDirectives as vt, vModelCheckbox as ca, createTextVNode as te, mergeModels as be, onBeforeUnmount as de, nextTick as ne, createVNode as q, Fragment as K, renderList as le, useSlots as Ne, vModelDynamic as ua, useAttrs as fa, mergeProps as Re, vModelText as va, Transition as $e, withCtx as x, Teleport as Ke, useId as me, withKeys as Ge, reactive as ma, resolveDynamicComponent as Ht, provide as ba, inject as ya, createSlots as mt, normalizeProps as ga } from "vue";
|
|
2
2
|
const Xe = {
|
|
3
3
|
DARK: "dark",
|
|
4
4
|
// slate ring — for light surfaces (default)
|
|
@@ -13,7 +13,7 @@ const Xe = {
|
|
|
13
13
|
// 32px
|
|
14
14
|
LARGE: "large"
|
|
15
15
|
// 48px
|
|
16
|
-
},
|
|
16
|
+
}, ha = ["aria-label"], pa = /* @__PURE__ */ P({
|
|
17
17
|
__name: "DsSpinner",
|
|
18
18
|
props: {
|
|
19
19
|
// Diameter in px, or a named size ("small" 20 / "medium" 32 / "large" 48).
|
|
@@ -43,14 +43,14 @@ const Xe = {
|
|
|
43
43
|
role: "status",
|
|
44
44
|
style: j({ width: `${i.value}px`, height: `${i.value}px` }),
|
|
45
45
|
"aria-label": e.label || void 0
|
|
46
|
-
}, null, 14,
|
|
46
|
+
}, null, 14, ha));
|
|
47
47
|
}
|
|
48
48
|
}), z = (e, d) => {
|
|
49
49
|
const t = e.__vccOpts || e;
|
|
50
50
|
for (const [i, n] of d)
|
|
51
51
|
t[i] = n;
|
|
52
52
|
return t;
|
|
53
|
-
}, Pe = /* @__PURE__ */ z(
|
|
53
|
+
}, Pe = /* @__PURE__ */ z(pa, [["__scopeId", "data-v-aaf2f048"]]), ye = "click", ve = "close", Ze = "focus", Qe = "blur", gt = "change", ht = "field-blur", _e = "copy", pt = "reveal", Le = "correct", we = "incorrect", kt = "sort", Ee = "edit", St = "select-all", $t = "page-change", _t = "page-size-change", pe = "search", Je = "select", dt = "step", Lt = "final-step", wt = "navigate", Et = "resize-start", Tt = "resize", Ct = "resize-end", re = "update:open", It = "pick", Dt = "apply", At = "add", et = "create", Rt = "back", Nt = "submit", Ae = "delete", tt = "create-option", at = "update-option", Ot = "update:name", rt = "update:color", ce = {
|
|
54
54
|
DEFAULT: "default",
|
|
55
55
|
// white surface, dark text (the default value; == tertiary)
|
|
56
56
|
PRIMARY: "primary",
|
|
@@ -87,33 +87,33 @@ const Xe = {
|
|
|
87
87
|
// 36px
|
|
88
88
|
XLARGE: "xlarge"
|
|
89
89
|
// 48px
|
|
90
|
-
},
|
|
90
|
+
}, ka = {
|
|
91
91
|
BUTTON: "button",
|
|
92
92
|
SUBMIT: "submit",
|
|
93
93
|
RESET: "reset"
|
|
94
|
-
},
|
|
94
|
+
}, Sa = ["type", "disabled", "autofocus", "aria-busy", "aria-disabled", "aria-pressed", "aria-label"], $a = ["aria-hidden"], _a = {
|
|
95
95
|
key: 0,
|
|
96
96
|
class: "ds-button__icon ds-button__icon--leading"
|
|
97
|
-
},
|
|
97
|
+
}, La = {
|
|
98
98
|
class: "material-symbols-filled",
|
|
99
99
|
"aria-hidden": "true"
|
|
100
|
-
},
|
|
100
|
+
}, wa = {
|
|
101
101
|
key: 1,
|
|
102
102
|
class: "ds-button__label"
|
|
103
|
-
},
|
|
103
|
+
}, Ea = {
|
|
104
104
|
key: 2,
|
|
105
105
|
class: "ds-button__icon ds-button__icon--trailing"
|
|
106
|
-
},
|
|
106
|
+
}, Ta = {
|
|
107
107
|
class: "material-symbols-filled",
|
|
108
108
|
"aria-hidden": "true"
|
|
109
|
-
},
|
|
109
|
+
}, Ca = /* @__PURE__ */ P({
|
|
110
110
|
__name: "DsButton",
|
|
111
111
|
props: {
|
|
112
112
|
variant: { type: String, default: ce.DEFAULT },
|
|
113
113
|
size: { type: String, default: ue.MEDIUM },
|
|
114
114
|
nativeType: {
|
|
115
115
|
type: String,
|
|
116
|
-
default:
|
|
116
|
+
default: ka.BUTTON
|
|
117
117
|
},
|
|
118
118
|
// Material Icon names (rendered via <i class="material-symbols-filled">); a leading/
|
|
119
119
|
// trailing slot overrides. Icon-only buttons (circle/square) need ariaLabel.
|
|
@@ -182,23 +182,23 @@ const Xe = {
|
|
|
182
182
|
class: "ds-button__content",
|
|
183
183
|
"aria-hidden": e.loading || void 0
|
|
184
184
|
}, [
|
|
185
|
-
e.leftIcon || u.$slots.leading ? (a(), l("span",
|
|
185
|
+
e.leftIcon || u.$slots.leading ? (a(), l("span", _a, [
|
|
186
186
|
M(u.$slots, "leading", {}, () => [
|
|
187
|
-
o("i",
|
|
187
|
+
o("i", La, v(e.leftIcon), 1)
|
|
188
188
|
], !0)
|
|
189
189
|
])) : p("", !0),
|
|
190
|
-
u.$slots.default && !e.circle && !e.square ? (a(), l("span",
|
|
190
|
+
u.$slots.default && !e.circle && !e.square ? (a(), l("span", wa, [
|
|
191
191
|
M(u.$slots, "default", {}, void 0, !0)
|
|
192
192
|
])) : p("", !0),
|
|
193
|
-
e.rightIcon || u.$slots.trailing ? (a(), l("span",
|
|
193
|
+
e.rightIcon || u.$slots.trailing ? (a(), l("span", Ea, [
|
|
194
194
|
M(u.$slots, "trailing", {}, () => [
|
|
195
|
-
o("i",
|
|
195
|
+
o("i", Ta, v(e.rightIcon), 1)
|
|
196
196
|
], !0)
|
|
197
197
|
])) : p("", !0)
|
|
198
|
-
], 8,
|
|
199
|
-
], 10,
|
|
198
|
+
], 8, $a)
|
|
199
|
+
], 10, Sa));
|
|
200
200
|
}
|
|
201
|
-
}), oe = /* @__PURE__ */ z(
|
|
201
|
+
}), oe = /* @__PURE__ */ z(Ca, [["__scopeId", "data-v-c83d2cbd"]]), Ia = {
|
|
202
202
|
DEFAULT: "default",
|
|
203
203
|
// white bg, slate-tint border, muted text
|
|
204
204
|
GREY: "grey",
|
|
@@ -211,12 +211,12 @@ const Xe = {
|
|
|
211
211
|
// e.g. Pending
|
|
212
212
|
ERROR: "error"
|
|
213
213
|
// e.g. Bounced
|
|
214
|
-
},
|
|
214
|
+
}, Da = { class: "ds-tag__label" }, Aa = ["aria-label"], Ra = /* @__PURE__ */ P({
|
|
215
215
|
__name: "DsTag",
|
|
216
216
|
props: {
|
|
217
217
|
tone: {
|
|
218
218
|
type: String,
|
|
219
|
-
default:
|
|
219
|
+
default: Ia.DEFAULT
|
|
220
220
|
},
|
|
221
221
|
// Semicircular sides (DS `rounded`): radius-round vs the default radius-control.
|
|
222
222
|
rounded: Boolean,
|
|
@@ -245,7 +245,7 @@ const Xe = {
|
|
|
245
245
|
{ "is-rounded": e.rounded, "is-clickable": e.clickable, "is-truncate": e.truncate }
|
|
246
246
|
]])
|
|
247
247
|
}, [
|
|
248
|
-
o("span",
|
|
248
|
+
o("span", Da, [
|
|
249
249
|
M(i.$slots, "default", {}, void 0, !0)
|
|
250
250
|
]),
|
|
251
251
|
e.closable ? (a(), l("button", {
|
|
@@ -259,10 +259,10 @@ const Xe = {
|
|
|
259
259
|
class: "material-symbols-filled",
|
|
260
260
|
"aria-hidden": "true"
|
|
261
261
|
}, "close", -1)
|
|
262
|
-
])], 8,
|
|
262
|
+
])], 8, Aa)) : p("", !0)
|
|
263
263
|
], 2));
|
|
264
264
|
}
|
|
265
|
-
}),
|
|
265
|
+
}), fr = /* @__PURE__ */ z(Ra, [["__scopeId", "data-v-23118dd1"]]), ut = {
|
|
266
266
|
ACCENT: "accent",
|
|
267
267
|
// e.g. Work (purple)
|
|
268
268
|
GREY: "grey",
|
|
@@ -275,7 +275,7 @@ const Xe = {
|
|
|
275
275
|
// coral
|
|
276
276
|
WARNING: "warning"
|
|
277
277
|
// orange
|
|
278
|
-
},
|
|
278
|
+
}, Na = /* @__PURE__ */ P({
|
|
279
279
|
__name: "DsBadge",
|
|
280
280
|
props: {
|
|
281
281
|
tone: {
|
|
@@ -290,7 +290,7 @@ const Xe = {
|
|
|
290
290
|
M(d.$slots, "default", {}, void 0, !0)
|
|
291
291
|
], 2));
|
|
292
292
|
}
|
|
293
|
-
}),
|
|
293
|
+
}), Oa = /* @__PURE__ */ z(Na, [["__scopeId", "data-v-f10a17a0"]]), Ba = ["src", "alt"], xa = ["aria-label"], Ma = /* @__PURE__ */ P({
|
|
294
294
|
__name: "DsAvatar",
|
|
295
295
|
props: {
|
|
296
296
|
image: { type: String, default: "" },
|
|
@@ -358,7 +358,7 @@ const Xe = {
|
|
|
358
358
|
alt: c.value,
|
|
359
359
|
style: j(y.value),
|
|
360
360
|
onError: i
|
|
361
|
-
}, null, 46,
|
|
361
|
+
}, null, 46, Ba)) : s.value ? (a(), l("div", {
|
|
362
362
|
key: 1,
|
|
363
363
|
class: D(["ds-avatar ds-avatar--initials", { "is-circular": e.circular, "ds-avatar--accent": e.accent }]),
|
|
364
364
|
role: "img",
|
|
@@ -374,31 +374,31 @@ const Xe = {
|
|
|
374
374
|
fontWeight: e.fontWeight
|
|
375
375
|
}
|
|
376
376
|
])
|
|
377
|
-
}, v(s.value), 15,
|
|
377
|
+
}, v(s.value), 15, xa)) : (a(), l("div", {
|
|
378
378
|
key: 2,
|
|
379
379
|
class: D(["ds-avatar ds-avatar--placeholder", { "is-circular": e.circular }]),
|
|
380
380
|
style: j(y.value),
|
|
381
381
|
"aria-hidden": "true"
|
|
382
382
|
}, null, 6));
|
|
383
383
|
}
|
|
384
|
-
}),
|
|
384
|
+
}), Pa = /* @__PURE__ */ z(Ma, [["__scopeId", "data-v-e53cb39c"]]), za = ["disabled", "name", "aria-label"], Ua = {
|
|
385
385
|
key: 0,
|
|
386
386
|
class: "ds-checkbox__mark",
|
|
387
387
|
viewBox: "0 0 16 16",
|
|
388
388
|
fill: "none",
|
|
389
389
|
stroke: "currentColor",
|
|
390
390
|
"stroke-width": "2.5"
|
|
391
|
-
},
|
|
391
|
+
}, Fa = {
|
|
392
392
|
key: 1,
|
|
393
393
|
class: "ds-checkbox__mark",
|
|
394
394
|
viewBox: "0 0 16 16",
|
|
395
395
|
fill: "none",
|
|
396
396
|
stroke: "currentColor",
|
|
397
397
|
"stroke-width": "2.5"
|
|
398
|
-
},
|
|
398
|
+
}, Va = {
|
|
399
399
|
key: 0,
|
|
400
400
|
class: "ds-checkbox__label"
|
|
401
|
-
},
|
|
401
|
+
}, qa = /* @__PURE__ */ P({
|
|
402
402
|
__name: "DsCheckbox",
|
|
403
403
|
props: /* @__PURE__ */ be({
|
|
404
404
|
indeterminate: Boolean,
|
|
@@ -430,42 +430,42 @@ const Xe = {
|
|
|
430
430
|
disabled: e.disabled,
|
|
431
431
|
name: e.name || void 0,
|
|
432
432
|
"aria-label": e.ariaLabel || void 0
|
|
433
|
-
}, null, 8,
|
|
434
|
-
[
|
|
433
|
+
}, null, 8, za), [
|
|
434
|
+
[ca, d.value]
|
|
435
435
|
]),
|
|
436
436
|
o("span", {
|
|
437
437
|
class: D(["ds-checkbox__box", { "is-active": d.value || e.indeterminate }]),
|
|
438
438
|
"aria-hidden": "true"
|
|
439
439
|
}, [
|
|
440
|
-
e.indeterminate ? (a(), l("svg",
|
|
440
|
+
e.indeterminate ? (a(), l("svg", Ua, [...r[1] || (r[1] = [
|
|
441
441
|
o("line", {
|
|
442
442
|
x1: "4",
|
|
443
443
|
y1: "8",
|
|
444
444
|
x2: "12",
|
|
445
445
|
y2: "8"
|
|
446
446
|
}, null, -1)
|
|
447
|
-
])])) : d.value ? (a(), l("svg",
|
|
447
|
+
])])) : d.value ? (a(), l("svg", Fa, [...r[2] || (r[2] = [
|
|
448
448
|
o("path", { d: "M3.5 8.5l3 3 6-6" }, null, -1)
|
|
449
449
|
])])) : p("", !0)
|
|
450
450
|
], 2),
|
|
451
|
-
s.$slots.default || e.label ? (a(), l("span",
|
|
451
|
+
s.$slots.default || e.label ? (a(), l("span", Va, [
|
|
452
452
|
M(s.$slots, "default", {}, () => [
|
|
453
453
|
te(v(e.label), 1)
|
|
454
454
|
], !0)
|
|
455
455
|
])) : p("", !0)
|
|
456
456
|
], 2));
|
|
457
457
|
}
|
|
458
|
-
}), lt = /* @__PURE__ */ z(
|
|
458
|
+
}), lt = /* @__PURE__ */ z(qa, [["__scopeId", "data-v-2da3772e"]]), Bt = {
|
|
459
459
|
LEFT: "left",
|
|
460
460
|
CENTER: "center",
|
|
461
461
|
RIGHT: "right"
|
|
462
462
|
}, he = {
|
|
463
463
|
LEFT: "left",
|
|
464
464
|
RIGHT: "right"
|
|
465
|
-
},
|
|
465
|
+
}, Ga = ["aria-busy"], Ha = { class: "ds-table__table" }, Ka = { class: "ds-table__head" }, Wa = {
|
|
466
466
|
key: 0,
|
|
467
467
|
class: "ds-table__select-all"
|
|
468
|
-
},
|
|
468
|
+
}, Ya = { key: 0 }, ja = ["colspan"], Xa = ["aria-busy"], Za = { key: 0 }, Qa = ["colspan"], Ja = { key: 1 }, el = ["colspan"], tl = ["title"], al = /* @__PURE__ */ P({
|
|
469
469
|
__name: "DsTable",
|
|
470
470
|
props: {
|
|
471
471
|
// --- Declarative API (default): the table builds itself from columns + rows. ---
|
|
@@ -630,10 +630,10 @@ const Xe = {
|
|
|
630
630
|
class: D(["ds-table__wrapper", { "is-scrolled-start": B.value, "is-scrolled-end": H.value }]),
|
|
631
631
|
style: j(r.value)
|
|
632
632
|
}, [
|
|
633
|
-
o("table",
|
|
634
|
-
o("thead",
|
|
633
|
+
o("table", Ha, [
|
|
634
|
+
o("thead", Ka, [
|
|
635
635
|
o("tr", null, [
|
|
636
|
-
e.selectable ? (a(), l("th",
|
|
636
|
+
e.selectable ? (a(), l("th", Wa, [
|
|
637
637
|
q(m(lt), {
|
|
638
638
|
"model-value": e.allSelected,
|
|
639
639
|
indeterminate: !e.allSelected && e.someSelected,
|
|
@@ -649,7 +649,7 @@ const Xe = {
|
|
|
649
649
|
])
|
|
650
650
|
]),
|
|
651
651
|
o("tbody", null, [
|
|
652
|
-
e.loading ? (a(), l("tr",
|
|
652
|
+
e.loading ? (a(), l("tr", Ya, [
|
|
653
653
|
o("td", {
|
|
654
654
|
class: "ds-table__loading",
|
|
655
655
|
colspan: n.value,
|
|
@@ -660,12 +660,12 @@ const Xe = {
|
|
|
660
660
|
label: e.loadingLabel || void 0
|
|
661
661
|
}, null, 8, ["label"])
|
|
662
662
|
], !0)
|
|
663
|
-
], 8,
|
|
663
|
+
], 8, ja)
|
|
664
664
|
])) : M(E.$slots, "default", { key: 1 }, void 0, !0)
|
|
665
665
|
])
|
|
666
666
|
])
|
|
667
667
|
], 6)
|
|
668
|
-
], 8,
|
|
668
|
+
], 8, Ga)) : (a(), l("div", {
|
|
669
669
|
key: 1,
|
|
670
670
|
class: "ds-table",
|
|
671
671
|
"aria-busy": e.loading ? "true" : void 0
|
|
@@ -695,7 +695,7 @@ const Xe = {
|
|
|
695
695
|
])
|
|
696
696
|
]),
|
|
697
697
|
o("tbody", null, [
|
|
698
|
-
e.loading ? (a(), l("tr",
|
|
698
|
+
e.loading ? (a(), l("tr", Za, [
|
|
699
699
|
o("td", {
|
|
700
700
|
class: "ds-table__loading",
|
|
701
701
|
colspan: Math.max(1, e.columns.length),
|
|
@@ -706,8 +706,8 @@ const Xe = {
|
|
|
706
706
|
label: e.loadingLabel || void 0
|
|
707
707
|
}, null, 8, ["label"])
|
|
708
708
|
], !0)
|
|
709
|
-
], 8,
|
|
710
|
-
])) : e.rows.length === 0 ? (a(), l("tr",
|
|
709
|
+
], 8, Qa)
|
|
710
|
+
])) : e.rows.length === 0 ? (a(), l("tr", Ja, [
|
|
711
711
|
o("td", {
|
|
712
712
|
class: "ds-table__empty",
|
|
713
713
|
colspan: Math.max(1, e.columns.length),
|
|
@@ -716,7 +716,7 @@ const Xe = {
|
|
|
716
716
|
M(E.$slots, "empty", {}, () => [
|
|
717
717
|
te(v(e.emptyMessage), 1)
|
|
718
718
|
], !0)
|
|
719
|
-
], 8,
|
|
719
|
+
], 8, el)
|
|
720
720
|
])) : (a(!0), l(K, { key: 2 }, le(e.rows, (w) => (a(), l("tr", {
|
|
721
721
|
key: w.id,
|
|
722
722
|
class: D({ "is-highlighted": w.id === e.highlightRowId }),
|
|
@@ -736,15 +736,15 @@ const Xe = {
|
|
|
736
736
|
M(E.$slots, `cell-${C.key}`, { row: w }, () => [
|
|
737
737
|
te(v(w[C.key]), 1)
|
|
738
738
|
], !0)
|
|
739
|
-
], 14,
|
|
739
|
+
], 14, tl);
|
|
740
740
|
}), 128))
|
|
741
741
|
], 2))), 128))
|
|
742
742
|
])
|
|
743
743
|
], 6)
|
|
744
744
|
], 2)
|
|
745
|
-
], 8,
|
|
745
|
+
], 8, Xa));
|
|
746
746
|
}
|
|
747
|
-
}),
|
|
747
|
+
}), vr = /* @__PURE__ */ z(al, [["__scopeId", "data-v-7a5bb12f"]]), Be = {
|
|
748
748
|
TEXT: "text",
|
|
749
749
|
EMAIL: "email",
|
|
750
750
|
PASSWORD: "password",
|
|
@@ -752,30 +752,30 @@ const Xe = {
|
|
|
752
752
|
NUMBER: "number",
|
|
753
753
|
SEARCH: "search",
|
|
754
754
|
URL: "url"
|
|
755
|
-
},
|
|
755
|
+
}, Kt = {
|
|
756
756
|
SM: "sm",
|
|
757
757
|
// 36px
|
|
758
758
|
MD: "md"
|
|
759
759
|
// 48px
|
|
760
|
-
},
|
|
760
|
+
}, ll = { class: "ds-input__wrap" }, nl = {
|
|
761
761
|
key: 0,
|
|
762
762
|
class: "material-symbols-filled ds-input__search-icon",
|
|
763
763
|
"aria-hidden": "true"
|
|
764
|
-
},
|
|
764
|
+
}, il = ["id", "type", "placeholder", "min", "max", "step", "disabled", "name", "autocomplete", "aria-invalid", "aria-describedby"], sl = {
|
|
765
765
|
key: 1,
|
|
766
766
|
class: "ds-input__suffix"
|
|
767
|
-
},
|
|
767
|
+
}, ol = {
|
|
768
768
|
key: 0,
|
|
769
769
|
class: "material-symbols-filled ds-input__error-icon",
|
|
770
770
|
"aria-hidden": "true"
|
|
771
|
-
},
|
|
771
|
+
}, dl = ["disabled", "aria-label", "aria-pressed"], rl = {
|
|
772
772
|
class: "material-symbols-filled",
|
|
773
773
|
"aria-hidden": "true"
|
|
774
|
-
},
|
|
774
|
+
}, cl = ["id"], ul = /* @__PURE__ */ P({
|
|
775
775
|
__name: "DsInput",
|
|
776
776
|
props: /* @__PURE__ */ be({
|
|
777
777
|
type: { type: String, default: Be.TEXT },
|
|
778
|
-
size: { type: String, default:
|
|
778
|
+
size: { type: String, default: Kt.SM },
|
|
779
779
|
placeholder: { type: String, default: "" },
|
|
780
780
|
disabled: Boolean,
|
|
781
781
|
error: Boolean,
|
|
@@ -832,8 +832,8 @@ const Xe = {
|
|
|
832
832
|
]]),
|
|
833
833
|
onFocusout: c
|
|
834
834
|
}, [
|
|
835
|
-
o("div",
|
|
836
|
-
L.value ? (a(), l("i",
|
|
835
|
+
o("div", ll, [
|
|
836
|
+
L.value ? (a(), l("i", nl, "search")) : p("", !0),
|
|
837
837
|
vt(o("input", {
|
|
838
838
|
id: e.id || void 0,
|
|
839
839
|
ref_key: "inputEl",
|
|
@@ -853,12 +853,12 @@ const Xe = {
|
|
|
853
853
|
onFocus: f[1] || (f[1] = (I) => s(m(Ze), I)),
|
|
854
854
|
onBlur: f[2] || (f[2] = (I) => s(m(Qe), I)),
|
|
855
855
|
onChange: f[3] || (f[3] = (I) => s(m(gt), I))
|
|
856
|
-
}, null, 42,
|
|
857
|
-
[
|
|
856
|
+
}, null, 42, il), [
|
|
857
|
+
[ua, i.value]
|
|
858
858
|
]),
|
|
859
|
-
$.value ? (a(), l("div",
|
|
859
|
+
$.value ? (a(), l("div", sl, [
|
|
860
860
|
M(_.$slots, "suffix", {}, void 0, !0),
|
|
861
|
-
e.error && e.showErrorIcon ? (a(), l("i",
|
|
861
|
+
e.error && e.showErrorIcon ? (a(), l("i", ol, "warning")) : S.value ? (a(), l("button", {
|
|
862
862
|
key: 1,
|
|
863
863
|
type: "button",
|
|
864
864
|
class: "ds-input__toggle",
|
|
@@ -867,31 +867,31 @@ const Xe = {
|
|
|
867
867
|
"aria-pressed": k.value,
|
|
868
868
|
onClick: y
|
|
869
869
|
}, [
|
|
870
|
-
o("i",
|
|
871
|
-
], 8,
|
|
870
|
+
o("i", rl, v(k.value ? "visibility" : "visibility_off"), 1)
|
|
871
|
+
], 8, dl)) : p("", !0)
|
|
872
872
|
])) : p("", !0)
|
|
873
873
|
]),
|
|
874
874
|
e.error && e.errorMessage ? (a(), l("p", {
|
|
875
875
|
key: 0,
|
|
876
876
|
id: e.id ? `${e.id}-error` : void 0,
|
|
877
877
|
class: "ds-input__error"
|
|
878
|
-
}, v(e.errorMessage), 9,
|
|
878
|
+
}, v(e.errorMessage), 9, cl)) : p("", !0)
|
|
879
879
|
], 34));
|
|
880
880
|
}
|
|
881
|
-
}), nt = /* @__PURE__ */ z(
|
|
881
|
+
}), nt = /* @__PURE__ */ z(ul, [["__scopeId", "data-v-ba0fac5a"]]), fl = {
|
|
882
882
|
NONE: "none",
|
|
883
883
|
VERTICAL: "vertical",
|
|
884
884
|
HORIZONTAL: "horizontal",
|
|
885
885
|
BOTH: "both"
|
|
886
|
-
},
|
|
886
|
+
}, vl = {
|
|
887
887
|
DEFAULT: "default",
|
|
888
888
|
/** @deprecated — identical to default; will be removed */
|
|
889
889
|
EMPHASIS: "emphasis"
|
|
890
|
-
},
|
|
890
|
+
}, ml = {
|
|
891
891
|
key: 0,
|
|
892
892
|
class: "ds-textarea__leading",
|
|
893
893
|
"aria-hidden": "true"
|
|
894
|
-
},
|
|
894
|
+
}, bl = ["id", "placeholder", "rows", "disabled", "readonly", "name", "aria-invalid", "aria-describedby"], yl = ["id"], gl = 20, hl = /* @__PURE__ */ P({
|
|
895
895
|
inheritAttrs: !1,
|
|
896
896
|
__name: "DsTextarea",
|
|
897
897
|
props: /* @__PURE__ */ be({
|
|
@@ -911,11 +911,11 @@ const Xe = {
|
|
|
911
911
|
// CSS resize behavior of the control (default vertical, mirrors the DS).
|
|
912
912
|
resize: {
|
|
913
913
|
type: String,
|
|
914
|
-
default:
|
|
914
|
+
default: fl.VERTICAL
|
|
915
915
|
},
|
|
916
916
|
variant: {
|
|
917
917
|
type: String,
|
|
918
|
-
default:
|
|
918
|
+
default: vl.DEFAULT
|
|
919
919
|
}
|
|
920
920
|
}, {
|
|
921
921
|
modelValue: { default: "" },
|
|
@@ -935,7 +935,7 @@ const Xe = {
|
|
|
935
935
|
function u() {
|
|
936
936
|
const f = r.value;
|
|
937
937
|
if (!f || !i.autoGrow) return;
|
|
938
|
-
const I = window.getComputedStyle(f), O = c(I.lineHeight) ||
|
|
938
|
+
const I = window.getComputedStyle(f), O = c(I.lineHeight) || gl, B = c(I.paddingTop) + c(I.paddingBottom) + c(I.borderTopWidth) + c(I.borderBottomWidth);
|
|
939
939
|
f.style.height = "auto";
|
|
940
940
|
const H = f.scrollHeight + c(I.borderTopWidth) + c(I.borderBottomWidth), X = O * i.minRows + B, U = i.maxRows ? O * i.maxRows + B : 1 / 0;
|
|
941
941
|
f.style.height = `${Math.min(Math.max(H, X), U)}px`, f.style.overflowY = H > U ? "auto" : "hidden";
|
|
@@ -954,7 +954,7 @@ const Xe = {
|
|
|
954
954
|
I !== L && (L = I, u());
|
|
955
955
|
}), b.observe(r.value));
|
|
956
956
|
}), de(() => b == null ? void 0 : b.disconnect()), Q(() => [t.value, i.autoGrow, i.minRows, i.maxRows], u, { flush: "post" });
|
|
957
|
-
const g =
|
|
957
|
+
const g = fa(), S = (f) => f === "class" || f === "style" || f.startsWith("data-"), $ = h(
|
|
958
958
|
() => Object.fromEntries(Object.entries(g).filter(([f]) => S(f)))
|
|
959
959
|
), _ = h(
|
|
960
960
|
() => Object.fromEntries(Object.entries(g).filter(([f]) => !S(f)))
|
|
@@ -972,7 +972,7 @@ const Xe = {
|
|
|
972
972
|
}
|
|
973
973
|
]]
|
|
974
974
|
}, $.value), [
|
|
975
|
-
f.$slots.leading ? (a(), l("span",
|
|
975
|
+
f.$slots.leading ? (a(), l("span", ml, [
|
|
976
976
|
M(f.$slots, "leading")
|
|
977
977
|
])) : p("", !0),
|
|
978
978
|
vt(o("textarea", Re(_.value, {
|
|
@@ -990,43 +990,43 @@ const Xe = {
|
|
|
990
990
|
"aria-describedby": e.error && e.errorMessage && e.id ? `${e.id}-error` : void 0,
|
|
991
991
|
onFocus: k,
|
|
992
992
|
onBlur: y
|
|
993
|
-
}), null, 16,
|
|
994
|
-
[
|
|
993
|
+
}), null, 16, bl), [
|
|
994
|
+
[va, s.value]
|
|
995
995
|
]),
|
|
996
996
|
e.error && e.errorMessage ? (a(), l("p", {
|
|
997
997
|
key: 1,
|
|
998
998
|
id: e.id ? `${e.id}-error` : void 0,
|
|
999
999
|
class: "ds-textarea__error"
|
|
1000
|
-
}, v(e.errorMessage), 9,
|
|
1000
|
+
}, v(e.errorMessage), 9, yl)) : p("", !0)
|
|
1001
1001
|
], 16));
|
|
1002
1002
|
}
|
|
1003
|
-
}),
|
|
1003
|
+
}), mr = /* @__PURE__ */ z(hl, [["__scopeId", "data-v-82350ad0"]]), pl = {
|
|
1004
1004
|
SUCCESS: "success",
|
|
1005
1005
|
INFO: "info",
|
|
1006
1006
|
WARNING: "warning",
|
|
1007
1007
|
ERROR: "error"
|
|
1008
|
-
},
|
|
1008
|
+
}, kl = {
|
|
1009
1009
|
LIGHT: "light",
|
|
1010
1010
|
// tinted: family tint bg + mid border + shadow text
|
|
1011
1011
|
DARK: "dark"
|
|
1012
1012
|
// solid: family shadow bg + white text
|
|
1013
|
-
},
|
|
1013
|
+
}, Sl = {
|
|
1014
1014
|
success: "check_circle",
|
|
1015
1015
|
info: "info",
|
|
1016
1016
|
warning: "warning",
|
|
1017
1017
|
error: "error"
|
|
1018
|
-
},
|
|
1018
|
+
}, $l = {
|
|
1019
1019
|
key: 0,
|
|
1020
1020
|
class: "material-symbols-filled ds-alert__icon",
|
|
1021
1021
|
"aria-hidden": "true"
|
|
1022
|
-
},
|
|
1022
|
+
}, _l = { class: "ds-alert__content" }, Ll = {
|
|
1023
1023
|
key: 1,
|
|
1024
1024
|
class: "ds-alert__body"
|
|
1025
|
-
},
|
|
1025
|
+
}, wl = ["aria-label"], El = /* @__PURE__ */ P({
|
|
1026
1026
|
__name: "DsAlert",
|
|
1027
1027
|
props: /* @__PURE__ */ be({
|
|
1028
|
-
type: { type: String, default:
|
|
1029
|
-
effect: { type: String, default:
|
|
1028
|
+
type: { type: String, default: pl.INFO },
|
|
1029
|
+
effect: { type: String, default: kl.LIGHT },
|
|
1030
1030
|
title: { type: String, default: "" },
|
|
1031
1031
|
description: { type: String, default: "" },
|
|
1032
1032
|
showIcon: Boolean,
|
|
@@ -1041,7 +1041,7 @@ const Xe = {
|
|
|
1041
1041
|
}),
|
|
1042
1042
|
emits: /* @__PURE__ */ be([ve], ["update:visible"]),
|
|
1043
1043
|
setup(e, { emit: d }) {
|
|
1044
|
-
const t = e, i = d, n = Ce(e, "visible"), s = Ne(), r = h(() =>
|
|
1044
|
+
const t = e, i = d, n = Ce(e, "visible"), s = Ne(), r = h(() => Sl[t.type]), c = h(() => !!s.default || t.description.length > 0), u = h(() => !!s.title || t.title.length > 0);
|
|
1045
1045
|
function k() {
|
|
1046
1046
|
n.value = !1, i(ve);
|
|
1047
1047
|
}
|
|
@@ -1052,8 +1052,8 @@ const Xe = {
|
|
|
1052
1052
|
class: D(["ds-alert", [`ds-alert--${e.type}`, `ds-alert--${e.effect}`, { "is-center": e.center }]]),
|
|
1053
1053
|
role: "alert"
|
|
1054
1054
|
}, [
|
|
1055
|
-
e.showIcon ? (a(), l("i",
|
|
1056
|
-
o("div",
|
|
1055
|
+
e.showIcon ? (a(), l("i", $l, v(r.value), 1)) : p("", !0),
|
|
1056
|
+
o("div", _l, [
|
|
1057
1057
|
u.value ? (a(), l("div", {
|
|
1058
1058
|
key: 0,
|
|
1059
1059
|
class: D(["ds-alert__title", { "has-body": c.value, "is-bold": c.value || e.boldTitle }])
|
|
@@ -1062,7 +1062,7 @@ const Xe = {
|
|
|
1062
1062
|
te(v(e.title), 1)
|
|
1063
1063
|
], !0)
|
|
1064
1064
|
], 2)) : p("", !0),
|
|
1065
|
-
c.value ? (a(), l("div",
|
|
1065
|
+
c.value ? (a(), l("div", Ll, [
|
|
1066
1066
|
M(y.$slots, "default", {}, () => [
|
|
1067
1067
|
te(v(e.description), 1)
|
|
1068
1068
|
], !0)
|
|
@@ -1079,23 +1079,23 @@ const Xe = {
|
|
|
1079
1079
|
class: "material-symbols-filled",
|
|
1080
1080
|
"aria-hidden": "true"
|
|
1081
1081
|
}, "close", -1)
|
|
1082
|
-
])], 8,
|
|
1082
|
+
])], 8, wl)) : p("", !0)
|
|
1083
1083
|
], 2)) : p("", !0)
|
|
1084
1084
|
]),
|
|
1085
1085
|
_: 3
|
|
1086
1086
|
}));
|
|
1087
1087
|
}
|
|
1088
|
-
}),
|
|
1088
|
+
}), br = /* @__PURE__ */ z(El, [["__scopeId", "data-v-82377cbc"]]), Tl = {
|
|
1089
1089
|
SUCCESS: "success",
|
|
1090
1090
|
INFO: "info",
|
|
1091
1091
|
WARNING: "warning",
|
|
1092
1092
|
ERROR: "error"
|
|
1093
|
-
},
|
|
1093
|
+
}, Cl = {
|
|
1094
1094
|
TOP_LEFT: "top-left",
|
|
1095
1095
|
TOP_RIGHT: "top-right",
|
|
1096
1096
|
BOTTOM_LEFT: "bottom-left",
|
|
1097
1097
|
BOTTOM_RIGHT: "bottom-right"
|
|
1098
|
-
},
|
|
1098
|
+
}, Il = {
|
|
1099
1099
|
success: "check_circle",
|
|
1100
1100
|
info: "mode_edit",
|
|
1101
1101
|
warning: "warning",
|
|
@@ -1105,22 +1105,22 @@ const Xe = {
|
|
|
1105
1105
|
SELF: "_self",
|
|
1106
1106
|
PARENT: "_parent",
|
|
1107
1107
|
TOP: "_top"
|
|
1108
|
-
},
|
|
1108
|
+
}, Dl = {
|
|
1109
1109
|
class: "material-symbols-filled ds-notification__icon",
|
|
1110
1110
|
"aria-hidden": "true"
|
|
1111
|
-
},
|
|
1111
|
+
}, Al = { class: "ds-notification__content" }, Rl = {
|
|
1112
1112
|
key: 0,
|
|
1113
1113
|
class: "ds-notification__title"
|
|
1114
|
-
},
|
|
1114
|
+
}, Nl = {
|
|
1115
1115
|
key: 1,
|
|
1116
1116
|
class: "ds-notification__desc"
|
|
1117
|
-
},
|
|
1117
|
+
}, Ol = ["href", "target", "rel"], Bl = ["aria-label"], xl = /* @__PURE__ */ P({
|
|
1118
1118
|
__name: "DsNotification",
|
|
1119
1119
|
props: {
|
|
1120
|
-
type: { type: String, default:
|
|
1120
|
+
type: { type: String, default: Tl.INFO },
|
|
1121
1121
|
position: {
|
|
1122
1122
|
type: String,
|
|
1123
|
-
default:
|
|
1123
|
+
default: Cl.BOTTOM_LEFT
|
|
1124
1124
|
},
|
|
1125
1125
|
title: { type: String, default: "" },
|
|
1126
1126
|
description: { type: String, default: "" },
|
|
@@ -1145,7 +1145,7 @@ const Xe = {
|
|
|
1145
1145
|
},
|
|
1146
1146
|
emits: [ve, wt],
|
|
1147
1147
|
setup(e, { emit: d }) {
|
|
1148
|
-
const t = e, i = d, n = R(!0), s = h(() =>
|
|
1148
|
+
const t = e, i = d, n = R(!0), s = h(() => Il[t.type]), r = h(
|
|
1149
1149
|
() => t.linkTarget === xt.BLANK ? "noopener noreferrer" : void 0
|
|
1150
1150
|
);
|
|
1151
1151
|
let c, u = 0, k = t.duration;
|
|
@@ -1183,10 +1183,10 @@ const Xe = {
|
|
|
1183
1183
|
onMouseenter: L,
|
|
1184
1184
|
onMouseleave: g
|
|
1185
1185
|
}, [
|
|
1186
|
-
o("i",
|
|
1187
|
-
o("div",
|
|
1188
|
-
e.title ? (a(), l("span",
|
|
1189
|
-
e.description ? (a(), l("p",
|
|
1186
|
+
o("i", Dl, v(s.value), 1),
|
|
1187
|
+
o("div", Al, [
|
|
1188
|
+
e.title ? (a(), l("span", Rl, v(e.title), 1)) : p("", !0),
|
|
1189
|
+
e.description ? (a(), l("p", Nl, v(e.description), 1)) : p("", !0),
|
|
1190
1190
|
e.linkTitle ? (a(), l("a", {
|
|
1191
1191
|
key: 2,
|
|
1192
1192
|
class: "ds-notification__link",
|
|
@@ -1194,7 +1194,7 @@ const Xe = {
|
|
|
1194
1194
|
target: e.linkTarget,
|
|
1195
1195
|
rel: r.value,
|
|
1196
1196
|
onClick: $
|
|
1197
|
-
}, v(e.linkTitle), 9,
|
|
1197
|
+
}, v(e.linkTitle), 9, Ol)) : p("", !0)
|
|
1198
1198
|
]),
|
|
1199
1199
|
e.showClose ? (a(), l("button", {
|
|
1200
1200
|
key: 0,
|
|
@@ -1207,7 +1207,7 @@ const Xe = {
|
|
|
1207
1207
|
class: "material-symbols-filled",
|
|
1208
1208
|
"aria-hidden": "true"
|
|
1209
1209
|
}, "close", -1)
|
|
1210
|
-
])], 8,
|
|
1210
|
+
])], 8, Bl)) : p("", !0)
|
|
1211
1211
|
], 34)
|
|
1212
1212
|
], 2)) : p("", !0)
|
|
1213
1213
|
]),
|
|
@@ -1215,13 +1215,13 @@ const Xe = {
|
|
|
1215
1215
|
})
|
|
1216
1216
|
]));
|
|
1217
1217
|
}
|
|
1218
|
-
}),
|
|
1218
|
+
}), yr = /* @__PURE__ */ z(xl, [["__scopeId", "data-v-4ae56e64"]]), Ml = ["aria-modal", "aria-labelledby", "aria-label"], Pl = {
|
|
1219
1219
|
key: 0,
|
|
1220
1220
|
class: "ds-modal__header"
|
|
1221
|
-
},
|
|
1221
|
+
}, zl = ["id"], Ul = { class: "ds-modal__body" }, Fl = {
|
|
1222
1222
|
key: 1,
|
|
1223
1223
|
class: "ds-modal__footer"
|
|
1224
|
-
},
|
|
1224
|
+
}, Vl = /* @__PURE__ */ P({
|
|
1225
1225
|
__name: "DsModal",
|
|
1226
1226
|
props: {
|
|
1227
1227
|
open: Boolean,
|
|
@@ -1318,11 +1318,11 @@ const Xe = {
|
|
|
1318
1318
|
onClick: S[1] || (S[1] = Se(() => {
|
|
1319
1319
|
}, ["stop"]))
|
|
1320
1320
|
}, [
|
|
1321
|
-
e.title || e.showClose ? (a(), l("div",
|
|
1321
|
+
e.title || e.showClose ? (a(), l("div", Pl, [
|
|
1322
1322
|
o("span", {
|
|
1323
1323
|
id: m(r),
|
|
1324
1324
|
class: "ds-modal__title"
|
|
1325
|
-
}, v(e.title), 9,
|
|
1325
|
+
}, v(e.title), 9, zl),
|
|
1326
1326
|
e.showClose ? (a(), W(m(oe), {
|
|
1327
1327
|
key: 0,
|
|
1328
1328
|
variant: "tertiary",
|
|
@@ -1332,34 +1332,34 @@ const Xe = {
|
|
|
1332
1332
|
onClick: S[0] || (S[0] = ($) => i(m(ve)))
|
|
1333
1333
|
}, null, 8, ["aria-label"])) : p("", !0)
|
|
1334
1334
|
])) : p("", !0),
|
|
1335
|
-
o("div",
|
|
1335
|
+
o("div", Ul, [
|
|
1336
1336
|
M(g.$slots, "default", {}, void 0, !0)
|
|
1337
1337
|
]),
|
|
1338
|
-
g.$slots.footer ? (a(), l("div",
|
|
1338
|
+
g.$slots.footer ? (a(), l("div", Fl, [
|
|
1339
1339
|
M(g.$slots, "footer", {}, void 0, !0)
|
|
1340
1340
|
])) : p("", !0)
|
|
1341
|
-
], 14,
|
|
1341
|
+
], 14, Ml)
|
|
1342
1342
|
], 6)) : p("", !0)
|
|
1343
1343
|
]),
|
|
1344
1344
|
_: 3
|
|
1345
1345
|
})
|
|
1346
1346
|
], 8, ["disabled"]));
|
|
1347
1347
|
}
|
|
1348
|
-
}),
|
|
1349
|
-
let He = null,
|
|
1350
|
-
function
|
|
1348
|
+
}), gr = /* @__PURE__ */ z(Vl, [["__scopeId", "data-v-a759ae72"]]), Wt = ["pointerdown", "mousedown"];
|
|
1349
|
+
let He = null, Yt = 0;
|
|
1350
|
+
function jt(e) {
|
|
1351
1351
|
e.metaKey || e.ctrlKey || e.altKey || (He = "keyboard");
|
|
1352
1352
|
}
|
|
1353
|
-
function
|
|
1353
|
+
function Xt() {
|
|
1354
1354
|
He = "pointer";
|
|
1355
1355
|
}
|
|
1356
|
-
function Vl() {
|
|
1357
|
-
Wt++ > 0 || (document.addEventListener("keydown", Yt, !0), Kt.forEach((e) => document.addEventListener(e, jt, !0)));
|
|
1358
|
-
}
|
|
1359
1356
|
function ql() {
|
|
1360
|
-
|
|
1357
|
+
Yt++ > 0 || (document.addEventListener("keydown", jt, !0), Wt.forEach((e) => document.addEventListener(e, Xt, !0)));
|
|
1358
|
+
}
|
|
1359
|
+
function Gl() {
|
|
1360
|
+
--Yt > 0 || (document.removeEventListener("keydown", jt, !0), Wt.forEach((e) => document.removeEventListener(e, Xt, !0)), He = null);
|
|
1361
1361
|
}
|
|
1362
|
-
function
|
|
1362
|
+
function Hl(e) {
|
|
1363
1363
|
if (He) return He === "keyboard";
|
|
1364
1364
|
try {
|
|
1365
1365
|
return e.matches(":focus-visible");
|
|
@@ -1367,10 +1367,10 @@ function Gl(e) {
|
|
|
1367
1367
|
return !1;
|
|
1368
1368
|
}
|
|
1369
1369
|
}
|
|
1370
|
-
function
|
|
1371
|
-
return Ie(
|
|
1370
|
+
function Kl() {
|
|
1371
|
+
return Ie(ql), de(Gl), { isKeyboardFocus: Hl };
|
|
1372
1372
|
}
|
|
1373
|
-
function
|
|
1373
|
+
function Zt(e, { onTriggerHidden: d } = {}) {
|
|
1374
1374
|
const t = R(null);
|
|
1375
1375
|
let i = !1, n = null;
|
|
1376
1376
|
const s = h(() => {
|
|
@@ -1401,19 +1401,19 @@ function Xt(e, { onTriggerHidden: d } = {}) {
|
|
|
1401
1401
|
}
|
|
1402
1402
|
return de(k), { anchorStyle: s, track: u, untrack: k };
|
|
1403
1403
|
}
|
|
1404
|
-
const
|
|
1404
|
+
const Wl = "--ds-overlay-shift", ke = 8, Yl = {
|
|
1405
1405
|
top: "bottom",
|
|
1406
1406
|
bottom: "top",
|
|
1407
1407
|
left: "right",
|
|
1408
1408
|
right: "left"
|
|
1409
1409
|
};
|
|
1410
|
-
function
|
|
1410
|
+
function Qt(e, d, t) {
|
|
1411
1411
|
const i = R(0), n = R(!1), s = h(
|
|
1412
|
-
() => i.value ? { [
|
|
1412
|
+
() => i.value ? { [Wl]: `${Math.round(i.value)}px` } : null
|
|
1413
1413
|
), r = h(() => {
|
|
1414
1414
|
const b = d();
|
|
1415
1415
|
if (!n.value) return b;
|
|
1416
|
-
const L = b.indexOf("-"), g = L === -1 ? b : b.slice(0, L), S =
|
|
1416
|
+
const L = b.indexOf("-"), g = L === -1 ? b : b.slice(0, L), S = Yl[g];
|
|
1417
1417
|
return S ? L === -1 ? S : S + b.slice(L) : b;
|
|
1418
1418
|
});
|
|
1419
1419
|
function c() {
|
|
@@ -1455,7 +1455,7 @@ const Te = {
|
|
|
1455
1455
|
BOTTOM: "bottom",
|
|
1456
1456
|
LEFT: "left",
|
|
1457
1457
|
RIGHT: "right"
|
|
1458
|
-
},
|
|
1458
|
+
}, jl = ["id"], Xl = ["id"], Zl = 6, Ql = /* @__PURE__ */ P({
|
|
1459
1459
|
__name: "DsTooltip",
|
|
1460
1460
|
props: {
|
|
1461
1461
|
// Bubble text. Rich content can be provided via the #content slot instead.
|
|
@@ -1480,12 +1480,12 @@ const Te = {
|
|
|
1480
1480
|
teleported: { type: Boolean, default: !1 }
|
|
1481
1481
|
},
|
|
1482
1482
|
setup(e) {
|
|
1483
|
-
const d = e, t = Ne(), i = me(), n = R(null), s = R(!1), r = R(null), { isKeyboardFocus: c } =
|
|
1483
|
+
const d = e, t = Ne(), i = me(), n = R(null), s = R(!1), r = R(null), { isKeyboardFocus: c } = Kl(), {
|
|
1484
1484
|
shiftStyle: u,
|
|
1485
1485
|
resolvedPlacement: k,
|
|
1486
1486
|
activate: y,
|
|
1487
1487
|
deactivate: b
|
|
1488
|
-
} =
|
|
1488
|
+
} = Qt(r, () => d.placement, { trigger: n, gap: Zl }), { anchorStyle: L, track: g, untrack: S } = Zt(n);
|
|
1489
1489
|
Q(s, (T) => {
|
|
1490
1490
|
T ? (d.teleported && g(), ne(y)) : (S(), b());
|
|
1491
1491
|
});
|
|
@@ -1563,7 +1563,7 @@ const Te = {
|
|
|
1563
1563
|
M(T.$slots, "content", {}, () => [
|
|
1564
1564
|
te(v(e.content), 1)
|
|
1565
1565
|
], !0)
|
|
1566
|
-
], 14,
|
|
1566
|
+
], 14, jl)
|
|
1567
1567
|
], 4)) : p("", !0)
|
|
1568
1568
|
]),
|
|
1569
1569
|
_: 3
|
|
@@ -1585,17 +1585,17 @@ const Te = {
|
|
|
1585
1585
|
M(T.$slots, "content", {}, () => [
|
|
1586
1586
|
te(v(e.content), 1)
|
|
1587
1587
|
], !0)
|
|
1588
|
-
], 14,
|
|
1588
|
+
], 14, Xl)) : p("", !0)
|
|
1589
1589
|
]),
|
|
1590
1590
|
_: 3
|
|
1591
1591
|
}))
|
|
1592
1592
|
], 34));
|
|
1593
1593
|
}
|
|
1594
|
-
}), ge = /* @__PURE__ */ z(
|
|
1594
|
+
}), ge = /* @__PURE__ */ z(Ql, [["__scopeId", "data-v-5a578d51"]]), ct = {
|
|
1595
1595
|
VERIFIED: "verified",
|
|
1596
1596
|
UNVERIFIED: "unverified",
|
|
1597
1597
|
NEW: "new"
|
|
1598
|
-
},
|
|
1598
|
+
}, Jl = ["aria-label", "title"], en = /* @__PURE__ */ P({
|
|
1599
1599
|
__name: "DsVerificationIcon",
|
|
1600
1600
|
props: {
|
|
1601
1601
|
// true = verified · false = not verified · null/undefined = newly found.
|
|
@@ -1646,10 +1646,10 @@ const Te = {
|
|
|
1646
1646
|
M(i.$slots, "default", {}, () => [
|
|
1647
1647
|
te(v(t.value.icon), 1)
|
|
1648
1648
|
], !0)
|
|
1649
|
-
], 14,
|
|
1649
|
+
], 14, Jl));
|
|
1650
1650
|
}
|
|
1651
|
-
}),
|
|
1652
|
-
function
|
|
1651
|
+
}), tn = /* @__PURE__ */ z(en, [["__scopeId", "data-v-c84b2196"]]);
|
|
1652
|
+
function Jt() {
|
|
1653
1653
|
let e = !1;
|
|
1654
1654
|
de(() => {
|
|
1655
1655
|
e = !0;
|
|
@@ -1667,10 +1667,10 @@ function Qt() {
|
|
|
1667
1667
|
}
|
|
1668
1668
|
return { copy: d };
|
|
1669
1669
|
}
|
|
1670
|
-
const
|
|
1670
|
+
const an = ["title"], ln = { class: "ds-contact-value__marquee" }, nn = { class: "ds-contact-value__actions" }, sn = ["role", "aria-label", "aria-hidden"], on = ["aria-label", "title"], dn = {
|
|
1671
1671
|
class: "material-symbols-rounded",
|
|
1672
1672
|
"aria-hidden": "true"
|
|
1673
|
-
},
|
|
1673
|
+
}, rn = ["aria-label", "aria-pressed", "title"], cn = ["aria-label", "aria-pressed", "title"], un = /* @__PURE__ */ P({
|
|
1674
1674
|
__name: "DsContactValue",
|
|
1675
1675
|
props: {
|
|
1676
1676
|
value: { type: String, required: !0 },
|
|
@@ -1694,7 +1694,7 @@ const tn = ["title"], an = { class: "ds-contact-value__marquee" }, ln = { class:
|
|
|
1694
1694
|
setup(e, { emit: d }) {
|
|
1695
1695
|
const t = e, i = d, n = R(!1);
|
|
1696
1696
|
let s;
|
|
1697
|
-
const { copy: r } =
|
|
1697
|
+
const { copy: r } = Jt();
|
|
1698
1698
|
async function c() {
|
|
1699
1699
|
const y = t.value;
|
|
1700
1700
|
await r(y) && (n.value = !0, clearTimeout(s), s = setTimeout(() => {
|
|
@@ -1710,16 +1710,16 @@ const tn = ["title"], an = { class: "ds-contact-value__marquee" }, ln = { class:
|
|
|
1710
1710
|
return de(() => clearTimeout(s)), (y, b) => (a(), l("div", {
|
|
1711
1711
|
class: D(["ds-contact-value", { "ds-contact-value--main": e.main }])
|
|
1712
1712
|
}, [
|
|
1713
|
-
q(m(
|
|
1713
|
+
q(m(tn), {
|
|
1714
1714
|
verified: e.verified,
|
|
1715
1715
|
"is-contact-data": e.isContactData
|
|
1716
1716
|
}, null, 8, ["verified", "is-contact-data"]),
|
|
1717
1717
|
o("span", {
|
|
1718
1718
|
class: "ds-contact-value__value",
|
|
1719
1719
|
title: e.value
|
|
1720
|
-
}, v(e.value), 9,
|
|
1721
|
-
o("span",
|
|
1722
|
-
e.valueType ? (a(), W(m(
|
|
1720
|
+
}, v(e.value), 9, an),
|
|
1721
|
+
o("span", ln, [
|
|
1722
|
+
e.valueType ? (a(), W(m(Oa), {
|
|
1723
1723
|
key: 0,
|
|
1724
1724
|
class: "ds-contact-value__badge",
|
|
1725
1725
|
tone: e.main ? m(ut).ACCENT : m(ut).GREY,
|
|
@@ -1730,14 +1730,14 @@ const tn = ["title"], an = { class: "ds-contact-value__marquee" }, ln = { class:
|
|
|
1730
1730
|
]),
|
|
1731
1731
|
_: 1
|
|
1732
1732
|
}, 8, ["tone", "title"])) : p("", !0),
|
|
1733
|
-
o("span",
|
|
1733
|
+
o("span", nn, [
|
|
1734
1734
|
e.hideValue ? (a(), l("i", {
|
|
1735
1735
|
key: 0,
|
|
1736
1736
|
class: "material-symbols-filled ds-contact-value__lock",
|
|
1737
1737
|
role: e.hideValueLabel ? "img" : void 0,
|
|
1738
1738
|
"aria-label": e.hideValueLabel || void 0,
|
|
1739
1739
|
"aria-hidden": e.hideValueLabel ? void 0 : "true"
|
|
1740
|
-
}, "lock", 8,
|
|
1740
|
+
}, "lock", 8, sn)) : (a(), l(K, { key: 1 }, [
|
|
1741
1741
|
o("button", {
|
|
1742
1742
|
type: "button",
|
|
1743
1743
|
class: D(["ds-contact-value__action", { "is-copied": n.value }]),
|
|
@@ -1745,8 +1745,8 @@ const tn = ["title"], an = { class: "ds-contact-value__marquee" }, ln = { class:
|
|
|
1745
1745
|
title: n.value ? e.copiedLabel : e.copyLabel,
|
|
1746
1746
|
onClick: c
|
|
1747
1747
|
}, [
|
|
1748
|
-
o("i",
|
|
1749
|
-
], 10,
|
|
1748
|
+
o("i", dn, v(n.value ? "check" : "content_copy"), 1)
|
|
1749
|
+
], 10, on),
|
|
1750
1750
|
e.showRate ? (a(), l(K, { key: 0 }, [
|
|
1751
1751
|
o("button", {
|
|
1752
1752
|
type: "button",
|
|
@@ -1760,7 +1760,7 @@ const tn = ["title"], an = { class: "ds-contact-value__marquee" }, ln = { class:
|
|
|
1760
1760
|
class: D(e.correct === !0 ? "material-symbols-filled" : "material-symbols-rounded"),
|
|
1761
1761
|
"aria-hidden": "true"
|
|
1762
1762
|
}, "thumb_up", 2)
|
|
1763
|
-
], 8,
|
|
1763
|
+
], 8, rn),
|
|
1764
1764
|
o("button", {
|
|
1765
1765
|
type: "button",
|
|
1766
1766
|
class: "ds-contact-value__action",
|
|
@@ -1773,41 +1773,41 @@ const tn = ["title"], an = { class: "ds-contact-value__marquee" }, ln = { class:
|
|
|
1773
1773
|
class: D(e.correct === !1 ? "material-symbols-filled" : "material-symbols-rounded"),
|
|
1774
1774
|
"aria-hidden": "true"
|
|
1775
1775
|
}, "thumb_down", 2)
|
|
1776
|
-
], 8,
|
|
1776
|
+
], 8, cn)
|
|
1777
1777
|
], 64)) : p("", !0)
|
|
1778
1778
|
], 64))
|
|
1779
1779
|
])
|
|
1780
1780
|
])
|
|
1781
1781
|
], 2));
|
|
1782
1782
|
}
|
|
1783
|
-
}), Mt = /* @__PURE__ */ z(
|
|
1783
|
+
}), Mt = /* @__PURE__ */ z(un, [["__scopeId", "data-v-30cc74de"]]), fn = ["aria-label", "aria-busy"], vn = { class: "ds-data-card__heading" }, mn = {
|
|
1784
1784
|
class: "material-symbols-filled ds-data-card__icon",
|
|
1785
1785
|
"aria-hidden": "true"
|
|
1786
|
-
},
|
|
1786
|
+
}, bn = { class: "ds-data-card__title" }, yn = ["aria-label"], gn = {
|
|
1787
1787
|
key: 0,
|
|
1788
1788
|
class: "ds-data-card__body"
|
|
1789
|
-
},
|
|
1789
|
+
}, hn = {
|
|
1790
1790
|
key: 0,
|
|
1791
1791
|
class: "ds-data-card__loading"
|
|
1792
|
-
},
|
|
1792
|
+
}, pn = {
|
|
1793
1793
|
key: 1,
|
|
1794
1794
|
class: "ds-data-card__locked"
|
|
1795
|
-
},
|
|
1795
|
+
}, kn = { class: "ds-data-card__state-text" }, Sn = { class: "ds-data-card__state-title" }, $n = {
|
|
1796
1796
|
key: 2,
|
|
1797
1797
|
class: "ds-data-card__empty"
|
|
1798
|
-
},
|
|
1798
|
+
}, _n = { class: "ds-data-card__state-badge" }, Ln = {
|
|
1799
1799
|
class: "material-symbols-filled ds-data-card__state-icon",
|
|
1800
1800
|
"aria-hidden": "true"
|
|
1801
|
-
},
|
|
1801
|
+
}, wn = { class: "ds-data-card__state-text" }, En = { class: "ds-data-card__state-title" }, Tn = {
|
|
1802
1802
|
key: 0,
|
|
1803
1803
|
class: "ds-data-card__state-subtitle"
|
|
1804
|
-
},
|
|
1804
|
+
}, Cn = { key: 0 }, In = {
|
|
1805
1805
|
key: 0,
|
|
1806
1806
|
class: "ds-data-card__section"
|
|
1807
|
-
},
|
|
1807
|
+
}, Dn = { key: 1 }, An = {
|
|
1808
1808
|
key: 0,
|
|
1809
1809
|
class: "ds-data-card__section"
|
|
1810
|
-
},
|
|
1810
|
+
}, Rn = { class: "ds-data-card__more" }, Nn = /* @__PURE__ */ P({
|
|
1811
1811
|
__name: "DsDataCard",
|
|
1812
1812
|
props: {
|
|
1813
1813
|
title: { type: String, required: !0 },
|
|
@@ -1880,9 +1880,9 @@ const tn = ["title"], an = { class: "ds-contact-value__marquee" }, ln = { class:
|
|
|
1880
1880
|
class: D(["ds-data-card__header", { "is-collapsed": u.value, "is-collapsible": e.collapsible }]),
|
|
1881
1881
|
onClick: f[1] || (f[1] = (I) => e.collapsible && k())
|
|
1882
1882
|
}, [
|
|
1883
|
-
o("div",
|
|
1884
|
-
o("i",
|
|
1885
|
-
o("span",
|
|
1883
|
+
o("div", vn, [
|
|
1884
|
+
o("i", mn, v(e.icon), 1),
|
|
1885
|
+
o("span", bn, v(e.title), 1)
|
|
1886
1886
|
]),
|
|
1887
1887
|
o("div", {
|
|
1888
1888
|
class: "ds-data-card__actions",
|
|
@@ -1924,17 +1924,17 @@ const tn = ["title"], an = { class: "ds-contact-value__marquee" }, ln = { class:
|
|
|
1924
1924
|
class: "material-symbols-filled",
|
|
1925
1925
|
"aria-hidden": "true"
|
|
1926
1926
|
}, "close", -1)
|
|
1927
|
-
])], 8,
|
|
1927
|
+
])], 8, yn)) : p("", !0)
|
|
1928
1928
|
])
|
|
1929
1929
|
], 2),
|
|
1930
|
-
u.value ? p("", !0) : (a(), l("div",
|
|
1931
|
-
e.loading ? (a(), l("div",
|
|
1930
|
+
u.value ? p("", !0) : (a(), l("div", gn, [
|
|
1931
|
+
e.loading ? (a(), l("div", hn, [
|
|
1932
1932
|
M(_.$slots, "loading", {}, () => [
|
|
1933
1933
|
q(m(Pe), {
|
|
1934
1934
|
label: e.loadingLabel || void 0
|
|
1935
1935
|
}, null, 8, ["label"])
|
|
1936
1936
|
], !0)
|
|
1937
|
-
])) : e.locked ? (a(), l("div",
|
|
1937
|
+
])) : e.locked ? (a(), l("div", pn, [
|
|
1938
1938
|
M(_.$slots, "locked", {}, () => [
|
|
1939
1939
|
f[5] || (f[5] = o("span", { class: "ds-data-card__state-badge ds-data-card__state-badge--accent" }, [
|
|
1940
1940
|
o("i", {
|
|
@@ -1942,21 +1942,21 @@ const tn = ["title"], an = { class: "ds-contact-value__marquee" }, ln = { class:
|
|
|
1942
1942
|
"aria-hidden": "true"
|
|
1943
1943
|
}, "lock")
|
|
1944
1944
|
], -1)),
|
|
1945
|
-
o("div",
|
|
1946
|
-
o("span",
|
|
1945
|
+
o("div", kn, [
|
|
1946
|
+
o("span", Sn, v(e.lockedLabel), 1)
|
|
1947
1947
|
])
|
|
1948
1948
|
], !0)
|
|
1949
|
-
])) : c.value ? (a(), l("div",
|
|
1950
|
-
o("span",
|
|
1951
|
-
o("i",
|
|
1949
|
+
])) : c.value ? (a(), l("div", $n, [
|
|
1950
|
+
o("span", _n, [
|
|
1951
|
+
o("i", Ln, v(e.icon), 1)
|
|
1952
1952
|
]),
|
|
1953
|
-
o("div",
|
|
1954
|
-
o("span",
|
|
1955
|
-
e.emptySubtitle ? (a(), l("span",
|
|
1953
|
+
o("div", wn, [
|
|
1954
|
+
o("span", En, v(e.emptyLabel), 1),
|
|
1955
|
+
e.emptySubtitle ? (a(), l("span", Tn, v(e.emptySubtitle), 1)) : p("", !0)
|
|
1956
1956
|
])
|
|
1957
1957
|
])) : (a(), l(K, { key: 3 }, [
|
|
1958
|
-
e.mostLikely ? (a(), l("div",
|
|
1959
|
-
r.value ? (a(), l("div",
|
|
1958
|
+
e.mostLikely ? (a(), l("div", Cn, [
|
|
1959
|
+
r.value ? (a(), l("div", In, v(e.mostLikelyLabel), 1)) : p("", !0),
|
|
1960
1960
|
q(m(Mt), {
|
|
1961
1961
|
value: e.mostLikely.value,
|
|
1962
1962
|
"value-type": e.mostLikely.type,
|
|
@@ -1971,9 +1971,9 @@ const tn = ["title"], an = { class: "ds-contact-value__marquee" }, ln = { class:
|
|
|
1971
1971
|
onIncorrect: f[3] || (f[3] = (I) => $(e.mostLikely))
|
|
1972
1972
|
}, null, 8, ["value", "value-type", "verified", "correct", "hide-value", "is-contact-data", "show-rate"])
|
|
1973
1973
|
])) : p("", !0),
|
|
1974
|
-
e.more.length > 0 ? (a(), l("div",
|
|
1975
|
-
r.value ? (a(), l("div",
|
|
1976
|
-
o("div",
|
|
1974
|
+
e.more.length > 0 ? (a(), l("div", Dn, [
|
|
1975
|
+
r.value ? (a(), l("div", An, v(e.moreLabel), 1)) : p("", !0),
|
|
1976
|
+
o("div", Rn, [
|
|
1977
1977
|
(a(!0), l(K, null, le(e.more, (I) => (a(), W(m(Mt), {
|
|
1978
1978
|
key: I.value,
|
|
1979
1979
|
value: I.value,
|
|
@@ -1991,12 +1991,12 @@ const tn = ["title"], an = { class: "ds-contact-value__marquee" }, ln = { class:
|
|
|
1991
1991
|
])) : p("", !0)
|
|
1992
1992
|
], 64))
|
|
1993
1993
|
]))
|
|
1994
|
-
], 8,
|
|
1994
|
+
], 8, fn));
|
|
1995
1995
|
}
|
|
1996
|
-
}),
|
|
1996
|
+
}), hr = /* @__PURE__ */ z(Nn, [["__scopeId", "data-v-ae4d5151"]]), On = ["name", "value", "checked", "disabled"], Bn = {
|
|
1997
1997
|
key: 0,
|
|
1998
1998
|
class: "ds-radio__label"
|
|
1999
|
-
},
|
|
1999
|
+
}, xn = /* @__PURE__ */ P({
|
|
2000
2000
|
__name: "DsRadio",
|
|
2001
2001
|
props: /* @__PURE__ */ be({
|
|
2002
2002
|
disabled: Boolean,
|
|
@@ -2025,22 +2025,22 @@ const tn = ["title"], an = { class: "ds-contact-value__marquee" }, ln = { class:
|
|
|
2025
2025
|
checked: d.value,
|
|
2026
2026
|
disabled: e.disabled,
|
|
2027
2027
|
onChange: i
|
|
2028
|
-
}, null, 40,
|
|
2028
|
+
}, null, 40, On),
|
|
2029
2029
|
o("span", {
|
|
2030
2030
|
class: D(["ds-radio__dot", { "is-active": d.value }]),
|
|
2031
2031
|
"aria-hidden": "true"
|
|
2032
2032
|
}, null, 2),
|
|
2033
|
-
n.$slots.default || e.label ? (a(), l("span",
|
|
2033
|
+
n.$slots.default || e.label ? (a(), l("span", Bn, [
|
|
2034
2034
|
M(n.$slots, "default", {}, () => [
|
|
2035
2035
|
te(v(e.label), 1)
|
|
2036
2036
|
], !0)
|
|
2037
2037
|
])) : p("", !0)
|
|
2038
2038
|
], 2));
|
|
2039
2039
|
}
|
|
2040
|
-
}),
|
|
2040
|
+
}), ea = /* @__PURE__ */ z(xn, [["__scopeId", "data-v-96b70404"]]), Mn = ["name", "value", "checked", "disabled", "aria-describedby"], Pn = { class: "ds-radio-card__header" }, zn = { class: "ds-radio-card__text" }, Un = {
|
|
2041
2041
|
key: 0,
|
|
2042
2042
|
class: "ds-radio-card__preview"
|
|
2043
|
-
},
|
|
2043
|
+
}, Fn = /* @__PURE__ */ P({
|
|
2044
2044
|
__name: "DsRadioCard",
|
|
2045
2045
|
props: /* @__PURE__ */ be({
|
|
2046
2046
|
// This card's own value; the card is selected when it equals the v-model.
|
|
@@ -2074,9 +2074,9 @@ const tn = ["title"], an = { class: "ds-contact-value__marquee" }, ln = { class:
|
|
|
2074
2074
|
disabled: e.disabled,
|
|
2075
2075
|
"aria-describedby": u.value ? r : void 0,
|
|
2076
2076
|
onChange: k
|
|
2077
|
-
}, null, 40,
|
|
2078
|
-
o("div",
|
|
2079
|
-
o("div",
|
|
2077
|
+
}, null, 40, Mn),
|
|
2078
|
+
o("div", Pn, [
|
|
2079
|
+
o("div", zn, [
|
|
2080
2080
|
o("label", {
|
|
2081
2081
|
for: s,
|
|
2082
2082
|
class: "ds-radio-card__title"
|
|
@@ -2100,15 +2100,15 @@ const tn = ["title"], an = { class: "ds-contact-value__marquee" }, ln = { class:
|
|
|
2100
2100
|
"aria-hidden": "true"
|
|
2101
2101
|
}, null, 2)
|
|
2102
2102
|
]),
|
|
2103
|
-
y.$slots.default ? (a(), l("div",
|
|
2103
|
+
y.$slots.default ? (a(), l("div", Un, [
|
|
2104
2104
|
M(y.$slots, "default", {}, void 0, !0)
|
|
2105
2105
|
])) : p("", !0)
|
|
2106
2106
|
], 2));
|
|
2107
2107
|
}
|
|
2108
|
-
}),
|
|
2108
|
+
}), pr = /* @__PURE__ */ z(Fn, [["__scopeId", "data-v-8f21676f"]]), Vn = ["aria-checked", "aria-busy", "aria-disabled", "aria-label", "disabled"], qn = {
|
|
2109
2109
|
class: "ds-switch__thumb",
|
|
2110
2110
|
"aria-hidden": "true"
|
|
2111
|
-
},
|
|
2111
|
+
}, Gn = /* @__PURE__ */ P({
|
|
2112
2112
|
__name: "DsSwitch",
|
|
2113
2113
|
props: /* @__PURE__ */ be({
|
|
2114
2114
|
disabled: Boolean,
|
|
@@ -2141,7 +2141,7 @@ const tn = ["title"], an = { class: "ds-contact-value__marquee" }, ln = { class:
|
|
|
2141
2141
|
disabled: e.disabled || e.loading,
|
|
2142
2142
|
onClick: i
|
|
2143
2143
|
}, [
|
|
2144
|
-
o("span",
|
|
2144
|
+
o("span", qn, [
|
|
2145
2145
|
e.loading ? (a(), W(m(Pe), {
|
|
2146
2146
|
key: 0,
|
|
2147
2147
|
class: "ds-switch__spinner",
|
|
@@ -2150,9 +2150,9 @@ const tn = ["title"], an = { class: "ds-contact-value__marquee" }, ln = { class:
|
|
|
2150
2150
|
label: ""
|
|
2151
2151
|
}, null, 8, ["tone"])) : p("", !0)
|
|
2152
2152
|
])
|
|
2153
|
-
], 10,
|
|
2153
|
+
], 10, Vn));
|
|
2154
2154
|
}
|
|
2155
|
-
}),
|
|
2155
|
+
}), kr = /* @__PURE__ */ z(Gn, [["__scopeId", "data-v-f8073b3b"]]), Hn = ["aria-label", "disabled"], Kn = { class: "ds-item-selector-button__label" }, Wn = /* @__PURE__ */ P({
|
|
2156
2156
|
__name: "DsItemSelectorButton",
|
|
2157
2157
|
props: {
|
|
2158
2158
|
item: { type: Object, default: null },
|
|
@@ -2180,17 +2180,17 @@ const tn = ["title"], an = { class: "ds-contact-value__marquee" }, ln = { class:
|
|
|
2180
2180
|
disabled: e.disabled,
|
|
2181
2181
|
onClick: n
|
|
2182
2182
|
}, [
|
|
2183
|
-
o("span",
|
|
2183
|
+
o("span", Kn, v(e.item ? e.item.name : e.emptyTitle), 1),
|
|
2184
2184
|
e.icon ? (a(), l("i", {
|
|
2185
2185
|
key: 0,
|
|
2186
2186
|
class: D(["ds-item-selector-button__icon", e.item ? "material-symbols-filled" : "material-symbols-rounded"]),
|
|
2187
2187
|
style: j((c = e.item) != null && c.color ? { color: e.item.color } : void 0),
|
|
2188
2188
|
"aria-hidden": "true"
|
|
2189
2189
|
}, v(e.icon), 7)) : p("", !0)
|
|
2190
|
-
], 10,
|
|
2190
|
+
], 10, Hn);
|
|
2191
2191
|
};
|
|
2192
2192
|
}
|
|
2193
|
-
}),
|
|
2193
|
+
}), Sr = /* @__PURE__ */ z(Wn, [["__scopeId", "data-v-077e6ef2"]]), Pt = {
|
|
2194
2194
|
DEFAULT: "default",
|
|
2195
2195
|
FILTER_SUMMARY: "filterSummary"
|
|
2196
2196
|
}, zt = {
|
|
@@ -2204,28 +2204,28 @@ const tn = ["title"], an = { class: "ds-contact-value__marquee" }, ln = { class:
|
|
|
2204
2204
|
// 280px
|
|
2205
2205
|
FULL: "full"
|
|
2206
2206
|
// 100% of the container
|
|
2207
|
-
},
|
|
2207
|
+
}, Yn = ["disabled", "aria-expanded", "aria-controls", "aria-activedescendant"], jn = ["title"], Xn = ["disabled", "aria-label"], Zn = {
|
|
2208
2208
|
key: 1,
|
|
2209
2209
|
class: "material-symbols-filled ds-select__chevron",
|
|
2210
2210
|
"aria-hidden": "true"
|
|
2211
|
-
},
|
|
2211
|
+
}, Qn = {
|
|
2212
2212
|
key: 0,
|
|
2213
2213
|
class: "ds-select__popup"
|
|
2214
|
-
},
|
|
2214
|
+
}, Jn = {
|
|
2215
2215
|
key: 0,
|
|
2216
2216
|
class: "ds-select__search"
|
|
2217
|
-
},
|
|
2217
|
+
}, ei = ["aria-activedescendant", "aria-label", "placeholder", "value"], ti = ["aria-multiselectable", "aria-busy"], ai = {
|
|
2218
2218
|
key: 0,
|
|
2219
2219
|
class: "ds-select__loading",
|
|
2220
2220
|
role: "presentation"
|
|
2221
|
-
},
|
|
2221
|
+
}, li = ["role", "aria-labelledby"], ni = ["id"], ii = ["id", "aria-selected", "onClick", "onMouseenter"], si = { class: "ds-select__option-label" }, oi = {
|
|
2222
2222
|
key: 0,
|
|
2223
2223
|
class: "ds-select__option-sublabel"
|
|
2224
|
-
},
|
|
2224
|
+
}, di = {
|
|
2225
2225
|
key: 0,
|
|
2226
2226
|
class: "ds-select__empty",
|
|
2227
2227
|
role: "presentation"
|
|
2228
|
-
},
|
|
2228
|
+
}, ri = /* @__PURE__ */ P({
|
|
2229
2229
|
__name: "DsSelect",
|
|
2230
2230
|
props: /* @__PURE__ */ be({
|
|
2231
2231
|
options: { type: Array, required: !0 },
|
|
@@ -2296,7 +2296,7 @@ const tn = ["title"], an = { class: "ds-contact-value__marquee" }, ln = { class:
|
|
|
2296
2296
|
function X(A) {
|
|
2297
2297
|
return O.value.includes(A);
|
|
2298
2298
|
}
|
|
2299
|
-
const U =
|
|
2299
|
+
const U = ma(/* @__PURE__ */ new Map());
|
|
2300
2300
|
Q(
|
|
2301
2301
|
() => t.options,
|
|
2302
2302
|
(A) => A.forEach((G) => U.set(G.value, G.label)),
|
|
@@ -2453,8 +2453,8 @@ const tn = ["title"], an = { class: "ds-contact-value__marquee" }, ln = { class:
|
|
|
2453
2453
|
o("span", {
|
|
2454
2454
|
class: "ds-select__summary",
|
|
2455
2455
|
title: E.value
|
|
2456
|
-
}, v(E.value), 9,
|
|
2457
|
-
], 40,
|
|
2456
|
+
}, v(E.value), 9, jn)
|
|
2457
|
+
], 40, Yn),
|
|
2458
2458
|
S.value && B.value ? (a(), l("button", {
|
|
2459
2459
|
key: 0,
|
|
2460
2460
|
type: "button",
|
|
@@ -2467,10 +2467,10 @@ const tn = ["title"], an = { class: "ds-contact-value__marquee" }, ln = { class:
|
|
|
2467
2467
|
class: "material-symbols-filled",
|
|
2468
2468
|
"aria-hidden": "true"
|
|
2469
2469
|
}, "close", -1)
|
|
2470
|
-
])], 8,
|
|
2470
|
+
])], 8, Xn)) : (a(), l("i", Zn, "keyboard_arrow_down"))
|
|
2471
2471
|
], 2),
|
|
2472
|
-
b.value ? (a(), l("div",
|
|
2473
|
-
e.filterable ? (a(), l("div",
|
|
2472
|
+
b.value ? (a(), l("div", Qn, [
|
|
2473
|
+
e.filterable ? (a(), l("div", Jn, [
|
|
2474
2474
|
G[2] || (G[2] = o("i", {
|
|
2475
2475
|
class: "material-symbols-filled ds-select__search-icon",
|
|
2476
2476
|
"aria-hidden": "true"
|
|
@@ -2491,7 +2491,7 @@ const tn = ["title"], an = { class: "ds-contact-value__marquee" }, ln = { class:
|
|
|
2491
2491
|
value: g.value,
|
|
2492
2492
|
onInput: Z,
|
|
2493
2493
|
onKeydown: Y
|
|
2494
|
-
}, null, 40,
|
|
2494
|
+
}, null, 40, ei)
|
|
2495
2495
|
])) : p("", !0),
|
|
2496
2496
|
o("ul", {
|
|
2497
2497
|
id: r,
|
|
@@ -2502,7 +2502,7 @@ const tn = ["title"], an = { class: "ds-contact-value__marquee" }, ln = { class:
|
|
|
2502
2502
|
onMousedown: G[0] || (G[0] = Se(() => {
|
|
2503
2503
|
}, ["prevent"]))
|
|
2504
2504
|
}, [
|
|
2505
|
-
e.loading ? (a(), l("li",
|
|
2505
|
+
e.loading ? (a(), l("li", ai, [
|
|
2506
2506
|
M(A.$slots, "loading", {}, () => [
|
|
2507
2507
|
q(m(Pe), { size: "small" })
|
|
2508
2508
|
], !0)
|
|
@@ -2517,7 +2517,7 @@ const tn = ["title"], an = { class: "ds-contact-value__marquee" }, ln = { class:
|
|
|
2517
2517
|
key: 0,
|
|
2518
2518
|
id: ee.headerId,
|
|
2519
2519
|
class: "ds-select__group-header"
|
|
2520
|
-
}, v(ee.label), 9,
|
|
2520
|
+
}, v(ee.label), 9, ni)) : p("", !0),
|
|
2521
2521
|
(a(!0), l(K, null, le(ee.items, (J) => (a(), l("div", {
|
|
2522
2522
|
id: c(J.index),
|
|
2523
2523
|
key: J.option.value,
|
|
@@ -2549,24 +2549,24 @@ const tn = ["title"], an = { class: "ds-contact-value__marquee" }, ln = { class:
|
|
|
2549
2549
|
style: j(J.option.color ? { color: J.option.color } : void 0),
|
|
2550
2550
|
"aria-hidden": "true"
|
|
2551
2551
|
}, v(J.option.icon), 5)) : p("", !0),
|
|
2552
|
-
o("span",
|
|
2552
|
+
o("span", si, [
|
|
2553
2553
|
te(v(J.option.label), 1),
|
|
2554
|
-
J.option.subLabel ? (a(), l("span",
|
|
2554
|
+
J.option.subLabel ? (a(), l("span", oi, ", " + v(J.option.subLabel), 1)) : p("", !0)
|
|
2555
2555
|
])
|
|
2556
2556
|
], !0)
|
|
2557
|
-
], 42,
|
|
2558
|
-
], 10,
|
|
2559
|
-
f.value.length === 0 ? (a(), l("li",
|
|
2557
|
+
], 42, ii))), 128))
|
|
2558
|
+
], 10, li))), 128)),
|
|
2559
|
+
f.value.length === 0 ? (a(), l("li", di, [
|
|
2560
2560
|
M(A.$slots, "empty", {}, () => [
|
|
2561
2561
|
te(v(e.emptyText), 1)
|
|
2562
2562
|
], !0)
|
|
2563
2563
|
])) : p("", !0)
|
|
2564
2564
|
], 64))
|
|
2565
|
-
], 40,
|
|
2565
|
+
], 40, ti)
|
|
2566
2566
|
])) : p("", !0)
|
|
2567
2567
|
], 6));
|
|
2568
2568
|
}
|
|
2569
|
-
}),
|
|
2569
|
+
}), $r = /* @__PURE__ */ z(ri, [["__scopeId", "data-v-abd53e06"]]), ci = ["tabindex"], ui = /* @__PURE__ */ P({
|
|
2570
2570
|
__name: "DsRow",
|
|
2571
2571
|
props: {
|
|
2572
2572
|
selected: { type: Boolean, default: !1 },
|
|
@@ -2588,9 +2588,9 @@ const tn = ["title"], an = { class: "ds-contact-value__marquee" }, ln = { class:
|
|
|
2588
2588
|
onKeydown: s
|
|
2589
2589
|
}, [
|
|
2590
2590
|
M(r.$slots, "default", {}, void 0, !0)
|
|
2591
|
-
], 42,
|
|
2591
|
+
], 42, ci));
|
|
2592
2592
|
}
|
|
2593
|
-
}),
|
|
2593
|
+
}), _r = /* @__PURE__ */ z(ui, [["__scopeId", "data-v-c2d6c50b"]]), fi = /* @__PURE__ */ P({
|
|
2594
2594
|
__name: "DsCell",
|
|
2595
2595
|
props: {
|
|
2596
2596
|
first: { type: Boolean, default: !1 },
|
|
@@ -2630,7 +2630,7 @@ const tn = ["title"], an = { class: "ds-contact-value__marquee" }, ln = { class:
|
|
|
2630
2630
|
M(n.$slots, "default", {}, void 0, !0)
|
|
2631
2631
|
], 6));
|
|
2632
2632
|
}
|
|
2633
|
-
}),
|
|
2633
|
+
}), Lr = /* @__PURE__ */ z(fi, [["__scopeId", "data-v-727b775d"]]), vi = {
|
|
2634
2634
|
SUCCESS: "success",
|
|
2635
2635
|
WARNING: "warning",
|
|
2636
2636
|
DANGER: "danger",
|
|
@@ -2640,12 +2640,12 @@ const tn = ["title"], an = { class: "ds-contact-value__marquee" }, ln = { class:
|
|
|
2640
2640
|
// the only solid-fill variant
|
|
2641
2641
|
ACCENT: "accent"
|
|
2642
2642
|
// maps to $info-* tokens, not $accent-*
|
|
2643
|
-
},
|
|
2643
|
+
}, mi = /* @__PURE__ */ P({
|
|
2644
2644
|
__name: "DsCustomTag",
|
|
2645
2645
|
props: {
|
|
2646
2646
|
type: {
|
|
2647
2647
|
type: String,
|
|
2648
|
-
default:
|
|
2648
|
+
default: vi.INFO
|
|
2649
2649
|
},
|
|
2650
2650
|
// Fully rounded (radius-full) sides vs the default radius-control.
|
|
2651
2651
|
round: Boolean
|
|
@@ -2657,19 +2657,32 @@ const tn = ["title"], an = { class: "ds-contact-value__marquee" }, ln = { class:
|
|
|
2657
2657
|
M(d.$slots, "default", {}, void 0, !0)
|
|
2658
2658
|
], 2));
|
|
2659
2659
|
}
|
|
2660
|
-
}),
|
|
2660
|
+
}), wr = /* @__PURE__ */ z(mi, [["__scopeId", "data-v-c0220631"]]), Ut = {
|
|
2661
|
+
DEFAULT: "default",
|
|
2662
|
+
// solid grey capsule, white text, no border
|
|
2663
|
+
INFO: "info",
|
|
2664
|
+
// bordered: info tint background, info shadow border and text
|
|
2665
|
+
ERROR: "error"
|
|
2666
|
+
// bordered: error tint background, error shadow border and text
|
|
2667
|
+
}, bi = { class: "ds-pill__text" }, yi = ["aria-label"], gi = {
|
|
2661
2668
|
class: "material-symbols-filled",
|
|
2662
2669
|
"aria-hidden": "true"
|
|
2663
|
-
},
|
|
2670
|
+
}, hi = /* @__PURE__ */ P({
|
|
2664
2671
|
__name: "DsPill",
|
|
2665
2672
|
props: {
|
|
2673
|
+
// `default` is the solid grey capsule; `info` / `error` are bordered and tinted.
|
|
2674
|
+
tone: {
|
|
2675
|
+
type: String,
|
|
2676
|
+
default: Ut.DEFAULT,
|
|
2677
|
+
validator: (e) => Object.values(Ut).includes(e)
|
|
2678
|
+
},
|
|
2666
2679
|
// Material Symbols ligature name; when set, renders a trailing icon button.
|
|
2667
2680
|
icon: {
|
|
2668
2681
|
type: String,
|
|
2669
2682
|
default: ""
|
|
2670
2683
|
},
|
|
2671
2684
|
// Free-form CSS color (e.g. a dynamic tag/folder color); when empty, falls
|
|
2672
|
-
// back to the
|
|
2685
|
+
// back to the tone background. When set, it wins over the tone background.
|
|
2673
2686
|
background: {
|
|
2674
2687
|
type: String,
|
|
2675
2688
|
default: ""
|
|
@@ -2684,10 +2697,10 @@ const tn = ["title"], an = { class: "ds-contact-value__marquee" }, ln = { class:
|
|
|
2684
2697
|
setup(e, { emit: d }) {
|
|
2685
2698
|
const t = d;
|
|
2686
2699
|
return (i, n) => (a(), l("span", {
|
|
2687
|
-
class: D(["ds-pill", { "ds-pill--has-icon": e.icon }]),
|
|
2700
|
+
class: D(["ds-pill", [`ds-pill--${e.tone}`, { "ds-pill--has-icon": e.icon }]]),
|
|
2688
2701
|
style: j(e.background ? { background: e.background } : void 0)
|
|
2689
2702
|
}, [
|
|
2690
|
-
o("span",
|
|
2703
|
+
o("span", bi, [
|
|
2691
2704
|
M(i.$slots, "default", {}, void 0, !0)
|
|
2692
2705
|
]),
|
|
2693
2706
|
e.icon ? (a(), l("button", {
|
|
@@ -2697,14 +2710,14 @@ const tn = ["title"], an = { class: "ds-contact-value__marquee" }, ln = { class:
|
|
|
2697
2710
|
"aria-label": e.iconLabel || void 0,
|
|
2698
2711
|
onClick: n[0] || (n[0] = (s) => t(m(ye)))
|
|
2699
2712
|
}, [
|
|
2700
|
-
o("i",
|
|
2701
|
-
], 8,
|
|
2713
|
+
o("i", gi, v(e.icon), 1)
|
|
2714
|
+
], 8, yi)) : p("", !0)
|
|
2702
2715
|
], 6));
|
|
2703
2716
|
}
|
|
2704
|
-
}),
|
|
2717
|
+
}), Er = /* @__PURE__ */ z(hi, [["__scopeId", "data-v-d9f6c51b"]]), pi = {
|
|
2705
2718
|
key: 0,
|
|
2706
2719
|
class: "ds-pill-with-border__icon"
|
|
2707
|
-
},
|
|
2720
|
+
}, ki = { class: "ds-pill-with-border__label" }, Si = /* @__PURE__ */ P({
|
|
2708
2721
|
__name: "DsPillWithBorder",
|
|
2709
2722
|
emits: [ye],
|
|
2710
2723
|
setup(e, { emit: d }) {
|
|
@@ -2714,21 +2727,21 @@ const tn = ["title"], an = { class: "ds-contact-value__marquee" }, ln = { class:
|
|
|
2714
2727
|
class: "ds-pill-with-border",
|
|
2715
2728
|
onClick: n[0] || (n[0] = (s) => t(m(ye)))
|
|
2716
2729
|
}, [
|
|
2717
|
-
i.$slots.icon ? (a(), l("span",
|
|
2730
|
+
i.$slots.icon ? (a(), l("span", pi, [
|
|
2718
2731
|
M(i.$slots, "icon", {}, void 0, !0)
|
|
2719
2732
|
])) : p("", !0),
|
|
2720
|
-
o("span",
|
|
2733
|
+
o("span", ki, [
|
|
2721
2734
|
M(i.$slots, "default", {}, void 0, !0)
|
|
2722
2735
|
])
|
|
2723
2736
|
]));
|
|
2724
2737
|
}
|
|
2725
|
-
}),
|
|
2738
|
+
}), Tr = /* @__PURE__ */ z(Si, [["__scopeId", "data-v-8db4dcaf"]]), $i = ["aria-label"], _i = ["title"], Li = {
|
|
2726
2739
|
key: 1,
|
|
2727
2740
|
class: "ds-segmented-progress-bar-wrapper"
|
|
2728
|
-
},
|
|
2741
|
+
}, wi = ["aria-label"], Ei = ["title"], Ti = {
|
|
2729
2742
|
class: "ds-segmented-progress-bar__legend",
|
|
2730
2743
|
"aria-hidden": "true"
|
|
2731
|
-
},
|
|
2744
|
+
}, Ci = { class: "ds-segmented-progress-bar__legend-label" }, Ii = /* @__PURE__ */ P({
|
|
2732
2745
|
inheritAttrs: !1,
|
|
2733
2746
|
__name: "DsSegmentedProgressBar",
|
|
2734
2747
|
props: {
|
|
@@ -2752,7 +2765,7 @@ const tn = ["title"], an = { class: "ds-contact-value__marquee" }, ln = { class:
|
|
|
2752
2765
|
const d = e, t = Ne(), i = h(() => d.segments.filter((s) => !!s.name)), n = h(
|
|
2753
2766
|
() => !!t.legend || d.showLegend && i.value.length > 0
|
|
2754
2767
|
);
|
|
2755
|
-
return (s, r) => n.value ? (a(), l("div",
|
|
2768
|
+
return (s, r) => n.value ? (a(), l("div", Li, [
|
|
2756
2769
|
o("div", Re(s.$attrs, {
|
|
2757
2770
|
class: "ds-segmented-progress-bar",
|
|
2758
2771
|
role: "img",
|
|
@@ -2769,11 +2782,11 @@ const tn = ["title"], an = { class: "ds-contact-value__marquee" }, ln = { class:
|
|
|
2769
2782
|
backgroundColor: c.color
|
|
2770
2783
|
}),
|
|
2771
2784
|
title: c.name || void 0
|
|
2772
|
-
}, null, 12,
|
|
2785
|
+
}, null, 12, Ei);
|
|
2773
2786
|
}), 128))
|
|
2774
|
-
], 16,
|
|
2787
|
+
], 16, wi),
|
|
2775
2788
|
M(s.$slots, "legend", {}, () => [
|
|
2776
|
-
o("ul",
|
|
2789
|
+
o("ul", Ti, [
|
|
2777
2790
|
(a(!0), l(K, null, le(i.value, (c, u) => (a(), l("li", {
|
|
2778
2791
|
key: `${c.name}-${u}`,
|
|
2779
2792
|
class: "ds-segmented-progress-bar__legend-item"
|
|
@@ -2782,7 +2795,7 @@ const tn = ["title"], an = { class: "ds-contact-value__marquee" }, ln = { class:
|
|
|
2782
2795
|
class: "ds-segmented-progress-bar__legend-swatch",
|
|
2783
2796
|
style: j({ backgroundColor: c.color })
|
|
2784
2797
|
}, null, 4),
|
|
2785
|
-
o("span",
|
|
2798
|
+
o("span", Ci, v(c.name), 1)
|
|
2786
2799
|
]))), 128))
|
|
2787
2800
|
])
|
|
2788
2801
|
], !0)
|
|
@@ -2802,17 +2815,17 @@ const tn = ["title"], an = { class: "ds-contact-value__marquee" }, ln = { class:
|
|
|
2802
2815
|
backgroundColor: c.color
|
|
2803
2816
|
}),
|
|
2804
2817
|
title: c.name || void 0
|
|
2805
|
-
}, null, 12,
|
|
2818
|
+
}, null, 12, _i);
|
|
2806
2819
|
}), 128))
|
|
2807
|
-
], 16,
|
|
2820
|
+
], 16, $i));
|
|
2808
2821
|
}
|
|
2809
|
-
}),
|
|
2822
|
+
}), Cr = /* @__PURE__ */ z(Ii, [["__scopeId", "data-v-89dc768c"]]), Di = {
|
|
2810
2823
|
key: 0,
|
|
2811
2824
|
class: "ds-empty-state__header"
|
|
2812
|
-
},
|
|
2825
|
+
}, Ai = { class: "ds-empty-state__body" }, Ri = ["src"], Ni = { class: "ds-empty-state__title" }, Oi = {
|
|
2813
2826
|
key: 1,
|
|
2814
2827
|
class: "ds-empty-state__subtitle"
|
|
2815
|
-
},
|
|
2828
|
+
}, Bi = /* @__PURE__ */ P({
|
|
2816
2829
|
__name: "DsEmptyState",
|
|
2817
2830
|
props: {
|
|
2818
2831
|
// Illustration URL; decorative (rendered with alt="").
|
|
@@ -2826,30 +2839,30 @@ const tn = ["title"], an = { class: "ds-contact-value__marquee" }, ln = { class:
|
|
|
2826
2839
|
return (d, t) => (a(), l("div", {
|
|
2827
2840
|
class: D(["ds-empty-state", { "is-rounded": e.roundedBorder }])
|
|
2828
2841
|
}, [
|
|
2829
|
-
d.$slots["table-header"] ? (a(), l("div",
|
|
2842
|
+
d.$slots["table-header"] ? (a(), l("div", Di, [
|
|
2830
2843
|
M(d.$slots, "table-header", {}, void 0, !0)
|
|
2831
2844
|
])) : p("", !0),
|
|
2832
|
-
o("div",
|
|
2845
|
+
o("div", Ai, [
|
|
2833
2846
|
e.image ? (a(), l("img", {
|
|
2834
2847
|
key: 0,
|
|
2835
2848
|
src: e.image,
|
|
2836
2849
|
alt: "",
|
|
2837
2850
|
class: "ds-empty-state__image"
|
|
2838
|
-
}, null, 8,
|
|
2839
|
-
o("p",
|
|
2840
|
-
e.subtitle ? (a(), l("p",
|
|
2851
|
+
}, null, 8, Ri)) : p("", !0),
|
|
2852
|
+
o("p", Ni, v(e.title), 1),
|
|
2853
|
+
e.subtitle ? (a(), l("p", Oi, v(e.subtitle), 1)) : p("", !0),
|
|
2841
2854
|
M(d.$slots, "button", {}, void 0, !0)
|
|
2842
2855
|
])
|
|
2843
2856
|
], 2));
|
|
2844
2857
|
}
|
|
2845
|
-
}),
|
|
2858
|
+
}), Ir = /* @__PURE__ */ z(Bi, [["__scopeId", "data-v-159c48f9"]]), xi = ["aria-label"], Mi = {
|
|
2846
2859
|
key: 0,
|
|
2847
2860
|
class: "ds-paginator__limit-message"
|
|
2848
|
-
},
|
|
2861
|
+
}, Pi = { class: "ds-paginator__pager" }, zi = {
|
|
2849
2862
|
key: 0,
|
|
2850
2863
|
class: "ds-paginator__ellipsis",
|
|
2851
2864
|
"aria-hidden": "true"
|
|
2852
|
-
},
|
|
2865
|
+
}, Ui = ["aria-current", "onClick"], Fi = ["aria-label", "value"], Vi = ["value"], qi = "…l", Gi = "…r", Hi = /* @__PURE__ */ P({
|
|
2853
2866
|
__name: "DsPaginator",
|
|
2854
2867
|
props: {
|
|
2855
2868
|
total: { type: Number, required: !0 },
|
|
@@ -2873,11 +2886,11 @@ const tn = ["title"], an = { class: "ds-contact-value__marquee" }, ln = { class:
|
|
|
2873
2886
|
if (u <= 7)
|
|
2874
2887
|
return Array.from({ length: u }, (g, S) => S + 1);
|
|
2875
2888
|
const k = t.currentPage, y = [1];
|
|
2876
|
-
k > 4 && y.push(
|
|
2889
|
+
k > 4 && y.push(qi);
|
|
2877
2890
|
const b = Math.max(2, k - 2), L = Math.min(u - 1, k + 2);
|
|
2878
2891
|
for (let g = b; g <= L; g++)
|
|
2879
2892
|
y.push(g);
|
|
2880
|
-
return k < u - 3 && y.push(
|
|
2893
|
+
return k < u - 3 && y.push(Gi), y.push(u), y;
|
|
2881
2894
|
});
|
|
2882
2895
|
function r(u) {
|
|
2883
2896
|
u < 1 || u > n.value || i($t, u);
|
|
@@ -2890,8 +2903,8 @@ const tn = ["title"], an = { class: "ds-contact-value__marquee" }, ln = { class:
|
|
|
2890
2903
|
class: "ds-paginator",
|
|
2891
2904
|
"aria-label": e.paginationLabel || void 0
|
|
2892
2905
|
}, [
|
|
2893
|
-
e.limitMessage ? (a(), l("span",
|
|
2894
|
-
o("div",
|
|
2906
|
+
e.limitMessage ? (a(), l("span", Mi, v(e.limitMessage), 1)) : p("", !0),
|
|
2907
|
+
o("div", Pi, [
|
|
2895
2908
|
q(m(oe), {
|
|
2896
2909
|
variant: "tertiary",
|
|
2897
2910
|
circle: "",
|
|
@@ -2902,13 +2915,13 @@ const tn = ["title"], an = { class: "ds-contact-value__marquee" }, ln = { class:
|
|
|
2902
2915
|
onClick: k[0] || (k[0] = (y) => r(e.currentPage - 1))
|
|
2903
2916
|
}, null, 8, ["aria-label", "disabled"]),
|
|
2904
2917
|
(a(!0), l(K, null, le(s.value, (y) => (a(), l(K, { key: y }, [
|
|
2905
|
-
typeof y == "string" ? (a(), l("span",
|
|
2918
|
+
typeof y == "string" ? (a(), l("span", zi, "…")) : (a(), l("button", {
|
|
2906
2919
|
key: 1,
|
|
2907
2920
|
type: "button",
|
|
2908
2921
|
class: D(["ds-paginator__page", { "is-active": y === e.currentPage }]),
|
|
2909
2922
|
"aria-current": y === e.currentPage ? "page" : void 0,
|
|
2910
2923
|
onClick: (b) => r(y)
|
|
2911
|
-
}, v(y), 11,
|
|
2924
|
+
}, v(y), 11, Ui))
|
|
2912
2925
|
], 64))), 128)),
|
|
2913
2926
|
q(m(oe), {
|
|
2914
2927
|
variant: "tertiary",
|
|
@@ -2929,17 +2942,17 @@ const tn = ["title"], an = { class: "ds-contact-value__marquee" }, ln = { class:
|
|
|
2929
2942
|
(a(!0), l(K, null, le(e.pageSizes, (y) => (a(), l("option", {
|
|
2930
2943
|
key: y,
|
|
2931
2944
|
value: y
|
|
2932
|
-
}, v(y) + v(e.pageSizeSuffix), 9,
|
|
2933
|
-
], 40,
|
|
2934
|
-
], 8,
|
|
2945
|
+
}, v(y) + v(e.pageSizeSuffix), 9, Vi))), 128))
|
|
2946
|
+
], 40, Fi)
|
|
2947
|
+
], 8, xi));
|
|
2935
2948
|
}
|
|
2936
|
-
}),
|
|
2949
|
+
}), Dr = /* @__PURE__ */ z(Hi, [["__scopeId", "data-v-a42e7bb4"]]), Ki = ["aria-current", "title"], Wi = {
|
|
2937
2950
|
class: "ds-menu-item__icon material-symbols-filled",
|
|
2938
2951
|
"aria-hidden": "true"
|
|
2939
|
-
},
|
|
2952
|
+
}, Yi = {
|
|
2940
2953
|
key: 0,
|
|
2941
2954
|
class: "ds-menu-item__label"
|
|
2942
|
-
},
|
|
2955
|
+
}, ji = /* @__PURE__ */ P({
|
|
2943
2956
|
__name: "DsMenuItem",
|
|
2944
2957
|
props: {
|
|
2945
2958
|
// Material Symbols ligature name (rendered via <i class="material-symbols-filled">).
|
|
@@ -2964,15 +2977,15 @@ const tn = ["title"], an = { class: "ds-contact-value__marquee" }, ln = { class:
|
|
|
2964
2977
|
title: e.text || void 0,
|
|
2965
2978
|
onClick: i
|
|
2966
2979
|
}, [
|
|
2967
|
-
o("i",
|
|
2968
|
-
e.text || n.$slots.default ? (a(), l("span",
|
|
2980
|
+
o("i", Wi, v(e.icon), 1),
|
|
2981
|
+
e.text || n.$slots.default ? (a(), l("span", Yi, [
|
|
2969
2982
|
M(n.$slots, "default", {}, () => [
|
|
2970
2983
|
te(v(e.text), 1)
|
|
2971
2984
|
], !0)
|
|
2972
2985
|
])) : p("", !0)
|
|
2973
|
-
], 10,
|
|
2986
|
+
], 10, Ki));
|
|
2974
2987
|
}
|
|
2975
|
-
}),
|
|
2988
|
+
}), Ar = /* @__PURE__ */ z(ji, [["__scopeId", "data-v-374c4426"]]), De = {
|
|
2976
2989
|
ACTIVE: "active",
|
|
2977
2990
|
// current step — accent-tint chip, filled marker
|
|
2978
2991
|
COMPLETED: "completed",
|
|
@@ -2981,10 +2994,10 @@ const tn = ["title"], an = { class: "ds-contact-value__marquee" }, ln = { class:
|
|
|
2981
2994
|
// visited but unfinished — red "!" chip
|
|
2982
2995
|
NEUTRAL: "neutral"
|
|
2983
2996
|
// upcoming — outlined marker
|
|
2984
|
-
},
|
|
2997
|
+
}, Xi = { class: "ds-wizard-stepper" }, Zi = { class: "ds-wizard-stepper__steps" }, Qi = {
|
|
2985
2998
|
class: "ds-wizard-step__marker",
|
|
2986
2999
|
"aria-hidden": "true"
|
|
2987
|
-
},
|
|
3000
|
+
}, Ji = { class: "ds-wizard-step__label" }, es = /* @__PURE__ */ P({
|
|
2988
3001
|
__name: "DsWizardStepper",
|
|
2989
3002
|
props: {
|
|
2990
3003
|
steps: { type: Array, default: () => [] },
|
|
@@ -3022,21 +3035,21 @@ const tn = ["title"], an = { class: "ds-contact-value__marquee" }, ln = { class:
|
|
|
3022
3035
|
function u() {
|
|
3023
3036
|
i(Lt);
|
|
3024
3037
|
}
|
|
3025
|
-
return (k, y) => (a(), l("div",
|
|
3026
|
-
o("ol",
|
|
3038
|
+
return (k, y) => (a(), l("div", Xi, [
|
|
3039
|
+
o("ol", Zi, [
|
|
3027
3040
|
(a(!0), l(K, null, le(s.value, (b) => (a(), l("li", {
|
|
3028
3041
|
key: b.key,
|
|
3029
3042
|
class: "ds-wizard-stepper__item"
|
|
3030
3043
|
}, [
|
|
3031
|
-
(a(), W(
|
|
3044
|
+
(a(), W(Ht(e.clickable ? "button" : "div"), {
|
|
3032
3045
|
type: e.clickable ? "button" : void 0,
|
|
3033
3046
|
class: D(["ds-wizard-step", [`ds-wizard-step--${b.state}`, { "is-clickable": e.clickable }]]),
|
|
3034
3047
|
"aria-current": b.current ? "step" : void 0,
|
|
3035
3048
|
onClick: (L) => r(b.index)
|
|
3036
3049
|
}, {
|
|
3037
3050
|
default: x(() => [
|
|
3038
|
-
o("span",
|
|
3039
|
-
o("span",
|
|
3051
|
+
o("span", Qi, v(b.marker), 1),
|
|
3052
|
+
o("span", Ji, v(b.label), 1)
|
|
3040
3053
|
]),
|
|
3041
3054
|
_: 2
|
|
3042
3055
|
}, 1032, ["type", "class", "aria-current", "onClick"]))
|
|
@@ -3067,24 +3080,24 @@ const tn = ["title"], an = { class: "ds-contact-value__marquee" }, ln = { class:
|
|
|
3067
3080
|
})) : p("", !0)
|
|
3068
3081
|
]));
|
|
3069
3082
|
}
|
|
3070
|
-
}),
|
|
3083
|
+
}), Rr = /* @__PURE__ */ z(es, [["__scopeId", "data-v-d6f1e6d7"]]), Ft = {
|
|
3071
3084
|
/** Right-to-left: panel pinned to the right edge, ring on its left border. */
|
|
3072
3085
|
RTL: "rtl",
|
|
3073
3086
|
/** Left-to-right: panel pinned to the left edge, ring on its right border. */
|
|
3074
3087
|
LTR: "ltr"
|
|
3075
|
-
},
|
|
3088
|
+
}, ts = ["aria-modal", "aria-labelledby", "aria-label"], as = {
|
|
3076
3089
|
key: 1,
|
|
3077
3090
|
class: "ds-drawer__header"
|
|
3078
|
-
},
|
|
3091
|
+
}, ls = ["id"], ns = {
|
|
3079
3092
|
key: 0,
|
|
3080
3093
|
class: "ds-drawer__controls"
|
|
3081
|
-
},
|
|
3094
|
+
}, is = {
|
|
3082
3095
|
key: 0,
|
|
3083
3096
|
class: "ds-drawer__actions"
|
|
3084
|
-
},
|
|
3097
|
+
}, ss = ["aria-label"], os = { class: "ds-drawer__body" }, ds = {
|
|
3085
3098
|
key: 2,
|
|
3086
3099
|
class: "ds-drawer__footer"
|
|
3087
|
-
},
|
|
3100
|
+
}, rs = /* @__PURE__ */ P({
|
|
3088
3101
|
__name: "DsDrawer",
|
|
3089
3102
|
props: {
|
|
3090
3103
|
open: Boolean,
|
|
@@ -3095,7 +3108,7 @@ const tn = ["title"], an = { class: "ds-contact-value__marquee" }, ln = { class:
|
|
|
3095
3108
|
closeLabel: { type: String, default: "Close" },
|
|
3096
3109
|
direction: {
|
|
3097
3110
|
type: String,
|
|
3098
|
-
default:
|
|
3111
|
+
default: Ft.RTL
|
|
3099
3112
|
},
|
|
3100
3113
|
// Width in px (a number, not a CSS length): the drag math and the min/max bounds
|
|
3101
3114
|
// are numeric, and the consumer's stored width is a number too.
|
|
@@ -3137,7 +3150,7 @@ const tn = ["title"], an = { class: "ds-contact-value__marquee" }, ln = { class:
|
|
|
3137
3150
|
const $ = R(!1);
|
|
3138
3151
|
let _ = 0, f = 0;
|
|
3139
3152
|
function I(w) {
|
|
3140
|
-
const C = w.clientX - _, T = t.direction ===
|
|
3153
|
+
const C = w.clientX - _, T = t.direction === Ft.RTL ? f - C : f + C;
|
|
3141
3154
|
return k(T);
|
|
3142
3155
|
}
|
|
3143
3156
|
function O(w) {
|
|
@@ -3220,15 +3233,15 @@ const tn = ["title"], an = { class: "ds-contact-value__marquee" }, ln = { class:
|
|
|
3220
3233
|
"aria-hidden": "true",
|
|
3221
3234
|
onPointerdown: Se(O, ["stop", "prevent"])
|
|
3222
3235
|
}, null, 32)) : p("", !0),
|
|
3223
|
-
e.title || e.showClose || w.$slots.header || w.$slots.actions ? (a(), l("header",
|
|
3236
|
+
e.title || e.showClose || w.$slots.header || w.$slots.actions ? (a(), l("header", as, [
|
|
3224
3237
|
M(w.$slots, "header", {}, () => [
|
|
3225
3238
|
o("h4", {
|
|
3226
3239
|
id: m(c),
|
|
3227
3240
|
class: "ds-drawer__title"
|
|
3228
|
-
}, v(e.title), 9,
|
|
3241
|
+
}, v(e.title), 9, ls)
|
|
3229
3242
|
], !0),
|
|
3230
|
-
e.showClose || w.$slots.actions ? (a(), l("div",
|
|
3231
|
-
w.$slots.actions ? (a(), l("div",
|
|
3243
|
+
e.showClose || w.$slots.actions ? (a(), l("div", ns, [
|
|
3244
|
+
w.$slots.actions ? (a(), l("div", is, [
|
|
3232
3245
|
M(w.$slots, "actions", {}, void 0, !0)
|
|
3233
3246
|
])) : p("", !0),
|
|
3234
3247
|
e.showClose ? (a(), l("button", {
|
|
@@ -3242,23 +3255,23 @@ const tn = ["title"], an = { class: "ds-contact-value__marquee" }, ln = { class:
|
|
|
3242
3255
|
class: "material-symbols-filled",
|
|
3243
3256
|
"aria-hidden": "true"
|
|
3244
3257
|
}, "close", -1)
|
|
3245
|
-
])], 8,
|
|
3258
|
+
])], 8, ss)) : p("", !0)
|
|
3246
3259
|
])) : p("", !0)
|
|
3247
3260
|
])) : p("", !0),
|
|
3248
|
-
o("div",
|
|
3261
|
+
o("div", os, [
|
|
3249
3262
|
M(w.$slots, "default", {}, void 0, !0)
|
|
3250
3263
|
]),
|
|
3251
|
-
w.$slots.footer ? (a(), l("footer",
|
|
3264
|
+
w.$slots.footer ? (a(), l("footer", ds, [
|
|
3252
3265
|
M(w.$slots, "footer", {}, void 0, !0)
|
|
3253
3266
|
])) : p("", !0)
|
|
3254
|
-
], 12,
|
|
3267
|
+
], 12, ts)
|
|
3255
3268
|
], 2)) : p("", !0)
|
|
3256
3269
|
]),
|
|
3257
3270
|
_: 3
|
|
3258
3271
|
}, 8, ["name"])
|
|
3259
3272
|
], 8, ["disabled"]));
|
|
3260
3273
|
}
|
|
3261
|
-
}),
|
|
3274
|
+
}), Nr = /* @__PURE__ */ z(rs, [["__scopeId", "data-v-17dff7c2"]]), ze = {
|
|
3262
3275
|
TOP: "top",
|
|
3263
3276
|
TOP_START: "top-start",
|
|
3264
3277
|
TOP_END: "top-end",
|
|
@@ -3273,7 +3286,7 @@ const tn = ["title"], an = { class: "ds-contact-value__marquee" }, ln = { class:
|
|
|
3273
3286
|
RIGHT_END: "right-end",
|
|
3274
3287
|
OVER_START: "over-start",
|
|
3275
3288
|
OVER_END: "over-end"
|
|
3276
|
-
},
|
|
3289
|
+
}, Vt = /* @__PURE__ */ Symbol("ds-popover-layer"), cs = 2002, us = ["id"], fs = ["id"], vs = 6, ms = /* @__PURE__ */ P({
|
|
3277
3290
|
__name: "DsPopover",
|
|
3278
3291
|
props: {
|
|
3279
3292
|
open: Boolean,
|
|
@@ -3315,17 +3328,17 @@ const tn = ["title"], an = { class: "ds-contact-value__marquee" }, ln = { class:
|
|
|
3315
3328
|
var w, C;
|
|
3316
3329
|
return !!((w = n.value) != null && w.contains(N)) || !!((C = s.value) != null && C.contains(N)) || [...r].some((T) => T(N));
|
|
3317
3330
|
}
|
|
3318
|
-
|
|
3331
|
+
ba(Vt, {
|
|
3319
3332
|
register(N) {
|
|
3320
3333
|
return r.add(N), () => r.delete(N);
|
|
3321
3334
|
}
|
|
3322
3335
|
});
|
|
3323
|
-
const k = (E =
|
|
3336
|
+
const k = (E = ya(Vt, null)) == null ? void 0 : E.register(c), y = me(), {
|
|
3324
3337
|
shiftStyle: b,
|
|
3325
3338
|
resolvedPlacement: L,
|
|
3326
3339
|
activate: g,
|
|
3327
3340
|
deactivate: S
|
|
3328
|
-
} =
|
|
3341
|
+
} = Qt(s, () => t.placement, { trigger: n, gap: vs }), $ = h(() => {
|
|
3329
3342
|
const w = {
|
|
3330
3343
|
...!!t.growTo ? {
|
|
3331
3344
|
width: "max-content",
|
|
@@ -3340,8 +3353,8 @@ const tn = ["title"], an = { class: "ds-contact-value__marquee" }, ln = { class:
|
|
|
3340
3353
|
anchorStyle: _,
|
|
3341
3354
|
track: f,
|
|
3342
3355
|
untrack: I
|
|
3343
|
-
} =
|
|
3344
|
-
zIndex:
|
|
3356
|
+
} = Zt(n, { onTriggerHidden: H }), O = h(() => ({
|
|
3357
|
+
zIndex: cs,
|
|
3345
3358
|
..._.value
|
|
3346
3359
|
}));
|
|
3347
3360
|
let B = null;
|
|
@@ -3404,7 +3417,7 @@ const tn = ["title"], an = { class: "ds-contact-value__marquee" }, ln = { class:
|
|
|
3404
3417
|
style: j($.value)
|
|
3405
3418
|
}, [
|
|
3406
3419
|
M(N.$slots, "default", {}, void 0, !0)
|
|
3407
|
-
], 14,
|
|
3420
|
+
], 14, us)
|
|
3408
3421
|
], 36)) : p("", !0)
|
|
3409
3422
|
]),
|
|
3410
3423
|
_: 3
|
|
@@ -3425,17 +3438,17 @@ const tn = ["title"], an = { class: "ds-contact-value__marquee" }, ln = { class:
|
|
|
3425
3438
|
style: j($.value)
|
|
3426
3439
|
}, [
|
|
3427
3440
|
M(N.$slots, "default", {}, void 0, !0)
|
|
3428
|
-
], 14,
|
|
3441
|
+
], 14, fs)) : p("", !0)
|
|
3429
3442
|
]),
|
|
3430
3443
|
_: 3
|
|
3431
3444
|
}))
|
|
3432
3445
|
], 34));
|
|
3433
3446
|
}
|
|
3434
|
-
}), Fe = /* @__PURE__ */ z(
|
|
3435
|
-
function
|
|
3447
|
+
}), Fe = /* @__PURE__ */ z(ms, [["__scopeId", "data-v-e70bc7e7"]]), bs = '[role="menuitem"]:not(:disabled):not([aria-disabled="true"])';
|
|
3448
|
+
function ta(e, d) {
|
|
3436
3449
|
const t = () => {
|
|
3437
3450
|
var s, r;
|
|
3438
|
-
return [...(r = (s = e.value) == null ? void 0 : s.querySelectorAll(
|
|
3451
|
+
return [...(r = (s = e.value) == null ? void 0 : s.querySelectorAll(bs)) != null ? r : []];
|
|
3439
3452
|
};
|
|
3440
3453
|
function i() {
|
|
3441
3454
|
return ne(() => {
|
|
@@ -3462,14 +3475,14 @@ function ea(e, d) {
|
|
|
3462
3475
|
}
|
|
3463
3476
|
return { focusFirst: i, onKeydown: n };
|
|
3464
3477
|
}
|
|
3465
|
-
const
|
|
3478
|
+
const qt = {
|
|
3466
3479
|
REGULAR: "regular",
|
|
3467
3480
|
BOLD: "bold"
|
|
3468
|
-
},
|
|
3481
|
+
}, ys = ["onKeydown"], gs = ["aria-label"], hs = ["disabled", "onClick"], ps = {
|
|
3469
3482
|
key: 0,
|
|
3470
3483
|
class: "material-symbols-filled ds-action-menu__icon",
|
|
3471
3484
|
"aria-hidden": "true"
|
|
3472
|
-
},
|
|
3485
|
+
}, ks = { class: "ds-action-menu__label" }, Ss = /* @__PURE__ */ P({
|
|
3473
3486
|
__name: "DsActionMenu",
|
|
3474
3487
|
props: {
|
|
3475
3488
|
items: { type: Array, required: !0 },
|
|
@@ -3482,7 +3495,7 @@ const Vt = {
|
|
|
3482
3495
|
teleported: { type: Boolean, default: !1 },
|
|
3483
3496
|
weight: {
|
|
3484
3497
|
type: String,
|
|
3485
|
-
default:
|
|
3498
|
+
default: qt.REGULAR
|
|
3486
3499
|
},
|
|
3487
3500
|
menuLabel: { type: String, default: "" }
|
|
3488
3501
|
},
|
|
@@ -3512,7 +3525,7 @@ const Vt = {
|
|
|
3512
3525
|
function L($) {
|
|
3513
3526
|
$.disabled || (b(), i(Je, $.id));
|
|
3514
3527
|
}
|
|
3515
|
-
const { focusFirst: g, onKeydown: S } =
|
|
3528
|
+
const { focusFirst: g, onKeydown: S } = ta(r, {
|
|
3516
3529
|
onClose: b
|
|
3517
3530
|
});
|
|
3518
3531
|
return Q(
|
|
@@ -3537,13 +3550,13 @@ const Vt = {
|
|
|
3537
3550
|
onKeydown: Ge(Se(k, ["prevent"]), ["down"])
|
|
3538
3551
|
}, [
|
|
3539
3552
|
M($.$slots, "trigger", { open: c.value }, void 0, !0)
|
|
3540
|
-
], 40,
|
|
3553
|
+
], 40, ys)
|
|
3541
3554
|
]),
|
|
3542
3555
|
default: x(() => [
|
|
3543
3556
|
o("div", {
|
|
3544
3557
|
ref_key: "menuRef",
|
|
3545
3558
|
ref: r,
|
|
3546
|
-
class: D(["ds-action-menu__menu", { "ds-action-menu__menu--bold": e.weight === m(
|
|
3559
|
+
class: D(["ds-action-menu__menu", { "ds-action-menu__menu--bold": e.weight === m(qt).BOLD }]),
|
|
3547
3560
|
role: "menu",
|
|
3548
3561
|
"aria-label": e.menuLabel || void 0,
|
|
3549
3562
|
onKeydown: _[0] || (_[0] = //@ts-ignore
|
|
@@ -3558,19 +3571,19 @@ const Vt = {
|
|
|
3558
3571
|
disabled: f.disabled,
|
|
3559
3572
|
onClick: (I) => L(f)
|
|
3560
3573
|
}, [
|
|
3561
|
-
f.icon ? (a(), l("i",
|
|
3562
|
-
o("span",
|
|
3563
|
-
], 10,
|
|
3564
|
-
], 42,
|
|
3574
|
+
f.icon ? (a(), l("i", ps, v(f.icon), 1)) : p("", !0),
|
|
3575
|
+
o("span", ks, v(f.label), 1)
|
|
3576
|
+
], 10, hs))), 128))
|
|
3577
|
+
], 42, gs)
|
|
3565
3578
|
]),
|
|
3566
3579
|
_: 3
|
|
3567
3580
|
}, 8, ["open", "placement", "teleported"]));
|
|
3568
3581
|
}
|
|
3569
|
-
}),
|
|
3582
|
+
}), Or = /* @__PURE__ */ z(Ss, [["__scopeId", "data-v-a4d511fd"]]), $s = ["src"], _s = {
|
|
3570
3583
|
key: 1,
|
|
3571
3584
|
class: "ds-company-logo__initial",
|
|
3572
3585
|
"aria-hidden": "true"
|
|
3573
|
-
},
|
|
3586
|
+
}, Ls = /* @__PURE__ */ P({
|
|
3574
3587
|
__name: "DsCompanyLogo",
|
|
3575
3588
|
props: {
|
|
3576
3589
|
src: { type: String, default: "" },
|
|
@@ -3599,16 +3612,16 @@ const Vt = {
|
|
|
3599
3612
|
loading: "lazy",
|
|
3600
3613
|
style: j(s.value),
|
|
3601
3614
|
onError: c[0] || (c[0] = (u) => t.value = !0)
|
|
3602
|
-
}, null, 44,
|
|
3615
|
+
}, null, 44, $s)) : (a(), l("span", _s, v(i.value), 1))
|
|
3603
3616
|
], 4));
|
|
3604
3617
|
}
|
|
3605
|
-
}),
|
|
3618
|
+
}), aa = /* @__PURE__ */ z(Ls, [["__scopeId", "data-v-541b2e2e"]]), ws = { class: "ds-company-card" }, Es = { class: "ds-company-card__header" }, Ts = { class: "ds-company-card__name" }, Cs = ["href", "aria-label"], Is = ["href", "aria-label"], Ds = {
|
|
3606
3619
|
class: "material-symbols-filled ds-company-card__row-icon",
|
|
3607
3620
|
"aria-hidden": "true"
|
|
3608
|
-
},
|
|
3621
|
+
}, As = { class: "ds-company-card__row-text" }, Rs = { class: "ds-company-card__row-label" }, Ns = ["href"], Os = {
|
|
3609
3622
|
key: 1,
|
|
3610
3623
|
class: "ds-company-card__row-value"
|
|
3611
|
-
},
|
|
3624
|
+
}, Bs = /* @__PURE__ */ P({
|
|
3612
3625
|
__name: "DsCompanyCard",
|
|
3613
3626
|
props: {
|
|
3614
3627
|
name: { type: String, required: !0 },
|
|
@@ -3621,14 +3634,14 @@ const Vt = {
|
|
|
3621
3634
|
},
|
|
3622
3635
|
setup(e) {
|
|
3623
3636
|
const d = e, t = h(() => d.details.filter((i) => i.value));
|
|
3624
|
-
return (i, n) => (a(), l("div",
|
|
3625
|
-
o("div",
|
|
3626
|
-
q(
|
|
3637
|
+
return (i, n) => (a(), l("div", ws, [
|
|
3638
|
+
o("div", Es, [
|
|
3639
|
+
q(aa, {
|
|
3627
3640
|
src: e.logo,
|
|
3628
3641
|
name: e.name,
|
|
3629
3642
|
size: 34
|
|
3630
3643
|
}, null, 8, ["src", "name"]),
|
|
3631
|
-
o("span",
|
|
3644
|
+
o("span", Ts, v(e.name), 1),
|
|
3632
3645
|
e.websiteUrl ? (a(), W(ge, {
|
|
3633
3646
|
key: 0,
|
|
3634
3647
|
content: e.websiteLabel,
|
|
@@ -3646,7 +3659,7 @@ const Vt = {
|
|
|
3646
3659
|
class: "material-symbols-filled",
|
|
3647
3660
|
"aria-hidden": "true"
|
|
3648
3661
|
}, "language", -1)
|
|
3649
|
-
])], 8,
|
|
3662
|
+
])], 8, Cs)
|
|
3650
3663
|
]),
|
|
3651
3664
|
_: 1
|
|
3652
3665
|
}, 8, ["content", "placement"])) : p("", !0),
|
|
@@ -3657,27 +3670,27 @@ const Vt = {
|
|
|
3657
3670
|
target: "_blank",
|
|
3658
3671
|
rel: "noopener noreferrer",
|
|
3659
3672
|
"aria-label": e.linkedinLabel || void 0
|
|
3660
|
-
}, "in", 8,
|
|
3673
|
+
}, "in", 8, Is)) : p("", !0)
|
|
3661
3674
|
]),
|
|
3662
3675
|
(a(!0), l(K, null, le(t.value, (s) => (a(), l("div", {
|
|
3663
3676
|
key: s.id,
|
|
3664
3677
|
class: "ds-company-card__row"
|
|
3665
3678
|
}, [
|
|
3666
|
-
o("i",
|
|
3667
|
-
o("div",
|
|
3668
|
-
o("div",
|
|
3679
|
+
o("i", Ds, v(s.icon), 1),
|
|
3680
|
+
o("div", As, [
|
|
3681
|
+
o("div", Rs, v(s.label), 1),
|
|
3669
3682
|
s.href ? (a(), l("a", {
|
|
3670
3683
|
key: 0,
|
|
3671
3684
|
class: "ds-company-card__row-value is-link",
|
|
3672
3685
|
href: s.href,
|
|
3673
3686
|
target: "_blank",
|
|
3674
3687
|
rel: "noopener noreferrer"
|
|
3675
|
-
}, v(s.value), 9,
|
|
3688
|
+
}, v(s.value), 9, Ns)) : (a(), l("div", Os, v(s.value), 1))
|
|
3676
3689
|
])
|
|
3677
3690
|
]))), 128))
|
|
3678
3691
|
]));
|
|
3679
3692
|
}
|
|
3680
|
-
}),
|
|
3693
|
+
}), Br = /* @__PURE__ */ z(Bs, [["__scopeId", "data-v-4d21b7ea"]]), We = {
|
|
3681
3694
|
EMAIL: "email",
|
|
3682
3695
|
PHONE: "phone"
|
|
3683
3696
|
}, Me = {
|
|
@@ -3686,21 +3699,21 @@ const Vt = {
|
|
|
3686
3699
|
MOBILE: "mobile",
|
|
3687
3700
|
HQ: "hq",
|
|
3688
3701
|
OTHER: "other"
|
|
3689
|
-
},
|
|
3702
|
+
}, xs = {
|
|
3690
3703
|
[Me.WORK]: "business_center",
|
|
3691
3704
|
[Me.DIRECT]: "mail",
|
|
3692
3705
|
[Me.MOBILE]: "call",
|
|
3693
3706
|
[Me.HQ]: "corporate_fare",
|
|
3694
3707
|
[Me.OTHER]: "alternate_email"
|
|
3695
3708
|
};
|
|
3696
|
-
function
|
|
3697
|
-
return e === Me.DIRECT && d === We.PHONE ? "call" :
|
|
3709
|
+
function la(e, d) {
|
|
3710
|
+
return e === Me.DIRECT && d === We.PHONE ? "call" : xs[e];
|
|
3698
3711
|
}
|
|
3699
3712
|
const ft = ["*", "•", "."];
|
|
3700
|
-
function
|
|
3713
|
+
function Ms(e) {
|
|
3701
3714
|
return e > 1 ? e - 1 : 0;
|
|
3702
3715
|
}
|
|
3703
|
-
function
|
|
3716
|
+
function Ps(e, d, t) {
|
|
3704
3717
|
const i = e[e.length - 1];
|
|
3705
3718
|
if (i && i.masked === t) {
|
|
3706
3719
|
i.text += d;
|
|
@@ -3708,7 +3721,7 @@ function Ms(e, d, t) {
|
|
|
3708
3721
|
}
|
|
3709
3722
|
e.push({ text: d, masked: t });
|
|
3710
3723
|
}
|
|
3711
|
-
function
|
|
3724
|
+
function zs(e, d) {
|
|
3712
3725
|
if (!e) return [];
|
|
3713
3726
|
if (d === We.EMAIL) {
|
|
3714
3727
|
const s = e.indexOf("@");
|
|
@@ -3730,13 +3743,13 @@ function Ps(e, d) {
|
|
|
3730
3743
|
return t.forEach((s, r) => {
|
|
3731
3744
|
var u, k;
|
|
3732
3745
|
let c = s.text;
|
|
3733
|
-
s.masked || ((u = t[r - 1]) != null && u.masked && (c = c.replace(/^-/, " ")), (k = t[r + 1]) != null && k.masked && (c = c.replace(/-$/, " "))),
|
|
3746
|
+
s.masked || ((u = t[r - 1]) != null && u.masked && (c = c.replace(/^-/, " ")), (k = t[r + 1]) != null && k.masked && (c = c.replace(/-$/, " "))), Ps(n, c, s.masked);
|
|
3734
3747
|
}), n;
|
|
3735
3748
|
}
|
|
3736
|
-
const
|
|
3749
|
+
const Us = ["title"], Fs = { "aria-hidden": "true" }, Vs = {
|
|
3737
3750
|
key: 0,
|
|
3738
3751
|
class: "ds-masked-value__sr"
|
|
3739
|
-
},
|
|
3752
|
+
}, qs = 5, Gs = "•", Hs = /* @__PURE__ */ P({
|
|
3740
3753
|
__name: "DsMaskedValue",
|
|
3741
3754
|
props: {
|
|
3742
3755
|
value: { type: String, required: !0 },
|
|
@@ -3748,12 +3761,12 @@ const zs = ["title"], Us = { "aria-hidden": "true" }, Fs = {
|
|
|
3748
3761
|
setup(e) {
|
|
3749
3762
|
const d = e;
|
|
3750
3763
|
function t(s) {
|
|
3751
|
-
return !s.masked || ![...s.text].every((r) => ft.includes(r)) ? "" :
|
|
3752
|
-
d.kind === We.EMAIL ?
|
|
3764
|
+
return !s.masked || ![...s.text].every((r) => ft.includes(r)) ? "" : Gs.repeat(
|
|
3765
|
+
d.kind === We.EMAIL ? qs : s.text.length
|
|
3753
3766
|
);
|
|
3754
3767
|
}
|
|
3755
3768
|
const i = h(
|
|
3756
|
-
() => d.masked ?
|
|
3769
|
+
() => d.masked ? zs(d.value, d.kind).map((s) => ({
|
|
3757
3770
|
...s,
|
|
3758
3771
|
circles: t(s)
|
|
3759
3772
|
})) : []
|
|
@@ -3767,17 +3780,17 @@ const zs = ["title"], Us = { "aria-hidden": "true" }, Fs = {
|
|
|
3767
3780
|
class: D(c.masked ? "ds-masked-value__mask" : "ds-masked-value__clear")
|
|
3768
3781
|
}, [
|
|
3769
3782
|
c.circles ? (a(), l(K, { key: 0 }, [
|
|
3770
|
-
o("span",
|
|
3771
|
-
u === n.value ? (a(), l("span",
|
|
3783
|
+
o("span", Fs, v(c.circles), 1),
|
|
3784
|
+
u === n.value ? (a(), l("span", Vs, v(e.maskedLabel), 1)) : p("", !0)
|
|
3772
3785
|
], 64)) : (a(), l(K, { key: 1 }, [
|
|
3773
3786
|
te(v(c.text), 1)
|
|
3774
3787
|
], 64))
|
|
3775
3788
|
], 2))), 128)) : (a(), l(K, { key: 1 }, [
|
|
3776
3789
|
te(v(e.value), 1)
|
|
3777
3790
|
], 64))
|
|
3778
|
-
], 10,
|
|
3791
|
+
], 10, Us));
|
|
3779
3792
|
}
|
|
3780
|
-
}),
|
|
3793
|
+
}), na = /* @__PURE__ */ z(Hs, [["__scopeId", "data-v-f5cdc3db"]]), Ks = ["aria-label", "tabindex"], Ws = /* @__PURE__ */ P({
|
|
3781
3794
|
__name: "DsDeliverabilityBadge",
|
|
3782
3795
|
props: {
|
|
3783
3796
|
label: { type: String, required: !0 },
|
|
@@ -3803,12 +3816,12 @@ const zs = ["title"], Us = { "aria-hidden": "true" }, Fs = {
|
|
|
3803
3816
|
role: "img",
|
|
3804
3817
|
"aria-label": e.tooltip,
|
|
3805
3818
|
tabindex: e.focusable ? 0 : void 0
|
|
3806
|
-
}, v(e.label), 9,
|
|
3819
|
+
}, v(e.label), 9, Ks)
|
|
3807
3820
|
]),
|
|
3808
3821
|
_: 1
|
|
3809
3822
|
}, 8, ["content", "placement"]));
|
|
3810
3823
|
}
|
|
3811
|
-
}),
|
|
3824
|
+
}), ia = /* @__PURE__ */ z(Ws, [["__scopeId", "data-v-a8de9d54"]]), Ys = ["aria-label"], js = /* @__PURE__ */ P({
|
|
3812
3825
|
__name: "DsMoreCountChip",
|
|
3813
3826
|
props: {
|
|
3814
3827
|
overflow: { type: Number, required: !0 },
|
|
@@ -3820,34 +3833,34 @@ const zs = ["title"], Us = { "aria-hidden": "true" }, Fs = {
|
|
|
3820
3833
|
key: 0,
|
|
3821
3834
|
class: D(["ds-more-count-chip", { "is-active": e.active }]),
|
|
3822
3835
|
"aria-label": e.label || void 0
|
|
3823
|
-
}, "+" + v(e.overflow), 11,
|
|
3836
|
+
}, "+" + v(e.overflow), 11, Ys)) : p("", !0);
|
|
3824
3837
|
}
|
|
3825
|
-
}),
|
|
3838
|
+
}), sa = /* @__PURE__ */ z(js, [["__scopeId", "data-v-583db8f3"]]), Xs = { class: "ds-contact-list" }, Zs = {
|
|
3826
3839
|
key: 0,
|
|
3827
3840
|
class: "ds-contact-list__header"
|
|
3828
|
-
},
|
|
3841
|
+
}, Qs = {
|
|
3829
3842
|
key: 0,
|
|
3830
3843
|
class: "ds-contact-list__title"
|
|
3831
|
-
},
|
|
3844
|
+
}, Js = {
|
|
3832
3845
|
key: 1,
|
|
3833
3846
|
class: "ds-contact-list__count"
|
|
3834
|
-
},
|
|
3847
|
+
}, eo = { class: "ds-contact-list__actions" }, to = {
|
|
3835
3848
|
key: 1,
|
|
3836
3849
|
class: "ds-contact-list__empty"
|
|
3837
|
-
},
|
|
3850
|
+
}, ao = {
|
|
3838
3851
|
key: 0,
|
|
3839
3852
|
class: "ds-contact-list__section"
|
|
3840
|
-
},
|
|
3853
|
+
}, lo = ["aria-label"], no = {
|
|
3841
3854
|
key: 0,
|
|
3842
3855
|
class: "material-symbols-filled ds-contact-list__icon",
|
|
3843
3856
|
"aria-hidden": "true"
|
|
3844
|
-
},
|
|
3857
|
+
}, io = { class: "ds-contact-list__value-wrap" }, so = {
|
|
3845
3858
|
key: 1,
|
|
3846
3859
|
class: "ds-contact-list__row-actions"
|
|
3847
|
-
},
|
|
3860
|
+
}, oo = ["aria-label", "title", "onClick"], ro = {
|
|
3848
3861
|
class: "material-symbols-rounded",
|
|
3849
3862
|
"aria-hidden": "true"
|
|
3850
|
-
},
|
|
3863
|
+
}, co = ["aria-label", "aria-pressed", "title", "onClick"], uo = ["aria-label", "aria-pressed", "title", "onClick"], fo = /* @__PURE__ */ P({
|
|
3851
3864
|
__name: "DsContactList",
|
|
3852
3865
|
props: {
|
|
3853
3866
|
items: { type: Array, default: () => [] },
|
|
@@ -3883,7 +3896,7 @@ const zs = ["title"], Us = { "aria-hidden": "true" }, Fs = {
|
|
|
3883
3896
|
function c(g, S) {
|
|
3884
3897
|
var _;
|
|
3885
3898
|
const $ = (_ = g.type) != null ? _ : S.type;
|
|
3886
|
-
return $ ?
|
|
3899
|
+
return $ ? la($, t.kind) : "";
|
|
3887
3900
|
}
|
|
3888
3901
|
function u(g, S, $) {
|
|
3889
3902
|
var _;
|
|
@@ -3891,25 +3904,25 @@ const zs = ["title"], Us = { "aria-hidden": "true" }, Fs = {
|
|
|
3891
3904
|
}
|
|
3892
3905
|
const k = R(null);
|
|
3893
3906
|
let y;
|
|
3894
|
-
const { copy: b } =
|
|
3907
|
+
const { copy: b } = Jt();
|
|
3895
3908
|
async function L(g, S) {
|
|
3896
3909
|
await b(g.value) && (k.value = S, clearTimeout(y), y = setTimeout(() => {
|
|
3897
3910
|
k.value = null;
|
|
3898
3911
|
}, 1200), i(_e, g));
|
|
3899
3912
|
}
|
|
3900
|
-
return de(() => clearTimeout(y)), (g, S) => (a(), l("div",
|
|
3901
|
-
e.title || g.$slots.actions ? (a(), l("div",
|
|
3902
|
-
e.title ? (a(), l("span",
|
|
3903
|
-
e.title ? (a(), l("span",
|
|
3904
|
-
o("span",
|
|
3913
|
+
return de(() => clearTimeout(y)), (g, S) => (a(), l("div", Xs, [
|
|
3914
|
+
e.title || g.$slots.actions ? (a(), l("div", Zs, [
|
|
3915
|
+
e.title ? (a(), l("span", Qs, v(e.title), 1)) : p("", !0),
|
|
3916
|
+
e.title ? (a(), l("span", Js, "(" + v(s.value) + ")", 1)) : p("", !0),
|
|
3917
|
+
o("span", eo, [
|
|
3905
3918
|
M(g.$slots, "actions", {}, void 0, !0)
|
|
3906
3919
|
])
|
|
3907
3920
|
])) : p("", !0),
|
|
3908
|
-
!s.value && e.emptyLabel ? (a(), l("p",
|
|
3921
|
+
!s.value && e.emptyLabel ? (a(), l("p", to, v(e.emptyLabel), 1)) : p("", !0),
|
|
3909
3922
|
(a(!0), l(K, null, le(n.value, ($) => (a(), l(K, {
|
|
3910
3923
|
key: $.key
|
|
3911
3924
|
}, [
|
|
3912
|
-
$.label ? (a(), l("p",
|
|
3925
|
+
$.label ? (a(), l("p", ao, v($.label) + " (" + v($.items.length) + ") ", 1)) : p("", !0),
|
|
3913
3926
|
o("ul", {
|
|
3914
3927
|
class: "ds-contact-list__items",
|
|
3915
3928
|
role: "list",
|
|
@@ -3919,23 +3932,23 @@ const zs = ["title"], Us = { "aria-hidden": "true" }, Fs = {
|
|
|
3919
3932
|
key: u(_, $, f),
|
|
3920
3933
|
class: D(["ds-contact-list__item", { "is-primary": _.primary, "is-masked": _.masked }])
|
|
3921
3934
|
}, [
|
|
3922
|
-
c(_, $) ? (a(), l("i",
|
|
3923
|
-
o("span",
|
|
3924
|
-
q(m(
|
|
3935
|
+
c(_, $) ? (a(), l("i", no, v(c(_, $)), 1)) : p("", !0),
|
|
3936
|
+
o("span", io, [
|
|
3937
|
+
q(m(na), {
|
|
3925
3938
|
class: "ds-contact-list__value",
|
|
3926
3939
|
value: _.value,
|
|
3927
3940
|
kind: e.kind,
|
|
3928
3941
|
masked: _.masked,
|
|
3929
3942
|
"masked-label": e.maskedLabel
|
|
3930
3943
|
}, null, 8, ["value", "kind", "masked", "masked-label"]),
|
|
3931
|
-
r(_) ? (a(), W(m(
|
|
3944
|
+
r(_) ? (a(), W(m(ia), {
|
|
3932
3945
|
key: 0,
|
|
3933
3946
|
label: e.badgeLabel,
|
|
3934
3947
|
tooltip: e.badgeTooltip,
|
|
3935
3948
|
focusable: !1
|
|
3936
3949
|
}, null, 8, ["label", "tooltip"])) : p("", !0)
|
|
3937
3950
|
]),
|
|
3938
|
-
_.masked ? p("", !0) : (a(), l("span",
|
|
3951
|
+
_.masked ? p("", !0) : (a(), l("span", so, [
|
|
3939
3952
|
o("button", {
|
|
3940
3953
|
type: "button",
|
|
3941
3954
|
class: D(["ds-contact-list__action", { "is-copied": k.value === u(_, $, f) }]),
|
|
@@ -3943,8 +3956,8 @@ const zs = ["title"], Us = { "aria-hidden": "true" }, Fs = {
|
|
|
3943
3956
|
title: k.value === u(_, $, f) ? e.copiedLabel : e.copyLabel,
|
|
3944
3957
|
onClick: (I) => L(_, u(_, $, f))
|
|
3945
3958
|
}, [
|
|
3946
|
-
o("i",
|
|
3947
|
-
], 10,
|
|
3959
|
+
o("i", ro, v(k.value === u(_, $, f) ? "check" : "content_copy"), 1)
|
|
3960
|
+
], 10, oo),
|
|
3948
3961
|
e.showRate ? (a(), l(K, { key: 0 }, [
|
|
3949
3962
|
o("button", {
|
|
3950
3963
|
type: "button",
|
|
@@ -3960,7 +3973,7 @@ const zs = ["title"], Us = { "aria-hidden": "true" }, Fs = {
|
|
|
3960
3973
|
),
|
|
3961
3974
|
"aria-hidden": "true"
|
|
3962
3975
|
}, "thumb_up", 2)
|
|
3963
|
-
], 10,
|
|
3976
|
+
], 10, co),
|
|
3964
3977
|
o("button", {
|
|
3965
3978
|
type: "button",
|
|
3966
3979
|
class: D(["ds-contact-list__action", { "is-on": _.rating === !1 }]),
|
|
@@ -3975,22 +3988,22 @@ const zs = ["title"], Us = { "aria-hidden": "true" }, Fs = {
|
|
|
3975
3988
|
),
|
|
3976
3989
|
"aria-hidden": "true"
|
|
3977
3990
|
}, "thumb_down", 2)
|
|
3978
|
-
], 10,
|
|
3991
|
+
], 10, uo)
|
|
3979
3992
|
], 64)) : p("", !0)
|
|
3980
3993
|
]))
|
|
3981
3994
|
], 2))), 128))
|
|
3982
|
-
], 8,
|
|
3995
|
+
], 8, lo)
|
|
3983
3996
|
], 64))), 128))
|
|
3984
3997
|
]));
|
|
3985
3998
|
}
|
|
3986
|
-
}),
|
|
3999
|
+
}), vo = /* @__PURE__ */ z(fo, [["__scopeId", "data-v-d0a272e4"]]), mo = ["aria-haspopup", "aria-expanded"], bo = {
|
|
3987
4000
|
key: 0,
|
|
3988
4001
|
class: "material-symbols-filled ds-contact-cell__icon",
|
|
3989
4002
|
"aria-hidden": "true"
|
|
3990
|
-
},
|
|
4003
|
+
}, yo = { class: "ds-contact-cell__value-wrap" }, go = {
|
|
3991
4004
|
key: 1,
|
|
3992
4005
|
class: "ds-contact-cell__empty"
|
|
3993
|
-
},
|
|
4006
|
+
}, ho = /* @__PURE__ */ P({
|
|
3994
4007
|
__name: "DsContactCell",
|
|
3995
4008
|
props: {
|
|
3996
4009
|
items: { type: Array, required: !0 },
|
|
@@ -4041,7 +4054,7 @@ const zs = ["title"], Us = { "aria-hidden": "true" }, Fs = {
|
|
|
4041
4054
|
return (U = t.items[0]) != null ? U : null;
|
|
4042
4055
|
}), c = h(() => !t.disabled && t.items.length > 0), u = h(() => c.value && n.value), k = h(() => {
|
|
4043
4056
|
var U;
|
|
4044
|
-
return
|
|
4057
|
+
return Ms((U = t.count) != null ? U : t.items.length);
|
|
4045
4058
|
}), y = h(
|
|
4046
4059
|
() => !!r.value && t.kind === We.EMAIL && r.value.valid
|
|
4047
4060
|
), b = h(
|
|
@@ -4049,7 +4062,7 @@ const zs = ["title"], Us = { "aria-hidden": "true" }, Fs = {
|
|
|
4049
4062
|
), L = h(() => !!t.revealLabel && b.value), g = h(() => {
|
|
4050
4063
|
var F;
|
|
4051
4064
|
const U = t.type || ((F = r.value) == null ? void 0 : F.type);
|
|
4052
|
-
return U ?
|
|
4065
|
+
return U ? la(U, t.kind) : "";
|
|
4053
4066
|
});
|
|
4054
4067
|
let S;
|
|
4055
4068
|
function $(U) {
|
|
@@ -4109,32 +4122,32 @@ const zs = ["title"], Us = { "aria-hidden": "true" }, Fs = {
|
|
|
4109
4122
|
onClick: B
|
|
4110
4123
|
}, [
|
|
4111
4124
|
r.value ? (a(), l(K, { key: 0 }, [
|
|
4112
|
-
g.value ? (a(), l("i",
|
|
4113
|
-
o("span",
|
|
4114
|
-
q(m(
|
|
4125
|
+
g.value ? (a(), l("i", bo, v(g.value), 1)) : p("", !0),
|
|
4126
|
+
o("span", yo, [
|
|
4127
|
+
q(m(na), {
|
|
4115
4128
|
class: "ds-contact-cell__value",
|
|
4116
4129
|
value: r.value.value,
|
|
4117
4130
|
kind: e.kind,
|
|
4118
4131
|
masked: r.value.masked,
|
|
4119
4132
|
"masked-label": e.maskedLabel
|
|
4120
4133
|
}, null, 8, ["value", "kind", "masked", "masked-label"]),
|
|
4121
|
-
y.value ? (a(), W(m(
|
|
4134
|
+
y.value ? (a(), W(m(ia), {
|
|
4122
4135
|
key: 0,
|
|
4123
4136
|
label: e.badgeLabel,
|
|
4124
4137
|
tooltip: e.badgeTooltip,
|
|
4125
4138
|
focusable: !1
|
|
4126
4139
|
}, null, 8, ["label", "tooltip"])) : p("", !0)
|
|
4127
4140
|
]),
|
|
4128
|
-
q(m(
|
|
4141
|
+
q(m(sa), {
|
|
4129
4142
|
overflow: k.value,
|
|
4130
4143
|
active: u.value,
|
|
4131
4144
|
label: e.moreLabel
|
|
4132
4145
|
}, null, 8, ["overflow", "active", "label"])
|
|
4133
|
-
], 64)) : (a(), l("span",
|
|
4134
|
-
], 8,
|
|
4146
|
+
], 64)) : (a(), l("span", go, v(e.emptyLabel), 1))
|
|
4147
|
+
], 8, mo)
|
|
4135
4148
|
]),
|
|
4136
4149
|
default: x(() => [
|
|
4137
|
-
q(m(
|
|
4150
|
+
q(m(vo), {
|
|
4138
4151
|
items: e.items,
|
|
4139
4152
|
sections: e.sections,
|
|
4140
4153
|
kind: e.kind,
|
|
@@ -4182,23 +4195,23 @@ const zs = ["title"], Us = { "aria-hidden": "true" }, Fs = {
|
|
|
4182
4195
|
}, 8, ["open", "placement", "offset", "width", "teleported"])
|
|
4183
4196
|
], 34));
|
|
4184
4197
|
}
|
|
4185
|
-
}),
|
|
4198
|
+
}), xr = /* @__PURE__ */ z(ho, [["__scopeId", "data-v-7923ccaf"]]), po = ["aria-labelledby"], ko = { class: "ds-profile-card__header" }, So = {
|
|
4186
4199
|
class: "material-symbols-filled ds-profile-card__icon",
|
|
4187
4200
|
"aria-hidden": "true"
|
|
4188
|
-
},
|
|
4201
|
+
}, $o = ["id"], _o = {
|
|
4189
4202
|
key: 0,
|
|
4190
4203
|
class: "ds-profile-card__count"
|
|
4191
|
-
},
|
|
4204
|
+
}, Lo = {
|
|
4192
4205
|
class: "ds-profile-card__count",
|
|
4193
4206
|
tabindex: "0"
|
|
4194
|
-
},
|
|
4207
|
+
}, wo = {
|
|
4195
4208
|
key: 2,
|
|
4196
4209
|
class: "material-symbols-filled ds-profile-card__caret",
|
|
4197
4210
|
"aria-hidden": "true"
|
|
4198
|
-
},
|
|
4211
|
+
}, Eo = {
|
|
4199
4212
|
key: 0,
|
|
4200
4213
|
class: "ds-profile-card__actions"
|
|
4201
|
-
},
|
|
4214
|
+
}, To = ["id"], Co = /* @__PURE__ */ P({
|
|
4202
4215
|
__name: "DsProfileCard",
|
|
4203
4216
|
props: {
|
|
4204
4217
|
icon: { type: String, required: !0 },
|
|
@@ -4229,34 +4242,34 @@ const zs = ["title"], Us = { "aria-hidden": "true" }, Fs = {
|
|
|
4229
4242
|
class: "ds-profile-card",
|
|
4230
4243
|
"aria-labelledby": m(s)
|
|
4231
4244
|
}, [
|
|
4232
|
-
o("div",
|
|
4233
|
-
(a(), W(
|
|
4245
|
+
o("div", ko, [
|
|
4246
|
+
(a(), W(Ht(e.collapsible ? "button" : "div"), Re({
|
|
4234
4247
|
class: ["ds-profile-card__heading", { "ds-profile-card__toggle": e.collapsible }]
|
|
4235
4248
|
}, y.value, {
|
|
4236
4249
|
onClick: L[0] || (L[0] = (g) => e.collapsible ? u() : void 0)
|
|
4237
4250
|
}), {
|
|
4238
4251
|
default: x(() => [
|
|
4239
|
-
o("i",
|
|
4252
|
+
o("i", So, v(e.icon), 1),
|
|
4240
4253
|
o("span", {
|
|
4241
4254
|
id: m(s),
|
|
4242
4255
|
class: "ds-profile-card__title"
|
|
4243
|
-
}, v(e.title), 9,
|
|
4244
|
-
e.count !== null && !e.countHint ? (a(), l("span",
|
|
4256
|
+
}, v(e.title), 9, $o),
|
|
4257
|
+
e.count !== null && !e.countHint ? (a(), l("span", _o, v(e.count), 1)) : p("", !0),
|
|
4245
4258
|
e.count !== null && e.countHint ? (a(), W(ge, {
|
|
4246
4259
|
key: 1,
|
|
4247
4260
|
content: e.countHint,
|
|
4248
4261
|
placement: m(Te).BOTTOM
|
|
4249
4262
|
}, {
|
|
4250
4263
|
default: x(() => [
|
|
4251
|
-
o("span",
|
|
4264
|
+
o("span", Lo, v(e.count), 1)
|
|
4252
4265
|
]),
|
|
4253
4266
|
_: 1
|
|
4254
4267
|
}, 8, ["content", "placement"])) : p("", !0),
|
|
4255
|
-
e.collapsible ? (a(), l("i",
|
|
4268
|
+
e.collapsible ? (a(), l("i", wo, v(c.value ? "keyboard_arrow_up" : "keyboard_arrow_down"), 1)) : p("", !0)
|
|
4256
4269
|
]),
|
|
4257
4270
|
_: 1
|
|
4258
4271
|
}, 16, ["class"])),
|
|
4259
|
-
b.$slots.actions ? (a(), l("span",
|
|
4272
|
+
b.$slots.actions ? (a(), l("span", Eo, [
|
|
4260
4273
|
M(b.$slots, "actions", {}, void 0, !0)
|
|
4261
4274
|
])) : p("", !0)
|
|
4262
4275
|
]),
|
|
@@ -4266,42 +4279,42 @@ const zs = ["title"], Us = { "aria-hidden": "true" }, Fs = {
|
|
|
4266
4279
|
class: D(["ds-profile-card__body", { "is-padded": e.padded }])
|
|
4267
4280
|
}, [
|
|
4268
4281
|
M(b.$slots, "default", {}, void 0, !0)
|
|
4269
|
-
], 10,
|
|
4270
|
-
], 8,
|
|
4282
|
+
], 10, To)) : p("", !0)
|
|
4283
|
+
], 8, po));
|
|
4271
4284
|
}
|
|
4272
|
-
}),
|
|
4285
|
+
}), Io = /* @__PURE__ */ z(Co, [["__scopeId", "data-v-869a877f"]]), Do = { class: "ds-profile-group-bar" }, Ao = { class: "ds-profile-group-bar__label" }, Ro = {
|
|
4273
4286
|
key: 0,
|
|
4274
4287
|
class: "ds-profile-group-bar__actions"
|
|
4275
|
-
},
|
|
4288
|
+
}, No = /* @__PURE__ */ P({
|
|
4276
4289
|
__name: "DsProfileGroupBar",
|
|
4277
4290
|
props: {
|
|
4278
4291
|
label: { type: String, required: !0 }
|
|
4279
4292
|
},
|
|
4280
4293
|
setup(e) {
|
|
4281
|
-
return (d, t) => (a(), l("div",
|
|
4282
|
-
o("span",
|
|
4283
|
-
d.$slots.actions ? (a(), l("span",
|
|
4294
|
+
return (d, t) => (a(), l("div", Do, [
|
|
4295
|
+
o("span", Ao, v(e.label), 1),
|
|
4296
|
+
d.$slots.actions ? (a(), l("span", Ro, [
|
|
4284
4297
|
M(d.$slots, "actions", {}, void 0, !0)
|
|
4285
4298
|
])) : p("", !0)
|
|
4286
4299
|
]));
|
|
4287
4300
|
}
|
|
4288
|
-
}),
|
|
4301
|
+
}), Mr = /* @__PURE__ */ z(No, [["__scopeId", "data-v-537a9086"]]), qe = {
|
|
4289
4302
|
/** Not known yet: the kind's glyph and a grey bar where the value will be. */
|
|
4290
4303
|
SKELETON: "skeleton",
|
|
4291
4304
|
/** Looked for, none found: the kind's glyph and the label («No emails found»). */
|
|
4292
4305
|
EMPTY: "empty",
|
|
4293
4306
|
/** Being revealed: a spinning glyph and the label («Revealing…»). */
|
|
4294
4307
|
LOADING: "loading"
|
|
4295
|
-
},
|
|
4308
|
+
}, Oo = {
|
|
4296
4309
|
email: "mail",
|
|
4297
4310
|
phone: "call"
|
|
4298
|
-
},
|
|
4311
|
+
}, Bo = ["role"], xo = {
|
|
4299
4312
|
key: 0,
|
|
4300
4313
|
class: "ds-contact-placeholder__sr"
|
|
4301
|
-
},
|
|
4314
|
+
}, Mo = {
|
|
4302
4315
|
key: 1,
|
|
4303
4316
|
class: "ds-contact-placeholder__text"
|
|
4304
|
-
},
|
|
4317
|
+
}, Po = /* @__PURE__ */ P({
|
|
4305
4318
|
__name: "DsContactPlaceholder",
|
|
4306
4319
|
props: {
|
|
4307
4320
|
kind: { type: String, required: !0 },
|
|
@@ -4313,7 +4326,7 @@ const zs = ["title"], Us = { "aria-hidden": "true" }, Fs = {
|
|
|
4313
4326
|
},
|
|
4314
4327
|
setup(e) {
|
|
4315
4328
|
const d = e, t = h(
|
|
4316
|
-
() => d.state === qe.LOADING ? "autorenew" :
|
|
4329
|
+
() => d.state === qe.LOADING ? "autorenew" : Oo[d.kind]
|
|
4317
4330
|
);
|
|
4318
4331
|
return (i, n) => (a(), l("div", {
|
|
4319
4332
|
class: D(["ds-contact-placeholder", `ds-contact-placeholder--${e.state}`]),
|
|
@@ -4328,21 +4341,21 @@ const zs = ["title"], Us = { "aria-hidden": "true" }, Fs = {
|
|
|
4328
4341
|
class: "ds-contact-placeholder__bar",
|
|
4329
4342
|
"aria-hidden": "true"
|
|
4330
4343
|
}, null, -1)),
|
|
4331
|
-
e.label ? (a(), l("span",
|
|
4332
|
-
], 64)) : (a(), l("span",
|
|
4333
|
-
], 10,
|
|
4344
|
+
e.label ? (a(), l("span", xo, v(e.label), 1)) : p("", !0)
|
|
4345
|
+
], 64)) : (a(), l("span", Mo, v(e.label), 1))
|
|
4346
|
+
], 10, Bo));
|
|
4334
4347
|
}
|
|
4335
|
-
}),
|
|
4348
|
+
}), Pr = /* @__PURE__ */ z(Po, [["__scopeId", "data-v-ed85564e"]]), zo = 3, Uo = {
|
|
4336
4349
|
key: 0,
|
|
4337
4350
|
class: "ds-clamped-text"
|
|
4338
|
-
},
|
|
4351
|
+
}, Fo = {
|
|
4339
4352
|
key: 0,
|
|
4340
4353
|
class: "ds-clamped-text__head"
|
|
4341
|
-
},
|
|
4354
|
+
}, Vo = { class: "ds-clamped-text__label" }, qo = ["id"], Go = /* @__PURE__ */ P({
|
|
4342
4355
|
__name: "DsClampedText",
|
|
4343
4356
|
props: {
|
|
4344
4357
|
text: { type: String, required: !0 },
|
|
4345
|
-
lines: { type: Number, default:
|
|
4358
|
+
lines: { type: Number, default: zo },
|
|
4346
4359
|
showMoreLabel: { type: String, default: "" },
|
|
4347
4360
|
showLessLabel: { type: String, default: "" },
|
|
4348
4361
|
label: { type: String, default: "" },
|
|
@@ -4368,10 +4381,10 @@ const zs = ["title"], Us = { "aria-hidden": "true" }, Fs = {
|
|
|
4368
4381
|
n.value = !n.value;
|
|
4369
4382
|
}
|
|
4370
4383
|
}));
|
|
4371
|
-
return (y, b) => e.text ? (a(), l("div",
|
|
4372
|
-
e.label ? (a(), l("div",
|
|
4373
|
-
o("span",
|
|
4374
|
-
c.value ? (a(), l("button",
|
|
4384
|
+
return (y, b) => e.text ? (a(), l("div", Uo, [
|
|
4385
|
+
e.label ? (a(), l("div", Fo, [
|
|
4386
|
+
o("span", Vo, v(e.label), 1),
|
|
4387
|
+
c.value ? (a(), l("button", ga(Re({ key: 0 }, k.value)), v(n.value ? e.showLessLabel : e.showMoreLabel), 17)) : p("", !0)
|
|
4375
4388
|
])) : p("", !0),
|
|
4376
4389
|
o("div", {
|
|
4377
4390
|
id: m(t),
|
|
@@ -4379,23 +4392,23 @@ const zs = ["title"], Us = { "aria-hidden": "true" }, Fs = {
|
|
|
4379
4392
|
ref: i,
|
|
4380
4393
|
class: D(["ds-clamped-text__text", { "is-clamped": !n.value, "is-pre-line": e.preserveLineBreaks }]),
|
|
4381
4394
|
style: j({ "--ds-clamped-text-lines": e.lines })
|
|
4382
|
-
}, v(e.text), 15,
|
|
4395
|
+
}, v(e.text), 15, qo),
|
|
4383
4396
|
!e.label && c.value ? (a(), l("button", Re({ key: 1 }, k.value, { class: "is-below" }), v(n.value ? e.showLessLabel : e.showMoreLabel), 17)) : p("", !0)
|
|
4384
4397
|
])) : p("", !0);
|
|
4385
4398
|
}
|
|
4386
|
-
}),
|
|
4399
|
+
}), Ho = /* @__PURE__ */ z(Go, [["__scopeId", "data-v-1485808d"]]), Ko = {
|
|
4387
4400
|
key: 0,
|
|
4388
4401
|
class: "ds-profile-company-card__empty"
|
|
4389
|
-
},
|
|
4402
|
+
}, Wo = { class: "ds-profile-company-card__empty-text" }, Yo = { class: "ds-profile-company-card__heading" }, jo = { class: "ds-profile-company-card__name" }, Xo = {
|
|
4390
4403
|
key: 0,
|
|
4391
4404
|
class: "ds-profile-company-card__sub"
|
|
4392
|
-
},
|
|
4405
|
+
}, Zo = ["href", "aria-label"], Qo = ["href", "aria-label"], Jo = {
|
|
4393
4406
|
key: 0,
|
|
4394
4407
|
class: "ds-profile-company-card__about"
|
|
4395
|
-
},
|
|
4408
|
+
}, ed = { class: "ds-profile-company-card__field-label" }, td = ["href"], ad = {
|
|
4396
4409
|
key: 1,
|
|
4397
4410
|
class: "ds-profile-company-card__field-value"
|
|
4398
|
-
},
|
|
4411
|
+
}, ld = /* @__PURE__ */ P({
|
|
4399
4412
|
__name: "DsProfileCompanyCard",
|
|
4400
4413
|
props: {
|
|
4401
4414
|
title: { type: String, required: !0 },
|
|
@@ -4416,7 +4429,7 @@ const zs = ["title"], Us = { "aria-hidden": "true" }, Fs = {
|
|
|
4416
4429
|
},
|
|
4417
4430
|
setup(e) {
|
|
4418
4431
|
const d = e, t = h(() => [d.industry, d.employees].filter(Boolean).join(" · ")), i = h(() => d.fields.filter((s) => s.value)), n = h(() => !!d.about || i.value.length > 0);
|
|
4419
|
-
return (s, r) => (a(), W(
|
|
4432
|
+
return (s, r) => (a(), W(Io, {
|
|
4420
4433
|
class: "ds-profile-company-card",
|
|
4421
4434
|
icon: "corporate_fare",
|
|
4422
4435
|
title: e.title,
|
|
@@ -4427,15 +4440,15 @@ const zs = ["title"], Us = { "aria-hidden": "true" }, Fs = {
|
|
|
4427
4440
|
o("div", {
|
|
4428
4441
|
class: D(["ds-profile-company-card__header", { "has-rest": n.value }])
|
|
4429
4442
|
}, [
|
|
4430
|
-
q(
|
|
4443
|
+
q(aa, {
|
|
4431
4444
|
class: "ds-profile-company-card__logo",
|
|
4432
4445
|
src: e.logo,
|
|
4433
4446
|
name: e.name,
|
|
4434
4447
|
size: 36
|
|
4435
4448
|
}, null, 8, ["src", "name"]),
|
|
4436
|
-
o("div",
|
|
4437
|
-
o("div",
|
|
4438
|
-
t.value ? (a(), l("div",
|
|
4449
|
+
o("div", Yo, [
|
|
4450
|
+
o("div", jo, v(e.name), 1),
|
|
4451
|
+
t.value ? (a(), l("div", Xo, v(t.value), 1)) : p("", !0)
|
|
4439
4452
|
]),
|
|
4440
4453
|
e.websiteUrl ? (a(), W(ge, {
|
|
4441
4454
|
key: 0,
|
|
@@ -4454,7 +4467,7 @@ const zs = ["title"], Us = { "aria-hidden": "true" }, Fs = {
|
|
|
4454
4467
|
class: "material-symbols-filled",
|
|
4455
4468
|
"aria-hidden": "true"
|
|
4456
4469
|
}, "language", -1)
|
|
4457
|
-
])], 8,
|
|
4470
|
+
])], 8, Zo)
|
|
4458
4471
|
]),
|
|
4459
4472
|
_: 1
|
|
4460
4473
|
}, 8, ["content", "placement"])) : p("", !0),
|
|
@@ -4465,10 +4478,10 @@ const zs = ["title"], Us = { "aria-hidden": "true" }, Fs = {
|
|
|
4465
4478
|
target: "_blank",
|
|
4466
4479
|
rel: "noopener noreferrer",
|
|
4467
4480
|
"aria-label": e.linkedinLabel || void 0
|
|
4468
|
-
}, "in", 8,
|
|
4481
|
+
}, "in", 8, Qo)) : p("", !0)
|
|
4469
4482
|
], 2),
|
|
4470
|
-
e.about ? (a(), l("div",
|
|
4471
|
-
q(
|
|
4483
|
+
e.about ? (a(), l("div", Jo, [
|
|
4484
|
+
q(Ho, {
|
|
4472
4485
|
text: e.about,
|
|
4473
4486
|
label: e.aboutLabel,
|
|
4474
4487
|
"show-more-label": e.showMoreLabel,
|
|
@@ -4479,33 +4492,33 @@ const zs = ["title"], Us = { "aria-hidden": "true" }, Fs = {
|
|
|
4479
4492
|
key: c.id,
|
|
4480
4493
|
class: D(["ds-profile-company-card__field", { "is-first": u === 0 && !e.about }])
|
|
4481
4494
|
}, [
|
|
4482
|
-
o("span",
|
|
4495
|
+
o("span", ed, v(c.label), 1),
|
|
4483
4496
|
c.href ? (a(), l("a", {
|
|
4484
4497
|
key: 0,
|
|
4485
4498
|
class: "ds-profile-company-card__field-value is-link",
|
|
4486
4499
|
href: c.href,
|
|
4487
4500
|
target: "_blank",
|
|
4488
4501
|
rel: "noopener noreferrer"
|
|
4489
|
-
}, v(c.value), 9,
|
|
4502
|
+
}, v(c.value), 9, td)) : (a(), l("span", ad, v(c.value), 1))
|
|
4490
4503
|
], 2))), 128))
|
|
4491
|
-
], 64)) : (a(), l("div",
|
|
4504
|
+
], 64)) : (a(), l("div", Ko, [
|
|
4492
4505
|
r[0] || (r[0] = o("i", {
|
|
4493
4506
|
class: "material-symbols-filled ds-profile-company-card__empty-icon",
|
|
4494
4507
|
"aria-hidden": "true"
|
|
4495
4508
|
}, "apartment", -1)),
|
|
4496
|
-
o("span",
|
|
4509
|
+
o("span", Wo, v(e.emptyLabel), 1)
|
|
4497
4510
|
]))
|
|
4498
4511
|
]),
|
|
4499
4512
|
_: 1
|
|
4500
4513
|
}, 8, ["title", "padded"]));
|
|
4501
4514
|
}
|
|
4502
|
-
}),
|
|
4515
|
+
}), zr = /* @__PURE__ */ z(ld, [["__scopeId", "data-v-4017ae63"]]), nd = { class: "ds-profile-hero" }, id = { class: "ds-profile-hero__body" }, sd = {
|
|
4503
4516
|
key: 1,
|
|
4504
4517
|
class: "ds-profile-hero__links"
|
|
4505
|
-
},
|
|
4518
|
+
}, od = ["href", "aria-label"], dd = {
|
|
4506
4519
|
key: 0,
|
|
4507
4520
|
class: "ds-profile-hero__actions"
|
|
4508
|
-
},
|
|
4521
|
+
}, rd = /* @__PURE__ */ P({
|
|
4509
4522
|
__name: "DsProfileHero",
|
|
4510
4523
|
props: {
|
|
4511
4524
|
image: { type: String, default: "" },
|
|
@@ -4530,8 +4543,8 @@ const zs = ["title"], Us = { "aria-hidden": "true" }, Fs = {
|
|
|
4530
4543
|
() => {
|
|
4531
4544
|
ne(s);
|
|
4532
4545
|
}
|
|
4533
|
-
), (r, c) => (a(), l("div",
|
|
4534
|
-
q(
|
|
4546
|
+
), (r, c) => (a(), l("div", nd, [
|
|
4547
|
+
q(Pa, {
|
|
4535
4548
|
class: "ds-profile-hero__avatar",
|
|
4536
4549
|
image: e.image,
|
|
4537
4550
|
"first-name": e.firstName,
|
|
@@ -4542,7 +4555,7 @@ const zs = ["title"], Us = { "aria-hidden": "true" }, Fs = {
|
|
|
4542
4555
|
"text-size": 20,
|
|
4543
4556
|
"font-weight": 800
|
|
4544
4557
|
}, null, 8, ["image", "first-name", "last-name", "alt"]),
|
|
4545
|
-
o("div",
|
|
4558
|
+
o("div", id, [
|
|
4546
4559
|
o("span", {
|
|
4547
4560
|
class: D(["ds-profile-hero__name", { "ds-profile-hero__name--with-actions": r.$slots.actions }])
|
|
4548
4561
|
}, v(t.value), 3),
|
|
@@ -4565,7 +4578,7 @@ const zs = ["title"], Us = { "aria-hidden": "true" }, Fs = {
|
|
|
4565
4578
|
]),
|
|
4566
4579
|
_: 1
|
|
4567
4580
|
}, 8, ["content", "disabled", "placement"])) : p("", !0),
|
|
4568
|
-
e.linkedinUrl ? (a(), l("div",
|
|
4581
|
+
e.linkedinUrl ? (a(), l("div", sd, [
|
|
4569
4582
|
q(ge, {
|
|
4570
4583
|
content: e.linkedinLabel,
|
|
4571
4584
|
placement: m(Te).BOTTOM
|
|
@@ -4577,24 +4590,24 @@ const zs = ["title"], Us = { "aria-hidden": "true" }, Fs = {
|
|
|
4577
4590
|
target: "_blank",
|
|
4578
4591
|
rel: "noopener noreferrer",
|
|
4579
4592
|
"aria-label": e.linkedinLabel || void 0
|
|
4580
|
-
}, "in", 8,
|
|
4593
|
+
}, "in", 8, od)
|
|
4581
4594
|
]),
|
|
4582
4595
|
_: 1
|
|
4583
4596
|
}, 8, ["content", "placement"])
|
|
4584
4597
|
])) : p("", !0)
|
|
4585
4598
|
]),
|
|
4586
|
-
r.$slots.actions ? (a(), l("div",
|
|
4599
|
+
r.$slots.actions ? (a(), l("div", dd, [
|
|
4587
4600
|
M(r.$slots, "actions", {}, void 0, !0)
|
|
4588
4601
|
])) : p("", !0)
|
|
4589
4602
|
]));
|
|
4590
4603
|
}
|
|
4591
|
-
}),
|
|
4604
|
+
}), Ur = /* @__PURE__ */ z(rd, [["__scopeId", "data-v-4e674c0f"]]), cd = {
|
|
4592
4605
|
key: 0,
|
|
4593
4606
|
class: "ds-profile-kv-row"
|
|
4594
|
-
},
|
|
4607
|
+
}, ud = { class: "ds-profile-kv-row__label" }, fd = ["href"], vd = {
|
|
4595
4608
|
key: 1,
|
|
4596
4609
|
class: "ds-profile-kv-row__value"
|
|
4597
|
-
},
|
|
4610
|
+
}, md = /* @__PURE__ */ P({
|
|
4598
4611
|
__name: "DsProfileKvRow",
|
|
4599
4612
|
props: {
|
|
4600
4613
|
label: { type: String, required: !0 },
|
|
@@ -4602,28 +4615,28 @@ const zs = ["title"], Us = { "aria-hidden": "true" }, Fs = {
|
|
|
4602
4615
|
href: { type: String, default: "" }
|
|
4603
4616
|
},
|
|
4604
4617
|
setup(e) {
|
|
4605
|
-
return (d, t) => e.value ? (a(), l("div",
|
|
4606
|
-
o("span",
|
|
4618
|
+
return (d, t) => e.value ? (a(), l("div", cd, [
|
|
4619
|
+
o("span", ud, v(e.label), 1),
|
|
4607
4620
|
e.href ? (a(), l("a", {
|
|
4608
4621
|
key: 0,
|
|
4609
4622
|
class: "ds-profile-kv-row__value is-link",
|
|
4610
4623
|
href: e.href,
|
|
4611
4624
|
target: "_blank",
|
|
4612
4625
|
rel: "noopener noreferrer"
|
|
4613
|
-
}, v(e.value), 9,
|
|
4626
|
+
}, v(e.value), 9, fd)) : (a(), l("span", vd, v(e.value), 1))
|
|
4614
4627
|
])) : p("", !0);
|
|
4615
4628
|
}
|
|
4616
|
-
}),
|
|
4629
|
+
}), Fr = /* @__PURE__ */ z(md, [["__scopeId", "data-v-1459ea30"]]), bd = { class: "ds-profile-timeline-row" }, yd = ["src"], gd = {
|
|
4617
4630
|
key: 1,
|
|
4618
4631
|
class: "ds-profile-timeline-row__logo ds-profile-timeline-row__logo--placeholder",
|
|
4619
4632
|
"aria-hidden": "true"
|
|
4620
|
-
},
|
|
4633
|
+
}, hd = { class: "ds-profile-timeline-row__text" }, pd = { class: "ds-profile-timeline-row__title" }, kd = {
|
|
4621
4634
|
key: 0,
|
|
4622
4635
|
class: "ds-profile-timeline-row__subtitle"
|
|
4623
|
-
},
|
|
4636
|
+
}, Sd = {
|
|
4624
4637
|
key: 1,
|
|
4625
4638
|
class: "ds-profile-timeline-row__dates"
|
|
4626
|
-
},
|
|
4639
|
+
}, $d = /* @__PURE__ */ P({
|
|
4627
4640
|
__name: "DsProfileTimelineRow",
|
|
4628
4641
|
props: {
|
|
4629
4642
|
logo: { type: String, default: "" },
|
|
@@ -4641,25 +4654,25 @@ const zs = ["title"], Us = { "aria-hidden": "true" }, Fs = {
|
|
|
4641
4654
|
t.value = !0;
|
|
4642
4655
|
}
|
|
4643
4656
|
const n = h(() => !!d.logo && !t.value);
|
|
4644
|
-
return (s, r) => (a(), l("div",
|
|
4657
|
+
return (s, r) => (a(), l("div", bd, [
|
|
4645
4658
|
n.value ? (a(), l("img", {
|
|
4646
4659
|
key: 0,
|
|
4647
4660
|
class: "ds-profile-timeline-row__logo",
|
|
4648
4661
|
src: e.logo,
|
|
4649
4662
|
alt: "",
|
|
4650
4663
|
onError: i
|
|
4651
|
-
}, null, 40,
|
|
4652
|
-
o("div",
|
|
4653
|
-
o("span",
|
|
4654
|
-
e.subtitle ? (a(), l("span",
|
|
4655
|
-
e.dates ? (a(), l("span",
|
|
4664
|
+
}, null, 40, yd)) : (a(), l("span", gd)),
|
|
4665
|
+
o("div", hd, [
|
|
4666
|
+
o("span", pd, v(e.title), 1),
|
|
4667
|
+
e.subtitle ? (a(), l("span", kd, v(e.subtitle), 1)) : p("", !0),
|
|
4668
|
+
e.dates ? (a(), l("span", Sd, v(e.dates), 1)) : p("", !0)
|
|
4656
4669
|
])
|
|
4657
4670
|
]));
|
|
4658
4671
|
}
|
|
4659
|
-
}),
|
|
4672
|
+
}), Vr = /* @__PURE__ */ z($d, [["__scopeId", "data-v-cce90d67"]]), _d = ["tabindex"], Ld = {
|
|
4660
4673
|
class: "material-symbols-filled ds-profile-locked-card__icon",
|
|
4661
4674
|
"aria-hidden": "true"
|
|
4662
|
-
},
|
|
4675
|
+
}, wd = { class: "ds-profile-locked-card__title" }, Ed = /* @__PURE__ */ P({
|
|
4663
4676
|
__name: "DsProfileLockedCard",
|
|
4664
4677
|
props: {
|
|
4665
4678
|
icon: { type: String, required: !0 },
|
|
@@ -4679,24 +4692,24 @@ const zs = ["title"], Us = { "aria-hidden": "true" }, Fs = {
|
|
|
4679
4692
|
class: "ds-profile-locked-card",
|
|
4680
4693
|
tabindex: e.hint ? 0 : void 0
|
|
4681
4694
|
}, [
|
|
4682
|
-
o("i",
|
|
4683
|
-
o("span",
|
|
4695
|
+
o("i", Ld, v(e.icon), 1),
|
|
4696
|
+
o("span", wd, v(e.title), 1),
|
|
4684
4697
|
t[0] || (t[0] = o("i", {
|
|
4685
4698
|
class: "material-symbols-filled ds-profile-locked-card__lock",
|
|
4686
4699
|
"aria-hidden": "true"
|
|
4687
4700
|
}, "lock", -1))
|
|
4688
|
-
], 8,
|
|
4701
|
+
], 8, _d)
|
|
4689
4702
|
]),
|
|
4690
4703
|
_: 1
|
|
4691
4704
|
}, 8, ["content", "disabled", "placement"]));
|
|
4692
4705
|
}
|
|
4693
|
-
}),
|
|
4706
|
+
}), qr = /* @__PURE__ */ z(Ed, [["__scopeId", "data-v-40c52531"]]), Ue = {
|
|
4694
4707
|
MEDIUM: "medium",
|
|
4695
4708
|
LARGE: "large"
|
|
4696
4709
|
}, it = {
|
|
4697
4710
|
START: "start",
|
|
4698
4711
|
END: "end"
|
|
4699
|
-
},
|
|
4712
|
+
}, oa = "360px", Td = {
|
|
4700
4713
|
WORK: "work",
|
|
4701
4714
|
DIRECT: "direct"
|
|
4702
4715
|
};
|
|
@@ -4707,11 +4720,11 @@ function bt(e, d) {
|
|
|
4707
4720
|
function yt(e) {
|
|
4708
4721
|
return e === it.END ? ze.BOTTOM_END : ze.BOTTOM_START;
|
|
4709
4722
|
}
|
|
4710
|
-
const
|
|
4723
|
+
const Cd = ["aria-label"], Id = ["aria-label"], Dd = { class: "ds-organizer-form__title" }, Ad = { class: "ds-organizer-form__field" }, Rd = ["id"], Nd = ["aria-labelledby"], Od = ["aria-checked", "aria-label", "tabindex", "onClick", "onKeydown"], Bd = {
|
|
4711
4724
|
key: 0,
|
|
4712
4725
|
class: "material-symbols-filled ds-organizer-form__check",
|
|
4713
4726
|
"aria-hidden": "true"
|
|
4714
|
-
},
|
|
4727
|
+
}, xd = { class: "ds-organizer-form__footer" }, Md = /* @__PURE__ */ P({
|
|
4715
4728
|
__name: "DsOrganizerForm",
|
|
4716
4729
|
props: {
|
|
4717
4730
|
title: { type: String, required: !0 },
|
|
@@ -4783,16 +4796,16 @@ const Td = ["aria-label"], Cd = ["aria-label"], Id = { class: "ds-organizer-form
|
|
|
4783
4796
|
class: "material-symbols-filled ds-organizer-form__back-icon",
|
|
4784
4797
|
"aria-hidden": "true"
|
|
4785
4798
|
}, "keyboard_arrow_left", -1)),
|
|
4786
|
-
o("span",
|
|
4787
|
-
], 8,
|
|
4799
|
+
o("span", Dd, v(e.title), 1)
|
|
4800
|
+
], 8, Id),
|
|
4788
4801
|
E[2] || (E[2] = o("div", { class: "ds-organizer-form__divider" }, null, -1)),
|
|
4789
|
-
o("div",
|
|
4802
|
+
o("div", Ad, [
|
|
4790
4803
|
q(m(nt), {
|
|
4791
4804
|
id: m(s),
|
|
4792
4805
|
ref_key: "inputRef",
|
|
4793
4806
|
ref: c,
|
|
4794
4807
|
"model-value": e.name,
|
|
4795
|
-
size: m(
|
|
4808
|
+
size: m(Kt).MD,
|
|
4796
4809
|
placeholder: e.namePlaceholder,
|
|
4797
4810
|
error: !!$.value,
|
|
4798
4811
|
"error-message": $.value,
|
|
@@ -4804,7 +4817,7 @@ const Td = ["aria-label"], Cd = ["aria-label"], Id = { class: "ds-organizer-form
|
|
|
4804
4817
|
o("p", {
|
|
4805
4818
|
id: m(r),
|
|
4806
4819
|
class: "ds-organizer-form__label"
|
|
4807
|
-
}, v(e.setColorLabel), 9,
|
|
4820
|
+
}, v(e.setColorLabel), 9, Rd),
|
|
4808
4821
|
o("div", {
|
|
4809
4822
|
class: "ds-organizer-form__swatches",
|
|
4810
4823
|
role: "radiogroup",
|
|
@@ -4824,11 +4837,11 @@ const Td = ["aria-label"], Cd = ["aria-label"], Id = { class: "ds-organizer-form
|
|
|
4824
4837
|
onClick: (C) => n(m(rt), N),
|
|
4825
4838
|
onKeydown: (C) => X(C, w)
|
|
4826
4839
|
}, [
|
|
4827
|
-
N === e.color ? (a(), l("i",
|
|
4828
|
-
], 46,
|
|
4829
|
-
], 8,
|
|
4840
|
+
N === e.color ? (a(), l("i", Bd, "check")) : p("", !0)
|
|
4841
|
+
], 46, Od))), 128))
|
|
4842
|
+
], 8, Nd),
|
|
4830
4843
|
E[3] || (E[3] = o("div", { class: "ds-organizer-form__divider" }, null, -1)),
|
|
4831
|
-
o("div",
|
|
4844
|
+
o("div", xd, [
|
|
4832
4845
|
q(m(oe), {
|
|
4833
4846
|
class: "ds-organizer-form__submit",
|
|
4834
4847
|
variant: m(ce).PRIMARY,
|
|
@@ -4843,9 +4856,9 @@ const Td = ["aria-label"], Cd = ["aria-label"], Id = { class: "ds-organizer-form
|
|
|
4843
4856
|
_: 1
|
|
4844
4857
|
}, 8, ["variant", "size", "loading", "disabled"])
|
|
4845
4858
|
])
|
|
4846
|
-
], 8,
|
|
4859
|
+
], 8, Cd));
|
|
4847
4860
|
}
|
|
4848
|
-
}),
|
|
4861
|
+
}), da = /* @__PURE__ */ z(Md, [["__scopeId", "data-v-b459ad66"]]), Pd = ["aria-label", "aria-expanded"], zd = ["aria-label"], Ud = { class: "ds-picker-row-actions__item-label" }, Fd = { class: "ds-picker-row-actions__item-label" }, xe = R(null), Vd = /* @__PURE__ */ P({
|
|
4849
4862
|
__name: "DsPickerRowActions",
|
|
4850
4863
|
props: {
|
|
4851
4864
|
option: { type: Object, required: !0 },
|
|
@@ -4863,7 +4876,7 @@ const Td = ["aria-label"], Cd = ["aria-label"], Id = { class: "ds-organizer-form
|
|
|
4863
4876
|
Q(xe, (S) => {
|
|
4864
4877
|
S !== n && u(!1);
|
|
4865
4878
|
});
|
|
4866
|
-
const { focusFirst: k, onKeydown: y } =
|
|
4879
|
+
const { focusFirst: k, onKeydown: y } = ta(c, {
|
|
4867
4880
|
onClose: L
|
|
4868
4881
|
});
|
|
4869
4882
|
Q(
|
|
@@ -4909,7 +4922,7 @@ const Td = ["aria-label"], Cd = ["aria-label"], Id = { class: "ds-organizer-form
|
|
|
4909
4922
|
class: "material-symbols-filled ds-picker-row-actions__glyph",
|
|
4910
4923
|
"aria-hidden": "true"
|
|
4911
4924
|
}, "more_vert", -1)
|
|
4912
|
-
])], 8,
|
|
4925
|
+
])], 8, Pd)
|
|
4913
4926
|
]),
|
|
4914
4927
|
default: x(() => [
|
|
4915
4928
|
o("div", {
|
|
@@ -4933,7 +4946,7 @@ const Td = ["aria-label"], Cd = ["aria-label"], Id = { class: "ds-organizer-form
|
|
|
4933
4946
|
class: "material-symbols-filled ds-picker-row-actions__glyph",
|
|
4934
4947
|
"aria-hidden": "true"
|
|
4935
4948
|
}, "edit", -1)),
|
|
4936
|
-
o("span",
|
|
4949
|
+
o("span", Ud, v(e.editLabel), 1)
|
|
4937
4950
|
])) : p("", !0),
|
|
4938
4951
|
o("button", {
|
|
4939
4952
|
type: "button",
|
|
@@ -4946,20 +4959,20 @@ const Td = ["aria-label"], Cd = ["aria-label"], Id = { class: "ds-organizer-form
|
|
|
4946
4959
|
class: "material-symbols-filled ds-picker-row-actions__glyph",
|
|
4947
4960
|
"aria-hidden": "true"
|
|
4948
4961
|
}, "delete", -1)),
|
|
4949
|
-
o("span",
|
|
4962
|
+
o("span", Fd, v(e.deleteLabel), 1)
|
|
4950
4963
|
])
|
|
4951
|
-
], 40,
|
|
4964
|
+
], 40, zd)
|
|
4952
4965
|
]),
|
|
4953
4966
|
_: 1
|
|
4954
4967
|
}, 8, ["open", "placement"]));
|
|
4955
4968
|
}
|
|
4956
|
-
}),
|
|
4969
|
+
}), ra = /* @__PURE__ */ z(Vd, [["__scopeId", "data-v-dc883564"]]), qd = { class: "ds-saved-button__label" }, Gd = {
|
|
4957
4970
|
key: 1,
|
|
4958
4971
|
class: "ds-saved-button__menu"
|
|
4959
|
-
},
|
|
4972
|
+
}, Hd = ["aria-label"], Kd = { class: "ds-saved-button__option-name" }, Wd = {
|
|
4960
4973
|
key: 0,
|
|
4961
4974
|
class: "ds-saved-button__empty"
|
|
4962
|
-
},
|
|
4975
|
+
}, Yd = { class: "ds-saved-button__footer" }, jd = /* @__PURE__ */ P({
|
|
4963
4976
|
__name: "DsSavedButton",
|
|
4964
4977
|
props: {
|
|
4965
4978
|
label: { type: String, required: !0 },
|
|
@@ -5063,7 +5076,7 @@ const Td = ["aria-label"], Cd = ["aria-label"], Id = { class: "ds-organizer-form
|
|
|
5063
5076
|
open: s.value,
|
|
5064
5077
|
placement: _.value,
|
|
5065
5078
|
width: "300px",
|
|
5066
|
-
"grow-to": g.value ? "" : m(
|
|
5079
|
+
"grow-to": g.value ? "" : m(oa),
|
|
5067
5080
|
flush: g.value,
|
|
5068
5081
|
"trigger-on-click": !1,
|
|
5069
5082
|
"onUpdate:open": H
|
|
@@ -5093,7 +5106,7 @@ const Td = ["aria-label"], Cd = ["aria-label"], Id = { class: "ds-organizer-form
|
|
|
5093
5106
|
}, "keyboard_arrow_down", -1))
|
|
5094
5107
|
]),
|
|
5095
5108
|
default: x(() => [
|
|
5096
|
-
o("span",
|
|
5109
|
+
o("span", qd, v(e.label), 1)
|
|
5097
5110
|
]),
|
|
5098
5111
|
_: 2
|
|
5099
5112
|
}, [
|
|
@@ -5116,7 +5129,7 @@ const Td = ["aria-label"], Cd = ["aria-label"], Id = { class: "ds-organizer-form
|
|
|
5116
5129
|
default: x(() => {
|
|
5117
5130
|
var ie;
|
|
5118
5131
|
return [
|
|
5119
|
-
g.value ? (a(), W(m(
|
|
5132
|
+
g.value ? (a(), W(m(da), {
|
|
5120
5133
|
key: 0,
|
|
5121
5134
|
class: "ds-saved-button__form",
|
|
5122
5135
|
title: k.value === "edit" ? e.editFormTitle : e.createFormTitle,
|
|
@@ -5137,7 +5150,7 @@ const Td = ["aria-label"], Cd = ["aria-label"], Id = { class: "ds-organizer-form
|
|
|
5137
5150
|
"onUpdate:color": V[1] || (V[1] = (ae) => L.value = ae),
|
|
5138
5151
|
onBack: C,
|
|
5139
5152
|
onSubmit: w
|
|
5140
|
-
}, null, 8, ["title", "submit-label", "name", "color", "original-name", "original-color", "colors", "loading", "error-message", "name-placeholder", "set-color-label", "back-label", "error-missing-name", "error-too-long-name"])) : (a(), l("div",
|
|
5153
|
+
}, null, 8, ["title", "submit-label", "name", "color", "original-name", "original-color", "colors", "loading", "error-message", "name-placeholder", "set-color-label", "back-label", "error-missing-name", "error-too-long-name"])) : (a(), l("div", Gd, [
|
|
5141
5154
|
q(m(nt), {
|
|
5142
5155
|
ref_key: "searchRef",
|
|
5143
5156
|
ref: c,
|
|
@@ -5158,7 +5171,7 @@ const Td = ["aria-label"], Cd = ["aria-label"], Id = { class: "ds-organizer-form
|
|
|
5158
5171
|
key: ae.id,
|
|
5159
5172
|
class: D(["ds-saved-button__option", { "is-current": O(ae) }])
|
|
5160
5173
|
}, [
|
|
5161
|
-
q(m(
|
|
5174
|
+
q(m(ea), {
|
|
5162
5175
|
name: m($),
|
|
5163
5176
|
value: String(ae.id),
|
|
5164
5177
|
"model-value": O(ae),
|
|
@@ -5170,11 +5183,11 @@ const Td = ["aria-label"], Cd = ["aria-label"], Id = { class: "ds-organizer-form
|
|
|
5170
5183
|
style: j({ color: ae.color }),
|
|
5171
5184
|
"aria-hidden": "true"
|
|
5172
5185
|
}, v(e.icon), 5),
|
|
5173
|
-
o("span",
|
|
5186
|
+
o("span", Kd, v(ae.name), 1)
|
|
5174
5187
|
]),
|
|
5175
5188
|
_: 2
|
|
5176
5189
|
}, 1032, ["name", "value", "model-value", "onUpdate:modelValue"]),
|
|
5177
|
-
e.rowActions ? (a(), W(m(
|
|
5190
|
+
e.rowActions ? (a(), W(m(ra), {
|
|
5178
5191
|
key: 0,
|
|
5179
5192
|
option: ae,
|
|
5180
5193
|
"actions-label": e.actionsLabel,
|
|
@@ -5184,11 +5197,11 @@ const Td = ["aria-label"], Cd = ["aria-label"], Id = { class: "ds-organizer-form
|
|
|
5184
5197
|
onDelete: N
|
|
5185
5198
|
}, null, 8, ["option", "actions-label", "edit-label", "delete-label"])) : p("", !0)
|
|
5186
5199
|
], 2))), 128)),
|
|
5187
|
-
!f.value.length && e.emptyLabel ? (a(), l("p",
|
|
5188
|
-
], 8,
|
|
5200
|
+
!f.value.length && e.emptyLabel ? (a(), l("p", Wd, v(e.emptyLabel), 1)) : p("", !0)
|
|
5201
|
+
], 8, Hd),
|
|
5189
5202
|
e.createLabel || T.$slots.footer ? (a(), l(K, { key: 0 }, [
|
|
5190
5203
|
V[4] || (V[4] = o("div", { class: "ds-saved-button__divider" }, null, -1)),
|
|
5191
|
-
o("div",
|
|
5204
|
+
o("div", Yd, [
|
|
5192
5205
|
M(T.$slots, "footer", { query: r.value }, () => [
|
|
5193
5206
|
q(m(oe), {
|
|
5194
5207
|
variant: m(ce).TERTIARY,
|
|
@@ -5211,13 +5224,13 @@ const Td = ["aria-label"], Cd = ["aria-label"], Id = { class: "ds-organizer-form
|
|
|
5211
5224
|
}, 8, ["open", "placement", "grow-to", "flush"])
|
|
5212
5225
|
], 2));
|
|
5213
5226
|
}
|
|
5214
|
-
}),
|
|
5227
|
+
}), Gr = /* @__PURE__ */ z(jd, [["__scopeId", "data-v-5ba68eda"]]), Xd = {
|
|
5215
5228
|
key: 1,
|
|
5216
5229
|
class: "ds-tag-picker__menu"
|
|
5217
|
-
},
|
|
5230
|
+
}, Zd = ["aria-label"], Qd = { class: "ds-tag-picker__name" }, Jd = { class: "ds-tag-picker__create-query" }, er = {
|
|
5218
5231
|
key: 1,
|
|
5219
5232
|
class: "ds-tag-picker__empty"
|
|
5220
|
-
},
|
|
5233
|
+
}, tr = /* @__PURE__ */ P({
|
|
5221
5234
|
__name: "DsTagPicker",
|
|
5222
5235
|
props: {
|
|
5223
5236
|
label: { type: String, required: !0 },
|
|
@@ -5344,7 +5357,7 @@ const Td = ["aria-label"], Cd = ["aria-label"], Id = { class: "ds-organizer-form
|
|
|
5344
5357
|
open: s.value,
|
|
5345
5358
|
placement: O.value,
|
|
5346
5359
|
width: "240px",
|
|
5347
|
-
"grow-to": S.value ? "" : m(
|
|
5360
|
+
"grow-to": S.value ? "" : m(oa),
|
|
5348
5361
|
flush: S.value,
|
|
5349
5362
|
"trigger-on-click": !1,
|
|
5350
5363
|
"onUpdate:open": E
|
|
@@ -5394,7 +5407,7 @@ const Td = ["aria-label"], Cd = ["aria-label"], Id = { class: "ds-organizer-form
|
|
|
5394
5407
|
f.value ? {
|
|
5395
5408
|
name: "trailing",
|
|
5396
5409
|
fn: x(() => [
|
|
5397
|
-
q(m(
|
|
5410
|
+
q(m(sa), {
|
|
5398
5411
|
overflow: e.tags.length - 1,
|
|
5399
5412
|
label: e.moreLabel
|
|
5400
5413
|
}, null, 8, ["overflow", "label"])
|
|
@@ -5409,7 +5422,7 @@ const Td = ["aria-label"], Cd = ["aria-label"], Id = { class: "ds-organizer-form
|
|
|
5409
5422
|
default: x(() => {
|
|
5410
5423
|
var se;
|
|
5411
5424
|
return [
|
|
5412
|
-
S.value ? (a(), W(m(
|
|
5425
|
+
S.value ? (a(), W(m(da), {
|
|
5413
5426
|
key: 0,
|
|
5414
5427
|
class: "ds-tag-picker__form",
|
|
5415
5428
|
title: y.value === "edit" ? e.editFormTitle : e.createFormTitle,
|
|
@@ -5430,7 +5443,7 @@ const Td = ["aria-label"], Cd = ["aria-label"], Id = { class: "ds-organizer-form
|
|
|
5430
5443
|
"onUpdate:color": Z[1] || (Z[1] = (A) => g.value = A),
|
|
5431
5444
|
onBack: je,
|
|
5432
5445
|
onSubmit: Oe
|
|
5433
|
-
}, null, 8, ["title", "submit-label", "name", "color", "original-name", "original-color", "colors", "loading", "error-message", "name-placeholder", "set-color-label", "back-label", "error-missing-name", "error-too-long-name"])) : (a(), l("div",
|
|
5446
|
+
}, null, 8, ["title", "submit-label", "name", "color", "original-name", "original-color", "colors", "loading", "error-message", "name-placeholder", "set-color-label", "back-label", "error-missing-name", "error-too-long-name"])) : (a(), l("div", Xd, [
|
|
5434
5447
|
q(m(nt), {
|
|
5435
5448
|
ref_key: "searchRef",
|
|
5436
5449
|
ref: u,
|
|
@@ -5461,11 +5474,11 @@ const Td = ["aria-label"], Cd = ["aria-label"], Id = { class: "ds-organizer-form
|
|
|
5461
5474
|
style: j({ background: A.color }),
|
|
5462
5475
|
"aria-hidden": "true"
|
|
5463
5476
|
}, null, 4),
|
|
5464
|
-
o("span",
|
|
5477
|
+
o("span", Qd, v(A.name), 1)
|
|
5465
5478
|
]),
|
|
5466
5479
|
_: 2
|
|
5467
5480
|
}, 1032, ["model-value", "onUpdate:modelValue"]),
|
|
5468
|
-
e.rowActions ? (a(), W(m(
|
|
5481
|
+
e.rowActions ? (a(), W(m(ra), {
|
|
5469
5482
|
key: 0,
|
|
5470
5483
|
option: A,
|
|
5471
5484
|
"actions-label": e.actionsLabel,
|
|
@@ -5486,10 +5499,10 @@ const Td = ["aria-label"], Cd = ["aria-label"], Id = { class: "ds-organizer-form
|
|
|
5486
5499
|
"aria-hidden": "true"
|
|
5487
5500
|
}, "add", -1)),
|
|
5488
5501
|
o("span", null, v(e.createLabel), 1),
|
|
5489
|
-
o("span",
|
|
5502
|
+
o("span", Jd, "“" + v(H.value) + "”", 1)
|
|
5490
5503
|
])) : p("", !0),
|
|
5491
|
-
!B.value.length && !X.value && e.emptyLabel ? (a(), l("p",
|
|
5492
|
-
], 8,
|
|
5504
|
+
!B.value.length && !X.value && e.emptyLabel ? (a(), l("p", er, v(e.emptyLabel), 1)) : p("", !0)
|
|
5505
|
+
], 8, Zd),
|
|
5493
5506
|
Z[5] || (Z[5] = o("div", { class: "ds-tag-picker__divider" }, null, -1)),
|
|
5494
5507
|
o("div", {
|
|
5495
5508
|
class: D(["ds-tag-picker__footer", { "is-split": _.value }])
|
|
@@ -5526,16 +5539,16 @@ const Td = ["aria-label"], Cd = ["aria-label"], Id = { class: "ds-organizer-form
|
|
|
5526
5539
|
}, 8, ["open", "placement", "grow-to", "flush"])
|
|
5527
5540
|
], 2));
|
|
5528
5541
|
}
|
|
5529
|
-
}),
|
|
5542
|
+
}), Hr = /* @__PURE__ */ z(tr, [["__scopeId", "data-v-30094d2e"]]), Gt = {
|
|
5530
5543
|
SECONDARY: "secondary",
|
|
5531
5544
|
PRIMARY: "primary"
|
|
5532
|
-
},
|
|
5545
|
+
}, ar = { class: "ds-add-to-sequence__label" }, lr = { class: "ds-add-to-sequence__menu" }, nr = { class: "ds-add-to-sequence__section" }, ir = ["aria-label"], sr = {
|
|
5533
5546
|
key: 0,
|
|
5534
5547
|
class: "ds-add-to-sequence__section"
|
|
5535
|
-
},
|
|
5548
|
+
}, or = ["aria-label"], dr = {
|
|
5536
5549
|
key: 0,
|
|
5537
5550
|
class: "ds-add-to-sequence__empty"
|
|
5538
|
-
},
|
|
5551
|
+
}, rr = { class: "ds-add-to-sequence__footer" }, cr = /* @__PURE__ */ P({
|
|
5539
5552
|
__name: "DsAddToSequence",
|
|
5540
5553
|
props: {
|
|
5541
5554
|
label: { type: String, required: !0 },
|
|
@@ -5544,7 +5557,7 @@ const Td = ["aria-label"], Cd = ["aria-label"], Id = { class: "ds-organizer-form
|
|
|
5544
5557
|
channels: { type: Array, required: !0 },
|
|
5545
5558
|
defaultChannel: {
|
|
5546
5559
|
type: String,
|
|
5547
|
-
default:
|
|
5560
|
+
default: Td.WORK
|
|
5548
5561
|
},
|
|
5549
5562
|
campaignsLabel: { type: String, default: "" },
|
|
5550
5563
|
campaigns: { type: Array, required: !0 },
|
|
@@ -5553,7 +5566,7 @@ const Td = ["aria-label"], Cd = ["aria-label"], Id = { class: "ds-organizer-form
|
|
|
5553
5566
|
addLabel: { type: String, required: !0 },
|
|
5554
5567
|
variant: {
|
|
5555
5568
|
type: String,
|
|
5556
|
-
default:
|
|
5569
|
+
default: Gt.SECONDARY
|
|
5557
5570
|
},
|
|
5558
5571
|
size: { type: String, default: Ue.MEDIUM },
|
|
5559
5572
|
// Fully round trigger — the bulk-bar look beside DsItemSelectorButton.
|
|
@@ -5564,7 +5577,7 @@ const Td = ["aria-label"], Cd = ["aria-label"], Id = { class: "ds-organizer-form
|
|
|
5564
5577
|
emits: [At, pe, re],
|
|
5565
5578
|
setup(e, { emit: d }) {
|
|
5566
5579
|
const t = e, i = d, n = R(!1), s = R(""), r = R(null), c = R(t.defaultChannel), u = R(/* @__PURE__ */ new Set()), k = me(), y = h(() => yt(t.align)), b = h(() => bt(t.campaigns, s.value)), L = h(
|
|
5567
|
-
() => t.variant ===
|
|
5580
|
+
() => t.variant === Gt.PRIMARY ? ce.PRIMARY : ce.OUTLINE
|
|
5568
5581
|
), g = h(
|
|
5569
5582
|
() => t.size === Ue.LARGE ? ue.LARGE : ue.MEDIUM
|
|
5570
5583
|
);
|
|
@@ -5629,7 +5642,7 @@ const Td = ["aria-label"], Cd = ["aria-label"], Id = { class: "ds-organizer-form
|
|
|
5629
5642
|
}, "send", -1)
|
|
5630
5643
|
])]),
|
|
5631
5644
|
default: x(() => [
|
|
5632
|
-
o("span",
|
|
5645
|
+
o("span", ar, v(e.label), 1)
|
|
5633
5646
|
]),
|
|
5634
5647
|
_: 1
|
|
5635
5648
|
}, 8, ["variant", "size", "pill", "disabled", "aria-expanded"])
|
|
@@ -5638,8 +5651,8 @@ const Td = ["aria-label"], Cd = ["aria-label"], Id = { class: "ds-organizer-form
|
|
|
5638
5651
|
}, 8, ["content", "disabled"])
|
|
5639
5652
|
]),
|
|
5640
5653
|
default: x(() => [
|
|
5641
|
-
o("div",
|
|
5642
|
-
o("p",
|
|
5654
|
+
o("div", lr, [
|
|
5655
|
+
o("p", nr, v(e.channelsLabel), 1),
|
|
5643
5656
|
o("div", {
|
|
5644
5657
|
class: "ds-add-to-sequence__channels",
|
|
5645
5658
|
role: "radiogroup",
|
|
@@ -5649,7 +5662,7 @@ const Td = ["aria-label"], Cd = ["aria-label"], Id = { class: "ds-organizer-form
|
|
|
5649
5662
|
key: B.value,
|
|
5650
5663
|
class: D(["ds-add-to-sequence__channel", { "is-on": c.value === B.value }])
|
|
5651
5664
|
}, [
|
|
5652
|
-
q(m(
|
|
5665
|
+
q(m(ea), {
|
|
5653
5666
|
name: m(k),
|
|
5654
5667
|
value: B.value,
|
|
5655
5668
|
"model-value": c.value === B.value,
|
|
@@ -5661,7 +5674,7 @@ const Td = ["aria-label"], Cd = ["aria-label"], Id = { class: "ds-organizer-form
|
|
|
5661
5674
|
_: 2
|
|
5662
5675
|
}, 1032, ["name", "value", "model-value", "onUpdate:modelValue"])
|
|
5663
5676
|
], 2))), 128))
|
|
5664
|
-
], 8,
|
|
5677
|
+
], 8, ir),
|
|
5665
5678
|
q(m(nt), {
|
|
5666
5679
|
ref_key: "searchRef",
|
|
5667
5680
|
ref: r,
|
|
@@ -5672,7 +5685,7 @@ const Td = ["aria-label"], Cd = ["aria-label"], Id = { class: "ds-organizer-form
|
|
|
5672
5685
|
size: "sm",
|
|
5673
5686
|
placeholder: e.searchPlaceholder
|
|
5674
5687
|
}, null, 8, ["modelValue", "placeholder"]),
|
|
5675
|
-
e.campaignsLabel ? (a(), l("p",
|
|
5688
|
+
e.campaignsLabel ? (a(), l("p", sr, v(e.campaignsLabel), 1)) : p("", !0),
|
|
5676
5689
|
o("div", {
|
|
5677
5690
|
class: "ds-add-to-sequence__list",
|
|
5678
5691
|
role: "group",
|
|
@@ -5692,10 +5705,10 @@ const Td = ["aria-label"], Cd = ["aria-label"], Id = { class: "ds-organizer-form
|
|
|
5692
5705
|
_: 2
|
|
5693
5706
|
}, 1032, ["model-value", "onUpdate:modelValue"])
|
|
5694
5707
|
]))), 128)),
|
|
5695
|
-
!b.value.length && e.emptyLabel ? (a(), l("p",
|
|
5696
|
-
], 8,
|
|
5708
|
+
!b.value.length && e.emptyLabel ? (a(), l("p", dr, v(e.emptyLabel), 1)) : p("", !0)
|
|
5709
|
+
], 8, or),
|
|
5697
5710
|
O[2] || (O[2] = o("div", { class: "ds-add-to-sequence__divider" }, null, -1)),
|
|
5698
|
-
o("div",
|
|
5711
|
+
o("div", rr, [
|
|
5699
5712
|
q(m(oe), {
|
|
5700
5713
|
class: "ds-add-to-sequence__add",
|
|
5701
5714
|
variant: m(ce).PRIMARY,
|
|
@@ -5715,104 +5728,105 @@ const Td = ["aria-label"], Cd = ["aria-label"], Id = { class: "ds-organizer-form
|
|
|
5715
5728
|
}, 8, ["open", "placement"])
|
|
5716
5729
|
], 2));
|
|
5717
5730
|
}
|
|
5718
|
-
}),
|
|
5731
|
+
}), Kr = /* @__PURE__ */ z(cr, [["__scopeId", "data-v-d3bee696"]]);
|
|
5719
5732
|
export {
|
|
5720
|
-
|
|
5721
|
-
|
|
5722
|
-
|
|
5723
|
-
|
|
5724
|
-
|
|
5733
|
+
qt as DS_ACTION_MENU_WEIGHTS,
|
|
5734
|
+
Gt as DS_ADD_TO_SEQUENCE_VARIANTS,
|
|
5735
|
+
kl as DS_ALERT_EFFECTS,
|
|
5736
|
+
Sl as DS_ALERT_ICONS,
|
|
5737
|
+
pl as DS_ALERT_TYPES,
|
|
5725
5738
|
ut as DS_BADGE_TONES,
|
|
5726
|
-
|
|
5739
|
+
ka as DS_BUTTON_NATIVE_TYPES,
|
|
5727
5740
|
ue as DS_BUTTON_SIZES,
|
|
5728
5741
|
ce as DS_BUTTON_VARIANTS,
|
|
5729
5742
|
We as DS_CONTACT_KINDS,
|
|
5730
|
-
|
|
5743
|
+
Oo as DS_CONTACT_PLACEHOLDER_ICONS,
|
|
5731
5744
|
qe as DS_CONTACT_PLACEHOLDER_STATES,
|
|
5732
5745
|
Me as DS_CONTACT_TYPES,
|
|
5733
|
-
|
|
5734
|
-
|
|
5735
|
-
|
|
5736
|
-
|
|
5746
|
+
xs as DS_CONTACT_TYPE_ICONS,
|
|
5747
|
+
vi as DS_CUSTOM_TAG_TYPES,
|
|
5748
|
+
Ft as DS_DRAWER_DIRECTIONS,
|
|
5749
|
+
Kt as DS_INPUT_SIZES,
|
|
5737
5750
|
Be as DS_INPUT_TYPES,
|
|
5738
|
-
|
|
5751
|
+
Il as DS_NOTIFICATION_ICONS,
|
|
5739
5752
|
xt as DS_NOTIFICATION_LINK_TARGETS,
|
|
5740
|
-
|
|
5741
|
-
|
|
5753
|
+
Cl as DS_NOTIFICATION_POSITIONS,
|
|
5754
|
+
Tl as DS_NOTIFICATION_TYPES,
|
|
5742
5755
|
it as DS_PICKER_ALIGNS,
|
|
5743
5756
|
Ue as DS_PICKER_SIZES,
|
|
5757
|
+
Ut as DS_PILL_TONES,
|
|
5744
5758
|
ze as DS_POPOVER_PLACEMENTS,
|
|
5745
5759
|
Pt as DS_SELECT_TYPES,
|
|
5746
5760
|
zt as DS_SELECT_WIDTHS,
|
|
5747
|
-
|
|
5761
|
+
Td as DS_SEQUENCE_CHANNELS,
|
|
5748
5762
|
ot as DS_SPINNER_SIZES,
|
|
5749
5763
|
Xe as DS_SPINNER_TONES,
|
|
5750
5764
|
Bt as DS_TABLE_ALIGN,
|
|
5751
5765
|
he as DS_TABLE_PIN,
|
|
5752
|
-
|
|
5753
|
-
|
|
5754
|
-
|
|
5766
|
+
Ia as DS_TAG_TONES,
|
|
5767
|
+
fl as DS_TEXTAREA_RESIZE,
|
|
5768
|
+
vl as DS_TEXTAREA_VARIANTS,
|
|
5755
5769
|
Te as DS_TOOLTIP_PLACEMENTS,
|
|
5756
5770
|
ct as DS_VERIFICATION_STATES,
|
|
5757
5771
|
De as DS_WIZARD_STEP_STATES,
|
|
5758
|
-
|
|
5759
|
-
|
|
5760
|
-
|
|
5761
|
-
|
|
5762
|
-
|
|
5772
|
+
Or as DsActionMenu,
|
|
5773
|
+
Kr as DsAddToSequence,
|
|
5774
|
+
br as DsAlert,
|
|
5775
|
+
Pa as DsAvatar,
|
|
5776
|
+
Oa as DsBadge,
|
|
5763
5777
|
oe as DsButton,
|
|
5764
|
-
|
|
5778
|
+
Lr as DsCell,
|
|
5765
5779
|
lt as DsCheckbox,
|
|
5766
|
-
|
|
5767
|
-
|
|
5768
|
-
|
|
5769
|
-
|
|
5770
|
-
|
|
5771
|
-
|
|
5780
|
+
Ho as DsClampedText,
|
|
5781
|
+
Br as DsCompanyCard,
|
|
5782
|
+
aa as DsCompanyLogo,
|
|
5783
|
+
xr as DsContactCell,
|
|
5784
|
+
vo as DsContactList,
|
|
5785
|
+
Pr as DsContactPlaceholder,
|
|
5772
5786
|
Mt as DsContactValue,
|
|
5773
|
-
|
|
5774
|
-
|
|
5775
|
-
|
|
5776
|
-
|
|
5777
|
-
|
|
5787
|
+
wr as DsCustomTag,
|
|
5788
|
+
hr as DsDataCard,
|
|
5789
|
+
ia as DsDeliverabilityBadge,
|
|
5790
|
+
Nr as DsDrawer,
|
|
5791
|
+
Ir as DsEmptyState,
|
|
5778
5792
|
nt as DsInput,
|
|
5779
|
-
|
|
5780
|
-
|
|
5781
|
-
|
|
5782
|
-
|
|
5783
|
-
|
|
5784
|
-
|
|
5785
|
-
|
|
5786
|
-
|
|
5787
|
-
|
|
5788
|
-
|
|
5793
|
+
Sr as DsItemSelectorButton,
|
|
5794
|
+
na as DsMaskedValue,
|
|
5795
|
+
Ar as DsMenuItem,
|
|
5796
|
+
gr as DsModal,
|
|
5797
|
+
sa as DsMoreCountChip,
|
|
5798
|
+
yr as DsNotification,
|
|
5799
|
+
da as DsOrganizerForm,
|
|
5800
|
+
Dr as DsPaginator,
|
|
5801
|
+
Er as DsPill,
|
|
5802
|
+
Tr as DsPillWithBorder,
|
|
5789
5803
|
Fe as DsPopover,
|
|
5790
|
-
|
|
5791
|
-
|
|
5792
|
-
|
|
5793
|
-
|
|
5794
|
-
|
|
5795
|
-
|
|
5796
|
-
|
|
5797
|
-
|
|
5798
|
-
|
|
5799
|
-
|
|
5800
|
-
|
|
5801
|
-
|
|
5802
|
-
|
|
5804
|
+
Io as DsProfileCard,
|
|
5805
|
+
zr as DsProfileCompanyCard,
|
|
5806
|
+
Mr as DsProfileGroupBar,
|
|
5807
|
+
Ur as DsProfileHero,
|
|
5808
|
+
Fr as DsProfileKvRow,
|
|
5809
|
+
qr as DsProfileLockedCard,
|
|
5810
|
+
Vr as DsProfileTimelineRow,
|
|
5811
|
+
ea as DsRadio,
|
|
5812
|
+
pr as DsRadioCard,
|
|
5813
|
+
_r as DsRow,
|
|
5814
|
+
Gr as DsSavedButton,
|
|
5815
|
+
Cr as DsSegmentedProgressBar,
|
|
5816
|
+
$r as DsSelect,
|
|
5803
5817
|
Pe as DsSpinner,
|
|
5804
|
-
|
|
5805
|
-
|
|
5806
|
-
|
|
5807
|
-
|
|
5808
|
-
|
|
5818
|
+
kr as DsSwitch,
|
|
5819
|
+
vr as DsTable,
|
|
5820
|
+
fr as DsTag,
|
|
5821
|
+
Hr as DsTagPicker,
|
|
5822
|
+
mr as DsTextarea,
|
|
5809
5823
|
ge as DsTooltip,
|
|
5810
|
-
|
|
5811
|
-
|
|
5824
|
+
tn as DsVerificationIcon,
|
|
5825
|
+
Rr as DsWizardStepper,
|
|
5812
5826
|
ft as MASK_GLYPHS,
|
|
5813
5827
|
bt as filterOptions,
|
|
5814
|
-
|
|
5828
|
+
Ms as overflowFromGroupSize,
|
|
5815
5829
|
yt as pickerPlacement,
|
|
5816
|
-
|
|
5830
|
+
zs as splitMaskedValue
|
|
5817
5831
|
};
|
|
5818
5832
|
//# sourceMappingURL=index.es.js.map
|