@dialpad/dialtone-vue 2.157.1-beta.1 → 2.157.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 (1122) hide show
  1. package/dist/_virtual/_plugin-vue2_normalizer.cjs +18 -0
  2. package/dist/_virtual/_plugin-vue2_normalizer.cjs.map +1 -0
  3. package/dist/_virtual/_plugin-vue2_normalizer.js +19 -0
  4. package/dist/_virtual/_plugin-vue2_normalizer.js.map +1 -0
  5. package/dist/common/dates.cjs +0 -2
  6. package/dist/common/dates.cjs.map +1 -1
  7. package/dist/common/dates.js +0 -2
  8. package/dist/common/dates.js.map +1 -1
  9. package/dist/common/emoji.cjs +163 -40
  10. package/dist/common/emoji.cjs.map +1 -1
  11. package/dist/common/emoji.js +145 -2
  12. package/dist/common/emoji.js.map +1 -1
  13. package/dist/common/mixins/dom.cjs +101 -0
  14. package/dist/common/mixins/dom.cjs.map +1 -0
  15. package/dist/common/mixins/dom.js +102 -0
  16. package/dist/common/mixins/dom.js.map +1 -0
  17. package/dist/{chunks/input-Axw-wFj2.js → common/mixins/input.cjs} +5 -4
  18. package/dist/common/mixins/input.cjs.map +1 -0
  19. package/dist/{chunks/input-6kbd8Pju.js → common/mixins/input.js} +4 -4
  20. package/dist/common/mixins/input.js.map +1 -0
  21. package/dist/{chunks/input_group-m3cWYUfI.js → common/mixins/input_group.cjs} +6 -5
  22. package/dist/common/mixins/input_group.cjs.map +1 -0
  23. package/dist/{chunks/input_group-qVZaS5Bb.js → common/mixins/input_group.js} +4 -4
  24. package/dist/common/mixins/input_group.js.map +1 -0
  25. package/dist/{chunks/keyboard_list_navigation-fJnl_Iox.js → common/mixins/keyboard_list_navigation.cjs} +4 -101
  26. package/dist/common/mixins/keyboard_list_navigation.cjs.map +1 -0
  27. package/dist/{chunks/keyboard_list_navigation-ScXhrxya.js → common/mixins/keyboard_list_navigation.js} +3 -100
  28. package/dist/common/mixins/keyboard_list_navigation.js.map +1 -0
  29. package/dist/{chunks/modal-VgxXAQFP.js → common/mixins/modal.cjs} +3 -4
  30. package/dist/common/mixins/modal.cjs.map +1 -0
  31. package/dist/{chunks/modal-XOr4kiNZ.js → common/mixins/modal.js} +3 -4
  32. package/dist/common/mixins/modal.js.map +1 -0
  33. package/dist/common/mixins/skeleton.cjs +27 -0
  34. package/dist/common/mixins/skeleton.cjs.map +1 -0
  35. package/dist/common/mixins/skeleton.js +28 -0
  36. package/dist/common/mixins/skeleton.js.map +1 -0
  37. package/dist/common/mixins/sr_only_close_button.cjs +45 -0
  38. package/dist/common/mixins/sr_only_close_button.cjs.map +1 -0
  39. package/dist/common/mixins/sr_only_close_button.js +46 -0
  40. package/dist/common/mixins/sr_only_close_button.js.map +1 -0
  41. package/dist/common/mixins.cjs +4 -10
  42. package/dist/common/mixins.cjs.map +1 -1
  43. package/dist/common/mixins.js +4 -10
  44. package/dist/common/mixins.js.map +1 -1
  45. package/dist/common/sr_only_close_button.vue.cjs +48 -0
  46. package/dist/common/sr_only_close_button.vue.cjs.map +1 -0
  47. package/dist/common/sr_only_close_button.vue.js +49 -0
  48. package/dist/common/sr_only_close_button.vue.js.map +1 -0
  49. package/dist/common/storybook_utils.cjs +8 -0
  50. package/dist/common/storybook_utils.cjs.map +1 -0
  51. package/dist/common/storybook_utils.js +8 -0
  52. package/dist/common/storybook_utils.js.map +1 -0
  53. package/dist/common/utils.cjs +3 -6
  54. package/dist/common/utils.cjs.map +1 -1
  55. package/dist/common/utils.js +3 -6
  56. package/dist/common/utils.js.map +1 -1
  57. package/dist/components/avatar/avatar.vue.cjs +327 -0
  58. package/dist/components/avatar/avatar.vue.cjs.map +1 -0
  59. package/dist/components/avatar/avatar.vue.js +328 -0
  60. package/dist/components/avatar/avatar.vue.js.map +1 -0
  61. package/dist/components/avatar/avatar_constants.cjs +64 -0
  62. package/dist/components/avatar/avatar_constants.cjs.map +1 -0
  63. package/dist/components/avatar/avatar_constants.js +64 -0
  64. package/dist/components/avatar/avatar_constants.js.map +1 -0
  65. package/dist/components/avatar/utils.cjs +9 -0
  66. package/dist/components/avatar/utils.cjs.map +1 -0
  67. package/dist/components/avatar/utils.js +9 -0
  68. package/dist/components/avatar/utils.js.map +1 -0
  69. package/dist/components/badge/badge.vue.cjs +157 -0
  70. package/dist/components/badge/badge.vue.cjs.map +1 -0
  71. package/dist/components/badge/badge.vue.js +158 -0
  72. package/dist/components/badge/badge.vue.js.map +1 -0
  73. package/dist/components/badge/badge_constants.cjs +43 -0
  74. package/dist/components/badge/badge_constants.cjs.map +1 -0
  75. package/dist/components/badge/badge_constants.js +43 -0
  76. package/dist/components/badge/badge_constants.js.map +1 -0
  77. package/dist/components/banner/banner.vue.cjs +199 -0
  78. package/dist/components/banner/banner.vue.cjs.map +1 -0
  79. package/dist/components/banner/banner.vue.js +200 -0
  80. package/dist/components/banner/banner.vue.js.map +1 -0
  81. package/dist/components/breadcrumbs/breadcrumb_item.vue.cjs +72 -0
  82. package/dist/components/breadcrumbs/breadcrumb_item.vue.cjs.map +1 -0
  83. package/dist/components/breadcrumbs/breadcrumb_item.vue.js +73 -0
  84. package/dist/components/breadcrumbs/breadcrumb_item.vue.js.map +1 -0
  85. package/dist/components/breadcrumbs/breadcrumbs.vue.cjs +73 -0
  86. package/dist/components/breadcrumbs/breadcrumbs.vue.cjs.map +1 -0
  87. package/dist/components/breadcrumbs/breadcrumbs.vue.js +74 -0
  88. package/dist/components/breadcrumbs/breadcrumbs.vue.js.map +1 -0
  89. package/dist/components/breadcrumbs/breadcrumbs_constants.cjs +7 -0
  90. package/dist/components/breadcrumbs/breadcrumbs_constants.cjs.map +1 -0
  91. package/dist/components/breadcrumbs/breadcrumbs_constants.js +7 -0
  92. package/dist/components/breadcrumbs/breadcrumbs_constants.js.map +1 -0
  93. package/dist/components/button/button.vue.cjs +282 -0
  94. package/dist/components/button/button.vue.cjs.map +1 -0
  95. package/dist/components/button/button.vue.js +283 -0
  96. package/dist/components/button/button.vue.js.map +1 -0
  97. package/dist/components/button/button_constants.cjs +71 -0
  98. package/dist/components/button/button_constants.cjs.map +1 -0
  99. package/dist/components/button/button_constants.js +71 -0
  100. package/dist/components/button/button_constants.js.map +1 -0
  101. package/dist/components/button_group/button_group.vue.cjs +40 -0
  102. package/dist/components/button_group/button_group.vue.cjs.map +1 -0
  103. package/dist/components/button_group/button_group.vue.js +41 -0
  104. package/dist/components/button_group/button_group.vue.js.map +1 -0
  105. package/dist/components/button_group/button_group_constants.cjs +9 -0
  106. package/dist/components/button_group/button_group_constants.cjs.map +1 -0
  107. package/dist/components/button_group/button_group_constants.js +9 -0
  108. package/dist/components/button_group/button_group_constants.js.map +1 -0
  109. package/dist/components/card/card.vue.cjs +71 -0
  110. package/dist/components/card/card.vue.cjs.map +1 -0
  111. package/dist/components/card/card.vue.js +72 -0
  112. package/dist/components/card/card.vue.js.map +1 -0
  113. package/dist/components/checkbox/checkbox.vue.cjs +117 -0
  114. package/dist/components/checkbox/checkbox.vue.cjs.map +1 -0
  115. package/dist/components/checkbox/checkbox.vue.js +118 -0
  116. package/dist/components/checkbox/checkbox.vue.js.map +1 -0
  117. package/dist/components/checkbox/checkbox_constants.cjs +9 -0
  118. package/dist/components/checkbox/checkbox_constants.cjs.map +1 -0
  119. package/dist/components/checkbox/checkbox_constants.js +9 -0
  120. package/dist/components/checkbox/checkbox_constants.js.map +1 -0
  121. package/dist/components/checkbox_group/checkbox_group.vue.cjs +122 -0
  122. package/dist/components/checkbox_group/checkbox_group.vue.cjs.map +1 -0
  123. package/dist/components/checkbox_group/checkbox_group.vue.js +123 -0
  124. package/dist/components/checkbox_group/checkbox_group.vue.js.map +1 -0
  125. package/dist/components/chip/chip.vue.cjs +172 -0
  126. package/dist/components/chip/chip.vue.cjs.map +1 -0
  127. package/dist/components/chip/chip.vue.js +173 -0
  128. package/dist/components/chip/chip.vue.js.map +1 -0
  129. package/dist/components/chip/chip_constants.cjs +21 -0
  130. package/dist/components/chip/chip_constants.cjs.map +1 -0
  131. package/dist/components/chip/chip_constants.js +21 -0
  132. package/dist/components/chip/chip_constants.js.map +1 -0
  133. package/dist/components/codeblock/codeblock.vue.cjs +27 -0
  134. package/dist/components/codeblock/codeblock.vue.cjs.map +1 -0
  135. package/dist/components/codeblock/codeblock.vue.js +28 -0
  136. package/dist/components/codeblock/codeblock.vue.js.map +1 -0
  137. package/dist/components/collapsible/collapsible.vue.cjs +196 -0
  138. package/dist/components/collapsible/collapsible.vue.cjs.map +1 -0
  139. package/dist/components/collapsible/collapsible.vue.js +197 -0
  140. package/dist/components/collapsible/collapsible.vue.js.map +1 -0
  141. package/dist/components/collapsible/collapsible_lazy_show.vue.cjs +133 -0
  142. package/dist/components/collapsible/collapsible_lazy_show.vue.cjs.map +1 -0
  143. package/dist/components/collapsible/collapsible_lazy_show.vue.js +134 -0
  144. package/dist/components/collapsible/collapsible_lazy_show.vue.js.map +1 -0
  145. package/dist/{chunks/index-gj1jEXP4.js → components/combobox/combobox.vue.cjs} +27 -113
  146. package/dist/components/combobox/combobox.vue.cjs.map +1 -0
  147. package/dist/{chunks/index-eJ-WWRdf.js → components/combobox/combobox.vue.js} +22 -108
  148. package/dist/components/combobox/combobox.vue.js.map +1 -0
  149. package/dist/components/combobox/combobox_constants.cjs +11 -0
  150. package/dist/components/combobox/combobox_constants.cjs.map +1 -0
  151. package/dist/components/combobox/combobox_constants.js +11 -0
  152. package/dist/components/combobox/combobox_constants.js.map +1 -0
  153. package/dist/components/combobox/combobox_empty-list.vue.cjs +44 -0
  154. package/dist/components/combobox/combobox_empty-list.vue.cjs.map +1 -0
  155. package/dist/components/combobox/combobox_empty-list.vue.js +45 -0
  156. package/dist/components/combobox/combobox_empty-list.vue.js.map +1 -0
  157. package/dist/components/combobox/combobox_loading-list.vue.cjs +26 -0
  158. package/dist/components/combobox/combobox_loading-list.vue.cjs.map +1 -0
  159. package/dist/components/combobox/combobox_loading-list.vue.js +27 -0
  160. package/dist/components/combobox/combobox_loading-list.vue.js.map +1 -0
  161. package/dist/components/datepicker/datepicker.vue.cjs +146 -0
  162. package/dist/components/datepicker/datepicker.vue.cjs.map +1 -0
  163. package/dist/components/datepicker/datepicker.vue.js +147 -0
  164. package/dist/components/datepicker/datepicker.vue.js.map +1 -0
  165. package/dist/components/datepicker/datepicker_constants.cjs +9 -0
  166. package/dist/components/datepicker/datepicker_constants.cjs.map +1 -0
  167. package/dist/components/datepicker/datepicker_constants.js +9 -0
  168. package/dist/components/datepicker/datepicker_constants.js.map +1 -0
  169. package/dist/components/datepicker/formatUtils.cjs +25 -0
  170. package/dist/components/datepicker/formatUtils.cjs.map +1 -0
  171. package/dist/components/datepicker/formatUtils.js +25 -0
  172. package/dist/components/datepicker/formatUtils.js.map +1 -0
  173. package/dist/components/datepicker/modules/calendar.vue.cjs +198 -0
  174. package/dist/components/datepicker/modules/calendar.vue.cjs.map +1 -0
  175. package/dist/components/datepicker/modules/calendar.vue.js +199 -0
  176. package/dist/components/datepicker/modules/calendar.vue.js.map +1 -0
  177. package/dist/components/datepicker/modules/month-year-picker.vue.cjs +219 -0
  178. package/dist/components/datepicker/modules/month-year-picker.vue.cjs.map +1 -0
  179. package/dist/components/datepicker/modules/month-year-picker.vue.js +220 -0
  180. package/dist/components/datepicker/modules/month-year-picker.vue.js.map +1 -0
  181. package/dist/components/datepicker/utils.cjs +84 -0
  182. package/dist/components/datepicker/utils.cjs.map +1 -0
  183. package/dist/components/datepicker/utils.js +84 -0
  184. package/dist/components/datepicker/utils.js.map +1 -0
  185. package/dist/components/description_list/description_list.vue.cjs +84 -0
  186. package/dist/components/description_list/description_list.vue.cjs.map +1 -0
  187. package/dist/components/description_list/description_list.vue.js +85 -0
  188. package/dist/components/description_list/description_list.vue.js.map +1 -0
  189. package/dist/components/description_list/description_list_constants.cjs +5 -0
  190. package/dist/components/description_list/description_list_constants.cjs.map +1 -0
  191. package/dist/components/description_list/description_list_constants.js +5 -0
  192. package/dist/components/description_list/description_list_constants.js.map +1 -0
  193. package/dist/components/description_list/description_list_validators.cjs +33 -0
  194. package/dist/components/description_list/description_list_validators.cjs.map +1 -0
  195. package/dist/components/description_list/description_list_validators.js +33 -0
  196. package/dist/components/description_list/description_list_validators.js.map +1 -0
  197. package/dist/{chunks/dropdown-pHxnQPzT.js → components/dropdown/dropdown.vue.cjs} +18 -18
  198. package/dist/components/dropdown/dropdown.vue.cjs.map +1 -0
  199. package/dist/{chunks/dropdown-6UoczdUY.js → components/dropdown/dropdown.vue.js} +13 -13
  200. package/dist/components/dropdown/dropdown.vue.js.map +1 -0
  201. package/dist/{chunks/dropdown_constants-2pGCXy7m.js → components/dropdown/dropdown_constants.cjs} +2 -1
  202. package/dist/components/dropdown/dropdown_constants.cjs.map +1 -0
  203. package/dist/{chunks/dropdown_constants-w1MXGC3Z.js → components/dropdown/dropdown_constants.js} +1 -1
  204. package/dist/components/dropdown/dropdown_constants.js.map +1 -0
  205. package/dist/components/dropdown/dropdown_separator.vue.cjs +22 -0
  206. package/dist/components/dropdown/dropdown_separator.vue.cjs.map +1 -0
  207. package/dist/components/dropdown/dropdown_separator.vue.js +23 -0
  208. package/dist/components/dropdown/dropdown_separator.vue.js.map +1 -0
  209. package/dist/components/emoji/emoji.vue.cjs +140 -0
  210. package/dist/components/emoji/emoji.vue.cjs.map +1 -0
  211. package/dist/components/emoji/emoji.vue.js +141 -0
  212. package/dist/components/emoji/emoji.vue.js.map +1 -0
  213. package/dist/components/emoji_picker/emoji_picker.vue.cjs +207 -0
  214. package/dist/components/emoji_picker/emoji_picker.vue.cjs.map +1 -0
  215. package/dist/components/emoji_picker/emoji_picker.vue.js +208 -0
  216. package/dist/components/emoji_picker/emoji_picker.vue.js.map +1 -0
  217. package/dist/components/emoji_picker/emoji_picker_constants.cjs +28 -0
  218. package/dist/components/emoji_picker/emoji_picker_constants.cjs.map +1 -0
  219. package/dist/components/emoji_picker/emoji_picker_constants.js +28 -0
  220. package/dist/components/emoji_picker/emoji_picker_constants.js.map +1 -0
  221. package/dist/components/emoji_picker/modules/emoji_description.vue.cjs +39 -0
  222. package/dist/components/emoji_picker/modules/emoji_description.vue.cjs.map +1 -0
  223. package/dist/components/emoji_picker/modules/emoji_description.vue.js +40 -0
  224. package/dist/components/emoji_picker/modules/emoji_description.vue.js.map +1 -0
  225. package/dist/components/emoji_picker/modules/emoji_search.vue.cjs +79 -0
  226. package/dist/components/emoji_picker/modules/emoji_search.vue.cjs.map +1 -0
  227. package/dist/components/emoji_picker/modules/emoji_search.vue.js +80 -0
  228. package/dist/components/emoji_picker/modules/emoji_search.vue.js.map +1 -0
  229. package/dist/components/emoji_picker/modules/emoji_selector.vue.cjs +468 -0
  230. package/dist/components/emoji_picker/modules/emoji_selector.vue.cjs.map +1 -0
  231. package/dist/components/emoji_picker/modules/emoji_selector.vue.js +469 -0
  232. package/dist/components/emoji_picker/modules/emoji_selector.vue.js.map +1 -0
  233. package/dist/components/emoji_picker/modules/emoji_skin_selector.vue.cjs +178 -0
  234. package/dist/components/emoji_picker/modules/emoji_skin_selector.vue.cjs.map +1 -0
  235. package/dist/components/emoji_picker/modules/emoji_skin_selector.vue.js +179 -0
  236. package/dist/components/emoji_picker/modules/emoji_skin_selector.vue.js.map +1 -0
  237. package/dist/components/emoji_picker/modules/emoji_tabset.vue.cjs +150 -0
  238. package/dist/components/emoji_picker/modules/emoji_tabset.vue.cjs.map +1 -0
  239. package/dist/components/emoji_picker/modules/emoji_tabset.vue.js +151 -0
  240. package/dist/components/emoji_picker/modules/emoji_tabset.vue.js.map +1 -0
  241. package/dist/components/emoji_text_wrapper/emoji_text_wrapper.vue.cjs +105 -0
  242. package/dist/components/emoji_text_wrapper/emoji_text_wrapper.vue.cjs.map +1 -0
  243. package/dist/components/emoji_text_wrapper/emoji_text_wrapper.vue.js +106 -0
  244. package/dist/components/emoji_text_wrapper/emoji_text_wrapper.vue.js.map +1 -0
  245. package/dist/components/empty_state/empty_state.vue.cjs +158 -0
  246. package/dist/components/empty_state/empty_state.vue.cjs.map +1 -0
  247. package/dist/components/empty_state/empty_state.vue.js +159 -0
  248. package/dist/components/empty_state/empty_state.vue.js.map +1 -0
  249. package/dist/components/empty_state/empty_state_constants.cjs +9 -0
  250. package/dist/components/empty_state/empty_state_constants.cjs.map +1 -0
  251. package/dist/components/empty_state/empty_state_constants.js +9 -0
  252. package/dist/components/empty_state/empty_state_constants.js.map +1 -0
  253. package/dist/components/hovercard/hovercard.vue.cjs +158 -0
  254. package/dist/components/hovercard/hovercard.vue.cjs.map +1 -0
  255. package/dist/components/hovercard/hovercard.vue.js +159 -0
  256. package/dist/components/hovercard/hovercard.vue.js.map +1 -0
  257. package/dist/components/hovercard/timer.cjs +58 -0
  258. package/dist/components/hovercard/timer.cjs.map +1 -0
  259. package/dist/components/hovercard/timer.js +59 -0
  260. package/dist/components/hovercard/timer.js.map +1 -0
  261. package/dist/components/icon/icon.vue.cjs +54 -0
  262. package/dist/components/icon/icon.vue.cjs.map +1 -0
  263. package/dist/components/icon/icon.vue.js +55 -0
  264. package/dist/components/icon/icon.vue.js.map +1 -0
  265. package/dist/{chunks/icon_constants-da57m7BZ.js → components/icon/icon_constants.cjs} +2 -1
  266. package/dist/components/icon/icon_constants.cjs.map +1 -0
  267. package/dist/{chunks/icon_constants-H9ahUVCG.js → components/icon/icon_constants.js} +1 -1
  268. package/dist/components/icon/icon_constants.js.map +1 -0
  269. package/dist/components/illustration/illustration.vue.cjs +38 -0
  270. package/dist/components/illustration/illustration.vue.cjs.map +1 -0
  271. package/dist/components/illustration/illustration.vue.js +39 -0
  272. package/dist/components/illustration/illustration.vue.js.map +1 -0
  273. package/dist/components/illustration/illustration_constants.cjs +6 -0
  274. package/dist/components/illustration/illustration_constants.cjs.map +1 -0
  275. package/dist/components/illustration/illustration_constants.js +6 -0
  276. package/dist/components/illustration/illustration_constants.js.map +1 -0
  277. package/dist/components/image_viewer/image_viewer.vue.cjs +193 -0
  278. package/dist/components/image_viewer/image_viewer.vue.cjs.map +1 -0
  279. package/dist/components/image_viewer/image_viewer.vue.js +194 -0
  280. package/dist/components/image_viewer/image_viewer.vue.js.map +1 -0
  281. package/dist/components/input/input.vue.cjs +413 -0
  282. package/dist/components/input/input.vue.cjs.map +1 -0
  283. package/dist/components/input/input.vue.js +414 -0
  284. package/dist/components/input/input.vue.js.map +1 -0
  285. package/dist/components/input/input_constants.cjs +65 -0
  286. package/dist/components/input/input_constants.cjs.map +1 -0
  287. package/dist/components/input/input_constants.js +65 -0
  288. package/dist/components/input/input_constants.js.map +1 -0
  289. package/dist/components/input_group/input_group.vue.cjs +85 -0
  290. package/dist/components/input_group/input_group.vue.cjs.map +1 -0
  291. package/dist/components/input_group/input_group.vue.js +86 -0
  292. package/dist/components/input_group/input_group.vue.js.map +1 -0
  293. package/dist/components/item_layout/item_layout.vue.cjs +38 -0
  294. package/dist/components/item_layout/item_layout.vue.cjs.map +1 -0
  295. package/dist/components/item_layout/item_layout.vue.js +39 -0
  296. package/dist/components/item_layout/item_layout.vue.js.map +1 -0
  297. package/dist/components/keyboard_shortcut/keyboard_shortcut.vue.cjs +87 -0
  298. package/dist/components/keyboard_shortcut/keyboard_shortcut.vue.cjs.map +1 -0
  299. package/dist/components/keyboard_shortcut/keyboard_shortcut.vue.js +88 -0
  300. package/dist/components/keyboard_shortcut/keyboard_shortcut.vue.js.map +1 -0
  301. package/dist/components/keyboard_shortcut/keyboard_shortcut_constants.cjs +18 -0
  302. package/dist/components/keyboard_shortcut/keyboard_shortcut_constants.cjs.map +1 -0
  303. package/dist/components/keyboard_shortcut/keyboard_shortcut_constants.js +18 -0
  304. package/dist/components/keyboard_shortcut/keyboard_shortcut_constants.js.map +1 -0
  305. package/dist/components/lazy_show/lazy_show.vue.cjs +77 -0
  306. package/dist/components/lazy_show/lazy_show.vue.cjs.map +1 -0
  307. package/dist/components/lazy_show/lazy_show.vue.js +78 -0
  308. package/dist/components/lazy_show/lazy_show.vue.js.map +1 -0
  309. package/dist/components/link/link.vue.cjs +80 -0
  310. package/dist/components/link/link.vue.cjs.map +1 -0
  311. package/dist/components/link/link.vue.js +81 -0
  312. package/dist/components/link/link.vue.js.map +1 -0
  313. package/dist/{chunks/link_constants-x8NwdqmA.js → components/link/link_constants.cjs} +6 -1
  314. package/dist/components/link/link_constants.cjs.map +1 -0
  315. package/dist/{chunks/link_constants-AfTWrr-n.js → components/link/link_constants.js} +5 -1
  316. package/dist/components/link/link_constants.js.map +1 -0
  317. package/dist/components/list_item/list_item.vue.cjs +196 -0
  318. package/dist/components/list_item/list_item.vue.cjs.map +1 -0
  319. package/dist/components/list_item/list_item.vue.js +197 -0
  320. package/dist/components/list_item/list_item.vue.js.map +1 -0
  321. package/dist/{chunks/list_item_constants-EiqkqZvP.js → components/list_item/list_item_constants.cjs} +2 -1
  322. package/dist/components/list_item/list_item_constants.cjs.map +1 -0
  323. package/dist/{chunks/list_item_constants-u1xcN9Dd.js → components/list_item/list_item_constants.js} +1 -1
  324. package/dist/components/list_item/list_item_constants.js.map +1 -0
  325. package/dist/components/list_item_group/list_item_group.vue.cjs +56 -0
  326. package/dist/components/list_item_group/list_item_group.vue.cjs.map +1 -0
  327. package/dist/components/list_item_group/list_item_group.vue.js +57 -0
  328. package/dist/components/list_item_group/list_item_group.vue.js.map +1 -0
  329. package/dist/components/modal/modal.vue.cjs +326 -0
  330. package/dist/components/modal/modal.vue.cjs.map +1 -0
  331. package/dist/components/modal/modal.vue.js +327 -0
  332. package/dist/components/modal/modal.vue.js.map +1 -0
  333. package/dist/components/modal/modal_constants.cjs +21 -0
  334. package/dist/components/modal/modal_constants.cjs.map +1 -0
  335. package/dist/components/modal/modal_constants.js +21 -0
  336. package/dist/components/modal/modal_constants.js.map +1 -0
  337. package/dist/components/notice/notice.vue.cjs +156 -0
  338. package/dist/components/notice/notice.vue.cjs.map +1 -0
  339. package/dist/components/notice/notice.vue.js +157 -0
  340. package/dist/components/notice/notice.vue.js.map +1 -0
  341. package/dist/components/notice/notice_action.vue.cjs +96 -0
  342. package/dist/components/notice/notice_action.vue.cjs.map +1 -0
  343. package/dist/components/notice/notice_action.vue.js +97 -0
  344. package/dist/components/notice/notice_action.vue.js.map +1 -0
  345. package/dist/{chunks/notice_constants-UXo9e3bS.js → components/notice/notice_constants.cjs} +2 -1
  346. package/dist/components/notice/notice_constants.cjs.map +1 -0
  347. package/dist/{chunks/notice_constants-7Qt2CQEY.js → components/notice/notice_constants.js} +1 -1
  348. package/dist/components/notice/notice_constants.js.map +1 -0
  349. package/dist/components/notice/notice_content.vue.cjs +48 -0
  350. package/dist/components/notice/notice_content.vue.cjs.map +1 -0
  351. package/dist/components/notice/notice_content.vue.js +49 -0
  352. package/dist/components/notice/notice_content.vue.js.map +1 -0
  353. package/dist/components/notice/notice_icon.vue.cjs +53 -0
  354. package/dist/components/notice/notice_icon.vue.cjs.map +1 -0
  355. package/dist/components/notice/notice_icon.vue.js +54 -0
  356. package/dist/components/notice/notice_icon.vue.js.map +1 -0
  357. package/dist/components/pagination/pagination.vue.cjs +145 -0
  358. package/dist/components/pagination/pagination.vue.cjs.map +1 -0
  359. package/dist/components/pagination/pagination.vue.js +146 -0
  360. package/dist/components/pagination/pagination.vue.js.map +1 -0
  361. package/dist/components/popover/popover.vue.cjs +905 -0
  362. package/dist/components/popover/popover.vue.cjs.map +1 -0
  363. package/dist/components/popover/popover.vue.js +906 -0
  364. package/dist/components/popover/popover.vue.js.map +1 -0
  365. package/dist/components/popover/popover_constants.cjs +34 -0
  366. package/dist/components/popover/popover_constants.cjs.map +1 -0
  367. package/dist/components/popover/popover_constants.js +34 -0
  368. package/dist/components/popover/popover_constants.js.map +1 -0
  369. package/dist/components/popover/popover_header_footer.vue.cjs +89 -0
  370. package/dist/components/popover/popover_header_footer.vue.cjs.map +1 -0
  371. package/dist/components/popover/popover_header_footer.vue.js +90 -0
  372. package/dist/components/popover/popover_header_footer.vue.js.map +1 -0
  373. package/dist/{chunks/popover_constants-XnGWXaxX.js → components/popover/tippy_utils.cjs} +6 -52
  374. package/dist/components/popover/tippy_utils.cjs.map +1 -0
  375. package/dist/{chunks/popover_constants-WsOUIY-m.js → components/popover/tippy_utils.js} +5 -52
  376. package/dist/components/popover/tippy_utils.js.map +1 -0
  377. package/dist/components/presence/presence.vue.cjs +50 -0
  378. package/dist/components/presence/presence.vue.cjs.map +1 -0
  379. package/dist/components/presence/presence.vue.js +51 -0
  380. package/dist/components/presence/presence.vue.js.map +1 -0
  381. package/dist/components/presence/presence_constants.cjs +17 -0
  382. package/dist/components/presence/presence_constants.cjs.map +1 -0
  383. package/dist/components/presence/presence_constants.js +17 -0
  384. package/dist/components/presence/presence_constants.js.map +1 -0
  385. package/dist/components/radio/radio.vue.cjs +107 -0
  386. package/dist/components/radio/radio.vue.cjs.map +1 -0
  387. package/dist/components/radio/radio.vue.js +108 -0
  388. package/dist/components/radio/radio.vue.js.map +1 -0
  389. package/dist/components/radio/radio_constants.cjs +9 -0
  390. package/dist/components/radio/radio_constants.cjs.map +1 -0
  391. package/dist/components/radio/radio_constants.js +9 -0
  392. package/dist/components/radio/radio_constants.js.map +1 -0
  393. package/dist/components/radio_group/radio_group.vue.cjs +90 -0
  394. package/dist/components/radio_group/radio_group.vue.cjs.map +1 -0
  395. package/dist/components/radio_group/radio_group.vue.js +91 -0
  396. package/dist/components/radio_group/radio_group.vue.js.map +1 -0
  397. package/dist/components/rich_text_editor/extensions/channels/ChannelComponent.vue.cjs +33 -0
  398. package/dist/components/rich_text_editor/extensions/channels/ChannelComponent.vue.cjs.map +1 -0
  399. package/dist/components/rich_text_editor/extensions/channels/ChannelComponent.vue.js +34 -0
  400. package/dist/components/rich_text_editor/extensions/channels/ChannelComponent.vue.js.map +1 -0
  401. package/dist/components/rich_text_editor/extensions/channels/ChannelSuggestion.vue.cjs +40 -0
  402. package/dist/components/rich_text_editor/extensions/channels/ChannelSuggestion.vue.cjs.map +1 -0
  403. package/dist/components/rich_text_editor/extensions/channels/ChannelSuggestion.vue.js +41 -0
  404. package/dist/components/rich_text_editor/extensions/channels/ChannelSuggestion.vue.js.map +1 -0
  405. package/dist/components/rich_text_editor/extensions/channels/channel.cjs +46 -0
  406. package/dist/components/rich_text_editor/extensions/channels/channel.cjs.map +1 -0
  407. package/dist/components/rich_text_editor/extensions/channels/channel.js +46 -0
  408. package/dist/components/rich_text_editor/extensions/channels/channel.js.map +1 -0
  409. package/dist/components/rich_text_editor/extensions/channels/suggestion.cjs +81 -0
  410. package/dist/components/rich_text_editor/extensions/channels/suggestion.cjs.map +1 -0
  411. package/dist/components/rich_text_editor/extensions/channels/suggestion.js +82 -0
  412. package/dist/components/rich_text_editor/extensions/channels/suggestion.js.map +1 -0
  413. package/dist/components/rich_text_editor/extensions/custom_link/autolink.cjs +49 -0
  414. package/dist/components/rich_text_editor/extensions/custom_link/autolink.cjs.map +1 -0
  415. package/dist/components/rich_text_editor/extensions/custom_link/autolink.js +49 -0
  416. package/dist/components/rich_text_editor/extensions/custom_link/autolink.js.map +1 -0
  417. package/dist/components/rich_text_editor/extensions/custom_link/custom_link.cjs +31 -0
  418. package/dist/components/rich_text_editor/extensions/custom_link/custom_link.cjs.map +1 -0
  419. package/dist/components/rich_text_editor/extensions/custom_link/custom_link.js +31 -0
  420. package/dist/components/rich_text_editor/extensions/custom_link/custom_link.js.map +1 -0
  421. package/dist/components/rich_text_editor/extensions/custom_link/index.cjs +4 -0
  422. package/dist/components/rich_text_editor/extensions/custom_link/index.cjs.map +1 -0
  423. package/dist/components/rich_text_editor/extensions/custom_link/index.js +5 -0
  424. package/dist/components/rich_text_editor/extensions/custom_link/index.js.map +1 -0
  425. package/dist/components/rich_text_editor/extensions/custom_link/utils.cjs +105 -0
  426. package/dist/components/rich_text_editor/extensions/custom_link/utils.cjs.map +1 -0
  427. package/dist/components/rich_text_editor/extensions/custom_link/utils.js +105 -0
  428. package/dist/components/rich_text_editor/extensions/custom_link/utils.js.map +1 -0
  429. package/dist/components/rich_text_editor/extensions/emoji/EmojiComponent.vue.cjs +28 -0
  430. package/dist/components/rich_text_editor/extensions/emoji/EmojiComponent.vue.cjs.map +1 -0
  431. package/dist/components/rich_text_editor/extensions/emoji/EmojiComponent.vue.js +29 -0
  432. package/dist/components/rich_text_editor/extensions/emoji/EmojiComponent.vue.js.map +1 -0
  433. package/dist/components/rich_text_editor/extensions/emoji/EmojiSuggestion.vue.cjs +33 -0
  434. package/dist/components/rich_text_editor/extensions/emoji/EmojiSuggestion.vue.cjs.map +1 -0
  435. package/dist/components/rich_text_editor/extensions/emoji/EmojiSuggestion.vue.js +34 -0
  436. package/dist/components/rich_text_editor/extensions/emoji/EmojiSuggestion.vue.js.map +1 -0
  437. package/dist/components/rich_text_editor/extensions/emoji/emoji.cjs +136 -0
  438. package/dist/components/rich_text_editor/extensions/emoji/emoji.cjs.map +1 -0
  439. package/dist/components/rich_text_editor/extensions/emoji/emoji.js +136 -0
  440. package/dist/components/rich_text_editor/extensions/emoji/emoji.js.map +1 -0
  441. package/dist/components/rich_text_editor/extensions/emoji/index.cjs +4 -0
  442. package/dist/components/rich_text_editor/extensions/emoji/index.cjs.map +1 -0
  443. package/dist/components/rich_text_editor/extensions/emoji/index.js +5 -0
  444. package/dist/components/rich_text_editor/extensions/emoji/index.js.map +1 -0
  445. package/dist/components/rich_text_editor/extensions/emoji/suggestion.cjs +109 -0
  446. package/dist/components/rich_text_editor/extensions/emoji/suggestion.cjs.map +1 -0
  447. package/dist/components/rich_text_editor/extensions/emoji/suggestion.js +110 -0
  448. package/dist/components/rich_text_editor/extensions/emoji/suggestion.js.map +1 -0
  449. package/dist/components/rich_text_editor/extensions/mentions/MentionComponent.vue.cjs +33 -0
  450. package/dist/components/rich_text_editor/extensions/mentions/MentionComponent.vue.cjs.map +1 -0
  451. package/dist/components/rich_text_editor/extensions/mentions/MentionComponent.vue.js +34 -0
  452. package/dist/components/rich_text_editor/extensions/mentions/MentionComponent.vue.js.map +1 -0
  453. package/dist/components/rich_text_editor/extensions/mentions/MentionSuggestion.vue.cjs +42 -0
  454. package/dist/components/rich_text_editor/extensions/mentions/MentionSuggestion.vue.cjs.map +1 -0
  455. package/dist/components/rich_text_editor/extensions/mentions/MentionSuggestion.vue.js +43 -0
  456. package/dist/components/rich_text_editor/extensions/mentions/MentionSuggestion.vue.js.map +1 -0
  457. package/dist/components/rich_text_editor/extensions/mentions/mention.cjs +45 -0
  458. package/dist/components/rich_text_editor/extensions/mentions/mention.cjs.map +1 -0
  459. package/dist/components/rich_text_editor/extensions/mentions/mention.js +45 -0
  460. package/dist/components/rich_text_editor/extensions/mentions/mention.js.map +1 -0
  461. package/dist/components/rich_text_editor/extensions/mentions/suggestion.cjs +81 -0
  462. package/dist/components/rich_text_editor/extensions/mentions/suggestion.cjs.map +1 -0
  463. package/dist/components/rich_text_editor/extensions/mentions/suggestion.js +82 -0
  464. package/dist/components/rich_text_editor/extensions/mentions/suggestion.js.map +1 -0
  465. package/dist/components/rich_text_editor/extensions/slash_command/SlashCommandComponent.vue.cjs +35 -0
  466. package/dist/components/rich_text_editor/extensions/slash_command/SlashCommandComponent.vue.cjs.map +1 -0
  467. package/dist/components/rich_text_editor/extensions/slash_command/SlashCommandComponent.vue.js +36 -0
  468. package/dist/components/rich_text_editor/extensions/slash_command/SlashCommandComponent.vue.js.map +1 -0
  469. package/dist/components/rich_text_editor/extensions/slash_command/SlashCommandSuggestion.vue.cjs +38 -0
  470. package/dist/components/rich_text_editor/extensions/slash_command/SlashCommandSuggestion.vue.cjs.map +1 -0
  471. package/dist/components/rich_text_editor/extensions/slash_command/SlashCommandSuggestion.vue.js +39 -0
  472. package/dist/components/rich_text_editor/extensions/slash_command/SlashCommandSuggestion.vue.js.map +1 -0
  473. package/dist/components/rich_text_editor/extensions/slash_command/slash_command.cjs +88 -0
  474. package/dist/components/rich_text_editor/extensions/slash_command/slash_command.cjs.map +1 -0
  475. package/dist/components/rich_text_editor/extensions/slash_command/slash_command.js +88 -0
  476. package/dist/components/rich_text_editor/extensions/slash_command/slash_command.js.map +1 -0
  477. package/dist/components/rich_text_editor/extensions/slash_command/suggestion.cjs +82 -0
  478. package/dist/components/rich_text_editor/extensions/slash_command/suggestion.cjs.map +1 -0
  479. package/dist/components/rich_text_editor/extensions/slash_command/suggestion.js +83 -0
  480. package/dist/components/rich_text_editor/extensions/slash_command/suggestion.js.map +1 -0
  481. package/dist/components/rich_text_editor/extensions/suggestion/SuggestionList.vue.cjs +119 -0
  482. package/dist/components/rich_text_editor/extensions/suggestion/SuggestionList.vue.cjs.map +1 -0
  483. package/dist/components/rich_text_editor/extensions/suggestion/SuggestionList.vue.js +120 -0
  484. package/dist/components/rich_text_editor/extensions/suggestion/SuggestionList.vue.js.map +1 -0
  485. package/dist/components/rich_text_editor/extensions/tippy_plugins/hide_on_esc.cjs +22 -0
  486. package/dist/components/rich_text_editor/extensions/tippy_plugins/hide_on_esc.cjs.map +1 -0
  487. package/dist/components/rich_text_editor/extensions/tippy_plugins/hide_on_esc.js +23 -0
  488. package/dist/components/rich_text_editor/extensions/tippy_plugins/hide_on_esc.js.map +1 -0
  489. package/dist/components/rich_text_editor/rich_text_editor.vue.cjs +524 -0
  490. package/dist/components/rich_text_editor/rich_text_editor.vue.cjs.map +1 -0
  491. package/dist/components/rich_text_editor/rich_text_editor.vue.js +525 -0
  492. package/dist/components/rich_text_editor/rich_text_editor.vue.js.map +1 -0
  493. package/dist/components/rich_text_editor/rich_text_editor_constants.cjs +24 -0
  494. package/dist/components/rich_text_editor/rich_text_editor_constants.cjs.map +1 -0
  495. package/dist/components/rich_text_editor/rich_text_editor_constants.js +24 -0
  496. package/dist/components/rich_text_editor/rich_text_editor_constants.js.map +1 -0
  497. package/dist/components/root_layout/root_layout.vue.cjs +122 -0
  498. package/dist/components/root_layout/root_layout.vue.cjs.map +1 -0
  499. package/dist/components/root_layout/root_layout.vue.js +123 -0
  500. package/dist/components/root_layout/root_layout.vue.js.map +1 -0
  501. package/dist/components/root_layout/root_layout_constants.cjs +10 -0
  502. package/dist/components/root_layout/root_layout_constants.cjs.map +1 -0
  503. package/dist/components/root_layout/root_layout_constants.js +10 -0
  504. package/dist/components/root_layout/root_layout_constants.js.map +1 -0
  505. package/dist/components/select_menu/select_menu.vue.cjs +237 -0
  506. package/dist/components/select_menu/select_menu.vue.cjs.map +1 -0
  507. package/dist/components/select_menu/select_menu.vue.js +238 -0
  508. package/dist/components/select_menu/select_menu.vue.js.map +1 -0
  509. package/dist/components/select_menu/select_menu_constants.cjs +17 -0
  510. package/dist/components/select_menu/select_menu_constants.cjs.map +1 -0
  511. package/dist/components/select_menu/select_menu_constants.js +17 -0
  512. package/dist/components/select_menu/select_menu_constants.js.map +1 -0
  513. package/dist/components/select_menu/select_menu_validators.cjs +34 -0
  514. package/dist/components/select_menu/select_menu_validators.cjs.map +1 -0
  515. package/dist/components/select_menu/select_menu_validators.js +34 -0
  516. package/dist/components/select_menu/select_menu_validators.js.map +1 -0
  517. package/dist/components/skeleton/skeleton-list-item.vue.cjs +102 -0
  518. package/dist/components/skeleton/skeleton-list-item.vue.cjs.map +1 -0
  519. package/dist/components/skeleton/skeleton-list-item.vue.js +103 -0
  520. package/dist/components/skeleton/skeleton-list-item.vue.js.map +1 -0
  521. package/dist/components/skeleton/skeleton-paragraph.vue.cjs +141 -0
  522. package/dist/components/skeleton/skeleton-paragraph.vue.cjs.map +1 -0
  523. package/dist/components/skeleton/skeleton-paragraph.vue.js +142 -0
  524. package/dist/components/skeleton/skeleton-paragraph.vue.js.map +1 -0
  525. package/dist/components/skeleton/skeleton-shape.vue.cjs +101 -0
  526. package/dist/components/skeleton/skeleton-shape.vue.cjs.map +1 -0
  527. package/dist/components/skeleton/skeleton-shape.vue.js +102 -0
  528. package/dist/components/skeleton/skeleton-shape.vue.js.map +1 -0
  529. package/dist/components/skeleton/skeleton-text.vue.cjs +111 -0
  530. package/dist/components/skeleton/skeleton-text.vue.cjs.map +1 -0
  531. package/dist/components/skeleton/skeleton-text.vue.js +112 -0
  532. package/dist/components/skeleton/skeleton-text.vue.js.map +1 -0
  533. package/dist/components/skeleton/skeleton.vue.cjs +125 -0
  534. package/dist/components/skeleton/skeleton.vue.cjs.map +1 -0
  535. package/dist/components/skeleton/skeleton.vue.js +126 -0
  536. package/dist/components/skeleton/skeleton.vue.js.map +1 -0
  537. package/dist/components/skeleton/skeleton_constants.cjs +27 -0
  538. package/dist/components/skeleton/skeleton_constants.cjs.map +1 -0
  539. package/dist/components/skeleton/skeleton_constants.js +27 -0
  540. package/dist/components/skeleton/skeleton_constants.js.map +1 -0
  541. package/dist/components/split_button/split_button-alpha.vue.cjs +113 -0
  542. package/dist/components/split_button/split_button-alpha.vue.cjs.map +1 -0
  543. package/dist/components/split_button/split_button-alpha.vue.js +114 -0
  544. package/dist/components/split_button/split_button-alpha.vue.js.map +1 -0
  545. package/dist/components/split_button/split_button-omega.vue.cjs +97 -0
  546. package/dist/components/split_button/split_button-omega.vue.cjs.map +1 -0
  547. package/dist/components/split_button/split_button-omega.vue.js +98 -0
  548. package/dist/components/split_button/split_button-omega.vue.js.map +1 -0
  549. package/dist/components/split_button/split_button.vue.cjs +283 -0
  550. package/dist/components/split_button/split_button.vue.cjs.map +1 -0
  551. package/dist/components/split_button/split_button.vue.js +284 -0
  552. package/dist/components/split_button/split_button.vue.js.map +1 -0
  553. package/dist/components/split_button/split_button_constants.cjs +11 -0
  554. package/dist/components/split_button/split_button_constants.cjs.map +1 -0
  555. package/dist/components/split_button/split_button_constants.js +11 -0
  556. package/dist/components/split_button/split_button_constants.js.map +1 -0
  557. package/dist/components/stack/stack.vue.cjs +82 -0
  558. package/dist/components/stack/stack.vue.cjs.map +1 -0
  559. package/dist/components/stack/stack.vue.js +83 -0
  560. package/dist/components/stack/stack.vue.js.map +1 -0
  561. package/dist/{chunks/stack_constants-SMzMWnAQ.js → components/stack/stack_constants.cjs} +2 -1
  562. package/dist/components/stack/stack_constants.cjs.map +1 -0
  563. package/dist/{chunks/stack_constants-HraCekPm.js → components/stack/stack_constants.js} +1 -1
  564. package/dist/components/stack/stack_constants.js.map +1 -0
  565. package/dist/components/stack/utils.cjs +68 -0
  566. package/dist/components/stack/utils.cjs.map +1 -0
  567. package/dist/components/stack/utils.js +68 -0
  568. package/dist/components/stack/utils.js.map +1 -0
  569. package/dist/components/stack/validators.cjs +26 -0
  570. package/dist/components/stack/validators.cjs.map +1 -0
  571. package/dist/components/stack/validators.js +26 -0
  572. package/dist/components/stack/validators.js.map +1 -0
  573. package/dist/components/tabs/tab.vue.cjs +119 -0
  574. package/dist/components/tabs/tab.vue.cjs.map +1 -0
  575. package/dist/components/tabs/tab.vue.js +120 -0
  576. package/dist/components/tabs/tab.vue.js.map +1 -0
  577. package/dist/{chunks/tab-FcsV5VmK.js → components/tabs/tab_group.vue.cjs} +24 -171
  578. package/dist/components/tabs/tab_group.vue.cjs.map +1 -0
  579. package/dist/{chunks/tab-V4cb44Ry.js → components/tabs/tab_group.vue.js} +19 -166
  580. package/dist/components/tabs/tab_group.vue.js.map +1 -0
  581. package/dist/components/tabs/tab_panel.vue.cjs +87 -0
  582. package/dist/components/tabs/tab_panel.vue.cjs.map +1 -0
  583. package/dist/components/tabs/tab_panel.vue.js +88 -0
  584. package/dist/components/tabs/tab_panel.vue.js.map +1 -0
  585. package/dist/components/tabs/tabs_constants.cjs +21 -0
  586. package/dist/components/tabs/tabs_constants.cjs.map +1 -0
  587. package/dist/components/tabs/tabs_constants.js +21 -0
  588. package/dist/components/tabs/tabs_constants.js.map +1 -0
  589. package/dist/components/toast/toast.vue.cjs +236 -0
  590. package/dist/components/toast/toast.vue.cjs.map +1 -0
  591. package/dist/components/toast/toast.vue.js +237 -0
  592. package/dist/components/toast/toast.vue.js.map +1 -0
  593. package/dist/components/toast/toast_constants.cjs +7 -0
  594. package/dist/components/toast/toast_constants.cjs.map +1 -0
  595. package/dist/components/toast/toast_constants.js +7 -0
  596. package/dist/components/toast/toast_constants.js.map +1 -0
  597. package/dist/components/toggle/toggle.vue.cjs +168 -0
  598. package/dist/components/toggle/toggle.vue.cjs.map +1 -0
  599. package/dist/components/toggle/toggle.vue.js +169 -0
  600. package/dist/components/toggle/toggle.vue.js.map +1 -0
  601. package/dist/components/toggle/toggle_constants.cjs +10 -0
  602. package/dist/components/toggle/toggle_constants.cjs.map +1 -0
  603. package/dist/components/toggle/toggle_constants.js +10 -0
  604. package/dist/components/toggle/toggle_constants.js.map +1 -0
  605. package/dist/components/tooltip/tooltip.vue.cjs +429 -0
  606. package/dist/components/tooltip/tooltip.vue.cjs.map +1 -0
  607. package/dist/components/tooltip/tooltip.vue.js +430 -0
  608. package/dist/components/tooltip/tooltip.vue.js.map +1 -0
  609. package/dist/components/tooltip/tooltip_constants.cjs +23 -0
  610. package/dist/components/tooltip/tooltip_constants.cjs.map +1 -0
  611. package/dist/components/tooltip/tooltip_constants.js +23 -0
  612. package/dist/components/tooltip/tooltip_constants.js.map +1 -0
  613. package/dist/components/validation_messages/validation_messages.vue.cjs +81 -0
  614. package/dist/components/validation_messages/validation_messages.vue.cjs.map +1 -0
  615. package/dist/components/validation_messages/validation_messages.vue.js +82 -0
  616. package/dist/components/validation_messages/validation_messages.vue.js.map +1 -0
  617. package/dist/dialtone-vue.cjs +320 -314
  618. package/dist/dialtone-vue.cjs.map +1 -1
  619. package/dist/dialtone-vue.js +218 -212
  620. package/dist/dialtone-vue.js.map +1 -1
  621. package/dist/directives/scrollbar/scrollbar.cjs +31 -0
  622. package/dist/directives/scrollbar/scrollbar.cjs.map +1 -0
  623. package/dist/directives/scrollbar/scrollbar.js +31 -0
  624. package/dist/directives/scrollbar/scrollbar.js.map +1 -0
  625. package/dist/directives/tooltip/tooltip.cjs +85 -0
  626. package/dist/directives/tooltip/tooltip.cjs.map +1 -0
  627. package/dist/directives/tooltip/tooltip.js +85 -0
  628. package/dist/directives/tooltip/tooltip.js.map +1 -0
  629. package/dist/lib/attachment-carousel.cjs +1 -257
  630. package/dist/lib/attachment-carousel.cjs.map +1 -1
  631. package/dist/lib/attachment-carousel.js +2 -258
  632. package/dist/lib/attachment-carousel.js.map +1 -1
  633. package/dist/lib/avatar.cjs +11 -400
  634. package/dist/lib/avatar.cjs.map +1 -1
  635. package/dist/lib/avatar.js +3 -392
  636. package/dist/lib/avatar.js.map +1 -1
  637. package/dist/lib/badge.cjs +6 -200
  638. package/dist/lib/badge.cjs.map +1 -1
  639. package/dist/lib/badge.js +3 -197
  640. package/dist/lib/badge.js.map +1 -1
  641. package/dist/lib/banner.cjs +1 -206
  642. package/dist/lib/banner.cjs.map +1 -1
  643. package/dist/lib/banner.js +2 -207
  644. package/dist/lib/banner.js.map +1 -1
  645. package/dist/lib/breadcrumbs.cjs +6 -146
  646. package/dist/lib/breadcrumbs.cjs.map +1 -1
  647. package/dist/lib/breadcrumbs.js +5 -145
  648. package/dist/lib/breadcrumbs.js.map +1 -1
  649. package/dist/lib/button-group.cjs +3 -44
  650. package/dist/lib/button-group.cjs.map +1 -1
  651. package/dist/lib/button-group.js +3 -44
  652. package/dist/lib/button-group.js.map +1 -1
  653. package/dist/lib/button.cjs +10 -350
  654. package/dist/lib/button.cjs.map +1 -1
  655. package/dist/lib/button.js +3 -343
  656. package/dist/lib/button.js.map +1 -1
  657. package/dist/lib/callbar-button-with-popover.cjs +1 -261
  658. package/dist/lib/callbar-button-with-popover.cjs.map +1 -1
  659. package/dist/lib/callbar-button-with-popover.js +2 -262
  660. package/dist/lib/callbar-button-with-popover.js.map +1 -1
  661. package/dist/lib/callbar-button.cjs +4 -179
  662. package/dist/lib/callbar-button.cjs.map +1 -1
  663. package/dist/lib/callbar-button.js +3 -178
  664. package/dist/lib/callbar-button.js.map +1 -1
  665. package/dist/lib/callbox.cjs +4 -143
  666. package/dist/lib/callbox.cjs.map +1 -1
  667. package/dist/lib/callbox.js +3 -142
  668. package/dist/lib/callbox.js.map +1 -1
  669. package/dist/lib/card.cjs +2 -71
  670. package/dist/lib/card.cjs.map +1 -1
  671. package/dist/lib/card.js +2 -71
  672. package/dist/lib/card.js.map +1 -1
  673. package/dist/lib/checkbox-group.cjs +1 -126
  674. package/dist/lib/checkbox-group.cjs.map +1 -1
  675. package/dist/lib/checkbox-group.js +2 -127
  676. package/dist/lib/checkbox-group.js.map +1 -1
  677. package/dist/lib/checkbox.cjs +1 -124
  678. package/dist/lib/checkbox.cjs.map +1 -1
  679. package/dist/lib/checkbox.js +2 -125
  680. package/dist/lib/checkbox.js.map +1 -1
  681. package/dist/lib/chip.cjs +6 -196
  682. package/dist/lib/chip.cjs.map +1 -1
  683. package/dist/lib/chip.js +3 -193
  684. package/dist/lib/chip.js.map +1 -1
  685. package/dist/lib/codeblock.cjs +1 -26
  686. package/dist/lib/codeblock.cjs.map +1 -1
  687. package/dist/lib/codeblock.js +2 -27
  688. package/dist/lib/codeblock.js.map +1 -1
  689. package/dist/lib/collapsible.cjs +2 -332
  690. package/dist/lib/collapsible.cjs.map +1 -1
  691. package/dist/lib/collapsible.js +2 -332
  692. package/dist/lib/collapsible.js.map +1 -1
  693. package/dist/lib/combobox-multi-select.cjs +5 -584
  694. package/dist/lib/combobox-multi-select.cjs.map +1 -1
  695. package/dist/lib/combobox-multi-select.js +3 -582
  696. package/dist/lib/combobox-multi-select.js.map +1 -1
  697. package/dist/lib/combobox-with-popover.cjs +2 -382
  698. package/dist/lib/combobox-with-popover.cjs.map +1 -1
  699. package/dist/lib/combobox-with-popover.js +2 -382
  700. package/dist/lib/combobox-with-popover.js.map +1 -1
  701. package/dist/lib/combobox.cjs +4 -16
  702. package/dist/lib/combobox.cjs.map +1 -1
  703. package/dist/lib/combobox.js +3 -15
  704. package/dist/lib/combobox.js.map +1 -1
  705. package/dist/lib/contact-centers-row.cjs +1 -163
  706. package/dist/lib/contact-centers-row.cjs.map +1 -1
  707. package/dist/lib/contact-centers-row.js +2 -164
  708. package/dist/lib/contact-centers-row.js.map +1 -1
  709. package/dist/lib/contact-info.cjs +1 -149
  710. package/dist/lib/contact-info.cjs.map +1 -1
  711. package/dist/lib/contact-info.js +2 -150
  712. package/dist/lib/contact-info.js.map +1 -1
  713. package/dist/lib/contact-row.cjs +1 -207
  714. package/dist/lib/contact-row.cjs.map +1 -1
  715. package/dist/lib/contact-row.js +2 -208
  716. package/dist/lib/contact-row.js.map +1 -1
  717. package/dist/lib/datepicker.cjs +7 -658
  718. package/dist/lib/datepicker.cjs.map +1 -1
  719. package/dist/lib/datepicker.js +3 -654
  720. package/dist/lib/datepicker.js.map +1 -1
  721. package/dist/lib/description-list.cjs +3 -111
  722. package/dist/lib/description-list.cjs.map +1 -1
  723. package/dist/lib/description-list.js +3 -111
  724. package/dist/lib/description-list.js.map +1 -1
  725. package/dist/lib/dropdown.cjs +5 -42
  726. package/dist/lib/dropdown.cjs.map +1 -1
  727. package/dist/lib/dropdown.js +5 -42
  728. package/dist/lib/dropdown.js.map +1 -1
  729. package/dist/lib/editor.cjs +1 -554
  730. package/dist/lib/editor.cjs.map +1 -1
  731. package/dist/lib/editor.js +2 -555
  732. package/dist/lib/editor.js.map +1 -1
  733. package/dist/lib/emoji-picker.cjs +7 -1147
  734. package/dist/lib/emoji-picker.cjs.map +1 -1
  735. package/dist/lib/emoji-picker.js +3 -1143
  736. package/dist/lib/emoji-picker.js.map +1 -1
  737. package/dist/lib/emoji-row.cjs +3 -83
  738. package/dist/lib/emoji-row.cjs.map +1 -1
  739. package/dist/lib/emoji-row.js +3 -83
  740. package/dist/lib/emoji-row.js.map +1 -1
  741. package/dist/lib/emoji-text-wrapper.cjs +2 -109
  742. package/dist/lib/emoji-text-wrapper.cjs.map +1 -1
  743. package/dist/lib/emoji-text-wrapper.js +2 -109
  744. package/dist/lib/emoji-text-wrapper.js.map +1 -1
  745. package/dist/lib/emoji.cjs +2 -142
  746. package/dist/lib/emoji.cjs.map +1 -1
  747. package/dist/lib/emoji.js +2 -142
  748. package/dist/lib/emoji.js.map +1 -1
  749. package/dist/lib/empty-state.cjs +3 -165
  750. package/dist/lib/empty-state.cjs.map +1 -1
  751. package/dist/lib/empty-state.js +3 -165
  752. package/dist/lib/empty-state.js.map +1 -1
  753. package/dist/lib/feed-item-row.cjs +4 -220
  754. package/dist/lib/feed-item-row.cjs.map +1 -1
  755. package/dist/lib/feed-item-row.js +3 -219
  756. package/dist/lib/feed-item-row.js.map +1 -1
  757. package/dist/lib/feed-pill.cjs +3 -146
  758. package/dist/lib/feed-pill.cjs.map +1 -1
  759. package/dist/lib/feed-pill.js +3 -146
  760. package/dist/lib/feed-pill.js.map +1 -1
  761. package/dist/lib/general-row.cjs +8 -444
  762. package/dist/lib/general-row.cjs.map +1 -1
  763. package/dist/lib/general-row.js +3 -439
  764. package/dist/lib/general-row.js.map +1 -1
  765. package/dist/lib/group-row.cjs +1 -112
  766. package/dist/lib/group-row.cjs.map +1 -1
  767. package/dist/lib/group-row.js +2 -113
  768. package/dist/lib/group-row.js.map +1 -1
  769. package/dist/lib/grouped-chip.cjs +1 -42
  770. package/dist/lib/grouped-chip.cjs.map +1 -1
  771. package/dist/lib/grouped-chip.js +2 -43
  772. package/dist/lib/grouped-chip.js.map +1 -1
  773. package/dist/lib/hovercard.cjs +1 -224
  774. package/dist/lib/hovercard.cjs.map +1 -1
  775. package/dist/lib/hovercard.js +2 -225
  776. package/dist/lib/hovercard.js.map +1 -1
  777. package/dist/lib/icon.cjs +3 -55
  778. package/dist/lib/icon.cjs.map +1 -1
  779. package/dist/lib/icon.js +3 -55
  780. package/dist/lib/icon.js.map +1 -1
  781. package/dist/lib/illustration.cjs +4 -40
  782. package/dist/lib/illustration.cjs.map +1 -1
  783. package/dist/lib/illustration.js +3 -39
  784. package/dist/lib/illustration.js.map +1 -1
  785. package/dist/lib/image-viewer.cjs +2 -198
  786. package/dist/lib/image-viewer.cjs.map +1 -1
  787. package/dist/lib/image-viewer.js +2 -198
  788. package/dist/lib/image-viewer.js.map +1 -1
  789. package/dist/lib/input-group.cjs +2 -89
  790. package/dist/lib/input-group.cjs.map +1 -1
  791. package/dist/lib/input-group.js +2 -89
  792. package/dist/lib/input-group.js.map +1 -1
  793. package/dist/lib/input.cjs +5 -471
  794. package/dist/lib/input.cjs.map +1 -1
  795. package/dist/lib/input.js +3 -469
  796. package/dist/lib/input.js.map +1 -1
  797. package/dist/lib/item-layout.cjs +2 -38
  798. package/dist/lib/item-layout.cjs.map +1 -1
  799. package/dist/lib/item-layout.js +2 -38
  800. package/dist/lib/item-layout.js.map +1 -1
  801. package/dist/lib/ivr-node.cjs +13 -211
  802. package/dist/lib/ivr-node.cjs.map +1 -1
  803. package/dist/lib/ivr-node.js +3 -201
  804. package/dist/lib/ivr-node.js.map +1 -1
  805. package/dist/lib/keyboard-shortcut.cjs +5 -103
  806. package/dist/lib/keyboard-shortcut.cjs.map +1 -1
  807. package/dist/lib/keyboard-shortcut.js +3 -101
  808. package/dist/lib/keyboard-shortcut.js.map +1 -1
  809. package/dist/lib/lazy-show.cjs +2 -78
  810. package/dist/lib/lazy-show.cjs.map +1 -1
  811. package/dist/lib/lazy-show.js +2 -78
  812. package/dist/lib/lazy-show.js.map +1 -1
  813. package/dist/lib/link.cjs +3 -80
  814. package/dist/lib/link.cjs.map +1 -1
  815. package/dist/lib/link.js +3 -80
  816. package/dist/lib/link.js.map +1 -1
  817. package/dist/lib/list-item-group.cjs +1 -57
  818. package/dist/lib/list-item-group.cjs.map +1 -1
  819. package/dist/lib/list-item-group.js +2 -58
  820. package/dist/lib/list-item-group.js.map +1 -1
  821. package/dist/lib/list-item.cjs +3 -200
  822. package/dist/lib/list-item.cjs.map +1 -1
  823. package/dist/lib/list-item.js +3 -200
  824. package/dist/lib/list-item.js.map +1 -1
  825. package/dist/lib/message-input.cjs +1 -647
  826. package/dist/lib/message-input.cjs.map +1 -1
  827. package/dist/lib/message-input.js +2 -648
  828. package/dist/lib/message-input.js.map +1 -1
  829. package/dist/lib/modal.cjs +5 -347
  830. package/dist/lib/modal.cjs.map +1 -1
  831. package/dist/lib/modal.js +3 -345
  832. package/dist/lib/modal.js.map +1 -1
  833. package/dist/lib/notice.cjs +9 -164
  834. package/dist/lib/notice.cjs.map +1 -1
  835. package/dist/lib/notice.js +9 -164
  836. package/dist/lib/notice.js.map +1 -1
  837. package/dist/lib/pagination.cjs +1 -149
  838. package/dist/lib/pagination.cjs.map +1 -1
  839. package/dist/lib/pagination.js +2 -150
  840. package/dist/lib/pagination.js.map +1 -1
  841. package/dist/lib/popover.cjs +3 -1014
  842. package/dist/lib/popover.cjs.map +1 -1
  843. package/dist/lib/popover.js +3 -1015
  844. package/dist/lib/popover.js.map +1 -1
  845. package/dist/lib/presence.cjs +5 -63
  846. package/dist/lib/presence.cjs.map +1 -1
  847. package/dist/lib/presence.js +3 -61
  848. package/dist/lib/presence.js.map +1 -1
  849. package/dist/lib/radio-group.cjs +1 -95
  850. package/dist/lib/radio-group.cjs.map +1 -1
  851. package/dist/lib/radio-group.js +2 -96
  852. package/dist/lib/radio-group.js.map +1 -1
  853. package/dist/lib/radio.cjs +3 -115
  854. package/dist/lib/radio.cjs.map +1 -1
  855. package/dist/lib/radio.js +3 -115
  856. package/dist/lib/radio.js.map +1 -1
  857. package/dist/lib/rich-text-editor.cjs +5 -1705
  858. package/dist/lib/rich-text-editor.cjs.map +1 -1
  859. package/dist/lib/rich-text-editor.js +3 -1703
  860. package/dist/lib/rich-text-editor.js.map +1 -1
  861. package/dist/lib/root-layout.cjs +4 -127
  862. package/dist/lib/root-layout.cjs.map +1 -1
  863. package/dist/lib/root-layout.js +3 -126
  864. package/dist/lib/root-layout.js.map +1 -1
  865. package/dist/lib/scrollbar-directive.cjs +2 -2438
  866. package/dist/lib/scrollbar-directive.cjs.map +1 -1
  867. package/dist/lib/scrollbar-directive.js +2 -2438
  868. package/dist/lib/scrollbar-directive.js.map +1 -1
  869. package/dist/lib/select-menu.cjs +4 -279
  870. package/dist/lib/select-menu.cjs.map +1 -1
  871. package/dist/lib/select-menu.js +3 -278
  872. package/dist/lib/select-menu.js.map +1 -1
  873. package/dist/lib/settings-menu-button.cjs +1 -62
  874. package/dist/lib/settings-menu-button.cjs.map +1 -1
  875. package/dist/lib/settings-menu-button.js +2 -63
  876. package/dist/lib/settings-menu-button.js.map +1 -1
  877. package/dist/lib/skeleton.cjs +16 -610
  878. package/dist/lib/skeleton.cjs.map +1 -1
  879. package/dist/lib/skeleton.js +11 -605
  880. package/dist/lib/skeleton.js.map +1 -1
  881. package/dist/lib/split-button.cjs +3 -508
  882. package/dist/lib/split-button.cjs.map +1 -1
  883. package/dist/lib/split-button.js +3 -508
  884. package/dist/lib/split-button.js.map +1 -1
  885. package/dist/lib/stack.cjs +3 -159
  886. package/dist/lib/stack.cjs.map +1 -1
  887. package/dist/lib/stack.js +3 -159
  888. package/dist/lib/stack.js.map +1 -1
  889. package/dist/lib/tabs.cjs +10 -96
  890. package/dist/lib/tabs.cjs.map +1 -1
  891. package/dist/lib/tabs.js +7 -93
  892. package/dist/lib/tabs.js.map +1 -1
  893. package/dist/lib/time-pill.cjs +1 -44
  894. package/dist/lib/time-pill.cjs.map +1 -1
  895. package/dist/lib/time-pill.js +2 -45
  896. package/dist/lib/time-pill.js.map +1 -1
  897. package/dist/lib/toast.cjs +4 -244
  898. package/dist/lib/toast.cjs.map +1 -1
  899. package/dist/lib/toast.js +3 -243
  900. package/dist/lib/toast.js.map +1 -1
  901. package/dist/lib/toggle.cjs +4 -174
  902. package/dist/lib/toggle.cjs.map +1 -1
  903. package/dist/lib/toggle.js +3 -173
  904. package/dist/lib/toggle.js.map +1 -1
  905. package/dist/lib/tooltip-directive.cjs +2 -85
  906. package/dist/lib/tooltip-directive.cjs.map +1 -1
  907. package/dist/lib/tooltip-directive.js +2 -85
  908. package/dist/lib/tooltip-directive.js.map +1 -1
  909. package/dist/lib/tooltip.cjs +8 -439
  910. package/dist/lib/tooltip.cjs.map +1 -1
  911. package/dist/lib/tooltip.js +3 -435
  912. package/dist/lib/tooltip.js.map +1 -1
  913. package/dist/lib/top-banner-info.cjs +3 -60
  914. package/dist/lib/top-banner-info.cjs.map +1 -1
  915. package/dist/lib/top-banner-info.js +3 -60
  916. package/dist/lib/top-banner-info.js.map +1 -1
  917. package/dist/lib/unread-pill.cjs +4 -60
  918. package/dist/lib/unread-pill.cjs.map +1 -1
  919. package/dist/lib/unread-pill.js +3 -59
  920. package/dist/lib/unread-pill.js.map +1 -1
  921. package/dist/lib/validation-messages.cjs +2 -83
  922. package/dist/lib/validation-messages.cjs.map +1 -1
  923. package/dist/lib/validation-messages.js +2 -83
  924. package/dist/lib/validation-messages.js.map +1 -1
  925. package/dist/recipes/buttons/callbar_button/callbar_button.vue.cjs +174 -0
  926. package/dist/recipes/buttons/callbar_button/callbar_button.vue.cjs.map +1 -0
  927. package/dist/recipes/buttons/callbar_button/callbar_button.vue.js +175 -0
  928. package/dist/recipes/buttons/callbar_button/callbar_button.vue.js.map +1 -0
  929. package/dist/recipes/buttons/callbar_button/callbar_button_constants.cjs +5 -0
  930. package/dist/recipes/buttons/callbar_button/callbar_button_constants.cjs.map +1 -0
  931. package/dist/recipes/buttons/callbar_button/callbar_button_constants.js +5 -0
  932. package/dist/recipes/buttons/callbar_button/callbar_button_constants.js.map +1 -0
  933. package/dist/recipes/buttons/callbar_button_with_popover/callbar_button_with_popover.vue.cjs +251 -0
  934. package/dist/recipes/buttons/callbar_button_with_popover/callbar_button_with_popover.vue.cjs.map +1 -0
  935. package/dist/recipes/buttons/callbar_button_with_popover/callbar_button_with_popover.vue.js +252 -0
  936. package/dist/recipes/buttons/callbar_button_with_popover/callbar_button_with_popover.vue.js.map +1 -0
  937. package/dist/recipes/cards/ivr_node/ivr_node.vue.cjs +130 -0
  938. package/dist/recipes/cards/ivr_node/ivr_node.vue.cjs.map +1 -0
  939. package/dist/recipes/cards/ivr_node/ivr_node.vue.js +131 -0
  940. package/dist/recipes/cards/ivr_node/ivr_node.vue.js.map +1 -0
  941. package/dist/recipes/cards/ivr_node/ivr_node_constants.cjs +71 -0
  942. package/dist/recipes/cards/ivr_node/ivr_node_constants.cjs.map +1 -0
  943. package/dist/recipes/cards/ivr_node/ivr_node_constants.js +71 -0
  944. package/dist/recipes/cards/ivr_node/ivr_node_constants.js.map +1 -0
  945. package/dist/recipes/chips/grouped_chip/grouped_chip.vue.cjs +35 -0
  946. package/dist/recipes/chips/grouped_chip/grouped_chip.vue.cjs.map +1 -0
  947. package/dist/recipes/chips/grouped_chip/grouped_chip.vue.js +36 -0
  948. package/dist/recipes/chips/grouped_chip/grouped_chip.vue.js.map +1 -0
  949. package/dist/recipes/comboboxes/combobox_multi_select/combobox_multi_select.vue.cjs +538 -0
  950. package/dist/recipes/comboboxes/combobox_multi_select/combobox_multi_select.vue.cjs.map +1 -0
  951. package/dist/recipes/comboboxes/combobox_multi_select/combobox_multi_select.vue.js +539 -0
  952. package/dist/recipes/comboboxes/combobox_multi_select/combobox_multi_select.vue.js.map +1 -0
  953. package/dist/recipes/comboboxes/combobox_multi_select/combobox_multi_select_constants.cjs +22 -0
  954. package/dist/recipes/comboboxes/combobox_multi_select/combobox_multi_select_constants.cjs.map +1 -0
  955. package/dist/recipes/comboboxes/combobox_multi_select/combobox_multi_select_constants.js +22 -0
  956. package/dist/recipes/comboboxes/combobox_multi_select/combobox_multi_select_constants.js.map +1 -0
  957. package/dist/recipes/comboboxes/combobox_with_popover/combobox_with_popover.vue.cjs +363 -0
  958. package/dist/recipes/comboboxes/combobox_with_popover/combobox_with_popover.vue.cjs.map +1 -0
  959. package/dist/recipes/comboboxes/combobox_with_popover/combobox_with_popover.vue.js +364 -0
  960. package/dist/recipes/comboboxes/combobox_with_popover/combobox_with_popover.vue.js.map +1 -0
  961. package/dist/recipes/conversation_view/attachment_carousel/attachment_carousel.vue.cjs +143 -0
  962. package/dist/recipes/conversation_view/attachment_carousel/attachment_carousel.vue.cjs.map +1 -0
  963. package/dist/recipes/conversation_view/attachment_carousel/attachment_carousel.vue.js +144 -0
  964. package/dist/recipes/conversation_view/attachment_carousel/attachment_carousel.vue.js.map +1 -0
  965. package/dist/recipes/conversation_view/attachment_carousel/media_components/image_carousel.vue.cjs +72 -0
  966. package/dist/recipes/conversation_view/attachment_carousel/media_components/image_carousel.vue.cjs.map +1 -0
  967. package/dist/recipes/conversation_view/attachment_carousel/media_components/image_carousel.vue.js +73 -0
  968. package/dist/recipes/conversation_view/attachment_carousel/media_components/image_carousel.vue.js.map +1 -0
  969. package/dist/recipes/conversation_view/attachment_carousel/media_components/progress_bar.vue.cjs +46 -0
  970. package/dist/recipes/conversation_view/attachment_carousel/media_components/progress_bar.vue.cjs.map +1 -0
  971. package/dist/recipes/conversation_view/attachment_carousel/media_components/progress_bar.vue.js +47 -0
  972. package/dist/recipes/conversation_view/attachment_carousel/media_components/progress_bar.vue.js.map +1 -0
  973. package/dist/recipes/conversation_view/editor/editor.vue.cjs +496 -0
  974. package/dist/recipes/conversation_view/editor/editor.vue.cjs.map +1 -0
  975. package/dist/recipes/conversation_view/editor/editor.vue.js +497 -0
  976. package/dist/recipes/conversation_view/editor/editor.vue.js.map +1 -0
  977. package/dist/recipes/conversation_view/editor/editor_constants.cjs +14 -0
  978. package/dist/recipes/conversation_view/editor/editor_constants.cjs.map +1 -0
  979. package/dist/recipes/conversation_view/editor/editor_constants.js +14 -0
  980. package/dist/recipes/conversation_view/editor/editor_constants.js.map +1 -0
  981. package/dist/recipes/conversation_view/emoji_row/emoji_row.vue.cjs +66 -0
  982. package/dist/recipes/conversation_view/emoji_row/emoji_row.vue.cjs.map +1 -0
  983. package/dist/recipes/conversation_view/emoji_row/emoji_row.vue.js +67 -0
  984. package/dist/recipes/conversation_view/emoji_row/emoji_row.vue.js.map +1 -0
  985. package/dist/recipes/conversation_view/emoji_row/emoji_row_constants.cjs +11 -0
  986. package/dist/recipes/conversation_view/emoji_row/emoji_row_constants.cjs.map +1 -0
  987. package/dist/recipes/conversation_view/emoji_row/emoji_row_constants.js +11 -0
  988. package/dist/recipes/conversation_view/emoji_row/emoji_row_constants.js.map +1 -0
  989. package/dist/recipes/conversation_view/feed_item_row/feed_item_row.vue.cjs +205 -0
  990. package/dist/recipes/conversation_view/feed_item_row/feed_item_row.vue.cjs.map +1 -0
  991. package/dist/recipes/conversation_view/feed_item_row/feed_item_row.vue.js +206 -0
  992. package/dist/recipes/conversation_view/feed_item_row/feed_item_row.vue.js.map +1 -0
  993. package/dist/recipes/conversation_view/feed_item_row/feed_item_row_constants.cjs +11 -0
  994. package/dist/recipes/conversation_view/feed_item_row/feed_item_row_constants.cjs.map +1 -0
  995. package/dist/recipes/conversation_view/feed_item_row/feed_item_row_constants.js +11 -0
  996. package/dist/recipes/conversation_view/feed_item_row/feed_item_row_constants.js.map +1 -0
  997. package/dist/recipes/conversation_view/feed_pill/feed_item_pill.vue.cjs +133 -0
  998. package/dist/recipes/conversation_view/feed_pill/feed_item_pill.vue.cjs.map +1 -0
  999. package/dist/recipes/conversation_view/feed_pill/feed_item_pill.vue.js +134 -0
  1000. package/dist/recipes/conversation_view/feed_pill/feed_item_pill.vue.js.map +1 -0
  1001. package/dist/recipes/conversation_view/feed_pill/feed_item_pill_constants.cjs +9 -0
  1002. package/dist/recipes/conversation_view/feed_pill/feed_item_pill_constants.cjs.map +1 -0
  1003. package/dist/recipes/conversation_view/feed_pill/feed_item_pill_constants.js +9 -0
  1004. package/dist/recipes/conversation_view/feed_pill/feed_item_pill_constants.js.map +1 -0
  1005. package/dist/recipes/conversation_view/message_input/meeting_pill/MeetingPill.vue.cjs +45 -0
  1006. package/dist/recipes/conversation_view/message_input/meeting_pill/MeetingPill.vue.cjs.map +1 -0
  1007. package/dist/recipes/conversation_view/message_input/meeting_pill/MeetingPill.vue.js +46 -0
  1008. package/dist/recipes/conversation_view/message_input/meeting_pill/MeetingPill.vue.js.map +1 -0
  1009. package/dist/recipes/conversation_view/message_input/meeting_pill/meeting_pill.cjs +35 -0
  1010. package/dist/recipes/conversation_view/message_input/meeting_pill/meeting_pill.cjs.map +1 -0
  1011. package/dist/recipes/conversation_view/message_input/meeting_pill/meeting_pill.js +36 -0
  1012. package/dist/recipes/conversation_view/message_input/meeting_pill/meeting_pill.js.map +1 -0
  1013. package/dist/recipes/conversation_view/message_input/message_input.vue.cjs +530 -0
  1014. package/dist/recipes/conversation_view/message_input/message_input.vue.cjs.map +1 -0
  1015. package/dist/recipes/conversation_view/message_input/message_input.vue.js +531 -0
  1016. package/dist/recipes/conversation_view/message_input/message_input.vue.js.map +1 -0
  1017. package/dist/recipes/conversation_view/time_pill/time_pill.vue.cjs +46 -0
  1018. package/dist/recipes/conversation_view/time_pill/time_pill.vue.cjs.map +1 -0
  1019. package/dist/recipes/conversation_view/time_pill/time_pill.vue.js +47 -0
  1020. package/dist/recipes/conversation_view/time_pill/time_pill.vue.js.map +1 -0
  1021. package/dist/recipes/header/settings_menu_button/settings_menu_button.vue.cjs +59 -0
  1022. package/dist/recipes/header/settings_menu_button/settings_menu_button.vue.cjs.map +1 -0
  1023. package/dist/recipes/header/settings_menu_button/settings_menu_button.vue.js +60 -0
  1024. package/dist/recipes/header/settings_menu_button/settings_menu_button.vue.js.map +1 -0
  1025. package/dist/recipes/item_layout/contact_info/contact_info.vue.cjs +143 -0
  1026. package/dist/recipes/item_layout/contact_info/contact_info.vue.cjs.map +1 -0
  1027. package/dist/recipes/item_layout/contact_info/contact_info.vue.js +144 -0
  1028. package/dist/recipes/item_layout/contact_info/contact_info.vue.js.map +1 -0
  1029. package/dist/recipes/leftbar/callbox/callbox.vue.cjs +127 -0
  1030. package/dist/recipes/leftbar/callbox/callbox.vue.cjs.map +1 -0
  1031. package/dist/recipes/leftbar/callbox/callbox.vue.js +128 -0
  1032. package/dist/recipes/leftbar/callbox/callbox.vue.js.map +1 -0
  1033. package/dist/recipes/leftbar/callbox/callbox_constants.cjs +13 -0
  1034. package/dist/recipes/leftbar/callbox/callbox_constants.cjs.map +1 -0
  1035. package/dist/recipes/leftbar/callbox/callbox_constants.js +13 -0
  1036. package/dist/recipes/leftbar/callbox/callbox_constants.js.map +1 -0
  1037. package/dist/recipes/leftbar/contact_centers_row/contact_centers_row.vue.cjs +154 -0
  1038. package/dist/recipes/leftbar/contact_centers_row/contact_centers_row.vue.cjs.map +1 -0
  1039. package/dist/recipes/leftbar/contact_centers_row/contact_centers_row.vue.js +155 -0
  1040. package/dist/recipes/leftbar/contact_centers_row/contact_centers_row.vue.js.map +1 -0
  1041. package/dist/recipes/leftbar/contact_row/contact_row.vue.cjs +191 -0
  1042. package/dist/recipes/leftbar/contact_row/contact_row.vue.cjs.map +1 -0
  1043. package/dist/recipes/leftbar/contact_row/contact_row.vue.js +192 -0
  1044. package/dist/recipes/leftbar/contact_row/contact_row.vue.js.map +1 -0
  1045. package/dist/recipes/leftbar/general_row/general_row.vue.cjs +317 -0
  1046. package/dist/recipes/leftbar/general_row/general_row.vue.cjs.map +1 -0
  1047. package/dist/recipes/leftbar/general_row/general_row.vue.js +318 -0
  1048. package/dist/recipes/leftbar/general_row/general_row.vue.js.map +1 -0
  1049. package/dist/recipes/leftbar/general_row/general_row_constants.cjs +58 -0
  1050. package/dist/recipes/leftbar/general_row/general_row_constants.cjs.map +1 -0
  1051. package/dist/recipes/leftbar/general_row/general_row_constants.js +58 -0
  1052. package/dist/recipes/leftbar/general_row/general_row_constants.js.map +1 -0
  1053. package/dist/recipes/leftbar/general_row/leftbar_general_row_icon.vue.cjs +65 -0
  1054. package/dist/recipes/leftbar/general_row/leftbar_general_row_icon.vue.cjs.map +1 -0
  1055. package/dist/recipes/leftbar/general_row/leftbar_general_row_icon.vue.js +66 -0
  1056. package/dist/recipes/leftbar/general_row/leftbar_general_row_icon.vue.js.map +1 -0
  1057. package/dist/recipes/leftbar/group_row/group_row.vue.cjs +97 -0
  1058. package/dist/recipes/leftbar/group_row/group_row.vue.cjs.map +1 -0
  1059. package/dist/recipes/leftbar/group_row/group_row.vue.js +98 -0
  1060. package/dist/recipes/leftbar/group_row/group_row.vue.js.map +1 -0
  1061. package/dist/recipes/leftbar/unread_pill/unread_pill.vue.cjs +56 -0
  1062. package/dist/recipes/leftbar/unread_pill/unread_pill.vue.cjs.map +1 -0
  1063. package/dist/recipes/leftbar/unread_pill/unread_pill.vue.js +57 -0
  1064. package/dist/recipes/leftbar/unread_pill/unread_pill.vue.js.map +1 -0
  1065. package/dist/recipes/leftbar/unread_pill/unread_pill_constants.cjs +7 -0
  1066. package/dist/recipes/leftbar/unread_pill/unread_pill_constants.cjs.map +1 -0
  1067. package/dist/recipes/leftbar/unread_pill/unread_pill_constants.js +7 -0
  1068. package/dist/recipes/leftbar/unread_pill/unread_pill_constants.js.map +1 -0
  1069. package/dist/recipes/notices/top_banner_info/top_banner_info.vue.cjs +52 -0
  1070. package/dist/recipes/notices/top_banner_info/top_banner_info.vue.cjs.map +1 -0
  1071. package/dist/recipes/notices/top_banner_info/top_banner_info.vue.js +53 -0
  1072. package/dist/recipes/notices/top_banner_info/top_banner_info.vue.js.map +1 -0
  1073. package/dist/recipes/notices/top_banner_info/top_banner_info_constants.cjs +14 -0
  1074. package/dist/recipes/notices/top_banner_info/top_banner_info_constants.cjs.map +1 -0
  1075. package/dist/recipes/notices/top_banner_info/top_banner_info_constants.js +14 -0
  1076. package/dist/recipes/notices/top_banner_info/top_banner_info_constants.js.map +1 -0
  1077. package/dist/style.css +1016 -1659
  1078. package/package.json +6 -4
  1079. package/dist/chunks/_plugin-vue2_normalizer-1aBeR4AK.js +0 -59
  1080. package/dist/chunks/_plugin-vue2_normalizer-1aBeR4AK.js.map +0 -1
  1081. package/dist/chunks/_plugin-vue2_normalizer-sOSkiPF3.js +0 -60
  1082. package/dist/chunks/_plugin-vue2_normalizer-sOSkiPF3.js.map +0 -1
  1083. package/dist/chunks/dropdown-6UoczdUY.js.map +0 -1
  1084. package/dist/chunks/dropdown-pHxnQPzT.js.map +0 -1
  1085. package/dist/chunks/dropdown_constants-2pGCXy7m.js.map +0 -1
  1086. package/dist/chunks/dropdown_constants-w1MXGC3Z.js.map +0 -1
  1087. package/dist/chunks/icon_constants-H9ahUVCG.js.map +0 -1
  1088. package/dist/chunks/icon_constants-da57m7BZ.js.map +0 -1
  1089. package/dist/chunks/index-ODod4Oj_.js +0 -175
  1090. package/dist/chunks/index-ODod4Oj_.js.map +0 -1
  1091. package/dist/chunks/index-anN_sx1F.js +0 -169
  1092. package/dist/chunks/index-anN_sx1F.js.map +0 -1
  1093. package/dist/chunks/index-eJ-WWRdf.js.map +0 -1
  1094. package/dist/chunks/index-gj1jEXP4.js.map +0 -1
  1095. package/dist/chunks/input-6kbd8Pju.js.map +0 -1
  1096. package/dist/chunks/input-Axw-wFj2.js.map +0 -1
  1097. package/dist/chunks/input_group-m3cWYUfI.js.map +0 -1
  1098. package/dist/chunks/input_group-qVZaS5Bb.js.map +0 -1
  1099. package/dist/chunks/keyboard_list_navigation-ScXhrxya.js.map +0 -1
  1100. package/dist/chunks/keyboard_list_navigation-fJnl_Iox.js.map +0 -1
  1101. package/dist/chunks/link_constants-AfTWrr-n.js.map +0 -1
  1102. package/dist/chunks/link_constants-x8NwdqmA.js.map +0 -1
  1103. package/dist/chunks/list_item_constants-EiqkqZvP.js.map +0 -1
  1104. package/dist/chunks/list_item_constants-u1xcN9Dd.js.map +0 -1
  1105. package/dist/chunks/modal-VgxXAQFP.js.map +0 -1
  1106. package/dist/chunks/modal-XOr4kiNZ.js.map +0 -1
  1107. package/dist/chunks/notice_action-IRUoLX2d.js +0 -196
  1108. package/dist/chunks/notice_action-IRUoLX2d.js.map +0 -1
  1109. package/dist/chunks/notice_action-P6uDyE9x.js +0 -195
  1110. package/dist/chunks/notice_action-P6uDyE9x.js.map +0 -1
  1111. package/dist/chunks/notice_constants-7Qt2CQEY.js.map +0 -1
  1112. package/dist/chunks/notice_constants-UXo9e3bS.js.map +0 -1
  1113. package/dist/chunks/popover_constants-WsOUIY-m.js.map +0 -1
  1114. package/dist/chunks/popover_constants-XnGWXaxX.js.map +0 -1
  1115. package/dist/chunks/sr_only_close_button-81bHIpPu.js +0 -95
  1116. package/dist/chunks/sr_only_close_button-81bHIpPu.js.map +0 -1
  1117. package/dist/chunks/sr_only_close_button-ZaGdAHz7.js +0 -94
  1118. package/dist/chunks/sr_only_close_button-ZaGdAHz7.js.map +0 -1
  1119. package/dist/chunks/stack_constants-HraCekPm.js.map +0 -1
  1120. package/dist/chunks/stack_constants-SMzMWnAQ.js.map +0 -1
  1121. package/dist/chunks/tab-FcsV5VmK.js.map +0 -1
  1122. package/dist/chunks/tab-V4cb44Ry.js.map +0 -1
@@ -0,0 +1 @@
1
+ {"version":3,"file":"modal.vue.js","sources":["../../../components/modal/modal.vue"],"sourcesContent":["<template>\n <dt-lazy-show\n transition=\"d-zoom\"\n :show=\"show\"\n :class=\"[\n 'd-modal',\n MODAL_KIND_MODIFIERS[kind],\n MODAL_SIZE_MODIFIERS[size],\n modalClass,\n ]\"\n data-qa=\"dt-modal\"\n :aria-hidden=\"open\"\n v-on=\"modalListeners\"\n >\n <div\n v-if=\"show && ($slots.banner || bannerTitle)\"\n data-qa=\"dt-modal-banner\"\n :class=\"[\n 'd-modal__banner',\n bannerClass,\n bannerKindClass,\n ]\"\n >\n <!-- @slot Slot for the banner, defaults to bannerTitle prop -->\n <slot name=\"banner\">\n {{ bannerTitle }}\n </slot>\n </div>\n <transition\n appear\n name=\"d-modal__dialog\"\n >\n <div\n v-show=\"show\"\n :class=\"[\n 'd-modal__dialog',\n { 'd-modal__dialog--scrollable': fixedHeaderFooter },\n dialogClass,\n ]\"\n role=\"dialog\"\n aria-modal=\"true\"\n :aria-describedby=\"describedById\"\n :aria-labelledby=\"labelledById\"\n >\n <div\n v-if=\"$slots.header\"\n :id=\"labelledById\"\n class=\"d-modal__header\"\n data-qa=\"dt-modal-title\"\n >\n <!-- @slot Slot for dialog header section, taking the place of any \"title\" text prop -->\n <slot name=\"header\" />\n </div>\n <h2\n v-else\n :id=\"labelledById\"\n class=\"d-modal__header\"\n data-qa=\"dt-modal-title\"\n >\n {{ title }}\n </h2>\n <div\n v-if=\"$slots.default\"\n :class=\"[\n 'd-modal__content',\n contentClass,\n ]\"\n data-qa=\"dt-modal-copy\"\n >\n <!-- @slot Default slot for dialog body section, taking the place of any \"copy\" text prop -->\n <slot />\n </div>\n <p\n v-else\n :class=\"[\n 'd-modal__content',\n contentClass,\n ]\"\n data-qa=\"dt-modal-copy\"\n >\n {{ copy }}\n </p>\n <footer\n v-if=\"hasFooterSlot\"\n class=\"d-modal__footer\"\n >\n <!-- @slot Slot for dialog footer content, often containing cancel and confirm buttons. -->\n <slot name=\"footer\" />\n </footer>\n <dt-button\n v-if=\"!hideClose\"\n class=\"d-modal__close\"\n circle\n size=\"lg\"\n importance=\"clear\"\n :aria-label=\"closeButtonProps.ariaLabel\"\n v-bind=\"closeButtonProps\"\n @click=\"close\"\n >\n <template #icon>\n <dt-icon\n name=\"close\"\n size=\"400\"\n />\n </template>\n </dt-button>\n <sr-only-close-button\n v-if=\"showVisuallyHiddenClose\"\n :visually-hidden-close-label=\"visuallyHiddenCloseLabel\"\n @close=\"close\"\n />\n </div>\n </transition>\n </dt-lazy-show>\n</template>\n\n<script>\n/* eslint-disable max-lines */\nimport { DtButton } from '@/components/button';\nimport { DtIcon } from '@/components/icon';\nimport Modal from '@/common/mixins/modal';\nimport {\n MODAL_BANNER_KINDS,\n MODAL_KIND_MODIFIERS,\n MODAL_SIZE_MODIFIERS,\n} from './modal_constants';\nimport { getUniqueString } from '@/common/utils';\nimport { DtLazyShow } from '@/components/lazy_show';\nimport { EVENT_KEYNAMES } from '@/common/constants';\nimport SrOnlyCloseButtonMixin from '@/common/mixins/sr_only_close_button';\nimport SrOnlyCloseButton from '@/common/sr_only_close_button.vue';\nimport { NOTICE_KINDS } from '@/components/notice';\n\n/**\n * Modals focus the user’s attention exclusively on one task or piece of information\n * via a window that sits on top of the page content.\n * @see https://dialtone.dialpad.com/components/modal.html\n */\nexport default {\n name: 'DtModal',\n\n components: {\n DtLazyShow,\n DtButton,\n DtIcon,\n SrOnlyCloseButton,\n },\n\n mixins: [Modal, SrOnlyCloseButtonMixin],\n\n props: {\n /**\n * A set of props to be passed into the modal's close button.\n * Requires an 'ariaLabel' property.\n */\n closeButtonProps: {\n type: Object,\n required: true,\n validator: (props) => {\n return !!props.ariaLabel;\n },\n },\n\n /**\n * Body text to display as the modal's main content.\n */\n copy: {\n type: String,\n default: '',\n },\n\n /**\n * Id to use for the dialog's aria-describedby.\n * Recommended only if the dialog content itself isn't enough to give full context,\n * as screen readers should recite the dialog contents by default before any aria-description.\n */\n describedById: {\n type: String,\n default: '',\n },\n\n /**\n * Id to use for the dialog's aria-labelledby.\n */\n labelledById: {\n type: String,\n default: function () { return getUniqueString(); },\n },\n\n /**\n * Whether the modal should be shown.\n * Parent component can sync on this value to control the modal's visibility.\n * @values true, false\n */\n show: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Title text to display in the modal header.\n */\n title: {\n type: String,\n default: '',\n },\n\n /**\n * Title text to display in the modal banner.\n */\n bannerTitle: {\n type: String,\n default: '',\n },\n\n /**\n * The theme of the modal. kind - default or danger,\n * @values default, danger\n */\n kind: {\n type: String,\n default: 'default',\n validator: (k) => Object.keys(MODAL_KIND_MODIFIERS).includes(k),\n },\n\n /**\n * The size of the modal. size - default or full,\n * @values default, full\n */\n size: {\n type: String,\n default: 'default',\n validator: (s) => Object.keys(MODAL_SIZE_MODIFIERS).includes(s),\n },\n\n /**\n * Additional class name for the root modal element.\n * Can accept String, Object, and Array, i.e. has the\n * same API as Vue's built-in handling of the class attribute.\n */\n modalClass: {\n type: [String, Object, Array],\n default: '',\n },\n\n /**\n * Additional class name for the dialog element within the modal.\n * Can accept String, Object, and Array, i.e. has the\n * same API as Vue's built-in handling of the class attribute.\n */\n dialogClass: {\n type: [String, Object, Array],\n default: '',\n },\n\n /**\n * Additional class name for the content element within the modal.\n * Can accept String, Object, and Array, i.e. has the\n * same API as Vue's built-in handling of the class attribute.\n */\n contentClass: {\n type: [String, Object, Array],\n default: '',\n },\n\n /**\n * Sets the color of the banner.\n * @values base, error, info, success, warning\n */\n bannerKind: {\n type: String,\n default: 'warning',\n validate (kind) {\n return NOTICE_KINDS.includes(kind);\n },\n },\n\n /**\n * Additional class name for the banner element within the modal.\n * Can accept String, Object, and Array, i.e. has the\n * same API as Vue's built-in handling of the class attribute.\n */\n bannerClass: {\n type: [String, Object, Array],\n default: '',\n },\n\n /**\n * Hides the close button on the modal\n * @values true, false\n */\n hideClose: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Whether the modal will close when you click outside of the dialog on the overlay.\n * @values true, false\n */\n closeOnClick: {\n type: Boolean,\n default: true,\n },\n\n /**\n * Scrollable modal that allows scroll the modal content keeping the header and footer fixed\n * @values true, false\n */\n fixedHeaderFooter: {\n type: Boolean,\n default: true,\n },\n\n /**\n * The element that is focused when the modal is opened. This can be an\n * HTMLElement within the modal, a string starting with '#' which will\n * find the element by ID. 'first' which will automatically focus\n * the first element, or 'dialog' which will focus the dialog window itself.\n * If the dialog is modal this prop cannot be 'none'.\n */\n initialFocusElement: {\n type: [String, HTMLElement],\n default: 'first',\n validator: initialFocusElement => {\n return initialFocusElement === 'first' ||\n (initialFocusElement instanceof HTMLElement) ||\n initialFocusElement.startsWith('#');\n },\n },\n },\n\n emits: [\n /**\n * The modal will emit a \"false\" boolean value for this event when the user performs a modal-closing action.\n * Parent components can sync on this value to create a 2-way binding to control modal visibility.\n *\n * @event update:show\n * @type {Boolean}\n */\n 'update:show',\n ],\n\n data () {\n return {\n MODAL_KIND_MODIFIERS,\n MODAL_SIZE_MODIFIERS,\n MODAL_BANNER_KINDS,\n EVENT_KEYNAMES,\n };\n },\n\n computed: {\n modalListeners () {\n return {\n ...this.$listeners,\n\n click: event => {\n if (!this.closeOnClick) return;\n (event.target === event.currentTarget) && this.close();\n this.$emit('click', event);\n },\n\n keydown: event => {\n switch (event.code) {\n case EVENT_KEYNAMES.esc:\n case EVENT_KEYNAMES.escape:\n this.close();\n break;\n case EVENT_KEYNAMES.tab:\n this.trapFocus(event);\n break;\n }\n this.$emit('keydown', event);\n },\n\n 'after-enter': event => {\n this.$emit('update:show', true);\n (event.target === event.currentTarget) && this.setFocusAfterTransition();\n },\n };\n },\n\n open () {\n return `${!this.show}`;\n },\n\n hasFooterSlot () {\n return !!this.$slots.footer;\n },\n\n bannerKindClass () {\n return MODAL_BANNER_KINDS[this.bannerKind];\n },\n },\n\n watch: {\n show: {\n immediate: true,\n handler (isShowing) {\n if (isShowing) {\n // Set a reference to the previously-active element, to which we'll return focus on modal close.\n this.previousActiveElement = document.activeElement;\n } else {\n // Modal is being hidden, so return focus to the previously active element before clearing the reference.\n this.previousActiveElement?.focus();\n this.previousActiveElement = null;\n }\n },\n },\n\n $props: {\n immediate: true,\n deep: true,\n handler () {\n this.validateProps();\n },\n },\n },\n\n methods: {\n close () {\n this.$emit('update:show', false);\n },\n\n setFocusAfterTransition () {\n if (this.initialFocusElement === 'first') {\n this.focusFirstElement();\n } else if (this.initialFocusElement.startsWith('#')) {\n this.focusElementById(this.initialFocusElement);\n } else if (this.initialFocusElement instanceof HTMLElement) {\n this.initialFocusElement.focus();\n }\n },\n\n trapFocus (e) {\n if (this.show) {\n this.focusTrappedTabPress(e);\n }\n },\n\n validateProps () {\n if (this.hideClose && !this.visuallyHiddenClose) {\n console.error(`If hideClose prop is true, visuallyHiddenClose and visuallyHiddenCloseLabel props\n need to be set so the component always includes a close button`);\n }\n },\n },\n};\n</script>\n"],"names":[],"mappings":";;;;;;;;;;;AA0IA,MAAA,YAAA;AAAA,EACA,MAAA;AAAA,EAEA,YAAA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EACA;AAAA,EAEA,QAAA,CAAA,OAAA,sBAAA;AAAA,EAEA,OAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAKA,kBAAA;AAAA,MACA,MAAA;AAAA,MACA,UAAA;AAAA,MACA,WAAA,CAAA,UAAA;AACA,eAAA,CAAA,CAAA,MAAA;AAAA,MACA;AAAA,IACA;AAAA;AAAA;AAAA;AAAA,IAKA,MAAA;AAAA,MACA,MAAA;AAAA,MACA,SAAA;AAAA,IACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAOA,eAAA;AAAA,MACA,MAAA;AAAA,MACA,SAAA;AAAA,IACA;AAAA;AAAA;AAAA;AAAA,IAKA,cAAA;AAAA,MACA,MAAA;AAAA,MACA,SAAA,WAAA;AAAA,eAAA,gBAAA;AAAA,MAAA;AAAA,IACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAOA,MAAA;AAAA,MACA,MAAA;AAAA,MACA,SAAA;AAAA,IACA;AAAA;AAAA;AAAA;AAAA,IAKA,OAAA;AAAA,MACA,MAAA;AAAA,MACA,SAAA;AAAA,IACA;AAAA;AAAA;AAAA;AAAA,IAKA,aAAA;AAAA,MACA,MAAA;AAAA,MACA,SAAA;AAAA,IACA;AAAA;AAAA;AAAA;AAAA;AAAA,IAMA,MAAA;AAAA,MACA,MAAA;AAAA,MACA,SAAA;AAAA,MACA,WAAA,CAAA,MAAA,OAAA,KAAA,oBAAA,EAAA,SAAA,CAAA;AAAA,IACA;AAAA;AAAA;AAAA;AAAA;AAAA,IAMA,MAAA;AAAA,MACA,MAAA;AAAA,MACA,SAAA;AAAA,MACA,WAAA,CAAA,MAAA,OAAA,KAAA,oBAAA,EAAA,SAAA,CAAA;AAAA,IACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAOA,YAAA;AAAA,MACA,MAAA,CAAA,QAAA,QAAA,KAAA;AAAA,MACA,SAAA;AAAA,IACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAOA,aAAA;AAAA,MACA,MAAA,CAAA,QAAA,QAAA,KAAA;AAAA,MACA,SAAA;AAAA,IACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAOA,cAAA;AAAA,MACA,MAAA,CAAA,QAAA,QAAA,KAAA;AAAA,MACA,SAAA;AAAA,IACA;AAAA;AAAA;AAAA;AAAA;AAAA,IAMA,YAAA;AAAA,MACA,MAAA;AAAA,MACA,SAAA;AAAA,MACA,SAAA,MAAA;AACA,eAAA,aAAA,SAAA,IAAA;AAAA,MACA;AAAA,IACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAOA,aAAA;AAAA,MACA,MAAA,CAAA,QAAA,QAAA,KAAA;AAAA,MACA,SAAA;AAAA,IACA;AAAA;AAAA;AAAA;AAAA;AAAA,IAMA,WAAA;AAAA,MACA,MAAA;AAAA,MACA,SAAA;AAAA,IACA;AAAA;AAAA;AAAA;AAAA;AAAA,IAMA,cAAA;AAAA,MACA,MAAA;AAAA,MACA,SAAA;AAAA,IACA;AAAA;AAAA;AAAA;AAAA;AAAA,IAMA,mBAAA;AAAA,MACA,MAAA;AAAA,MACA,SAAA;AAAA,IACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IASA,qBAAA;AAAA,MACA,MAAA,CAAA,QAAA,WAAA;AAAA,MACA,SAAA;AAAA,MACA,WAAA,yBAAA;AACA,eAAA,wBAAA,WACA,+BAAA,eACA,oBAAA,WAAA,GAAA;AAAA,MACA;AAAA,IACA;AAAA,EACA;AAAA,EAEA,OAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAQA;AAAA,EACA;AAAA,EAEA,OAAA;AACA,WAAA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,IACA;AAAA,EACA;AAAA,EAEA,UAAA;AAAA,IACA,iBAAA;AACA,aAAA;AAAA,QACA,GAAA,KAAA;AAAA,QAEA,OAAA,WAAA;AACA,cAAA,CAAA,KAAA,aAAA;AACA,UAAA,MAAA,WAAA,MAAA,iBAAA,KAAA;AACA,eAAA,MAAA,SAAA,KAAA;AAAA,QACA;AAAA,QAEA,SAAA,WAAA;AACA,kBAAA,MAAA,MAAA;AAAA,YACA,KAAA,eAAA;AAAA,YACA,KAAA,eAAA;AACA,mBAAA,MAAA;AACA;AAAA,YACA,KAAA,eAAA;AACA,mBAAA,UAAA,KAAA;AACA;AAAA,UACA;AACA,eAAA,MAAA,WAAA,KAAA;AAAA,QACA;AAAA,QAEA,eAAA,WAAA;AACA,eAAA,MAAA,eAAA,IAAA;AACA,UAAA,MAAA,WAAA,MAAA,iBAAA,KAAA;QACA;AAAA,MACA;AAAA,IACA;AAAA,IAEA,OAAA;AACA,aAAA,GAAA,CAAA,KAAA,IAAA;AAAA,IACA;AAAA,IAEA,gBAAA;AACA,aAAA,CAAA,CAAA,KAAA,OAAA;AAAA,IACA;AAAA,IAEA,kBAAA;AACA,aAAA,mBAAA,KAAA,UAAA;AAAA,IACA;AAAA,EACA;AAAA,EAEA,OAAA;AAAA,IACA,MAAA;AAAA,MACA,WAAA;AAAA,MACA,QAAA,WAAA;;AACA,YAAA,WAAA;AAEA,eAAA,wBAAA,SAAA;AAAA,QACA,OAAA;AAEA,qBAAA,0BAAA,mBAAA;AACA,eAAA,wBAAA;AAAA,QACA;AAAA,MACA;AAAA,IACA;AAAA,IAEA,QAAA;AAAA,MACA,WAAA;AAAA,MACA,MAAA;AAAA,MACA,UAAA;AACA,aAAA,cAAA;AAAA,MACA;AAAA,IACA;AAAA,EACA;AAAA,EAEA,SAAA;AAAA,IACA,QAAA;AACA,WAAA,MAAA,eAAA,KAAA;AAAA,IACA;AAAA,IAEA,0BAAA;AACA,UAAA,KAAA,wBAAA,SAAA;AACA,aAAA,kBAAA;AAAA,MACA,WAAA,KAAA,oBAAA,WAAA,GAAA,GAAA;AACA,aAAA,iBAAA,KAAA,mBAAA;AAAA,MACA,WAAA,KAAA,+BAAA,aAAA;AACA,aAAA,oBAAA;MACA;AAAA,IACA;AAAA,IAEA,UAAA,GAAA;AACA,UAAA,KAAA,MAAA;AACA,aAAA,qBAAA,CAAA;AAAA,MACA;AAAA,IACA;AAAA,IAEA,gBAAA;AACA,UAAA,KAAA,aAAA,CAAA,KAAA,qBAAA;AACA,gBAAA,MAAA;AAAA,uEACA;AAAA,MACA;AAAA,IACA;AAAA,EACA;AACA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ const MODAL_KIND_MODIFIERS = {
4
+ default: "",
5
+ danger: "d-modal--danger"
6
+ };
7
+ const MODAL_SIZE_MODIFIERS = {
8
+ default: "",
9
+ full: "d-modal--full"
10
+ };
11
+ const MODAL_BANNER_KINDS = {
12
+ error: "d-modal__banner--critical",
13
+ info: "d-modal__banner--info",
14
+ success: "d-modal__banner--success",
15
+ warning: "d-modal__banner--warning",
16
+ base: "d-modal__banner--general"
17
+ };
18
+ exports.MODAL_BANNER_KINDS = MODAL_BANNER_KINDS;
19
+ exports.MODAL_KIND_MODIFIERS = MODAL_KIND_MODIFIERS;
20
+ exports.MODAL_SIZE_MODIFIERS = MODAL_SIZE_MODIFIERS;
21
+ //# sourceMappingURL=modal_constants.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"modal_constants.cjs","sources":["../../../components/modal/modal_constants.js"],"sourcesContent":["// Modal style modifiers\nexport const MODAL_KIND_MODIFIERS = {\n default: '',\n danger: 'd-modal--danger',\n};\n\n// Modal size modifiers\nexport const MODAL_SIZE_MODIFIERS = {\n default: '',\n full: 'd-modal--full',\n};\n\nexport const MODAL_BANNER_KINDS = {\n error: 'd-modal__banner--critical',\n info: 'd-modal__banner--info',\n success: 'd-modal__banner--success',\n warning: 'd-modal__banner--warning',\n base: 'd-modal__banner--general',\n};\n"],"names":[],"mappings":";;AACY,MAAC,uBAAuB;AAAA,EAClC,SAAS;AAAA,EACT,QAAQ;AACV;AAGY,MAAC,uBAAuB;AAAA,EAClC,SAAS;AAAA,EACT,MAAM;AACR;AAEY,MAAC,qBAAqB;AAAA,EAChC,OAAO;AAAA,EACP,MAAM;AAAA,EACN,SAAS;AAAA,EACT,SAAS;AAAA,EACT,MAAM;AACR;;;;"}
@@ -0,0 +1,21 @@
1
+ const MODAL_KIND_MODIFIERS = {
2
+ default: "",
3
+ danger: "d-modal--danger"
4
+ };
5
+ const MODAL_SIZE_MODIFIERS = {
6
+ default: "",
7
+ full: "d-modal--full"
8
+ };
9
+ const MODAL_BANNER_KINDS = {
10
+ error: "d-modal__banner--critical",
11
+ info: "d-modal__banner--info",
12
+ success: "d-modal__banner--success",
13
+ warning: "d-modal__banner--warning",
14
+ base: "d-modal__banner--general"
15
+ };
16
+ export {
17
+ MODAL_BANNER_KINDS,
18
+ MODAL_KIND_MODIFIERS,
19
+ MODAL_SIZE_MODIFIERS
20
+ };
21
+ //# sourceMappingURL=modal_constants.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"modal_constants.js","sources":["../../../components/modal/modal_constants.js"],"sourcesContent":["// Modal style modifiers\nexport const MODAL_KIND_MODIFIERS = {\n default: '',\n danger: 'd-modal--danger',\n};\n\n// Modal size modifiers\nexport const MODAL_SIZE_MODIFIERS = {\n default: '',\n full: 'd-modal--full',\n};\n\nexport const MODAL_BANNER_KINDS = {\n error: 'd-modal__banner--critical',\n info: 'd-modal__banner--info',\n success: 'd-modal__banner--success',\n warning: 'd-modal__banner--warning',\n base: 'd-modal__banner--general',\n};\n"],"names":[],"mappings":"AACY,MAAC,uBAAuB;AAAA,EAClC,SAAS;AAAA,EACT,QAAQ;AACV;AAGY,MAAC,uBAAuB;AAAA,EAClC,SAAS;AAAA,EACT,MAAM;AACR;AAEY,MAAC,qBAAqB;AAAA,EAChC,OAAO;AAAA,EACP,MAAM;AAAA,EACN,SAAS;AAAA,EACT,SAAS;AAAA,EACT,MAAM;AACR;"}
@@ -0,0 +1,156 @@
1
+ "use strict";
2
+ const notice_icon = require("./notice_icon.vue.cjs");
3
+ const notice_content = require("./notice_content.vue.cjs");
4
+ const notice_action = require("./notice_action.vue.cjs");
5
+ const notice_constants = require("./notice_constants.cjs");
6
+ const sr_only_close_button = require("../../common/mixins/sr_only_close_button.cjs");
7
+ const _pluginVue2_normalizer = require("../../_virtual/_plugin-vue2_normalizer.cjs");
8
+ const _sfc_main = {
9
+ name: "DtNotice",
10
+ components: {
11
+ DtNoticeIcon: notice_icon,
12
+ DtNoticeContent: notice_content,
13
+ DtNoticeAction: notice_action
14
+ },
15
+ mixins: [sr_only_close_button],
16
+ props: {
17
+ /**
18
+ * Sets an ID on the title element of the component. Useful for aria-describedby
19
+ * or aria-labelledby or any other reason you may need an id to refer to the title.
20
+ */
21
+ titleId: {
22
+ type: String,
23
+ default: void 0
24
+ },
25
+ /**
26
+ * Sets an ID on the content element of the component. Useful for aria-describedby
27
+ * or aria-labelledby or any other reason you may need an id to refer to the content.
28
+ */
29
+ contentId: {
30
+ type: String,
31
+ default: void 0
32
+ },
33
+ /**
34
+ * Title header of the notice. This can be left blank to remove the title from the notice entirely.
35
+ */
36
+ title: {
37
+ type: String,
38
+ default: ""
39
+ },
40
+ /**
41
+ * Provides a role for the notice. 'status' is used to communicate a message. 'alert' is used to communicate an
42
+ * important message that does not contain any interactive elements. 'alertdialog' is used to communicate an
43
+ * important message that does contain interactive elements.
44
+ * @values alert, alertdialog, status
45
+ */
46
+ role: {
47
+ type: String,
48
+ default: "status",
49
+ validate(role) {
50
+ return notice_constants.NOTICE_ROLES.includes(role);
51
+ }
52
+ },
53
+ /**
54
+ * Used in scenarios where the message needs to visually dominate the screen.
55
+ * This will also change the aria role from status to alert.
56
+ * @values true, false
57
+ */
58
+ important: {
59
+ type: Boolean,
60
+ default: false
61
+ },
62
+ /**
63
+ * Severity level of the notice, sets the icon and background
64
+ * @values base, error, info, success, warning
65
+ */
66
+ kind: {
67
+ type: String,
68
+ default: "base",
69
+ validate(kind) {
70
+ return notice_constants.NOTICE_KINDS.includes(kind);
71
+ }
72
+ },
73
+ /**
74
+ * Props for the notice close button.
75
+ */
76
+ closeButtonProps: {
77
+ type: Object,
78
+ default: () => ({})
79
+ },
80
+ /**
81
+ * Hides the close button from the notice
82
+ * @values true, false
83
+ */
84
+ hideClose: {
85
+ type: Boolean,
86
+ default: false
87
+ },
88
+ /**
89
+ * Hides the icon from the notice
90
+ * @values true, false
91
+ */
92
+ hideIcon: {
93
+ type: Boolean,
94
+ default: false
95
+ },
96
+ /**
97
+ * Hides the action from the notice
98
+ * @values true, false
99
+ */
100
+ hideAction: {
101
+ type: Boolean,
102
+ default: false
103
+ },
104
+ /**
105
+ * Truncates the content instead of wrapping.
106
+ * Used when the notice needs to have a fixed height.
107
+ * @values true, false
108
+ */
109
+ truncateText: {
110
+ type: Boolean,
111
+ default: false
112
+ }
113
+ },
114
+ emits: [
115
+ /**
116
+ * Close button click event
117
+ *
118
+ * @event close
119
+ */
120
+ "close"
121
+ ],
122
+ computed: {
123
+ noticeClass() {
124
+ const noticeKinds = {
125
+ error: "d-notice--error",
126
+ info: "d-notice--info",
127
+ success: "d-notice--success",
128
+ warning: "d-notice--warning",
129
+ base: "d-notice--base"
130
+ };
131
+ return [
132
+ "d-notice",
133
+ noticeKinds[this.kind],
134
+ { "d-notice--important": this.important, "d-notice--truncate": this.truncateText }
135
+ ];
136
+ }
137
+ }
138
+ };
139
+ var _sfc_render = function render() {
140
+ var _vm = this, _c = _vm._self._c;
141
+ return _c("aside", { class: _vm.noticeClass, attrs: { "data-qa": "notice" } }, [!_vm.hideIcon ? _c("dt-notice-icon", { attrs: { "kind": _vm.kind } }, [_vm._t("icon")], 2) : _vm._e(), _c("dt-notice-content", _vm._g({ attrs: { "title-id": _vm.titleId, "content-id": _vm.contentId, "title": _vm.title, "role": _vm.role }, scopedSlots: _vm._u([{ key: "titleOverride", fn: function() {
142
+ return [_vm._t("titleOverride")];
143
+ }, proxy: true }], null, true) }, _vm.$listeners), [_vm._t("default")], 2), _c("dt-notice-action", _vm._g({ attrs: { "hide-action": _vm.hideAction, "hide-close": _vm.hideClose, "close-button-props": _vm.closeButtonProps, "visually-hidden-close": _vm.visuallyHiddenClose, "visually-hidden-close-label": _vm.visuallyHiddenCloseLabel } }, _vm.$listeners), [_vm._t("action")], 2)], 1);
144
+ };
145
+ var _sfc_staticRenderFns = [];
146
+ var __component__ = /* @__PURE__ */ _pluginVue2_normalizer(
147
+ _sfc_main,
148
+ _sfc_render,
149
+ _sfc_staticRenderFns,
150
+ false,
151
+ null,
152
+ null
153
+ );
154
+ const notice = __component__.exports;
155
+ module.exports = notice;
156
+ //# sourceMappingURL=notice.vue.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"notice.vue.cjs","sources":["../../../components/notice/notice.vue"],"sourcesContent":["<template>\n <aside\n :class=\"noticeClass\"\n data-qa=\"notice\"\n >\n <dt-notice-icon\n v-if=\"!hideIcon\"\n :kind=\"kind\"\n >\n <!-- @slot Slot for custom icon -->\n <slot name=\"icon\" />\n </dt-notice-icon>\n <dt-notice-content\n :title-id=\"titleId\"\n :content-id=\"contentId\"\n :title=\"title\"\n :role=\"role\"\n v-on=\"$listeners\"\n >\n <template #titleOverride>\n <!-- @slot Allows you to override the title, only use this if you need\n to override with something other than text. Otherwise use the \"title\" prop. -->\n <slot name=\"titleOverride\" />\n </template>\n <!-- @slot the main textual content of the notice -->\n <slot />\n </dt-notice-content>\n <dt-notice-action\n :hide-action=\"hideAction\"\n :hide-close=\"hideClose\"\n :close-button-props=\"closeButtonProps\"\n :visually-hidden-close=\"visuallyHiddenClose\"\n :visually-hidden-close-label=\"visuallyHiddenCloseLabel\"\n v-on=\"$listeners\"\n >\n <!-- @slot Enter a possible action for the user to take, such as a link to another page -->\n <slot name=\"action\" />\n </dt-notice-action>\n </aside>\n</template>\n\n<script>\nimport DtNoticeIcon from './notice_icon.vue';\nimport DtNoticeContent from './notice_content.vue';\nimport DtNoticeAction from './notice_action.vue';\nimport { NOTICE_KINDS, NOTICE_ROLES } from './notice_constants';\nimport SrOnlyCloseButtonMixin from '@/common/mixins/sr_only_close_button';\n\n/**\n * A notice is an informational and assistive message that appears inline with content.\n * @see https://dialtone.dialpad.com/components/notice.html\n */\nexport default {\n name: 'DtNotice',\n\n components: {\n DtNoticeIcon,\n DtNoticeContent,\n DtNoticeAction,\n },\n\n mixins: [SrOnlyCloseButtonMixin],\n\n props: {\n /**\n * Sets an ID on the title element of the component. Useful for aria-describedby\n * or aria-labelledby or any other reason you may need an id to refer to the title.\n */\n titleId: {\n type: String,\n default: undefined,\n },\n\n /**\n * Sets an ID on the content element of the component. Useful for aria-describedby\n * or aria-labelledby or any other reason you may need an id to refer to the content.\n */\n contentId: {\n type: String,\n default: undefined,\n },\n\n /**\n * Title header of the notice. This can be left blank to remove the title from the notice entirely.\n */\n title: {\n type: String,\n default: '',\n },\n\n /**\n * Provides a role for the notice. 'status' is used to communicate a message. 'alert' is used to communicate an\n * important message that does not contain any interactive elements. 'alertdialog' is used to communicate an\n * important message that does contain interactive elements.\n * @values alert, alertdialog, status\n */\n role: {\n type: String,\n default: 'status',\n validate (role) {\n return NOTICE_ROLES.includes(role);\n },\n },\n\n /**\n * Used in scenarios where the message needs to visually dominate the screen.\n * This will also change the aria role from status to alert.\n * @values true, false\n */\n important: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Severity level of the notice, sets the icon and background\n * @values base, error, info, success, warning\n */\n kind: {\n type: String,\n default: 'base',\n validate (kind) {\n return NOTICE_KINDS.includes(kind);\n },\n },\n\n /**\n * Props for the notice close button.\n */\n closeButtonProps: {\n type: Object,\n default: () => ({}),\n },\n\n /**\n * Hides the close button from the notice\n * @values true, false\n */\n hideClose: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Hides the icon from the notice\n * @values true, false\n */\n hideIcon: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Hides the action from the notice\n * @values true, false\n */\n hideAction: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Truncates the content instead of wrapping.\n * Used when the notice needs to have a fixed height.\n * @values true, false\n */\n truncateText: {\n type: Boolean,\n default: false,\n },\n },\n\n emits: [\n /**\n * Close button click event\n *\n * @event close\n */\n 'close',\n ],\n\n computed: {\n noticeClass () {\n const noticeKinds = {\n error: 'd-notice--error',\n info: 'd-notice--info',\n success: 'd-notice--success',\n warning: 'd-notice--warning',\n base: 'd-notice--base',\n };\n return [\n 'd-notice',\n noticeKinds[this.kind],\n { 'd-notice--important': this.important, 'd-notice--truncate': this.truncateText },\n ];\n },\n },\n};\n</script>\n"],"names":["DtNoticeIcon","DtNoticeContent","DtNoticeAction","SrOnlyCloseButtonMixin","NOTICE_ROLES","NOTICE_KINDS"],"mappings":";;;;;;;AAoDA,MAAA,YAAA;AAAA,EACA,MAAA;AAAA,EAEA,YAAA;AAAA,IACA,cAAAA;AAAAA,IACA,iBAAAC;AAAAA,IACA,gBAAAC;AAAAA,EACA;AAAA,EAEA,QAAA,CAAAC,oBAAA;AAAA,EAEA,OAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAKA,SAAA;AAAA,MACA,MAAA;AAAA,MACA,SAAA;AAAA,IACA;AAAA;AAAA;AAAA;AAAA;AAAA,IAMA,WAAA;AAAA,MACA,MAAA;AAAA,MACA,SAAA;AAAA,IACA;AAAA;AAAA;AAAA;AAAA,IAKA,OAAA;AAAA,MACA,MAAA;AAAA,MACA,SAAA;AAAA,IACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAQA,MAAA;AAAA,MACA,MAAA;AAAA,MACA,SAAA;AAAA,MACA,SAAA,MAAA;AACA,eAAAC,iBAAA,aAAA,SAAA,IAAA;AAAA,MACA;AAAA,IACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAOA,WAAA;AAAA,MACA,MAAA;AAAA,MACA,SAAA;AAAA,IACA;AAAA;AAAA;AAAA;AAAA;AAAA,IAMA,MAAA;AAAA,MACA,MAAA;AAAA,MACA,SAAA;AAAA,MACA,SAAA,MAAA;AACA,eAAAC,iBAAA,aAAA,SAAA,IAAA;AAAA,MACA;AAAA,IACA;AAAA;AAAA;AAAA;AAAA,IAKA,kBAAA;AAAA,MACA,MAAA;AAAA,MACA,SAAA,OAAA,CAAA;AAAA,IACA;AAAA;AAAA;AAAA;AAAA;AAAA,IAMA,WAAA;AAAA,MACA,MAAA;AAAA,MACA,SAAA;AAAA,IACA;AAAA;AAAA;AAAA;AAAA;AAAA,IAMA,UAAA;AAAA,MACA,MAAA;AAAA,MACA,SAAA;AAAA,IACA;AAAA;AAAA;AAAA;AAAA;AAAA,IAMA,YAAA;AAAA,MACA,MAAA;AAAA,MACA,SAAA;AAAA,IACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAOA,cAAA;AAAA,MACA,MAAA;AAAA,MACA,SAAA;AAAA,IACA;AAAA,EACA;AAAA,EAEA,OAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAMA;AAAA,EACA;AAAA,EAEA,UAAA;AAAA,IACA,cAAA;AACA,YAAA,cAAA;AAAA,QACA,OAAA;AAAA,QACA,MAAA;AAAA,QACA,SAAA;AAAA,QACA,SAAA;AAAA,QACA,MAAA;AAAA,MACA;AACA,aAAA;AAAA,QACA;AAAA,QACA,YAAA,KAAA,IAAA;AAAA,QACA,EAAA,uBAAA,KAAA,WAAA,sBAAA,KAAA,aAAA;AAAA,MACA;AAAA,IACA;AAAA,EACA;AACA;;;;;;;;;;;;;;;;;;"}
@@ -0,0 +1,157 @@
1
+ import DtNoticeIcon from "./notice_icon.vue.js";
2
+ import DtNoticeContent from "./notice_content.vue.js";
3
+ import DtNoticeAction from "./notice_action.vue.js";
4
+ import { NOTICE_ROLES, NOTICE_KINDS } from "./notice_constants.js";
5
+ import SrOnlyCloseButtonMixin from "../../common/mixins/sr_only_close_button.js";
6
+ import normalizeComponent from "../../_virtual/_plugin-vue2_normalizer.js";
7
+ const _sfc_main = {
8
+ name: "DtNotice",
9
+ components: {
10
+ DtNoticeIcon,
11
+ DtNoticeContent,
12
+ DtNoticeAction
13
+ },
14
+ mixins: [SrOnlyCloseButtonMixin],
15
+ props: {
16
+ /**
17
+ * Sets an ID on the title element of the component. Useful for aria-describedby
18
+ * or aria-labelledby or any other reason you may need an id to refer to the title.
19
+ */
20
+ titleId: {
21
+ type: String,
22
+ default: void 0
23
+ },
24
+ /**
25
+ * Sets an ID on the content element of the component. Useful for aria-describedby
26
+ * or aria-labelledby or any other reason you may need an id to refer to the content.
27
+ */
28
+ contentId: {
29
+ type: String,
30
+ default: void 0
31
+ },
32
+ /**
33
+ * Title header of the notice. This can be left blank to remove the title from the notice entirely.
34
+ */
35
+ title: {
36
+ type: String,
37
+ default: ""
38
+ },
39
+ /**
40
+ * Provides a role for the notice. 'status' is used to communicate a message. 'alert' is used to communicate an
41
+ * important message that does not contain any interactive elements. 'alertdialog' is used to communicate an
42
+ * important message that does contain interactive elements.
43
+ * @values alert, alertdialog, status
44
+ */
45
+ role: {
46
+ type: String,
47
+ default: "status",
48
+ validate(role) {
49
+ return NOTICE_ROLES.includes(role);
50
+ }
51
+ },
52
+ /**
53
+ * Used in scenarios where the message needs to visually dominate the screen.
54
+ * This will also change the aria role from status to alert.
55
+ * @values true, false
56
+ */
57
+ important: {
58
+ type: Boolean,
59
+ default: false
60
+ },
61
+ /**
62
+ * Severity level of the notice, sets the icon and background
63
+ * @values base, error, info, success, warning
64
+ */
65
+ kind: {
66
+ type: String,
67
+ default: "base",
68
+ validate(kind) {
69
+ return NOTICE_KINDS.includes(kind);
70
+ }
71
+ },
72
+ /**
73
+ * Props for the notice close button.
74
+ */
75
+ closeButtonProps: {
76
+ type: Object,
77
+ default: () => ({})
78
+ },
79
+ /**
80
+ * Hides the close button from the notice
81
+ * @values true, false
82
+ */
83
+ hideClose: {
84
+ type: Boolean,
85
+ default: false
86
+ },
87
+ /**
88
+ * Hides the icon from the notice
89
+ * @values true, false
90
+ */
91
+ hideIcon: {
92
+ type: Boolean,
93
+ default: false
94
+ },
95
+ /**
96
+ * Hides the action from the notice
97
+ * @values true, false
98
+ */
99
+ hideAction: {
100
+ type: Boolean,
101
+ default: false
102
+ },
103
+ /**
104
+ * Truncates the content instead of wrapping.
105
+ * Used when the notice needs to have a fixed height.
106
+ * @values true, false
107
+ */
108
+ truncateText: {
109
+ type: Boolean,
110
+ default: false
111
+ }
112
+ },
113
+ emits: [
114
+ /**
115
+ * Close button click event
116
+ *
117
+ * @event close
118
+ */
119
+ "close"
120
+ ],
121
+ computed: {
122
+ noticeClass() {
123
+ const noticeKinds = {
124
+ error: "d-notice--error",
125
+ info: "d-notice--info",
126
+ success: "d-notice--success",
127
+ warning: "d-notice--warning",
128
+ base: "d-notice--base"
129
+ };
130
+ return [
131
+ "d-notice",
132
+ noticeKinds[this.kind],
133
+ { "d-notice--important": this.important, "d-notice--truncate": this.truncateText }
134
+ ];
135
+ }
136
+ }
137
+ };
138
+ var _sfc_render = function render() {
139
+ var _vm = this, _c = _vm._self._c;
140
+ return _c("aside", { class: _vm.noticeClass, attrs: { "data-qa": "notice" } }, [!_vm.hideIcon ? _c("dt-notice-icon", { attrs: { "kind": _vm.kind } }, [_vm._t("icon")], 2) : _vm._e(), _c("dt-notice-content", _vm._g({ attrs: { "title-id": _vm.titleId, "content-id": _vm.contentId, "title": _vm.title, "role": _vm.role }, scopedSlots: _vm._u([{ key: "titleOverride", fn: function() {
141
+ return [_vm._t("titleOverride")];
142
+ }, proxy: true }], null, true) }, _vm.$listeners), [_vm._t("default")], 2), _c("dt-notice-action", _vm._g({ attrs: { "hide-action": _vm.hideAction, "hide-close": _vm.hideClose, "close-button-props": _vm.closeButtonProps, "visually-hidden-close": _vm.visuallyHiddenClose, "visually-hidden-close-label": _vm.visuallyHiddenCloseLabel } }, _vm.$listeners), [_vm._t("action")], 2)], 1);
143
+ };
144
+ var _sfc_staticRenderFns = [];
145
+ var __component__ = /* @__PURE__ */ normalizeComponent(
146
+ _sfc_main,
147
+ _sfc_render,
148
+ _sfc_staticRenderFns,
149
+ false,
150
+ null,
151
+ null
152
+ );
153
+ const notice = __component__.exports;
154
+ export {
155
+ notice as default
156
+ };
157
+ //# sourceMappingURL=notice.vue.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"notice.vue.js","sources":["../../../components/notice/notice.vue"],"sourcesContent":["<template>\n <aside\n :class=\"noticeClass\"\n data-qa=\"notice\"\n >\n <dt-notice-icon\n v-if=\"!hideIcon\"\n :kind=\"kind\"\n >\n <!-- @slot Slot for custom icon -->\n <slot name=\"icon\" />\n </dt-notice-icon>\n <dt-notice-content\n :title-id=\"titleId\"\n :content-id=\"contentId\"\n :title=\"title\"\n :role=\"role\"\n v-on=\"$listeners\"\n >\n <template #titleOverride>\n <!-- @slot Allows you to override the title, only use this if you need\n to override with something other than text. Otherwise use the \"title\" prop. -->\n <slot name=\"titleOverride\" />\n </template>\n <!-- @slot the main textual content of the notice -->\n <slot />\n </dt-notice-content>\n <dt-notice-action\n :hide-action=\"hideAction\"\n :hide-close=\"hideClose\"\n :close-button-props=\"closeButtonProps\"\n :visually-hidden-close=\"visuallyHiddenClose\"\n :visually-hidden-close-label=\"visuallyHiddenCloseLabel\"\n v-on=\"$listeners\"\n >\n <!-- @slot Enter a possible action for the user to take, such as a link to another page -->\n <slot name=\"action\" />\n </dt-notice-action>\n </aside>\n</template>\n\n<script>\nimport DtNoticeIcon from './notice_icon.vue';\nimport DtNoticeContent from './notice_content.vue';\nimport DtNoticeAction from './notice_action.vue';\nimport { NOTICE_KINDS, NOTICE_ROLES } from './notice_constants';\nimport SrOnlyCloseButtonMixin from '@/common/mixins/sr_only_close_button';\n\n/**\n * A notice is an informational and assistive message that appears inline with content.\n * @see https://dialtone.dialpad.com/components/notice.html\n */\nexport default {\n name: 'DtNotice',\n\n components: {\n DtNoticeIcon,\n DtNoticeContent,\n DtNoticeAction,\n },\n\n mixins: [SrOnlyCloseButtonMixin],\n\n props: {\n /**\n * Sets an ID on the title element of the component. Useful for aria-describedby\n * or aria-labelledby or any other reason you may need an id to refer to the title.\n */\n titleId: {\n type: String,\n default: undefined,\n },\n\n /**\n * Sets an ID on the content element of the component. Useful for aria-describedby\n * or aria-labelledby or any other reason you may need an id to refer to the content.\n */\n contentId: {\n type: String,\n default: undefined,\n },\n\n /**\n * Title header of the notice. This can be left blank to remove the title from the notice entirely.\n */\n title: {\n type: String,\n default: '',\n },\n\n /**\n * Provides a role for the notice. 'status' is used to communicate a message. 'alert' is used to communicate an\n * important message that does not contain any interactive elements. 'alertdialog' is used to communicate an\n * important message that does contain interactive elements.\n * @values alert, alertdialog, status\n */\n role: {\n type: String,\n default: 'status',\n validate (role) {\n return NOTICE_ROLES.includes(role);\n },\n },\n\n /**\n * Used in scenarios where the message needs to visually dominate the screen.\n * This will also change the aria role from status to alert.\n * @values true, false\n */\n important: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Severity level of the notice, sets the icon and background\n * @values base, error, info, success, warning\n */\n kind: {\n type: String,\n default: 'base',\n validate (kind) {\n return NOTICE_KINDS.includes(kind);\n },\n },\n\n /**\n * Props for the notice close button.\n */\n closeButtonProps: {\n type: Object,\n default: () => ({}),\n },\n\n /**\n * Hides the close button from the notice\n * @values true, false\n */\n hideClose: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Hides the icon from the notice\n * @values true, false\n */\n hideIcon: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Hides the action from the notice\n * @values true, false\n */\n hideAction: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Truncates the content instead of wrapping.\n * Used when the notice needs to have a fixed height.\n * @values true, false\n */\n truncateText: {\n type: Boolean,\n default: false,\n },\n },\n\n emits: [\n /**\n * Close button click event\n *\n * @event close\n */\n 'close',\n ],\n\n computed: {\n noticeClass () {\n const noticeKinds = {\n error: 'd-notice--error',\n info: 'd-notice--info',\n success: 'd-notice--success',\n warning: 'd-notice--warning',\n base: 'd-notice--base',\n };\n return [\n 'd-notice',\n noticeKinds[this.kind],\n { 'd-notice--important': this.important, 'd-notice--truncate': this.truncateText },\n ];\n },\n },\n};\n</script>\n"],"names":[],"mappings":";;;;;;AAoDA,MAAA,YAAA;AAAA,EACA,MAAA;AAAA,EAEA,YAAA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EACA;AAAA,EAEA,QAAA,CAAA,sBAAA;AAAA,EAEA,OAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAKA,SAAA;AAAA,MACA,MAAA;AAAA,MACA,SAAA;AAAA,IACA;AAAA;AAAA;AAAA;AAAA;AAAA,IAMA,WAAA;AAAA,MACA,MAAA;AAAA,MACA,SAAA;AAAA,IACA;AAAA;AAAA;AAAA;AAAA,IAKA,OAAA;AAAA,MACA,MAAA;AAAA,MACA,SAAA;AAAA,IACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAQA,MAAA;AAAA,MACA,MAAA;AAAA,MACA,SAAA;AAAA,MACA,SAAA,MAAA;AACA,eAAA,aAAA,SAAA,IAAA;AAAA,MACA;AAAA,IACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAOA,WAAA;AAAA,MACA,MAAA;AAAA,MACA,SAAA;AAAA,IACA;AAAA;AAAA;AAAA;AAAA;AAAA,IAMA,MAAA;AAAA,MACA,MAAA;AAAA,MACA,SAAA;AAAA,MACA,SAAA,MAAA;AACA,eAAA,aAAA,SAAA,IAAA;AAAA,MACA;AAAA,IACA;AAAA;AAAA;AAAA;AAAA,IAKA,kBAAA;AAAA,MACA,MAAA;AAAA,MACA,SAAA,OAAA,CAAA;AAAA,IACA;AAAA;AAAA;AAAA;AAAA;AAAA,IAMA,WAAA;AAAA,MACA,MAAA;AAAA,MACA,SAAA;AAAA,IACA;AAAA;AAAA;AAAA;AAAA;AAAA,IAMA,UAAA;AAAA,MACA,MAAA;AAAA,MACA,SAAA;AAAA,IACA;AAAA;AAAA;AAAA;AAAA;AAAA,IAMA,YAAA;AAAA,MACA,MAAA;AAAA,MACA,SAAA;AAAA,IACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAOA,cAAA;AAAA,MACA,MAAA;AAAA,MACA,SAAA;AAAA,IACA;AAAA,EACA;AAAA,EAEA,OAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAMA;AAAA,EACA;AAAA,EAEA,UAAA;AAAA,IACA,cAAA;AACA,YAAA,cAAA;AAAA,QACA,OAAA;AAAA,QACA,MAAA;AAAA,QACA,SAAA;AAAA,QACA,SAAA;AAAA,QACA,MAAA;AAAA,MACA;AACA,aAAA;AAAA,QACA;AAAA,QACA,YAAA,KAAA,IAAA;AAAA,QACA,EAAA,uBAAA,KAAA,WAAA,sBAAA,KAAA,aAAA;AAAA,MACA;AAAA,IACA;AAAA,EACA;AACA;;;;;;;;;;;;;;;;;"}
@@ -0,0 +1,96 @@
1
+ "use strict";
2
+ const sr_only_close_button$1 = require("../../common/mixins/sr_only_close_button.cjs");
3
+ const sr_only_close_button = require("../../common/sr_only_close_button.vue.cjs");
4
+ const _pluginVue2_normalizer = require("../../_virtual/_plugin-vue2_normalizer.cjs");
5
+ const icon = require("../icon/icon.vue.cjs");
6
+ const button = require("../button/button.vue.cjs");
7
+ const _sfc_main = {
8
+ name: "DtNoticeAction",
9
+ components: {
10
+ DtIcon: icon,
11
+ DtButton: button,
12
+ SrOnlyCloseButton: sr_only_close_button
13
+ },
14
+ mixins: [sr_only_close_button$1],
15
+ props: {
16
+ /**
17
+ * Props for the notice close button.
18
+ */
19
+ closeButtonProps: {
20
+ type: Object,
21
+ default: () => ({})
22
+ },
23
+ /**
24
+ * Hides the close button from the notice
25
+ * @values true, false
26
+ */
27
+ hideClose: {
28
+ type: Boolean,
29
+ default: false
30
+ },
31
+ /**
32
+ * Hides the action from the notice
33
+ * @values true, false
34
+ */
35
+ hideAction: {
36
+ type: Boolean,
37
+ default: false
38
+ }
39
+ },
40
+ emits: [
41
+ /**
42
+ * Close button click event
43
+ *
44
+ * @event close
45
+ */
46
+ "close"
47
+ ],
48
+ computed: {
49
+ noticeActionListeners() {
50
+ return {
51
+ ...this.$listeners,
52
+ click: (event) => {
53
+ this.close();
54
+ this.$emit("click", event);
55
+ }
56
+ };
57
+ }
58
+ },
59
+ created() {
60
+ if (!this.hideClose && !this.closeButtonProps.ariaLabel) {
61
+ console.error("Invalid props: you must pass in closeButtonProps.ariaLabel if the close button is displayed.");
62
+ }
63
+ },
64
+ mounted() {
65
+ if (!this.hideClose) {
66
+ this.lastFocusedElement = document.activeElement;
67
+ }
68
+ },
69
+ beforeDestroy() {
70
+ var _a;
71
+ (_a = this.lastFocusedElement) == null ? void 0 : _a.focus();
72
+ },
73
+ methods: {
74
+ close() {
75
+ this.$emit("close");
76
+ }
77
+ }
78
+ };
79
+ var _sfc_render = function render() {
80
+ var _vm = this, _c = _vm._self._c;
81
+ return _c("div", { staticClass: "d-notice__actions", attrs: { "data-qa": "notice-content-actions" } }, [!_vm.hideAction ? _vm._t("default") : _vm._e(), !_vm.hideClose ? _c("dt-button", _vm._g(_vm._b({ ref: "closeButton", attrs: { "data-qa": "dt-notice-action-close-button", "size": "sm", "importance": "clear", "circle": "", "aria-label": _vm.closeButtonProps.ariaLabel ? _vm.closeButtonProps.ariaLabel : "Close" }, scopedSlots: _vm._u([{ key: "icon", fn: function() {
82
+ return [_c("dt-icon", { attrs: { "name": "close", "size": "200" } })];
83
+ }, proxy: true }], null, false, 1154370889) }, "dt-button", _vm.closeButtonProps, false), _vm.noticeActionListeners)) : _vm._e(), _vm.showVisuallyHiddenClose ? _c("sr-only-close-button", { attrs: { "visually-hidden-close-label": _vm.visuallyHiddenCloseLabel }, on: { "close": _vm.close } }) : _vm._e()], 2);
84
+ };
85
+ var _sfc_staticRenderFns = [];
86
+ var __component__ = /* @__PURE__ */ _pluginVue2_normalizer(
87
+ _sfc_main,
88
+ _sfc_render,
89
+ _sfc_staticRenderFns,
90
+ false,
91
+ null,
92
+ null
93
+ );
94
+ const DtNoticeAction = __component__.exports;
95
+ module.exports = DtNoticeAction;
96
+ //# sourceMappingURL=notice_action.vue.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"notice_action.vue.cjs","sources":["../../../components/notice/notice_action.vue"],"sourcesContent":["<template>\n <div\n class=\"d-notice__actions\"\n data-qa=\"notice-content-actions\"\n >\n <!-- @slot Slot for main content -->\n <slot v-if=\"!hideAction\" />\n <dt-button\n v-if=\"!hideClose\"\n ref=\"closeButton\"\n data-qa=\"dt-notice-action-close-button\"\n size=\"sm\"\n importance=\"clear\"\n circle\n :aria-label=\"closeButtonProps.ariaLabel ? closeButtonProps.ariaLabel : 'Close'\"\n v-bind=\"closeButtonProps\"\n v-on=\"noticeActionListeners\"\n >\n <template #icon>\n <dt-icon\n name=\"close\"\n size=\"200\"\n />\n </template>\n </dt-button>\n <sr-only-close-button\n v-if=\"showVisuallyHiddenClose\"\n :visually-hidden-close-label=\"visuallyHiddenCloseLabel\"\n @close=\"close\"\n />\n </div>\n</template>\n\n<script>\nimport { DtIcon } from '@/components/icon';\nimport { DtButton } from '@/components/button';\nimport SrOnlyCloseButtonMixin from '@/common/mixins/sr_only_close_button';\nimport SrOnlyCloseButton from '@/common/sr_only_close_button.vue';\n\nexport default {\n name: 'DtNoticeAction',\n\n components: {\n DtIcon,\n DtButton,\n SrOnlyCloseButton,\n },\n\n mixins: [SrOnlyCloseButtonMixin],\n\n props: {\n /**\n * Props for the notice close button.\n */\n closeButtonProps: {\n type: Object,\n default: () => ({}),\n },\n\n /**\n * Hides the close button from the notice\n * @values true, false\n */\n hideClose: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Hides the action from the notice\n * @values true, false\n */\n hideAction: {\n type: Boolean,\n default: false,\n },\n },\n\n emits: [\n /**\n * Close button click event\n *\n * @event close\n */\n 'close',\n ],\n\n computed: {\n noticeActionListeners () {\n return {\n ...this.$listeners,\n\n click: event => {\n this.close();\n this.$emit('click', event);\n },\n };\n },\n },\n\n created () {\n if (!this.hideClose && !this.closeButtonProps.ariaLabel) {\n console.error('Invalid props: you must pass in closeButtonProps.ariaLabel if the close button is displayed.');\n }\n },\n\n mounted () {\n if (!this.hideClose) {\n this.lastFocusedElement = document.activeElement;\n }\n },\n\n beforeDestroy () {\n this.lastFocusedElement?.focus();\n },\n\n methods: {\n close () {\n this.$emit('close');\n },\n },\n};\n</script>\n"],"names":["DtIcon","DtButton","SrOnlyCloseButton","SrOnlyCloseButtonMixin"],"mappings":";;;;;;AAuCA,MAAA,YAAA;AAAA,EACA,MAAA;AAAA,EAEA,YAAA;AAAA,IACA,QAAAA;AAAAA,IACA,UAAAC;AAAAA,IACA,mBAAAC;AAAAA,EACA;AAAA,EAEA,QAAA,CAAAC,sBAAA;AAAA,EAEA,OAAA;AAAA;AAAA;AAAA;AAAA,IAIA,kBAAA;AAAA,MACA,MAAA;AAAA,MACA,SAAA,OAAA,CAAA;AAAA,IACA;AAAA;AAAA;AAAA;AAAA;AAAA,IAMA,WAAA;AAAA,MACA,MAAA;AAAA,MACA,SAAA;AAAA,IACA;AAAA;AAAA;AAAA;AAAA;AAAA,IAMA,YAAA;AAAA,MACA,MAAA;AAAA,MACA,SAAA;AAAA,IACA;AAAA,EACA;AAAA,EAEA,OAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAMA;AAAA,EACA;AAAA,EAEA,UAAA;AAAA,IACA,wBAAA;AACA,aAAA;AAAA,QACA,GAAA,KAAA;AAAA,QAEA,OAAA,WAAA;AACA,eAAA,MAAA;AACA,eAAA,MAAA,SAAA,KAAA;AAAA,QACA;AAAA,MACA;AAAA,IACA;AAAA,EACA;AAAA,EAEA,UAAA;AACA,QAAA,CAAA,KAAA,aAAA,CAAA,KAAA,iBAAA,WAAA;AACA,cAAA,MAAA,8FAAA;AAAA,IACA;AAAA,EACA;AAAA,EAEA,UAAA;AACA,QAAA,CAAA,KAAA,WAAA;AACA,WAAA,qBAAA,SAAA;AAAA,IACA;AAAA,EACA;AAAA,EAEA,gBAAA;;AACA,eAAA,uBAAA,mBAAA;AAAA,EACA;AAAA,EAEA,SAAA;AAAA,IACA,QAAA;AACA,WAAA,MAAA,OAAA;AAAA,IACA;AAAA,EACA;AACA;;;;;;;;;;;;;;;;;;"}
@@ -0,0 +1,97 @@
1
+ import SrOnlyCloseButtonMixin from "../../common/mixins/sr_only_close_button.js";
2
+ import SrOnlyCloseButton from "../../common/sr_only_close_button.vue.js";
3
+ import normalizeComponent from "../../_virtual/_plugin-vue2_normalizer.js";
4
+ import DtIcon from "../icon/icon.vue.js";
5
+ import DtButton from "../button/button.vue.js";
6
+ const _sfc_main = {
7
+ name: "DtNoticeAction",
8
+ components: {
9
+ DtIcon,
10
+ DtButton,
11
+ SrOnlyCloseButton
12
+ },
13
+ mixins: [SrOnlyCloseButtonMixin],
14
+ props: {
15
+ /**
16
+ * Props for the notice close button.
17
+ */
18
+ closeButtonProps: {
19
+ type: Object,
20
+ default: () => ({})
21
+ },
22
+ /**
23
+ * Hides the close button from the notice
24
+ * @values true, false
25
+ */
26
+ hideClose: {
27
+ type: Boolean,
28
+ default: false
29
+ },
30
+ /**
31
+ * Hides the action from the notice
32
+ * @values true, false
33
+ */
34
+ hideAction: {
35
+ type: Boolean,
36
+ default: false
37
+ }
38
+ },
39
+ emits: [
40
+ /**
41
+ * Close button click event
42
+ *
43
+ * @event close
44
+ */
45
+ "close"
46
+ ],
47
+ computed: {
48
+ noticeActionListeners() {
49
+ return {
50
+ ...this.$listeners,
51
+ click: (event) => {
52
+ this.close();
53
+ this.$emit("click", event);
54
+ }
55
+ };
56
+ }
57
+ },
58
+ created() {
59
+ if (!this.hideClose && !this.closeButtonProps.ariaLabel) {
60
+ console.error("Invalid props: you must pass in closeButtonProps.ariaLabel if the close button is displayed.");
61
+ }
62
+ },
63
+ mounted() {
64
+ if (!this.hideClose) {
65
+ this.lastFocusedElement = document.activeElement;
66
+ }
67
+ },
68
+ beforeDestroy() {
69
+ var _a;
70
+ (_a = this.lastFocusedElement) == null ? void 0 : _a.focus();
71
+ },
72
+ methods: {
73
+ close() {
74
+ this.$emit("close");
75
+ }
76
+ }
77
+ };
78
+ var _sfc_render = function render() {
79
+ var _vm = this, _c = _vm._self._c;
80
+ return _c("div", { staticClass: "d-notice__actions", attrs: { "data-qa": "notice-content-actions" } }, [!_vm.hideAction ? _vm._t("default") : _vm._e(), !_vm.hideClose ? _c("dt-button", _vm._g(_vm._b({ ref: "closeButton", attrs: { "data-qa": "dt-notice-action-close-button", "size": "sm", "importance": "clear", "circle": "", "aria-label": _vm.closeButtonProps.ariaLabel ? _vm.closeButtonProps.ariaLabel : "Close" }, scopedSlots: _vm._u([{ key: "icon", fn: function() {
81
+ return [_c("dt-icon", { attrs: { "name": "close", "size": "200" } })];
82
+ }, proxy: true }], null, false, 1154370889) }, "dt-button", _vm.closeButtonProps, false), _vm.noticeActionListeners)) : _vm._e(), _vm.showVisuallyHiddenClose ? _c("sr-only-close-button", { attrs: { "visually-hidden-close-label": _vm.visuallyHiddenCloseLabel }, on: { "close": _vm.close } }) : _vm._e()], 2);
83
+ };
84
+ var _sfc_staticRenderFns = [];
85
+ var __component__ = /* @__PURE__ */ normalizeComponent(
86
+ _sfc_main,
87
+ _sfc_render,
88
+ _sfc_staticRenderFns,
89
+ false,
90
+ null,
91
+ null
92
+ );
93
+ const DtNoticeAction = __component__.exports;
94
+ export {
95
+ DtNoticeAction as default
96
+ };
97
+ //# sourceMappingURL=notice_action.vue.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"notice_action.vue.js","sources":["../../../components/notice/notice_action.vue"],"sourcesContent":["<template>\n <div\n class=\"d-notice__actions\"\n data-qa=\"notice-content-actions\"\n >\n <!-- @slot Slot for main content -->\n <slot v-if=\"!hideAction\" />\n <dt-button\n v-if=\"!hideClose\"\n ref=\"closeButton\"\n data-qa=\"dt-notice-action-close-button\"\n size=\"sm\"\n importance=\"clear\"\n circle\n :aria-label=\"closeButtonProps.ariaLabel ? closeButtonProps.ariaLabel : 'Close'\"\n v-bind=\"closeButtonProps\"\n v-on=\"noticeActionListeners\"\n >\n <template #icon>\n <dt-icon\n name=\"close\"\n size=\"200\"\n />\n </template>\n </dt-button>\n <sr-only-close-button\n v-if=\"showVisuallyHiddenClose\"\n :visually-hidden-close-label=\"visuallyHiddenCloseLabel\"\n @close=\"close\"\n />\n </div>\n</template>\n\n<script>\nimport { DtIcon } from '@/components/icon';\nimport { DtButton } from '@/components/button';\nimport SrOnlyCloseButtonMixin from '@/common/mixins/sr_only_close_button';\nimport SrOnlyCloseButton from '@/common/sr_only_close_button.vue';\n\nexport default {\n name: 'DtNoticeAction',\n\n components: {\n DtIcon,\n DtButton,\n SrOnlyCloseButton,\n },\n\n mixins: [SrOnlyCloseButtonMixin],\n\n props: {\n /**\n * Props for the notice close button.\n */\n closeButtonProps: {\n type: Object,\n default: () => ({}),\n },\n\n /**\n * Hides the close button from the notice\n * @values true, false\n */\n hideClose: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Hides the action from the notice\n * @values true, false\n */\n hideAction: {\n type: Boolean,\n default: false,\n },\n },\n\n emits: [\n /**\n * Close button click event\n *\n * @event close\n */\n 'close',\n ],\n\n computed: {\n noticeActionListeners () {\n return {\n ...this.$listeners,\n\n click: event => {\n this.close();\n this.$emit('click', event);\n },\n };\n },\n },\n\n created () {\n if (!this.hideClose && !this.closeButtonProps.ariaLabel) {\n console.error('Invalid props: you must pass in closeButtonProps.ariaLabel if the close button is displayed.');\n }\n },\n\n mounted () {\n if (!this.hideClose) {\n this.lastFocusedElement = document.activeElement;\n }\n },\n\n beforeDestroy () {\n this.lastFocusedElement?.focus();\n },\n\n methods: {\n close () {\n this.$emit('close');\n },\n },\n};\n</script>\n"],"names":[],"mappings":";;;;;AAuCA,MAAA,YAAA;AAAA,EACA,MAAA;AAAA,EAEA,YAAA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EACA;AAAA,EAEA,QAAA,CAAA,sBAAA;AAAA,EAEA,OAAA;AAAA;AAAA;AAAA;AAAA,IAIA,kBAAA;AAAA,MACA,MAAA;AAAA,MACA,SAAA,OAAA,CAAA;AAAA,IACA;AAAA;AAAA;AAAA;AAAA;AAAA,IAMA,WAAA;AAAA,MACA,MAAA;AAAA,MACA,SAAA;AAAA,IACA;AAAA;AAAA;AAAA;AAAA;AAAA,IAMA,YAAA;AAAA,MACA,MAAA;AAAA,MACA,SAAA;AAAA,IACA;AAAA,EACA;AAAA,EAEA,OAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAMA;AAAA,EACA;AAAA,EAEA,UAAA;AAAA,IACA,wBAAA;AACA,aAAA;AAAA,QACA,GAAA,KAAA;AAAA,QAEA,OAAA,WAAA;AACA,eAAA,MAAA;AACA,eAAA,MAAA,SAAA,KAAA;AAAA,QACA;AAAA,MACA;AAAA,IACA;AAAA,EACA;AAAA,EAEA,UAAA;AACA,QAAA,CAAA,KAAA,aAAA,CAAA,KAAA,iBAAA,WAAA;AACA,cAAA,MAAA,8FAAA;AAAA,IACA;AAAA,EACA;AAAA,EAEA,UAAA;AACA,QAAA,CAAA,KAAA,WAAA;AACA,WAAA,qBAAA,SAAA;AAAA,IACA;AAAA,EACA;AAAA,EAEA,gBAAA;;AACA,eAAA,uBAAA,mBAAA;AAAA,EACA;AAAA,EAEA,SAAA;AAAA,IACA,QAAA;AACA,WAAA,MAAA,OAAA;AAAA,IACA;AAAA,EACA;AACA;;;;;;;;;;;;;;;;;"}