@dialpad/dialtone-vue 3.102.0 → 3.102.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,17 +1,17 @@
1
- import { _ as y, g as N, a as U, u as Y, b as $, B as Z, h as M, c as X, i as J, d as Q, e as ee, f as x } from "./tooltip-Cr_G7ib3.js";
2
- import { openBlock as n, createElementBlock as l, toDisplayString as O, createCommentVNode as d, createElementVNode as _, normalizeClass as u, resolveComponent as m, createBlock as h, resolveDynamicComponent as k, withCtx as p, mergeProps as T, renderSlot as c, withKeys as b, withModifiers as I, createVNode as A, toHandlers as j, createSlots as te, renderList as se, Teleport as oe } from "vue";
3
- import { w as P, I as ae, L as ne, A as ie, B as K } from "./emoji-w7mkBLzY.js";
4
- const S = {
1
+ import { _ as y, g as N, a as U, u as Y, b as $, B as Z, h as j, c as X, i as J, d as Q, e as ee, f as F } from "./tooltip-Cr_G7ib3.js";
2
+ import { openBlock as o, createElementBlock as r, toDisplayString as T, createCommentVNode as d, createElementVNode as E, normalizeClass as u, resolveComponent as m, createBlock as h, resolveDynamicComponent as b, withCtx as f, mergeProps as w, renderSlot as c, withKeys as g, withModifiers as A, createVNode as P, toHandlers as K, createSlots as te, renderList as se, Teleport as ne } from "vue";
3
+ import { A as ae, w as k, I as oe, L as ie, B as le, C as z } from "./emoji-qCvCxNzD.js";
4
+ const C = {
5
5
  BUSY: "busy",
6
6
  AWAY: "away",
7
7
  OFFLINE: "offline",
8
8
  ACTIVE: "active"
9
9
  }, re = [
10
- S.BUSY,
11
- S.AWAY,
12
- S.OFFLINE,
13
- S.ACTIVE
14
- ], le = {
10
+ C.BUSY,
11
+ C.AWAY,
12
+ C.OFFLINE,
13
+ C.ACTIVE
14
+ ], de = {
15
15
  name: "DtPresence",
16
16
  props: {
17
17
  /**
@@ -21,7 +21,7 @@ const S = {
21
21
  */
22
22
  presence: {
23
23
  type: String,
24
- default: S.ACTIVE,
24
+ default: C.ACTIVE,
25
25
  validator: (e) => re.includes(e)
26
26
  },
27
27
  /**
@@ -34,20 +34,20 @@ const S = {
34
34
  default: null
35
35
  }
36
36
  }
37
- }, de = ["aria-live"], ce = {
37
+ }, ce = ["aria-live"], ue = {
38
38
  key: 0,
39
39
  "data-qa": "dt-presence-sr-text",
40
40
  class: "sr-only"
41
41
  };
42
- function ue(e, t, s, i, a, o) {
43
- return n(), l("div", {
42
+ function he(e, t, s, i, a, n) {
43
+ return o(), r("div", {
44
44
  class: "d-presence",
45
45
  "data-qa": "dt-presence",
46
46
  role: "status",
47
47
  "aria-live": e.$attrs.ariaLive || "off"
48
48
  }, [
49
- s.srText ? (n(), l("span", ce, O(s.srText), 1)) : d("", !0),
50
- _("div", {
49
+ s.srText ? (o(), r("span", ue, T(s.srText), 1)) : d("", !0),
50
+ E("div", {
51
51
  class: u(["d-presence__inner", {
52
52
  "d-presence__inner--active": s.presence === "active",
53
53
  "d-presence__inner--away": s.presence === "away",
@@ -55,9 +55,9 @@ function ue(e, t, s, i, a, o) {
55
55
  "d-presence__inner--offline": s.presence === "offline"
56
56
  }])
57
57
  }, null, 2)
58
- ], 8, de);
58
+ ], 8, ce);
59
59
  }
60
- const he = /* @__PURE__ */ y(le, [["render", ue]]), L = {
60
+ const fe = /* @__PURE__ */ y(de, [["render", he]]), L = {
61
61
  xs: "d-avatar--xs",
62
62
  sm: "d-avatar--sm",
63
63
  md: "d-avatar--md",
@@ -67,22 +67,22 @@ const he = /* @__PURE__ */ y(le, [["render", ue]]), L = {
67
67
  default: "",
68
68
  icon: "d-avatar__icon",
69
69
  initials: "d-avatar__initials"
70
- }, fe = {
70
+ }, me = {
71
71
  md: "d-avatar__presence--md",
72
72
  lg: "d-avatar__presence--lg"
73
- }, F = {
73
+ }, V = {
74
74
  NONE: "",
75
75
  BUSY: "busy",
76
76
  AWAY: "away",
77
77
  OFFLINE: "offline",
78
78
  ACTIVE: "active"
79
- }, me = {
79
+ }, ye = {
80
80
  xs: "100",
81
81
  sm: "200",
82
82
  md: "300",
83
83
  lg: "500",
84
84
  xl: "600"
85
- }, ye = [
85
+ }, ve = [
86
86
  "100",
87
87
  "200",
88
88
  "300",
@@ -101,558 +101,18 @@ const he = /* @__PURE__ */ y(le, [["render", ue]]), L = {
101
101
  "1600",
102
102
  "1700",
103
103
  "1800"
104
- ], z = (e) => e > 1, ge = [
105
- "accessibility",
106
- "activity",
107
- "add-task",
108
- "agent-assist",
109
- "ai-notes",
110
- "airplay",
111
- "airtable",
112
- "alarm-check",
113
- "alarm-clock-off",
114
- "alarm-minus",
115
- "alarm-plus",
116
- "album",
117
- "alert-circle",
118
- "alert-triangle",
119
- "amex",
120
- "app-store-badge",
121
- "apple",
122
- "archive",
123
- "archive-restore",
124
- "arrow-down",
125
- "arrow-down-left",
126
- "arrow-down-right",
127
- "arrow-left",
128
- "arrow-left-right",
129
- "arrow-right",
130
- "arrow-up",
131
- "arrow-up-down",
132
- "arrow-up-left",
133
- "arrow-up-right",
134
- "asana",
135
- "asterisk",
136
- "at-sign",
137
- "ata-adapter",
138
- "attestation",
139
- "attestation-outline",
140
- "axis-3d",
141
- "bar-chart",
142
- "bar-chart-2",
143
- "bar-chart-3",
144
- "bar-chart-4",
145
- "bar-chart-horizontal",
146
- "barge",
147
- "baseline",
148
- "battery",
149
- "battery-charging",
150
- "battery-full",
151
- "battery-low",
152
- "battery-medium",
153
- "bell",
154
- "bell-minus",
155
- "bell-off",
156
- "bell-plus",
157
- "bell-ring",
158
- "binary",
159
- "bluetooth",
160
- "bluetooth-connected",
161
- "bluetooth-off",
162
- "bluetooth-searching",
163
- "blur-background",
164
- "bold",
165
- "book",
166
- "book-open",
167
- "bookmark",
168
- "bookmark-minus",
169
- "bookmark-plus",
170
- "box",
171
- "box-select",
172
- "boxes",
173
- "branch",
174
- "brand-dialpad",
175
- "brand-dialpad-meetings",
176
- "briefcase",
177
- "building",
178
- "building-2",
179
- "bullhorn",
180
- "calculator",
181
- "calendar",
182
- "calendar-check",
183
- "calendar-check-2",
184
- "calendar-clock",
185
- "calendar-days",
186
- "calendar-heart",
187
- "calendar-minus",
188
- "calendar-off",
189
- "calendar-plus",
190
- "calendar-range",
191
- "calendar-search",
192
- "calendar-x",
193
- "call-abandoned",
194
- "call-merge",
195
- "call-rejected",
196
- "camera",
197
- "camera-off",
198
- "camera-tracking",
199
- "cast",
200
- "check",
201
- "check-circle",
202
- "check-circle-filled",
203
- "chevron-down",
204
- "chevron-first",
205
- "chevron-last",
206
- "chevron-left",
207
- "chevron-right",
208
- "chevron-up",
209
- "chevrons-down",
210
- "chevrons-down-up",
211
- "chevrons-left",
212
- "chevrons-left-right",
213
- "chevrons-right",
214
- "chevrons-right-left",
215
- "chevrons-up",
216
- "chevrons-up-down",
217
- "circle-half-filled",
218
- "circle-slashed",
219
- "clipboard",
220
- "clipboard-check",
221
- "clipboard-copy",
222
- "clipboard-edit",
223
- "clipboard-list",
224
- "clipboard-signature",
225
- "clipboard-type",
226
- "clipboard-x",
227
- "clock",
228
- "clock-1",
229
- "clock-10",
230
- "clock-11",
231
- "clock-12",
232
- "clock-2",
233
- "clock-3",
234
- "clock-4",
235
- "clock-5",
236
- "clock-6",
237
- "clock-7",
238
- "clock-8",
239
- "clock-9",
240
- "clockify",
241
- "close",
242
- "cloud",
243
- "cloud-cog",
244
- "cloud-drizzle",
245
- "cloud-fog",
246
- "cloud-hail",
247
- "cloud-lightning",
248
- "cloud-moon",
249
- "cloud-moon-rain",
250
- "cloud-off",
251
- "cloud-rain",
252
- "cloud-rain-wind",
253
- "cloud-snow",
254
- "cloud-sun",
255
- "cloud-sun-rain",
256
- "cloudy",
257
- "coaching-hub",
258
- "code",
259
- "command",
260
- "concierge-bell",
261
- "contacts",
262
- "copper-crm",
263
- "copy",
264
- "copyright",
265
- "corner-down-left",
266
- "corner-down-right",
267
- "corner-left-down",
268
- "corner-left-up",
269
- "corner-right-down",
270
- "corner-right-up",
271
- "corner-up-left",
272
- "corner-up-right",
273
- "cpu",
274
- "credit-card",
275
- "dash",
276
- "dect-base-station",
277
- "dect-handset",
278
- "delete",
279
- "deskphone",
280
- "dialbot",
281
- "dialer",
282
- "dialpad-ai",
283
- "dialpad-ai-color",
284
- "dialpad-logomark",
285
- "digital-whisper",
286
- "diners-club",
287
- "discover",
288
- "dissatisfied",
289
- "double-check",
290
- "download",
291
- "download-cloud",
292
- "dp-phone",
293
- "edit",
294
- "edit-2",
295
- "empty",
296
- "end-chat",
297
- "equal",
298
- "eraser",
299
- "evernote",
300
- "expand",
301
- "expert-node",
302
- "external-link",
303
- "eye",
304
- "eye-off",
305
- "facebook",
306
- "factory",
307
- "fast-forward",
308
- "file",
309
- "file-audio",
310
- "files",
311
- "film",
312
- "filter",
313
- "fingerprint",
314
- "flag",
315
- "flag-off",
316
- "flame",
317
- "focus",
318
- "folder",
319
- "folder-tree",
320
- "folders",
321
- "food",
322
- "form-input",
323
- "forward",
324
- "freshsales-crm",
325
- "front",
326
- "gamepad",
327
- "gauge",
328
- "gif-filled",
329
- "gif-outline",
330
- "giphy",
331
- "globe-2",
332
- "gmail",
333
- "google-business-messaging",
334
- "google-calendar",
335
- "google-docs",
336
- "google-drive",
337
- "google-glyph",
338
- "google-sheets",
339
- "google-slides",
340
- "greenhouse",
341
- "grid",
342
- "grip-horizontal",
343
- "grip-vertical",
344
- "hand",
345
- "hard-drive",
346
- "hash",
347
- "hash-bold",
348
- "haze",
349
- "hd",
350
- "headphones",
351
- "hear",
352
- "heart",
353
- "help-circle",
354
- "highfive",
355
- "history",
356
- "hold",
357
- "home",
358
- "hourglass",
359
- "hubspot",
360
- "image",
361
- "import",
362
- "inbox",
363
- "indent",
364
- "infinity",
365
- "info",
366
- "inspect",
367
- "instagram",
368
- "intercom",
369
- "isolated-queries",
370
- "italic",
371
- "jcb",
372
- "jira-service-desk",
373
- "key",
374
- "keyboard",
375
- "keypad",
376
- "languages",
377
- "laptop-2",
378
- "large-self-view",
379
- "layout",
380
- "layout-dashboard",
381
- "layout-filmstrip",
382
- "layout-grid",
383
- "layout-template",
384
- "library",
385
- "life-buoy",
386
- "lightbulb",
387
- "lightbulb-off",
388
- "lightning-bolt",
389
- "line-chart",
390
- "line-messenger",
391
- "link-2",
392
- "link-2-off",
393
- "linkedin",
394
- "list-add",
395
- "list-bullet",
396
- "list-checks",
397
- "list-ordered",
398
- "listen",
399
- "listen",
400
- "listening",
401
- "live-queue",
402
- "living-thing",
403
- "loading",
404
- "lock",
405
- "lock-filled",
406
- "log-in",
407
- "log-out",
408
- "maestro",
409
- "mail",
410
- "mail-open",
411
- "mails",
412
- "map",
413
- "map-pin",
414
- "mastercard",
415
- "maximize",
416
- "megaphone",
417
- "megaphone-off",
418
- "menu",
419
- "message",
420
- "messenger",
421
- "mic",
422
- "mic-off",
423
- "microsoft",
424
- "microsoft-dynamics-365",
425
- "microsoft-teams",
426
- "minimize",
427
- "minimize-alt",
428
- "minus-circle",
429
- "miro",
430
- "monday-com",
431
- "monitor",
432
- "monitor-off",
433
- "monitor-speaker",
434
- "moon",
435
- "more-horizontal",
436
- "more-vertical",
437
- "mouse",
438
- "multi-line-dept",
439
- "music",
440
- "music-off",
441
- "network",
442
- "neutral",
443
- "newspaper",
444
- "not-enough-queries",
445
- "notes",
446
- "object",
447
- "office-365",
448
- "option",
449
- "package",
450
- "paperclip",
451
- "park",
452
- "party-popper",
453
- "past-conversations",
454
- "pause",
455
- "pause-circle",
456
- "phone",
457
- "phone-call",
458
- "phone-forward",
459
- "phone-hang-up",
460
- "phone-hang-up",
461
- "phone-hold",
462
- "phone-incoming",
463
- "phone-missed",
464
- "phone-off",
465
- "phone-outgoing",
466
- "picture-in-picture",
467
- "pie-chart",
468
- "pin",
469
- "pin-off",
470
- "pipedrive",
471
- "play",
472
- "play-circle",
473
- "play-filled",
474
- "play-store-badge",
475
- "plug",
476
- "plus",
477
- "plus-circle",
478
- "power",
479
- "print-fax",
480
- "printer",
481
- "puzzle",
482
- "qr-code",
483
- "queries",
484
- "quote",
485
- "record",
486
- "record-filled",
487
- "redo",
488
- "refresh",
489
- "repeat",
490
- "reply",
491
- "reply-all",
492
- "rewind",
493
- "rewind-15-sec",
494
- "salesforce-glyph",
495
- "salesforce-logo",
496
- "satisfied",
497
- "save",
498
- "scan",
499
- "scan-face",
500
- "scissors",
501
- "screen-share-off",
502
- "scroll",
503
- "search",
504
- "send",
505
- "servicenow",
506
- "settings",
507
- "share",
508
- "share-2",
509
- "share-screen",
510
- "sheet",
511
- "shield",
512
- "shield-alert",
513
- "shield-check",
514
- "shield-close",
515
- "shield-off",
516
- "shortcuts",
517
- "shuffle",
518
- "sidebar",
519
- "sidebar-close",
520
- "sidebar-open",
521
- "signal-best",
522
- "signal-high",
523
- "signal-low",
524
- "signal-medium",
525
- "signal-zero",
526
- "siren",
527
- "skip-15-sec",
528
- "skip-back",
529
- "skip-back-ten",
530
- "skip-forward",
531
- "skip-forward-ten",
532
- "slack",
533
- "slash",
534
- "sliders",
535
- "sliders-horizontal",
536
- "small-self-view",
537
- "smartphone",
538
- "smartphone-charging",
539
- "snapchat",
540
- "snooze",
541
- "snowflake",
542
- "somewhat-dissatisfied",
543
- "somewhat-satisfied",
544
- "sort-asc",
545
- "sort-desc",
546
- "sparkle",
547
- "speaker",
548
- "star",
549
- "star-filled",
550
- "sticker",
551
- "stop-circle",
552
- "stop-filled",
553
- "strikethrough",
554
- "sun",
555
- "sun-dim",
556
- "sun-medium",
557
- "sunrise",
558
- "sunset",
559
- "switch-to-cellular",
560
- "switch-to-hd",
561
- "table",
562
- "tag",
563
- "tags",
564
- "takeover",
565
- "task",
566
- "telegram",
567
- "text-cursor",
568
- "text-cursor-input",
569
- "thermometer",
570
- "thermometer-snowflake",
571
- "thermometer-sun",
572
- "thread",
573
- "threads",
574
- "thumbs-down",
575
- "thumbs-up",
576
- "tiktok",
577
- "timer",
578
- "timer-off",
579
- "timer-reset",
580
- "toggl",
581
- "too-many-queries",
582
- "tools",
583
- "toy-brick",
584
- "transfer",
585
- "transfer-webchat",
586
- "transportation",
587
- "trash",
588
- "trending-down",
589
- "trending-up",
590
- "triangle",
591
- "twitter",
592
- "type",
593
- "umbrella",
594
- "underline",
595
- "undo-2",
596
- "union-pay",
597
- "unlink-2",
598
- "unlock",
599
- "unlock-filled",
600
- "unread",
601
- "upload",
602
- "upload-cloud",
603
- "usb",
604
- "user",
605
- "user-check",
606
- "user-minus",
607
- "user-plus",
608
- "user-rematch",
609
- "user-remove",
610
- "users",
611
- "very-dissatisfied",
612
- "very-satisfied",
613
- "viber",
614
- "video",
615
- "video-off",
616
- "video-settings",
617
- "visa",
618
- "voicemail",
619
- "voicemail-drop",
620
- "volume",
621
- "volume-1",
622
- "volume-2",
623
- "volume-x",
624
- "waveform",
625
- "we-chat",
626
- "webcam",
627
- "webchat",
628
- "whatsapp",
629
- "whisper",
630
- "wifi",
631
- "wifi-off",
632
- "wind",
633
- "x-brand",
634
- "x-circle",
635
- "zap-off",
636
- "zendesk",
637
- "zoho",
638
- "zoho-crm",
639
- "zoho-desk",
640
- "zoom",
641
- "zoom-in",
642
- "zoom-logo",
643
- "zoom-out"
644
- ];
645
- function ve() {
646
- return [void 0, ...ge];
104
+ ], H = (e) => e > 1;
105
+ function _e() {
106
+ return [void 0, ...ae];
647
107
  }
648
- const be = (e) => {
108
+ const ge = (e) => {
649
109
  if (typeof e != "string" || !e.trim())
650
110
  return "";
651
111
  const t = e.trim().split(/\s+/g);
652
112
  return t.length === 1 ? t.join("").substring(0, 2) : t.filter((s, i) => i === 0 || i === t.length - 1).map((s) => s.slice(0, 1).toUpperCase()).join("");
653
- }, _e = ve(), ke = {
113
+ }, Ee = _e(), be = {
654
114
  name: "DtAvatar",
655
- components: { DtPresence: he, DtIcon: P },
115
+ components: { DtPresence: fe, DtIcon: k },
656
116
  inheritAttrs: !1,
657
117
  props: {
658
118
  /**
@@ -718,8 +178,8 @@ const be = (e) => {
718
178
  */
719
179
  presence: {
720
180
  type: String,
721
- default: F.NONE,
722
- validator: (e) => Object.values(F).includes(e)
181
+ default: V.NONE,
182
+ validator: (e) => Object.values(V).includes(e)
723
183
  },
724
184
  /**
725
185
  * A set of props to be passed into the presence component.
@@ -736,7 +196,7 @@ const be = (e) => {
736
196
  group: {
737
197
  type: Number,
738
198
  default: void 0,
739
- validator: (e) => z(e)
199
+ validator: (e) => H(e)
740
200
  },
741
201
  /**
742
202
  * The icon that overlays the avatar
@@ -780,7 +240,7 @@ const be = (e) => {
780
240
  iconName: {
781
241
  type: String,
782
242
  default: void 0,
783
- validator: (e) => _e.includes(e)
243
+ validator: (e) => Ee.includes(e)
784
244
  },
785
245
  /**
786
246
  * Icon size to be displayed on the avatar
@@ -789,7 +249,7 @@ const be = (e) => {
789
249
  iconSize: {
790
250
  type: String,
791
251
  default: "",
792
- validator: (e) => !e || Object.keys(ae).includes(e)
252
+ validator: (e) => !e || Object.keys(oe).includes(e)
793
253
  },
794
254
  /**
795
255
  * Full name used to extract initials and set alt attribute.
@@ -820,8 +280,8 @@ const be = (e) => {
820
280
  return {
821
281
  AVATAR_SIZE_MODIFIERS: L,
822
282
  AVATAR_KIND_MODIFIERS: pe,
823
- AVATAR_PRESENCE_SIZE_MODIFIERS: fe,
824
- AVATAR_ICON_SIZES: me,
283
+ AVATAR_PRESENCE_SIZE_MODIFIERS: me,
284
+ AVATAR_ICON_SIZES: ye,
825
285
  imageLoadedSuccessfully: null,
826
286
  formattedInitials: "",
827
287
  initializing: !1
@@ -850,7 +310,7 @@ const be = (e) => {
850
310
  ];
851
311
  },
852
312
  showGroup() {
853
- return z(this.group);
313
+ return H(this.group);
854
314
  },
855
315
  formattedGroup() {
856
316
  return this.group > 99 ? "99+" : this.group;
@@ -887,11 +347,11 @@ const be = (e) => {
887
347
  e && (e.addEventListener("load", () => this._loadedImageEventHandler(e), { once: !0 }), e.addEventListener("error", () => this._erroredImageEventHandler(e), { once: !0 }));
888
348
  },
889
349
  formatInitials(e) {
890
- const t = be(e);
350
+ const t = ge(e);
891
351
  this.validatedSize === "xs" ? this.formattedInitials = "" : this.validatedSize === "sm" ? this.formattedInitials = t[0] : this.formattedInitials = t;
892
352
  },
893
353
  getColor() {
894
- return this.color ?? U(ye, this.seed);
354
+ return this.color ?? U(ve, this.seed);
895
355
  },
896
356
  _loadedImageEventHandler(e) {
897
357
  this.imageLoadedSuccessfully = !0, e.classList.remove("d-d-none");
@@ -907,25 +367,25 @@ const be = (e) => {
907
367
  this.clickable && this.$emit("click", e);
908
368
  }
909
369
  }
910
- }, Ee = ["src", "alt"], Se = {
370
+ }, Se = ["src", "alt"], Ce = {
911
371
  key: 1,
912
372
  class: "d-avatar__overlay-text"
913
- }, we = {
373
+ }, Oe = {
914
374
  key: 1,
915
375
  class: "d-avatar__count",
916
376
  "data-qa": "dt-avatar-count"
917
377
  };
918
- function Ce(e, t, s, i, a, o) {
919
- const f = m("dt-icon"), g = m("dt-presence");
920
- return n(), h(k(s.clickable ? "button" : "div"), {
378
+ function Ie(e, t, s, i, a, n) {
379
+ const p = m("dt-icon"), v = m("dt-presence");
380
+ return o(), h(b(s.clickable ? "button" : "div"), {
921
381
  id: s.id,
922
- class: u(o.avatarClasses),
382
+ class: u(n.avatarClasses),
923
383
  "data-qa": "dt-avatar",
924
- "aria-label": o.buttonAriaLabel,
925
- onClick: o.handleClick
384
+ "aria-label": n.buttonAriaLabel,
385
+ onClick: n.handleClick
926
386
  }, {
927
- default: p(() => [
928
- _("div", {
387
+ default: f(() => [
388
+ E("div", {
929
389
  ref: "canvas",
930
390
  class: u([
931
391
  s.canvasClass,
@@ -933,36 +393,36 @@ function Ce(e, t, s, i, a, o) {
933
393
  { "d-avatar--image-loaded": a.imageLoadedSuccessfully }
934
394
  ])
935
395
  }, [
936
- o.showImage ? (n(), l("img", {
396
+ n.showImage ? (o(), r("img", {
937
397
  key: 0,
938
398
  ref: "avatarImage",
939
399
  class: "d-avatar__image",
940
400
  "data-qa": "dt-avatar-image",
941
401
  src: s.imageSrc,
942
402
  alt: s.imageAlt || s.fullName
943
- }, null, 8, Ee)) : s.iconName ? (n(), h(f, {
403
+ }, null, 8, Se)) : s.iconName ? (o(), h(p, {
944
404
  key: 1,
945
405
  name: s.iconName,
946
406
  size: s.iconSize || a.AVATAR_ICON_SIZES[s.size],
947
407
  class: u([s.iconClass, a.AVATAR_KIND_MODIFIERS.icon]),
948
408
  "data-qa": "dt-avatar-icon"
949
- }, null, 8, ["name", "size", "class"])) : (n(), l("span", {
409
+ }, null, 8, ["name", "size", "class"])) : (o(), r("span", {
950
410
  key: 2,
951
411
  class: u([a.AVATAR_KIND_MODIFIERS.initials])
952
- }, O(a.formattedInitials), 3))
412
+ }, T(a.formattedInitials), 3))
953
413
  ], 2),
954
- s.overlayIcon || s.overlayText ? (n(), l("div", {
414
+ s.overlayIcon || s.overlayText ? (o(), r("div", {
955
415
  key: 0,
956
- class: u(o.overlayClasses)
416
+ class: u(n.overlayClasses)
957
417
  }, [
958
- s.overlayIcon ? (n(), h(f, {
418
+ s.overlayIcon ? (o(), h(p, {
959
419
  key: 0,
960
420
  class: "d-avatar__overlay-icon",
961
421
  name: s.overlayIcon
962
- }, null, 8, ["name"])) : s.overlayText ? (n(), l("p", Se, O(s.overlayText), 1)) : d("", !0)
422
+ }, null, 8, ["name"])) : s.overlayText ? (o(), r("p", Ce, T(s.overlayText), 1)) : d("", !0)
963
423
  ], 2)) : d("", !0),
964
- o.showGroup ? (n(), l("span", we, O(o.formattedGroup), 1)) : d("", !0),
965
- s.presence && !o.showGroup ? (n(), h(g, T({
424
+ n.showGroup ? (o(), r("span", Oe, T(n.formattedGroup), 1)) : d("", !0),
425
+ s.presence && !n.showGroup ? (o(), h(v, w({
966
426
  key: 2,
967
427
  presence: s.presence,
968
428
  class: [
@@ -974,7 +434,7 @@ function Ce(e, t, s, i, a, o) {
974
434
  _: 1
975
435
  }, 8, ["id", "class", "aria-label", "onClick"]);
976
436
  }
977
- const mt = /* @__PURE__ */ y(ke, [["render", Ce]]), Oe = {
437
+ const mt = /* @__PURE__ */ y(be, [["render", Ie]]), Te = {
978
438
  name: "DtLink",
979
439
  props: {
980
440
  /**
@@ -985,18 +445,18 @@ const mt = /* @__PURE__ */ y(ke, [["render", Ce]]), Oe = {
985
445
  type: String,
986
446
  default: "",
987
447
  validator(e) {
988
- return ne.includes(e);
448
+ return ie.includes(e);
989
449
  }
990
450
  }
991
451
  },
992
452
  data() {
993
453
  return {
994
- LINK_KIND_MODIFIERS: ie
454
+ LINK_KIND_MODIFIERS: le
995
455
  };
996
456
  }
997
- }, Ie = ["href"];
998
- function Te(e, t, s, i, a, o) {
999
- return n(), l("a", {
457
+ }, Ae = ["href"];
458
+ function we(e, t, s, i, a, n) {
459
+ return o(), r("a", {
1000
460
  class: u([
1001
461
  "d-link",
1002
462
  a.LINK_KIND_MODIFIERS[s.kind]
@@ -1005,9 +465,9 @@ function Te(e, t, s, i, a, o) {
1005
465
  href: "href" in e.$attrs ? e.$attrs.href : "javascript:void(0)"
1006
466
  }, [
1007
467
  c(e.$slots, "default")
1008
- ], 10, Ie);
468
+ ], 10, Ae);
1009
469
  }
1010
- const yt = /* @__PURE__ */ y(Oe, [["render", Te]]), Ae = {
470
+ const yt = /* @__PURE__ */ y(Te, [["render", we]]), Pe = {
1011
471
  props: {
1012
472
  /**
1013
473
  * If true, a hidden close button is included for screen readers
@@ -1046,11 +506,11 @@ const yt = /* @__PURE__ */ y(Oe, [["render", Te]]), Ae = {
1046
506
  a visually hidden close button and you must set the visuallyHiddenCloseLabel prop.`);
1047
507
  }
1048
508
  }
1049
- }, Pe = {
509
+ }, ke = {
1050
510
  name: "SrOnlyCloseButton",
1051
511
  components: {
1052
- DtIcon: P,
1053
- DtButton: K
512
+ DtIcon: k,
513
+ DtButton: z
1054
514
  },
1055
515
  props: {
1056
516
  /**
@@ -1069,23 +529,23 @@ const yt = /* @__PURE__ */ y(Oe, [["render", Te]]), Ae = {
1069
529
  }
1070
530
  }
1071
531
  };
1072
- function Le(e, t, s, i, a, o) {
1073
- const f = m("dt-icon"), g = m("dt-button");
1074
- return n(), h(g, {
532
+ function Le(e, t, s, i, a, n) {
533
+ const p = m("dt-icon"), v = m("dt-button");
534
+ return o(), h(v, {
1075
535
  id: "sr-only-close-button",
1076
536
  "data-qa": "dt-sr-only-close-button",
1077
537
  class: "d-vi-visible-sr",
1078
538
  "aria-label": s.visuallyHiddenCloseLabel,
1079
- onClick: o.close,
1080
- onKeydown: b(I(o.close, ["prevent", "stop"]), ["space"])
539
+ onClick: n.close,
540
+ onKeydown: g(A(n.close, ["prevent", "stop"]), ["space"])
1081
541
  }, {
1082
- default: p(() => [
1083
- A(f, { name: "close" })
542
+ default: f(() => [
543
+ P(p, { name: "close" })
1084
544
  ]),
1085
545
  _: 1
1086
546
  }, 8, ["aria-label", "onClick", "onKeydown"]);
1087
547
  }
1088
- const De = /* @__PURE__ */ y(Pe, [["render", Le]]), W = ':not(:disabled):not([aria-disabled="true"]):not([role="presentation"])', Ne = `${W}:not([tabindex="-1"])`, Re = "button,[href],input,select,textarea,details,[tabindex]", xe = {
548
+ const De = /* @__PURE__ */ y(ke, [["render", Le]]), W = ':not(:disabled):not([aria-disabled="true"]):not([role="presentation"])', Ne = `${W}:not([tabindex="-1"])`, Re = "button,[href],input,select,textarea,details,[tabindex]", Fe = {
1089
549
  methods: {
1090
550
  /**
1091
551
  * get the first focusable element in your component, includes tabindex="-1".
@@ -1148,18 +608,18 @@ const De = /* @__PURE__ */ y(Pe, [["render", Le]]), W = ':not(:disabled):not([ar
1148
608
  e.preventDefault();
1149
609
  return;
1150
610
  }
1151
- const a = this._getFirstFocusElement(i), o = i[i.length - 1];
1152
- e.shiftKey ? document.activeElement === a && (o.focus(), e.preventDefault()) : document.activeElement === o && (a.focus(), e.preventDefault());
611
+ const a = this._getFirstFocusElement(i), n = i[i.length - 1];
612
+ e.shiftKey ? document.activeElement === a && (n.focus(), e.preventDefault()) : document.activeElement === n && (a.focus(), e.preventDefault());
1153
613
  }
1154
614
  }
1155
615
  }, D = {
1156
616
  DEFAULT: "default",
1157
617
  CUSTOM: "custom"
1158
- }, C = {
618
+ }, I = {
1159
619
  ARROW_KEYS: "arrow-keys",
1160
620
  TAB: "tab",
1161
621
  NONE: "none"
1162
- }, Fe = {
622
+ }, Ve = {
1163
623
  name: "DtItemLayout",
1164
624
  props: {
1165
625
  /**
@@ -1170,18 +630,18 @@ const De = /* @__PURE__ */ y(Pe, [["render", Le]]), W = ':not(:disabled):not([ar
1170
630
  default: "div"
1171
631
  }
1172
632
  }
1173
- }, ze = {
633
+ }, He = {
1174
634
  key: 0,
1175
635
  "data-qa": "dt-item-layout-left-wrapper",
1176
636
  class: "dt-item-layout--left"
1177
- }, Ve = {
637
+ }, Be = {
1178
638
  "data-qa": "dt-item-layout-content-wrapper",
1179
639
  class: "dt-item-layout--content"
1180
- }, He = {
640
+ }, xe = {
1181
641
  key: 0,
1182
642
  "data-qa": "dt-item-layout-title-wrapper",
1183
643
  class: "dt-item-layout--title"
1184
- }, Be = {
644
+ }, Me = {
1185
645
  key: 2,
1186
646
  "data-qa": "dt-item-layout-bottom-wrapper",
1187
647
  class: "dt-item-layout--bottom"
@@ -1189,47 +649,47 @@ const De = /* @__PURE__ */ y(Pe, [["render", Le]]), W = ':not(:disabled):not([ar
1189
649
  key: 1,
1190
650
  "data-qa": "dt-item-layout-right-wrapper",
1191
651
  class: "dt-item-layout--right"
1192
- }, Me = {
652
+ }, je = {
1193
653
  key: 2,
1194
654
  "data-qa": "dt-item-layout-selected-wrapper",
1195
655
  class: "dt-item-layout--selected"
1196
656
  };
1197
- function je(e, t, s, i, a, o) {
1198
- return n(), h(k(s.as), { class: "dt-item-layout" }, {
1199
- default: p(() => [
1200
- e.$slots.left ? (n(), l("section", ze, [
657
+ function Ke(e, t, s, i, a, n) {
658
+ return o(), h(b(s.as), { class: "dt-item-layout" }, {
659
+ default: f(() => [
660
+ e.$slots.left ? (o(), r("section", He, [
1201
661
  c(e.$slots, "left", {}, void 0, !0)
1202
662
  ])) : d("", !0),
1203
- _("section", Ve, [
1204
- e.$slots.default ? (n(), l("div", He, [
663
+ E("section", Be, [
664
+ e.$slots.default ? (o(), r("div", xe, [
1205
665
  c(e.$slots, "default", {}, void 0, !0)
1206
666
  ])) : d("", !0),
1207
- e.$slots.subtitle ? (n(), l("div", {
667
+ e.$slots.subtitle ? (o(), r("div", {
1208
668
  key: 1,
1209
669
  "data-qa": "dt-item-layout-subtitle-wrapper",
1210
670
  class: u(["dt-item-layout--subtitle", { "dt-item-layout--subtitle--with-title": e.$slots.default }])
1211
671
  }, [
1212
672
  c(e.$slots, "subtitle", {}, void 0, !0)
1213
673
  ], 2)) : d("", !0),
1214
- e.$slots.bottom ? (n(), l("div", Be, [
674
+ e.$slots.bottom ? (o(), r("div", Me, [
1215
675
  c(e.$slots, "bottom", {}, void 0, !0)
1216
676
  ])) : d("", !0)
1217
677
  ]),
1218
- e.$slots.right ? (n(), l("section", qe, [
678
+ e.$slots.right ? (o(), r("section", qe, [
1219
679
  c(e.$slots, "right", {}, void 0, !0)
1220
680
  ])) : d("", !0),
1221
- e.$slots.selected ? (n(), l("section", Me, [
681
+ e.$slots.selected ? (o(), r("section", je, [
1222
682
  c(e.$slots, "selected", {}, void 0, !0)
1223
683
  ])) : d("", !0)
1224
684
  ]),
1225
685
  _: 3
1226
686
  });
1227
687
  }
1228
- const V = /* @__PURE__ */ y(Fe, [["render", je], ["__scopeId", "data-v-411cb81e"]]), Ke = {
688
+ const B = /* @__PURE__ */ y(Ve, [["render", Ke], ["__scopeId", "data-v-411cb81e"]]), ze = {
1229
689
  name: "DtListItem",
1230
690
  components: {
1231
- DtItemLayout: V,
1232
- DtIcon: P
691
+ DtItemLayout: B,
692
+ DtIcon: k
1233
693
  },
1234
694
  /**
1235
695
  * Value provided from keyboard_list_navigation.js using id prop.
@@ -1279,8 +739,8 @@ const V = /* @__PURE__ */ y(Fe, [["render", je], ["__scopeId", "data-v-411cb81e"
1279
739
  */
1280
740
  navigationType: {
1281
741
  type: String,
1282
- default: C.NONE,
1283
- validator: (e) => Object.values(C).includes(e)
742
+ default: I.NONE,
743
+ validator: (e) => Object.values(I).includes(e)
1284
744
  },
1285
745
  /**
1286
746
  * Applies selected styles to the list item
@@ -1329,7 +789,7 @@ const V = /* @__PURE__ */ y(Fe, [["render", je], ["__scopeId", "data-v-411cb81e"
1329
789
  listItemType() {
1330
790
  switch (this.type) {
1331
791
  case D.DEFAULT:
1332
- return V;
792
+ return B;
1333
793
  default:
1334
794
  return null;
1335
795
  }
@@ -1355,13 +815,13 @@ const V = /* @__PURE__ */ y(Fe, [["render", je], ["__scopeId", "data-v-411cb81e"
1355
815
  return this.isHoverable ? this.highlightId && this.highlightId() ? this.id === this.highlightId() : this.mouseHighlighted : !1;
1356
816
  },
1357
817
  isFocusable() {
1358
- return this.navigationType === C.TAB;
818
+ return this.navigationType === I.TAB;
1359
819
  },
1360
820
  /**
1361
821
  * Whether to apply hover styles.
1362
822
  */
1363
823
  isHoverable() {
1364
- return this.navigationType !== C.NONE;
824
+ return this.navigationType !== I.NONE;
1365
825
  }
1366
826
  },
1367
827
  methods: {
@@ -1376,31 +836,31 @@ const V = /* @__PURE__ */ y(Fe, [["render", je], ["__scopeId", "data-v-411cb81e"
1376
836
  }
1377
837
  }
1378
838
  };
1379
- function We(e, t, s, i, a, o) {
1380
- const f = m("dt-icon");
1381
- return n(), h(k(s.elementType), T({
839
+ function We(e, t, s, i, a, n) {
840
+ const p = m("dt-icon");
841
+ return o(), h(b(s.elementType), w({
1382
842
  id: s.id,
1383
843
  class: ["dt-list-item", {
1384
- "dt-list-item--focusable": o.isFocusable,
1385
- "dt-list-item--highlighted": o.isHighlighted,
1386
- "dt-list-item--static": !o.isHoverable
844
+ "dt-list-item--focusable": n.isFocusable,
845
+ "dt-list-item--highlighted": n.isHighlighted,
846
+ "dt-list-item--static": !n.isHoverable
1387
847
  }],
1388
- tabindex: o.isFocusable ? 0 : -1,
848
+ tabindex: n.isFocusable ? 0 : -1,
1389
849
  role: s.role,
1390
- "aria-selected": o.isHighlighted
1391
- }, j(o.listItemListeners)), {
1392
- default: p(() => [
1393
- o.listItemType ? (n(), h(k(o.listItemType), { key: 0 }, te({ _: 2 }, [
1394
- se(e.$slots, (g, E) => ({
1395
- name: E,
1396
- fn: p(() => [
1397
- c(e.$slots, E)
850
+ "aria-selected": n.isHighlighted
851
+ }, K(n.listItemListeners)), {
852
+ default: f(() => [
853
+ n.listItemType ? (o(), h(b(n.listItemType), { key: 0 }, te({ _: 2 }, [
854
+ se(e.$slots, (v, S) => ({
855
+ name: S,
856
+ fn: f(() => [
857
+ c(e.$slots, S)
1398
858
  ])
1399
859
  })),
1400
860
  s.selected ? {
1401
861
  name: "selected",
1402
- fn: p(() => [
1403
- A(f, {
862
+ fn: f(() => [
863
+ P(p, {
1404
864
  name: "check",
1405
865
  size: "400",
1406
866
  class: "dt-list-item--selected-icon"
@@ -1413,13 +873,13 @@ function We(e, t, s, i, a, o) {
1413
873
  _: 3
1414
874
  }, 16, ["id", "class", "tabindex", "role", "aria-selected"]);
1415
875
  }
1416
- const gt = /* @__PURE__ */ y(Ke, [["render", We]]), v = {
876
+ const vt = /* @__PURE__ */ y(ze, [["render", We]]), _ = {
1417
877
  default: "column",
1418
878
  column: "column",
1419
879
  row: "row",
1420
880
  "row-reverse": "row-reverse",
1421
881
  "column-reverse": "column-reverse"
1422
- }, G = ["sm", "md", "lg", "xl"], R = ["0", "100", "200", "300", "400", "500", "600"], H = {
882
+ }, G = ["sm", "md", "lg", "xl"], R = ["0", "100", "200", "300", "400", "500", "600"], x = {
1423
883
  none: void 0,
1424
884
  small: "d-p4",
1425
885
  medium: "d-p8",
@@ -1431,13 +891,13 @@ const gt = /* @__PURE__ */ y(Ke, [["render", We]]), v = {
1431
891
  large: "d-pl16"
1432
892
  }, Ue = ["dialog", "menu", "listbox", "tree", "grid"], Ye = ["", "anchor"], $e = ["none", "dialog", "first"], Ze = ["parent", "body"], Xe = [
1433
893
  ...$
1434
- ], vt = [
894
+ ], _t = [
1435
895
  ...Z
1436
896
  ], Je = {
1437
897
  name: "PopoverHeaderFooter",
1438
898
  components: {
1439
- DtButton: K,
1440
- DtIcon: P
899
+ DtButton: z,
900
+ DtIcon: k
1441
901
  },
1442
902
  props: {
1443
903
  // eslint-disable-next-line vue/require-default-prop
@@ -1483,7 +943,7 @@ const gt = /* @__PURE__ */ y(Ke, [["render", We]]), v = {
1483
943
  ],
1484
944
  data() {
1485
945
  return {
1486
- hasSlotContent: M
946
+ hasSlotContent: j
1487
947
  };
1488
948
  },
1489
949
  methods: {
@@ -1494,16 +954,16 @@ const gt = /* @__PURE__ */ y(Ke, [["render", We]]), v = {
1494
954
  }
1495
955
  }
1496
956
  };
1497
- function Qe(e, t, s, i, a, o) {
1498
- const f = m("dt-icon"), g = m("dt-button");
1499
- return n(), l("div", {
957
+ function Qe(e, t, s, i, a, n) {
958
+ const p = m("dt-icon"), v = m("dt-button");
959
+ return o(), r("div", {
1500
960
  "data-qa": "dt-popover-header-footer",
1501
961
  class: u({
1502
962
  "d-popover__header": s.type === "header",
1503
963
  "d-popover__footer": s.type === "footer"
1504
964
  })
1505
965
  }, [
1506
- a.hasSlotContent(e.$slots.content) ? (n(), l("div", {
966
+ a.hasSlotContent(e.$slots.content) ? (o(), r("div", {
1507
967
  key: 0,
1508
968
  "data-qa": "dt-popover-header-footer-content",
1509
969
  class: u([{
@@ -1513,7 +973,7 @@ function Qe(e, t, s, i, a, o) {
1513
973
  }, [
1514
974
  c(e.$slots, "content")
1515
975
  ], 2)) : d("", !0),
1516
- s.showCloseButton ? (n(), h(g, T({
976
+ s.showCloseButton ? (o(), h(v, w({
1517
977
  key: 1,
1518
978
  ref: "popover__close-button",
1519
979
  "data-qa": "dt-popover-close",
@@ -1525,10 +985,10 @@ function Qe(e, t, s, i, a, o) {
1525
985
  kind: "muted",
1526
986
  circle: ""
1527
987
  }, s.closeButtonProps, {
1528
- onClick: t[0] || (t[0] = (E) => e.$emit("close"))
988
+ onClick: t[0] || (t[0] = (S) => e.$emit("close"))
1529
989
  }), {
1530
- icon: p(() => [
1531
- A(f, {
990
+ icon: f(() => [
991
+ P(p, {
1532
992
  name: "close",
1533
993
  size: "300"
1534
994
  })
@@ -1547,7 +1007,7 @@ const et = /* @__PURE__ */ y(Je, [["render", Qe]]), tt = {
1547
1007
  DtLazyShow: X,
1548
1008
  PopoverHeaderFooter: et
1549
1009
  },
1550
- mixins: [xe, Ae],
1010
+ mixins: [Fe, Pe],
1551
1011
  props: {
1552
1012
  /**
1553
1013
  * Controls whether the popover is shown. Leaving this null will have the popover trigger on click by default.
@@ -1626,7 +1086,7 @@ const et = /* @__PURE__ */ y(Je, [["render", Qe]]), tt = {
1626
1086
  padding: {
1627
1087
  type: String,
1628
1088
  default: "large",
1629
- validator: (e) => Object.keys(H).some((t) => t === e)
1089
+ validator: (e) => Object.keys(x).some((t) => t === e)
1630
1090
  },
1631
1091
  /**
1632
1092
  * Additional class name for the content wrapper element.
@@ -1888,7 +1348,7 @@ const et = /* @__PURE__ */ y(Je, [["render", Qe]]), tt = {
1888
1348
  ],
1889
1349
  data() {
1890
1350
  return {
1891
- POPOVER_PADDING_CLASSES: H,
1351
+ POPOVER_PADDING_CLASSES: x,
1892
1352
  POPOVER_HEADER_FOOTER_PADDING_CLASSES: Ge,
1893
1353
  intersectionObserver: null,
1894
1354
  isOutsideViewport: !1,
@@ -1896,7 +1356,7 @@ const et = /* @__PURE__ */ y(Je, [["render", Qe]]), tt = {
1896
1356
  toAppear: !1,
1897
1357
  anchorEl: null,
1898
1358
  popoverContentEl: null,
1899
- hasSlotContent: M,
1359
+ hasSlotContent: j,
1900
1360
  inTimer: null,
1901
1361
  outTimer: null
1902
1362
  };
@@ -2140,12 +1600,12 @@ const et = /* @__PURE__ */ y(Je, [["render", Qe]]), tt = {
2140
1600
  setInTimer() {
2141
1601
  this.inTimer = setTimeout(() => {
2142
1602
  this.isOpen = !0;
2143
- }, x);
1603
+ }, F);
2144
1604
  },
2145
1605
  setOutTimer() {
2146
1606
  this.outTimer = setTimeout(() => {
2147
1607
  this.isOpen = !1;
2148
- }, x);
1608
+ }, F);
2149
1609
  },
2150
1610
  onEnterAnchor(e) {
2151
1611
  this.hovercard && (clearTimeout(this.outTimer), this.setInTimer(e));
@@ -2163,43 +1623,43 @@ const et = /* @__PURE__ */ y(Je, [["render", Qe]]), tt = {
2163
1623
  // $ HOVERCARD
2164
1624
  // ----------------------------------------------------------------------------
2165
1625
  }
2166
- }, st = ["aria-hidden"], ot = ["id", "tabindex"];
2167
- function at(e, t, s, i, a, o) {
2168
- const f = m("popover-header-footer"), g = m("sr-only-close-button"), E = m("dt-lazy-show");
2169
- return n(), l("div", null, [
2170
- s.modal && a.isOpen ? (n(), h(oe, {
1626
+ }, st = ["aria-hidden"], nt = ["id", "tabindex"];
1627
+ function at(e, t, s, i, a, n) {
1628
+ const p = m("popover-header-footer"), v = m("sr-only-close-button"), S = m("dt-lazy-show");
1629
+ return o(), r("div", null, [
1630
+ s.modal && a.isOpen ? (o(), h(ne, {
2171
1631
  key: 0,
2172
1632
  to: "body"
2173
1633
  }, [
2174
- _("div", {
1634
+ E("div", {
2175
1635
  class: "d-modal--transparent",
2176
1636
  "aria-hidden": s.modal && a.isOpen ? "false" : "true",
2177
- onClick: t[0] || (t[0] = I(() => {
1637
+ onClick: t[0] || (t[0] = A(() => {
2178
1638
  }, ["prevent", "stop"]))
2179
1639
  }, null, 8, st)
2180
1640
  ])) : d("", !0),
2181
- (n(), h(k(s.elementType), {
1641
+ (o(), h(b(s.elementType), {
2182
1642
  ref: "popover",
2183
1643
  class: u(["d-popover", { "d-popover__anchor--opened": a.isOpen }]),
2184
1644
  "data-qa": "dt-popover-container"
2185
1645
  }, {
2186
- default: p(() => [
2187
- _("div", {
2188
- id: !s.ariaLabelledby && o.labelledBy,
1646
+ default: f(() => [
1647
+ E("div", {
1648
+ id: !s.ariaLabelledby && n.labelledBy,
2189
1649
  ref: "anchor",
2190
1650
  "data-qa": "dt-popover-anchor",
2191
1651
  tabindex: s.openOnContext ? 0 : void 0,
2192
- onClickCapture: t[1] || (t[1] = (...r) => o.defaultToggleOpen && o.defaultToggleOpen(...r)),
2193
- onContextmenu: t[2] || (t[2] = (...r) => o.onContext && o.onContext(...r)),
1652
+ onClickCapture: t[1] || (t[1] = (...l) => n.defaultToggleOpen && n.defaultToggleOpen(...l)),
1653
+ onContextmenu: t[2] || (t[2] = (...l) => n.onContext && n.onContext(...l)),
2194
1654
  onKeydown: [
2195
- t[3] || (t[3] = b(I((...r) => o.onArrowKeyPress && o.onArrowKeyPress(...r), ["prevent"]), ["up"])),
2196
- t[4] || (t[4] = b(I((...r) => o.onArrowKeyPress && o.onArrowKeyPress(...r), ["prevent"]), ["down"])),
2197
- t[6] || (t[6] = b((r) => e.$emit("keydown", r), ["enter"])),
2198
- t[7] || (t[7] = b((r) => e.$emit("keydown", r), ["space"]))
1655
+ t[3] || (t[3] = g(A((...l) => n.onArrowKeyPress && n.onArrowKeyPress(...l), ["prevent"]), ["up"])),
1656
+ t[4] || (t[4] = g(A((...l) => n.onArrowKeyPress && n.onArrowKeyPress(...l), ["prevent"]), ["down"])),
1657
+ t[6] || (t[6] = g((l) => e.$emit("keydown", l), ["enter"])),
1658
+ t[7] || (t[7] = g((l) => e.$emit("keydown", l), ["space"]))
2199
1659
  ],
2200
- onKeydownCapture: t[5] || (t[5] = b((...r) => o.closePopover && o.closePopover(...r), ["escape"])),
2201
- onMouseenter: t[8] || (t[8] = (...r) => o.onEnterAnchor && o.onEnterAnchor(...r)),
2202
- onMouseleave: t[9] || (t[9] = (...r) => o.onLeaveAnchor && o.onLeaveAnchor(...r))
1660
+ onKeydownCapture: t[5] || (t[5] = g((...l) => n.closePopover && n.closePopover(...l), ["escape"])),
1661
+ onMouseenter: t[8] || (t[8] = (...l) => n.onEnterAnchor && n.onEnterAnchor(...l)),
1662
+ onMouseleave: t[9] || (t[9] = (...l) => n.onLeaveAnchor && n.onLeaveAnchor(...l))
2203
1663
  }, [
2204
1664
  c(e.$slots, "anchor", {
2205
1665
  attrs: {
@@ -2208,14 +1668,14 @@ function at(e, t, s, i, a, o) {
2208
1668
  "aria-haspopup": s.role
2209
1669
  }
2210
1670
  })
2211
- ], 40, ot),
2212
- A(E, T({
1671
+ ], 40, nt),
1672
+ P(S, w({
2213
1673
  id: s.id,
2214
1674
  ref: "content",
2215
1675
  role: s.role,
2216
1676
  "data-qa": "dt-popover",
2217
1677
  "aria-hidden": `${!a.isOpen}`,
2218
- "aria-labelledby": o.labelledBy,
1678
+ "aria-labelledby": n.labelledBy,
2219
1679
  "aria-label": s.ariaLabel,
2220
1680
  "aria-modal": `${!s.modal}`,
2221
1681
  transition: s.transition,
@@ -2223,17 +1683,17 @@ function at(e, t, s, i, a, o) {
2223
1683
  appear: a.toAppear,
2224
1684
  class: ["d-popover__dialog", { "d-popover__dialog--modal": s.modal }, s.dialogClass],
2225
1685
  style: {
2226
- "max-height": o.calculatedMaxHeight,
1686
+ "max-height": n.calculatedMaxHeight,
2227
1687
  "max-width": s.maxWidth
2228
1688
  },
2229
1689
  css: e.$attrs.css,
2230
1690
  tabindex: s.contentTabindex
2231
- }, j(o.popoverListeners), {
2232
- onMouseenter: o.onEnterContent,
2233
- onMouseleave: o.onLeaveContent
1691
+ }, K(n.popoverListeners), {
1692
+ onMouseenter: n.onEnterContent,
1693
+ onMouseleave: n.onLeaveContent
2234
1694
  }), {
2235
- default: p(() => [
2236
- a.hasSlotContent(e.$slots.headerContent) || s.showCloseButton ? (n(), h(f, {
1695
+ default: f(() => [
1696
+ a.hasSlotContent(e.$slots.headerContent) || s.showCloseButton ? (o(), h(p, {
2237
1697
  key: 0,
2238
1698
  ref: "popover__header",
2239
1699
  class: u(a.POPOVER_HEADER_FOOTER_PADDING_CLASSES[s.padding]),
@@ -2241,14 +1701,14 @@ function at(e, t, s, i, a, o) {
2241
1701
  type: "header",
2242
1702
  "show-close-button": s.showCloseButton,
2243
1703
  "close-button-props": s.closeButtonProps,
2244
- onClose: o.closePopover
1704
+ onClose: n.closePopover
2245
1705
  }, {
2246
- content: p(() => [
2247
- c(e.$slots, "headerContent", { close: o.closePopover })
1706
+ content: f(() => [
1707
+ c(e.$slots, "headerContent", { close: n.closePopover })
2248
1708
  ]),
2249
1709
  _: 3
2250
1710
  }, 8, ["class", "content-class", "show-close-button", "close-button-props", "onClose"])) : d("", !0),
2251
- _("div", {
1711
+ E("div", {
2252
1712
  ref: "popover__content",
2253
1713
  "data-qa": "dt-popover-content",
2254
1714
  class: u([
@@ -2257,24 +1717,24 @@ function at(e, t, s, i, a, o) {
2257
1717
  s.contentClass
2258
1718
  ])
2259
1719
  }, [
2260
- c(e.$slots, "content", { close: o.closePopover })
1720
+ c(e.$slots, "content", { close: n.closePopover })
2261
1721
  ], 2),
2262
- a.hasSlotContent(e.$slots.footerContent) ? (n(), h(f, {
1722
+ a.hasSlotContent(e.$slots.footerContent) ? (o(), h(p, {
2263
1723
  key: 1,
2264
1724
  ref: "popover__footer",
2265
1725
  type: "footer",
2266
1726
  class: u(a.POPOVER_HEADER_FOOTER_PADDING_CLASSES[s.padding]),
2267
1727
  "content-class": s.footerClass
2268
1728
  }, {
2269
- content: p(() => [
2270
- c(e.$slots, "footerContent", { close: o.closePopover })
1729
+ content: f(() => [
1730
+ c(e.$slots, "footerContent", { close: n.closePopover })
2271
1731
  ]),
2272
1732
  _: 3
2273
1733
  }, 8, ["class", "content-class"])) : d("", !0),
2274
- e.showVisuallyHiddenClose ? (n(), h(g, {
1734
+ e.showVisuallyHiddenClose ? (o(), h(v, {
2275
1735
  key: 2,
2276
1736
  "visually-hidden-close-label": e.visuallyHiddenCloseLabel,
2277
- onClose: o.closePopover
1737
+ onClose: n.closePopover
2278
1738
  }, null, 8, ["visually-hidden-close-label", "onClose"])) : d("", !0)
2279
1739
  ]),
2280
1740
  _: 3
@@ -2284,39 +1744,39 @@ function at(e, t, s, i, a, o) {
2284
1744
  }, 8, ["class"]))
2285
1745
  ]);
2286
1746
  }
2287
- const bt = /* @__PURE__ */ y(tt, [["render", at]]);
2288
- function B(e) {
2289
- return e === v.default;
1747
+ const gt = /* @__PURE__ */ y(tt, [["render", at]]);
1748
+ function M(e) {
1749
+ return e === _.default;
2290
1750
  }
2291
1751
  function q(e) {
2292
- if (w(e) === "string")
2293
- return B(e) ? null : v[e];
2294
- if (w(e) === "object") {
1752
+ if (O(e) === "string")
1753
+ return M(e) ? null : _[e];
1754
+ if (O(e) === "object") {
2295
1755
  const { default: t } = e;
2296
- return B(t) ? null : v[t];
1756
+ return M(t) ? null : _[t];
2297
1757
  } else
2298
1758
  return null;
2299
1759
  }
2300
- function w(e) {
1760
+ function O(e) {
2301
1761
  return typeof e;
2302
1762
  }
2303
- function nt(e) {
2304
- return q(e) ? `d-stack--${v[q(e)]}` : null;
1763
+ function ot(e) {
1764
+ return q(e) ? `d-stack--${_[q(e)]}` : null;
2305
1765
  }
2306
1766
  function it(e) {
2307
- return w(e) === "object" ? [
1767
+ return O(e) === "object" ? [
2308
1768
  ...G.map((t) => e[t] ? `d-stack--${t}--${e[t]}` : null)
2309
1769
  ] : null;
2310
1770
  }
2311
- function rt(e) {
1771
+ function lt(e) {
2312
1772
  return R.includes(e) ? `d-stack--gap-${e}` : null;
2313
1773
  }
2314
- function lt(e) {
2315
- if (w(e) === "string")
2316
- return Object.keys(v).includes(e);
2317
- if (w(e) === "object") {
1774
+ function rt(e) {
1775
+ if (O(e) === "string")
1776
+ return Object.keys(_).includes(e);
1777
+ if (O(e) === "object") {
2318
1778
  const { default: t } = e;
2319
- return Object.keys(v).includes(t);
1779
+ return Object.keys(_).includes(t);
2320
1780
  } else
2321
1781
  return null;
2322
1782
  }
@@ -2337,7 +1797,7 @@ const ct = {
2337
1797
  direction: {
2338
1798
  type: [String, Object],
2339
1799
  default: "column",
2340
- validator: (e) => lt(e)
1800
+ validator: (e) => rt(e)
2341
1801
  },
2342
1802
  /**
2343
1803
  * Set this prop to render stack as a specific HTML element.
@@ -2358,70 +1818,70 @@ const ct = {
2358
1818
  },
2359
1819
  data() {
2360
1820
  return {
2361
- DT_STACK_DIRECTION: v,
1821
+ DT_STACK_DIRECTION: _,
2362
1822
  DT_STACK_GAP: R,
2363
1823
  DT_STACK_RESPONSIVE_BREAKPOINTS: G
2364
1824
  };
2365
1825
  },
2366
1826
  computed: {
2367
1827
  stackGap() {
2368
- return rt(this.gap);
1828
+ return lt(this.gap);
2369
1829
  },
2370
1830
  defaultDirection() {
2371
- return nt(this.direction);
1831
+ return ot(this.direction);
2372
1832
  },
2373
1833
  stackResponsive() {
2374
1834
  return it(this.direction);
2375
1835
  }
2376
1836
  }
2377
1837
  };
2378
- function ut(e, t, s, i, a, o) {
2379
- return n(), h(k(s.as), {
1838
+ function ut(e, t, s, i, a, n) {
1839
+ return o(), h(b(s.as), {
2380
1840
  class: u([
2381
1841
  "d-stack",
2382
- o.defaultDirection,
2383
- o.stackResponsive,
2384
- o.stackGap
1842
+ n.defaultDirection,
1843
+ n.stackResponsive,
1844
+ n.stackGap
2385
1845
  ])
2386
1846
  }, {
2387
- default: p(() => [
1847
+ default: f(() => [
2388
1848
  c(e.$slots, "default")
2389
1849
  ]),
2390
1850
  _: 3
2391
1851
  }, 8, ["class"]);
2392
1852
  }
2393
- const _t = /* @__PURE__ */ y(ct, [["render", ut]]);
1853
+ const Et = /* @__PURE__ */ y(ct, [["render", ut]]);
2394
1854
  export {
2395
1855
  L as A,
2396
- gt as D,
2397
- C as L,
2398
- xe as M,
1856
+ vt as D,
1857
+ I as L,
1858
+ Fe as M,
2399
1859
  Ze as P,
2400
1860
  De as S,
2401
- _t as a,
1861
+ Et as a,
2402
1862
  yt as b,
2403
1863
  mt as c,
2404
- bt as d,
2405
- Ae as e,
1864
+ gt as d,
1865
+ Pe as e,
2406
1866
  R as f,
2407
1867
  Ye as g,
2408
- V as h,
1868
+ B as h,
2409
1869
  pe as i,
2410
- fe as j,
2411
- F as k,
2412
- me as l,
2413
- ye as m,
2414
- z as n,
1870
+ me as j,
1871
+ V as k,
1872
+ ye as l,
1873
+ ve as m,
1874
+ H as n,
2415
1875
  D as o,
2416
- H as p,
1876
+ x as p,
2417
1877
  Ge as q,
2418
1878
  Ue as r,
2419
1879
  $e as s,
2420
1880
  Xe as t,
2421
- vt as u,
2422
- he as v,
2423
- S as w,
1881
+ _t as u,
1882
+ fe as v,
1883
+ C as w,
2424
1884
  re as x,
2425
- v as y,
1885
+ _ as y,
2426
1886
  G as z
2427
1887
  };