@dialpad/dialtone-vue 3.120.0 → 3.120.2

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-vue_export-helper-caHeSgYY.js +11 -0
  2. package/dist/chunks/_plugin-vue_export-helper-caHeSgYY.js.map +1 -0
  3. package/dist/chunks/_plugin-vue_export-helper-fhnQq0tA.js +10 -0
  4. package/dist/chunks/_plugin-vue_export-helper-fhnQq0tA.js.map +1 -0
  5. package/dist/chunks/{dropdown-eWOvBvwq.js → dropdown-Hn-TeTvZ.js} +151 -104
  6. package/dist/chunks/{dropdown-UO3UJalk.js.map → dropdown-Hn-TeTvZ.js.map} +1 -1
  7. package/dist/chunks/dropdown-w8Do29L5.js +442 -0
  8. package/dist/chunks/{dropdown-eWOvBvwq.js.map → dropdown-w8Do29L5.js.map} +1 -1
  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-2S_OSQ1t.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-OpYAAKwF.js.map → icon_constants-QYpmdE0R.js.map} +1 -1
  17. package/dist/chunks/index-4qgKeErp.js +446 -0
  18. package/dist/chunks/{index-b4iXYvId.js.map → index-4qgKeErp.js.map} +1 -1
  19. package/dist/chunks/index-b_MgDylR.js +447 -0
  20. package/dist/chunks/{index-6tYeqbgP.js.map → index-b_MgDylR.js.map} +1 -1
  21. package/dist/chunks/{input-4UQWegUk.js → input-NmYDD5bn.js} +83 -60
  22. package/dist/chunks/{input-0Uksk4DP.js.map → input-NmYDD5bn.js.map} +1 -1
  23. package/dist/chunks/input-ttnte8zB.js +295 -0
  24. package/dist/chunks/{input-4UQWegUk.js.map → input-ttnte8zB.js.map} +1 -1
  25. package/dist/chunks/input_group-M-D25pOJ.js +152 -0
  26. package/dist/chunks/{input_group-bBKaq3Wi.js.map → input_group-M-D25pOJ.js.map} +1 -1
  27. package/dist/chunks/{input_group-bBKaq3Wi.js → input_group-jWnq2DJT.js} +27 -24
  28. package/dist/chunks/{input_group-AS760Cp7.js.map → input_group-jWnq2DJT.js.map} +1 -1
  29. package/dist/chunks/keyboard_list_navigation-ScXhrxya.js +284 -0
  30. package/dist/chunks/{keyboard_list_navigation-N74Bpdq7.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-F0O8nht0.js.map → keyboard_list_navigation-fJnl_Iox.js.map} +1 -1
  33. package/dist/chunks/link_constants-Huj7D_hm.js +22 -0
  34. package/dist/chunks/{link_constants-Kn6kP4i1.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-vIUB92L4.js.map → link_constants-nWVlXQBs.js.map} +1 -1
  37. package/dist/chunks/list_item_constants-EiqkqZvP.js +13 -0
  38. package/dist/chunks/{list_item_constants-Tsz5CO1m.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-LTUc74pD.js.map → list_item_constants-u1xcN9Dd.js.map} +1 -1
  41. package/dist/chunks/modal-VgxXAQFP.js +105 -0
  42. package/dist/chunks/{modal-qEzlo0Sj.js.map → modal-VgxXAQFP.js.map} +1 -1
  43. package/dist/chunks/modal-XOr4kiNZ.js +106 -0
  44. package/dist/chunks/{modal-VuMFkZFH.js.map → modal-XOr4kiNZ.js.map} +1 -1
  45. package/dist/chunks/notice_action-WTucGhvr.js +222 -0
  46. package/dist/chunks/{notice_action-tJfD5Qw1.js.map → notice_action-WTucGhvr.js.map} +1 -1
  47. package/dist/chunks/notice_action-p-ePanW_.js +223 -0
  48. package/dist/chunks/{notice_action-jO199emq.js.map → notice_action-p-ePanW_.js.map} +1 -1
  49. package/dist/chunks/notice_constants-7Qt2CQEY.js +7 -0
  50. package/dist/chunks/{notice_constants-mC6al2Dm.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-c--hBFQw.js.map → notice_constants-UXo9e3bS.js.map} +1 -1
  53. package/dist/chunks/popover_constants-JwBF9h1Z.js +143 -0
  54. package/dist/chunks/{popover_constants-hOEhklvr.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-qjlEkroB.js.map → popover_constants-Qkpb0yh2.js.map} +1 -1
  57. package/dist/chunks/{sr_only_close_button-7O-Ev8uM.js → sr_only_close_button-3EdsV-dH.js} +28 -24
  58. package/dist/chunks/{sr_only_close_button-iD7s1Pbj.js.map → sr_only_close_button-3EdsV-dH.js.map} +1 -1
  59. package/dist/chunks/sr_only_close_button-xGrHFjwA.js +91 -0
  60. package/dist/chunks/{sr_only_close_button-7O-Ev8uM.js.map → sr_only_close_button-xGrHFjwA.js.map} +1 -1
  61. package/dist/chunks/stack_constants-HraCekPm.js +15 -0
  62. package/dist/chunks/{stack_constants-m9Ickqw0.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-u7tNqGtc.js.map → stack_constants-SMzMWnAQ.js.map} +1 -1
  65. package/dist/chunks/tab-RTDgnD9-.js +391 -0
  66. package/dist/chunks/{tab-at7WWglk.js.map → tab-RTDgnD9-.js.map} +1 -1
  67. package/dist/chunks/tab-qc3f42Yp.js +390 -0
  68. package/dist/chunks/{tab-GQZFMq83.js.map → tab-qc3f42Yp.js.map} +1 -1
  69. package/dist/common/constants.cjs +60 -0
  70. package/dist/{lib → common}/constants.cjs.map +1 -1
  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/{lib → common}/dates.cjs.map +1 -1
  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/{lib → common}/mixins.cjs.map +1 -1
  83. package/dist/common/mixins.js +17 -0
  84. package/dist/common/utils.cjs +243 -0
  85. package/dist/{lib → common}/utils.cjs.map +1 -1
  86. package/dist/common/utils.js +243 -0
  87. package/dist/{lib → common}/utils.js.map +1 -1
  88. package/dist/common/validators.cjs +23 -0
  89. package/dist/{lib → common}/validators.cjs.map +1 -1
  90. package/dist/common/validators.js +23 -0
  91. package/dist/{lib → common}/validators.js.map +1 -1
  92. package/dist/dialtone-vue.cjs +373 -1
  93. package/dist/dialtone-vue.cjs.map +1 -1
  94. package/dist/dialtone-vue.js +328 -327
  95. package/dist/dialtone-vue.js.map +1 -1
  96. package/dist/lib/attachment-carousel.cjs +345 -1
  97. package/dist/lib/attachment-carousel.cjs.map +1 -1
  98. package/dist/lib/attachment-carousel.js +126 -108
  99. package/dist/lib/attachment-carousel.js.map +1 -1
  100. package/dist/lib/avatar.cjs +447 -1
  101. package/dist/lib/avatar.cjs.map +1 -1
  102. package/dist/lib/avatar.js +135 -101
  103. package/dist/lib/avatar.js.map +1 -1
  104. package/dist/lib/badge.cjs +206 -1
  105. package/dist/lib/badge.cjs.map +1 -1
  106. package/dist/lib/badge.js +64 -48
  107. package/dist/lib/badge.js.map +1 -1
  108. package/dist/lib/banner.cjs +242 -2
  109. package/dist/lib/banner.cjs.map +1 -1
  110. package/dist/lib/banner.js +81 -71
  111. package/dist/lib/banner.js.map +1 -1
  112. package/dist/lib/breadcrumbs.cjs +150 -1
  113. package/dist/lib/breadcrumbs.cjs.map +1 -1
  114. package/dist/lib/breadcrumbs.js +60 -52
  115. package/dist/lib/breadcrumbs.js.map +1 -1
  116. package/dist/lib/button-group.cjs +41 -1
  117. package/dist/lib/button-group.cjs.map +1 -1
  118. package/dist/lib/button-group.js +15 -14
  119. package/dist/lib/button-group.js.map +1 -1
  120. package/dist/lib/button.cjs +356 -1
  121. package/dist/lib/button.cjs.map +1 -1
  122. package/dist/lib/button.js +108 -88
  123. package/dist/lib/button.js.map +1 -1
  124. package/dist/lib/callbar-button-with-popover.cjs +322 -1
  125. package/dist/lib/callbar-button-with-popover.cjs.map +1 -1
  126. package/dist/lib/callbar-button-with-popover.js +101 -83
  127. package/dist/lib/callbar-button-with-popover.js.map +1 -1
  128. package/dist/lib/callbar-button.cjs +200 -1
  129. package/dist/lib/callbar-button.cjs.map +1 -1
  130. package/dist/lib/callbar-button.js +52 -45
  131. package/dist/lib/callbar-button.js.map +1 -1
  132. package/dist/lib/callbox.cjs +217 -1
  133. package/dist/lib/callbox.cjs.map +1 -1
  134. package/dist/lib/callbox.js +80 -67
  135. package/dist/lib/callbox.js.map +1 -1
  136. package/dist/lib/card.cjs +91 -1
  137. package/dist/lib/card.cjs.map +1 -1
  138. package/dist/lib/card.js +27 -27
  139. package/dist/lib/card.js.map +1 -1
  140. package/dist/lib/checkbox-group.cjs +115 -1
  141. package/dist/lib/checkbox-group.cjs.map +1 -1
  142. package/dist/lib/checkbox-group.js +34 -23
  143. package/dist/lib/checkbox-group.js.map +1 -1
  144. package/dist/lib/checkbox.cjs +156 -1
  145. package/dist/lib/checkbox.cjs.map +1 -1
  146. package/dist/lib/checkbox.js +72 -60
  147. package/dist/lib/checkbox.js.map +1 -1
  148. package/dist/lib/chip.cjs +235 -1
  149. package/dist/lib/chip.cjs.map +1 -1
  150. package/dist/lib/chip.js +84 -67
  151. package/dist/lib/chip.js.map +1 -1
  152. package/dist/lib/codeblock.cjs +23 -2
  153. package/dist/lib/codeblock.cjs.map +1 -1
  154. package/dist/lib/codeblock.js +13 -13
  155. package/dist/lib/codeblock.js.map +1 -1
  156. package/dist/lib/collapsible.cjs +398 -1
  157. package/dist/lib/collapsible.cjs.map +1 -1
  158. package/dist/lib/collapsible.js +123 -100
  159. package/dist/lib/collapsible.js.map +1 -1
  160. package/dist/lib/combobox-multi-select.cjs +589 -1
  161. package/dist/lib/combobox-multi-select.cjs.map +1 -1
  162. package/dist/lib/combobox-multi-select.js +270 -177
  163. package/dist/lib/combobox-multi-select.js.map +1 -1
  164. package/dist/lib/combobox-with-popover.cjs +452 -1
  165. package/dist/lib/combobox-with-popover.cjs.map +1 -1
  166. package/dist/lib/combobox-with-popover.js +172 -127
  167. package/dist/lib/combobox-with-popover.js.map +1 -1
  168. package/dist/lib/combobox.cjs +18 -1
  169. package/dist/lib/combobox.cjs.map +1 -1
  170. package/dist/lib/combobox.js +9 -9
  171. package/dist/lib/contact-info.cjs +205 -1
  172. package/dist/lib/contact-info.cjs.map +1 -1
  173. package/dist/lib/contact-info.js +69 -60
  174. package/dist/lib/contact-info.js.map +1 -1
  175. package/dist/lib/contact-row.cjs +246 -1
  176. package/dist/lib/contact-row.cjs.map +1 -1
  177. package/dist/lib/contact-row.js +67 -63
  178. package/dist/lib/contact-row.js.map +1 -1
  179. package/dist/lib/datepicker.cjs +854 -1
  180. package/dist/lib/datepicker.cjs.map +1 -1
  181. package/dist/lib/datepicker.js +585 -441
  182. package/dist/lib/datepicker.js.map +1 -1
  183. package/dist/lib/description-list.cjs +116 -1
  184. package/dist/lib/description-list.cjs.map +1 -1
  185. package/dist/lib/description-list.js +56 -24
  186. package/dist/lib/description-list.js.map +1 -1
  187. package/dist/lib/dropdown.cjs +36 -1
  188. package/dist/lib/dropdown.cjs.map +1 -1
  189. package/dist/lib/dropdown.js +22 -21
  190. package/dist/lib/dropdown.js.map +1 -1
  191. package/dist/lib/editor.cjs +711 -1
  192. package/dist/lib/editor.cjs.map +1 -1
  193. package/dist/lib/editor.js +271 -235
  194. package/dist/lib/editor.js.map +1 -1
  195. package/dist/lib/emoji-picker.cjs +1277 -1
  196. package/dist/lib/emoji-picker.cjs.map +1 -1
  197. package/dist/lib/emoji-picker.js +859 -569
  198. package/dist/lib/emoji-picker.js.map +1 -1
  199. package/dist/lib/emoji-row.cjs +128 -1
  200. package/dist/lib/emoji-row.cjs.map +1 -1
  201. package/dist/lib/emoji-row.js +89 -75
  202. package/dist/lib/emoji-row.js.map +1 -1
  203. package/dist/lib/emoji-text-wrapper.cjs +102 -1
  204. package/dist/lib/emoji-text-wrapper.cjs.map +1 -1
  205. package/dist/lib/emoji-text-wrapper.js +42 -31
  206. package/dist/lib/emoji-text-wrapper.js.map +1 -1
  207. package/dist/lib/emoji.cjs +158 -1
  208. package/dist/lib/emoji.cjs.map +1 -1
  209. package/dist/lib/emoji.js +153 -6
  210. package/dist/lib/emoji.js.map +1 -1
  211. package/dist/lib/feed-item-row.cjs +296 -1
  212. package/dist/lib/feed-item-row.cjs.map +1 -1
  213. package/dist/lib/feed-item-row.js +119 -100
  214. package/dist/lib/feed-item-row.js.map +1 -1
  215. package/dist/lib/feed-pill.cjs +173 -1
  216. package/dist/lib/feed-pill.cjs.map +1 -1
  217. package/dist/lib/feed-pill.js +70 -57
  218. package/dist/lib/feed-pill.js.map +1 -1
  219. package/dist/lib/general-row.cjs +518 -1
  220. package/dist/lib/general-row.cjs.map +1 -1
  221. package/dist/lib/general-row.js +186 -148
  222. package/dist/lib/general-row.js.map +1 -1
  223. package/dist/lib/group-row.cjs +116 -1
  224. package/dist/lib/group-row.cjs.map +1 -1
  225. package/dist/lib/group-row.js +37 -35
  226. package/dist/lib/group-row.js.map +1 -1
  227. package/dist/lib/grouped-chip.cjs +96 -1
  228. package/dist/lib/grouped-chip.cjs.map +1 -1
  229. package/dist/lib/grouped-chip.js +51 -46
  230. package/dist/lib/grouped-chip.js.map +1 -1
  231. package/dist/lib/hovercard.cjs +223 -1
  232. package/dist/lib/hovercard.cjs.map +1 -1
  233. package/dist/lib/hovercard.js +115 -80
  234. package/dist/lib/hovercard.js.map +1 -1
  235. package/dist/lib/icon.cjs +58 -1
  236. package/dist/lib/icon.cjs.map +1 -1
  237. package/dist/lib/icon.js +20 -20
  238. package/dist/lib/icon.js.map +1 -1
  239. package/dist/lib/image-viewer.cjs +243 -1
  240. package/dist/lib/image-viewer.cjs.map +1 -1
  241. package/dist/lib/image-viewer.js +104 -80
  242. package/dist/lib/image-viewer.js.map +1 -1
  243. package/dist/lib/input-group.cjs +91 -1
  244. package/dist/lib/input-group.cjs.map +1 -1
  245. package/dist/lib/input-group.js +41 -39
  246. package/dist/lib/input-group.js.map +1 -1
  247. package/dist/lib/input.cjs +578 -1
  248. package/dist/lib/input.cjs.map +1 -1
  249. package/dist/lib/input.js +185 -137
  250. package/dist/lib/input.js.map +1 -1
  251. package/dist/lib/item-layout.cjs +91 -1
  252. package/dist/lib/item-layout.cjs.map +1 -1
  253. package/dist/lib/item-layout.js +45 -39
  254. package/dist/lib/item-layout.js.map +1 -1
  255. package/dist/lib/ivr-node.cjs +263 -1
  256. package/dist/lib/ivr-node.cjs.map +1 -1
  257. package/dist/lib/ivr-node.js +130 -112
  258. package/dist/lib/ivr-node.js.map +1 -1
  259. package/dist/lib/keyboard-shortcut.cjs +119 -1
  260. package/dist/lib/keyboard-shortcut.cjs.map +1 -1
  261. package/dist/lib/keyboard-shortcut.js +58 -48
  262. package/dist/lib/keyboard-shortcut.js.map +1 -1
  263. package/dist/lib/lazy-show.cjs +82 -1
  264. package/dist/lib/lazy-show.cjs.map +1 -1
  265. package/dist/lib/lazy-show.js +21 -19
  266. package/dist/lib/lazy-show.js.map +1 -1
  267. package/dist/lib/link.cjs +43 -1
  268. package/dist/lib/link.cjs.map +1 -1
  269. package/dist/lib/link.js +20 -19
  270. package/dist/lib/link.js.map +1 -1
  271. package/dist/lib/list-item-group.cjs +67 -1
  272. package/dist/lib/list-item-group.cjs.map +1 -1
  273. package/dist/lib/list-item-group.js +24 -22
  274. package/dist/lib/list-item-group.js.map +1 -1
  275. package/dist/lib/list-item.cjs +216 -1
  276. package/dist/lib/list-item.cjs.map +1 -1
  277. package/dist/lib/list-item.js +71 -60
  278. package/dist/lib/list-item.js.map +1 -1
  279. package/dist/lib/message-input.cjs +708 -1
  280. package/dist/lib/message-input.cjs.map +1 -1
  281. package/dist/lib/message-input.js +232 -206
  282. package/dist/lib/message-input.js.map +1 -1
  283. package/dist/lib/modal.cjs +444 -2
  284. package/dist/lib/modal.cjs.map +1 -1
  285. package/dist/lib/modal.js +153 -120
  286. package/dist/lib/modal.js.map +1 -1
  287. package/dist/lib/notice.cjs +197 -1
  288. package/dist/lib/notice.cjs.map +1 -1
  289. package/dist/lib/notice.js +66 -63
  290. package/dist/lib/notice.js.map +1 -1
  291. package/dist/lib/pagination.cjs +205 -1
  292. package/dist/lib/pagination.cjs.map +1 -1
  293. package/dist/lib/pagination.js +96 -81
  294. package/dist/lib/pagination.js.map +1 -1
  295. package/dist/lib/popover.cjs +1080 -1
  296. package/dist/lib/popover.cjs.map +1 -1
  297. package/dist/lib/popover.js +447 -267
  298. package/dist/lib/popover.js.map +1 -1
  299. package/dist/lib/presence.cjs +70 -1
  300. package/dist/lib/presence.cjs.map +1 -1
  301. package/dist/lib/presence.js +33 -27
  302. package/dist/lib/presence.js.map +1 -1
  303. package/dist/lib/radio-group.cjs +88 -1
  304. package/dist/lib/radio-group.cjs.map +1 -1
  305. package/dist/lib/radio-group.js +18 -18
  306. package/dist/lib/radio-group.js.map +1 -1
  307. package/dist/lib/radio.cjs +162 -1
  308. package/dist/lib/radio.cjs.map +1 -1
  309. package/dist/lib/radio.js +66 -57
  310. package/dist/lib/radio.js.map +1 -1
  311. package/dist/lib/rich-text-editor.cjs +1137 -1
  312. package/dist/lib/rich-text-editor.cjs.map +1 -1
  313. package/dist/lib/rich-text-editor.js +567 -386
  314. package/dist/lib/rich-text-editor.js.map +1 -1
  315. package/dist/lib/root-layout.cjs +158 -1
  316. package/dist/lib/root-layout.cjs.map +1 -1
  317. package/dist/lib/root-layout.js +33 -31
  318. package/dist/lib/root-layout.js.map +1 -1
  319. package/dist/lib/scroller.cjs +1090 -1
  320. package/dist/lib/scroller.cjs.map +1 -1
  321. package/dist/lib/scroller.js +668 -345
  322. package/dist/lib/scroller.js.map +1 -1
  323. package/dist/lib/select-menu.cjs +312 -1
  324. package/dist/lib/select-menu.cjs.map +1 -1
  325. package/dist/lib/select-menu.js +124 -79
  326. package/dist/lib/select-menu.js.map +1 -1
  327. package/dist/lib/settings-menu-button.cjs +77 -1
  328. package/dist/lib/settings-menu-button.cjs.map +1 -1
  329. package/dist/lib/settings-menu-button.js +31 -30
  330. package/dist/lib/settings-menu-button.js.map +1 -1
  331. package/dist/lib/skeleton.cjs +635 -1
  332. package/dist/lib/skeleton.cjs.map +1 -1
  333. package/dist/lib/skeleton.js +189 -152
  334. package/dist/lib/skeleton.js.map +1 -1
  335. package/dist/lib/stack.cjs +123 -1
  336. package/dist/lib/stack.cjs.map +1 -1
  337. package/dist/lib/stack.js +61 -53
  338. package/dist/lib/stack.js.map +1 -1
  339. package/dist/lib/tabs.cjs +102 -1
  340. package/dist/lib/tabs.cjs.map +1 -1
  341. package/dist/lib/tabs.js +47 -41
  342. package/dist/lib/tabs.js.map +1 -1
  343. package/dist/lib/time-pill.cjs +41 -1
  344. package/dist/lib/time-pill.cjs.map +1 -1
  345. package/dist/lib/time-pill.js +18 -14
  346. package/dist/lib/time-pill.js.map +1 -1
  347. package/dist/lib/toast.cjs +281 -1
  348. package/dist/lib/toast.cjs.map +1 -1
  349. package/dist/lib/toast.js +96 -74
  350. package/dist/lib/toast.js.map +1 -1
  351. package/dist/lib/toggle.cjs +192 -1
  352. package/dist/lib/toggle.cjs.map +1 -1
  353. package/dist/lib/toggle.js +60 -49
  354. package/dist/lib/toggle.js.map +1 -1
  355. package/dist/lib/tooltip-directive.cjs +84 -1
  356. package/dist/lib/tooltip-directive.cjs.map +1 -1
  357. package/dist/lib/tooltip-directive.js +56 -42
  358. package/dist/lib/tooltip-directive.js.map +1 -1
  359. package/dist/lib/tooltip.cjs +460 -1
  360. package/dist/lib/tooltip.cjs.map +1 -1
  361. package/dist/lib/tooltip.js +162 -103
  362. package/dist/lib/tooltip.js.map +1 -1
  363. package/dist/lib/top-banner-info.cjs +71 -1
  364. package/dist/lib/top-banner-info.cjs.map +1 -1
  365. package/dist/lib/top-banner-info.js +27 -22
  366. package/dist/lib/top-banner-info.js.map +1 -1
  367. package/dist/lib/unread-pill.cjs +73 -1
  368. package/dist/lib/unread-pill.cjs.map +1 -1
  369. package/dist/lib/unread-pill.js +28 -25
  370. package/dist/lib/unread-pill.js.map +1 -1
  371. package/dist/lib/validation-messages.cjs +89 -1
  372. package/dist/lib/validation-messages.cjs.map +1 -1
  373. package/dist/lib/validation-messages.js +41 -36
  374. package/dist/lib/validation-messages.js.map +1 -1
  375. package/dist/style.css +1257 -1
  376. package/dist/types/components/rich_text_editor/extensions/emoji/EmojiComponent.vue.d.ts +2 -2
  377. package/dist/types/components/rich_text_editor/extensions/mentions/MentionComponent.vue.d.ts +2 -2
  378. package/package.json +30 -29
  379. package/dist/chunks/_plugin-vue_export-helper-6_y-gaV6.js +0 -2
  380. package/dist/chunks/_plugin-vue_export-helper-6_y-gaV6.js.map +0 -1
  381. package/dist/chunks/_plugin-vue_export-helper-hUChTQA_.js +0 -10
  382. package/dist/chunks/_plugin-vue_export-helper-hUChTQA_.js.map +0 -1
  383. package/dist/chunks/dropdown-UO3UJalk.js +0 -2
  384. package/dist/chunks/dropdown_constants-EUcDxBrX.js +0 -9
  385. package/dist/chunks/dropdown_constants-EUcDxBrX.js.map +0 -1
  386. package/dist/chunks/dropdown_constants-KHFvVI2L.js +0 -2
  387. package/dist/chunks/dropdown_constants-KHFvVI2L.js.map +0 -1
  388. package/dist/chunks/icon_constants-2S_OSQ1t.js +0 -2
  389. package/dist/chunks/index-6tYeqbgP.js +0 -3
  390. package/dist/chunks/index-IBtQ5jRJ.js +0 -2
  391. package/dist/chunks/index-IBtQ5jRJ.js.map +0 -1
  392. package/dist/chunks/index-b4iXYvId.js +0 -399
  393. package/dist/chunks/index-mRmwpCBG.js +0 -256
  394. package/dist/chunks/index-mRmwpCBG.js.map +0 -1
  395. package/dist/chunks/input-0Uksk4DP.js +0 -2
  396. package/dist/chunks/input_group-AS760Cp7.js +0 -2
  397. package/dist/chunks/keyboard_list_navigation-F0O8nht0.js +0 -197
  398. package/dist/chunks/keyboard_list_navigation-N74Bpdq7.js +0 -2
  399. package/dist/chunks/link_constants-Kn6kP4i1.js +0 -2
  400. package/dist/chunks/link_constants-vIUB92L4.js +0 -16
  401. package/dist/chunks/list_item_constants-LTUc74pD.js +0 -13
  402. package/dist/chunks/list_item_constants-Tsz5CO1m.js +0 -2
  403. package/dist/chunks/modal-VuMFkZFH.js +0 -82
  404. package/dist/chunks/modal-qEzlo0Sj.js +0 -2
  405. package/dist/chunks/notice_action-jO199emq.js +0 -2
  406. package/dist/chunks/notice_action-tJfD5Qw1.js +0 -209
  407. package/dist/chunks/notice_constants-c--hBFQw.js +0 -6
  408. package/dist/chunks/notice_constants-mC6al2Dm.js +0 -2
  409. package/dist/chunks/popover_constants-hOEhklvr.js +0 -2
  410. package/dist/chunks/popover_constants-qjlEkroB.js +0 -114
  411. package/dist/chunks/sr_only_close_button-iD7s1Pbj.js +0 -3
  412. package/dist/chunks/stack_constants-m9Ickqw0.js +0 -2
  413. package/dist/chunks/stack_constants-u7tNqGtc.js +0 -13
  414. package/dist/chunks/tab-GQZFMq83.js +0 -367
  415. package/dist/chunks/tab-at7WWglk.js +0 -2
  416. package/dist/lib/constants.cjs +0 -2
  417. package/dist/lib/dates.cjs +0 -2
  418. package/dist/lib/dates.js +0 -57
  419. package/dist/lib/mixins.cjs +0 -2
  420. package/dist/lib/mixins.js +0 -17
  421. package/dist/lib/utils.cjs +0 -2
  422. package/dist/lib/utils.js +0 -171
  423. package/dist/lib/validators.cjs +0 -2
  424. package/dist/lib/validators.js +0 -12
  425. /package/dist/{lib → common}/mixins.js.map +0 -0
@@ -1,2 +0,0 @@
1
- "use strict";const i=require("vue"),r=require("../lib/constants.cjs"),n=require("../lib/validators.cjs"),s=require("../lib/utils.cjs"),l={inheritAttrs:!1,props:{label:{type:String,default:""},name:{type:String,default:""},value:{type:[String,Number,Boolean,Object],default:null},description:{type:String,default:""},disabled:{type:Boolean,default:!1},validationState:{type:String,default:"",validator:e=>e?Object.values(r.VALIDATION_MESSAGE_TYPES).includes(e):!0},inputClass:{type:[String,Array,Object],default:""},labelClass:{type:[String,Array,Object],default:""},descriptionClass:{type:[String,Array,Object],default:""},labelChildProps:{type:Object,default:()=>({})},descriptionChildProps:{type:Object,default:()=>({})}},data(){return{internalDisabled:this.disabled,internalValidationState:this.validationState}},watch:{disabled(e){this.internalDisabled=e},validationState(e){this.internalValidationState=e}},methods:{validateInputLabels(e,t){!e&&!t&&i.warn("You must provide an aria-label when there is no label passed",this)}}},o={model:{prop:"checked"},props:{checked:{type:Boolean,default:!1},indeterminate:{type:Boolean,default:!1},value:{type:[String,Number,Boolean],default:null}},data(){return{internalChecked:this.checked,internalIndeterminate:this.indeterminate}},watch:{checked(e){this.internalChecked=e},indeterminate(e){this.internalIndeterminate=e}}},u={inject:{groupContext:{default:{}},setGroupValue:{default:()=>()=>{}}},data(){return{internalValue:this.value}},computed:{hasGroup(){return Object.prototype.hasOwnProperty.call(this.groupContext,"name")},groupName(){var e;return((e=this.groupContext)==null?void 0:e.name)??""},groupValue(){var e;return(e=this.groupContext)==null?void 0:e.value},groupDisabled(){var e;return((e=this.groupContext)==null?void 0:e.disabled)??!1},groupValidationState(){var e;return((e=this.groupContext)==null?void 0:e.validationState)??null},internalName(){return this.name||this.groupName}},watch:{value(e){this.internalValue=e},groupValue:{immediate:!0,handler(e){this.hasGroup&&(this.internalValue=e)}},groupDisabled:{immediate:!0,handler(e){this.hasGroup&&(this.internalDisabled=this.disabled||e)}},groupValidationState:{immediate:!0,handler(e){this.hasGroup&&(this.internalValidationState=e||this.validationState)}}},created(){var a;const e=Object.prototype.hasOwnProperty.call(this.groupContext,"name"),t=(a=this.groupContext)==null?void 0:a.name;this.name&&e&&t!==this.name&&i.warn(`Component is being used inside a Group. Did you mean to override the name prop value (${t}) with (${this.name})? It is recommended to only set name at the Group level.`,this)}},d={props:{messagesClass:{type:[String,Array,Object],default:""},messagesChildProps:{type:Object,default:()=>({})},showMessages:{type:Boolean,default:!0},messages:{type:Array,default:()=>[],validator:e=>n.validationMessageValidator(e)}},computed:{formattedMessages(){return s.formatMessages(this.messages)}}};exports.C=o;exports.G=u;exports.I=l;exports.M=d;
2
- //# sourceMappingURL=input-0Uksk4DP.js.map
@@ -1,2 +0,0 @@
1
- "use strict";const a=require("vue"),s=require("../lib/validators.cjs"),t=require("../lib/utils.cjs"),i=require("../lib/validation-messages.cjs"),r={components:{DtValidationMessages:i.DtValidationMessages},provide(){return{groupContext:this.provideObj,setGroupValue:this.setGroupValue}},props:{id:{type:String,default(){return t.getUniqueString()}},value:{type:[String,Number,Boolean,Object],default:null},name:{type:String,required:!0},legend:{type:String,default:""},disabled:{type:Boolean,default:!1},messages:{type:Array,default:()=>[],validator:e=>s.validationMessageValidator(e)},showMessages:{type:Boolean,default:!0},legendClass:{type:[String,Array,Object],default:""},messagesClass:{type:[String,Array,Object],default:""},legendChildProps:{type:Object,default:()=>({})},messagesChildProps:{type:Object,default:()=>({})}},emits:["input"],data(){const e=t.formatMessages(this.messages);return{provideObj:{name:this.name,disabled:this.disabled,validationState:t.getValidationState(e)}}},computed:{formattedMessages(){return t.formatMessages(this.messages)},validationState(){return t.getValidationState(this.formattedMessages)}},watch:{disabled(e){this.provideObj.disabled=e},validationState(e){this.provideObj.validationState=e}},methods:{setGroupValue(e){this.internalValue=e,this.$emit("input",e)}},mounted(){!this.legend&&!this.$slots.legend&&!this.$attrs["aria-label"]&&a.warn("It is expected that an aria-label is provided when there is no legend.",this)}};exports.I=r;
2
- //# sourceMappingURL=input_group-AS760Cp7.js.map
@@ -1,197 +0,0 @@
1
- const E = {
2
- methods: {
3
- /**
4
- * Scroll an element into view if it is not fully visible in its nearest scrollable ancestor.
5
- * @param {Element} ref
6
- */
7
- scrollElementIntoViewIfNeeded(e, i, s, n) {
8
- e.scrollIntoViewIfNeeded ? this.scrollIntoViewIfNeeded(e, i, s, n) : this.scrollIntoView(e, "bottom", !1, s, n);
9
- },
10
- /**
11
- * Scroll an element to the top or bottom of its scroll ancestor.
12
- * @param {Element} ref
13
- */
14
- scrollElementIntoView(e, i, s, n) {
15
- if (i === "center") {
16
- this.scrollIntoView(e, "center", !1, s, n);
17
- return;
18
- }
19
- i === !1 ? this.scrollIntoView(e, "bottom", !1, s, n) : this.scrollIntoView(e, "top", !1, s, n);
20
- },
21
- scrollIntoViewIfNeeded(e, i, s, n) {
22
- const r = i ? "center" : void 0;
23
- this.scrollIntoView(e, r, !0, s, n);
24
- },
25
- scrollIntoView(e, i, s, n, r) {
26
- if (!e || !e.parentElement)
27
- return;
28
- const l = e.offsetTop, h = r || e.parentElement, c = this._getScrollBounds(h), m = c.bottom - c.top, d = this._getElementHeight(e), g = l + d;
29
- let t = -1;
30
- switch (i) {
31
- case "top":
32
- t = l;
33
- break;
34
- case "center":
35
- t = l + (d - m) / 2;
36
- break;
37
- case "bottom":
38
- t = t = g - m;
39
- break;
40
- default:
41
- l - c.top <= m / 2 ? t = l : t = g - m;
42
- break;
43
- }
44
- this._setScrollTop(h, t, c, l, g, s, n);
45
- },
46
- _setScrollTop(e, i, s, n, r, l, h) {
47
- s = s || this._getScrollBounds(e);
48
- const c = s.bottom - s.top;
49
- if (l && this._inScrollBounds(n, r, s))
50
- if (n < s.top)
51
- i = n;
52
- else if (r > s.bottom)
53
- i = r - c;
54
- else
55
- return;
56
- h ? e.scrollTo({ top: i, behavior: h }) : e.scrollTop = i;
57
- },
58
- _getElementHeight(e) {
59
- return e.getBoundingClientRect().height;
60
- },
61
- _getScrollBounds(e) {
62
- const i = this._getElementHeight(e), s = e.scrollTop;
63
- return {
64
- top: s,
65
- bottom: s + i
66
- };
67
- },
68
- _inScrollBounds(e, i, s) {
69
- const n = i - e;
70
- return i <= s.bottom + 3 * n / 4 && e >= s.top - n / 4;
71
- }
72
- }
73
- }, N = "listElementKey is required or the referenced element doesn't exist. Received listElement: ", w = ({
74
- // Role of the list items in the component. This is used to identify the list items
75
- // so you must update this if the role of your list items is anything other than 'option'
76
- listItemRole: e = "option",
77
- // Key of the data prop that will be added to the component.
78
- indexKey: i = "highlightIndex",
79
- idKey: s = "highlightId",
80
- // Key of the method that references the list element.
81
- listElementKey: n = "listRef",
82
- // Optional, Key of the computed prop that references the currently active item element.
83
- activeItemKey: r = "",
84
- // Optional, name of the method that toggles the list visibility. Used for
85
- // opening the list when up or down is pressed.
86
- openMethod: l = null,
87
- // Optional, method to call when the highlightIndex is changed.
88
- afterHighlightMethod: h = null,
89
- // Optional, method to call when the highlightIndex goes past the beginning of the list.
90
- beginningOfListMethod: c = null,
91
- // Optional, method to call when the highlightIndex goes past the end of the list.
92
- endOfListMethod: m = null,
93
- // Scroll the active element into view when highlighted by a keyboard event.
94
- scrollToOnHighlight: d = !0,
95
- // Focus the active element on keyboard navigation.
96
- focusOnKeyboardNavigation: g = !1
97
- } = {}) => ({
98
- mixins: [E],
99
- data() {
100
- return {
101
- [i]: -1,
102
- [s]: "",
103
- scrollToOnHighlight: d,
104
- focusOnKeyboardNavigation: g
105
- };
106
- },
107
- provide() {
108
- return {
109
- highlightId: () => this[s]
110
- };
111
- },
112
- methods: {
113
- // Returns the list element
114
- // this[listElement]() can return a Vue component, in which case we need to target
115
- // the $el property, or it can simply be an html element.
116
- _getListElement() {
117
- var t;
118
- return ((t = this[n]()) == null ? void 0 : t.$el) || this[n]();
119
- },
120
- // Gets the length of all the items in the list, uses the listItemRole param to determine
121
- // whether an element is a list item.
122
- _itemsLength() {
123
- const t = this._getListItemNodes();
124
- return t === null ? 0 : t.length;
125
- },
126
- // Gets all the list item nodes within the list element
127
- _getListItemNodes() {
128
- const t = this._getListElement();
129
- return t ? Array.from(t.querySelectorAll(`[role="${e}"], #sr-only-close-button`)) : (console.error(N, t), null);
130
- },
131
- onUpKey() {
132
- l && this[l](!0), this[i] > 0 ? this.setHighlightIndex(this[i] - 1) : c && this[c](), this.scrollActiveItemIntoViewIfNeeded(), this.focusActiveItemIfNeeded();
133
- },
134
- onDownKey() {
135
- l && this[l](!0), this[i] < this._itemsLength() - 1 ? this.setHighlightIndex(this[i] + 1) : m && this[m](), this.scrollActiveItemIntoViewIfNeeded(), this.focusActiveItemIfNeeded();
136
- },
137
- onHomeKey() {
138
- this.jumpToBeginning(), this.scrollActiveItemIntoViewIfNeeded(), this.focusActiveItemIfNeeded();
139
- },
140
- onEndKey() {
141
- this.jumpToEnd(), this.scrollActiveItemIntoViewIfNeeded(), this.focusActiveItemIfNeeded();
142
- },
143
- onNavigationKey(t) {
144
- const o = this._getListItemNodes(), I = o.filter((f) => f.textContent.trim().toLowerCase().startsWith(t.toLowerCase()));
145
- if (I.length <= 0)
146
- return;
147
- const u = I.findIndex((f) => this[i] === o.indexOf(f)), a = o.indexOf(
148
- u < I.length - 1 ? I[u + 1] : I[0]
149
- );
150
- this.setHighlightIndex(a), this.scrollActiveItemIntoViewIfNeeded(), this.focusActiveItemIfNeeded();
151
- },
152
- isValidLetter(t) {
153
- return t.length > 1 ? !1 : t >= "a" && t <= "z" || t >= "A" && t <= "Z";
154
- },
155
- jumpToBeginning() {
156
- this.setHighlightIndex(0);
157
- },
158
- jumpToEnd() {
159
- this.setHighlightIndex(this._itemsLength() - 1);
160
- },
161
- setHighlightIndex(t) {
162
- this[i] = t, this[s] = this._getItemId(t), this._itemsLength() && h && this[h](t);
163
- },
164
- setHighlightId(t) {
165
- this[s] = t, this[i] = this._getItemIndex(t), this._itemsLength() && h && this[h](this._getItemIndex(t));
166
- },
167
- _getItemIndex(t) {
168
- const o = this._getListElement();
169
- return o ? Array.from(o.querySelectorAll(`[role="${e}"], #sr-only-close-button`)).indexOf(o.querySelector(`#${t}`)) : void 0;
170
- },
171
- _getItemId(t) {
172
- var I;
173
- const o = this._getListElement();
174
- if (o)
175
- return (I = o.querySelectorAll(`[role="${e}"], #sr-only-close-button`)[t]) == null ? void 0 : I.id;
176
- },
177
- scrollActiveItemIntoViewIfNeeded() {
178
- if (!this.scrollToOnHighlight)
179
- return;
180
- const t = this[r];
181
- if (t) {
182
- const o = this._getListElement();
183
- this.scrollElementIntoViewIfNeeded(t, null, null, o);
184
- }
185
- },
186
- focusActiveItemIfNeeded() {
187
- if (!this.focusOnKeyboardNavigation)
188
- return;
189
- const t = this[r];
190
- t && t.focus();
191
- }
192
- }
193
- });
194
- export {
195
- w as K
196
- };
197
- //# sourceMappingURL=keyboard_list_navigation-F0O8nht0.js.map
@@ -1,2 +0,0 @@
1
- "use strict";const E={methods:{scrollElementIntoViewIfNeeded(e,i,s,n){e.scrollIntoViewIfNeeded?this.scrollIntoViewIfNeeded(e,i,s,n):this.scrollIntoView(e,"bottom",!1,s,n)},scrollElementIntoView(e,i,s,n){if(i==="center"){this.scrollIntoView(e,"center",!1,s,n);return}i===!1?this.scrollIntoView(e,"bottom",!1,s,n):this.scrollIntoView(e,"top",!1,s,n)},scrollIntoViewIfNeeded(e,i,s,n){const r=i?"center":void 0;this.scrollIntoView(e,r,!0,s,n)},scrollIntoView(e,i,s,n,r){if(!e||!e.parentElement)return;const l=e.offsetTop,h=r||e.parentElement,c=this._getScrollBounds(h),m=c.bottom-c.top,d=this._getElementHeight(e),g=l+d;let t=-1;switch(i){case"top":t=l;break;case"center":t=l+(d-m)/2;break;case"bottom":t=t=g-m;break;default:l-c.top<=m/2?t=l:t=g-m;break}this._setScrollTop(h,t,c,l,g,s,n)},_setScrollTop(e,i,s,n,r,l,h){s=s||this._getScrollBounds(e);const c=s.bottom-s.top;if(l&&this._inScrollBounds(n,r,s))if(n<s.top)i=n;else if(r>s.bottom)i=r-c;else return;h?e.scrollTo({top:i,behavior:h}):e.scrollTop=i},_getElementHeight(e){return e.getBoundingClientRect().height},_getScrollBounds(e){const i=this._getElementHeight(e),s=e.scrollTop;return{top:s,bottom:s+i}},_inScrollBounds(e,i,s){const n=i-e;return i<=s.bottom+3*n/4&&e>=s.top-n/4}}},N="listElementKey is required or the referenced element doesn't exist. Received listElement: ",_=({listItemRole:e="option",indexKey:i="highlightIndex",idKey:s="highlightId",listElementKey:n="listRef",activeItemKey:r="",openMethod:l=null,afterHighlightMethod:h=null,beginningOfListMethod:c=null,endOfListMethod:m=null,scrollToOnHighlight:d=!0,focusOnKeyboardNavigation:g=!1}={})=>({mixins:[E],data(){return{[i]:-1,[s]:"",scrollToOnHighlight:d,focusOnKeyboardNavigation:g}},provide(){return{highlightId:()=>this[s]}},methods:{_getListElement(){var t;return((t=this[n]())==null?void 0:t.$el)||this[n]()},_itemsLength(){const t=this._getListItemNodes();return t===null?0:t.length},_getListItemNodes(){const t=this._getListElement();return t?Array.from(t.querySelectorAll(`[role="${e}"], #sr-only-close-button`)):(console.error(N,t),null)},onUpKey(){l&&this[l](!0),this[i]>0?this.setHighlightIndex(this[i]-1):c&&this[c](),this.scrollActiveItemIntoViewIfNeeded(),this.focusActiveItemIfNeeded()},onDownKey(){l&&this[l](!0),this[i]<this._itemsLength()-1?this.setHighlightIndex(this[i]+1):m&&this[m](),this.scrollActiveItemIntoViewIfNeeded(),this.focusActiveItemIfNeeded()},onHomeKey(){this.jumpToBeginning(),this.scrollActiveItemIntoViewIfNeeded(),this.focusActiveItemIfNeeded()},onEndKey(){this.jumpToEnd(),this.scrollActiveItemIntoViewIfNeeded(),this.focusActiveItemIfNeeded()},onNavigationKey(t){const o=this._getListItemNodes(),I=o.filter(u=>u.textContent.trim().toLowerCase().startsWith(t.toLowerCase()));if(I.length<=0)return;const f=I.findIndex(u=>this[i]===o.indexOf(u)),a=o.indexOf(f<I.length-1?I[f+1]:I[0]);this.setHighlightIndex(a),this.scrollActiveItemIntoViewIfNeeded(),this.focusActiveItemIfNeeded()},isValidLetter(t){return t.length>1?!1:t>="a"&&t<="z"||t>="A"&&t<="Z"},jumpToBeginning(){this.setHighlightIndex(0)},jumpToEnd(){this.setHighlightIndex(this._itemsLength()-1)},setHighlightIndex(t){this[i]=t,this[s]=this._getItemId(t),this._itemsLength()&&h&&this[h](t)},setHighlightId(t){this[s]=t,this[i]=this._getItemIndex(t),this._itemsLength()&&h&&this[h](this._getItemIndex(t))},_getItemIndex(t){const o=this._getListElement();return o?Array.from(o.querySelectorAll(`[role="${e}"], #sr-only-close-button`)).indexOf(o.querySelector(`#${t}`)):void 0},_getItemId(t){var I;const o=this._getListElement();if(o)return(I=o.querySelectorAll(`[role="${e}"], #sr-only-close-button`)[t])==null?void 0:I.id},scrollActiveItemIntoViewIfNeeded(){if(!this.scrollToOnHighlight)return;const t=this[r];if(t){const o=this._getListElement();this.scrollElementIntoViewIfNeeded(t,null,null,o)}},focusActiveItemIfNeeded(){if(!this.focusOnKeyboardNavigation)return;const t=this[r];t&&t.focus()}}});exports.K=_;
2
- //# sourceMappingURL=keyboard_list_navigation-N74Bpdq7.js.map
@@ -1,2 +0,0 @@
1
- "use strict";const t="danger",s="warning",d="success",n="muted",e="inverted",i="mention",c=["",t,s,d,n,e,i],o={default:"",warning:"d-link--warning",danger:"d-link--danger",success:"d-link--success",muted:"d-link--muted",inverted:"d-link--inverted",mention:"d-link--mention"};exports.I=e;exports.L=c;exports.M=n;exports.a=o;
2
- //# sourceMappingURL=link_constants-Kn6kP4i1.js.map
@@ -1,16 +0,0 @@
1
- const n = "danger", s = "warning", e = "success", t = "muted", d = "inverted", i = "mention", c = ["", n, s, e, t, d, i], a = {
2
- default: "",
3
- warning: "d-link--warning",
4
- danger: "d-link--danger",
5
- success: "d-link--success",
6
- muted: "d-link--muted",
7
- inverted: "d-link--inverted",
8
- mention: "d-link--mention"
9
- };
10
- export {
11
- d as I,
12
- c as L,
13
- t as M,
14
- a
15
- };
16
- //# sourceMappingURL=link_constants-vIUB92L4.js.map
@@ -1,13 +0,0 @@
1
- const T = {
2
- DEFAULT: "default",
3
- CUSTOM: "custom"
4
- }, E = {
5
- ARROW_KEYS: "arrow-keys",
6
- TAB: "tab",
7
- NONE: "none"
8
- };
9
- export {
10
- T as L,
11
- E as a
12
- };
13
- //# sourceMappingURL=list_item_constants-LTUc74pD.js.map
@@ -1,2 +0,0 @@
1
- "use strict";const T={DEFAULT:"default",CUSTOM:"custom"},t={ARROW_KEYS:"arrow-keys",TAB:"tab",NONE:"none"};exports.L=T;exports.a=t;
2
- //# sourceMappingURL=list_item_constants-Tsz5CO1m.js.map
@@ -1,82 +0,0 @@
1
- const o = ':not(:disabled):not([aria-disabled="true"]):not([role="presentation"])', r = `${o}:not([tabindex="-1"])`, a = "button,[href],input,select,textarea,details,[tabindex]", c = {
2
- methods: {
3
- /**
4
- * get the first focusable element in your component, includes tabindex="-1".
5
- * @param {object} el - optional - ref of dom element to trap focus on.
6
- * will default to the root node of the vue component
7
- */
8
- async getFirstFocusableElement(e) {
9
- await this.$nextTick();
10
- const t = this._getFocusableElements(e, !0);
11
- return this._getFirstFocusElement(t);
12
- },
13
- /**
14
- * set focus to the first focusable element in your component, includes tabindex="-1".
15
- * @param {object} el - optional - ref of dom element to trap focus on.
16
- * will default to the root node of the vue component
17
- */
18
- async focusFirstElement(e = this.$el) {
19
- const t = await this.getFirstFocusableElement(e);
20
- t == null || t.focus({ preventScroll: !0 });
21
- },
22
- async focusElementById(e) {
23
- var s;
24
- await this.$nextTick();
25
- const t = (s = this.$el) == null ? void 0 : s.querySelector(e);
26
- if (t) {
27
- t.focus();
28
- return;
29
- }
30
- console.warn('Could not find the element specified in dt-modal prop "initialFocusElement". Defaulting to focusing the first element.'), await this.focusFirstElement();
31
- },
32
- /**
33
- * internal use only.
34
- *
35
- * @param focusableElements - list of focusable elements
36
- * @returns {*} - first DOM element that is focusable.
37
- * @private
38
- */
39
- _getFirstFocusElement(e) {
40
- if (!e.length)
41
- return;
42
- let t = e[0];
43
- return t.matches('[type="radio"]:not(:checked)') && (t = e.find((s) => s.checked && s.name === t.name) || t), t;
44
- },
45
- /**
46
- * internal use only.
47
- *
48
- * gets all the focusable elements within the component
49
- * and sets the first and last of those elements.
50
- *
51
- * @param {object} el - the root dom element to find focusable elements in.
52
- * @param {bool} includeNegativeTabIndex - will include tabindex="-1" in the list of focusable elements.
53
- */
54
- _getFocusableElements(e = this.$el, t = !1) {
55
- return e ? [...e.querySelectorAll(a)].filter((n) => {
56
- const i = window.getComputedStyle(n);
57
- return i.getPropertyValue("display") !== "none" && i.getPropertyValue("visibility") !== "hidden" && n.matches(t ? o : r);
58
- }) : [];
59
- },
60
- /**
61
- * tabs to the next element contained within your component, does not include tabindex="-1".
62
- * @param {object} e - keypress event
63
- * @param {object} el - optional - ref of dom element to trap focus on.
64
- * will default to the root node of the vue component
65
- */
66
- focusTrappedTabPress(e, t) {
67
- if (!(e.key === "Tab"))
68
- return;
69
- const n = this._getFocusableElements(t);
70
- if (!n.length) {
71
- e.preventDefault();
72
- return;
73
- }
74
- const i = this._getFirstFocusElement(n), l = n[n.length - 1];
75
- e.shiftKey ? document.activeElement === i && (l.focus(), e.preventDefault()) : document.activeElement === l && (i.focus(), e.preventDefault());
76
- }
77
- }
78
- };
79
- export {
80
- c as M
81
- };
82
- //# sourceMappingURL=modal-VuMFkZFH.js.map
@@ -1,2 +0,0 @@
1
- "use strict";const o=':not(:disabled):not([aria-disabled="true"]):not([role="presentation"])',r=`${o}:not([tabindex="-1"])`,a="button,[href],input,select,textarea,details,[tabindex]",c={methods:{async getFirstFocusableElement(e){await this.$nextTick();const t=this._getFocusableElements(e,!0);return this._getFirstFocusElement(t)},async focusFirstElement(e=this.$el){const t=await this.getFirstFocusableElement(e);t==null||t.focus({preventScroll:!0})},async focusElementById(e){var s;await this.$nextTick();const t=(s=this.$el)==null?void 0:s.querySelector(e);if(t){t.focus();return}console.warn('Could not find the element specified in dt-modal prop "initialFocusElement". Defaulting to focusing the first element.'),await this.focusFirstElement()},_getFirstFocusElement(e){if(!e.length)return;let t=e[0];return t.matches('[type="radio"]:not(:checked)')&&(t=e.find(s=>s.checked&&s.name===t.name)||t),t},_getFocusableElements(e=this.$el,t=!1){return e?[...e.querySelectorAll(a)].filter(n=>{const i=window.getComputedStyle(n);return i.getPropertyValue("display")!=="none"&&i.getPropertyValue("visibility")!=="hidden"&&n.matches(t?o:r)}):[]},focusTrappedTabPress(e,t){if(!(e.key==="Tab"))return;const n=this._getFocusableElements(t);if(!n.length){e.preventDefault();return}const i=this._getFirstFocusElement(n),l=n[n.length-1];e.shiftKey?document.activeElement===i&&(l.focus(),e.preventDefault()):document.activeElement===l&&(i.focus(),e.preventDefault())}}};exports.M=c;
2
- //# sourceMappingURL=modal-qEzlo0Sj.js.map
@@ -1,2 +0,0 @@
1
- "use strict";const p=require("./notice_constants-mC6al2Dm.js"),d=require("../lib/utils.cjs"),e=require("vue"),l=require("./_plugin-vue_export-helper-6_y-gaV6.js"),u=require("../lib/icon.cjs"),r=require("./sr_only_close_button-iD7s1Pbj.js"),f=require("../lib/button.cjs"),h=new Map([["info","info"],["success","check-circle"],["warning","alert-triangle"],["error","alert-circle"],["base","bell"]]),C={name:"DtNoticeIcon",components:{DtIcon:u.DtIcon},props:{kind:{type:String,default:"base",validate(t){return p.N.includes(t)}}},data(){return{hasSlotContent:d.hasSlotContent}},computed:{defaultIcon(){return h.get(this.kind)}}},b={key:0,"aria-hidden":"true",class:"d-notice__icon"};function B(t,i,o,a,c,n){const s=e.resolveComponent("dt-icon");return n.defaultIcon||c.hasSlotContent(t.$slots.default)?(e.openBlock(),e.createElementBlock("div",b,[e.renderSlot(t.$slots,"default",{},()=>[e.createVNode(s,{name:n.defaultIcon,size:"400"},null,8,["name"])])])):e.createCommentVNode("",!0)}const k=l._(C,[["render",B]]),y={name:"DtNoticeContent",props:{title:{type:String,default:""},titleId:{type:String,default:void 0},contentId:{type:String,default:void 0}},data(){return{hasSlotContent:d.hasSlotContent}}},S={class:"d-notice__content","data-qa":"notice-content"},v=["id"],N=["id"];function I(t,i,o,a,c,n){return e.openBlock(),e.createElementBlock("div",S,[o.title||c.hasSlotContent(t.$slots.titleOverride)?(e.openBlock(),e.createElementBlock("p",{key:0,id:o.titleId,class:"d-notice__title","data-qa":"notice-content-title"},[e.renderSlot(t.$slots,"titleOverride",{},()=>[e.createTextVNode(e.toDisplayString(o.title),1)])],8,v)):e.createCommentVNode("",!0),e.createElementVNode("p",{id:o.contentId,class:"d-notice__message","data-qa":"notice-content-message"},[e.renderSlot(t.$slots,"default")],8,N)])}const D=l._(y,[["render",I]]),g={name:"DtNoticeAction",components:{DtIcon:u.DtIcon,DtButton:f.DtButton,SrOnlyCloseButton:r.S},mixins:[r.a],props:{closeButtonProps:{type:Object,default:()=>({})},hideClose:{type:Boolean,default:!1},hideAction:{type:Boolean,default:!1}},emits:["close"],created(){!this.hideClose&&!this.closeButtonProps.ariaLabel&&console.error("Invalid props: you must pass in closeButtonProps.ariaLabel if the close button is displayed.")},mounted(){this.hideClose||(this.lastFocusedElement=document.activeElement)},beforeUnmount(){var t;(t=this.lastFocusedElement)==null||t.focus()},methods:{close(){this.$emit("close")}}},q={class:"d-notice__actions","data-qa":"notice-content-actions"};function V(t,i,o,a,c,n){const s=e.resolveComponent("dt-icon"),_=e.resolveComponent("dt-button"),m=e.resolveComponent("sr-only-close-button");return e.openBlock(),e.createElementBlock("div",q,[o.hideAction?e.createCommentVNode("",!0):e.renderSlot(t.$slots,"default",{key:0}),o.hideClose?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(_,e.mergeProps({key:1,ref:"closeButton","data-qa":"dt-notice-action-close-button",size:"sm",importance:"clear",circle:"","aria-label":o.closeButtonProps.ariaLabel?o.closeButtonProps.ariaLabel:"Close"},o.closeButtonProps,{onClick:n.close}),{icon:e.withCtx(()=>[e.createVNode(s,{name:"close",size:"200"})]),_:1},16,["aria-label","onClick"])),t.showVisuallyHiddenClose?(e.openBlock(),e.createBlock(m,{key:2,"visually-hidden-close-label":t.visuallyHiddenCloseLabel,onClose:n.close},null,8,["visually-hidden-close-label","onClose"])):e.createCommentVNode("",!0)])}const $=l._(g,[["render",V]]);exports.D=$;exports.a=k;exports.b=D;
2
- //# sourceMappingURL=notice_action-jO199emq.js.map
@@ -1,209 +0,0 @@
1
- import { N as b } from "./notice_constants-c--hBFQw.js";
2
- import { hasSlotContent as f } from "../lib/utils.js";
3
- import { resolveComponent as c, openBlock as n, createElementBlock as l, renderSlot as a, createVNode as p, createCommentVNode as s, createTextVNode as B, toDisplayString as k, createElementVNode as I, createBlock as _, mergeProps as N, withCtx as S } from "vue";
4
- import { _ as d } from "./_plugin-vue_export-helper-hUChTQA_.js";
5
- import { DtIcon as h } from "../lib/icon.js";
6
- import { S as v, a as g } from "./sr_only_close_button-7O-Ev8uM.js";
7
- import { DtButton as D } from "../lib/button.js";
8
- const $ = /* @__PURE__ */ new Map([
9
- ["info", "info"],
10
- ["success", "check-circle"],
11
- ["warning", "alert-triangle"],
12
- ["error", "alert-circle"],
13
- ["base", "bell"]
14
- ]), P = {
15
- name: "DtNoticeIcon",
16
- components: {
17
- DtIcon: h
18
- },
19
- props: {
20
- /**
21
- * Kind of icon
22
- * @values base, error, info, success, warning
23
- */
24
- kind: {
25
- type: String,
26
- default: "base",
27
- validate(e) {
28
- return b.includes(e);
29
- }
30
- }
31
- },
32
- data() {
33
- return {
34
- hasSlotContent: f
35
- };
36
- },
37
- computed: {
38
- defaultIcon() {
39
- return $.get(this.kind);
40
- }
41
- }
42
- }, E = {
43
- key: 0,
44
- "aria-hidden": "true",
45
- class: "d-notice__icon"
46
- };
47
- function O(e, u, t, m, i, o) {
48
- const r = c("dt-icon");
49
- return o.defaultIcon || i.hasSlotContent(e.$slots.default) ? (n(), l("div", E, [
50
- a(e.$slots, "default", {}, () => [
51
- p(r, {
52
- name: o.defaultIcon,
53
- size: "400"
54
- }, null, 8, ["name"])
55
- ])
56
- ])) : s("", !0);
57
- }
58
- const J = /* @__PURE__ */ d(P, [["render", O]]), q = {
59
- name: "DtNoticeContent",
60
- props: {
61
- /**
62
- * Title header of the notice. This can be left blank to remove the title from the notice entirely.
63
- */
64
- title: {
65
- type: String,
66
- default: ""
67
- },
68
- /**
69
- * ID for the title element of the component. Useful for aria-describedby
70
- * or aria-labelledby or any other reason you may need an id to refer to the title.
71
- */
72
- titleId: {
73
- type: String,
74
- default: void 0
75
- },
76
- /**
77
- * ID for the content element of the component. Useful for aria-describedby
78
- * or aria-labelledby or any other reason you may need an id to refer to the content.
79
- */
80
- contentId: {
81
- type: String,
82
- default: void 0
83
- }
84
- },
85
- data() {
86
- return {
87
- hasSlotContent: f
88
- };
89
- }
90
- }, L = {
91
- class: "d-notice__content",
92
- "data-qa": "notice-content"
93
- }, V = ["id"], w = ["id"];
94
- function A(e, u, t, m, i, o) {
95
- return n(), l("div", L, [
96
- t.title || i.hasSlotContent(e.$slots.titleOverride) ? (n(), l("p", {
97
- key: 0,
98
- id: t.titleId,
99
- class: "d-notice__title",
100
- "data-qa": "notice-content-title"
101
- }, [
102
- a(e.$slots, "titleOverride", {}, () => [
103
- B(k(t.title), 1)
104
- ])
105
- ], 8, V)) : s("", !0),
106
- I("p", {
107
- id: t.contentId,
108
- class: "d-notice__message",
109
- "data-qa": "notice-content-message"
110
- }, [
111
- a(e.$slots, "default")
112
- ], 8, w)
113
- ]);
114
- }
115
- const Q = /* @__PURE__ */ d(q, [["render", A]]), z = {
116
- name: "DtNoticeAction",
117
- components: {
118
- DtIcon: h,
119
- DtButton: D,
120
- SrOnlyCloseButton: v
121
- },
122
- mixins: [g],
123
- props: {
124
- /**
125
- * Props for the notice close button.
126
- */
127
- closeButtonProps: {
128
- type: Object,
129
- default: () => ({})
130
- },
131
- /**
132
- * Hides the close button from the notice
133
- * @values true, false
134
- */
135
- hideClose: {
136
- type: Boolean,
137
- default: !1
138
- },
139
- /**
140
- * Hides the action from the notice
141
- * @values true, false
142
- */
143
- hideAction: {
144
- type: Boolean,
145
- default: !1
146
- }
147
- },
148
- emits: [
149
- /**
150
- * Close button click event
151
- *
152
- * @event close
153
- */
154
- "close"
155
- ],
156
- created() {
157
- !this.hideClose && !this.closeButtonProps.ariaLabel && console.error("Invalid props: you must pass in closeButtonProps.ariaLabel if the close button is displayed.");
158
- },
159
- mounted() {
160
- this.hideClose || (this.lastFocusedElement = document.activeElement);
161
- },
162
- beforeUnmount() {
163
- var e;
164
- (e = this.lastFocusedElement) == null || e.focus();
165
- },
166
- methods: {
167
- close() {
168
- this.$emit("close");
169
- }
170
- }
171
- }, T = {
172
- class: "d-notice__actions",
173
- "data-qa": "notice-content-actions"
174
- };
175
- function F(e, u, t, m, i, o) {
176
- const r = c("dt-icon"), y = c("dt-button"), C = c("sr-only-close-button");
177
- return n(), l("div", T, [
178
- t.hideAction ? s("", !0) : a(e.$slots, "default", { key: 0 }),
179
- t.hideClose ? s("", !0) : (n(), _(y, N({
180
- key: 1,
181
- ref: "closeButton",
182
- "data-qa": "dt-notice-action-close-button",
183
- size: "sm",
184
- importance: "clear",
185
- circle: "",
186
- "aria-label": t.closeButtonProps.ariaLabel ? t.closeButtonProps.ariaLabel : "Close"
187
- }, t.closeButtonProps, { onClick: o.close }), {
188
- icon: S(() => [
189
- p(r, {
190
- name: "close",
191
- size: "200"
192
- })
193
- ]),
194
- _: 1
195
- }, 16, ["aria-label", "onClick"])),
196
- e.showVisuallyHiddenClose ? (n(), _(C, {
197
- key: 2,
198
- "visually-hidden-close-label": e.visuallyHiddenCloseLabel,
199
- onClose: o.close
200
- }, null, 8, ["visually-hidden-close-label", "onClose"])) : s("", !0)
201
- ]);
202
- }
203
- const R = /* @__PURE__ */ d(z, [["render", F]]);
204
- export {
205
- R as D,
206
- J as a,
207
- Q as b
208
- };
209
- //# sourceMappingURL=notice_action-tJfD5Qw1.js.map
@@ -1,6 +0,0 @@
1
- const s = ["base", "error", "info", "success", "warning"], a = ["alert", "alertdialog", "status"];
2
- export {
3
- s as N,
4
- a
5
- };
6
- //# sourceMappingURL=notice_constants-c--hBFQw.js.map
@@ -1,2 +0,0 @@
1
- "use strict";const s=["base","error","info","success","warning"],t=["alert","alertdialog","status"];exports.N=s;exports.a=t;
2
- //# sourceMappingURL=notice_constants-mC6al2Dm.js.map
@@ -1,2 +0,0 @@
1
- "use strict";const s=require("tippy.js"),c=e=>({name:"arrowDetected",enabled:!0,phase:"main",fn:e,requiresIfExists:["offset"]}),i=["bottom","bottom-start","bottom-end","right","right-start","right-end","left","left-start","left-end","top","top-start","top-end"],d=[!0,!1,"reference","popper"],O=(e,t)=>{const{contentElement:n}={...t};return delete t.contentElement,s(e,{...t,plugins:[s.sticky],render:()=>p(n)})},_=({boundary:e="clippingParents",fallbackPlacements:t=[],onChangePlacement:n=()=>{},hasHideModifierEnabled:r=!1,tether:o=!0}={})=>({modifiers:[{name:"flip",options:{fallbackPlacements:t,boundary:e}},{name:"hide",enabled:r},{name:"preventOverflow",options:{altAxis:!o,tether:o}},c(({state:l})=>{n(l.placement)})]}),E=e=>{const t=document.createElement("span");return t.innerText=e.innerText||"",e.innerText="",e.appendChild(t),t},P=e=>{const t=e==null?void 0:e.children[0];return t||E(e)},p=e=>{const t=document.createElement("div");return t.className="tippy-box d-ps-absolute",t.appendChild(e),{popper:t}},T=[...i],I=300,a={hover:"d-tooltip--hover",show:"d-tooltip--show",inverted:"d-tooltip--inverted",hide:"d-tooltip--hide"},m=[...d],S=[!0,!1,"toggle"],u={none:void 0,small:"d-p4",medium:"d-p8",large:"d-p16"},A={none:void 0,small:"d-pl4",medium:"d-pl8",large:"d-pl16"},f=["dialog","menu","listbox","tree","grid"],g=["","anchor"],R=["none","dialog","first"],D=["parent","body"],C=[...d],L=[...i];exports.P=u;exports.T=T;exports.a=A;exports.b=f;exports.c=g;exports.d=R;exports.e=D;exports.f=C;exports.g=L;exports.h=I;exports.i=a;exports.j=m;exports.k=S;exports.l=_;exports.m=P;exports.n=O;
2
- //# sourceMappingURL=popover_constants-hOEhklvr.js.map