@dialpad/dialtone-vue 2.109.1 → 2.110.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.
Files changed (165) hide show
  1. package/CHANGELOG.json +1 -1
  2. package/CHANGELOG.md +14 -0
  3. package/dist/dialtone-vue.cjs +5 -5
  4. package/dist/dialtone-vue.js +1309 -1137
  5. package/dist/directives.js +1 -1
  6. package/dist/{emoji-k30EufQP.js → emoji-5ohx0_fO.js} +1 -1
  7. package/dist/emoji.js +4 -4
  8. package/dist/{emoji_picker-phIBLWjO.js → emoji_picker-Xo-nGBB9.js} +2 -2
  9. package/dist/{emoji_text_wrapper-KU3Kyfko.js → emoji_text_wrapper-ySpZj2Hd.js} +2 -2
  10. package/dist/message_input.cjs +1 -1
  11. package/dist/message_input.js +4 -4
  12. package/dist/{stack-klSxDym-.js → stack-bbvMVTEH.js} +221 -165
  13. package/dist/{stack-Xl6jQs_C.cjs → stack-x_udRwmv.cjs} +2 -2
  14. package/dist/{tooltip-PDBwUvGD.js → tooltip-UOWkfPpb.js} +9 -9
  15. package/package.json +2 -2
  16. package/dist/types/common/constants.d.ts +0 -56
  17. package/dist/types/common/constants.d.ts.map +0 -1
  18. package/dist/types/common/mixins/dom.d.ts +0 -25
  19. package/dist/types/common/mixins/dom.d.ts.map +0 -1
  20. package/dist/types/common/mixins/input.d.ts +0 -199
  21. package/dist/types/common/mixins/input.d.ts.map +0 -1
  22. package/dist/types/common/mixins/input_group.d.ts +0 -101
  23. package/dist/types/common/mixins/input_group.d.ts.map +0 -1
  24. package/dist/types/common/mixins/keyboard_list_navigation.d.ts +0 -58
  25. package/dist/types/common/mixins/keyboard_list_navigation.d.ts.map +0 -1
  26. package/dist/types/common/mixins/modal.d.ts +0 -44
  27. package/dist/types/common/mixins/modal.d.ts.map +0 -1
  28. package/dist/types/common/mixins/skeleton.d.ts +0 -11
  29. package/dist/types/common/mixins/skeleton.d.ts.map +0 -1
  30. package/dist/types/common/mixins/sr_only_close_button.d.ts +0 -30
  31. package/dist/types/common/mixins/sr_only_close_button.d.ts.map +0 -1
  32. package/dist/types/common/sr_only_close_button.vue.d.ts +0 -25
  33. package/dist/types/common/sr_only_close_button.vue.d.ts.map +0 -1
  34. package/dist/types/common/storybook_utils.d.ts +0 -29
  35. package/dist/types/common/storybook_utils.d.ts.map +0 -1
  36. package/dist/types/common/utils.d.ts +0 -116
  37. package/dist/types/common/utils.d.ts.map +0 -1
  38. package/dist/types/common/validators.d.ts +0 -6
  39. package/dist/types/common/validators.d.ts.map +0 -1
  40. package/dist/types/components/avatar/avatar.vue.d.ts +0 -367
  41. package/dist/types/components/avatar/avatar.vue.d.ts.map +0 -1
  42. package/dist/types/components/avatar/avatar_constants.d.ts +0 -51
  43. package/dist/types/components/avatar/avatar_constants.d.ts.map +0 -1
  44. package/dist/types/components/avatar/utils.d.ts +0 -2
  45. package/dist/types/components/avatar/utils.d.ts.map +0 -1
  46. package/dist/types/components/badge/badge.vue.d.ts +0 -184
  47. package/dist/types/components/badge/badge.vue.d.ts.map +0 -1
  48. package/dist/types/components/badge/badge_constants.d.ts +0 -39
  49. package/dist/types/components/badge/badge_constants.d.ts.map +0 -1
  50. package/dist/types/components/banner/banner.vue.d.ts +0 -252
  51. package/dist/types/components/banner/banner.vue.d.ts.map +0 -1
  52. package/dist/types/components/breadcrumbs/breadcrumb_item.vue.d.ts +0 -56
  53. package/dist/types/components/breadcrumbs/breadcrumb_item.vue.d.ts.map +0 -1
  54. package/dist/types/components/breadcrumbs/breadcrumbs.vue.d.ts +0 -59
  55. package/dist/types/components/breadcrumbs/breadcrumbs.vue.d.ts.map +0 -1
  56. package/dist/types/components/breadcrumbs/breadcrumbs_constants.d.ts +0 -3
  57. package/dist/types/components/breadcrumbs/breadcrumbs_constants.d.ts.map +0 -1
  58. package/dist/types/components/button/button.vue.d.ts +0 -316
  59. package/dist/types/components/button/button.vue.d.ts.map +0 -1
  60. package/dist/types/components/button/button_constants.d.ts +0 -55
  61. package/dist/types/components/button/button_constants.d.ts.map +0 -1
  62. package/dist/types/components/button/index.d.ts +0 -3
  63. package/dist/types/components/button/index.d.ts.map +0 -1
  64. package/dist/types/components/button_group/button_group.vue.d.ts +0 -29
  65. package/dist/types/components/button_group/button_group.vue.d.ts.map +0 -1
  66. package/dist/types/components/button_group/button_group_constants.d.ts +0 -6
  67. package/dist/types/components/button_group/button_group_constants.d.ts.map +0 -1
  68. package/dist/types/components/button_group/buttons_decorator.vue.d.ts +0 -3
  69. package/dist/types/components/button_group/buttons_decorator.vue.d.ts.map +0 -1
  70. package/dist/types/components/card/card.vue.d.ts +0 -83
  71. package/dist/types/components/card/card.vue.d.ts.map +0 -1
  72. package/dist/types/components/checkbox/checkbox.vue.d.ts +0 -155
  73. package/dist/types/components/checkbox/checkbox.vue.d.ts.map +0 -1
  74. package/dist/types/components/checkbox/checkbox_constants.d.ts +0 -10
  75. package/dist/types/components/checkbox/checkbox_constants.d.ts.map +0 -1
  76. package/dist/types/components/checkbox/index.d.ts +0 -2
  77. package/dist/types/components/checkbox/index.d.ts.map +0 -1
  78. package/dist/types/components/checkbox_group/checkbox_group.vue.d.ts +0 -249
  79. package/dist/types/components/checkbox_group/checkbox_group.vue.d.ts.map +0 -1
  80. package/dist/types/components/checkbox_group/checkboxes_decorator.vue.d.ts +0 -3
  81. package/dist/types/components/checkbox_group/checkboxes_decorator.vue.d.ts.map +0 -1
  82. package/dist/types/components/chip/chip.vue.d.ts +0 -156
  83. package/dist/types/components/chip/chip.vue.d.ts.map +0 -1
  84. package/dist/types/components/chip/chip_constants.d.ts +0 -28
  85. package/dist/types/components/chip/chip_constants.d.ts.map +0 -1
  86. package/dist/types/components/codeblock/codeblock.vue.d.ts +0 -13
  87. package/dist/types/components/codeblock/codeblock.vue.d.ts.map +0 -1
  88. package/dist/types/components/collapsible/collapsible.vue.d.ts +0 -197
  89. package/dist/types/components/collapsible/collapsible.vue.d.ts.map +0 -1
  90. package/dist/types/components/collapsible/collapsible_lazy_show.vue.d.ts +0 -86
  91. package/dist/types/components/collapsible/collapsible_lazy_show.vue.d.ts.map +0 -1
  92. package/dist/types/components/combobox/combobox.vue.d.ts +0 -328
  93. package/dist/types/components/combobox/combobox.vue.d.ts.map +0 -1
  94. package/dist/types/components/combobox/combobox_constants.d.ts +0 -12
  95. package/dist/types/components/combobox/combobox_constants.d.ts.map +0 -1
  96. package/dist/types/components/combobox/combobox_empty-list.vue.d.ts +0 -39
  97. package/dist/types/components/combobox/combobox_empty-list.vue.d.ts.map +0 -1
  98. package/dist/types/components/combobox/combobox_loading-list.vue.d.ts +0 -3
  99. package/dist/types/components/combobox/combobox_loading-list.vue.d.ts.map +0 -1
  100. package/dist/types/components/icon/icon.vue.d.ts +0 -74
  101. package/dist/types/components/icon/icon.vue.d.ts.map +0 -1
  102. package/dist/types/components/icon/icon_constants.d.ts +0 -15
  103. package/dist/types/components/icon/icon_constants.d.ts.map +0 -1
  104. package/dist/types/components/icon/index.d.ts +0 -3
  105. package/dist/types/components/icon/index.d.ts.map +0 -1
  106. package/dist/types/components/input_group/index.d.ts +0 -2
  107. package/dist/types/components/input_group/index.d.ts.map +0 -1
  108. package/dist/types/components/input_group/input_group.vue.d.ts +0 -173
  109. package/dist/types/components/input_group/input_group.vue.d.ts.map +0 -1
  110. package/dist/types/components/item_layout/index.d.ts +0 -2
  111. package/dist/types/components/item_layout/index.d.ts.map +0 -1
  112. package/dist/types/components/item_layout/item_layout.vue.d.ts +0 -21
  113. package/dist/types/components/item_layout/item_layout.vue.d.ts.map +0 -1
  114. package/dist/types/components/lazy_show/index.d.ts +0 -2
  115. package/dist/types/components/lazy_show/index.d.ts.map +0 -1
  116. package/dist/types/components/lazy_show/lazy_show.vue.d.ts +0 -65
  117. package/dist/types/components/lazy_show/lazy_show.vue.d.ts.map +0 -1
  118. package/dist/types/components/link/index.d.ts +0 -3
  119. package/dist/types/components/link/index.d.ts.map +0 -1
  120. package/dist/types/components/link/link.vue.d.ts +0 -34
  121. package/dist/types/components/link/link.vue.d.ts.map +0 -1
  122. package/dist/types/components/link/link_constants.d.ts +0 -21
  123. package/dist/types/components/link/link_constants.d.ts.map +0 -1
  124. package/dist/types/components/list_item/index.d.ts +0 -3
  125. package/dist/types/components/list_item/index.d.ts.map +0 -1
  126. package/dist/types/components/list_item/list_item.vue.d.ts +0 -146
  127. package/dist/types/components/list_item/list_item.vue.d.ts.map +0 -1
  128. package/dist/types/components/list_item/list_item_constants.d.ts +0 -15
  129. package/dist/types/components/list_item/list_item_constants.d.ts.map +0 -1
  130. package/dist/types/components/notice/index.d.ts +0 -6
  131. package/dist/types/components/notice/index.d.ts.map +0 -1
  132. package/dist/types/components/notice/notice.vue.d.ts +0 -174
  133. package/dist/types/components/notice/notice.vue.d.ts.map +0 -1
  134. package/dist/types/components/notice/notice_action.vue.d.ts +0 -68
  135. package/dist/types/components/notice/notice_action.vue.d.ts.map +0 -1
  136. package/dist/types/components/notice/notice_constants.d.ts +0 -8
  137. package/dist/types/components/notice/notice_constants.d.ts.map +0 -1
  138. package/dist/types/components/notice/notice_content.vue.d.ts +0 -55
  139. package/dist/types/components/notice/notice_content.vue.d.ts.map +0 -1
  140. package/dist/types/components/notice/notice_icon.vue.d.ts +0 -27
  141. package/dist/types/components/notice/notice_icon.vue.d.ts.map +0 -1
  142. package/dist/types/components/presence/index.d.ts +0 -3
  143. package/dist/types/components/presence/index.d.ts.map +0 -1
  144. package/dist/types/components/presence/presence.vue.d.ts +0 -46
  145. package/dist/types/components/presence/presence.vue.d.ts.map +0 -1
  146. package/dist/types/components/presence/presence_constants.d.ts +0 -8
  147. package/dist/types/components/presence/presence_constants.d.ts.map +0 -1
  148. package/dist/types/components/skeleton/index.d.ts +0 -7
  149. package/dist/types/components/skeleton/index.d.ts.map +0 -1
  150. package/dist/types/components/skeleton/skeleton-list-item.vue.d.ts +0 -152
  151. package/dist/types/components/skeleton/skeleton-list-item.vue.d.ts.map +0 -1
  152. package/dist/types/components/skeleton/skeleton-paragraph.vue.d.ts +0 -181
  153. package/dist/types/components/skeleton/skeleton-paragraph.vue.d.ts.map +0 -1
  154. package/dist/types/components/skeleton/skeleton-shape.vue.d.ts +0 -136
  155. package/dist/types/components/skeleton/skeleton-shape.vue.d.ts.map +0 -1
  156. package/dist/types/components/skeleton/skeleton-text.vue.d.ts +0 -145
  157. package/dist/types/components/skeleton/skeleton-text.vue.d.ts.map +0 -1
  158. package/dist/types/components/skeleton/skeleton.vue.d.ts +0 -155
  159. package/dist/types/components/skeleton/skeleton.vue.d.ts.map +0 -1
  160. package/dist/types/components/skeleton/skeleton_constants.d.ts +0 -27
  161. package/dist/types/components/skeleton/skeleton_constants.d.ts.map +0 -1
  162. package/dist/types/components/validation_messages/index.d.ts +0 -2
  163. package/dist/types/components/validation_messages/index.d.ts.map +0 -1
  164. package/dist/types/components/validation_messages/validation_messages.vue.d.ts +0 -64
  165. package/dist/types/components/validation_messages/validation_messages.vue.d.ts.map +0 -1
@@ -1,12 +1,12 @@
1
- import { n as a, g as _, a as $, u as k, b as L, B as x, c as D, i as R, d as N, e as F } from "./tooltip-PDBwUvGD.js";
2
- import { t as V, w as p, I as H, L as B, x as q, y as I } from "./emoji-k30EufQP.js";
1
+ import { n as a, g as _, a as k, u as L, b as x, B as D, c as R, i as N, d as F, e as V, f as g } from "./tooltip-UOWkfPpb.js";
2
+ import { t as H, w as p, I as B, L as q, x as M, y as I } from "./emoji-5ohx0_fO.js";
3
3
  import u from "vue";
4
4
  const r = {
5
5
  BUSY: "busy",
6
6
  AWAY: "away",
7
7
  OFFLINE: "offline",
8
8
  ACTIVE: "active"
9
- }, M = [
9
+ }, j = [
10
10
  r.BUSY,
11
11
  r.AWAY,
12
12
  r.OFFLINE,
@@ -22,7 +22,7 @@ const r = {
22
22
  presence: {
23
23
  type: String,
24
24
  default: r.ACTIVE,
25
- validator: (t) => M.includes(t)
25
+ validator: (t) => j.includes(t)
26
26
  },
27
27
  /**
28
28
  * Since Presence is a visual element, we need SRs to read out any state changes
@@ -35,7 +35,7 @@ const r = {
35
35
  }
36
36
  }
37
37
  };
38
- var j = function() {
38
+ var K = function() {
39
39
  var e = this, s = e._self._c;
40
40
  return s("div", { staticClass: "d-presence", attrs: { "data-qa": "dt-presence", role: "status", "aria-live": e.$attrs.ariaLive || "off" } }, [e.srText ? s("span", { staticClass: "sr-only", attrs: { "data-qa": "dt-presence-sr-text" } }, [e._v(e._s(e.srText) + " ")]) : e._e(), s("div", { staticClass: "d-presence__inner", class: {
41
41
  "d-presence__inner--active": e.presence === "active",
@@ -43,42 +43,42 @@ var j = function() {
43
43
  "d-presence__inner--busy": e.presence === "busy",
44
44
  "d-presence__inner--offline": e.presence === "offline"
45
45
  } })]);
46
- }, K = [], W = /* @__PURE__ */ a(
46
+ }, W = [], G = /* @__PURE__ */ a(
47
47
  z,
48
- j,
49
48
  K,
49
+ W,
50
50
  !1,
51
51
  null,
52
52
  null,
53
53
  null,
54
54
  null
55
55
  );
56
- const G = W.exports, f = {
56
+ const U = G.exports, f = {
57
57
  xs: "d-avatar--xs",
58
58
  sm: "d-avatar--sm",
59
59
  md: "d-avatar--md",
60
60
  lg: "d-avatar--lg",
61
61
  xl: "d-avatar--xl"
62
- }, U = {
62
+ }, Y = {
63
63
  default: "",
64
64
  icon: "d-avatar__icon",
65
65
  initials: "d-avatar__initials"
66
- }, Y = {
66
+ }, Z = {
67
67
  md: "d-avatar__presence--md",
68
68
  lg: "d-avatar__presence--lg"
69
- }, g = {
69
+ }, S = {
70
70
  NONE: "",
71
71
  BUSY: "busy",
72
72
  AWAY: "away",
73
73
  OFFLINE: "offline",
74
74
  ACTIVE: "active"
75
- }, Z = {
75
+ }, X = {
76
76
  xs: "100",
77
77
  sm: "200",
78
78
  md: "300",
79
79
  lg: "500",
80
80
  xl: "600"
81
- }, X = [
81
+ }, J = [
82
82
  "100",
83
83
  "200",
84
84
  "300",
@@ -97,18 +97,18 @@ const G = W.exports, f = {
97
97
  "1600",
98
98
  "1700",
99
99
  "1800"
100
- ], S = (t) => t > 1;
101
- function J() {
102
- return [void 0, ...V];
100
+ ], E = (t) => t > 1;
101
+ function Q() {
102
+ return [void 0, ...H];
103
103
  }
104
- const Q = (t) => {
104
+ const ee = (t) => {
105
105
  if (typeof t != "string" || !t.trim())
106
106
  return "";
107
107
  const e = t.trim().split(/\s+/g);
108
108
  return e.length === 1 ? e.join("").substring(0, 2) : e.filter((s, n) => n === 0 || n === e.length - 1).map((s) => s.slice(0, 1).toUpperCase()).join("");
109
- }, ee = J(), te = {
109
+ }, te = Q(), se = {
110
110
  name: "DtAvatar",
111
- components: { DtPresence: G, DtIcon: p },
111
+ components: { DtPresence: U, DtIcon: p },
112
112
  inheritAttrs: !1,
113
113
  props: {
114
114
  /**
@@ -174,8 +174,8 @@ const Q = (t) => {
174
174
  */
175
175
  presence: {
176
176
  type: String,
177
- default: g.NONE,
178
- validator: (t) => Object.values(g).includes(t)
177
+ default: S.NONE,
178
+ validator: (t) => Object.values(S).includes(t)
179
179
  },
180
180
  /**
181
181
  * A set of props to be passed into the presence component.
@@ -192,7 +192,7 @@ const Q = (t) => {
192
192
  group: {
193
193
  type: Number,
194
194
  default: void 0,
195
- validator: (t) => S(t)
195
+ validator: (t) => E(t)
196
196
  },
197
197
  /**
198
198
  * The icon that overlays the avatar
@@ -236,7 +236,7 @@ const Q = (t) => {
236
236
  iconName: {
237
237
  type: String,
238
238
  default: void 0,
239
- validator: (t) => ee.includes(t)
239
+ validator: (t) => te.includes(t)
240
240
  },
241
241
  /**
242
242
  * Icon size to be displayed on the avatar
@@ -245,7 +245,7 @@ const Q = (t) => {
245
245
  iconSize: {
246
246
  type: String,
247
247
  default: "",
248
- validator: (t) => !t || Object.keys(H).includes(t)
248
+ validator: (t) => !t || Object.keys(B).includes(t)
249
249
  },
250
250
  /**
251
251
  * Full name used to extract initials and set alt attribute.
@@ -275,9 +275,9 @@ const Q = (t) => {
275
275
  data() {
276
276
  return {
277
277
  AVATAR_SIZE_MODIFIERS: f,
278
- AVATAR_KIND_MODIFIERS: U,
279
- AVATAR_PRESENCE_SIZE_MODIFIERS: Y,
280
- AVATAR_ICON_SIZES: Z,
278
+ AVATAR_KIND_MODIFIERS: Y,
279
+ AVATAR_PRESENCE_SIZE_MODIFIERS: Z,
280
+ AVATAR_ICON_SIZES: X,
281
281
  imageLoadedSuccessfully: null,
282
282
  formattedInitials: "",
283
283
  initializing: !1
@@ -306,7 +306,7 @@ const Q = (t) => {
306
306
  ];
307
307
  },
308
308
  showGroup() {
309
- return S(this.group);
309
+ return E(this.group);
310
310
  },
311
311
  formattedGroup() {
312
312
  return this.group > 99 ? "99+" : this.group;
@@ -355,11 +355,11 @@ const Q = (t) => {
355
355
  t && (t.addEventListener("load", () => this._loadedImageEventHandler(t), { once: !0 }), t.addEventListener("error", () => this._erroredImageEventHandler(t), { once: !0 }));
356
356
  },
357
357
  formatInitials() {
358
- const t = Q(this.fullName);
358
+ const t = ee(this.fullName);
359
359
  this.validatedSize === "xs" ? this.formattedInitials = "" : this.validatedSize === "sm" ? this.formattedInitials = t[0] : this.formattedInitials = t;
360
360
  },
361
361
  getColor() {
362
- return this.color ?? $(X, this.seed);
362
+ return this.color ?? k(J, this.seed);
363
363
  },
364
364
  _loadedImageEventHandler(t) {
365
365
  this.imageLoadedSuccessfully = !0, t.classList.remove("d-d-none");
@@ -376,7 +376,7 @@ const Q = (t) => {
376
376
  }
377
377
  }
378
378
  };
379
- var se = function() {
379
+ var ne = function() {
380
380
  var e = this, s = e._self._c;
381
381
  return s(e.clickable ? "button" : "div", { tag: "component", class: e.avatarClasses, attrs: { id: e.id, "data-qa": "dt-avatar", "aria-label": e.buttonAriaLabel }, on: { click: e.handleClick } }, [s("div", { ref: "canvas", class: [
382
382
  e.canvasClass,
@@ -386,17 +386,17 @@ var se = function() {
386
386
  "d-avatar__presence",
387
387
  e.AVATAR_PRESENCE_SIZE_MODIFIERS[e.size]
388
388
  ], attrs: { presence: e.presence, "data-qa": "dt-presence" } }, "dt-presence", e.presenceProps, !1)) : e._e()], 1);
389
- }, ne = [], ae = /* @__PURE__ */ a(
390
- te,
389
+ }, ae = [], ie = /* @__PURE__ */ a(
391
390
  se,
392
391
  ne,
392
+ ae,
393
393
  !1,
394
394
  null,
395
395
  null,
396
396
  null,
397
397
  null
398
398
  );
399
- const at = ae.exports, oe = {
399
+ const it = ie.exports, oe = {
400
400
  name: "DtLink",
401
401
  props: {
402
402
  /**
@@ -407,7 +407,7 @@ const at = ae.exports, oe = {
407
407
  type: String,
408
408
  default: "",
409
409
  validator(t) {
410
- return B.includes(t);
410
+ return q.includes(t);
411
411
  }
412
412
  }
413
413
  },
@@ -436,27 +436,27 @@ const at = ae.exports, oe = {
436
436
  ],
437
437
  data() {
438
438
  return {
439
- LINK_KIND_MODIFIERS: q
439
+ LINK_KIND_MODIFIERS: M
440
440
  };
441
441
  }
442
442
  };
443
- var ie = function() {
443
+ var re = function() {
444
444
  var e = this, s = e._self._c;
445
445
  return s("a", e._g({ class: [
446
446
  "d-link",
447
447
  e.LINK_KIND_MODIFIERS[e.kind]
448
448
  ], attrs: { "data-qa": "dt-link", href: "href" in e.$attrs ? e.$attrs.href : "javascript:void(0)" } }, e.$listeners), [e._t("default")], 2);
449
- }, re = [], le = /* @__PURE__ */ a(
449
+ }, le = [], de = /* @__PURE__ */ a(
450
450
  oe,
451
- ie,
452
451
  re,
452
+ le,
453
453
  !1,
454
454
  null,
455
455
  null,
456
456
  null,
457
457
  null
458
458
  );
459
- const ot = le.exports, de = {
459
+ const ot = de.exports, ce = {
460
460
  props: {
461
461
  /**
462
462
  * If true, a hidden close button is included for screen readers
@@ -495,7 +495,7 @@ const ot = le.exports, de = {
495
495
  a visually hidden close button and you must set the visuallyHiddenCloseLabel prop.`);
496
496
  }
497
497
  }
498
- }, ce = {
498
+ }, ue = {
499
499
  name: "SrOnlyCloseButton",
500
500
  components: {
501
501
  DtIcon: p,
@@ -518,22 +518,22 @@ const ot = le.exports, de = {
518
518
  }
519
519
  }
520
520
  };
521
- var ue = function() {
521
+ var pe = function() {
522
522
  var e = this, s = e._self._c;
523
523
  return s("dt-button", { staticClass: "d-vi-visible-sr", attrs: { id: "sr-only-close-button", "data-qa": "dt-sr-only-close-button", "aria-label": e.visuallyHiddenCloseLabel }, on: { click: e.close, keydown: function(n) {
524
524
  return !n.type.indexOf("key") && e._k(n.keyCode, "space", 32, n.key, [" ", "Spacebar"]) ? null : (n.preventDefault(), n.stopPropagation(), e.close.apply(null, arguments));
525
525
  } } }, [s("dt-icon", { attrs: { name: "close" } })], 1);
526
- }, pe = [], fe = /* @__PURE__ */ a(
527
- ce,
526
+ }, fe = [], he = /* @__PURE__ */ a(
528
527
  ue,
529
528
  pe,
529
+ fe,
530
530
  !1,
531
531
  null,
532
532
  null,
533
533
  null,
534
534
  null
535
535
  );
536
- const he = fe.exports, T = ':not(:disabled):not([aria-disabled="true"]):not([role="presentation"])', me = `${T}:not([tabindex="-1"])`, _e = "button,[href],input,select,textarea,details,[tabindex]", ye = {
536
+ const me = he.exports, A = ':not(:disabled):not([aria-disabled="true"]):not([role="presentation"])', _e = `${A}:not([tabindex="-1"])`, ve = "button,[href],input,select,textarea,details,[tabindex]", ye = {
537
537
  methods: {
538
538
  /**
539
539
  * get the first focusable element in your component, includes tabindex="-1".
@@ -587,9 +587,9 @@ const he = fe.exports, T = ':not(:disabled):not([aria-disabled="true"]):not([rol
587
587
  * @param {bool} includeNegativeTabIndex - will include tabindex="-1" in the list of focusable elements.
588
588
  */
589
589
  _getFocusableElements(t = this.$el, e = !1) {
590
- return t ? [...t.querySelectorAll(_e)].filter((n) => {
591
- const o = window.getComputedStyle(n);
592
- return o.getPropertyValue("display") !== "none" && o.getPropertyValue("visibility") !== "hidden" && n.matches(e ? T : me);
590
+ return t ? [...t.querySelectorAll(ve)].filter((n) => {
591
+ const i = window.getComputedStyle(n);
592
+ return i.getPropertyValue("display") !== "none" && i.getPropertyValue("visibility") !== "hidden" && n.matches(e ? A : _e);
593
593
  }) : [];
594
594
  },
595
595
  /**
@@ -606,8 +606,8 @@ const he = fe.exports, T = ':not(:disabled):not([aria-disabled="true"]):not([rol
606
606
  t.preventDefault();
607
607
  return;
608
608
  }
609
- const o = this._getFirstFocusElement(n), v = n[n.length - 1];
610
- t.shiftKey ? document.activeElement === o && (v.focus(), t.preventDefault()) : document.activeElement === v && (o.focus(), t.preventDefault());
609
+ const i = this._getFirstFocusElement(n), y = n[n.length - 1];
610
+ t.shiftKey ? document.activeElement === i && (y.focus(), t.preventDefault()) : document.activeElement === y && (i.focus(), t.preventDefault());
611
611
  }
612
612
  }
613
613
  }, h = {
@@ -617,7 +617,7 @@ const he = fe.exports, T = ':not(:disabled):not([aria-disabled="true"]):not([rol
617
617
  ARROW_KEYS: "arrow-keys",
618
618
  TAB: "tab",
619
619
  NONE: "none"
620
- }, ve = {
620
+ }, ge = {
621
621
  name: "DtItemLayout",
622
622
  props: {
623
623
  /**
@@ -629,23 +629,23 @@ const he = fe.exports, T = ':not(:disabled):not([aria-disabled="true"]):not([rol
629
629
  }
630
630
  }
631
631
  };
632
- var ge = function() {
632
+ var Se = function() {
633
633
  var e = this, s = e._self._c;
634
634
  return s(e.as, { tag: "component", staticClass: "dt-item-layout" }, [e.$slots.left ? s("section", { staticClass: "dt-item-layout--left", attrs: { "data-qa": "dt-item-layout-left-wrapper" } }, [e._t("left")], 2) : e._e(), s("section", { staticClass: "dt-item-layout--content", attrs: { "data-qa": "dt-item-layout-content-wrapper" } }, [e.$slots.default ? s("div", { staticClass: "dt-item-layout--title", attrs: { "data-qa": "dt-item-layout-title-wrapper" } }, [e._t("default")], 2) : e._e(), e.$slots.subtitle ? s("div", { class: ["dt-item-layout--subtitle", { "dt-item-layout--subtitle--with-title": e.$slots.default }], attrs: { "data-qa": "dt-item-layout-subtitle-wrapper" } }, [e._t("subtitle")], 2) : e._e(), e.$slots.bottom ? s("div", { staticClass: "dt-item-layout--bottom", attrs: { "data-qa": "dt-item-layout-bottom-wrapper" } }, [e._t("bottom")], 2) : e._e()]), e.$slots.right ? s("section", { staticClass: "dt-item-layout--right", attrs: { "data-qa": "dt-item-layout-right-wrapper" } }, [e._t("right")], 2) : e._e(), e.$slots.selected ? s("section", { staticClass: "dt-item-layout--selected", attrs: { "data-qa": "dt-item-layout-selected-wrapper" } }, [e._t("selected")], 2) : e._e()]);
635
- }, Se = [], Ee = /* @__PURE__ */ a(
636
- ve,
635
+ }, Ee = [], be = /* @__PURE__ */ a(
637
636
  ge,
638
637
  Se,
638
+ Ee,
639
639
  !1,
640
640
  null,
641
641
  "411cb81e",
642
642
  null,
643
643
  null
644
644
  );
645
- const E = Ee.exports, be = {
645
+ const b = be.exports, Ce = {
646
646
  name: "DtListItem",
647
647
  components: {
648
- DtItemLayout: E,
648
+ DtItemLayout: b,
649
649
  DtIcon: p
650
650
  },
651
651
  /**
@@ -661,7 +661,7 @@ const E = Ee.exports, be = {
661
661
  id: {
662
662
  type: String,
663
663
  default() {
664
- return k.getUniqueString();
664
+ return L.getUniqueString();
665
665
  }
666
666
  },
667
667
  /**
@@ -747,7 +747,7 @@ const E = Ee.exports, be = {
747
747
  listItemType() {
748
748
  switch (this.type) {
749
749
  case h.DEFAULT:
750
- return E;
750
+ return b;
751
751
  default:
752
752
  return null;
753
753
  }
@@ -795,54 +795,54 @@ const E = Ee.exports, be = {
795
795
  }
796
796
  }
797
797
  };
798
- var Ce = function() {
798
+ var Oe = function() {
799
799
  var e = this, s = e._self._c;
800
800
  return s(e.elementType, e._g({ tag: "component", class: ["dt-list-item", {
801
801
  "dt-list-item--focusable": e.isFocusable,
802
802
  "dt-list-item--highlighted": e.isHighlighted,
803
803
  "dt-list-item--static": !e.isHoverable
804
- }], attrs: { id: e.id, tabindex: e.isFocusable ? 0 : -1, role: e.role, "aria-selected": e.isHighlighted } }, e.listItemListeners), [e.listItemType ? s(e.listItemType, { tag: "component", scopedSlots: e._u([e._l(e.$slots, function(n, o) {
805
- return { key: o, fn: function() {
806
- return [e._t(o)];
804
+ }], attrs: { id: e.id, tabindex: e.isFocusable ? 0 : -1, role: e.role, "aria-selected": e.isHighlighted } }, e.listItemListeners), [e.listItemType ? s(e.listItemType, { tag: "component", scopedSlots: e._u([e._l(e.$slots, function(n, i) {
805
+ return { key: i, fn: function() {
806
+ return [e._t(i)];
807
807
  }, proxy: !0 };
808
808
  }), e.selected ? { key: "selected", fn: function() {
809
809
  return [s("dt-icon", { staticClass: "dt-list-item--selected-icon", attrs: { name: "check", size: "400" } })];
810
810
  }, proxy: !0 } : null], null, !0) }) : e._t("default")], 2);
811
- }, Oe = [], Ie = /* @__PURE__ */ a(
812
- be,
811
+ }, Te = [], Ie = /* @__PURE__ */ a(
813
812
  Ce,
814
813
  Oe,
814
+ Te,
815
815
  !1,
816
816
  null,
817
817
  null,
818
818
  null,
819
819
  null
820
820
  );
821
- const it = Ie.exports, i = {
821
+ const rt = Ie.exports, o = {
822
822
  default: "column",
823
823
  column: "column",
824
824
  row: "row",
825
825
  "row-reverse": "row-reverse",
826
826
  "column-reverse": "column-reverse"
827
- }, A = ["sm", "md", "lg", "xl"], y = ["0", "100", "200", "300", "400", "500", "600"], b = {
827
+ }, w = ["sm", "md", "lg", "xl"], v = ["0", "100", "200", "300", "400", "500", "600"], C = {
828
828
  none: void 0,
829
829
  small: "d-p4",
830
830
  medium: "d-p8",
831
831
  large: "d-p16"
832
- }, Te = {
832
+ }, Ae = {
833
833
  none: void 0,
834
834
  small: "d-pl4",
835
835
  medium: "d-pl8",
836
836
  large: "d-pl16"
837
- }, Ae = ["dialog", "menu", "listbox", "tree", "grid"], we = ["", "anchor"], Pe = ["none", "dialog", "first"], $e = ["parent", "body"], ke = [
838
- ...L
839
- ], rt = [
837
+ }, we = ["dialog", "menu", "listbox", "tree", "grid"], $e = ["", "anchor"], Pe = ["none", "dialog", "first"], ke = ["parent", "body"], Le = [
840
838
  ...x
839
+ ], lt = [
840
+ ...D
841
841
  ];
842
- let Le = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict", xe = (t = 21) => {
842
+ let xe = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict", De = (t = 21) => {
843
843
  let e = "", s = t;
844
844
  for (; s--; )
845
- e += Le[Math.random() * 64 | 0];
845
+ e += xe[Math.random() * 64 | 0];
846
846
  return e;
847
847
  };
848
848
  function c(t) {
@@ -853,11 +853,11 @@ function c(t) {
853
853
  return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
854
854
  }, c(t);
855
855
  }
856
- var w = {
857
- selector: "vue-portal-target-".concat(xe())
858
- }, De = function(e) {
859
- return w.selector = e;
860
- }, m = typeof window < "u" && (typeof document > "u" ? "undefined" : c(document)) !== void 0, Re = u.extend({
856
+ var $ = {
857
+ selector: "vue-portal-target-".concat(De())
858
+ }, Re = function(e) {
859
+ return $.selector = e;
860
+ }, m = typeof window < "u" && (typeof document > "u" ? "undefined" : c(document)) !== void 0, Ne = u.extend({
861
861
  // as an abstract component, it doesn't appear in
862
862
  // the $parent chain of components.
863
863
  // which means the next parent of any component rendered inside of this oen
@@ -891,7 +891,7 @@ var w = {
891
891
  selector: {
892
892
  type: String,
893
893
  default: function() {
894
- return "#".concat(w.selector);
894
+ return "#".concat($.selector);
895
895
  }
896
896
  },
897
897
  tag: {
@@ -941,7 +941,7 @@ var w = {
941
941
  mount: function() {
942
942
  if (m) {
943
943
  var e = this.getTargetEl(), s = document.createElement("DIV");
944
- this.prepend && e.firstChild ? e.insertBefore(s, e.firstChild) : e.appendChild(s), this.container = new Re({
944
+ this.prepend && e.firstChild ? e.insertBefore(s, e.firstChild) : e.appendChild(s), this.container = new Ne({
945
945
  el: s,
946
946
  parent: this,
947
947
  propsData: {
@@ -956,12 +956,12 @@ var w = {
956
956
  }
957
957
  }
958
958
  });
959
- function Ne(t) {
959
+ function Fe(t) {
960
960
  var e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
961
- t.component(e.name || "portal", P), e.defaultSelector && De(e.defaultSelector);
961
+ t.component(e.name || "portal", P), e.defaultSelector && Re(e.defaultSelector);
962
962
  }
963
- typeof window < "u" && window.Vue && window.Vue === u && u.use(Ne);
964
- const Fe = {
963
+ typeof window < "u" && window.Vue && window.Vue === u && u.use(Fe);
964
+ const Ve = {
965
965
  name: "PopoverHeaderFooter",
966
966
  components: {
967
967
  DtButton: I,
@@ -1017,7 +1017,7 @@ const Fe = {
1017
1017
  }
1018
1018
  }
1019
1019
  };
1020
- var Ve = function() {
1020
+ var He = function() {
1021
1021
  var e = this, s = e._self._c;
1022
1022
  return s("div", { class: {
1023
1023
  "d-popover__header": e.type === "header",
@@ -1033,28 +1033,28 @@ var Ve = function() {
1033
1033
  } }, scopedSlots: e._u([{ key: "icon", fn: function() {
1034
1034
  return [s("dt-icon", { attrs: { name: "close", size: "300" } })];
1035
1035
  }, proxy: !0 }], null, !1, 2538694920) }, "dt-button", e.closeButtonProps, !1)) : e._e()], 1);
1036
- }, He = [], Be = /* @__PURE__ */ a(
1037
- Fe,
1036
+ }, Be = [], qe = /* @__PURE__ */ a(
1038
1037
  Ve,
1039
1038
  He,
1039
+ Be,
1040
1040
  !1,
1041
1041
  null,
1042
1042
  null,
1043
1043
  null,
1044
1044
  null
1045
1045
  );
1046
- const qe = Be.exports, Me = {
1046
+ const Me = qe.exports, je = {
1047
1047
  name: "DtPopover",
1048
1048
  /********************
1049
1049
  * CHILD COMPONENTS *
1050
1050
  ********************/
1051
1051
  components: {
1052
- SrOnlyCloseButton: he,
1053
- DtLazyShow: D,
1054
- PopoverHeaderFooter: qe,
1052
+ SrOnlyCloseButton: me,
1053
+ DtLazyShow: R,
1054
+ PopoverHeaderFooter: Me,
1055
1055
  Portal: P
1056
1056
  },
1057
- mixins: [ye, de],
1057
+ mixins: [ye, ce],
1058
1058
  props: {
1059
1059
  /**
1060
1060
  * Controls whether the popover is shown. Leaving this null will have the popover trigger on click by default.
@@ -1097,7 +1097,7 @@ const qe = Be.exports, Me = {
1097
1097
  role: {
1098
1098
  type: String,
1099
1099
  default: "dialog",
1100
- validator: (t) => Ae.includes(t)
1100
+ validator: (t) => we.includes(t)
1101
1101
  },
1102
1102
  /**
1103
1103
  * ID of the element that serves as the label for the popover content.
@@ -1133,7 +1133,7 @@ const qe = Be.exports, Me = {
1133
1133
  padding: {
1134
1134
  type: String,
1135
1135
  default: "large",
1136
- validator: (t) => Object.keys(b).some((e) => e === t)
1136
+ validator: (t) => Object.keys(C).some((e) => e === t)
1137
1137
  },
1138
1138
  /**
1139
1139
  * Additional class name for the content wrapper element.
@@ -1150,7 +1150,7 @@ const qe = Be.exports, Me = {
1150
1150
  contentWidth: {
1151
1151
  type: String,
1152
1152
  default: "",
1153
- validator: (t) => we.includes(t)
1153
+ validator: (t) => $e.includes(t)
1154
1154
  },
1155
1155
  /**
1156
1156
  * Tabindex value for the content. Passing null, no tabindex attribute will be set.
@@ -1277,7 +1277,7 @@ const qe = Be.exports, Me = {
1277
1277
  sticky: {
1278
1278
  type: [Boolean, String],
1279
1279
  default: !1,
1280
- validator: (t) => ke.includes(t)
1280
+ validator: (t) => Le.includes(t)
1281
1281
  },
1282
1282
  /**
1283
1283
  * Determines maximum height for the popover before overflow.
@@ -1354,7 +1354,26 @@ const qe = Be.exports, Me = {
1354
1354
  appendTo: {
1355
1355
  type: [HTMLElement, String],
1356
1356
  default: "body",
1357
- validator: (t) => $e.includes(t) || t instanceof HTMLElement
1357
+ validator: (t) => ke.includes(t) || t instanceof HTMLElement
1358
+ },
1359
+ /**
1360
+ * Set this prop to true and popover component will support hovercard behaviour
1361
+ * It will open on mouseenter and close on mouseleave with timer delay of 300ms
1362
+ */
1363
+ hovercard: {
1364
+ type: Boolean,
1365
+ default: !1
1366
+ },
1367
+ /**
1368
+ * The timer is used only when the hovercard prop is true.
1369
+ * It defines the delays when opening several hovercards.
1370
+ * It must have the keys: enter, leave and current.
1371
+ * If null, the default delay of 300ms will be used.
1372
+ */
1373
+ timer: {
1374
+ type: [Object, null],
1375
+ default: null,
1376
+ validator: (t) => t === null || t.enter && t.leave && Object.keys(t).includes("current")
1358
1377
  }
1359
1378
  },
1360
1379
  emits: [
@@ -1375,13 +1394,15 @@ const qe = Be.exports, Me = {
1375
1394
  ],
1376
1395
  data() {
1377
1396
  return {
1378
- POPOVER_PADDING_CLASSES: b,
1379
- POPOVER_HEADER_FOOTER_PADDING_CLASSES: Te,
1397
+ POPOVER_PADDING_CLASSES: C,
1398
+ POPOVER_HEADER_FOOTER_PADDING_CLASSES: Ae,
1380
1399
  intersectionObserver: null,
1381
1400
  isOutsideViewport: !1,
1382
1401
  isOpen: !1,
1383
1402
  anchorEl: null,
1384
- popoverContentEl: null
1403
+ popoverContentEl: null,
1404
+ inTimer: null,
1405
+ outTimer: null
1385
1406
  };
1386
1407
  },
1387
1408
  computed: {
@@ -1404,6 +1425,10 @@ const qe = Be.exports, Me = {
1404
1425
  },
1405
1426
  labelledBy() {
1406
1427
  return this.ariaLabelledby || !this.ariaLabel && _("DtPopover__anchor");
1428
+ },
1429
+ currentHovercard() {
1430
+ var t;
1431
+ return (t = this.timer) == null ? void 0 : t.current.value;
1407
1432
  }
1408
1433
  },
1409
1434
  watch: {
@@ -1458,6 +1483,9 @@ const qe = Be.exports, Me = {
1458
1483
  },
1459
1484
  isOpen(t, e) {
1460
1485
  t ? (this.initTippyInstance(), this.tip.show()) : !t && e !== t && (this.removeEventListeners(), this.tip.hide());
1486
+ },
1487
+ currentHovercard() {
1488
+ this.hovercard && this.timer && (this.currentHovercard === this.id ? this.isOpen = !0 : this.isOpen = !1);
1461
1489
  }
1462
1490
  },
1463
1491
  mounted() {
@@ -1477,11 +1505,11 @@ const qe = Be.exports, Me = {
1477
1505
  const e = (n = t == null ? void 0 : t[0]) == null ? void 0 : n.target;
1478
1506
  if (!e)
1479
1507
  return;
1480
- const s = R(e);
1508
+ const s = N(e);
1481
1509
  this.isOutsideViewport = s.bottom || s.top;
1482
1510
  },
1483
1511
  popperOptions() {
1484
- return N({
1512
+ return F({
1485
1513
  fallbackPlacements: this.fallbackPlacements,
1486
1514
  tether: this.tether,
1487
1515
  hasHideModifierEnabled: !0
@@ -1498,7 +1526,7 @@ const qe = Be.exports, Me = {
1498
1526
  },
1499
1527
  defaultToggleOpen(t) {
1500
1528
  var e, s;
1501
- this.openOnContext || (this.open ?? ((e = this.anchorEl) != null && e.contains(t.target) && !((s = this.anchorEl) != null && s.disabled) && this.toggleOpen()));
1529
+ this.hovercard || this.openOnContext || (this.open ?? ((e = this.anchorEl) != null && e.contains(t.target) && !((s = this.anchorEl) != null && s.disabled) && this.toggleOpen()));
1502
1530
  },
1503
1531
  async onContext(t) {
1504
1532
  this.openOnContext && (t.preventDefault(), this.isOpen = !0, await this.$nextTick(), this.tip.setProps({
@@ -1592,7 +1620,7 @@ const qe = Be.exports, Me = {
1592
1620
  },
1593
1621
  initTippyInstance() {
1594
1622
  var t, e;
1595
- this.tip = F(this.anchorEl, {
1623
+ this.tip = V(this.anchorEl, {
1596
1624
  popperOptions: this.popperOptions(),
1597
1625
  contentElement: this.popoverContentEl,
1598
1626
  placement: this.placement,
@@ -1608,14 +1636,42 @@ const qe = Be.exports, Me = {
1608
1636
  onClickOutside: this.onClickOutside,
1609
1637
  onShow: this.onShow
1610
1638
  });
1639
+ },
1640
+ // ============================================================================
1641
+ // $ HOVERCARD
1642
+ // ----------------------------------------------------------------------------
1643
+ setInTimer() {
1644
+ this.inTimer = setTimeout(() => {
1645
+ this.isOpen = !0;
1646
+ }, g);
1647
+ },
1648
+ setOutTimer() {
1649
+ this.outTimer = setTimeout(() => {
1650
+ this.isOpen = !1;
1651
+ }, g);
1652
+ },
1653
+ onEnterAnchor() {
1654
+ this.hovercard && (this.timer ? this.timer.enter(this.id) : (clearTimeout(this.outTimer), this.setInTimer()));
1655
+ },
1656
+ onLeaveAnchor() {
1657
+ this.hovercard && (this.timer ? this.timer.leave() : (clearTimeout(this.inTimer), this.setOutTimer()));
1658
+ },
1659
+ onEnterContent() {
1660
+ this.hovercard && (this.timer ? this.timer.enter(this.id) : clearTimeout(this.outTimer));
1661
+ },
1662
+ onLeaveContent() {
1663
+ this.hovercard && (this.timer ? this.timer.leave() : this.setOutTimer());
1611
1664
  }
1665
+ // ============================================================================
1666
+ // $ HOVERCARD
1667
+ // ----------------------------------------------------------------------------
1612
1668
  }
1613
1669
  };
1614
1670
  var ze = function() {
1615
1671
  var e = this, s = e._self._c;
1616
1672
  return s("div", [e.modal && e.isOpen ? s("portal", [s("div", { staticClass: "d-modal--transparent", attrs: { "aria-hidden": e.modal && e.isOpen ? "false" : "true" }, on: { click: function(n) {
1617
1673
  n.preventDefault(), n.stopPropagation();
1618
- } } })]) : e._e(), s(e.elementType, e._g({ ref: "popover", tag: "component", class: ["d-popover", { "d-popover__anchor--opened": e.isOpen }], attrs: { "data-qa": "dt-popover-container" } }, e.$listeners), [s("div", { ref: "anchor", attrs: { id: !e.ariaLabelledby && e.labelledBy, "data-qa": "dt-popover-anchor", tabindex: e.openOnContext ? 0 : void 0 }, on: { "!click": function(n) {
1674
+ } } })]) : e._e(), s(e.elementType, e._g({ ref: "popover", tag: "component", class: ["d-popover", { "d-popover__anchor--opened": e.isOpen }], attrs: { "data-qa": "dt-popover-container" } }, e.$listeners), [s("div", { ref: "anchor", attrs: { id: !e.ariaLabelledby && e.labelledBy, "data-qa": e.$attrs["data-qa"] ? `${e.$attrs["data-qa"]}-anchor` : "dt-popover-anchor", tabindex: e.openOnContext ? 0 : void 0 }, on: { "!click": function(n) {
1619
1675
  return e.defaultToggleOpen.apply(null, arguments);
1620
1676
  }, contextmenu: e.onContext, keydown: [function(n) {
1621
1677
  return !n.type.indexOf("key") && e._k(n.keyCode, "up", 38, n.key, ["Up", "ArrowUp"]) ? null : (n.preventDefault(), e.onArrowKeyPress.apply(null, arguments));
@@ -1623,72 +1679,72 @@ var ze = function() {
1623
1679
  return !n.type.indexOf("key") && e._k(n.keyCode, "down", 40, n.key, ["Down", "ArrowDown"]) ? null : (n.preventDefault(), e.onArrowKeyPress.apply(null, arguments));
1624
1680
  }], "!keydown": function(n) {
1625
1681
  return !n.type.indexOf("key") && e._k(n.keyCode, "escape", void 0, n.key, void 0) ? null : e.closePopover.apply(null, arguments);
1626
- } } }, [e._t("anchor", null, { attrs: {
1682
+ }, mouseenter: e.onEnterAnchor, mouseleave: e.onLeaveAnchor } }, [e._t("anchor", null, { attrs: {
1627
1683
  "aria-expanded": e.isOpen.toString(),
1628
1684
  "aria-controls": e.id,
1629
1685
  "aria-haspopup": e.role
1630
1686
  } })], 2), s("dt-lazy-show", e._g({ ref: "content", class: ["d-popover__dialog", { "d-popover__dialog--modal": e.modal }, e.dialogClass], style: {
1631
1687
  "max-height": e.calculatedMaxHeight,
1632
1688
  "max-width": e.maxWidth
1633
- }, attrs: { id: e.id, role: e.role, "data-qa": "dt-popover", "aria-hidden": `${!e.isOpen}`, "aria-labelledby": e.labelledBy, "aria-label": e.ariaLabel, "aria-modal": `${!e.modal}`, transition: e.transition, show: e.isOpen, tabindex: e.contentTabindex, appear: "" } }, e.popoverListeners), [e.$slots.headerContent || e.showCloseButton ? s("popover-header-footer", { ref: "popover__header", class: e.POPOVER_HEADER_FOOTER_PADDING_CLASSES[e.padding], attrs: { "content-class": e.headerClass, type: "header", "show-close-button": e.showCloseButton, "close-button-props": e.closeButtonProps }, on: { close: e.closePopover }, scopedSlots: e._u([{ key: "content", fn: function() {
1689
+ }, attrs: { id: e.id, role: e.role, "data-qa": e.$attrs["data-qa"] ? `${e.$attrs["data-qa"]}__dialog` : "dt-popover", "aria-hidden": `${!e.isOpen}`, "aria-labelledby": e.labelledBy, "aria-label": e.ariaLabel, "aria-modal": `${!e.modal}`, transition: e.transition, show: e.isOpen, tabindex: e.contentTabindex, appear: "" }, on: { mouseenter: e.onEnterContent, mouseleave: e.onLeaveContent } }, e.popoverListeners), [e.$slots.headerContent || e.showCloseButton ? s("popover-header-footer", { ref: "popover__header", class: e.POPOVER_HEADER_FOOTER_PADDING_CLASSES[e.padding], attrs: { "content-class": e.headerClass, type: "header", "show-close-button": e.showCloseButton, "close-button-props": e.closeButtonProps }, on: { close: e.closePopover }, scopedSlots: e._u([{ key: "content", fn: function() {
1634
1690
  return [e._t("headerContent", null, { close: e.closePopover })];
1635
1691
  }, proxy: !0 }], null, !0) }) : e._e(), s("div", { ref: "popover__content", class: [
1636
1692
  "d-popover__content",
1637
1693
  e.POPOVER_PADDING_CLASSES[e.padding],
1638
1694
  e.contentClass
1639
- ], attrs: { "data-qa": "dt-popover-content" } }, [e._t("content", null, { close: e.closePopover })], 2), e.$slots.footerContent ? s("popover-header-footer", { ref: "popover__footer", class: e.POPOVER_HEADER_FOOTER_PADDING_CLASSES[e.padding], attrs: { type: "footer", "content-class": e.footerClass }, scopedSlots: e._u([{ key: "content", fn: function() {
1695
+ ], attrs: { "data-qa": e.$attrs["data-qa"] ? `${e.$attrs["data-qa"]}-content` : "dt-popover-content" } }, [e._t("content", null, { close: e.closePopover })], 2), e.$slots.footerContent ? s("popover-header-footer", { ref: "popover__footer", class: e.POPOVER_HEADER_FOOTER_PADDING_CLASSES[e.padding], attrs: { type: "footer", "content-class": e.footerClass }, scopedSlots: e._u([{ key: "content", fn: function() {
1640
1696
  return [e._t("footerContent", null, { close: e.closePopover })];
1641
1697
  }, proxy: !0 }], null, !0) }) : e._e(), e.showVisuallyHiddenClose ? s("sr-only-close-button", { attrs: { "visually-hidden-close-label": e.visuallyHiddenCloseLabel }, on: { close: e.closePopover } }) : e._e()], 1)], 1)], 1);
1642
- }, je = [], Ke = /* @__PURE__ */ a(
1643
- Me,
1644
- ze,
1698
+ }, Ke = [], We = /* @__PURE__ */ a(
1645
1699
  je,
1700
+ ze,
1701
+ Ke,
1646
1702
  !1,
1647
1703
  null,
1648
1704
  null,
1649
1705
  null,
1650
1706
  null
1651
1707
  );
1652
- const lt = Ke.exports;
1653
- function C(t) {
1654
- return t === i.default;
1655
- }
1708
+ const dt = We.exports;
1656
1709
  function O(t) {
1710
+ return t === o.default;
1711
+ }
1712
+ function T(t) {
1657
1713
  if (l(t) === "string")
1658
- return C(t) ? null : i[t];
1714
+ return O(t) ? null : o[t];
1659
1715
  if (l(t) === "object") {
1660
1716
  const { default: e } = t;
1661
- return C(e) ? null : i[e];
1717
+ return O(e) ? null : o[e];
1662
1718
  } else
1663
1719
  return null;
1664
1720
  }
1665
1721
  function l(t) {
1666
1722
  return typeof t;
1667
1723
  }
1668
- function We(t) {
1669
- return O(t) ? `d-stack--${i[O(t)]}` : null;
1670
- }
1671
1724
  function Ge(t) {
1672
- return l(t) === "object" ? [
1673
- ...A.map((e) => t[e] ? `d-stack--${e}--${t[e]}` : null)
1674
- ] : null;
1725
+ return T(t) ? `d-stack--${o[T(t)]}` : null;
1675
1726
  }
1676
1727
  function Ue(t) {
1677
- return y.includes(t) ? `d-stack--gap-${t}` : null;
1728
+ return l(t) === "object" ? [
1729
+ ...w.map((e) => t[e] ? `d-stack--${e}--${t[e]}` : null)
1730
+ ] : null;
1678
1731
  }
1679
1732
  function Ye(t) {
1733
+ return v.includes(t) ? `d-stack--gap-${t}` : null;
1734
+ }
1735
+ function Ze(t) {
1680
1736
  if (l(t) === "string")
1681
- return Object.keys(i).includes(t);
1737
+ return Object.keys(o).includes(t);
1682
1738
  if (l(t) === "object") {
1683
1739
  const { default: e } = t;
1684
- return Object.keys(i).includes(e);
1740
+ return Object.keys(o).includes(e);
1685
1741
  } else
1686
1742
  return null;
1687
1743
  }
1688
- function Ze(t) {
1689
- return y.includes(t);
1744
+ function Xe(t) {
1745
+ return v.includes(t);
1690
1746
  }
1691
- const Xe = {
1747
+ const Je = {
1692
1748
  name: "DtStack",
1693
1749
  props: {
1694
1750
  /**
@@ -1702,7 +1758,7 @@ const Xe = {
1702
1758
  direction: {
1703
1759
  type: [String, Object],
1704
1760
  default: "column",
1705
- validator: (t) => Ye(t)
1761
+ validator: (t) => Ze(t)
1706
1762
  },
1707
1763
  /**
1708
1764
  * Set this prop to render stack as a specific HTML element.
@@ -1718,29 +1774,29 @@ const Xe = {
1718
1774
  gap: {
1719
1775
  type: String,
1720
1776
  default: "0",
1721
- validator: (t) => Ze(t)
1777
+ validator: (t) => Xe(t)
1722
1778
  }
1723
1779
  },
1724
1780
  data() {
1725
1781
  return {
1726
- DT_STACK_DIRECTION: i,
1727
- DT_STACK_GAP: y,
1728
- DT_STACK_RESPONSIVE_BREAKPOINTS: A
1782
+ DT_STACK_DIRECTION: o,
1783
+ DT_STACK_GAP: v,
1784
+ DT_STACK_RESPONSIVE_BREAKPOINTS: w
1729
1785
  };
1730
1786
  },
1731
1787
  computed: {
1732
1788
  stackGap() {
1733
- return Ue(this.gap);
1789
+ return Ye(this.gap);
1734
1790
  },
1735
1791
  defaultDirection() {
1736
- return We(this.direction);
1792
+ return Ge(this.direction);
1737
1793
  },
1738
1794
  stackResponsive() {
1739
- return Ge(this.direction);
1795
+ return Ue(this.direction);
1740
1796
  }
1741
1797
  }
1742
1798
  };
1743
- var Je = function() {
1799
+ var Qe = function() {
1744
1800
  var e = this, s = e._self._c;
1745
1801
  return s(e.as, { tag: "component", class: [
1746
1802
  "d-stack",
@@ -1748,49 +1804,49 @@ var Je = function() {
1748
1804
  e.stackResponsive,
1749
1805
  e.stackGap
1750
1806
  ] }, [e._t("default")], 2);
1751
- }, Qe = [], et = /* @__PURE__ */ a(
1752
- Xe,
1807
+ }, et = [], tt = /* @__PURE__ */ a(
1753
1808
  Je,
1754
1809
  Qe,
1810
+ et,
1755
1811
  !1,
1756
1812
  null,
1757
1813
  null,
1758
1814
  null,
1759
1815
  null
1760
1816
  );
1761
- const dt = et.exports;
1817
+ const ct = tt.exports;
1762
1818
  export {
1763
1819
  f as A,
1764
- A as B,
1765
- it as D,
1820
+ w as B,
1821
+ rt as D,
1766
1822
  d as L,
1767
1823
  ye as M,
1768
- $e as P,
1769
- he as S,
1770
- dt as a,
1824
+ ke as P,
1825
+ me as S,
1826
+ ct as a,
1771
1827
  ot as b,
1772
- at as c,
1773
- lt as d,
1774
- de as e,
1775
- y as f,
1776
- P as g,
1777
- we as h,
1778
- E as i,
1779
- U as j,
1828
+ it as c,
1829
+ dt as d,
1830
+ ce as e,
1831
+ v as f,
1832
+ C as g,
1833
+ P as h,
1834
+ $e as i,
1835
+ b as j,
1780
1836
  Y as k,
1781
- g as l,
1782
- Z as m,
1837
+ Z as l,
1838
+ S as m,
1783
1839
  X as n,
1784
- S as o,
1785
- h as p,
1786
- b as q,
1787
- Te as r,
1788
- Ae as s,
1840
+ J as o,
1841
+ E as p,
1842
+ h as q,
1843
+ Ae as r,
1844
+ we as s,
1789
1845
  Pe as t,
1790
- ke as u,
1791
- rt as v,
1792
- G as w,
1846
+ Le as u,
1847
+ lt as v,
1848
+ U as w,
1793
1849
  r as x,
1794
- M as y,
1795
- i as z
1850
+ j as y,
1851
+ o as z
1796
1852
  };