@dialpad/dialtone-vue 2.126.0 → 2.127.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 (425) hide show
  1. package/dist/chunks/_plugin-vue2_normalizer-1aBeR4AK.js +59 -0
  2. package/dist/chunks/_plugin-vue2_normalizer-1aBeR4AK.js.map +1 -0
  3. package/dist/chunks/_plugin-vue2_normalizer-sOSkiPF3.js +60 -0
  4. package/dist/chunks/_plugin-vue2_normalizer-sOSkiPF3.js.map +1 -0
  5. package/dist/chunks/{dropdown-SMWaTWyF.js → dropdown-DTtcQEFC.js} +131 -84
  6. package/dist/chunks/{dropdown-SMWaTWyF.js.map → dropdown-DTtcQEFC.js.map} +1 -1
  7. package/dist/chunks/dropdown-IaLNHmVd.js +403 -0
  8. package/dist/chunks/dropdown-IaLNHmVd.js.map +1 -0
  9. package/dist/chunks/dropdown_constants-2pGCXy7m.js +8 -0
  10. package/dist/chunks/dropdown_constants-2pGCXy7m.js.map +1 -0
  11. package/dist/chunks/dropdown_constants-w1MXGC3Z.js +9 -0
  12. package/dist/chunks/dropdown_constants-w1MXGC3Z.js.map +1 -0
  13. package/dist/chunks/{icon_constants-OpYAAKwF.js → icon_constants-Dy4MEUJL.js} +7 -6
  14. package/dist/chunks/{icon_constants-OpYAAKwF.js.map → icon_constants-Dy4MEUJL.js.map} +1 -1
  15. package/dist/chunks/icon_constants-QYpmdE0R.js +16 -0
  16. package/dist/chunks/icon_constants-QYpmdE0R.js.map +1 -0
  17. package/dist/chunks/index-DUr1xHR0.js +442 -0
  18. package/dist/chunks/{index-nIyl_PL6.js.map → index-DUr1xHR0.js.map} +1 -1
  19. package/dist/chunks/index-IA-Z8fgm.js +441 -0
  20. package/dist/chunks/index-IA-Z8fgm.js.map +1 -0
  21. package/dist/chunks/{input-1tm09l_-.js → input-6kbd8Pju.js} +83 -60
  22. package/dist/chunks/{input-1tm09l_-.js.map → input-6kbd8Pju.js.map} +1 -1
  23. package/dist/chunks/input-Axw-wFj2.js +295 -0
  24. package/dist/chunks/input-Axw-wFj2.js.map +1 -0
  25. package/dist/chunks/input_group-m3cWYUfI.js +143 -0
  26. package/dist/chunks/{input_group-zcAq3DQl.js.map → input_group-m3cWYUfI.js.map} +1 -1
  27. package/dist/chunks/{input_group-zcAq3DQl.js → input_group-qVZaS5Bb.js} +27 -24
  28. package/dist/chunks/input_group-qVZaS5Bb.js.map +1 -0
  29. package/dist/chunks/keyboard_list_navigation-ScXhrxya.js +284 -0
  30. package/dist/chunks/{keyboard_list_navigation-F0O8nht0.js.map → keyboard_list_navigation-ScXhrxya.js.map} +1 -1
  31. package/dist/chunks/keyboard_list_navigation-fJnl_Iox.js +283 -0
  32. package/dist/chunks/keyboard_list_navigation-fJnl_Iox.js.map +1 -0
  33. package/dist/chunks/link_constants-Huj7D_hm.js +22 -0
  34. package/dist/chunks/{link_constants-vIUB92L4.js.map → link_constants-Huj7D_hm.js.map} +1 -1
  35. package/dist/chunks/link_constants-nWVlXQBs.js +23 -0
  36. package/dist/chunks/link_constants-nWVlXQBs.js.map +1 -0
  37. package/dist/chunks/list_item_constants-EiqkqZvP.js +13 -0
  38. package/dist/chunks/{list_item_constants-LTUc74pD.js.map → list_item_constants-EiqkqZvP.js.map} +1 -1
  39. package/dist/chunks/list_item_constants-u1xcN9Dd.js +14 -0
  40. package/dist/chunks/list_item_constants-u1xcN9Dd.js.map +1 -0
  41. package/dist/chunks/modal-VgxXAQFP.js +105 -0
  42. package/dist/chunks/{modal-VuMFkZFH.js.map → modal-VgxXAQFP.js.map} +1 -1
  43. package/dist/chunks/modal-XOr4kiNZ.js +106 -0
  44. package/dist/chunks/modal-XOr4kiNZ.js.map +1 -0
  45. package/dist/chunks/notice_action-IRUoLX2d.js +196 -0
  46. package/dist/chunks/{notice_action-9NmtQRai.js.map → notice_action-IRUoLX2d.js.map} +1 -1
  47. package/dist/chunks/notice_action-P6uDyE9x.js +195 -0
  48. package/dist/chunks/notice_action-P6uDyE9x.js.map +1 -0
  49. package/dist/chunks/notice_constants-7Qt2CQEY.js +7 -0
  50. package/dist/chunks/{notice_constants-c--hBFQw.js.map → notice_constants-7Qt2CQEY.js.map} +1 -1
  51. package/dist/chunks/notice_constants-UXo9e3bS.js +6 -0
  52. package/dist/chunks/notice_constants-UXo9e3bS.js.map +1 -0
  53. package/dist/chunks/popover_constants-JwBF9h1Z.js +143 -0
  54. package/dist/chunks/{popover_constants-qjlEkroB.js.map → popover_constants-JwBF9h1Z.js.map} +1 -1
  55. package/dist/chunks/popover_constants-Qkpb0yh2.js +144 -0
  56. package/dist/chunks/popover_constants-Qkpb0yh2.js.map +1 -0
  57. package/dist/chunks/sr_only_close_button-81bHIpPu.js +95 -0
  58. package/dist/chunks/{sr_only_close_button-JGole5Xi.js.map → sr_only_close_button-81bHIpPu.js.map} +1 -1
  59. package/dist/chunks/sr_only_close_button-ZaGdAHz7.js +94 -0
  60. package/dist/chunks/sr_only_close_button-ZaGdAHz7.js.map +1 -0
  61. package/dist/chunks/stack_constants-HraCekPm.js +15 -0
  62. package/dist/chunks/{stack_constants-u7tNqGtc.js.map → stack_constants-HraCekPm.js.map} +1 -1
  63. package/dist/chunks/stack_constants-SMzMWnAQ.js +14 -0
  64. package/dist/chunks/stack_constants-SMzMWnAQ.js.map +1 -0
  65. package/dist/chunks/tab-FcsV5VmK.js +386 -0
  66. package/dist/chunks/tab-FcsV5VmK.js.map +1 -0
  67. package/dist/chunks/tab-V4cb44Ry.js +387 -0
  68. package/dist/chunks/{tab-Qm9LVkYj.js.map → tab-V4cb44Ry.js.map} +1 -1
  69. package/dist/common/constants.cjs +60 -0
  70. package/dist/common/constants.cjs.map +1 -0
  71. package/dist/{lib → common}/constants.js +25 -18
  72. package/dist/{lib → common}/constants.js.map +1 -1
  73. package/dist/common/dates.cjs +72 -0
  74. package/dist/common/dates.cjs.map +1 -0
  75. package/dist/common/dates.js +72 -0
  76. package/dist/{lib → common}/dates.js.map +1 -1
  77. package/dist/common/emoji.cjs +163 -0
  78. package/dist/common/emoji.cjs.map +1 -0
  79. package/dist/common/emoji.js +168 -0
  80. package/dist/common/emoji.js.map +1 -0
  81. package/dist/common/mixins.cjs +17 -0
  82. package/dist/common/mixins.cjs.map +1 -0
  83. package/dist/common/mixins.js +17 -0
  84. package/dist/common/utils.cjs +237 -0
  85. package/dist/common/utils.cjs.map +1 -0
  86. package/dist/common/utils.js +237 -0
  87. package/dist/{lib → common}/utils.js.map +1 -1
  88. package/dist/common/validators.cjs +23 -0
  89. package/dist/common/validators.cjs.map +1 -0
  90. package/dist/common/validators.js +23 -0
  91. package/dist/{lib → common}/validators.js.map +1 -1
  92. package/dist/component-documentation.json +1 -1
  93. package/dist/dialtone-vue.cjs +373 -0
  94. package/dist/dialtone-vue.cjs.map +1 -0
  95. package/dist/dialtone-vue.js +325 -324
  96. package/dist/dialtone-vue.js.map +1 -1
  97. package/dist/lib/attachment-carousel.cjs +261 -0
  98. package/dist/lib/attachment-carousel.cjs.map +1 -0
  99. package/dist/lib/attachment-carousel.js +96 -85
  100. package/dist/lib/attachment-carousel.js.map +1 -1
  101. package/dist/lib/avatar.cjs +400 -0
  102. package/dist/lib/avatar.cjs.map +1 -0
  103. package/dist/lib/avatar.js +111 -80
  104. package/dist/lib/avatar.js.map +1 -1
  105. package/dist/lib/badge.cjs +183 -0
  106. package/dist/lib/badge.cjs.map +1 -0
  107. package/dist/lib/badge.js +53 -39
  108. package/dist/lib/badge.js.map +1 -1
  109. package/dist/lib/banner.cjs +210 -0
  110. package/dist/lib/banner.cjs.map +1 -0
  111. package/dist/lib/banner.js +58 -48
  112. package/dist/lib/banner.js.map +1 -1
  113. package/dist/lib/breadcrumbs.cjs +147 -0
  114. package/dist/lib/breadcrumbs.cjs.map +1 -0
  115. package/dist/lib/breadcrumbs.js +57 -48
  116. package/dist/lib/breadcrumbs.js.map +1 -1
  117. package/dist/lib/button-group.cjs +48 -0
  118. package/dist/lib/button-group.cjs.map +1 -0
  119. package/dist/lib/button-group.js +21 -18
  120. package/dist/lib/button-group.js.map +1 -1
  121. package/dist/lib/button.cjs +350 -0
  122. package/dist/lib/button.cjs.map +1 -0
  123. package/dist/lib/button.js +98 -76
  124. package/dist/lib/button.js.map +1 -1
  125. package/dist/lib/callbar-button-with-popover.cjs +250 -0
  126. package/dist/lib/callbar-button-with-popover.cjs.map +1 -0
  127. package/dist/lib/callbar-button-with-popover.js +66 -51
  128. package/dist/lib/callbar-button-with-popover.js.map +1 -1
  129. package/dist/lib/callbar-button.cjs +183 -0
  130. package/dist/lib/callbar-button.cjs.map +1 -0
  131. package/dist/lib/callbar-button.js +42 -34
  132. package/dist/lib/callbar-button.js.map +1 -1
  133. package/dist/lib/callbox.cjs +147 -0
  134. package/dist/lib/callbox.cjs.map +1 -0
  135. package/dist/lib/callbox.js +38 -33
  136. package/dist/lib/callbox.js.map +1 -1
  137. package/dist/lib/card.cjs +74 -0
  138. package/dist/lib/card.cjs.map +1 -0
  139. package/dist/lib/card.js +22 -20
  140. package/dist/lib/card.js.map +1 -1
  141. package/dist/lib/checkbox-group.cjs +130 -0
  142. package/dist/lib/checkbox-group.cjs.map +1 -0
  143. package/dist/lib/checkbox-group.js +42 -29
  144. package/dist/lib/checkbox-group.js.map +1 -1
  145. package/dist/lib/checkbox.cjs +128 -0
  146. package/dist/lib/checkbox.cjs.map +1 -0
  147. package/dist/lib/checkbox.js +46 -35
  148. package/dist/lib/checkbox.js.map +1 -1
  149. package/dist/lib/chip.cjs +199 -0
  150. package/dist/lib/chip.cjs.map +1 -0
  151. package/dist/lib/chip.js +59 -46
  152. package/dist/lib/chip.js.map +1 -1
  153. package/dist/lib/codeblock.cjs +30 -0
  154. package/dist/lib/codeblock.cjs.map +1 -0
  155. package/dist/lib/codeblock.js +15 -14
  156. package/dist/lib/codeblock.js.map +1 -1
  157. package/dist/lib/collapsible.cjs +335 -0
  158. package/dist/lib/collapsible.cjs.map +1 -0
  159. package/dist/lib/collapsible.js +91 -69
  160. package/dist/lib/collapsible.js.map +1 -1
  161. package/dist/lib/combobox-multi-select.cjs +520 -0
  162. package/dist/lib/combobox-multi-select.cjs.map +1 -0
  163. package/dist/lib/combobox-multi-select.js +223 -136
  164. package/dist/lib/combobox-multi-select.js.map +1 -1
  165. package/dist/lib/combobox-with-popover.cjs +385 -0
  166. package/dist/lib/combobox-with-popover.cjs.map +1 -0
  167. package/dist/lib/combobox-with-popover.js +131 -87
  168. package/dist/lib/combobox-with-popover.js.map +1 -1
  169. package/dist/lib/combobox.cjs +19 -0
  170. package/dist/lib/combobox.cjs.map +1 -0
  171. package/dist/lib/combobox.js +9 -9
  172. package/dist/lib/contact-info.cjs +146 -0
  173. package/dist/lib/contact-info.cjs.map +1 -0
  174. package/dist/lib/contact-info.js +34 -33
  175. package/dist/lib/contact-info.js.map +1 -1
  176. package/dist/lib/contact-row.cjs +206 -0
  177. package/dist/lib/contact-row.cjs.map +1 -0
  178. package/dist/lib/contact-row.js +42 -39
  179. package/dist/lib/contact-row.js.map +1 -1
  180. package/dist/lib/datepicker.cjs +663 -0
  181. package/dist/lib/datepicker.cjs.map +1 -0
  182. package/dist/lib/datepicker.js +330 -219
  183. package/dist/lib/datepicker.js.map +1 -1
  184. package/dist/lib/description-list.cjs +115 -0
  185. package/dist/lib/description-list.cjs.map +1 -0
  186. package/dist/lib/description-list.js +51 -19
  187. package/dist/lib/description-list.js.map +1 -1
  188. package/dist/lib/dropdown.cjs +46 -0
  189. package/dist/lib/dropdown.cjs.map +1 -0
  190. package/dist/lib/dropdown.js +27 -26
  191. package/dist/lib/dropdown.js.map +1 -1
  192. package/dist/lib/editor.cjs +556 -0
  193. package/dist/lib/editor.cjs.map +1 -0
  194. package/dist/lib/editor.js +191 -162
  195. package/dist/lib/editor.js.map +1 -1
  196. package/dist/lib/emoji-picker.cjs +1064 -0
  197. package/dist/lib/emoji-picker.cjs.map +1 -0
  198. package/dist/lib/emoji-picker.js +638 -375
  199. package/dist/lib/emoji-picker.js.map +1 -1
  200. package/dist/lib/emoji-row.cjs +89 -0
  201. package/dist/lib/emoji-row.cjs.map +1 -0
  202. package/dist/lib/emoji-row.js +46 -40
  203. package/dist/lib/emoji-row.js.map +1 -1
  204. package/dist/lib/emoji-text-wrapper.cjs +110 -0
  205. package/dist/lib/emoji-text-wrapper.cjs.map +1 -0
  206. package/dist/lib/emoji-text-wrapper.js +49 -35
  207. package/dist/lib/emoji-text-wrapper.js.map +1 -1
  208. package/dist/lib/emoji.cjs +146 -0
  209. package/dist/lib/emoji.cjs.map +1 -0
  210. package/dist/lib/emoji.js +140 -5
  211. package/dist/lib/emoji.js.map +1 -1
  212. package/dist/lib/feed-item-row.cjs +214 -0
  213. package/dist/lib/feed-item-row.cjs.map +1 -0
  214. package/dist/lib/feed-item-row.js +71 -64
  215. package/dist/lib/feed-item-row.js.map +1 -1
  216. package/dist/lib/feed-pill.cjs +150 -0
  217. package/dist/lib/feed-pill.cjs.map +1 -0
  218. package/dist/lib/feed-pill.js +60 -52
  219. package/dist/lib/feed-pill.js.map +1 -1
  220. package/dist/lib/general-row.cjs +406 -0
  221. package/dist/lib/general-row.cjs.map +1 -0
  222. package/dist/lib/general-row.js +133 -106
  223. package/dist/lib/general-row.js.map +1 -1
  224. package/dist/lib/group-row.cjs +118 -0
  225. package/dist/lib/group-row.cjs.map +1 -0
  226. package/dist/lib/group-row.js +34 -31
  227. package/dist/lib/group-row.js.map +1 -1
  228. package/dist/lib/grouped-chip.cjs +46 -0
  229. package/dist/lib/grouped-chip.cjs.map +1 -0
  230. package/dist/lib/grouped-chip.js +28 -27
  231. package/dist/lib/grouped-chip.js.map +1 -1
  232. package/dist/lib/hovercard.cjs +228 -0
  233. package/dist/lib/hovercard.cjs.map +1 -0
  234. package/dist/lib/hovercard.js +98 -64
  235. package/dist/lib/hovercard.js.map +1 -1
  236. package/dist/lib/icon.cjs +60 -0
  237. package/dist/lib/icon.cjs.map +1 -0
  238. package/dist/lib/icon.js +22 -44
  239. package/dist/lib/icon.js.map +1 -1
  240. package/dist/lib/image-viewer.cjs +191 -0
  241. package/dist/lib/image-viewer.cjs.map +1 -0
  242. package/dist/lib/image-viewer.js +83 -63
  243. package/dist/lib/image-viewer.js.map +1 -1
  244. package/dist/lib/input-group.cjs +92 -0
  245. package/dist/lib/input-group.cjs.map +1 -0
  246. package/dist/lib/input-group.js +29 -27
  247. package/dist/lib/input-group.js.map +1 -1
  248. package/dist/lib/input.cjs +493 -0
  249. package/dist/lib/input.cjs.map +1 -0
  250. package/dist/lib/input.js +127 -89
  251. package/dist/lib/input.js.map +1 -1
  252. package/dist/lib/item-layout.cjs +41 -0
  253. package/dist/lib/item-layout.cjs.map +1 -0
  254. package/dist/lib/item-layout.js +15 -13
  255. package/dist/lib/item-layout.js.map +1 -1
  256. package/dist/lib/ivr-node.cjs +210 -0
  257. package/dist/lib/ivr-node.cjs.map +1 -0
  258. package/dist/lib/ivr-node.js +115 -100
  259. package/dist/lib/ivr-node.js.map +1 -1
  260. package/dist/lib/keyboard-shortcut.cjs +107 -0
  261. package/dist/lib/keyboard-shortcut.cjs.map +1 -0
  262. package/dist/lib/keyboard-shortcut.js +42 -35
  263. package/dist/lib/keyboard-shortcut.js.map +1 -1
  264. package/dist/lib/lazy-show.cjs +81 -0
  265. package/dist/lib/lazy-show.cjs.map +1 -0
  266. package/dist/lib/lazy-show.js +20 -16
  267. package/dist/lib/lazy-show.js.map +1 -1
  268. package/dist/lib/link.cjs +71 -0
  269. package/dist/lib/link.cjs.map +1 -0
  270. package/dist/lib/link.js +22 -20
  271. package/dist/lib/link.js.map +1 -1
  272. package/dist/lib/list-item-group.cjs +61 -0
  273. package/dist/lib/list-item-group.cjs.map +1 -0
  274. package/dist/lib/list-item-group.js +19 -17
  275. package/dist/lib/list-item-group.js.map +1 -1
  276. package/dist/lib/list-item.cjs +205 -0
  277. package/dist/lib/list-item.cjs.map +1 -0
  278. package/dist/lib/list-item.js +67 -57
  279. package/dist/lib/list-item.js.map +1 -1
  280. package/dist/lib/message-input.cjs +555 -0
  281. package/dist/lib/message-input.cjs.map +1 -0
  282. package/dist/lib/message-input.js +211 -147
  283. package/dist/lib/message-input.js.map +1 -1
  284. package/dist/lib/modal.cjs +351 -0
  285. package/dist/lib/modal.cjs.map +1 -0
  286. package/dist/lib/modal.js +118 -91
  287. package/dist/lib/modal.js.map +1 -1
  288. package/dist/lib/notice.cjs +160 -0
  289. package/dist/lib/notice.cjs.map +1 -0
  290. package/dist/lib/notice.js +46 -44
  291. package/dist/lib/notice.js.map +1 -1
  292. package/dist/lib/pagination.cjs +153 -0
  293. package/dist/lib/pagination.cjs.map +1 -0
  294. package/dist/lib/pagination.js +60 -49
  295. package/dist/lib/pagination.js.map +1 -1
  296. package/dist/lib/popover.cjs +957 -0
  297. package/dist/lib/popover.cjs.map +1 -0
  298. package/dist/lib/popover.js +401 -222
  299. package/dist/lib/popover.js.map +1 -1
  300. package/dist/lib/presence.cjs +66 -0
  301. package/dist/lib/presence.cjs.map +1 -0
  302. package/dist/lib/presence.js +32 -26
  303. package/dist/lib/presence.js.map +1 -1
  304. package/dist/lib/radio-group.cjs +99 -0
  305. package/dist/lib/radio-group.cjs.map +1 -0
  306. package/dist/lib/radio-group.js +24 -22
  307. package/dist/lib/radio-group.js.map +1 -1
  308. package/dist/lib/radio.cjs +119 -0
  309. package/dist/lib/radio.cjs.map +1 -0
  310. package/dist/lib/radio.js +43 -35
  311. package/dist/lib/radio.js.map +1 -1
  312. package/dist/lib/rich-text-editor.cjs +1139 -0
  313. package/dist/lib/rich-text-editor.cjs.map +1 -0
  314. package/dist/lib/rich-text-editor.js +611 -392
  315. package/dist/lib/rich-text-editor.js.map +1 -1
  316. package/dist/lib/root-layout.cjs +131 -0
  317. package/dist/lib/root-layout.cjs.map +1 -0
  318. package/dist/lib/root-layout.js +28 -24
  319. package/dist/lib/root-layout.js.map +1 -1
  320. package/dist/lib/select-menu.cjs +283 -0
  321. package/dist/lib/select-menu.cjs.map +1 -0
  322. package/dist/lib/select-menu.js +101 -61
  323. package/dist/lib/select-menu.js.map +1 -1
  324. package/dist/lib/settings-menu-button.cjs +66 -0
  325. package/dist/lib/settings-menu-button.cjs.map +1 -0
  326. package/dist/lib/settings-menu-button.js +26 -25
  327. package/dist/lib/settings-menu-button.js.map +1 -1
  328. package/dist/lib/skeleton.cjs +613 -0
  329. package/dist/lib/skeleton.cjs.map +1 -0
  330. package/dist/lib/skeleton.js +174 -135
  331. package/dist/lib/skeleton.js.map +1 -1
  332. package/dist/lib/stack.cjs +128 -0
  333. package/dist/lib/stack.cjs.map +1 -0
  334. package/dist/lib/stack.js +66 -56
  335. package/dist/lib/stack.js.map +1 -1
  336. package/dist/lib/tabs.cjs +100 -0
  337. package/dist/lib/tabs.cjs.map +1 -0
  338. package/dist/lib/tabs.js +42 -35
  339. package/dist/lib/tabs.js.map +1 -1
  340. package/dist/lib/time-pill.cjs +48 -0
  341. package/dist/lib/time-pill.cjs.map +1 -0
  342. package/dist/lib/time-pill.js +21 -16
  343. package/dist/lib/time-pill.js.map +1 -1
  344. package/dist/lib/toast.cjs +248 -0
  345. package/dist/lib/toast.cjs.map +1 -0
  346. package/dist/lib/toast.js +78 -56
  347. package/dist/lib/toast.js.map +1 -1
  348. package/dist/lib/toggle.cjs +178 -0
  349. package/dist/lib/toggle.cjs.map +1 -0
  350. package/dist/lib/toggle.js +46 -37
  351. package/dist/lib/toggle.js.map +1 -1
  352. package/dist/lib/tooltip-directive.cjs +88 -0
  353. package/dist/lib/tooltip-directive.cjs.map +1 -0
  354. package/dist/lib/tooltip-directive.js +55 -41
  355. package/dist/lib/tooltip-directive.js.map +1 -1
  356. package/dist/lib/tooltip.cjs +437 -0
  357. package/dist/lib/tooltip.cjs.map +1 -0
  358. package/dist/lib/tooltip.js +152 -90
  359. package/dist/lib/tooltip.js.map +1 -1
  360. package/dist/lib/top-banner-info.cjs +64 -0
  361. package/dist/lib/top-banner-info.cjs.map +1 -0
  362. package/dist/lib/top-banner-info.js +22 -18
  363. package/dist/lib/top-banner-info.js.map +1 -1
  364. package/dist/lib/unread-pill.cjs +64 -0
  365. package/dist/lib/unread-pill.cjs.map +1 -0
  366. package/dist/lib/unread-pill.js +25 -22
  367. package/dist/lib/unread-pill.js.map +1 -1
  368. package/dist/lib/validation-messages.cjs +86 -0
  369. package/dist/lib/validation-messages.cjs.map +1 -0
  370. package/dist/lib/validation-messages.js +32 -29
  371. package/dist/lib/validation-messages.js.map +1 -1
  372. package/dist/style.css +1214 -1
  373. package/dist/types/components/avatar/avatar.vue.d.ts +1 -1
  374. package/dist/types/components/button/button.vue.d.ts +2 -2
  375. package/dist/types/components/card/card.vue.d.ts +1 -1
  376. package/dist/types/components/chip/chip.vue.d.ts +1 -1
  377. package/dist/types/components/collapsible/collapsible.vue.d.ts +2 -2
  378. package/dist/types/components/combobox/combobox.vue.d.ts +1 -1
  379. package/dist/types/components/dropdown/dropdown.vue.d.ts +1 -1
  380. package/dist/types/components/emoji/emoji.vue.d.ts +1 -1
  381. package/dist/types/components/icon/icon.vue.d.ts +2 -22
  382. package/dist/types/components/icon/icon.vue.d.ts.map +1 -1
  383. package/dist/types/components/list_item_group/list_item_group.vue.d.ts +1 -1
  384. package/dist/types/components/modal/modal.vue.d.ts +2 -2
  385. package/dist/types/components/popover/popover_header_footer.vue.d.ts +1 -1
  386. package/dist/types/components/rich_text_editor/extensions/emoji/EmojiComponent.vue.d.ts +2 -2
  387. package/dist/types/components/rich_text_editor/extensions/mentions/MentionComponent.vue.d.ts +2 -2
  388. package/dist/types/components/rich_text_editor/rich_text_editor.vue.d.ts +91 -1
  389. package/dist/types/components/rich_text_editor/rich_text_editor.vue.d.ts.map +1 -1
  390. package/dist/types/components/skeleton/skeleton-list-item.vue.d.ts +1 -1
  391. package/dist/types/components/skeleton/skeleton-paragraph.vue.d.ts +3 -3
  392. package/dist/types/components/skeleton/skeleton-shape.vue.d.ts +2 -2
  393. package/dist/types/components/skeleton/skeleton-text.vue.d.ts +2 -2
  394. package/dist/types/components/skeleton/skeleton.vue.d.ts +1 -1
  395. package/dist/types/components/tooltip/tooltip.vue.d.ts +2 -2
  396. package/dist/types/recipes/buttons/callbar_button_with_popover/callbar_button_with_popover.vue.d.ts +1 -1
  397. package/dist/types/recipes/comboboxes/combobox_multi_select/combobox_multi_select.vue.d.ts +1 -1
  398. package/dist/types/recipes/comboboxes/combobox_with_popover/combobox_with_popover.vue.d.ts +2 -2
  399. package/dist/types/recipes/conversation_view/message_input/message_input.vue.d.ts +90 -0
  400. package/dist/types/recipes/conversation_view/message_input/message_input.vue.d.ts.map +1 -1
  401. package/dist/types/recipes/leftbar/general_row/general_row.vue.d.ts +1 -1
  402. package/dist/types/recipes/leftbar/general_row/leftbar_general_row_icon.vue.d.ts +1 -1
  403. package/package.json +37 -35
  404. package/dist/chunks/_plugin-vue2_normalizer-u6G_3nkj.js +0 -33
  405. package/dist/chunks/_plugin-vue2_normalizer-u6G_3nkj.js.map +0 -1
  406. package/dist/chunks/dropdown_constants-EUcDxBrX.js +0 -9
  407. package/dist/chunks/dropdown_constants-EUcDxBrX.js.map +0 -1
  408. package/dist/chunks/index-YkSDT8-g.js +0 -244
  409. package/dist/chunks/index-YkSDT8-g.js.map +0 -1
  410. package/dist/chunks/index-nIyl_PL6.js +0 -372
  411. package/dist/chunks/keyboard_list_navigation-F0O8nht0.js +0 -197
  412. package/dist/chunks/link_constants-vIUB92L4.js +0 -16
  413. package/dist/chunks/list_item_constants-LTUc74pD.js +0 -13
  414. package/dist/chunks/modal-VuMFkZFH.js +0 -82
  415. package/dist/chunks/notice_action-9NmtQRai.js +0 -182
  416. package/dist/chunks/notice_constants-c--hBFQw.js +0 -6
  417. package/dist/chunks/popover_constants-qjlEkroB.js +0 -114
  418. package/dist/chunks/sr_only_close_button-JGole5Xi.js +0 -86
  419. package/dist/chunks/stack_constants-u7tNqGtc.js +0 -13
  420. package/dist/chunks/tab-Qm9LVkYj.js +0 -346
  421. package/dist/lib/dates.js +0 -57
  422. package/dist/lib/mixins.js +0 -17
  423. package/dist/lib/utils.js +0 -175
  424. package/dist/lib/validators.js +0 -12
  425. /package/dist/{lib → common}/mixins.js.map +0 -0
@@ -1,33 +1,32 @@
1
- import { b as l, P as s, c as p, f as d, d as c, e as h, a as u, l as f, n as m, h as i } from "../chunks/popover_constants-qjlEkroB.js";
2
- import { g as Q } from "../chunks/popover_constants-qjlEkroB.js";
3
- import { getUniqueString as r, isOutOfViewPort as v } from "./utils.js";
4
- import { Portal as y } from "@linusborg/vue-simple-portal";
5
- import { M as _ } from "../chunks/modal-VuMFkZFH.js";
6
- import { n as a } from "../chunks/_plugin-vue2_normalizer-u6G_3nkj.js";
7
- import { DtButton as O } from "./button.js";
8
- import { DtIcon as E } from "./icon.js";
9
- import { S as g, a as P } from "../chunks/sr_only_close_button-JGole5Xi.js";
10
- import { DtLazyShow as b } from "./lazy-show.js";
1
+ import { POPOVER_ROLES, POPOVER_PADDING_CLASSES, POPOVER_CONTENT_WIDTHS, POPOVER_STICKY_VALUES, POPOVER_INITIAL_FOCUS_STRINGS, POPOVER_APPEND_TO_VALUES, POPOVER_HEADER_FOOTER_PADDING_CLASSES, getPopperOptions, createTippy, TOOLTIP_DELAY_MS } from "../chunks/popover_constants-Qkpb0yh2.js";
2
+ import { POPOVER_DIRECTIONS } from "../chunks/popover_constants-Qkpb0yh2.js";
3
+ import { getUniqueString, isOutOfViewPort } from "../common/utils.js";
4
+ import { Portal } from "@linusborg/vue-simple-portal";
5
+ import { Modal } from "../chunks/modal-XOr4kiNZ.js";
6
+ import { normalizeComponent } from "../chunks/_plugin-vue2_normalizer-sOSkiPF3.js";
7
+ import { DtButton } from "./button.js";
8
+ import { DtIcon } from "./icon.js";
9
+ import { SrOnlyCloseButton, SrOnlyCloseButtonMixin } from "../chunks/sr_only_close_button-81bHIpPu.js";
10
+ import { DtLazyShow } from "./lazy-show.js";
11
11
  import "tippy.js";
12
- import "./constants.js";
12
+ import "../common/constants.js";
13
13
  import "vue";
14
- import "../chunks/link_constants-vIUB92L4.js";
14
+ import "../chunks/link_constants-nWVlXQBs.js";
15
15
  import "@dialpad/dialtone-icons/vue2";
16
- import "../chunks/icon_constants-OpYAAKwF.js";
16
+ import "../chunks/icon_constants-Dy4MEUJL.js";
17
17
  import "@dialpad/dialtone-icons/icons.json";
18
- import "./skeleton.js";
19
- const C = {
18
+ const _sfc_main$1 = {
20
19
  name: "PopoverHeaderFooter",
21
20
  components: {
22
- DtButton: O,
23
- DtIcon: E
21
+ DtButton,
22
+ DtIcon
24
23
  },
25
24
  props: {
26
25
  // eslint-disable-next-line vue/require-default-prop
27
26
  type: {
28
27
  type: String,
29
- validator: function(t) {
30
- return ["header", "footer"].includes(t);
28
+ validator: function(value) {
29
+ return ["header", "footer"].includes(value);
31
30
  }
32
31
  },
33
32
  /**
@@ -43,7 +42,7 @@ const C = {
43
42
  */
44
43
  showCloseButton: {
45
44
  type: Boolean,
46
- default: !1
45
+ default: false
47
46
  },
48
47
  /**
49
48
  * A set of props to be passed into the popover's header close button.
@@ -66,50 +65,53 @@ const C = {
66
65
  ],
67
66
  methods: {
68
67
  focusCloseButton() {
69
- var e;
70
- const t = (e = this.$refs["popover__close-button"]) == null ? void 0 : e.$el;
71
- t == null || t.focus();
68
+ var _a;
69
+ const closeButton = (_a = this.$refs["popover__close-button"]) == null ? void 0 : _a.$el;
70
+ closeButton == null ? void 0 : closeButton.focus();
72
71
  }
73
72
  }
74
73
  };
75
- var S = function() {
76
- var e = this, o = e._self._c;
77
- return o("div", { class: {
78
- "d-popover__header": e.type === "header",
79
- "d-popover__footer": e.type === "footer"
80
- }, attrs: { "data-qa": "dt-popover-header-footer" } }, [e.$slots.content ? o("div", { class: [{
81
- "d-popover__header__content": e.type === "header",
82
- "d-popover__footer__content": e.type === "footer"
83
- }, e.contentClass], attrs: { "data-qa": "dt-popover-header-footer-content" } }, [e._t("content")], 2) : e._e(), e.showCloseButton ? o("dt-button", e._b({ ref: "popover__close-button", class: {
84
- "d-popover__header__close-button": e.type === "header",
85
- "d-popover__footer__close-button": e.type === "footer"
86
- }, attrs: { "data-qa": "dt-popover-close", importance: "outlined", kind: "muted", circle: "" }, on: { click: function(n) {
87
- return e.$emit("close");
88
- } }, scopedSlots: e._u([{ key: "icon", fn: function() {
89
- return [o("dt-icon", { attrs: { name: "close", size: "300" } })];
90
- }, proxy: !0 }], null, !1, 2538694920) }, "dt-button", e.closeButtonProps, !1)) : e._e()], 1);
91
- }, w = [], T = /* @__PURE__ */ a(
92
- C,
93
- S,
94
- w,
95
- !1,
74
+ var _sfc_render$1 = function render() {
75
+ var _vm = this, _c = _vm._self._c;
76
+ return _c("div", { class: {
77
+ "d-popover__header": _vm.type === "header",
78
+ "d-popover__footer": _vm.type === "footer"
79
+ }, attrs: { "data-qa": "dt-popover-header-footer" } }, [_vm.$slots.content ? _c("div", { class: [{
80
+ "d-popover__header__content": _vm.type === "header",
81
+ "d-popover__footer__content": _vm.type === "footer"
82
+ }, _vm.contentClass], attrs: { "data-qa": "dt-popover-header-footer-content" } }, [_vm._t("content")], 2) : _vm._e(), _vm.showCloseButton ? _c("dt-button", _vm._b({ ref: "popover__close-button", class: {
83
+ "d-popover__header__close-button": _vm.type === "header",
84
+ "d-popover__footer__close-button": _vm.type === "footer"
85
+ }, attrs: { "data-qa": "dt-popover-close", "importance": "outlined", "kind": "muted", "circle": "" }, on: { "click": function($event) {
86
+ return _vm.$emit("close");
87
+ } }, scopedSlots: _vm._u([{ key: "icon", fn: function() {
88
+ return [_c("dt-icon", { attrs: { "name": "close", "size": "300" } })];
89
+ }, proxy: true }], null, false, 2538694920) }, "dt-button", _vm.closeButtonProps, false)) : _vm._e()], 1);
90
+ };
91
+ var _sfc_staticRenderFns$1 = [];
92
+ var __component__$1 = /* @__PURE__ */ normalizeComponent(
93
+ _sfc_main$1,
94
+ _sfc_render$1,
95
+ _sfc_staticRenderFns$1,
96
+ false,
96
97
  null,
97
98
  null,
98
99
  null,
99
100
  null
100
101
  );
101
- const x = T.exports, L = {
102
+ const PopoverHeaderFooter = __component__$1.exports;
103
+ const _sfc_main = {
102
104
  name: "DtPopover",
103
105
  /********************
104
106
  * CHILD COMPONENTS *
105
107
  ********************/
106
108
  components: {
107
- SrOnlyCloseButton: g,
108
- DtLazyShow: b,
109
- PopoverHeaderFooter: x,
110
- Portal: y
109
+ SrOnlyCloseButton,
110
+ DtLazyShow,
111
+ PopoverHeaderFooter,
112
+ Portal
111
113
  },
112
- mixins: [_, P],
114
+ mixins: [Modal, SrOnlyCloseButtonMixin],
113
115
  props: {
114
116
  /**
115
117
  * Controls whether the popover is shown. Leaving this null will have the popover trigger on click by default.
@@ -128,7 +130,7 @@ const x = T.exports, L = {
128
130
  */
129
131
  openOnContext: {
130
132
  type: Boolean,
131
- default: !1
133
+ default: false
132
134
  },
133
135
  /**
134
136
  * Element type (tag name) of the root element of the component.
@@ -152,7 +154,9 @@ const x = T.exports, L = {
152
154
  role: {
153
155
  type: String,
154
156
  default: "dialog",
155
- validator: (t) => l.includes(t)
157
+ validator: (role) => {
158
+ return POPOVER_ROLES.includes(role);
159
+ }
156
160
  },
157
161
  /**
158
162
  * ID of the element that serves as the label for the popover content.
@@ -188,7 +192,9 @@ const x = T.exports, L = {
188
192
  padding: {
189
193
  type: String,
190
194
  default: "large",
191
- validator: (t) => Object.keys(s).some((e) => e === t)
195
+ validator: (padding) => {
196
+ return Object.keys(POPOVER_PADDING_CLASSES).some((item) => item === padding);
197
+ }
192
198
  },
193
199
  /**
194
200
  * Additional class name for the content wrapper element.
@@ -205,7 +211,7 @@ const x = T.exports, L = {
205
211
  contentWidth: {
206
212
  type: String,
207
213
  default: "",
208
- validator: (t) => p.includes(t)
214
+ validator: (contentWidth) => POPOVER_CONTENT_WIDTHS.includes(contentWidth)
209
215
  },
210
216
  /**
211
217
  * Tabindex value for the content. Passing null, no tabindex attribute will be set.
@@ -228,7 +234,7 @@ const x = T.exports, L = {
228
234
  id: {
229
235
  type: String,
230
236
  default() {
231
- return r();
237
+ return getUniqueString();
232
238
  }
233
239
  },
234
240
  /**
@@ -253,7 +259,7 @@ const x = T.exports, L = {
253
259
  */
254
260
  hideOnClick: {
255
261
  type: Boolean,
256
- default: !0
262
+ default: true
257
263
  },
258
264
  /**
259
265
  * Determines modal state. If enabled popover has a modal overlay
@@ -262,7 +268,7 @@ const x = T.exports, L = {
262
268
  */
263
269
  modal: {
264
270
  type: Boolean,
265
- default: !0
271
+ default: true
266
272
  },
267
273
  /**
268
274
  * If the popover does not fit in the direction described by "placement",
@@ -277,7 +283,9 @@ const x = T.exports, L = {
277
283
  * */
278
284
  fallbackPlacements: {
279
285
  type: Array,
280
- default: () => ["auto"]
286
+ default: () => {
287
+ return ["auto"];
288
+ }
281
289
  },
282
290
  /**
283
291
  * The direction the popover displays relative to the anchor.
@@ -312,7 +320,7 @@ const x = T.exports, L = {
312
320
  */
313
321
  tether: {
314
322
  type: Boolean,
315
- default: !0
323
+ default: true
316
324
  },
317
325
  /**
318
326
  * If the popover sticks to the anchor. This is usually not needed, but can be needed
@@ -331,8 +339,10 @@ const x = T.exports, L = {
331
339
  */
332
340
  sticky: {
333
341
  type: [Boolean, String],
334
- default: !1,
335
- validator: (t) => d.includes(t)
342
+ default: false,
343
+ validator: (sticky) => {
344
+ return POPOVER_STICKY_VALUES.includes(sticky);
345
+ }
336
346
  },
337
347
  /**
338
348
  * Determines maximum height for the popover before overflow.
@@ -356,7 +366,7 @@ const x = T.exports, L = {
356
366
  */
357
367
  showCloseButton: {
358
368
  type: Boolean,
359
- default: !1
369
+ default: false
360
370
  },
361
371
  /**
362
372
  * Additional class name for the header content wrapper element.
@@ -390,7 +400,9 @@ const x = T.exports, L = {
390
400
  initialFocusElement: {
391
401
  type: [String, HTMLElement],
392
402
  default: "first",
393
- validator: (t) => c.includes(t) || t instanceof HTMLElement || t.startsWith("#")
403
+ validator: (initialFocusElement) => {
404
+ return POPOVER_INITIAL_FOCUS_STRINGS.includes(initialFocusElement) || initialFocusElement instanceof HTMLElement || initialFocusElement.startsWith("#");
405
+ }
394
406
  },
395
407
  /**
396
408
  * If the popover should open pressing up or down arrow key on the anchor element.
@@ -399,7 +411,7 @@ const x = T.exports, L = {
399
411
  */
400
412
  openWithArrowKeys: {
401
413
  type: Boolean,
402
- default: !1
414
+ default: false
403
415
  },
404
416
  /**
405
417
  * Sets the element to which the popover is going to append to.
@@ -409,7 +421,9 @@ const x = T.exports, L = {
409
421
  appendTo: {
410
422
  type: [HTMLElement, String],
411
423
  default: "body",
412
- validator: (t) => h.includes(t) || t instanceof HTMLElement
424
+ validator: (appendTo) => {
425
+ return POPOVER_APPEND_TO_VALUES.includes(appendTo) || appendTo instanceof HTMLElement;
426
+ }
413
427
  },
414
428
  /**
415
429
  * Set this prop to true and popover component will support hovercard behaviour
@@ -417,7 +431,7 @@ const x = T.exports, L = {
417
431
  */
418
432
  hovercard: {
419
433
  type: Boolean,
420
- default: !1
434
+ default: false
421
435
  },
422
436
  /**
423
437
  * The timer is used only when the hovercard prop is true.
@@ -428,7 +442,9 @@ const x = T.exports, L = {
428
442
  timer: {
429
443
  type: [Object, null],
430
444
  default: null,
431
- validator: (t) => t === null || t.enter && t.leave && Object.keys(t).includes("current")
445
+ validator: (timer) => {
446
+ return timer === null || timer.enter && timer.leave && Object.keys(timer).includes("current");
447
+ }
432
448
  }
433
449
  },
434
450
  emits: [
@@ -449,11 +465,11 @@ const x = T.exports, L = {
449
465
  ],
450
466
  data() {
451
467
  return {
452
- POPOVER_PADDING_CLASSES: s,
453
- POPOVER_HEADER_FOOTER_PADDING_CLASSES: u,
468
+ POPOVER_PADDING_CLASSES,
469
+ POPOVER_HEADER_FOOTER_PADDING_CLASSES,
454
470
  intersectionObserver: null,
455
- isOutsideViewport: !1,
456
- isOpen: !1,
471
+ isOutsideViewport: false,
472
+ isOpen: false,
457
473
  anchorEl: null,
458
474
  popoverContentEl: null,
459
475
  inTimer: null,
@@ -464,154 +480,213 @@ const x = T.exports, L = {
464
480
  popoverListeners() {
465
481
  return {
466
482
  ...this.$listeners,
467
- keydown: (t) => {
468
- this.onKeydown(t), this.$emit("keydown", t);
483
+ keydown: (event) => {
484
+ this.onKeydown(event);
485
+ this.$emit("keydown", event);
469
486
  },
470
- "after-leave": (t) => {
487
+ "after-leave": (event) => {
471
488
  this.onLeaveTransitionComplete();
472
489
  },
473
- "after-enter": (t) => {
490
+ "after-enter": (event) => {
474
491
  this.onEnterTransitionComplete();
475
492
  }
476
493
  };
477
494
  },
478
495
  calculatedMaxHeight() {
479
- return this.isOutsideViewport && this.modal ? "calc(100vh - var(--dt-space-300))" : this.maxHeight;
496
+ if (this.isOutsideViewport && this.modal) {
497
+ return `calc(100vh - var(--dt-space-300))`;
498
+ }
499
+ return this.maxHeight;
480
500
  },
481
501
  labelledBy() {
482
- return this.ariaLabelledby || !this.ariaLabel && r("DtPopover__anchor");
502
+ return this.ariaLabelledby || !this.ariaLabel && getUniqueString("DtPopover__anchor");
483
503
  },
484
504
  currentHovercard() {
485
- var t;
486
- return (t = this.timer) == null ? void 0 : t.current.value;
505
+ var _a;
506
+ return (_a = this.timer) == null ? void 0 : _a.current.value;
487
507
  }
488
508
  },
489
509
  watch: {
490
510
  $props: {
491
- immediate: !0,
492
- deep: !0,
511
+ immediate: true,
512
+ deep: true,
493
513
  handler() {
494
514
  this.validateProps();
495
515
  }
496
516
  },
497
- modal(t) {
498
- var e;
499
- (e = this.tip) == null || e.setProps({
500
- zIndex: t ? 650 : this.calculateAnchorZindex()
517
+ modal(modal) {
518
+ var _a;
519
+ (_a = this.tip) == null ? void 0 : _a.setProps({
520
+ zIndex: modal ? 650 : this.calculateAnchorZindex()
501
521
  });
502
522
  },
503
- offset(t) {
504
- var e;
505
- (e = this.tip) == null || e.setProps({
506
- offset: t
523
+ offset(offset) {
524
+ var _a;
525
+ (_a = this.tip) == null ? void 0 : _a.setProps({
526
+ offset
507
527
  });
508
528
  },
509
- sticky(t) {
510
- var e;
511
- (e = this.tip) == null || e.setProps({
512
- sticky: t
529
+ sticky(sticky) {
530
+ var _a;
531
+ (_a = this.tip) == null ? void 0 : _a.setProps({
532
+ sticky
513
533
  });
514
534
  },
515
535
  fallbackPlacements() {
516
- var t;
517
- (t = this.tip) == null || t.setProps({
536
+ var _a;
537
+ (_a = this.tip) == null ? void 0 : _a.setProps({
518
538
  popperOptions: this.popperOptions()
519
539
  });
520
540
  },
521
541
  tether() {
522
- var t;
523
- (t = this.tip) == null || t.setProps({
542
+ var _a;
543
+ (_a = this.tip) == null ? void 0 : _a.setProps({
524
544
  popperOptions: this.popperOptions()
525
545
  });
526
546
  },
527
- placement(t) {
528
- var e;
529
- (e = this.tip) == null || e.setProps({
530
- placement: t
547
+ placement(placement) {
548
+ var _a;
549
+ (_a = this.tip) == null ? void 0 : _a.setProps({
550
+ placement
531
551
  });
532
552
  },
533
553
  open: {
534
- handler: function(t) {
535
- t !== null && (this.isOpen = t);
554
+ handler: function(open) {
555
+ if (open !== null) {
556
+ this.isOpen = open;
557
+ }
536
558
  },
537
- immediate: !0
538
- },
539
- isOpen(t, e) {
540
- t ? (this.initTippyInstance(), this.tip.show()) : !t && e !== t && (this.removeEventListeners(), this.tip.hide());
559
+ immediate: true
560
+ },
561
+ isOpen(isOpen, isPrev) {
562
+ if (isOpen) {
563
+ this.initTippyInstance();
564
+ this.tip.show();
565
+ } else if (!isOpen && isPrev !== isOpen) {
566
+ this.removeEventListeners();
567
+ this.tip.hide();
568
+ }
541
569
  },
542
570
  currentHovercard() {
543
- this.hovercard && this.timer && (this.currentHovercard === this.id ? this.isOpen = !0 : this.isOpen = !1);
571
+ if (this.hovercard && this.timer) {
572
+ if (this.currentHovercard === this.id) {
573
+ this.isOpen = true;
574
+ } else {
575
+ this.isOpen = false;
576
+ }
577
+ }
544
578
  }
545
579
  },
546
580
  mounted() {
547
- var e;
548
- const t = this.externalAnchor ? this.$refs.anchor.getRootNode().querySelector(`#${this.externalAnchor}`) : null;
549
- this.anchorEl = t ?? this.$refs.anchor.children[0], this.popoverContentEl = (e = this.$refs.content) == null ? void 0 : e.$el, this.isOpen && (this.initTippyInstance(), this.tip.show()), this.intersectionObserver = new IntersectionObserver(this.hasIntersectedViewport), this.intersectionObserver.observe(this.popoverContentEl);
581
+ var _a;
582
+ const externalAnchorEl = this.externalAnchor ? this.$refs.anchor.getRootNode().querySelector(`#${this.externalAnchor}`) : null;
583
+ this.anchorEl = externalAnchorEl ?? this.$refs.anchor.children[0];
584
+ this.popoverContentEl = (_a = this.$refs.content) == null ? void 0 : _a.$el;
585
+ if (this.isOpen) {
586
+ this.initTippyInstance();
587
+ this.tip.show();
588
+ }
589
+ this.intersectionObserver = new IntersectionObserver(this.hasIntersectedViewport);
590
+ this.intersectionObserver.observe(this.popoverContentEl);
550
591
  },
551
592
  beforeDestroy() {
552
- var t;
553
- (t = this.tip) == null || t.destroy(), this.intersectionObserver.disconnect(), this.removeReferences(), this.removeEventListeners();
593
+ var _a;
594
+ (_a = this.tip) == null ? void 0 : _a.destroy();
595
+ this.intersectionObserver.disconnect();
596
+ this.removeReferences();
597
+ this.removeEventListeners();
554
598
  },
555
599
  /******************
556
600
  * METHODS *
557
601
  ******************/
558
602
  methods: {
559
- hasIntersectedViewport(t) {
560
- var n;
561
- const e = (n = t == null ? void 0 : t[0]) == null ? void 0 : n.target;
562
- if (!e)
603
+ hasIntersectedViewport(entries) {
604
+ var _a;
605
+ const dialog = (_a = entries == null ? void 0 : entries[0]) == null ? void 0 : _a.target;
606
+ if (!dialog)
563
607
  return;
564
- const o = v(e);
565
- this.isOutsideViewport = o.bottom || o.top;
608
+ const isOut = isOutOfViewPort(dialog);
609
+ this.isOutsideViewport = isOut.bottom || isOut.top;
566
610
  },
567
611
  popperOptions() {
568
- return f({
612
+ return getPopperOptions({
569
613
  fallbackPlacements: this.fallbackPlacements,
570
614
  tether: this.tether,
571
- hasHideModifierEnabled: !0
615
+ hasHideModifierEnabled: true
572
616
  });
573
617
  },
574
618
  validateProps() {
575
- this.modal && this.initialFocusElement === "none" && console.error('If the popover is modal you must set the initialFocusElement prop. Possible values: "dialog", "first", HTMLElement');
619
+ if (this.modal && this.initialFocusElement === "none") {
620
+ console.error('If the popover is modal you must set the initialFocusElement prop. Possible values: "dialog", "first", HTMLElement');
621
+ }
576
622
  },
577
623
  calculateAnchorZindex() {
578
- var t;
579
- return this.$el.getRootNode().querySelector('.d-modal[aria-hidden="false"], .d-modal--transparent[aria-hidden="false"]') || // Special case because we don't have any dialtone drawer component yet. Render at 650 when
624
+ var _a;
625
+ if (this.$el.getRootNode().querySelector('.d-modal[aria-hidden="false"], .d-modal--transparent[aria-hidden="false"]') || // Special case because we don't have any dialtone drawer component yet. Render at 650 when
580
626
  // anchor of popover is within a drawer.
581
- (t = this.anchorEl) != null && t.closest(".d-zi-drawer") ? 650 : 300;
627
+ ((_a = this.anchorEl) == null ? void 0 : _a.closest(".d-zi-drawer"))) {
628
+ return 650;
629
+ } else {
630
+ return 300;
631
+ }
582
632
  },
583
- defaultToggleOpen(t) {
584
- var e, o;
585
- this.hovercard || this.openOnContext || (this.open ?? ((e = this.anchorEl) != null && e.contains(t.target) && !((o = this.anchorEl) != null && o.disabled) && this.toggleOpen()));
633
+ defaultToggleOpen(e) {
634
+ var _a, _b;
635
+ if (this.hovercard) {
636
+ return;
637
+ }
638
+ if (this.openOnContext) {
639
+ return;
640
+ }
641
+ this.open ?? (((_a = this.anchorEl) == null ? void 0 : _a.contains(e.target)) && !((_b = this.anchorEl) == null ? void 0 : _b.disabled) && this.toggleOpen());
586
642
  },
587
- async onContext(t) {
588
- this.openOnContext && (t.preventDefault(), this.isOpen = !0, await this.$nextTick(), this.tip.setProps({
643
+ async onContext(event) {
644
+ if (!this.openOnContext) {
645
+ return;
646
+ }
647
+ event.preventDefault();
648
+ this.isOpen = true;
649
+ await this.$nextTick();
650
+ this.tip.setProps({
589
651
  placement: "right-start",
590
652
  getReferenceClientRect: () => ({
591
653
  width: 0,
592
654
  height: 0,
593
- top: t.clientY,
594
- bottom: t.clientY,
595
- left: t.clientX,
596
- right: t.clientX
655
+ top: event.clientY,
656
+ bottom: event.clientY,
657
+ left: event.clientX,
658
+ right: event.clientX
597
659
  })
598
- }));
660
+ });
599
661
  },
600
662
  toggleOpen() {
601
663
  this.isOpen = !this.isOpen;
602
664
  },
603
- onArrowKeyPress(t) {
604
- var e;
605
- this.open === null && this.openWithArrowKeys && (e = this.anchorEl) != null && e.contains(t.target) && (this.isOpen || (this.isOpen = !0));
665
+ onArrowKeyPress(e) {
666
+ var _a;
667
+ if (this.open !== null) {
668
+ return;
669
+ }
670
+ if (this.openWithArrowKeys && ((_a = this.anchorEl) == null ? void 0 : _a.contains(e.target))) {
671
+ if (!this.isOpen) {
672
+ this.isOpen = true;
673
+ }
674
+ }
606
675
  },
607
676
  addEventListeners() {
608
- window.addEventListener("dt-popover-close", this.closePopover), this.contentWidth === "anchor" && window.addEventListener("resize", this.onResize);
677
+ window.addEventListener("dt-popover-close", this.closePopover);
678
+ if (this.contentWidth === "anchor") {
679
+ window.addEventListener("resize", this.onResize);
680
+ }
609
681
  },
610
682
  removeEventListeners() {
611
- window.removeEventListener("dt-popover-close", this.closePopover), this.contentWidth === "anchor" && window.removeEventListener("resize", this.onResize);
683
+ window.removeEventListener("dt-popover-close", this.closePopover);
684
+ if (this.contentWidth === "anchor") {
685
+ window.removeEventListener("resize", this.onResize);
686
+ }
612
687
  },
613
688
  closePopover() {
614
- this.isOpen = !1;
689
+ this.isOpen = false;
615
690
  },
616
691
  /*
617
692
  * Prevents scrolling outside of the currently opened modal popover by:
@@ -620,43 +695,94 @@ const x = T.exports, L = {
620
695
  * since it is no longer the active modal. This puts it underneath the overlay and prevents scrolling.
621
696
  **/
622
697
  preventScrolling() {
623
- var t, e;
698
+ var _a, _b;
624
699
  if (this.modal) {
625
- const o = (t = this.anchorEl) == null ? void 0 : t.closest("body, .tippy-box");
626
- if (!o)
700
+ const element = (_a = this.anchorEl) == null ? void 0 : _a.closest("body, .tippy-box");
701
+ if (!element)
627
702
  return;
628
- ((e = o.tagName) == null ? void 0 : e.toLowerCase()) === "body" ? (o.classList.add("d-of-hidden"), this.tip.setProps({ offset: this.offset })) : o.classList.add("d-zi-popover");
703
+ if (((_b = element.tagName) == null ? void 0 : _b.toLowerCase()) === "body") {
704
+ element.classList.add("d-of-hidden");
705
+ this.tip.setProps({ offset: this.offset });
706
+ } else {
707
+ element.classList.add("d-zi-popover");
708
+ }
629
709
  }
630
710
  },
631
711
  /*
632
712
  * Resets the prevent scrolling properties set in preventScrolling() back to normal.
633
713
  **/
634
714
  enableScrolling() {
635
- var e, o;
636
- const t = (e = this.anchorEl) == null ? void 0 : e.closest("body, .tippy-box");
637
- t && (((o = t.tagName) == null ? void 0 : o.toLowerCase()) === "body" ? (t.classList.remove("d-of-hidden"), this.tip.setProps({ offset: this.offset })) : t.classList.remove("d-zi-popover"));
715
+ var _a, _b;
716
+ const element = (_a = this.anchorEl) == null ? void 0 : _a.closest("body, .tippy-box");
717
+ if (!element)
718
+ return;
719
+ if (((_b = element.tagName) == null ? void 0 : _b.toLowerCase()) === "body") {
720
+ element.classList.remove("d-of-hidden");
721
+ this.tip.setProps({ offset: this.offset });
722
+ } else {
723
+ element.classList.remove("d-zi-popover");
724
+ }
638
725
  },
639
726
  removeReferences() {
640
- this.anchorEl = null, this.popoverContentEl = null, this.tip = null;
727
+ this.anchorEl = null;
728
+ this.popoverContentEl = null;
729
+ this.tip = null;
641
730
  },
642
731
  async onShow() {
643
- this.contentWidth === "anchor" && await this.setPopoverContentAnchorWidth(), this.contentWidth === null && (this.popoverContentEl.style.width = "auto"), this.addEventListeners();
732
+ if (this.contentWidth === "anchor") {
733
+ await this.setPopoverContentAnchorWidth();
734
+ }
735
+ if (this.contentWidth === null) {
736
+ this.popoverContentEl.style.width = "auto";
737
+ }
738
+ this.addEventListeners();
644
739
  },
645
740
  async onLeaveTransitionComplete() {
646
- var t;
647
- this.modal && (await this.focusFirstElement(this.$refs.anchor), await this.$nextTick(), this.enableScrolling()), (t = this.tip) == null || t.unmount(), this.$emit("opened", !1), this.open !== null && this.$emit("update:open", !1);
741
+ var _a;
742
+ if (this.modal) {
743
+ await this.focusFirstElement(this.$refs.anchor);
744
+ await this.$nextTick();
745
+ this.enableScrolling();
746
+ }
747
+ (_a = this.tip) == null ? void 0 : _a.unmount();
748
+ this.$emit("opened", false);
749
+ if (this.open !== null) {
750
+ this.$emit("update:open", false);
751
+ }
648
752
  },
649
753
  async onEnterTransitionComplete() {
650
- this.focusInitialElement(), await this.$nextTick(), this.preventScrolling(), this.$emit("opened", !0, this.$refs.popover__content), this.open !== null && this.$emit("update:open", !0);
754
+ this.focusInitialElement();
755
+ await this.$nextTick();
756
+ this.preventScrolling();
757
+ this.$emit("opened", true, this.$refs.popover__content);
758
+ if (this.open !== null) {
759
+ this.$emit("update:open", true);
760
+ }
651
761
  },
652
762
  focusInitialElement() {
653
- var t, e;
654
- this.initialFocusElement === "dialog" && ((e = (t = this.$refs.content) == null ? void 0 : t.$el) == null || e.focus()), this.initialFocusElement.startsWith("#") && this.focusInitialElementById(), this.initialFocusElement === "first" && this.focusFirstElementIfNeeded(this.$refs.popover__content), this.initialFocusElement instanceof HTMLElement && this.initialFocusElement.focus();
763
+ var _a, _b;
764
+ if (this.initialFocusElement === "dialog") {
765
+ (_b = (_a = this.$refs.content) == null ? void 0 : _a.$el) == null ? void 0 : _b.focus();
766
+ }
767
+ if (this.initialFocusElement.startsWith("#")) {
768
+ this.focusInitialElementById();
769
+ }
770
+ if (this.initialFocusElement === "first") {
771
+ this.focusFirstElementIfNeeded(this.$refs.popover__content);
772
+ }
773
+ if (this.initialFocusElement instanceof HTMLElement) {
774
+ this.initialFocusElement.focus();
775
+ }
655
776
  },
656
777
  focusInitialElementById() {
657
- var e, o, n;
658
- const t = (o = (e = this.$refs.content) == null ? void 0 : e.$el) == null ? void 0 : o.querySelector(this.initialFocusElement);
659
- t ? t.focus() : console.warn('Could not find the element specified in dt-popover prop "initialFocusElement". Defaulting to focusing the dialog.'), t ? t.focus() : (n = this.$refs.content) == null || n.$el.focus();
778
+ var _a, _b, _c;
779
+ const result = (_b = (_a = this.$refs.content) == null ? void 0 : _a.$el) == null ? void 0 : _b.querySelector(this.initialFocusElement);
780
+ if (result) {
781
+ result.focus();
782
+ } else {
783
+ console.warn('Could not find the element specified in dt-popover prop "initialFocusElement". Defaulting to focusing the dialog.');
784
+ }
785
+ result ? result.focus() : (_c = this.$refs.content) == null ? void 0 : _c.$el.focus();
660
786
  },
661
787
  onResize() {
662
788
  this.closePopover();
@@ -664,33 +790,51 @@ const x = T.exports, L = {
664
790
  onClickOutside() {
665
791
  if (!this.hideOnClick)
666
792
  return;
667
- this.popoverContentEl.querySelector(".d-popover__anchor--opened") || this.closePopover();
793
+ const innerModals = this.popoverContentEl.querySelector(".d-popover__anchor--opened");
794
+ if (!innerModals) {
795
+ this.closePopover();
796
+ }
668
797
  },
669
- onKeydown(t) {
670
- t.key === "Tab" && this.modal && this.focusTrappedTabPress(t, this.popoverContentEl), t.key === "Escape" && this.closePopover();
798
+ onKeydown(e) {
799
+ if (e.key === "Tab") {
800
+ if (this.modal) {
801
+ this.focusTrappedTabPress(e, this.popoverContentEl);
802
+ }
803
+ }
804
+ if (e.key === "Escape") {
805
+ this.closePopover();
806
+ }
671
807
  },
672
808
  async setPopoverContentAnchorWidth() {
673
- var t;
674
- await this.$nextTick(), this.popoverContentEl.style.width = `${(t = this.anchorEl) == null ? void 0 : t.clientWidth}px`;
675
- },
676
- focusFirstElementIfNeeded(t) {
677
- var o, n;
678
- this._getFocusableElements(t, !0).length !== 0 ? this.focusFirstElement(t) : this.showCloseButton ? (o = this.$refs.popover__header) == null || o.focusCloseButton() : (n = this.$refs.content) == null || n.$el.focus();
809
+ var _a;
810
+ await this.$nextTick();
811
+ this.popoverContentEl.style.width = `${(_a = this.anchorEl) == null ? void 0 : _a.clientWidth}px`;
812
+ },
813
+ focusFirstElementIfNeeded(domEl) {
814
+ var _a, _b;
815
+ const focusableElements = this._getFocusableElements(domEl, true);
816
+ if (focusableElements.length !== 0) {
817
+ this.focusFirstElement(domEl);
818
+ } else if (this.showCloseButton) {
819
+ (_a = this.$refs.popover__header) == null ? void 0 : _a.focusCloseButton();
820
+ } else {
821
+ (_b = this.$refs.content) == null ? void 0 : _b.$el.focus();
822
+ }
679
823
  },
680
824
  initTippyInstance() {
681
- var t, e;
682
- this.tip = m(this.anchorEl, {
825
+ var _a, _b;
826
+ this.tip = createTippy(this.anchorEl, {
683
827
  popperOptions: this.popperOptions(),
684
828
  contentElement: this.popoverContentEl,
685
829
  placement: this.placement,
686
830
  offset: this.offset,
687
831
  sticky: this.sticky,
688
- appendTo: this.appendTo === "body" ? (e = (t = this.anchorEl) == null ? void 0 : t.getRootNode()) == null ? void 0 : e.querySelector("body") : this.appendTo,
689
- interactive: !0,
832
+ appendTo: this.appendTo === "body" ? (_b = (_a = this.anchorEl) == null ? void 0 : _a.getRootNode()) == null ? void 0 : _b.querySelector("body") : this.appendTo,
833
+ interactive: true,
690
834
  trigger: "manual",
691
835
  // We have to manage hideOnClick functionality manually to handle
692
836
  // popover within popover situations.
693
- hideOnClick: !1,
837
+ hideOnClick: false,
694
838
  zIndex: this.modal ? 650 : this.calculateAnchorZindex(),
695
839
  onClickOutside: this.onClickOutside,
696
840
  onShow: this.onShow
@@ -701,79 +845,114 @@ const x = T.exports, L = {
701
845
  // ----------------------------------------------------------------------------
702
846
  setInTimer() {
703
847
  this.inTimer = setTimeout(() => {
704
- this.isOpen = !0;
705
- }, i);
848
+ this.isOpen = true;
849
+ }, TOOLTIP_DELAY_MS);
706
850
  },
707
851
  setOutTimer() {
708
852
  this.outTimer = setTimeout(() => {
709
- this.isOpen = !1;
710
- }, i);
853
+ this.isOpen = false;
854
+ }, TOOLTIP_DELAY_MS);
711
855
  },
712
856
  onEnterAnchor() {
713
- this.hovercard && (this.timer ? this.timer.enter(this.id) : (clearTimeout(this.outTimer), this.setInTimer()));
857
+ if (!this.hovercard)
858
+ return;
859
+ if (this.timer)
860
+ this.timer.enter(this.id);
861
+ else {
862
+ clearTimeout(this.outTimer);
863
+ this.setInTimer();
864
+ }
714
865
  },
715
866
  onLeaveAnchor() {
716
- this.hovercard && (this.timer ? this.timer.leave() : (clearTimeout(this.inTimer), this.setOutTimer()));
867
+ if (!this.hovercard)
868
+ return;
869
+ if (this.timer)
870
+ this.timer.leave();
871
+ else {
872
+ clearTimeout(this.inTimer);
873
+ this.setOutTimer();
874
+ }
717
875
  },
718
876
  onEnterContent() {
719
- this.hovercard && (this.timer ? this.timer.enter(this.id) : clearTimeout(this.outTimer));
877
+ if (!this.hovercard)
878
+ return;
879
+ if (this.timer)
880
+ this.timer.enter(this.id);
881
+ else
882
+ clearTimeout(this.outTimer);
720
883
  },
721
884
  onLeaveContent() {
722
- this.hovercard && (this.timer ? this.timer.leave() : this.setOutTimer());
885
+ if (!this.hovercard)
886
+ return;
887
+ if (this.timer)
888
+ this.timer.leave();
889
+ else
890
+ this.setOutTimer();
723
891
  }
724
892
  // ============================================================================
725
893
  // $ HOVERCARD
726
894
  // ----------------------------------------------------------------------------
727
895
  }
728
896
  };
729
- var k = function() {
730
- var e = this, o = e._self._c;
731
- return o("div", [e.modal && e.isOpen ? o("portal", [o("div", { staticClass: "d-modal--transparent", attrs: { "aria-hidden": e.modal && e.isOpen ? "false" : "true" }, on: { click: function(n) {
732
- n.preventDefault(), n.stopPropagation();
733
- } } })]) : e._e(), o(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), [o("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) {
734
- return e.defaultToggleOpen.apply(null, arguments);
735
- }, contextmenu: e.onContext, keydown: [function(n) {
736
- return !n.type.indexOf("key") && e._k(n.keyCode, "up", 38, n.key, ["Up", "ArrowUp"]) ? null : (n.preventDefault(), e.onArrowKeyPress.apply(null, arguments));
737
- }, function(n) {
738
- return !n.type.indexOf("key") && e._k(n.keyCode, "down", 40, n.key, ["Down", "ArrowDown"]) ? null : (n.preventDefault(), e.onArrowKeyPress.apply(null, arguments));
739
- }], "!keydown": function(n) {
740
- return !n.type.indexOf("key") && e._k(n.keyCode, "escape", void 0, n.key, void 0) ? null : e.closePopover.apply(null, arguments);
741
- }, mouseenter: e.onEnterAnchor, mouseleave: e.onLeaveAnchor } }, [e._t("anchor", null, { attrs: {
742
- "aria-expanded": e.isOpen.toString(),
743
- "aria-controls": e.id,
744
- "aria-haspopup": e.role
745
- } })], 2), o("dt-lazy-show", e._g({ ref: "content", class: ["d-popover__dialog", { "d-popover__dialog--modal": e.modal }, e.dialogClass], style: {
746
- "max-height": e.calculatedMaxHeight,
747
- "max-width": e.maxWidth
748
- }, 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 ? o("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() {
749
- return [e._t("headerContent", null, { close: e.closePopover })];
750
- }, proxy: !0 }], null, !0) }) : e._e(), o("div", { ref: "popover__content", class: [
897
+ var _sfc_render = function render2() {
898
+ var _vm = this, _c = _vm._self._c;
899
+ return _c("div", [_vm.modal && _vm.isOpen ? _c("portal", [_c("div", { staticClass: "d-modal--transparent", attrs: { "aria-hidden": _vm.modal && _vm.isOpen ? "false" : "true" }, on: { "click": function($event) {
900
+ $event.preventDefault();
901
+ $event.stopPropagation();
902
+ } } })]) : _vm._e(), _c(_vm.elementType, _vm._g({ ref: "popover", tag: "component", class: ["d-popover", { "d-popover__anchor--opened": _vm.isOpen }], attrs: { "data-qa": "dt-popover-container" } }, _vm.$listeners), [_c("div", { ref: "anchor", attrs: { "id": !_vm.ariaLabelledby && _vm.labelledBy, "data-qa": _vm.$attrs["data-qa"] ? `${_vm.$attrs["data-qa"]}-anchor` : "dt-popover-anchor", "tabindex": _vm.openOnContext ? 0 : void 0 }, on: { "!click": function($event) {
903
+ return _vm.defaultToggleOpen.apply(null, arguments);
904
+ }, "contextmenu": _vm.onContext, "keydown": [function($event) {
905
+ if (!$event.type.indexOf("key") && _vm._k($event.keyCode, "up", 38, $event.key, ["Up", "ArrowUp"]))
906
+ return null;
907
+ $event.preventDefault();
908
+ return _vm.onArrowKeyPress.apply(null, arguments);
909
+ }, function($event) {
910
+ if (!$event.type.indexOf("key") && _vm._k($event.keyCode, "down", 40, $event.key, ["Down", "ArrowDown"]))
911
+ return null;
912
+ $event.preventDefault();
913
+ return _vm.onArrowKeyPress.apply(null, arguments);
914
+ }], "!keydown": function($event) {
915
+ if (!$event.type.indexOf("key") && _vm._k($event.keyCode, "escape", void 0, $event.key, void 0))
916
+ return null;
917
+ return _vm.closePopover.apply(null, arguments);
918
+ }, "mouseenter": _vm.onEnterAnchor, "mouseleave": _vm.onLeaveAnchor } }, [_vm._t("anchor", null, { "attrs": {
919
+ "aria-expanded": _vm.isOpen.toString(),
920
+ "aria-controls": _vm.id,
921
+ "aria-haspopup": _vm.role
922
+ } })], 2), _c("dt-lazy-show", _vm._g({ ref: "content", class: ["d-popover__dialog", { "d-popover__dialog--modal": _vm.modal }, _vm.dialogClass], style: {
923
+ "max-height": _vm.calculatedMaxHeight,
924
+ "max-width": _vm.maxWidth
925
+ }, attrs: { "id": _vm.id, "role": _vm.role, "data-qa": _vm.$attrs["data-qa"] ? `${_vm.$attrs["data-qa"]}__dialog` : "dt-popover", "aria-hidden": `${!_vm.isOpen}`, "aria-labelledby": _vm.labelledBy, "aria-label": _vm.ariaLabel, "aria-modal": `${!_vm.modal}`, "transition": _vm.transition, "show": _vm.isOpen, "tabindex": _vm.contentTabindex, "appear": "" }, on: { "mouseenter": _vm.onEnterContent, "mouseleave": _vm.onLeaveContent } }, _vm.popoverListeners), [_vm.$slots.headerContent || _vm.showCloseButton ? _c("popover-header-footer", { ref: "popover__header", class: _vm.POPOVER_HEADER_FOOTER_PADDING_CLASSES[_vm.padding], attrs: { "content-class": _vm.headerClass, "type": "header", "show-close-button": _vm.showCloseButton, "close-button-props": _vm.closeButtonProps }, on: { "close": _vm.closePopover }, scopedSlots: _vm._u([{ key: "content", fn: function() {
926
+ return [_vm._t("headerContent", null, { "close": _vm.closePopover })];
927
+ }, proxy: true }], null, true) }) : _vm._e(), _c("div", { ref: "popover__content", class: [
751
928
  "d-popover__content",
752
- e.POPOVER_PADDING_CLASSES[e.padding],
753
- e.contentClass
754
- ], 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 ? o("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() {
755
- return [e._t("footerContent", null, { close: e.closePopover })];
756
- }, proxy: !0 }], null, !0) }) : e._e(), e.showVisuallyHiddenClose ? o("sr-only-close-button", { attrs: { "visually-hidden-close-label": e.visuallyHiddenCloseLabel }, on: { close: e.closePopover } }) : e._e()], 1)], 1)], 1);
757
- }, A = [], $ = /* @__PURE__ */ a(
758
- L,
759
- k,
760
- A,
761
- !1,
929
+ _vm.POPOVER_PADDING_CLASSES[_vm.padding],
930
+ _vm.contentClass
931
+ ], attrs: { "data-qa": _vm.$attrs["data-qa"] ? `${_vm.$attrs["data-qa"]}-content` : "dt-popover-content" } }, [_vm._t("content", null, { "close": _vm.closePopover })], 2), _vm.$slots.footerContent ? _c("popover-header-footer", { ref: "popover__footer", class: _vm.POPOVER_HEADER_FOOTER_PADDING_CLASSES[_vm.padding], attrs: { "type": "footer", "content-class": _vm.footerClass }, scopedSlots: _vm._u([{ key: "content", fn: function() {
932
+ return [_vm._t("footerContent", null, { "close": _vm.closePopover })];
933
+ }, proxy: true }], null, true) }) : _vm._e(), _vm.showVisuallyHiddenClose ? _c("sr-only-close-button", { attrs: { "visually-hidden-close-label": _vm.visuallyHiddenCloseLabel }, on: { "close": _vm.closePopover } }) : _vm._e()], 1)], 1)], 1);
934
+ };
935
+ var _sfc_staticRenderFns = [];
936
+ var __component__ = /* @__PURE__ */ normalizeComponent(
937
+ _sfc_main,
938
+ _sfc_render,
939
+ _sfc_staticRenderFns,
940
+ false,
762
941
  null,
763
942
  null,
764
943
  null,
765
944
  null
766
945
  );
767
- const Z = $.exports;
946
+ const DtPopover = __component__.exports;
768
947
  export {
769
- Z as DtPopover,
770
- h as POPOVER_APPEND_TO_VALUES,
771
- p as POPOVER_CONTENT_WIDTHS,
772
- Q as POPOVER_DIRECTIONS,
773
- u as POPOVER_HEADER_FOOTER_PADDING_CLASSES,
774
- c as POPOVER_INITIAL_FOCUS_STRINGS,
775
- s as POPOVER_PADDING_CLASSES,
776
- l as POPOVER_ROLES,
777
- d as POPOVER_STICKY_VALUES
948
+ DtPopover,
949
+ POPOVER_APPEND_TO_VALUES,
950
+ POPOVER_CONTENT_WIDTHS,
951
+ POPOVER_DIRECTIONS,
952
+ POPOVER_HEADER_FOOTER_PADDING_CLASSES,
953
+ POPOVER_INITIAL_FOCUS_STRINGS,
954
+ POPOVER_PADDING_CLASSES,
955
+ POPOVER_ROLES,
956
+ POPOVER_STICKY_VALUES
778
957
  };
779
958
  //# sourceMappingURL=popover.js.map